]> git.saurik.com Git - wxWidgets.git/blob - configure
tango-compliant icons (first try)
[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-intl use internationalization system
1661 --enable-config use wxConfig (and derived) classes
1662 --enable-protocols use wxProtocol and derived classes
1663 --enable-ftp use wxFTP (requires wxProtocol
1664 --enable-http use wxHTTP (requires wxProtocol
1665 --enable-fileproto use wxFileProto class (requires wxProtocol
1666 --enable-sockets use socket/network classes
1667 --enable-ole use OLE classes (Win32 only)
1668 --enable-dataobj use data object classes
1669 --enable-ipc use interprocess communication (wxSocket etc.)
1670 --enable-apple_ieee use the Apple IEEE codec
1671 --enable-arcstream use wxArchive streams
1672 --enable-backtrace use wxStackWalker class for getting backtraces
1673 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1674 --enable-cmdline use wxCmdLineParser class
1675 --enable-datetime use wxDateTime class
1676 --enable-debugreport use wxDebugReport class
1677 --enable-dialupman use dialup network classes
1678 --enable-dynlib use wxLibrary class for DLL loading
1679 --enable-dynamicloader use (new) wxDynamicLibrary class
1680 --enable-exceptions build exception-safe library
1681 --enable-ffile use wxFFile class
1682 --enable-file use wxFile class
1683 --enable-filesystem use virtual file systems classes
1684 --enable-fontmap use font encodings conversion classes
1685 --enable-fs_archive use virtual archive filesystems
1686 --enable-fs_inet use virtual HTTP/FTP filesystems
1687 --enable-fs_zip now replaced by fs_archive
1688 --enable-geometry use geometry class
1689 --enable-log use logging system
1690 --enable-longlong use wxLongLong class
1691 --enable-mimetype use wxMimeTypesManager
1692 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1693 --enable-utf8 use UTF-8 representation for strings (Unix only)
1694 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1695 --enable-snglinst use wxSingleInstanceChecker class
1696 --enable-std_iostreams use standard C++ stream classes
1697 --enable-std_string use standard C++ string classes
1698 --enable-stdpaths use wxStandardPaths class
1699 --enable-stopwatch use wxStopWatch class
1700 --enable-streams use wxStream etc classes
1701 --enable-sysoptions use wxSystemOptions
1702 --enable-tarstream use wxTar streams
1703 --enable-textbuf use wxTextBuffer class
1704 --enable-textfile use wxTextFile class
1705 --enable-timer use wxTimer class
1706 --enable-unicode compile wxString with Unicode support
1707 --enable-sound use wxSound class
1708 --enable-mediactrl use wxMediaCtrl class
1709 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1710 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1711 --enable-zipstream use wxZip streams
1712 --enable-url use wxURL class
1713 --enable-variant use wxVariant class
1714 --enable-protocol use wxProtocol class
1715 --enable-protocol-http HTTP support in wxProtocol
1716 --enable-protocol-ftp FTP support in wxProtocol
1717 --enable-protocol-file FILE support in wxProtocol
1718 --enable-threads use threads
1719 --enable-docview use document view architecture
1720 --enable-help use help subsystem
1721 --enable-mshtmlhelp use MS HTML Help (win32)
1722 --enable-html use wxHTML sub-library
1723 --enable-htmlhelp use wxHTML-based help
1724 --enable-xrc use XRC resources sub-library
1725 --enable-aui use AUI docking library
1726 --enable-stc use wxStyledTextCtrl library
1727 --enable-constraints use layout-constraints system
1728 --enable-printarch use printing architecture
1729 --enable-mdi use multiple document interface architecture
1730 --enable-mdidoc use docview architecture with MDI
1731 --enable-loggui use standard GUI logger
1732 --enable-logwin use wxLogWindow
1733 --enable-logdialog use wxLogDialog
1734 --enable-webkit use wxWebKitCtrl (Mac)
1735 --enable-richtext use wxRichTextCtrl
1736 --enable-graphics_ctx use graphics context 2D drawing API
1737 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1738 --enable-clipboard use wxClipboard class
1739 --enable-dnd use Drag'n'Drop classes
1740 --enable-metafile use win32 metafiles
1741 --enable-controls use all usual controls
1742 --enable-accel use accelerators
1743 --enable-animatectrl use wxAnimationCtrl class
1744 --enable-button use wxButton class
1745 --enable-bmpbutton use wxBitmapButton class
1746 --enable-bmpcombobox use wxBitmapComboBox class
1747 --enable-calendar use wxCalendarCtrl class
1748 --enable-caret use wxCaret class
1749 --enable-checkbox use wxCheckBox class
1750 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1751 --enable-choice use wxChoice class
1752 --enable-choicebook use wxChoicebook class
1753 --enable-collpane use wxCollapsiblePane class
1754 --enable-colourpicker use wxColourPickerCtrl class
1755 --enable-combobox use wxComboBox class
1756 --enable-comboctrl use wxComboCtrl class
1757 --enable-datepick use wxDatePickerCtrl class
1758 --enable-dirpicker use wxDirPickerCtrl class
1759 --enable-display use wxDisplay class
1760 --enable-detect_sm use code to detect X11 session manager
1761 --enable-editablebox use wxEditableListBox class
1762 --enable-filepicker use wxFilePickerCtrl class
1763 --enable-fontpicker use wxFontPickerCtrl class
1764 --enable-gauge use wxGauge class
1765 --enable-grid use wxGrid class
1766 --enable-dataviewctrl use wxDataViewCtrl class
1767 --enable-hyperlink use wxHyperlinkCtrl class
1768 --enable-imaglist use wxImageList class
1769 --enable-listbook use wxListbook class
1770 --enable-listbox use wxListBox class
1771 --enable-listctrl use wxListCtrl class
1772 --enable-notebook use wxNotebook class
1773 --enable-odcombobox use wxOwnerDrawnComboBox class
1774 --enable-radiobox use wxRadioBox class
1775 --enable-radiobtn use wxRadioButton class
1776 --enable-sash use wxSashWindow class
1777 --enable-scrollbar use wxScrollBar class and scrollable windows
1778 --enable-searchctrl use wxSearchCtrl class
1779 --enable-slider use wxSlider class
1780 --enable-spinbtn use wxSpinButton class
1781 --enable-spinctrl use wxSpinCtrl class
1782 --enable-splitter use wxSplitterWindow class
1783 --enable-statbmp use wxStaticBitmap class
1784 --enable-statbox use wxStaticBox class
1785 --enable-statline use wxStaticLine class
1786 --enable-stattext use wxStaticText class
1787 --enable-statusbar use wxStatusBar class
1788 --enable-tabdialog use wxTabControl class
1789 --enable-textctrl use wxTextCtrl class
1790 --enable-togglebtn use wxToggleButton class
1791 --enable-toolbar use wxToolBar class
1792 --enable-tbarnative use native wxToolBar class
1793 --enable-treebook use wxTreebook class
1794 --enable-toolbook use wxToolbook class
1795 --enable-treectrl use wxTreeCtrl class
1796 --enable-tipwindow use wxTipWindow class
1797 --enable-popupwin use wxPopUpWindow class
1798 --enable-commondlg use all common dialogs
1799 --enable-aboutdlg use wxAboutBox
1800 --enable-choicedlg use wxChoiceDialog
1801 --enable-coldlg use wxColourDialog
1802 --enable-filedlg use wxFileDialog
1803 --enable-finddlg use wxFindReplaceDialog
1804 --enable-fontdlg use wxFontDialog
1805 --enable-dirdlg use wxDirDialog
1806 --enable-msgdlg use wxMessageDialog
1807 --enable-numberdlg use wxNumberEntryDialog
1808 --enable-splash use wxSplashScreen
1809 --enable-textdlg use wxTextDialog
1810 --enable-tipdlg use startup tips
1811 --enable-progressdlg use wxProgressDialog
1812 --enable-wizarddlg use wxWizard
1813 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1814 --enable-miniframe use wxMiniFrame class
1815 --enable-tooltips use wxToolTip class
1816 --enable-splines use spline drawing code
1817 --enable-mousewheel use mousewheel
1818 --enable-validators use wxValidator and derived classes
1819 --enable-busyinfo use wxBusyInfo
1820 --enable-joystick use wxJoystick
1821 --enable-metafiles use wxMetaFile (Win32 only)
1822 --enable-dragimage use wxDragImage
1823 --enable-accessibility enable accessibility support
1824 --enable-dccache cache temporary wxDC objects (Win32 only)
1825 --enable-palette use wxPalette class
1826 --enable-image use wxImage class
1827 --enable-gif use gif images (GIF file format)
1828 --enable-pcx use pcx images (PCX file format)
1829 --enable-tga use tga images (TGA file format)
1830 --enable-iff use iff images (IFF file format)
1831 --enable-pnm use pnm images (PNM file format)
1832 --enable-xpm use xpm images (XPM file format)
1833 --enable-icocur use Windows ICO and CUR formats
1834 --enable-official_build official build of wxWidgets (win32 DLL only)
1835 --enable-vendor=VENDOR vendor name (win32 DLL only)
1836 --disable-largefile omit support for large files
1837 --disable-gtktest do not try to compile and run a test GTK+ program
1838 --disable-gtktest Do not try to compile and run a test GTK program
1839 --disable-sdltest Do not try to compile and run a test SDL program
1840 --enable-omf use OMF object format (OS/2)
1841 --disable-dependency-tracking
1842 don't use dependency tracking even if the compiler
1843 can
1844 --disable-precomp-headers
1845 don't use precompiled headers even if compiler can
1846
1847 Optional Packages:
1848 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1849 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1850 --without-subdirs don't generate makefiles for samples/demos/...
1851 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1852 --with-motif use Motif/Lesstif
1853 --with-mac use Mac OS X
1854 --with-cocoa use Cocoa
1855 --with-wine use Wine
1856 --with-msw use MS-Windows
1857 --with-pm use OS/2 Presentation Manager
1858 --with-mgl use SciTech MGL
1859 --with-directfb use DirectFB
1860 --with-microwin use MicroWindows
1861 --with-x11 use X11
1862 --with-libpng use libpng (PNG image format)
1863 --with-libjpeg use libjpeg (JPEG file format)
1864 --with-libtiff use libtiff (TIFF file format)
1865 --with-libxpm use libxpm (XPM file format)
1866 --with-libmspack use libmspack (CHM help files loading)
1867 --with-sdl use SDL for audio on Unix
1868 --with-gnomeprint use GNOME print for printing under GNOME
1869 --with-gnomevfs use GNOME VFS for associating MIME types
1870 --with-hildon use Hildon framework for Nokia 770
1871 --with-opengl use OpenGL (or Mesa)
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1874 --with-regex enable support for wxRegEx class
1875 --with-zlib use zlib for LZW compression
1876 --with-odbc use the IODBC and wxODBC classes
1877 --with-expat enable XML support using expat parser
1878 --with-flavour=NAME specify a name to identify this build
1879 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1880 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1881 --with-x use the X Window System
1882 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1883 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1884 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1885 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1886 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1887
1888 Some influential environment variables:
1889 CC C compiler command
1890 CFLAGS C compiler flags
1891 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1892 nonstandard directory <lib dir>
1893 LIBS libraries to pass to the linker, e.g. -l<library>
1894 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1895 you have headers in a nonstandard directory <include dir>
1896 CPP C preprocessor
1897 CXX C++ compiler command
1898 CXXFLAGS C++ compiler flags
1899 PKG_CONFIG path to pkg-config utility
1900 DIRECTFB_CFLAGS
1901 C compiler flags for DIRECTFB, overriding pkg-config
1902 DIRECTFB_LIBS
1903 linker flags for DIRECTFB, overriding pkg-config
1904 XMKMF Path to xmkmf, Makefile generator for X Window System
1905 PANGOX_CFLAGS
1906 C compiler flags for PANGOX, overriding pkg-config
1907 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1908 PANGOFT2_CFLAGS
1909 C compiler flags for PANGOFT2, overriding pkg-config
1910 PANGOFT2_LIBS
1911 linker flags for PANGOFT2, overriding pkg-config
1912 PANGOXFT_CFLAGS
1913 C compiler flags for PANGOXFT, overriding pkg-config
1914 PANGOXFT_LIBS
1915 linker flags for PANGOXFT, overriding pkg-config
1916 LIBGNOMEPRINTUI_CFLAGS
1917 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1918 LIBGNOMEPRINTUI_LIBS
1919 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1920 GNOMEVFS_CFLAGS
1921 C compiler flags for GNOMEVFS, overriding pkg-config
1922 GNOMEVFS_LIBS
1923 linker flags for GNOMEVFS, overriding pkg-config
1924 HILDON_CFLAGS
1925 C compiler flags for HILDON, overriding pkg-config
1926 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1927 CAIRO_CFLAGS
1928 C compiler flags for CAIRO, overriding pkg-config
1929 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1930 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1931 GST_LIBS linker flags for GST, overriding pkg-config
1932
1933 Use these variables to override the choices made by `configure' or to help
1934 it to find libraries and programs with nonstandard names/locations.
1935
1936 Report bugs to <wx-dev@lists.wxwidgets.org>.
1937 _ACEOF
1938 ac_status=$?
1939 fi
1940
1941 if test "$ac_init_help" = "recursive"; then
1942 # If there are subdirs, report their specific --help.
1943 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1944 test -d "$ac_dir" || continue
1945 ac_builddir=.
1946
1947 case "$ac_dir" in
1948 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1949 *)
1950 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1951 # A ".." for each directory in $ac_dir_suffix.
1952 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1953 case $ac_top_builddir_sub in
1954 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1955 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1956 esac ;;
1957 esac
1958 ac_abs_top_builddir=$ac_pwd
1959 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1960 # for backward compatibility:
1961 ac_top_builddir=$ac_top_build_prefix
1962
1963 case $srcdir in
1964 .) # We are building in place.
1965 ac_srcdir=.
1966 ac_top_srcdir=$ac_top_builddir_sub
1967 ac_abs_top_srcdir=$ac_pwd ;;
1968 [\\/]* | ?:[\\/]* ) # Absolute name.
1969 ac_srcdir=$srcdir$ac_dir_suffix;
1970 ac_top_srcdir=$srcdir
1971 ac_abs_top_srcdir=$srcdir ;;
1972 *) # Relative name.
1973 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1974 ac_top_srcdir=$ac_top_build_prefix$srcdir
1975 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1976 esac
1977 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1978
1979 cd "$ac_dir" || { ac_status=$?; continue; }
1980 # Check for guested configure.
1981 if test -f "$ac_srcdir/configure.gnu"; then
1982 echo &&
1983 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1984 elif test -f "$ac_srcdir/configure"; then
1985 echo &&
1986 $SHELL "$ac_srcdir/configure" --help=recursive
1987 else
1988 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1989 fi || ac_status=$?
1990 cd "$ac_pwd" || { ac_status=$?; break; }
1991 done
1992 fi
1993
1994 test -n "$ac_init_help" && exit $ac_status
1995 if $ac_init_version; then
1996 cat <<\_ACEOF
1997 wxWidgets configure 2.9.0
1998 generated by GNU Autoconf 2.61
1999
2000 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2001 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2002 This configure script is free software; the Free Software Foundation
2003 gives unlimited permission to copy, distribute and modify it.
2004 _ACEOF
2005 exit
2006 fi
2007 cat >config.log <<_ACEOF
2008 This file contains any messages produced by compilers while
2009 running configure, to aid debugging if configure makes a mistake.
2010
2011 It was created by wxWidgets $as_me 2.9.0, which was
2012 generated by GNU Autoconf 2.61. Invocation command line was
2013
2014 $ $0 $@
2015
2016 _ACEOF
2017 exec 5>>config.log
2018 {
2019 cat <<_ASUNAME
2020 ## --------- ##
2021 ## Platform. ##
2022 ## --------- ##
2023
2024 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2025 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2026 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2027 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2028 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2029
2030 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2031 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2032
2033 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2034 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2035 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2036 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2037 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2038 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2039 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2040
2041 _ASUNAME
2042
2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044 for as_dir in $PATH
2045 do
2046 IFS=$as_save_IFS
2047 test -z "$as_dir" && as_dir=.
2048 echo "PATH: $as_dir"
2049 done
2050 IFS=$as_save_IFS
2051
2052 } >&5
2053
2054 cat >&5 <<_ACEOF
2055
2056
2057 ## ----------- ##
2058 ## Core tests. ##
2059 ## ----------- ##
2060
2061 _ACEOF
2062
2063
2064 # Keep a trace of the command line.
2065 # Strip out --no-create and --no-recursion so they do not pile up.
2066 # Strip out --silent because we don't want to record it for future runs.
2067 # Also quote any args containing shell meta-characters.
2068 # Make two passes to allow for proper duplicate-argument suppression.
2069 ac_configure_args=
2070 ac_configure_args0=
2071 ac_configure_args1=
2072 ac_must_keep_next=false
2073 for ac_pass in 1 2
2074 do
2075 for ac_arg
2076 do
2077 case $ac_arg in
2078 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2080 | -silent | --silent | --silen | --sile | --sil)
2081 continue ;;
2082 *\'*)
2083 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 esac
2085 case $ac_pass in
2086 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2087 2)
2088 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2089 if test $ac_must_keep_next = true; then
2090 ac_must_keep_next=false # Got value, back to normal.
2091 else
2092 case $ac_arg in
2093 *=* | --config-cache | -C | -disable-* | --disable-* \
2094 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2095 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2096 | -with-* | --with-* | -without-* | --without-* | --x)
2097 case "$ac_configure_args0 " in
2098 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2099 esac
2100 ;;
2101 -* ) ac_must_keep_next=true ;;
2102 esac
2103 fi
2104 ac_configure_args="$ac_configure_args '$ac_arg'"
2105 ;;
2106 esac
2107 done
2108 done
2109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2111
2112 # When interrupted or exit'd, cleanup temporary files, and complete
2113 # config.log. We remove comments because anyway the quotes in there
2114 # would cause problems or look ugly.
2115 # WARNING: Use '\'' to represent an apostrophe within the trap.
2116 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2117 trap 'exit_status=$?
2118 # Save into config.log some information that might help in debugging.
2119 {
2120 echo
2121
2122 cat <<\_ASBOX
2123 ## ---------------- ##
2124 ## Cache variables. ##
2125 ## ---------------- ##
2126 _ASBOX
2127 echo
2128 # The following way of writing the cache mishandles newlines in values,
2129 (
2130 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2131 eval ac_val=\$$ac_var
2132 case $ac_val in #(
2133 *${as_nl}*)
2134 case $ac_var in #(
2135 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2136 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2137 esac
2138 case $ac_var in #(
2139 _ | IFS | as_nl) ;; #(
2140 *) $as_unset $ac_var ;;
2141 esac ;;
2142 esac
2143 done
2144 (set) 2>&1 |
2145 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2146 *${as_nl}ac_space=\ *)
2147 sed -n \
2148 "s/'\''/'\''\\\\'\'''\''/g;
2149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2150 ;; #(
2151 *)
2152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2153 ;;
2154 esac |
2155 sort
2156 )
2157 echo
2158
2159 cat <<\_ASBOX
2160 ## ----------------- ##
2161 ## Output variables. ##
2162 ## ----------------- ##
2163 _ASBOX
2164 echo
2165 for ac_var in $ac_subst_vars
2166 do
2167 eval ac_val=\$$ac_var
2168 case $ac_val in
2169 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2170 esac
2171 echo "$ac_var='\''$ac_val'\''"
2172 done | sort
2173 echo
2174
2175 if test -n "$ac_subst_files"; then
2176 cat <<\_ASBOX
2177 ## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##
2180 _ASBOX
2181 echo
2182 for ac_var in $ac_subst_files
2183 do
2184 eval ac_val=\$$ac_var
2185 case $ac_val in
2186 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 esac
2188 echo "$ac_var='\''$ac_val'\''"
2189 done | sort
2190 echo
2191 fi
2192
2193 if test -s confdefs.h; then
2194 cat <<\_ASBOX
2195 ## ----------- ##
2196 ## confdefs.h. ##
2197 ## ----------- ##
2198 _ASBOX
2199 echo
2200 cat confdefs.h
2201 echo
2202 fi
2203 test "$ac_signal" != 0 &&
2204 echo "$as_me: caught signal $ac_signal"
2205 echo "$as_me: exit $exit_status"
2206 } >&5
2207 rm -f core *.core core.conftest.* &&
2208 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2209 exit $exit_status
2210 ' 0
2211 for ac_signal in 1 2 13 15; do
2212 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2213 done
2214 ac_signal=0
2215
2216 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2217 rm -f -r conftest* confdefs.h
2218
2219 # Predefined preprocessor variables.
2220
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_NAME "$PACKAGE_NAME"
2223 _ACEOF
2224
2225
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228 _ACEOF
2229
2230
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2233 _ACEOF
2234
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_STRING "$PACKAGE_STRING"
2238 _ACEOF
2239
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2243 _ACEOF
2244
2245
2246 # Let the site file select an alternate cache file if it wants to.
2247 # Prefer explicitly selected file to automatically selected ones.
2248 if test -n "$CONFIG_SITE"; then
2249 set x "$CONFIG_SITE"
2250 elif test "x$prefix" != xNONE; then
2251 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2252 else
2253 set x "$ac_default_prefix/share/config.site" \
2254 "$ac_default_prefix/etc/config.site"
2255 fi
2256 shift
2257 for ac_site_file
2258 do
2259 if test -r "$ac_site_file"; then
2260 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2261 echo "$as_me: loading site script $ac_site_file" >&6;}
2262 sed 's/^/| /' "$ac_site_file" >&5
2263 . "$ac_site_file"
2264 fi
2265 done
2266
2267 if test -r "$cache_file"; then
2268 # Some versions of bash will fail to source /dev/null (special
2269 # files actually), so we avoid doing that.
2270 if test -f "$cache_file"; then
2271 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2272 echo "$as_me: loading cache $cache_file" >&6;}
2273 case $cache_file in
2274 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2275 *) . "./$cache_file";;
2276 esac
2277 fi
2278 else
2279 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2280 echo "$as_me: creating cache $cache_file" >&6;}
2281 >$cache_file
2282 fi
2283
2284 # Check that the precious variables saved in the cache have kept the same
2285 # value.
2286 ac_cache_corrupted=false
2287 for ac_var in $ac_precious_vars; do
2288 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2289 eval ac_new_set=\$ac_env_${ac_var}_set
2290 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2291 eval ac_new_val=\$ac_env_${ac_var}_value
2292 case $ac_old_set,$ac_new_set in
2293 set,)
2294 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2295 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2296 ac_cache_corrupted=: ;;
2297 ,set)
2298 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2299 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2300 ac_cache_corrupted=: ;;
2301 ,);;
2302 *)
2303 if test "x$ac_old_val" != "x$ac_new_val"; then
2304 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2305 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2306 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2307 echo "$as_me: former value: $ac_old_val" >&2;}
2308 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2309 echo "$as_me: current value: $ac_new_val" >&2;}
2310 ac_cache_corrupted=:
2311 fi;;
2312 esac
2313 # Pass precious variables to config.status.
2314 if test "$ac_new_set" = set; then
2315 case $ac_new_val in
2316 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2317 *) ac_arg=$ac_var=$ac_new_val ;;
2318 esac
2319 case " $ac_configure_args " in
2320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2321 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2322 esac
2323 fi
2324 done
2325 if $ac_cache_corrupted; then
2326 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2327 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2328 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2329 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2330 { (exit 1); exit 1; }; }
2331 fi
2332
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 ac_ext=c
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2362
2363
2364
2365
2366
2367 ac_aux_dir=
2368 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2369 if test -f "$ac_dir/install-sh"; then
2370 ac_aux_dir=$ac_dir
2371 ac_install_sh="$ac_aux_dir/install-sh -c"
2372 break
2373 elif test -f "$ac_dir/install.sh"; then
2374 ac_aux_dir=$ac_dir
2375 ac_install_sh="$ac_aux_dir/install.sh -c"
2376 break
2377 elif test -f "$ac_dir/shtool"; then
2378 ac_aux_dir=$ac_dir
2379 ac_install_sh="$ac_aux_dir/shtool install -c"
2380 break
2381 fi
2382 done
2383 if test -z "$ac_aux_dir"; then
2384 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2385 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388
2389 # These three variables are undocumented and unsupported,
2390 # and are intended to be withdrawn in a future Autoconf release.
2391 # They can cause serious problems if a builder's source tree is in a directory
2392 # whose full name contains unusual characters.
2393 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2394 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2395 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2396
2397
2398 # Make sure we can run config.sub.
2399 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2400 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2401 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2402 { (exit 1); exit 1; }; }
2403
2404 { echo "$as_me:$LINENO: checking build system type" >&5
2405 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2406 if test "${ac_cv_build+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 ac_build_alias=$build_alias
2410 test "x$ac_build_alias" = x &&
2411 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2412 test "x$ac_build_alias" = x &&
2413 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2414 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2415 { (exit 1); exit 1; }; }
2416 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2417 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2418 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2419 { (exit 1); exit 1; }; }
2420
2421 fi
2422 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2423 echo "${ECHO_T}$ac_cv_build" >&6; }
2424 case $ac_cv_build in
2425 *-*-*) ;;
2426 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2427 echo "$as_me: error: invalid value of canonical build" >&2;}
2428 { (exit 1); exit 1; }; };;
2429 esac
2430 build=$ac_cv_build
2431 ac_save_IFS=$IFS; IFS='-'
2432 set x $ac_cv_build
2433 shift
2434 build_cpu=$1
2435 build_vendor=$2
2436 shift; shift
2437 # Remember, the first character of IFS is used to create $*,
2438 # except with old shells:
2439 build_os=$*
2440 IFS=$ac_save_IFS
2441 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2442
2443
2444 { echo "$as_me:$LINENO: checking host system type" >&5
2445 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2446 if test "${ac_cv_host+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 else
2449 if test "x$host_alias" = x; then
2450 ac_cv_host=$ac_cv_build
2451 else
2452 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2453 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2454 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2455 { (exit 1); exit 1; }; }
2456 fi
2457
2458 fi
2459 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2460 echo "${ECHO_T}$ac_cv_host" >&6; }
2461 case $ac_cv_host in
2462 *-*-*) ;;
2463 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2464 echo "$as_me: error: invalid value of canonical host" >&2;}
2465 { (exit 1); exit 1; }; };;
2466 esac
2467 host=$ac_cv_host
2468 ac_save_IFS=$IFS; IFS='-'
2469 set x $ac_cv_host
2470 shift
2471 host_cpu=$1
2472 host_vendor=$2
2473 shift; shift
2474 # Remember, the first character of IFS is used to create $*,
2475 # except with old shells:
2476 host_os=$*
2477 IFS=$ac_save_IFS
2478 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2479
2480
2481 { echo "$as_me:$LINENO: checking target system type" >&5
2482 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2483 if test "${ac_cv_target+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 else
2486 if test "x$target_alias" = x; then
2487 ac_cv_target=$ac_cv_host
2488 else
2489 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2490 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2491 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2492 { (exit 1); exit 1; }; }
2493 fi
2494
2495 fi
2496 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2497 echo "${ECHO_T}$ac_cv_target" >&6; }
2498 case $ac_cv_target in
2499 *-*-*) ;;
2500 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2501 echo "$as_me: error: invalid value of canonical target" >&2;}
2502 { (exit 1); exit 1; }; };;
2503 esac
2504 target=$ac_cv_target
2505 ac_save_IFS=$IFS; IFS='-'
2506 set x $ac_cv_target
2507 shift
2508 target_cpu=$1
2509 target_vendor=$2
2510 shift; shift
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2513 target_os=$*
2514 IFS=$ac_save_IFS
2515 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2516
2517
2518 # The aliases save the names the user supplied, while $host etc.
2519 # will get canonicalized.
2520 test -n "$target_alias" &&
2521 test "$program_prefix$program_suffix$program_transform_name" = \
2522 NONENONEs,x,x, &&
2523 program_prefix=${target_alias}-
2524
2525
2526
2527 wx_major_version_number=2
2528 wx_minor_version_number=9
2529 wx_release_number=0
2530 wx_subrelease_number=0
2531
2532 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2533 WX_VERSION=$WX_RELEASE.$wx_release_number
2534 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2535
2536 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2537
2538
2539 wx_top_builddir="`pwd`"
2540
2541
2542
2543
2544 USE_UNIX=1
2545 USE_OS2=0
2546 USE_WIN32=0
2547 USE_DOS=0
2548 USE_BEOS=0
2549 USE_MAC=0
2550
2551 USE_AIX=
2552 USE_BSD= USE_DARWIN= USE_FREEBSD=
2553 USE_GNU= USE_HPUX=
2554 USE_LINUX=
2555 USE_NETBSD=
2556 USE_OPENBSD=
2557 USE_OSF= USE_SGI=
2558 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2559 USE_ULTRIX=
2560 USE_UNIXWARE=
2561
2562 USE_ALPHA=
2563
2564 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2565
2566 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2567
2568 DEFAULT_wxUSE_COCOA=0
2569 DEFAULT_wxUSE_GTK=0
2570 DEFAULT_wxUSE_MAC=0
2571 DEFAULT_wxUSE_MGL=0
2572 DEFAULT_wxUSE_MICROWIN=0
2573 DEFAULT_wxUSE_MOTIF=0
2574 DEFAULT_wxUSE_MSW=0
2575 DEFAULT_wxUSE_PM=0
2576 DEFAULT_wxUSE_X11=0
2577 DEFAULT_wxUSE_DFB=0
2578
2579 DEFAULT_DEFAULT_wxUSE_COCOA=0
2580 DEFAULT_DEFAULT_wxUSE_GTK=0
2581 DEFAULT_DEFAULT_wxUSE_MAC=0
2582 DEFAULT_DEFAULT_wxUSE_MGL=0
2583 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2584 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2585 DEFAULT_DEFAULT_wxUSE_MSW=0
2586 DEFAULT_DEFAULT_wxUSE_PM=0
2587 DEFAULT_DEFAULT_wxUSE_X11=0
2588 DEFAULT_DEFAULT_wxUSE_DFB=0
2589
2590 PROGRAM_EXT=
2591 SO_SUFFIX=so
2592 SAMPLES_RPATH_FLAG=
2593 SAMPLES_RPATH_POSTLINK=
2594
2595 DEFAULT_STD_FLAG=yes
2596
2597 case "${host}" in
2598 *-hp-hpux* )
2599 USE_HPUX=1
2600 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2601 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2602 SO_SUFFIX=sl
2603 cat >>confdefs.h <<\_ACEOF
2604 #define __HPUX__ 1
2605 _ACEOF
2606
2607
2608 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2609 ;;
2610 *-*-linux* )
2611 USE_LINUX=1
2612 cat >>confdefs.h <<\_ACEOF
2613 #define __LINUX__ 1
2614 _ACEOF
2615
2616 TMP=`uname -m`
2617 if test "x$TMP" = "xalpha"; then
2618 USE_ALPHA=1
2619 cat >>confdefs.h <<\_ACEOF
2620 #define __ALPHA__ 1
2621 _ACEOF
2622
2623 fi
2624 DEFAULT_DEFAULT_wxUSE_GTK=1
2625 ;;
2626 *-*-gnu* | *-*-k*bsd*-gnu )
2627 USE_GNU=1
2628 TMP=`uname -m`
2629 if test "x$TMP" = "xalpha"; then
2630 USE_ALPHA=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __ALPHA__ 1
2633 _ACEOF
2634
2635 fi
2636 DEFAULT_DEFAULT_wxUSE_GTK=1
2637 ;;
2638 *-*-irix5* | *-*-irix6* )
2639 USE_SGI=1
2640 USE_SVR4=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __SGI__ 1
2643 _ACEOF
2644
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __SVR4__ 1
2647 _ACEOF
2648
2649 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2650 ;;
2651 *-*-solaris2* )
2652 USE_SUN=1
2653 USE_SOLARIS=1
2654 USE_SVR4=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __SUN__ 1
2657 _ACEOF
2658
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __SOLARIS__ 1
2661 _ACEOF
2662
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __SVR4__ 1
2665 _ACEOF
2666
2667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2668 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2669 ;;
2670 *-*-sunos4* )
2671 USE_SUN=1
2672 USE_SUNOS=1
2673 USE_BSD=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SUN__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SUNOS__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __BSD__ 1
2684 _ACEOF
2685
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 ;;
2688 *-*-freebsd*)
2689 USE_BSD=1
2690 USE_FREEBSD=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __FREEBSD__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __BSD__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_GTK=1
2700 ;;
2701 *-*-openbsd*|*-*-mirbsd*)
2702 USE_BSD=1
2703 USE_OPENBSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __OPENBSD__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __BSD__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2713 ;;
2714 *-*-netbsd*)
2715 USE_BSD=1
2716 USE_NETBSD=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __NETBSD__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2727
2728 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2729 ;;
2730 *-*-osf* )
2731 USE_ALPHA=1
2732 USE_OSF=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __ALPHA__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __OSF__ 1
2739 _ACEOF
2740
2741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2742 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2743 ;;
2744 *-*-dgux5* )
2745 USE_ALPHA=1
2746 USE_SVR4=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __ALPHA__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __SVR4__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2756 ;;
2757 *-*-sysv5* )
2758 USE_SYSV=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __SYSV__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-aix* )
2771 USE_AIX=1
2772 USE_SYSV=1
2773 USE_SVR4=1
2774 SO_SUFFIX=a
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __AIX__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SYSV__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789
2790 *-*-*UnixWare*)
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 USE_UNIXWARE=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __UNIXWARE__ 1
2796 _ACEOF
2797
2798 ;;
2799
2800 *-*-cygwin* | *-*-mingw32* )
2801 SO_SUFFIX=dll
2802 PROGRAM_EXT=".exe"
2803 DEFAULT_DEFAULT_wxUSE_MSW=1
2804 ;;
2805
2806 *-pc-msdosdjgpp )
2807 USE_UNIX=0
2808 USE_DOS=1
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __DOS__ 1
2811 _ACEOF
2812
2813 PROGRAM_EXT=".exe"
2814 DEFAULT_DEFAULT_wxUSE_MGL=1
2815 ;;
2816
2817 *-pc-os2_emx | *-pc-os2-emx )
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __EMX__ 1
2820 _ACEOF
2821
2822 USE_OS2=1
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __OS2__ 1
2825 _ACEOF
2826
2827 PROGRAM_EXT=".exe"
2828 DEFAULT_DEFAULT_wxUSE_PM=1
2829 CXX=gcc
2830 LDFLAGS="$LDFLAGS -Zcrtdll"
2831 ac_executable_extensions=".exe"
2832 export ac_executable_extensions
2833 ac_save_IFS="$IFS"
2834 IFS='\\'
2835 ac_TEMP_PATH=
2836 for ac_dir in $PATH; do
2837 IFS=$ac_save_IFS
2838 if test -z "$ac_TEMP_PATH"; then
2839 ac_TEMP_PATH="$ac_dir"
2840 else
2841 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2842 fi
2843 done
2844 export PATH="$ac_TEMP_PATH"
2845 unset ac_TEMP_PATH
2846 DEFAULT_STD_FLAG=no
2847 ;;
2848
2849 *-*-darwin* )
2850 USE_BSD=1
2851 USE_DARWIN=1
2852 SO_SUFFIX=dylib
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __BSD__ 1
2855 _ACEOF
2856
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __DARWIN__ 1
2859 _ACEOF
2860
2861 cat >>confdefs.h <<\_ACEOF
2862 #define TARGET_CARBON 1
2863 _ACEOF
2864
2865 DEFAULT_DEFAULT_wxUSE_MAC=1
2866 DEFAULT_STD_FLAG=no
2867 ;;
2868 powerpc-apple-macos* )
2869 USE_UNIX=0
2870 ac_cv_c_bigendian=yes
2871 SO_SUFFIX=shlib
2872 DEFAULT_DEFAULT_wxUSE_MAC=1
2873 DEFAULT_STD_FLAG=no
2874 ;;
2875
2876 *-*-beos* )
2877 USE_BEOS=1
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __BEOS__ 1
2880 _ACEOF
2881
2882 ;;
2883
2884 *)
2885 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2886 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2887 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2888 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2889
2890 DEFAULT_DEFAULT_wxUSE_X11=1
2891 DEFAULT_wxUSE_SHARED=no
2892 esac
2893
2894
2895
2896
2897 wx_arg_cache_file="configarg.cache"
2898 echo "loading argument cache $wx_arg_cache_file"
2899 rm -f ${wx_arg_cache_file}.tmp
2900 touch ${wx_arg_cache_file}.tmp
2901 touch ${wx_arg_cache_file}
2902
2903
2904 DEBUG_CONFIGURE=0
2905 if test $DEBUG_CONFIGURE = 1; then
2906 DEFAULT_wxUSE_UNIVERSAL=no
2907 DEFAULT_wxUSE_STL=no
2908 DEFAULT_wxUSE_EXTENDED_RTTI=no
2909
2910 DEFAULT_wxUSE_NANOX=no
2911
2912 DEFAULT_wxUSE_THREADS=yes
2913
2914 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2915 DEFAULT_wxUSE_OPTIMISE=no
2916 DEFAULT_wxUSE_PROFILE=no
2917 DEFAULT_wxUSE_NO_DEPS=no
2918 DEFAULT_wxUSE_VARARG_MACROS=no
2919 DEFAULT_wxUSE_NO_RTTI=no
2920 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2921 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2922 DEFAULT_wxUSE_RPATH=yes
2923 DEFAULT_wxUSE_PERMISSIVE=no
2924 DEFAULT_wxUSE_DEBUG_FLAG=yes
2925 DEFAULT_wxUSE_DEBUG_INFO=yes
2926 DEFAULT_wxUSE_DEBUG_GDB=yes
2927 DEFAULT_wxUSE_MEM_TRACING=no
2928 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2929 DEFAULT_wxUSE_DMALLOC=no
2930 DEFAULT_wxUSE_APPLE_IEEE=no
2931
2932 DEFAULT_wxUSE_EXCEPTIONS=no
2933 DEFAULT_wxUSE_LOG=yes
2934 DEFAULT_wxUSE_LOGWINDOW=no
2935 DEFAULT_wxUSE_LOGGUI=no
2936 DEFAULT_wxUSE_LOGDIALOG=no
2937
2938 DEFAULT_wxUSE_GUI=yes
2939 DEFAULT_wxUSE_CONTROLS=no
2940
2941 DEFAULT_wxUSE_REGEX=no
2942 DEFAULT_wxUSE_XML=no
2943 DEFAULT_wxUSE_EXPAT=no
2944 DEFAULT_wxUSE_ZLIB=no
2945 DEFAULT_wxUSE_LIBPNG=no
2946 DEFAULT_wxUSE_LIBJPEG=no
2947 DEFAULT_wxUSE_LIBTIFF=no
2948 DEFAULT_wxUSE_LIBXPM=no
2949 DEFAULT_wxUSE_LIBMSPACK=no
2950 DEFAULT_wxUSE_LIBSDL=no
2951 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2952 DEFAULT_wxUSE_LIBGNOMEVFS=no
2953 DEFAULT_wxUSE_LIBHILDON=no
2954 DEFAULT_wxUSE_ODBC=no
2955 DEFAULT_wxUSE_OPENGL=no
2956
2957 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2958 DEFAULT_wxUSE_STACKWALKER=no
2959 DEFAULT_wxUSE_DEBUGREPORT=no
2960 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2961 DEFAULT_wxUSE_STD_IOSTREAM=no
2962 DEFAULT_wxUSE_STD_STRING=no
2963 DEFAULT_wxUSE_CMDLINE_PARSER=no
2964 DEFAULT_wxUSE_DATETIME=no
2965 DEFAULT_wxUSE_TIMER=no
2966 DEFAULT_wxUSE_STOPWATCH=no
2967 DEFAULT_wxUSE_FILE=no
2968 DEFAULT_wxUSE_FFILE=no
2969 DEFAULT_wxUSE_STDPATHS=no
2970 DEFAULT_wxUSE_TEXTBUFFER=no
2971 DEFAULT_wxUSE_TEXTFILE=no
2972 DEFAULT_wxUSE_SOUND=no
2973 DEFAULT_wxUSE_MEDIACTRL=no
2974 DEFAULT_wxUSE_GSTREAMER8=no
2975 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2976 DEFAULT_wxUSE_INTL=no
2977 DEFAULT_wxUSE_CONFIG=no
2978 DEFAULT_wxUSE_FONTMAP=no
2979 DEFAULT_wxUSE_STREAMS=no
2980 DEFAULT_wxUSE_SOCKETS=no
2981 DEFAULT_wxUSE_OLE=no
2982 DEFAULT_wxUSE_DATAOBJ=no
2983 DEFAULT_wxUSE_DIALUP_MANAGER=no
2984 DEFAULT_wxUSE_JOYSTICK=no
2985 DEFAULT_wxUSE_DYNLIB_CLASS=no
2986 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2987 DEFAULT_wxUSE_LONGLONG=no
2988 DEFAULT_wxUSE_GEOMETRY=no
2989
2990 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2991 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2992 DEFAULT_wxUSE_POSTSCRIPT=no
2993
2994 DEFAULT_wxUSE_CLIPBOARD=no
2995 DEFAULT_wxUSE_TOOLTIPS=no
2996 DEFAULT_wxUSE_DRAG_AND_DROP=no
2997 DEFAULT_wxUSE_DRAGIMAGE=no
2998 DEFAULT_wxUSE_SPLINES=no
2999 DEFAULT_wxUSE_MOUSEWHEEL=no
3000
3001 DEFAULT_wxUSE_MDI=no
3002 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3003 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3004 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3005
3006 DEFAULT_wxUSE_CONSTRAINTS=no
3007 DEFAULT_wxUSE_IPC=no
3008 DEFAULT_wxUSE_HELP=no
3009 DEFAULT_wxUSE_MS_HTML_HELP=no
3010 DEFAULT_wxUSE_WXHTML_HELP=no
3011 DEFAULT_wxUSE_TREELAYOUT=no
3012 DEFAULT_wxUSE_METAFILE=no
3013 DEFAULT_wxUSE_MIMETYPE=no
3014 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3015 DEFAULT_wxUSE_PROTOCOL=no
3016 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3017 DEFAULT_wxUSE_PROTOCOL_FTP=no
3018 DEFAULT_wxUSE_PROTOCOL_FILE=no
3019 DEFAULT_wxUSE_URL=no
3020 DEFAULT_wxUSE_VARIANT=no
3021
3022 DEFAULT_wxUSE_ABOUTDLG=no
3023 DEFAULT_wxUSE_COMMONDLGS=no
3024 DEFAULT_wxUSE_CHOICEDLG=no
3025 DEFAULT_wxUSE_COLOURDLG=no
3026 DEFAULT_wxUSE_DIRDLG=no
3027 DEFAULT_wxUSE_FILEDLG=no
3028 DEFAULT_wxUSE_FINDREPLDLG=no
3029 DEFAULT_wxUSE_FONTDLG=no
3030 DEFAULT_wxUSE_MSGDLG=no
3031 DEFAULT_wxUSE_NUMBERDLG=no
3032 DEFAULT_wxUSE_TEXTDLG=no
3033 DEFAULT_wxUSE_SPLASH=no
3034 DEFAULT_wxUSE_STARTUP_TIPS=no
3035 DEFAULT_wxUSE_PROGRESSDLG=no
3036 DEFAULT_wxUSE_WIZARDDLG=no
3037
3038 DEFAULT_wxUSE_MENUS=no
3039 DEFAULT_wxUSE_MINIFRAME=no
3040 DEFAULT_wxUSE_HTML=no
3041 DEFAULT_wxUSE_RICHTEXT=no
3042 DEFAULT_wxUSE_XRC=no
3043 DEFAULT_wxUSE_AUI=no
3044 DEFAULT_wxUSE_STC=no
3045 DEFAULT_wxUSE_WEBKIT=no
3046 DEFAULT_wxUSE_FILESYSTEM=no
3047 DEFAULT_wxUSE_FS_INET=no
3048 DEFAULT_wxUSE_FS_ZIP=no
3049 DEFAULT_wxUSE_FS_ARCHIVE=no
3050 DEFAULT_wxUSE_BUSYINFO=no
3051 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3052 DEFAULT_wxUSE_ZIPSTREAM=no
3053 DEFAULT_wxUSE_TARSTREAM=no
3054 DEFAULT_wxUSE_VALIDATORS=no
3055
3056 DEFAULT_wxUSE_ACCEL=no
3057 DEFAULT_wxUSE_ANIMATIONCTRL=no
3058 DEFAULT_wxUSE_BUTTON=no
3059 DEFAULT_wxUSE_BMPBUTTON=no
3060 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3061 DEFAULT_wxUSE_CALCTRL=no
3062 DEFAULT_wxUSE_CARET=no
3063 DEFAULT_wxUSE_CHECKBOX=no
3064 DEFAULT_wxUSE_CHECKLST=no
3065 DEFAULT_wxUSE_CHOICE=no
3066 DEFAULT_wxUSE_CHOICEBOOK=no
3067 DEFAULT_wxUSE_COLLPANE=no
3068 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3069 DEFAULT_wxUSE_COMBOBOX=no
3070 DEFAULT_wxUSE_COMBOCTRL=no
3071 DEFAULT_wxUSE_DATEPICKCTRL=no
3072 DEFAULT_wxUSE_DISPLAY=no
3073 DEFAULT_wxUSE_DETECT_SM=no
3074 DEFAULT_wxUSE_DIRPICKERCTRL=no
3075 DEFAULT_wxUSE_EDITABLELISTBOX=no
3076 DEFAULT_wxUSE_FILEPICKERCTRL=no
3077 DEFAULT_wxUSE_FONTPICKERCTRL=no
3078 DEFAULT_wxUSE_GAUGE=no
3079 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3080 DEFAULT_wxUSE_GRID=no
3081 DEFAULT_wxUSE_HYPERLINKCTRL=no
3082 DEFAULT_wxUSE_DATAVIEWCTRL=no
3083 DEFAULT_wxUSE_IMAGLIST=no
3084 DEFAULT_wxUSE_LISTBOOK=no
3085 DEFAULT_wxUSE_LISTBOX=no
3086 DEFAULT_wxUSE_LISTCTRL=no
3087 DEFAULT_wxUSE_NOTEBOOK=no
3088 DEFAULT_wxUSE_ODCOMBOBOX=no
3089 DEFAULT_wxUSE_RADIOBOX=no
3090 DEFAULT_wxUSE_RADIOBTN=no
3091 DEFAULT_wxUSE_SASH=no
3092 DEFAULT_wxUSE_SCROLLBAR=no
3093 DEFAULT_wxUSE_SEARCHCTRL=no
3094 DEFAULT_wxUSE_SLIDER=no
3095 DEFAULT_wxUSE_SPINBTN=no
3096 DEFAULT_wxUSE_SPINCTRL=no
3097 DEFAULT_wxUSE_SPLITTER=no
3098 DEFAULT_wxUSE_STATBMP=no
3099 DEFAULT_wxUSE_STATBOX=no
3100 DEFAULT_wxUSE_STATLINE=no
3101 DEFAULT_wxUSE_STATTEXT=no
3102 DEFAULT_wxUSE_STATUSBAR=yes
3103 DEFAULT_wxUSE_TAB_DIALOG=no
3104 DEFAULT_wxUSE_TEXTCTRL=no
3105 DEFAULT_wxUSE_TOGGLEBTN=no
3106 DEFAULT_wxUSE_TOOLBAR=no
3107 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3108 DEFAULT_wxUSE_TREEBOOK=no
3109 DEFAULT_wxUSE_TOOLBOOK=no
3110 DEFAULT_wxUSE_TREECTRL=no
3111 DEFAULT_wxUSE_POPUPWIN=no
3112 DEFAULT_wxUSE_TIPWINDOW=no
3113
3114 DEFAULT_wxUSE_UNICODE=no
3115 DEFAULT_wxUSE_UNICODE_MSLU=no
3116 DEFAULT_wxUSE_UNICODE_UTF8=auto
3117 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3118 DEFAULT_wxUSE_WCSRTOMBS=no
3119
3120 DEFAULT_wxUSE_PALETTE=no
3121 DEFAULT_wxUSE_IMAGE=no
3122 DEFAULT_wxUSE_GIF=no
3123 DEFAULT_wxUSE_PCX=no
3124 DEFAULT_wxUSE_TGA=no
3125 DEFAULT_wxUSE_PNM=no
3126 DEFAULT_wxUSE_IFF=no
3127 DEFAULT_wxUSE_XPM=no
3128 DEFAULT_wxUSE_ICO_CUR=no
3129 DEFAULT_wxUSE_ACCESSIBILITY=no
3130
3131 DEFAULT_wxUSE_MONOLITHIC=no
3132 DEFAULT_wxUSE_PLUGINS=no
3133 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3134 else
3135 DEFAULT_wxUSE_UNIVERSAL=no
3136 DEFAULT_wxUSE_STL=no
3137 DEFAULT_wxUSE_EXTENDED_RTTI=no
3138
3139 DEFAULT_wxUSE_NANOX=no
3140
3141 DEFAULT_wxUSE_THREADS=yes
3142
3143 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3144 DEFAULT_wxUSE_OPTIMISE=yes
3145 DEFAULT_wxUSE_PROFILE=no
3146 DEFAULT_wxUSE_NO_DEPS=no
3147 DEFAULT_wxUSE_VARARG_MACROS=yes
3148 DEFAULT_wxUSE_NO_RTTI=no
3149 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3150 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3151 DEFAULT_wxUSE_RPATH=yes
3152 DEFAULT_wxUSE_PERMISSIVE=no
3153 DEFAULT_wxUSE_DEBUG_FLAG=no
3154 DEFAULT_wxUSE_DEBUG_INFO=no
3155 DEFAULT_wxUSE_DEBUG_GDB=no
3156 DEFAULT_wxUSE_MEM_TRACING=no
3157 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3158 DEFAULT_wxUSE_DMALLOC=no
3159 DEFAULT_wxUSE_APPLE_IEEE=yes
3160
3161 DEFAULT_wxUSE_EXCEPTIONS=yes
3162 DEFAULT_wxUSE_LOG=yes
3163 DEFAULT_wxUSE_LOGWINDOW=yes
3164 DEFAULT_wxUSE_LOGGUI=yes
3165 DEFAULT_wxUSE_LOGDIALOG=yes
3166
3167 DEFAULT_wxUSE_GUI=yes
3168
3169 DEFAULT_wxUSE_REGEX=yes
3170 DEFAULT_wxUSE_XML=yes
3171 DEFAULT_wxUSE_EXPAT=yes
3172 DEFAULT_wxUSE_ZLIB=yes
3173 DEFAULT_wxUSE_LIBPNG=yes
3174 DEFAULT_wxUSE_LIBJPEG=yes
3175 DEFAULT_wxUSE_LIBTIFF=yes
3176 DEFAULT_wxUSE_LIBXPM=yes
3177 DEFAULT_wxUSE_LIBMSPACK=yes
3178 DEFAULT_wxUSE_LIBSDL=no
3179 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3180 DEFAULT_wxUSE_LIBGNOMEVFS=no
3181 DEFAULT_wxUSE_LIBHILDON=no
3182 DEFAULT_wxUSE_ODBC=no
3183 DEFAULT_wxUSE_OPENGL=no
3184
3185 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3186 DEFAULT_wxUSE_STACKWALKER=yes
3187 DEFAULT_wxUSE_DEBUGREPORT=yes
3188 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3189 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3190 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3191 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3192 DEFAULT_wxUSE_DATETIME=yes
3193 DEFAULT_wxUSE_TIMER=yes
3194 DEFAULT_wxUSE_STOPWATCH=yes
3195 DEFAULT_wxUSE_FILE=yes
3196 DEFAULT_wxUSE_FFILE=yes
3197 DEFAULT_wxUSE_STDPATHS=yes
3198 DEFAULT_wxUSE_TEXTBUFFER=yes
3199 DEFAULT_wxUSE_TEXTFILE=yes
3200 DEFAULT_wxUSE_SOUND=yes
3201 DEFAULT_wxUSE_MEDIACTRL=no
3202 DEFAULT_wxUSE_GSTREAMER8=no
3203 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3204 DEFAULT_wxUSE_INTL=yes
3205 DEFAULT_wxUSE_CONFIG=yes
3206 DEFAULT_wxUSE_FONTMAP=yes
3207 DEFAULT_wxUSE_STREAMS=yes
3208 DEFAULT_wxUSE_SOCKETS=yes
3209 DEFAULT_wxUSE_OLE=yes
3210 DEFAULT_wxUSE_DATAOBJ=yes
3211 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3212 DEFAULT_wxUSE_JOYSTICK=yes
3213 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3214 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3215 DEFAULT_wxUSE_LONGLONG=yes
3216 DEFAULT_wxUSE_GEOMETRY=yes
3217
3218 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3219 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3220 DEFAULT_wxUSE_POSTSCRIPT=yes
3221
3222 DEFAULT_wxUSE_CLIPBOARD=yes
3223 DEFAULT_wxUSE_TOOLTIPS=yes
3224 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3225 DEFAULT_wxUSE_DRAGIMAGE=yes
3226 DEFAULT_wxUSE_SPLINES=yes
3227 DEFAULT_wxUSE_MOUSEWHEEL=yes
3228
3229 DEFAULT_wxUSE_MDI=yes
3230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3233
3234 DEFAULT_wxUSE_CONSTRAINTS=yes
3235 DEFAULT_wxUSE_IPC=yes
3236 DEFAULT_wxUSE_HELP=yes
3237 DEFAULT_wxUSE_MS_HTML_HELP=yes
3238 DEFAULT_wxUSE_WXHTML_HELP=yes
3239 DEFAULT_wxUSE_TREELAYOUT=yes
3240 DEFAULT_wxUSE_METAFILE=yes
3241 DEFAULT_wxUSE_MIMETYPE=yes
3242 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3243 DEFAULT_wxUSE_PROTOCOL=yes
3244 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3245 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3246 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3247 DEFAULT_wxUSE_URL=yes
3248 DEFAULT_wxUSE_VARIANT=yes
3249
3250 DEFAULT_wxUSE_ABOUTDLG=yes
3251 DEFAULT_wxUSE_COMMONDLGS=yes
3252 DEFAULT_wxUSE_CHOICEDLG=yes
3253 DEFAULT_wxUSE_COLOURDLG=yes
3254 DEFAULT_wxUSE_DIRDLG=yes
3255 DEFAULT_wxUSE_FILEDLG=yes
3256 DEFAULT_wxUSE_FINDREPLDLG=yes
3257 DEFAULT_wxUSE_FONTDLG=yes
3258 DEFAULT_wxUSE_MSGDLG=yes
3259 DEFAULT_wxUSE_NUMBERDLG=yes
3260 DEFAULT_wxUSE_TEXTDLG=yes
3261 DEFAULT_wxUSE_SPLASH=yes
3262 DEFAULT_wxUSE_STARTUP_TIPS=yes
3263 DEFAULT_wxUSE_PROGRESSDLG=yes
3264 DEFAULT_wxUSE_WIZARDDLG=yes
3265
3266 DEFAULT_wxUSE_MENUS=yes
3267 DEFAULT_wxUSE_MINIFRAME=yes
3268 DEFAULT_wxUSE_HTML=yes
3269 DEFAULT_wxUSE_RICHTEXT=yes
3270 DEFAULT_wxUSE_XRC=yes
3271 DEFAULT_wxUSE_AUI=yes
3272 DEFAULT_wxUSE_STC=yes
3273 DEFAULT_wxUSE_WEBKIT=yes
3274 DEFAULT_wxUSE_FILESYSTEM=yes
3275 DEFAULT_wxUSE_FS_INET=yes
3276 DEFAULT_wxUSE_FS_ZIP=yes
3277 DEFAULT_wxUSE_FS_ARCHIVE=yes
3278 DEFAULT_wxUSE_BUSYINFO=yes
3279 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3280 DEFAULT_wxUSE_ZIPSTREAM=yes
3281 DEFAULT_wxUSE_TARSTREAM=yes
3282 DEFAULT_wxUSE_VALIDATORS=yes
3283
3284 DEFAULT_wxUSE_ACCEL=yes
3285 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3286 DEFAULT_wxUSE_BUTTON=yes
3287 DEFAULT_wxUSE_BMPBUTTON=yes
3288 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3289 DEFAULT_wxUSE_CALCTRL=yes
3290 DEFAULT_wxUSE_CARET=yes
3291 DEFAULT_wxUSE_CHECKBOX=yes
3292 DEFAULT_wxUSE_CHECKLST=yes
3293 DEFAULT_wxUSE_CHOICE=yes
3294 DEFAULT_wxUSE_CHOICEBOOK=yes
3295 DEFAULT_wxUSE_COLLPANE=yes
3296 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3297 DEFAULT_wxUSE_COMBOBOX=yes
3298 DEFAULT_wxUSE_COMBOCTRL=yes
3299 DEFAULT_wxUSE_DATEPICKCTRL=yes
3300 DEFAULT_wxUSE_DISPLAY=yes
3301 DEFAULT_wxUSE_DETECT_SM=yes
3302 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3303 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3304 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3305 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3306 DEFAULT_wxUSE_GAUGE=yes
3307 DEFAULT_wxUSE_GRID=yes
3308 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3309 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3310 DEFAULT_wxUSE_DATAVIEWCTRL=no
3311 DEFAULT_wxUSE_IMAGLIST=yes
3312 DEFAULT_wxUSE_LISTBOOK=yes
3313 DEFAULT_wxUSE_LISTBOX=yes
3314 DEFAULT_wxUSE_LISTCTRL=yes
3315 DEFAULT_wxUSE_NOTEBOOK=yes
3316 DEFAULT_wxUSE_ODCOMBOBOX=yes
3317 DEFAULT_wxUSE_RADIOBOX=yes
3318 DEFAULT_wxUSE_RADIOBTN=yes
3319 DEFAULT_wxUSE_SASH=yes
3320 DEFAULT_wxUSE_SCROLLBAR=yes
3321 DEFAULT_wxUSE_SEARCHCTRL=yes
3322 DEFAULT_wxUSE_SLIDER=yes
3323 DEFAULT_wxUSE_SPINBTN=yes
3324 DEFAULT_wxUSE_SPINCTRL=yes
3325 DEFAULT_wxUSE_SPLITTER=yes
3326 DEFAULT_wxUSE_STATBMP=yes
3327 DEFAULT_wxUSE_STATBOX=yes
3328 DEFAULT_wxUSE_STATLINE=yes
3329 DEFAULT_wxUSE_STATTEXT=yes
3330 DEFAULT_wxUSE_STATUSBAR=yes
3331 DEFAULT_wxUSE_TAB_DIALOG=no
3332 DEFAULT_wxUSE_TEXTCTRL=yes
3333 DEFAULT_wxUSE_TOGGLEBTN=yes
3334 DEFAULT_wxUSE_TOOLBAR=yes
3335 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3336 DEFAULT_wxUSE_TREEBOOK=yes
3337 DEFAULT_wxUSE_TOOLBOOK=yes
3338 DEFAULT_wxUSE_TREECTRL=yes
3339 DEFAULT_wxUSE_POPUPWIN=yes
3340 DEFAULT_wxUSE_TIPWINDOW=yes
3341
3342 DEFAULT_wxUSE_UNICODE=no
3343 DEFAULT_wxUSE_UNICODE_MSLU=yes
3344 DEFAULT_wxUSE_UNICODE_UTF8=auto
3345 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3346 DEFAULT_wxUSE_WCSRTOMBS=no
3347
3348 DEFAULT_wxUSE_PALETTE=yes
3349 DEFAULT_wxUSE_IMAGE=yes
3350 DEFAULT_wxUSE_GIF=yes
3351 DEFAULT_wxUSE_PCX=yes
3352 DEFAULT_wxUSE_TGA=yes
3353 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3354 DEFAULT_wxUSE_XPM=yes
3355 DEFAULT_wxUSE_ICO_CUR=yes
3356 DEFAULT_wxUSE_ACCESSIBILITY=no
3357
3358 DEFAULT_wxUSE_MONOLITHIC=no
3359 DEFAULT_wxUSE_PLUGINS=no
3360 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3361
3362 DEFAULT_wxUSE_GTK2=yes
3363 fi
3364
3365
3366
3367
3368 for toolkit in `echo $ALL_TOOLKITS`; do
3369 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3370 if test "x$LINE" != "x" ; then
3371 has_toolkit_in_cache=1
3372 eval "DEFAULT_$LINE"
3373 eval "CACHE_$toolkit=1"
3374
3375 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3376 if test "x$LINE" != "x" ; then
3377 eval "DEFAULT_$LINE"
3378 fi
3379 fi
3380 done
3381
3382
3383
3384 enablestring=
3385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3387 no_cache=0
3388 # Check whether --enable-gui was given.
3389 if test "${enable_gui+set}" = set; then
3390 enableval=$enable_gui;
3391 if test "$enableval" = yes; then
3392 ac_cv_use_gui='wxUSE_GUI=yes'
3393 else
3394 ac_cv_use_gui='wxUSE_GUI=no'
3395 fi
3396
3397 else
3398
3399 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x ; then
3401 eval "DEFAULT_$LINE"
3402 else
3403 no_cache=1
3404 fi
3405
3406 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3407
3408 fi
3409
3410
3411 eval "$ac_cv_use_gui"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3414 fi
3415
3416 if test "$wxUSE_GUI" = yes; then
3417 { echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6; }
3419 else
3420 { echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6; }
3422 fi
3423
3424
3425 enablestring=
3426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3428 no_cache=0
3429 # Check whether --enable-monolithic was given.
3430 if test "${enable_monolithic+set}" = set; then
3431 enableval=$enable_monolithic;
3432 if test "$enableval" = yes; then
3433 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3434 else
3435 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3436 fi
3437
3438 else
3439
3440 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x ; then
3442 eval "DEFAULT_$LINE"
3443 else
3444 no_cache=1
3445 fi
3446
3447 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3448
3449 fi
3450
3451
3452 eval "$ac_cv_use_monolithic"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3455 fi
3456
3457 if test "$wxUSE_MONOLITHIC" = yes; then
3458 { echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6; }
3460 else
3461 { echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6; }
3463 fi
3464
3465
3466 enablestring=
3467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3469 no_cache=0
3470 # Check whether --enable-plugins was given.
3471 if test "${enable_plugins+set}" = set; then
3472 enableval=$enable_plugins;
3473 if test "$enableval" = yes; then
3474 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3475 else
3476 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3477 fi
3478
3479 else
3480
3481 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3484 else
3485 no_cache=1
3486 fi
3487
3488 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3489
3490 fi
3491
3492
3493 eval "$ac_cv_use_plugins"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3496 fi
3497
3498 if test "$wxUSE_PLUGINS" = yes; then
3499 { echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6; }
3501 else
3502 { echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6; }
3504 fi
3505
3506
3507 withstring=without
3508 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3509 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3510 no_cache=0
3511
3512 # Check whether --with-subdirs was given.
3513 if test "${with_subdirs+set}" = set; then
3514 withval=$with_subdirs;
3515 if test "$withval" = yes; then
3516 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3517 else
3518 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3519 fi
3520
3521 else
3522
3523 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3526 else
3527 no_cache=1
3528 fi
3529
3530 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3531
3532 fi
3533
3534
3535 eval "$ac_cv_use_subdirs"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxWITH_SUBDIRS" = yes; then
3541 { echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6; }
3543 else
3544 { echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6; }
3546 fi
3547
3548
3549 if test "$wxUSE_GUI" = "yes"; then
3550
3551
3552 enablestring=
3553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3555 no_cache=0
3556 # Check whether --enable-universal was given.
3557 if test "${enable_universal+set}" = set; then
3558 enableval=$enable_universal;
3559 if test "$enableval" = yes; then
3560 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3561 else
3562 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3563 fi
3564
3565 else
3566
3567 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x ; then
3569 eval "DEFAULT_$LINE"
3570 else
3571 no_cache=1
3572 fi
3573
3574 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3575
3576 fi
3577
3578
3579 eval "$ac_cv_use_universal"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3582 fi
3583
3584 if test "$wxUSE_UNIVERSAL" = yes; then
3585 { echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6; }
3587 else
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3590 fi
3591
3592
3593 # Check whether --with-gtk was given.
3594 if test "${with_gtk+set}" = set; then
3595 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3596 fi
3597
3598
3599 # Check whether --with-motif was given.
3600 if test "${with_motif+set}" = set; then
3601 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3602 fi
3603
3604
3605 # Check whether --with-mac was given.
3606 if test "${with_mac+set}" = set; then
3607 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3608 fi
3609
3610
3611 # Check whether --with-cocoa was given.
3612 if test "${with_cocoa+set}" = set; then
3613 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3614 fi
3615
3616
3617 # Check whether --with-wine was given.
3618 if test "${with_wine+set}" = set; then
3619 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3620 fi
3621
3622
3623 # Check whether --with-msw was given.
3624 if test "${with_msw+set}" = set; then
3625 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3626 fi
3627
3628
3629 # Check whether --with-pm was given.
3630 if test "${with_pm+set}" = set; then
3631 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3632 fi
3633
3634
3635 # Check whether --with-mgl was given.
3636 if test "${with_mgl+set}" = set; then
3637 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3638 fi
3639
3640
3641 # Check whether --with-directfb was given.
3642 if test "${with_directfb+set}" = set; then
3643 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3644 fi
3645
3646
3647 # Check whether --with-microwin was given.
3648 if test "${with_microwin+set}" = set; then
3649 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3650 fi
3651
3652
3653 # Check whether --with-x11 was given.
3654 if test "${with_x11+set}" = set; then
3655 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3656 fi
3657
3658
3659 enablestring=
3660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3661 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3662 no_cache=0
3663 # Check whether --enable-nanox was given.
3664 if test "${enable_nanox+set}" = set; then
3665 enableval=$enable_nanox;
3666 if test "$enableval" = yes; then
3667 ac_cv_use_nanox='wxUSE_NANOX=yes'
3668 else
3669 ac_cv_use_nanox='wxUSE_NANOX=no'
3670 fi
3671
3672 else
3673
3674 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 else
3678 no_cache=1
3679 fi
3680
3681 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3682
3683 fi
3684
3685
3686 eval "$ac_cv_use_nanox"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3689 fi
3690
3691 if test "$wxUSE_NANOX" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3694 else
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3697 fi
3698
3699
3700 # Check whether --enable-gtk2 was given.
3701 if test "${enable_gtk2+set}" = set; then
3702 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3703 fi
3704
3705
3706 enablestring=
3707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3709 no_cache=0
3710 # Check whether --enable-gpe was given.
3711 if test "${enable_gpe+set}" = set; then
3712 enableval=$enable_gpe;
3713 if test "$enableval" = yes; then
3714 ac_cv_use_gpe='wxUSE_GPE=yes'
3715 else
3716 ac_cv_use_gpe='wxUSE_GPE=no'
3717 fi
3718
3719 else
3720
3721 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x ; then
3723 eval "DEFAULT_$LINE"
3724 else
3725 no_cache=1
3726 fi
3727
3728 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3729
3730 fi
3731
3732
3733 eval "$ac_cv_use_gpe"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3736 fi
3737
3738 if test "$wxUSE_GPE" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3741 else
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3744 fi
3745
3746
3747
3748 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3749 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3750 no_cache=0
3751
3752 # Check whether --with-libpng was given.
3753 if test "${with_libpng+set}" = set; then
3754 withval=$with_libpng;
3755 if test "$withval" = yes; then
3756 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3757 elif test "$withval" = no; then
3758 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3759 elif test "$withval" = sys; then
3760 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3761 elif test "$withval" = builtin; then
3762 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3763 else
3764 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3765 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3767 fi
3768
3769 else
3770
3771 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3772 if test "x$LINE" != x ; then
3773 eval "DEFAULT_$LINE"
3774 else
3775 no_cache=1
3776 fi
3777
3778 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3779
3780 fi
3781
3782
3783 eval "$ac_cv_use_libpng"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3786 fi
3787
3788 if test "$wxUSE_LIBPNG" = yes; then
3789 { echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6; }
3791 elif test "$wxUSE_LIBPNG" = no; then
3792 { echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6; }
3794 elif test "$wxUSE_LIBPNG" = sys; then
3795 { echo "$as_me:$LINENO: result: system version" >&5
3796 echo "${ECHO_T}system version" >&6; }
3797 elif test "$wxUSE_LIBPNG" = builtin; then
3798 { echo "$as_me:$LINENO: result: builtin version" >&5
3799 echo "${ECHO_T}builtin version" >&6; }
3800 else
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3804 fi
3805
3806
3807 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3808 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3809 no_cache=0
3810
3811 # Check whether --with-libjpeg was given.
3812 if test "${with_libjpeg+set}" = set; then
3813 withval=$with_libjpeg;
3814 if test "$withval" = yes; then
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3816 elif test "$withval" = no; then
3817 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3818 elif test "$withval" = sys; then
3819 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3820 elif test "$withval" = builtin; then
3821 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3822 else
3823 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3824 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3825 { (exit 1); exit 1; }; }
3826 fi
3827
3828 else
3829
3830 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3833 else
3834 no_cache=1
3835 fi
3836
3837 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3838
3839 fi
3840
3841
3842 eval "$ac_cv_use_libjpeg"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3845 fi
3846
3847 if test "$wxUSE_LIBJPEG" = yes; then
3848 { echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6; }
3850 elif test "$wxUSE_LIBJPEG" = no; then
3851 { echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6; }
3853 elif test "$wxUSE_LIBJPEG" = sys; then
3854 { echo "$as_me:$LINENO: result: system version" >&5
3855 echo "${ECHO_T}system version" >&6; }
3856 elif test "$wxUSE_LIBJPEG" = builtin; then
3857 { echo "$as_me:$LINENO: result: builtin version" >&5
3858 echo "${ECHO_T}builtin version" >&6; }
3859 else
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3863 fi
3864
3865
3866 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3867 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3868 no_cache=0
3869
3870 # Check whether --with-libtiff was given.
3871 if test "${with_libtiff+set}" = set; then
3872 withval=$with_libtiff;
3873 if test "$withval" = yes; then
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3875 elif test "$withval" = no; then
3876 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3877 elif test "$withval" = sys; then
3878 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3879 elif test "$withval" = builtin; then
3880 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3881 else
3882 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3883 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3884 { (exit 1); exit 1; }; }
3885 fi
3886
3887 else
3888
3889 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x ; then
3891 eval "DEFAULT_$LINE"
3892 else
3893 no_cache=1
3894 fi
3895
3896 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3897
3898 fi
3899
3900
3901 eval "$ac_cv_use_libtiff"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_LIBTIFF" = yes; then
3907 { echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6; }
3909 elif test "$wxUSE_LIBTIFF" = no; then
3910 { echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6; }
3912 elif test "$wxUSE_LIBTIFF" = sys; then
3913 { echo "$as_me:$LINENO: result: system version" >&5
3914 echo "${ECHO_T}system version" >&6; }
3915 elif test "$wxUSE_LIBTIFF" = builtin; then
3916 { echo "$as_me:$LINENO: result: builtin version" >&5
3917 echo "${ECHO_T}builtin version" >&6; }
3918 else
3919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3920 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3921 { (exit 1); exit 1; }; }
3922 fi
3923
3924
3925 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3926 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3927 no_cache=0
3928
3929 # Check whether --with-libxpm was given.
3930 if test "${with_libxpm+set}" = set; then
3931 withval=$with_libxpm;
3932 if test "$withval" = yes; then
3933 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3934 elif test "$withval" = no; then
3935 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3936 elif test "$withval" = sys; then
3937 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3938 elif test "$withval" = builtin; then
3939 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3940 else
3941 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3942 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3943 { (exit 1); exit 1; }; }
3944 fi
3945
3946 else
3947
3948 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x ; then
3950 eval "DEFAULT_$LINE"
3951 else
3952 no_cache=1
3953 fi
3954
3955 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3956
3957 fi
3958
3959
3960 eval "$ac_cv_use_libxpm"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3963 fi
3964
3965 if test "$wxUSE_LIBXPM" = yes; then
3966 { echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6; }
3968 elif test "$wxUSE_LIBXPM" = no; then
3969 { echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6; }
3971 elif test "$wxUSE_LIBXPM" = sys; then
3972 { echo "$as_me:$LINENO: result: system version" >&5
3973 echo "${ECHO_T}system version" >&6; }
3974 elif test "$wxUSE_LIBXPM" = builtin; then
3975 { echo "$as_me:$LINENO: result: builtin version" >&5
3976 echo "${ECHO_T}builtin version" >&6; }
3977 else
3978 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3979 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3980 { (exit 1); exit 1; }; }
3981 fi
3982
3983
3984 withstring=
3985 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3986 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3987 no_cache=0
3988
3989 # Check whether --with-libmspack was given.
3990 if test "${with_libmspack+set}" = set; then
3991 withval=$with_libmspack;
3992 if test "$withval" = yes; then
3993 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3994 else
3995 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3996 fi
3997
3998 else
3999
4000 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x ; then
4002 eval "DEFAULT_$LINE"
4003 else
4004 no_cache=1
4005 fi
4006
4007 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4008
4009 fi
4010
4011
4012 eval "$ac_cv_use_libmspack"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4015 fi
4016
4017 if test "$wxUSE_LIBMSPACK" = yes; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4020 else
4021 { echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6; }
4023 fi
4024
4025
4026 withstring=
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4028 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4029 no_cache=0
4030
4031 # Check whether --with-sdl was given.
4032 if test "${with_sdl+set}" = set; then
4033 withval=$with_sdl;
4034 if test "$withval" = yes; then
4035 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4036 else
4037 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4038 fi
4039
4040 else
4041
4042 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4045 else
4046 no_cache=1
4047 fi
4048
4049 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4050
4051 fi
4052
4053
4054 eval "$ac_cv_use_sdl"
4055 if test "$no_cache" != 1; then
4056 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4057 fi
4058
4059 if test "$wxUSE_LIBSDL" = yes; then
4060 { echo "$as_me:$LINENO: result: yes" >&5
4061 echo "${ECHO_T}yes" >&6; }
4062 else
4063 { echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6; }
4065 fi
4066
4067
4068 withstring=
4069 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4070 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4071 no_cache=0
4072
4073 # Check whether --with-gnomeprint was given.
4074 if test "${with_gnomeprint+set}" = set; then
4075 withval=$with_gnomeprint;
4076 if test "$withval" = yes; then
4077 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4078 else
4079 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4080 fi
4081
4082 else
4083
4084 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4085 if test "x$LINE" != x ; then
4086 eval "DEFAULT_$LINE"
4087 else
4088 no_cache=1
4089 fi
4090
4091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4092
4093 fi
4094
4095
4096 eval "$ac_cv_use_gnomeprint"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4099 fi
4100
4101 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4102 { echo "$as_me:$LINENO: result: yes" >&5
4103 echo "${ECHO_T}yes" >&6; }
4104 else
4105 { echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6; }
4107 fi
4108
4109
4110 withstring=
4111 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4112 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4113 no_cache=0
4114
4115 # Check whether --with-gnomevfs was given.
4116 if test "${with_gnomevfs+set}" = set; then
4117 withval=$with_gnomevfs;
4118 if test "$withval" = yes; then
4119 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4120 else
4121 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4122 fi
4123
4124 else
4125
4126 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x ; then
4128 eval "DEFAULT_$LINE"
4129 else
4130 no_cache=1
4131 fi
4132
4133 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4134
4135 fi
4136
4137
4138 eval "$ac_cv_use_gnomevfs"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4141 fi
4142
4143 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4144 { echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6; }
4146 else
4147 { echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6; }
4149 fi
4150
4151
4152 withstring=
4153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4154 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4155 no_cache=0
4156
4157 # Check whether --with-hildon was given.
4158 if test "${with_hildon+set}" = set; then
4159 withval=$with_hildon;
4160 if test "$withval" = yes; then
4161 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4162 else
4163 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4164 fi
4165
4166 else
4167
4168 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x ; then
4170 eval "DEFAULT_$LINE"
4171 else
4172 no_cache=1
4173 fi
4174
4175 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4176
4177 fi
4178
4179
4180 eval "$ac_cv_use_hildon"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4183 fi
4184
4185 if test "$wxUSE_LIBHILDON" = yes; then
4186 { echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6; }
4188 else
4189 { echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6; }
4191 fi
4192
4193
4194 withstring=
4195 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4196 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4197 no_cache=0
4198
4199 # Check whether --with-opengl was given.
4200 if test "${with_opengl+set}" = set; then
4201 withval=$with_opengl;
4202 if test "$withval" = yes; then
4203 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4204 else
4205 ac_cv_use_opengl='wxUSE_OPENGL=no'
4206 fi
4207
4208 else
4209
4210 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x ; then
4212 eval "DEFAULT_$LINE"
4213 else
4214 no_cache=1
4215 fi
4216
4217 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4218
4219 fi
4220
4221
4222 eval "$ac_cv_use_opengl"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4225 fi
4226
4227 if test "$wxUSE_OPENGL" = yes; then
4228 { echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6; }
4230 else
4231 { echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6; }
4233 fi
4234
4235
4236 if test "$wxUSE_UNIVERSAL" = "yes"; then
4237
4238 # Check whether --with-themes was given.
4239 if test "${with_themes+set}" = set; then
4240 withval=$with_themes; wxUNIV_THEMES="$withval"
4241 fi
4242
4243 fi
4244
4245 fi
4246
4247
4248 withstring=
4249 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4250 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4251 no_cache=0
4252
4253 # Check whether --with-dmalloc was given.
4254 if test "${with_dmalloc+set}" = set; then
4255 withval=$with_dmalloc;
4256 if test "$withval" = yes; then
4257 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4258 else
4259 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4260 fi
4261
4262 else
4263
4264 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x ; then
4266 eval "DEFAULT_$LINE"
4267 else
4268 no_cache=1
4269 fi
4270
4271 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4272
4273 fi
4274
4275
4276 eval "$ac_cv_use_dmalloc"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4279 fi
4280
4281 if test "$wxUSE_DMALLOC" = yes; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4284 else
4285 { echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6; }
4287 fi
4288
4289
4290 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4291 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4292 no_cache=0
4293
4294 # Check whether --with-regex was given.
4295 if test "${with_regex+set}" = set; then
4296 withval=$with_regex;
4297 if test "$withval" = yes; then
4298 ac_cv_use_regex='wxUSE_REGEX=yes'
4299 elif test "$withval" = no; then
4300 ac_cv_use_regex='wxUSE_REGEX=no'
4301 elif test "$withval" = sys; then
4302 ac_cv_use_regex='wxUSE_REGEX=sys'
4303 elif test "$withval" = builtin; then
4304 ac_cv_use_regex='wxUSE_REGEX=builtin'
4305 else
4306 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4307 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4308 { (exit 1); exit 1; }; }
4309 fi
4310
4311 else
4312
4313 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4316 else
4317 no_cache=1
4318 fi
4319
4320 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4321
4322 fi
4323
4324
4325 eval "$ac_cv_use_regex"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_REGEX" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_REGEX" = no; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_REGEX" = sys; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_REGEX" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4342 else
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4346 fi
4347
4348
4349 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4350 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4351 no_cache=0
4352
4353 # Check whether --with-zlib was given.
4354 if test "${with_zlib+set}" = set; then
4355 withval=$with_zlib;
4356 if test "$withval" = yes; then
4357 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4358 elif test "$withval" = no; then
4359 ac_cv_use_zlib='wxUSE_ZLIB=no'
4360 elif test "$withval" = sys; then
4361 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4362 elif test "$withval" = builtin; then
4363 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4364 else
4365 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4366 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4367 { (exit 1); exit 1; }; }
4368 fi
4369
4370 else
4371
4372 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x ; then
4374 eval "DEFAULT_$LINE"
4375 else
4376 no_cache=1
4377 fi
4378
4379 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4380
4381 fi
4382
4383
4384 eval "$ac_cv_use_zlib"
4385 if test "$no_cache" != 1; then
4386 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4387 fi
4388
4389 if test "$wxUSE_ZLIB" = yes; then
4390 { echo "$as_me:$LINENO: result: yes" >&5
4391 echo "${ECHO_T}yes" >&6; }
4392 elif test "$wxUSE_ZLIB" = no; then
4393 { echo "$as_me:$LINENO: result: no" >&5
4394 echo "${ECHO_T}no" >&6; }
4395 elif test "$wxUSE_ZLIB" = sys; then
4396 { echo "$as_me:$LINENO: result: system version" >&5
4397 echo "${ECHO_T}system version" >&6; }
4398 elif test "$wxUSE_ZLIB" = builtin; then
4399 { echo "$as_me:$LINENO: result: builtin version" >&5
4400 echo "${ECHO_T}builtin version" >&6; }
4401 else
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4405 fi
4406
4407
4408 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4409 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4410 no_cache=0
4411
4412 # Check whether --with-odbc was given.
4413 if test "${with_odbc+set}" = set; then
4414 withval=$with_odbc;
4415 if test "$withval" = yes; then
4416 ac_cv_use_odbc='wxUSE_ODBC=yes'
4417 elif test "$withval" = no; then
4418 ac_cv_use_odbc='wxUSE_ODBC=no'
4419 elif test "$withval" = sys; then
4420 ac_cv_use_odbc='wxUSE_ODBC=sys'
4421 elif test "$withval" = builtin; then
4422 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4423 else
4424 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4425 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4426 { (exit 1); exit 1; }; }
4427 fi
4428
4429 else
4430
4431 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4432 if test "x$LINE" != x ; then
4433 eval "DEFAULT_$LINE"
4434 else
4435 no_cache=1
4436 fi
4437
4438 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4439
4440 fi
4441
4442
4443 eval "$ac_cv_use_odbc"
4444 if test "$no_cache" != 1; then
4445 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4446 fi
4447
4448 if test "$wxUSE_ODBC" = yes; then
4449 { echo "$as_me:$LINENO: result: yes" >&5
4450 echo "${ECHO_T}yes" >&6; }
4451 elif test "$wxUSE_ODBC" = no; then
4452 { echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6; }
4454 elif test "$wxUSE_ODBC" = sys; then
4455 { echo "$as_me:$LINENO: result: system version" >&5
4456 echo "${ECHO_T}system version" >&6; }
4457 elif test "$wxUSE_ODBC" = builtin; then
4458 { echo "$as_me:$LINENO: result: builtin version" >&5
4459 echo "${ECHO_T}builtin version" >&6; }
4460 else
4461 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4462 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4463 { (exit 1); exit 1; }; }
4464 fi
4465
4466
4467 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4468 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4469 no_cache=0
4470
4471 # Check whether --with-expat was given.
4472 if test "${with_expat+set}" = set; then
4473 withval=$with_expat;
4474 if test "$withval" = yes; then
4475 ac_cv_use_expat='wxUSE_EXPAT=yes'
4476 elif test "$withval" = no; then
4477 ac_cv_use_expat='wxUSE_EXPAT=no'
4478 elif test "$withval" = sys; then
4479 ac_cv_use_expat='wxUSE_EXPAT=sys'
4480 elif test "$withval" = builtin; then
4481 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4482 else
4483 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4484 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4485 { (exit 1); exit 1; }; }
4486 fi
4487
4488 else
4489
4490 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "DEFAULT_$LINE"
4493 else
4494 no_cache=1
4495 fi
4496
4497 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4498
4499 fi
4500
4501
4502 eval "$ac_cv_use_expat"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4505 fi
4506
4507 if test "$wxUSE_EXPAT" = yes; then
4508 { echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6; }
4510 elif test "$wxUSE_EXPAT" = no; then
4511 { echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6; }
4513 elif test "$wxUSE_EXPAT" = sys; then
4514 { echo "$as_me:$LINENO: result: system version" >&5
4515 echo "${ECHO_T}system version" >&6; }
4516 elif test "$wxUSE_EXPAT" = builtin; then
4517 { echo "$as_me:$LINENO: result: builtin version" >&5
4518 echo "${ECHO_T}builtin version" >&6; }
4519 else
4520 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4521 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4522 { (exit 1); exit 1; }; }
4523 fi
4524
4525
4526
4527
4528 enablestring=
4529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4531 no_cache=0
4532 # Check whether --enable-shared was given.
4533 if test "${enable_shared+set}" = set; then
4534 enableval=$enable_shared;
4535 if test "$enableval" = yes; then
4536 ac_cv_use_shared='wxUSE_SHARED=yes'
4537 else
4538 ac_cv_use_shared='wxUSE_SHARED=no'
4539 fi
4540
4541 else
4542
4543 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x ; then
4545 eval "DEFAULT_$LINE"
4546 else
4547 no_cache=1
4548 fi
4549
4550 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4551
4552 fi
4553
4554
4555 eval "$ac_cv_use_shared"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4558 fi
4559
4560 if test "$wxUSE_SHARED" = yes; then
4561 { echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6; }
4563 else
4564 { echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6; }
4566 fi
4567
4568
4569 enablestring=
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4572 no_cache=0
4573 # Check whether --enable-optimise was given.
4574 if test "${enable_optimise+set}" = set; then
4575 enableval=$enable_optimise;
4576 if test "$enableval" = yes; then
4577 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4578 else
4579 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4580 fi
4581
4582 else
4583
4584 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x ; then
4586 eval "DEFAULT_$LINE"
4587 else
4588 no_cache=1
4589 fi
4590
4591 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4592
4593 fi
4594
4595
4596 eval "$ac_cv_use_optimise"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4599 fi
4600
4601 if test "$wxUSE_OPTIMISE" = yes; then
4602 { echo "$as_me:$LINENO: result: yes" >&5
4603 echo "${ECHO_T}yes" >&6; }
4604 else
4605 { echo "$as_me:$LINENO: result: no" >&5
4606 echo "${ECHO_T}no" >&6; }
4607 fi
4608
4609
4610 enablestring=
4611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4612 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4613 no_cache=0
4614 # Check whether --enable-debug was given.
4615 if test "${enable_debug+set}" = set; then
4616 enableval=$enable_debug;
4617 if test "$enableval" = yes; then
4618 ac_cv_use_debug='wxUSE_DEBUG=yes'
4619 else
4620 ac_cv_use_debug='wxUSE_DEBUG=no'
4621 fi
4622
4623 else
4624
4625 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4628 else
4629 no_cache=1
4630 fi
4631
4632 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4633
4634 fi
4635
4636
4637 eval "$ac_cv_use_debug"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4640 fi
4641
4642 if test "$wxUSE_DEBUG" = yes; then
4643 { echo "$as_me:$LINENO: result: yes" >&5
4644 echo "${ECHO_T}yes" >&6; }
4645 else
4646 { echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6; }
4648 fi
4649
4650
4651 enablestring=
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4654 no_cache=0
4655 # Check whether --enable-stl was given.
4656 if test "${enable_stl+set}" = set; then
4657 enableval=$enable_stl;
4658 if test "$enableval" = yes; then
4659 ac_cv_use_stl='wxUSE_STL=yes'
4660 else
4661 ac_cv_use_stl='wxUSE_STL=no'
4662 fi
4663
4664 else
4665
4666 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4669 else
4670 no_cache=1
4671 fi
4672
4673 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4674
4675 fi
4676
4677
4678 eval "$ac_cv_use_stl"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4681 fi
4682
4683 if test "$wxUSE_STL" = yes; then
4684 { echo "$as_me:$LINENO: result: yes" >&5
4685 echo "${ECHO_T}yes" >&6; }
4686 else
4687 { echo "$as_me:$LINENO: result: no" >&5
4688 echo "${ECHO_T}no" >&6; }
4689 fi
4690
4691
4692 enablestring=
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4695 no_cache=0
4696 # Check whether --enable-extended_rtti was given.
4697 if test "${enable_extended_rtti+set}" = set; then
4698 enableval=$enable_extended_rtti;
4699 if test "$enableval" = yes; then
4700 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4701 else
4702 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4703 fi
4704
4705 else
4706
4707 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x ; then
4709 eval "DEFAULT_$LINE"
4710 else
4711 no_cache=1
4712 fi
4713
4714 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4715
4716 fi
4717
4718
4719 eval "$ac_cv_use_extended_rtti"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4722 fi
4723
4724 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4725 { echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6; }
4727 else
4728 { echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6; }
4730 fi
4731
4732 if test "$USE_OS2" = "1"; then
4733 DEFAULT_wxUSE_OMF=no
4734
4735 enablestring=
4736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4738 no_cache=0
4739 # Check whether --enable-omf was given.
4740 if test "${enable_omf+set}" = set; then
4741 enableval=$enable_omf;
4742 if test "$enableval" = yes; then
4743 ac_cv_use_omf='wxUSE_OMF=yes'
4744 else
4745 ac_cv_use_omf='wxUSE_OMF=no'
4746 fi
4747
4748 else
4749
4750 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4753 else
4754 no_cache=1
4755 fi
4756
4757 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4758
4759 fi
4760
4761
4762 eval "$ac_cv_use_omf"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4765 fi
4766
4767 if test "$wxUSE_OMF" = yes; then
4768 { echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6; }
4770 else
4771 { echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6; }
4773 fi
4774
4775 fi
4776
4777 if test "$wxUSE_DEBUG" = "yes"; then
4778 DEFAULT_wxUSE_DEBUG_FLAG=yes
4779 DEFAULT_wxUSE_DEBUG_INFO=yes
4780 BUILD=debug
4781 elif test "$wxUSE_DEBUG" = "no"; then
4782 DEFAULT_wxUSE_DEBUG_FLAG=no
4783 DEFAULT_wxUSE_DEBUG_INFO=no
4784 BUILD=release
4785 fi
4786
4787
4788 enablestring=
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4791 no_cache=0
4792 # Check whether --enable-debug_flag was given.
4793 if test "${enable_debug_flag+set}" = set; then
4794 enableval=$enable_debug_flag;
4795 if test "$enableval" = yes; then
4796 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4797 else
4798 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4811
4812 fi
4813
4814
4815 eval "$ac_cv_use_debug_flag"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4818 fi
4819
4820 if test "$wxUSE_DEBUG_FLAG" = yes; then
4821 { echo "$as_me:$LINENO: result: yes" >&5
4822 echo "${ECHO_T}yes" >&6; }
4823 else
4824 { echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6; }
4826 fi
4827
4828
4829 enablestring=
4830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4831 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4832 no_cache=0
4833 # Check whether --enable-debug_info was given.
4834 if test "${enable_debug_info+set}" = set; then
4835 enableval=$enable_debug_info;
4836 if test "$enableval" = yes; then
4837 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4838 else
4839 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4852
4853 fi
4854
4855
4856 eval "$ac_cv_use_debug_info"
4857 if test "$no_cache" != 1; then
4858 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4859 fi
4860
4861 if test "$wxUSE_DEBUG_INFO" = yes; then
4862 { echo "$as_me:$LINENO: result: yes" >&5
4863 echo "${ECHO_T}yes" >&6; }
4864 else
4865 { echo "$as_me:$LINENO: result: no" >&5
4866 echo "${ECHO_T}no" >&6; }
4867 fi
4868
4869
4870 enablestring=
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4873 no_cache=0
4874 # Check whether --enable-debug_gdb was given.
4875 if test "${enable_debug_gdb+set}" = set; then
4876 enableval=$enable_debug_gdb;
4877 if test "$enableval" = yes; then
4878 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4879 else
4880 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4893
4894 fi
4895
4896
4897 eval "$ac_cv_use_debug_gdb"
4898 if test "$no_cache" != 1; then
4899 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4900 fi
4901
4902 if test "$wxUSE_DEBUG_GDB" = yes; then
4903 { echo "$as_me:$LINENO: result: yes" >&5
4904 echo "${ECHO_T}yes" >&6; }
4905 else
4906 { echo "$as_me:$LINENO: result: no" >&5
4907 echo "${ECHO_T}no" >&6; }
4908 fi
4909
4910
4911 enablestring=
4912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4913 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4914 no_cache=0
4915 # Check whether --enable-debug_cntxt was given.
4916 if test "${enable_debug_cntxt+set}" = set; then
4917 enableval=$enable_debug_cntxt;
4918 if test "$enableval" = yes; then
4919 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4920 else
4921 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4934
4935 fi
4936
4937
4938 eval "$ac_cv_use_debug_cntxt"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4941 fi
4942
4943 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4944 { echo "$as_me:$LINENO: result: yes" >&5
4945 echo "${ECHO_T}yes" >&6; }
4946 else
4947 { echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6; }
4949 fi
4950
4951
4952 enablestring=
4953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4955 no_cache=0
4956 # Check whether --enable-mem_tracing was given.
4957 if test "${enable_mem_tracing+set}" = set; then
4958 enableval=$enable_mem_tracing;
4959 if test "$enableval" = yes; then
4960 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4961 else
4962 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4963 fi
4964
4965 else
4966
4967 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x ; then
4969 eval "DEFAULT_$LINE"
4970 else
4971 no_cache=1
4972 fi
4973
4974 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4975
4976 fi
4977
4978
4979 eval "$ac_cv_use_mem_tracing"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4982 fi
4983
4984 if test "$wxUSE_MEM_TRACING" = yes; then
4985 { echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6; }
4987 else
4988 { echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6; }
4990 fi
4991
4992
4993 enablestring=
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4996 no_cache=0
4997 # Check whether --enable-profile was given.
4998 if test "${enable_profile+set}" = set; then
4999 enableval=$enable_profile;
5000 if test "$enableval" = yes; then
5001 ac_cv_use_profile='wxUSE_PROFILE=yes'
5002 else
5003 ac_cv_use_profile='wxUSE_PROFILE=no'
5004 fi
5005
5006 else
5007
5008 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
5009 if test "x$LINE" != x ; then
5010 eval "DEFAULT_$LINE"
5011 else
5012 no_cache=1
5013 fi
5014
5015 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5016
5017 fi
5018
5019
5020 eval "$ac_cv_use_profile"
5021 if test "$no_cache" != 1; then
5022 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5023 fi
5024
5025 if test "$wxUSE_PROFILE" = yes; then
5026 { echo "$as_me:$LINENO: result: yes" >&5
5027 echo "${ECHO_T}yes" >&6; }
5028 else
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5031 fi
5032
5033
5034 enablestring=
5035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5037 no_cache=0
5038 # Check whether --enable-no_rtti was given.
5039 if test "${enable_no_rtti+set}" = set; then
5040 enableval=$enable_no_rtti;
5041 if test "$enableval" = yes; then
5042 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5043 else
5044 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5045 fi
5046
5047 else
5048
5049 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
5050 if test "x$LINE" != x ; then
5051 eval "DEFAULT_$LINE"
5052 else
5053 no_cache=1
5054 fi
5055
5056 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5057
5058 fi
5059
5060
5061 eval "$ac_cv_use_no_rtti"
5062 if test "$no_cache" != 1; then
5063 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5064 fi
5065
5066 if test "$wxUSE_NO_RTTI" = yes; then
5067 { echo "$as_me:$LINENO: result: yes" >&5
5068 echo "${ECHO_T}yes" >&6; }
5069 else
5070 { echo "$as_me:$LINENO: result: no" >&5
5071 echo "${ECHO_T}no" >&6; }
5072 fi
5073
5074
5075 enablestring=
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5078 no_cache=0
5079 # Check whether --enable-no_exceptions was given.
5080 if test "${enable_no_exceptions+set}" = set; then
5081 enableval=$enable_no_exceptions;
5082 if test "$enableval" = yes; then
5083 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5084 else
5085 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5086 fi
5087
5088 else
5089
5090 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5091 if test "x$LINE" != x ; then
5092 eval "DEFAULT_$LINE"
5093 else
5094 no_cache=1
5095 fi
5096
5097 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5098
5099 fi
5100
5101
5102 eval "$ac_cv_use_no_exceptions"
5103 if test "$no_cache" != 1; then
5104 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5105 fi
5106
5107 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5108 { echo "$as_me:$LINENO: result: yes" >&5
5109 echo "${ECHO_T}yes" >&6; }
5110 else
5111 { echo "$as_me:$LINENO: result: no" >&5
5112 echo "${ECHO_T}no" >&6; }
5113 fi
5114
5115
5116 enablestring=
5117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5118 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5119 no_cache=0
5120 # Check whether --enable-permissive was given.
5121 if test "${enable_permissive+set}" = set; then
5122 enableval=$enable_permissive;
5123 if test "$enableval" = yes; then
5124 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5125 else
5126 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5127 fi
5128
5129 else
5130
5131 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x ; then
5133 eval "DEFAULT_$LINE"
5134 else
5135 no_cache=1
5136 fi
5137
5138 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5139
5140 fi
5141
5142
5143 eval "$ac_cv_use_permissive"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5146 fi
5147
5148 if test "$wxUSE_PERMISSIVE" = yes; then
5149 { echo "$as_me:$LINENO: result: yes" >&5
5150 echo "${ECHO_T}yes" >&6; }
5151 else
5152 { echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6; }
5154 fi
5155
5156
5157 enablestring=
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5160 no_cache=0
5161 # Check whether --enable-no_deps was given.
5162 if test "${enable_no_deps+set}" = set; then
5163 enableval=$enable_no_deps;
5164 if test "$enableval" = yes; then
5165 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5166 else
5167 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5168 fi
5169
5170 else
5171
5172 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5173 if test "x$LINE" != x ; then
5174 eval "DEFAULT_$LINE"
5175 else
5176 no_cache=1
5177 fi
5178
5179 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5180
5181 fi
5182
5183
5184 eval "$ac_cv_use_no_deps"
5185 if test "$no_cache" != 1; then
5186 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5187 fi
5188
5189 if test "$wxUSE_NO_DEPS" = yes; then
5190 { echo "$as_me:$LINENO: result: yes" >&5
5191 echo "${ECHO_T}yes" >&6; }
5192 else
5193 { echo "$as_me:$LINENO: result: no" >&5
5194 echo "${ECHO_T}no" >&6; }
5195 fi
5196
5197
5198 enablestring=
5199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5200 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5201 no_cache=0
5202 # Check whether --enable-vararg_macros was given.
5203 if test "${enable_vararg_macros+set}" = set; then
5204 enableval=$enable_vararg_macros;
5205 if test "$enableval" = yes; then
5206 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5207 else
5208 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5209 fi
5210
5211 else
5212
5213 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x ; then
5215 eval "DEFAULT_$LINE"
5216 else
5217 no_cache=1
5218 fi
5219
5220 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5221
5222 fi
5223
5224
5225 eval "$ac_cv_use_vararg_macros"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5228 fi
5229
5230 if test "$wxUSE_VARARG_MACROS" = yes; then
5231 { echo "$as_me:$LINENO: result: yes" >&5
5232 echo "${ECHO_T}yes" >&6; }
5233 else
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5236 fi
5237
5238
5239 enablestring=
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5242 no_cache=0
5243 # Check whether --enable-universal_binary was given.
5244 if test "${enable_universal_binary+set}" = set; then
5245 enableval=$enable_universal_binary;
5246 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5247
5248 else
5249
5250 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5253 else
5254 no_cache=1
5255 fi
5256
5257 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5258
5259 fi
5260
5261
5262 eval "$wx_cv_use_universal_binary"
5263 if test "$no_cache" != 1; then
5264 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5268 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5269
5270
5271
5272 enablestring=enable
5273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5275 no_cache=0
5276 # Check whether --enable-compat26 was given.
5277 if test "${enable_compat26+set}" = set; then
5278 enableval=$enable_compat26;
5279 if test "$enableval" = yes; then
5280 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5281 else
5282 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5283 fi
5284
5285 else
5286
5287 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x ; then
5289 eval "DEFAULT_$LINE"
5290 else
5291 no_cache=1
5292 fi
5293
5294 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5295
5296 fi
5297
5298
5299 eval "$ac_cv_use_compat26"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5305 { echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6; }
5307 else
5308 { echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6; }
5310 fi
5311
5312
5313 enablestring=disable
5314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5316 no_cache=0
5317 # Check whether --enable-compat28 was given.
5318 if test "${enable_compat28+set}" = set; then
5319 enableval=$enable_compat28;
5320 if test "$enableval" = yes; then
5321 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5322 else
5323 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5324 fi
5325
5326 else
5327
5328 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5329 if test "x$LINE" != x ; then
5330 eval "DEFAULT_$LINE"
5331 else
5332 no_cache=1
5333 fi
5334
5335 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5336
5337 fi
5338
5339
5340 eval "$ac_cv_use_compat28"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5346 { echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6; }
5348 else
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5351 fi
5352
5353
5354
5355 enablestring=
5356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5358 no_cache=0
5359 # Check whether --enable-rpath was given.
5360 if test "${enable_rpath+set}" = set; then
5361 enableval=$enable_rpath;
5362 if test "$enableval" = yes; then
5363 ac_cv_use_rpath='wxUSE_RPATH=yes'
5364 else
5365 ac_cv_use_rpath='wxUSE_RPATH=no'
5366 fi
5367
5368 else
5369
5370 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5378
5379 fi
5380
5381
5382 eval "$ac_cv_use_rpath"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5385 fi
5386
5387 if test "$wxUSE_RPATH" = yes; then
5388 { echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6; }
5390 else
5391 { echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6; }
5393 fi
5394
5395
5396
5397
5398
5399 enablestring=
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5402 no_cache=0
5403 # Check whether --enable-intl was given.
5404 if test "${enable_intl+set}" = set; then
5405 enableval=$enable_intl;
5406 if test "$enableval" = yes; then
5407 ac_cv_use_intl='wxUSE_INTL=yes'
5408 else
5409 ac_cv_use_intl='wxUSE_INTL=no'
5410 fi
5411
5412 else
5413
5414 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x ; then
5416 eval "DEFAULT_$LINE"
5417 else
5418 no_cache=1
5419 fi
5420
5421 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5422
5423 fi
5424
5425
5426 eval "$ac_cv_use_intl"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5429 fi
5430
5431 if test "$wxUSE_INTL" = yes; then
5432 { echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6; }
5434 else
5435 { echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6; }
5437 fi
5438
5439
5440 enablestring=
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5443 no_cache=0
5444 # Check whether --enable-config was given.
5445 if test "${enable_config+set}" = set; then
5446 enableval=$enable_config;
5447 if test "$enableval" = yes; then
5448 ac_cv_use_config='wxUSE_CONFIG=yes'
5449 else
5450 ac_cv_use_config='wxUSE_CONFIG=no'
5451 fi
5452
5453 else
5454
5455 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5458 else
5459 no_cache=1
5460 fi
5461
5462 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5463
5464 fi
5465
5466
5467 eval "$ac_cv_use_config"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5470 fi
5471
5472 if test "$wxUSE_CONFIG" = yes; then
5473 { echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6; }
5475 else
5476 { echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6; }
5478 fi
5479
5480
5481
5482 enablestring=
5483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5484 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5485 no_cache=0
5486 # Check whether --enable-protocols was given.
5487 if test "${enable_protocols+set}" = set; then
5488 enableval=$enable_protocols;
5489 if test "$enableval" = yes; then
5490 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5491 else
5492 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5493 fi
5494
5495 else
5496
5497 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5500 else
5501 no_cache=1
5502 fi
5503
5504 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5505
5506 fi
5507
5508
5509 eval "$ac_cv_use_protocols"
5510 if test "$no_cache" != 1; then
5511 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5512 fi
5513
5514 if test "$wxUSE_PROTOCOL" = yes; then
5515 { echo "$as_me:$LINENO: result: yes" >&5
5516 echo "${ECHO_T}yes" >&6; }
5517 else
5518 { echo "$as_me:$LINENO: result: no" >&5
5519 echo "${ECHO_T}no" >&6; }
5520 fi
5521
5522
5523 enablestring=
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5526 no_cache=0
5527 # Check whether --enable-ftp was given.
5528 if test "${enable_ftp+set}" = set; then
5529 enableval=$enable_ftp;
5530 if test "$enableval" = yes; then
5531 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5532 else
5533 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5546
5547 fi
5548
5549
5550 eval "$ac_cv_use_ftp"
5551 if test "$no_cache" != 1; then
5552 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5553 fi
5554
5555 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5556 { echo "$as_me:$LINENO: result: yes" >&5
5557 echo "${ECHO_T}yes" >&6; }
5558 else
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5561 fi
5562
5563
5564 enablestring=
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5567 no_cache=0
5568 # Check whether --enable-http was given.
5569 if test "${enable_http+set}" = set; then
5570 enableval=$enable_http;
5571 if test "$enableval" = yes; then
5572 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5573 else
5574 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5587
5588 fi
5589
5590
5591 eval "$ac_cv_use_http"
5592 if test "$no_cache" != 1; then
5593 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5594 fi
5595
5596 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5597 { echo "$as_me:$LINENO: result: yes" >&5
5598 echo "${ECHO_T}yes" >&6; }
5599 else
5600 { echo "$as_me:$LINENO: result: no" >&5
5601 echo "${ECHO_T}no" >&6; }
5602 fi
5603
5604
5605 enablestring=
5606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5607 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5608 no_cache=0
5609 # Check whether --enable-fileproto was given.
5610 if test "${enable_fileproto+set}" = set; then
5611 enableval=$enable_fileproto;
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5614 else
5615 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5616 fi
5617
5618 else
5619
5620 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5623 else
5624 no_cache=1
5625 fi
5626
5627 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5628
5629 fi
5630
5631
5632 eval "$ac_cv_use_fileproto"
5633 if test "$no_cache" != 1; then
5634 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5635 fi
5636
5637 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5638 { echo "$as_me:$LINENO: result: yes" >&5
5639 echo "${ECHO_T}yes" >&6; }
5640 else
5641 { echo "$as_me:$LINENO: result: no" >&5
5642 echo "${ECHO_T}no" >&6; }
5643 fi
5644
5645
5646 enablestring=
5647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5648 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5649 no_cache=0
5650 # Check whether --enable-sockets was given.
5651 if test "${enable_sockets+set}" = set; then
5652 enableval=$enable_sockets;
5653 if test "$enableval" = yes; then
5654 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5655 else
5656 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5669
5670 fi
5671
5672
5673 eval "$ac_cv_use_sockets"
5674 if test "$no_cache" != 1; then
5675 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5676 fi
5677
5678 if test "$wxUSE_SOCKETS" = yes; then
5679 { echo "$as_me:$LINENO: result: yes" >&5
5680 echo "${ECHO_T}yes" >&6; }
5681 else
5682 { echo "$as_me:$LINENO: result: no" >&5
5683 echo "${ECHO_T}no" >&6; }
5684 fi
5685
5686
5687 enablestring=
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5690 no_cache=0
5691 # Check whether --enable-ole was given.
5692 if test "${enable_ole+set}" = set; then
5693 enableval=$enable_ole;
5694 if test "$enableval" = yes; then
5695 ac_cv_use_ole='wxUSE_OLE=yes'
5696 else
5697 ac_cv_use_ole='wxUSE_OLE=no'
5698 fi
5699
5700 else
5701
5702 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 else
5706 no_cache=1
5707 fi
5708
5709 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5710
5711 fi
5712
5713
5714 eval "$ac_cv_use_ole"
5715 if test "$no_cache" != 1; then
5716 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5717 fi
5718
5719 if test "$wxUSE_OLE" = yes; then
5720 { echo "$as_me:$LINENO: result: yes" >&5
5721 echo "${ECHO_T}yes" >&6; }
5722 else
5723 { echo "$as_me:$LINENO: result: no" >&5
5724 echo "${ECHO_T}no" >&6; }
5725 fi
5726
5727
5728 enablestring=
5729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5730 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5731 no_cache=0
5732 # Check whether --enable-dataobj was given.
5733 if test "${enable_dataobj+set}" = set; then
5734 enableval=$enable_dataobj;
5735 if test "$enableval" = yes; then
5736 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5737 else
5738 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5739 fi
5740
5741 else
5742
5743 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5751
5752 fi
5753
5754
5755 eval "$ac_cv_use_dataobj"
5756 if test "$no_cache" != 1; then
5757 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5758 fi
5759
5760 if test "$wxUSE_DATAOBJ" = yes; then
5761 { echo "$as_me:$LINENO: result: yes" >&5
5762 echo "${ECHO_T}yes" >&6; }
5763 else
5764 { echo "$as_me:$LINENO: result: no" >&5
5765 echo "${ECHO_T}no" >&6; }
5766 fi
5767
5768
5769
5770 enablestring=
5771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5773 no_cache=0
5774 # Check whether --enable-ipc was given.
5775 if test "${enable_ipc+set}" = set; then
5776 enableval=$enable_ipc;
5777 if test "$enableval" = yes; then
5778 ac_cv_use_ipc='wxUSE_IPC=yes'
5779 else
5780 ac_cv_use_ipc='wxUSE_IPC=no'
5781 fi
5782
5783 else
5784
5785 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5786 if test "x$LINE" != x ; then
5787 eval "DEFAULT_$LINE"
5788 else
5789 no_cache=1
5790 fi
5791
5792 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5793
5794 fi
5795
5796
5797 eval "$ac_cv_use_ipc"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5800 fi
5801
5802 if test "$wxUSE_IPC" = yes; then
5803 { echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6; }
5805 else
5806 { echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6; }
5808 fi
5809
5810
5811
5812 enablestring=
5813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5814 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5815 no_cache=0
5816 # Check whether --enable-apple_ieee was given.
5817 if test "${enable_apple_ieee+set}" = set; then
5818 enableval=$enable_apple_ieee;
5819 if test "$enableval" = yes; then
5820 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5821 else
5822 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5823 fi
5824
5825 else
5826
5827 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5830 else
5831 no_cache=1
5832 fi
5833
5834 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5835
5836 fi
5837
5838
5839 eval "$ac_cv_use_apple_ieee"
5840 if test "$no_cache" != 1; then
5841 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5842 fi
5843
5844 if test "$wxUSE_APPLE_IEEE" = yes; then
5845 { echo "$as_me:$LINENO: result: yes" >&5
5846 echo "${ECHO_T}yes" >&6; }
5847 else
5848 { echo "$as_me:$LINENO: result: no" >&5
5849 echo "${ECHO_T}no" >&6; }
5850 fi
5851
5852
5853 enablestring=
5854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5855 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5856 no_cache=0
5857 # Check whether --enable-arcstream was given.
5858 if test "${enable_arcstream+set}" = set; then
5859 enableval=$enable_arcstream;
5860 if test "$enableval" = yes; then
5861 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5862 else
5863 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5864 fi
5865
5866 else
5867
5868 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 else
5872 no_cache=1
5873 fi
5874
5875 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5876
5877 fi
5878
5879
5880 eval "$ac_cv_use_arcstream"
5881 if test "$no_cache" != 1; then
5882 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5883 fi
5884
5885 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5886 { echo "$as_me:$LINENO: result: yes" >&5
5887 echo "${ECHO_T}yes" >&6; }
5888 else
5889 { echo "$as_me:$LINENO: result: no" >&5
5890 echo "${ECHO_T}no" >&6; }
5891 fi
5892
5893
5894 enablestring=
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5897 no_cache=0
5898 # Check whether --enable-backtrace was given.
5899 if test "${enable_backtrace+set}" = set; then
5900 enableval=$enable_backtrace;
5901 if test "$enableval" = yes; then
5902 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5903 else
5904 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5905 fi
5906
5907 else
5908
5909 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x ; then
5911 eval "DEFAULT_$LINE"
5912 else
5913 no_cache=1
5914 fi
5915
5916 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5917
5918 fi
5919
5920
5921 eval "$ac_cv_use_backtrace"
5922 if test "$no_cache" != 1; then
5923 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5924 fi
5925
5926 if test "$wxUSE_STACKWALKER" = yes; then
5927 { echo "$as_me:$LINENO: result: yes" >&5
5928 echo "${ECHO_T}yes" >&6; }
5929 else
5930 { echo "$as_me:$LINENO: result: no" >&5
5931 echo "${ECHO_T}no" >&6; }
5932 fi
5933
5934
5935 enablestring=
5936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5937 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5938 no_cache=0
5939 # Check whether --enable-catch_segvs was given.
5940 if test "${enable_catch_segvs+set}" = set; then
5941 enableval=$enable_catch_segvs;
5942 if test "$enableval" = yes; then
5943 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5944 else
5945 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5946 fi
5947
5948 else
5949
5950 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5953 else
5954 no_cache=1
5955 fi
5956
5957 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5958
5959 fi
5960
5961
5962 eval "$ac_cv_use_catch_segvs"
5963 if test "$no_cache" != 1; then
5964 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5965 fi
5966
5967 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5968 { echo "$as_me:$LINENO: result: yes" >&5
5969 echo "${ECHO_T}yes" >&6; }
5970 else
5971 { echo "$as_me:$LINENO: result: no" >&5
5972 echo "${ECHO_T}no" >&6; }
5973 fi
5974
5975
5976 enablestring=
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5979 no_cache=0
5980 # Check whether --enable-cmdline was given.
5981 if test "${enable_cmdline+set}" = set; then
5982 enableval=$enable_cmdline;
5983 if test "$enableval" = yes; then
5984 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5985 else
5986 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5987 fi
5988
5989 else
5990
5991 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x ; then
5993 eval "DEFAULT_$LINE"
5994 else
5995 no_cache=1
5996 fi
5997
5998 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5999
6000 fi
6001
6002
6003 eval "$ac_cv_use_cmdline"
6004 if test "$no_cache" != 1; then
6005 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6006 fi
6007
6008 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6009 { echo "$as_me:$LINENO: result: yes" >&5
6010 echo "${ECHO_T}yes" >&6; }
6011 else
6012 { echo "$as_me:$LINENO: result: no" >&5
6013 echo "${ECHO_T}no" >&6; }
6014 fi
6015
6016
6017 enablestring=
6018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6019 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6020 no_cache=0
6021 # Check whether --enable-datetime was given.
6022 if test "${enable_datetime+set}" = set; then
6023 enableval=$enable_datetime;
6024 if test "$enableval" = yes; then
6025 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6026 else
6027 ac_cv_use_datetime='wxUSE_DATETIME=no'
6028 fi
6029
6030 else
6031
6032 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6035 else
6036 no_cache=1
6037 fi
6038
6039 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6040
6041 fi
6042
6043
6044 eval "$ac_cv_use_datetime"
6045 if test "$no_cache" != 1; then
6046 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6047 fi
6048
6049 if test "$wxUSE_DATETIME" = yes; then
6050 { echo "$as_me:$LINENO: result: yes" >&5
6051 echo "${ECHO_T}yes" >&6; }
6052 else
6053 { echo "$as_me:$LINENO: result: no" >&5
6054 echo "${ECHO_T}no" >&6; }
6055 fi
6056
6057
6058 enablestring=
6059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6060 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6061 no_cache=0
6062 # Check whether --enable-debugreport was given.
6063 if test "${enable_debugreport+set}" = set; then
6064 enableval=$enable_debugreport;
6065 if test "$enableval" = yes; then
6066 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6067 else
6068 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6069 fi
6070
6071 else
6072
6073 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6076 else
6077 no_cache=1
6078 fi
6079
6080 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6081
6082 fi
6083
6084
6085 eval "$ac_cv_use_debugreport"
6086 if test "$no_cache" != 1; then
6087 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6088 fi
6089
6090 if test "$wxUSE_DEBUGREPORT" = yes; then
6091 { echo "$as_me:$LINENO: result: yes" >&5
6092 echo "${ECHO_T}yes" >&6; }
6093 else
6094 { echo "$as_me:$LINENO: result: no" >&5
6095 echo "${ECHO_T}no" >&6; }
6096 fi
6097
6098
6099 enablestring=
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6102 no_cache=0
6103 # Check whether --enable-dialupman was given.
6104 if test "${enable_dialupman+set}" = set; then
6105 enableval=$enable_dialupman;
6106 if test "$enableval" = yes; then
6107 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6108 else
6109 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6110 fi
6111
6112 else
6113
6114 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6117 else
6118 no_cache=1
6119 fi
6120
6121 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6122
6123 fi
6124
6125
6126 eval "$ac_cv_use_dialupman"
6127 if test "$no_cache" != 1; then
6128 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6129 fi
6130
6131 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6132 { echo "$as_me:$LINENO: result: yes" >&5
6133 echo "${ECHO_T}yes" >&6; }
6134 else
6135 { echo "$as_me:$LINENO: result: no" >&5
6136 echo "${ECHO_T}no" >&6; }
6137 fi
6138
6139
6140 enablestring=
6141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6142 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6143 no_cache=0
6144 # Check whether --enable-dynlib was given.
6145 if test "${enable_dynlib+set}" = set; then
6146 enableval=$enable_dynlib;
6147 if test "$enableval" = yes; then
6148 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6149 else
6150 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6151 fi
6152
6153 else
6154
6155 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6158 else
6159 no_cache=1
6160 fi
6161
6162 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6163
6164 fi
6165
6166
6167 eval "$ac_cv_use_dynlib"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6170 fi
6171
6172 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6173 { echo "$as_me:$LINENO: result: yes" >&5
6174 echo "${ECHO_T}yes" >&6; }
6175 else
6176 { echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6; }
6178 fi
6179
6180
6181 enablestring=
6182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6183 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6184 no_cache=0
6185 # Check whether --enable-dynamicloader was given.
6186 if test "${enable_dynamicloader+set}" = set; then
6187 enableval=$enable_dynamicloader;
6188 if test "$enableval" = yes; then
6189 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6190 else
6191 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6192 fi
6193
6194 else
6195
6196 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x ; then
6198 eval "DEFAULT_$LINE"
6199 else
6200 no_cache=1
6201 fi
6202
6203 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6204
6205 fi
6206
6207
6208 eval "$ac_cv_use_dynamicloader"
6209 if test "$no_cache" != 1; then
6210 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6211 fi
6212
6213 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6214 { echo "$as_me:$LINENO: result: yes" >&5
6215 echo "${ECHO_T}yes" >&6; }
6216 else
6217 { echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6; }
6219 fi
6220
6221
6222 enablestring=
6223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6225 no_cache=0
6226 # Check whether --enable-exceptions was given.
6227 if test "${enable_exceptions+set}" = set; then
6228 enableval=$enable_exceptions;
6229 if test "$enableval" = yes; then
6230 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6231 else
6232 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6233 fi
6234
6235 else
6236
6237 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6240 else
6241 no_cache=1
6242 fi
6243
6244 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6245
6246 fi
6247
6248
6249 eval "$ac_cv_use_exceptions"
6250 if test "$no_cache" != 1; then
6251 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6252 fi
6253
6254 if test "$wxUSE_EXCEPTIONS" = yes; then
6255 { echo "$as_me:$LINENO: result: yes" >&5
6256 echo "${ECHO_T}yes" >&6; }
6257 else
6258 { echo "$as_me:$LINENO: result: no" >&5
6259 echo "${ECHO_T}no" >&6; }
6260 fi
6261
6262
6263 enablestring=
6264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6265 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6266 no_cache=0
6267 # Check whether --enable-ffile was given.
6268 if test "${enable_ffile+set}" = set; then
6269 enableval=$enable_ffile;
6270 if test "$enableval" = yes; then
6271 ac_cv_use_ffile='wxUSE_FFILE=yes'
6272 else
6273 ac_cv_use_ffile='wxUSE_FFILE=no'
6274 fi
6275
6276 else
6277
6278 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x ; then
6280 eval "DEFAULT_$LINE"
6281 else
6282 no_cache=1
6283 fi
6284
6285 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6286
6287 fi
6288
6289
6290 eval "$ac_cv_use_ffile"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6293 fi
6294
6295 if test "$wxUSE_FFILE" = yes; then
6296 { echo "$as_me:$LINENO: result: yes" >&5
6297 echo "${ECHO_T}yes" >&6; }
6298 else
6299 { echo "$as_me:$LINENO: result: no" >&5
6300 echo "${ECHO_T}no" >&6; }
6301 fi
6302
6303
6304 enablestring=
6305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6306 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6307 no_cache=0
6308 # Check whether --enable-file was given.
6309 if test "${enable_file+set}" = set; then
6310 enableval=$enable_file;
6311 if test "$enableval" = yes; then
6312 ac_cv_use_file='wxUSE_FILE=yes'
6313 else
6314 ac_cv_use_file='wxUSE_FILE=no'
6315 fi
6316
6317 else
6318
6319 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x ; then
6321 eval "DEFAULT_$LINE"
6322 else
6323 no_cache=1
6324 fi
6325
6326 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6327
6328 fi
6329
6330
6331 eval "$ac_cv_use_file"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6334 fi
6335
6336 if test "$wxUSE_FILE" = yes; then
6337 { echo "$as_me:$LINENO: result: yes" >&5
6338 echo "${ECHO_T}yes" >&6; }
6339 else
6340 { echo "$as_me:$LINENO: result: no" >&5
6341 echo "${ECHO_T}no" >&6; }
6342 fi
6343
6344
6345 enablestring=
6346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6348 no_cache=0
6349 # Check whether --enable-filesystem was given.
6350 if test "${enable_filesystem+set}" = set; then
6351 enableval=$enable_filesystem;
6352 if test "$enableval" = yes; then
6353 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6354 else
6355 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6356 fi
6357
6358 else
6359
6360 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x ; then
6362 eval "DEFAULT_$LINE"
6363 else
6364 no_cache=1
6365 fi
6366
6367 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6368
6369 fi
6370
6371
6372 eval "$ac_cv_use_filesystem"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6375 fi
6376
6377 if test "$wxUSE_FILESYSTEM" = yes; then
6378 { echo "$as_me:$LINENO: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6; }
6380 else
6381 { echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6; }
6383 fi
6384
6385
6386 enablestring=
6387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6389 no_cache=0
6390 # Check whether --enable-fontmap was given.
6391 if test "${enable_fontmap+set}" = set; then
6392 enableval=$enable_fontmap;
6393 if test "$enableval" = yes; then
6394 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6395 else
6396 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6397 fi
6398
6399 else
6400
6401 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6404 else
6405 no_cache=1
6406 fi
6407
6408 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6409
6410 fi
6411
6412
6413 eval "$ac_cv_use_fontmap"
6414 if test "$no_cache" != 1; then
6415 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6416 fi
6417
6418 if test "$wxUSE_FONTMAP" = yes; then
6419 { echo "$as_me:$LINENO: result: yes" >&5
6420 echo "${ECHO_T}yes" >&6; }
6421 else
6422 { echo "$as_me:$LINENO: result: no" >&5
6423 echo "${ECHO_T}no" >&6; }
6424 fi
6425
6426
6427 enablestring=
6428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6430 no_cache=0
6431 # Check whether --enable-fs_archive was given.
6432 if test "${enable_fs_archive+set}" = set; then
6433 enableval=$enable_fs_archive;
6434 if test "$enableval" = yes; then
6435 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6436 else
6437 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6438 fi
6439
6440 else
6441
6442 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6445 else
6446 no_cache=1
6447 fi
6448
6449 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6450
6451 fi
6452
6453
6454 eval "$ac_cv_use_fs_archive"
6455 if test "$no_cache" != 1; then
6456 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6457 fi
6458
6459 if test "$wxUSE_FS_ARCHIVE" = yes; then
6460 { echo "$as_me:$LINENO: result: yes" >&5
6461 echo "${ECHO_T}yes" >&6; }
6462 else
6463 { echo "$as_me:$LINENO: result: no" >&5
6464 echo "${ECHO_T}no" >&6; }
6465 fi
6466
6467
6468 enablestring=
6469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6470 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6471 no_cache=0
6472 # Check whether --enable-fs_inet was given.
6473 if test "${enable_fs_inet+set}" = set; then
6474 enableval=$enable_fs_inet;
6475 if test "$enableval" = yes; then
6476 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6477 else
6478 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6479 fi
6480
6481 else
6482
6483 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6486 else
6487 no_cache=1
6488 fi
6489
6490 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6491
6492 fi
6493
6494
6495 eval "$ac_cv_use_fs_inet"
6496 if test "$no_cache" != 1; then
6497 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6498 fi
6499
6500 if test "$wxUSE_FS_INET" = yes; then
6501 { echo "$as_me:$LINENO: result: yes" >&5
6502 echo "${ECHO_T}yes" >&6; }
6503 else
6504 { echo "$as_me:$LINENO: result: no" >&5
6505 echo "${ECHO_T}no" >&6; }
6506 fi
6507
6508
6509 enablestring=
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6512 no_cache=0
6513 # Check whether --enable-fs_zip was given.
6514 if test "${enable_fs_zip+set}" = set; then
6515 enableval=$enable_fs_zip;
6516 if test "$enableval" = yes; then
6517 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6518 else
6519 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6520 fi
6521
6522 else
6523
6524 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6527 else
6528 no_cache=1
6529 fi
6530
6531 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6532
6533 fi
6534
6535
6536 eval "$ac_cv_use_fs_zip"
6537 if test "$no_cache" != 1; then
6538 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6539 fi
6540
6541 if test "$wxUSE_FS_ZIP" = yes; then
6542 { echo "$as_me:$LINENO: result: yes" >&5
6543 echo "${ECHO_T}yes" >&6; }
6544 else
6545 { echo "$as_me:$LINENO: result: no" >&5
6546 echo "${ECHO_T}no" >&6; }
6547 fi
6548
6549
6550 enablestring=
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6553 no_cache=0
6554 # Check whether --enable-geometry was given.
6555 if test "${enable_geometry+set}" = set; then
6556 enableval=$enable_geometry;
6557 if test "$enableval" = yes; then
6558 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6559 else
6560 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6561 fi
6562
6563 else
6564
6565 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6573
6574 fi
6575
6576
6577 eval "$ac_cv_use_geometry"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6580 fi
6581
6582 if test "$wxUSE_GEOMETRY" = yes; then
6583 { echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6; }
6585 else
6586 { echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6; }
6588 fi
6589
6590
6591 enablestring=
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6594 no_cache=0
6595 # Check whether --enable-log was given.
6596 if test "${enable_log+set}" = set; then
6597 enableval=$enable_log;
6598 if test "$enableval" = yes; then
6599 ac_cv_use_log='wxUSE_LOG=yes'
6600 else
6601 ac_cv_use_log='wxUSE_LOG=no'
6602 fi
6603
6604 else
6605
6606 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6614
6615 fi
6616
6617
6618 eval "$ac_cv_use_log"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6621 fi
6622
6623 if test "$wxUSE_LOG" = yes; then
6624 { echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6; }
6626 else
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6629 fi
6630
6631
6632 enablestring=
6633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6635 no_cache=0
6636 # Check whether --enable-longlong was given.
6637 if test "${enable_longlong+set}" = set; then
6638 enableval=$enable_longlong;
6639 if test "$enableval" = yes; then
6640 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6641 else
6642 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6643 fi
6644
6645 else
6646
6647 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6650 else
6651 no_cache=1
6652 fi
6653
6654 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6655
6656 fi
6657
6658
6659 eval "$ac_cv_use_longlong"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6662 fi
6663
6664 if test "$wxUSE_LONGLONG" = yes; then
6665 { echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6; }
6667 else
6668 { echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6; }
6670 fi
6671
6672
6673 enablestring=
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6676 no_cache=0
6677 # Check whether --enable-mimetype was given.
6678 if test "${enable_mimetype+set}" = set; then
6679 enableval=$enable_mimetype;
6680 if test "$enableval" = yes; then
6681 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6682 else
6683 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6684 fi
6685
6686 else
6687
6688 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6691 else
6692 no_cache=1
6693 fi
6694
6695 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6696
6697 fi
6698
6699
6700 eval "$ac_cv_use_mimetype"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6703 fi
6704
6705 if test "$wxUSE_MIMETYPE" = yes; then
6706 { echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6; }
6708 else
6709 { echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6; }
6711 fi
6712
6713
6714 enablestring=
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6717 no_cache=0
6718 # Check whether --enable-mslu was given.
6719 if test "${enable_mslu+set}" = set; then
6720 enableval=$enable_mslu;
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6723 else
6724 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6725 fi
6726
6727 else
6728
6729 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x ; then
6731 eval "DEFAULT_$LINE"
6732 else
6733 no_cache=1
6734 fi
6735
6736 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6737
6738 fi
6739
6740
6741 eval "$ac_cv_use_mslu"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_UNICODE_MSLU" = yes; then
6747 { echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6; }
6749 else
6750 { echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6; }
6752 fi
6753
6754
6755 enablestring=
6756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6758 no_cache=0
6759 # Check whether --enable-utf8 was given.
6760 if test "${enable_utf8+set}" = set; then
6761 enableval=$enable_utf8;
6762 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6763
6764 else
6765
6766 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x ; then
6768 eval "DEFAULT_$LINE"
6769 else
6770 no_cache=1
6771 fi
6772
6773 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6774
6775 fi
6776
6777
6778 eval "$wx_cv_use_utf8"
6779 if test "$no_cache" != 1; then
6780 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6781 fi
6782
6783 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6784 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6785
6786
6787 enablestring=
6788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6790 no_cache=0
6791 # Check whether --enable-utf8only was given.
6792 if test "${enable_utf8only+set}" = set; then
6793 enableval=$enable_utf8only;
6794 if test "$enableval" = yes; then
6795 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6796 else
6797 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6798 fi
6799
6800 else
6801
6802 LINE=`grep "wxUSE_UNICODE_UTF8_LOCALE" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6805 else
6806 no_cache=1
6807 fi
6808
6809 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6810
6811 fi
6812
6813
6814 eval "$ac_cv_use_utf8only"
6815 if test "$no_cache" != 1; then
6816 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6817 fi
6818
6819 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6820 { echo "$as_me:$LINENO: result: yes" >&5
6821 echo "${ECHO_T}yes" >&6; }
6822 else
6823 { echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6; }
6825 fi
6826
6827
6828 enablestring=
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6831 no_cache=0
6832 # Check whether --enable-snglinst was given.
6833 if test "${enable_snglinst+set}" = set; then
6834 enableval=$enable_snglinst;
6835 if test "$enableval" = yes; then
6836 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6837 else
6838 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6839 fi
6840
6841 else
6842
6843 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6846 else
6847 no_cache=1
6848 fi
6849
6850 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6851
6852 fi
6853
6854
6855 eval "$ac_cv_use_snglinst"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6858 fi
6859
6860 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6861 { echo "$as_me:$LINENO: result: yes" >&5
6862 echo "${ECHO_T}yes" >&6; }
6863 else
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6866 fi
6867
6868
6869 enablestring=
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6872 no_cache=0
6873 # Check whether --enable-std_iostreams was given.
6874 if test "${enable_std_iostreams+set}" = set; then
6875 enableval=$enable_std_iostreams;
6876 if test "$enableval" = yes; then
6877 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6878 else
6879 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6880 fi
6881
6882 else
6883
6884 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x ; then
6886 eval "DEFAULT_$LINE"
6887 else
6888 no_cache=1
6889 fi
6890
6891 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6892
6893 fi
6894
6895
6896 eval "$ac_cv_use_std_iostreams"
6897 if test "$no_cache" != 1; then
6898 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6899 fi
6900
6901 if test "$wxUSE_STD_IOSTREAM" = yes; then
6902 { echo "$as_me:$LINENO: result: yes" >&5
6903 echo "${ECHO_T}yes" >&6; }
6904 else
6905 { echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6; }
6907 fi
6908
6909
6910 enablestring=
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6913 no_cache=0
6914 # Check whether --enable-std_string was given.
6915 if test "${enable_std_string+set}" = set; then
6916 enableval=$enable_std_string;
6917 if test "$enableval" = yes; then
6918 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6919 else
6920 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6921 fi
6922
6923 else
6924
6925 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6928 else
6929 no_cache=1
6930 fi
6931
6932 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6933
6934 fi
6935
6936
6937 eval "$ac_cv_use_std_string"
6938 if test "$no_cache" != 1; then
6939 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6940 fi
6941
6942 if test "$wxUSE_STD_STRING" = yes; then
6943 { echo "$as_me:$LINENO: result: yes" >&5
6944 echo "${ECHO_T}yes" >&6; }
6945 else
6946 { echo "$as_me:$LINENO: result: no" >&5
6947 echo "${ECHO_T}no" >&6; }
6948 fi
6949
6950
6951 enablestring=
6952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6954 no_cache=0
6955 # Check whether --enable-stdpaths was given.
6956 if test "${enable_stdpaths+set}" = set; then
6957 enableval=$enable_stdpaths;
6958 if test "$enableval" = yes; then
6959 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6960 else
6961 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6962 fi
6963
6964 else
6965
6966 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6967 if test "x$LINE" != x ; then
6968 eval "DEFAULT_$LINE"
6969 else
6970 no_cache=1
6971 fi
6972
6973 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6974
6975 fi
6976
6977
6978 eval "$ac_cv_use_stdpaths"
6979 if test "$no_cache" != 1; then
6980 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6981 fi
6982
6983 if test "$wxUSE_STDPATHS" = yes; then
6984 { echo "$as_me:$LINENO: result: yes" >&5
6985 echo "${ECHO_T}yes" >&6; }
6986 else
6987 { echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6; }
6989 fi
6990
6991
6992 enablestring=
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6995 no_cache=0
6996 # Check whether --enable-stopwatch was given.
6997 if test "${enable_stopwatch+set}" = set; then
6998 enableval=$enable_stopwatch;
6999 if test "$enableval" = yes; then
7000 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7001 else
7002 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7003 fi
7004
7005 else
7006
7007 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
7008 if test "x$LINE" != x ; then
7009 eval "DEFAULT_$LINE"
7010 else
7011 no_cache=1
7012 fi
7013
7014 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7015
7016 fi
7017
7018
7019 eval "$ac_cv_use_stopwatch"
7020 if test "$no_cache" != 1; then
7021 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7022 fi
7023
7024 if test "$wxUSE_STOPWATCH" = yes; then
7025 { echo "$as_me:$LINENO: result: yes" >&5
7026 echo "${ECHO_T}yes" >&6; }
7027 else
7028 { echo "$as_me:$LINENO: result: no" >&5
7029 echo "${ECHO_T}no" >&6; }
7030 fi
7031
7032
7033 enablestring=
7034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7036 no_cache=0
7037 # Check whether --enable-streams was given.
7038 if test "${enable_streams+set}" = set; then
7039 enableval=$enable_streams;
7040 if test "$enableval" = yes; then
7041 ac_cv_use_streams='wxUSE_STREAMS=yes'
7042 else
7043 ac_cv_use_streams='wxUSE_STREAMS=no'
7044 fi
7045
7046 else
7047
7048 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
7049 if test "x$LINE" != x ; then
7050 eval "DEFAULT_$LINE"
7051 else
7052 no_cache=1
7053 fi
7054
7055 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7056
7057 fi
7058
7059
7060 eval "$ac_cv_use_streams"
7061 if test "$no_cache" != 1; then
7062 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7063 fi
7064
7065 if test "$wxUSE_STREAMS" = yes; then
7066 { echo "$as_me:$LINENO: result: yes" >&5
7067 echo "${ECHO_T}yes" >&6; }
7068 else
7069 { echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6; }
7071 fi
7072
7073
7074 enablestring=
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7077 no_cache=0
7078 # Check whether --enable-system_options was given.
7079 if test "${enable_system_options+set}" = set; then
7080 enableval=$enable_system_options;
7081 if test "$enableval" = yes; then
7082 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7083 else
7084 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7085 fi
7086
7087 else
7088
7089 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7092 else
7093 no_cache=1
7094 fi
7095
7096 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7097
7098 fi
7099
7100
7101 eval "$ac_cv_use_system_options"
7102 if test "$no_cache" != 1; then
7103 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7104 fi
7105
7106 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7107 { echo "$as_me:$LINENO: result: yes" >&5
7108 echo "${ECHO_T}yes" >&6; }
7109 else
7110 { echo "$as_me:$LINENO: result: no" >&5
7111 echo "${ECHO_T}no" >&6; }
7112 fi
7113
7114
7115 enablestring=
7116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7118 no_cache=0
7119 # Check whether --enable-tarstream was given.
7120 if test "${enable_tarstream+set}" = set; then
7121 enableval=$enable_tarstream;
7122 if test "$enableval" = yes; then
7123 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7124 else
7125 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7126 fi
7127
7128 else
7129
7130 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x ; then
7132 eval "DEFAULT_$LINE"
7133 else
7134 no_cache=1
7135 fi
7136
7137 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7138
7139 fi
7140
7141
7142 eval "$ac_cv_use_tarstream"
7143 if test "$no_cache" != 1; then
7144 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7145 fi
7146
7147 if test "$wxUSE_TARSTREAM" = yes; then
7148 { echo "$as_me:$LINENO: result: yes" >&5
7149 echo "${ECHO_T}yes" >&6; }
7150 else
7151 { echo "$as_me:$LINENO: result: no" >&5
7152 echo "${ECHO_T}no" >&6; }
7153 fi
7154
7155
7156 enablestring=
7157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7159 no_cache=0
7160 # Check whether --enable-textbuf was given.
7161 if test "${enable_textbuf+set}" = set; then
7162 enableval=$enable_textbuf;
7163 if test "$enableval" = yes; then
7164 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7165 else
7166 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7167 fi
7168
7169 else
7170
7171 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x ; then
7173 eval "DEFAULT_$LINE"
7174 else
7175 no_cache=1
7176 fi
7177
7178 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7179
7180 fi
7181
7182
7183 eval "$ac_cv_use_textbuf"
7184 if test "$no_cache" != 1; then
7185 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7186 fi
7187
7188 if test "$wxUSE_TEXTBUFFER" = yes; then
7189 { echo "$as_me:$LINENO: result: yes" >&5
7190 echo "${ECHO_T}yes" >&6; }
7191 else
7192 { echo "$as_me:$LINENO: result: no" >&5
7193 echo "${ECHO_T}no" >&6; }
7194 fi
7195
7196
7197 enablestring=
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7200 no_cache=0
7201 # Check whether --enable-textfile was given.
7202 if test "${enable_textfile+set}" = set; then
7203 enableval=$enable_textfile;
7204 if test "$enableval" = yes; then
7205 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7206 else
7207 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7208 fi
7209
7210 else
7211
7212 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7215 else
7216 no_cache=1
7217 fi
7218
7219 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7220
7221 fi
7222
7223
7224 eval "$ac_cv_use_textfile"
7225 if test "$no_cache" != 1; then
7226 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7227 fi
7228
7229 if test "$wxUSE_TEXTFILE" = yes; then
7230 { echo "$as_me:$LINENO: result: yes" >&5
7231 echo "${ECHO_T}yes" >&6; }
7232 else
7233 { echo "$as_me:$LINENO: result: no" >&5
7234 echo "${ECHO_T}no" >&6; }
7235 fi
7236
7237
7238 enablestring=
7239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7241 no_cache=0
7242 # Check whether --enable-timer was given.
7243 if test "${enable_timer+set}" = set; then
7244 enableval=$enable_timer;
7245 if test "$enableval" = yes; then
7246 ac_cv_use_timer='wxUSE_TIMER=yes'
7247 else
7248 ac_cv_use_timer='wxUSE_TIMER=no'
7249 fi
7250
7251 else
7252
7253 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x ; then
7255 eval "DEFAULT_$LINE"
7256 else
7257 no_cache=1
7258 fi
7259
7260 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7261
7262 fi
7263
7264
7265 eval "$ac_cv_use_timer"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7268 fi
7269
7270 if test "$wxUSE_TIMER" = yes; then
7271 { echo "$as_me:$LINENO: result: yes" >&5
7272 echo "${ECHO_T}yes" >&6; }
7273 else
7274 { echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6; }
7276 fi
7277
7278
7279 enablestring=
7280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7282 no_cache=0
7283 # Check whether --enable-unicode was given.
7284 if test "${enable_unicode+set}" = set; then
7285 enableval=$enable_unicode;
7286 if test "$enableval" = yes; then
7287 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7288 else
7289 ac_cv_use_unicode='wxUSE_UNICODE=no'
7290 fi
7291
7292 else
7293
7294 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7297 else
7298 no_cache=1
7299 fi
7300
7301 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7302
7303 fi
7304
7305
7306 eval "$ac_cv_use_unicode"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7309 fi
7310
7311 if test "$wxUSE_UNICODE" = yes; then
7312 { echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6; }
7314 else
7315 { echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6; }
7317 fi
7318
7319
7320 enablestring=
7321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7323 no_cache=0
7324 # Check whether --enable-sound was given.
7325 if test "${enable_sound+set}" = set; then
7326 enableval=$enable_sound;
7327 if test "$enableval" = yes; then
7328 ac_cv_use_sound='wxUSE_SOUND=yes'
7329 else
7330 ac_cv_use_sound='wxUSE_SOUND=no'
7331 fi
7332
7333 else
7334
7335 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7338 else
7339 no_cache=1
7340 fi
7341
7342 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7343
7344 fi
7345
7346
7347 eval "$ac_cv_use_sound"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7350 fi
7351
7352 if test "$wxUSE_SOUND" = yes; then
7353 { echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6; }
7355 else
7356 { echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6; }
7358 fi
7359
7360
7361 enablestring=
7362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7364 no_cache=0
7365 # Check whether --enable-mediactrl was given.
7366 if test "${enable_mediactrl+set}" = set; then
7367 enableval=$enable_mediactrl;
7368 if test "$enableval" = yes; then
7369 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7370 else
7371 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7372 fi
7373
7374 else
7375
7376 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7379 else
7380 no_cache=1
7381 fi
7382
7383 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7384
7385 fi
7386
7387
7388 eval "$ac_cv_use_mediactrl"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7391 fi
7392
7393 if test "$wxUSE_MEDIACTRL" = yes; then
7394 { echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6; }
7396 else
7397 { echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6; }
7399 fi
7400
7401
7402 enablestring=
7403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7405 no_cache=0
7406 # Check whether --enable-gstreamer8 was given.
7407 if test "${enable_gstreamer8+set}" = set; then
7408 enableval=$enable_gstreamer8;
7409 if test "$enableval" = yes; then
7410 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7411 else
7412 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7413 fi
7414
7415 else
7416
7417 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7420 else
7421 no_cache=1
7422 fi
7423
7424 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7425
7426 fi
7427
7428
7429 eval "$ac_cv_use_gstreamer8"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7432 fi
7433
7434 if test "$wxUSE_GSTREAMER8" = yes; then
7435 { echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6; }
7437 else
7438 { echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6; }
7440 fi
7441
7442
7443 enablestring=
7444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7446 no_cache=0
7447 # Check whether --enable-printfposparam was given.
7448 if test "${enable_printfposparam+set}" = set; then
7449 enableval=$enable_printfposparam;
7450 if test "$enableval" = yes; then
7451 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7452 else
7453 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7461 else
7462 no_cache=1
7463 fi
7464
7465 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7466
7467 fi
7468
7469
7470 eval "$ac_cv_use_printfposparam"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7473 fi
7474
7475 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7476 { echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6; }
7478 else
7479 { echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6; }
7481 fi
7482
7483
7484 enablestring=
7485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7487 no_cache=0
7488 # Check whether --enable-zipstream was given.
7489 if test "${enable_zipstream+set}" = set; then
7490 enableval=$enable_zipstream;
7491 if test "$enableval" = yes; then
7492 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7493 else
7494 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7502 else
7503 no_cache=1
7504 fi
7505
7506 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7507
7508 fi
7509
7510
7511 eval "$ac_cv_use_zipstream"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7514 fi
7515
7516 if test "$wxUSE_ZIPSTREAM" = yes; then
7517 { echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6; }
7519 else
7520 { echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6; }
7522 fi
7523
7524
7525
7526 enablestring=
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7529 no_cache=0
7530 # Check whether --enable-url was given.
7531 if test "${enable_url+set}" = set; then
7532 enableval=$enable_url;
7533 if test "$enableval" = yes; then
7534 ac_cv_use_url='wxUSE_URL=yes'
7535 else
7536 ac_cv_use_url='wxUSE_URL=no'
7537 fi
7538
7539 else
7540
7541 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x ; then
7543 eval "DEFAULT_$LINE"
7544 else
7545 no_cache=1
7546 fi
7547
7548 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7549
7550 fi
7551
7552
7553 eval "$ac_cv_use_url"
7554 if test "$no_cache" != 1; then
7555 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7556 fi
7557
7558 if test "$wxUSE_URL" = yes; then
7559 { echo "$as_me:$LINENO: result: yes" >&5
7560 echo "${ECHO_T}yes" >&6; }
7561 else
7562 { echo "$as_me:$LINENO: result: no" >&5
7563 echo "${ECHO_T}no" >&6; }
7564 fi
7565
7566
7567 enablestring=
7568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7569 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7570 no_cache=0
7571 # Check whether --enable-variant was given.
7572 if test "${enable_variant+set}" = set; then
7573 enableval=$enable_variant;
7574 if test "$enableval" = yes; then
7575 ac_cv_use_variant='wxUSE_VARIANT=yes'
7576 else
7577 ac_cv_use_variant='wxUSE_VARIANT=no'
7578 fi
7579
7580 else
7581
7582 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x ; then
7584 eval "DEFAULT_$LINE"
7585 else
7586 no_cache=1
7587 fi
7588
7589 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7590
7591 fi
7592
7593
7594 eval "$ac_cv_use_variant"
7595 if test "$no_cache" != 1; then
7596 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7597 fi
7598
7599 if test "$wxUSE_VARIANT" = yes; then
7600 { echo "$as_me:$LINENO: result: yes" >&5
7601 echo "${ECHO_T}yes" >&6; }
7602 else
7603 { echo "$as_me:$LINENO: result: no" >&5
7604 echo "${ECHO_T}no" >&6; }
7605 fi
7606
7607
7608 enablestring=
7609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7610 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7611 no_cache=0
7612 # Check whether --enable-protocol was given.
7613 if test "${enable_protocol+set}" = set; then
7614 enableval=$enable_protocol;
7615 if test "$enableval" = yes; then
7616 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7617 else
7618 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7619 fi
7620
7621 else
7622
7623 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x ; then
7625 eval "DEFAULT_$LINE"
7626 else
7627 no_cache=1
7628 fi
7629
7630 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7631
7632 fi
7633
7634
7635 eval "$ac_cv_use_protocol"
7636 if test "$no_cache" != 1; then
7637 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7638 fi
7639
7640 if test "$wxUSE_PROTOCOL" = yes; then
7641 { echo "$as_me:$LINENO: result: yes" >&5
7642 echo "${ECHO_T}yes" >&6; }
7643 else
7644 { echo "$as_me:$LINENO: result: no" >&5
7645 echo "${ECHO_T}no" >&6; }
7646 fi
7647
7648
7649 enablestring=
7650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7651 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7652 no_cache=0
7653 # Check whether --enable-protocol_http was given.
7654 if test "${enable_protocol_http+set}" = set; then
7655 enableval=$enable_protocol_http;
7656 if test "$enableval" = yes; then
7657 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7658 else
7659 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7660 fi
7661
7662 else
7663
7664 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x ; then
7666 eval "DEFAULT_$LINE"
7667 else
7668 no_cache=1
7669 fi
7670
7671 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7672
7673 fi
7674
7675
7676 eval "$ac_cv_use_protocol_http"
7677 if test "$no_cache" != 1; then
7678 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7679 fi
7680
7681 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7682 { echo "$as_me:$LINENO: result: yes" >&5
7683 echo "${ECHO_T}yes" >&6; }
7684 else
7685 { echo "$as_me:$LINENO: result: no" >&5
7686 echo "${ECHO_T}no" >&6; }
7687 fi
7688
7689
7690 enablestring=
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7693 no_cache=0
7694 # Check whether --enable-protocol_ftp was given.
7695 if test "${enable_protocol_ftp+set}" = set; then
7696 enableval=$enable_protocol_ftp;
7697 if test "$enableval" = yes; then
7698 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7699 else
7700 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7701 fi
7702
7703 else
7704
7705 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7708 else
7709 no_cache=1
7710 fi
7711
7712 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7713
7714 fi
7715
7716
7717 eval "$ac_cv_use_protocol_ftp"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7720 fi
7721
7722 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7723 { echo "$as_me:$LINENO: result: yes" >&5
7724 echo "${ECHO_T}yes" >&6; }
7725 else
7726 { echo "$as_me:$LINENO: result: no" >&5
7727 echo "${ECHO_T}no" >&6; }
7728 fi
7729
7730
7731 enablestring=
7732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7733 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7734 no_cache=0
7735 # Check whether --enable-protocol_file was given.
7736 if test "${enable_protocol_file+set}" = set; then
7737 enableval=$enable_protocol_file;
7738 if test "$enableval" = yes; then
7739 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7740 else
7741 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7742 fi
7743
7744 else
7745
7746 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7749 else
7750 no_cache=1
7751 fi
7752
7753 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7754
7755 fi
7756
7757
7758 eval "$ac_cv_use_protocol_file"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7761 fi
7762
7763 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7764 { echo "$as_me:$LINENO: result: yes" >&5
7765 echo "${ECHO_T}yes" >&6; }
7766 else
7767 { echo "$as_me:$LINENO: result: no" >&5
7768 echo "${ECHO_T}no" >&6; }
7769 fi
7770
7771
7772
7773
7774
7775 enablestring=
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7778 no_cache=0
7779 # Check whether --enable-threads was given.
7780 if test "${enable_threads+set}" = set; then
7781 enableval=$enable_threads;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_threads='wxUSE_THREADS=yes'
7784 else
7785 ac_cv_use_threads='wxUSE_THREADS=no'
7786 fi
7787
7788 else
7789
7790 LINE=`grep "wxUSE_THREADS" ${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_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7798
7799 fi
7800
7801
7802 eval "$ac_cv_use_threads"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7805 fi
7806
7807 if test "$wxUSE_THREADS" = 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 if test "$wxUSE_GUI" = "yes"; then
7817
7818
7819
7820 enablestring=
7821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7823 no_cache=0
7824 # Check whether --enable-docview was given.
7825 if test "${enable_docview+set}" = set; then
7826 enableval=$enable_docview;
7827 if test "$enableval" = yes; then
7828 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7829 else
7830 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7831 fi
7832
7833 else
7834
7835 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x ; then
7837 eval "DEFAULT_$LINE"
7838 else
7839 no_cache=1
7840 fi
7841
7842 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7843
7844 fi
7845
7846
7847 eval "$ac_cv_use_docview"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7850 fi
7851
7852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7853 { echo "$as_me:$LINENO: result: yes" >&5
7854 echo "${ECHO_T}yes" >&6; }
7855 else
7856 { echo "$as_me:$LINENO: result: no" >&5
7857 echo "${ECHO_T}no" >&6; }
7858 fi
7859
7860
7861 enablestring=
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7864 no_cache=0
7865 # Check whether --enable-help was given.
7866 if test "${enable_help+set}" = set; then
7867 enableval=$enable_help;
7868 if test "$enableval" = yes; then
7869 ac_cv_use_help='wxUSE_HELP=yes'
7870 else
7871 ac_cv_use_help='wxUSE_HELP=no'
7872 fi
7873
7874 else
7875
7876 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7879 else
7880 no_cache=1
7881 fi
7882
7883 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7884
7885 fi
7886
7887
7888 eval "$ac_cv_use_help"
7889 if test "$no_cache" != 1; then
7890 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7891 fi
7892
7893 if test "$wxUSE_HELP" = yes; then
7894 { echo "$as_me:$LINENO: result: yes" >&5
7895 echo "${ECHO_T}yes" >&6; }
7896 else
7897 { echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6; }
7899 fi
7900
7901
7902 enablestring=
7903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7905 no_cache=0
7906 # Check whether --enable-mshtmlhelp was given.
7907 if test "${enable_mshtmlhelp+set}" = set; then
7908 enableval=$enable_mshtmlhelp;
7909 if test "$enableval" = yes; then
7910 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7911 else
7912 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7913 fi
7914
7915 else
7916
7917 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7918 if test "x$LINE" != x ; then
7919 eval "DEFAULT_$LINE"
7920 else
7921 no_cache=1
7922 fi
7923
7924 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7925
7926 fi
7927
7928
7929 eval "$ac_cv_use_mshtmlhelp"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7932 fi
7933
7934 if test "$wxUSE_MS_HTML_HELP" = yes; then
7935 { echo "$as_me:$LINENO: result: yes" >&5
7936 echo "${ECHO_T}yes" >&6; }
7937 else
7938 { echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6; }
7940 fi
7941
7942
7943 enablestring=
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7946 no_cache=0
7947 # Check whether --enable-html was given.
7948 if test "${enable_html+set}" = set; then
7949 enableval=$enable_html;
7950 if test "$enableval" = yes; then
7951 ac_cv_use_html='wxUSE_HTML=yes'
7952 else
7953 ac_cv_use_html='wxUSE_HTML=no'
7954 fi
7955
7956 else
7957
7958 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7959 if test "x$LINE" != x ; then
7960 eval "DEFAULT_$LINE"
7961 else
7962 no_cache=1
7963 fi
7964
7965 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7966
7967 fi
7968
7969
7970 eval "$ac_cv_use_html"
7971 if test "$no_cache" != 1; then
7972 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7973 fi
7974
7975 if test "$wxUSE_HTML" = yes; then
7976 { echo "$as_me:$LINENO: result: yes" >&5
7977 echo "${ECHO_T}yes" >&6; }
7978 else
7979 { echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6; }
7981 fi
7982
7983
7984 enablestring=
7985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7987 no_cache=0
7988 # Check whether --enable-htmlhelp was given.
7989 if test "${enable_htmlhelp+set}" = set; then
7990 enableval=$enable_htmlhelp;
7991 if test "$enableval" = yes; then
7992 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7993 else
7994 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7995 fi
7996
7997 else
7998
7999 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8002 else
8003 no_cache=1
8004 fi
8005
8006 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8007
8008 fi
8009
8010
8011 eval "$ac_cv_use_htmlhelp"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8014 fi
8015
8016 if test "$wxUSE_WXHTML_HELP" = yes; then
8017 { echo "$as_me:$LINENO: result: yes" >&5
8018 echo "${ECHO_T}yes" >&6; }
8019 else
8020 { echo "$as_me:$LINENO: result: no" >&5
8021 echo "${ECHO_T}no" >&6; }
8022 fi
8023
8024
8025 enablestring=
8026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8028 no_cache=0
8029 # Check whether --enable-xrc was given.
8030 if test "${enable_xrc+set}" = set; then
8031 enableval=$enable_xrc;
8032 if test "$enableval" = yes; then
8033 ac_cv_use_xrc='wxUSE_XRC=yes'
8034 else
8035 ac_cv_use_xrc='wxUSE_XRC=no'
8036 fi
8037
8038 else
8039
8040 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
8041 if test "x$LINE" != x ; then
8042 eval "DEFAULT_$LINE"
8043 else
8044 no_cache=1
8045 fi
8046
8047 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8048
8049 fi
8050
8051
8052 eval "$ac_cv_use_xrc"
8053 if test "$no_cache" != 1; then
8054 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8055 fi
8056
8057 if test "$wxUSE_XRC" = yes; then
8058 { echo "$as_me:$LINENO: result: yes" >&5
8059 echo "${ECHO_T}yes" >&6; }
8060 else
8061 { echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6; }
8063 fi
8064
8065
8066 enablestring=
8067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8069 no_cache=0
8070 # Check whether --enable-aui was given.
8071 if test "${enable_aui+set}" = set; then
8072 enableval=$enable_aui;
8073 if test "$enableval" = yes; then
8074 ac_cv_use_aui='wxUSE_AUI=yes'
8075 else
8076 ac_cv_use_aui='wxUSE_AUI=no'
8077 fi
8078
8079 else
8080
8081 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
8082 if test "x$LINE" != x ; then
8083 eval "DEFAULT_$LINE"
8084 else
8085 no_cache=1
8086 fi
8087
8088 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8089
8090 fi
8091
8092
8093 eval "$ac_cv_use_aui"
8094 if test "$no_cache" != 1; then
8095 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8096 fi
8097
8098 if test "$wxUSE_AUI" = yes; then
8099 { echo "$as_me:$LINENO: result: yes" >&5
8100 echo "${ECHO_T}yes" >&6; }
8101 else
8102 { echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6; }
8104 fi
8105
8106
8107 enablestring=
8108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8110 no_cache=0
8111 # Check whether --enable-stc was given.
8112 if test "${enable_stc+set}" = set; then
8113 enableval=$enable_stc;
8114 if test "$enableval" = yes; then
8115 ac_cv_use_stc='wxUSE_STC=yes'
8116 else
8117 ac_cv_use_stc='wxUSE_STC=no'
8118 fi
8119
8120 else
8121
8122 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
8123 if test "x$LINE" != x ; then
8124 eval "DEFAULT_$LINE"
8125 else
8126 no_cache=1
8127 fi
8128
8129 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8130
8131 fi
8132
8133
8134 eval "$ac_cv_use_stc"
8135 if test "$no_cache" != 1; then
8136 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8137 fi
8138
8139 if test "$wxUSE_STC" = yes; then
8140 { echo "$as_me:$LINENO: result: yes" >&5
8141 echo "${ECHO_T}yes" >&6; }
8142 else
8143 { echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6; }
8145 fi
8146
8147
8148 enablestring=
8149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8151 no_cache=0
8152 # Check whether --enable-constraints was given.
8153 if test "${enable_constraints+set}" = set; then
8154 enableval=$enable_constraints;
8155 if test "$enableval" = yes; then
8156 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8157 else
8158 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8159 fi
8160
8161 else
8162
8163 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8164 if test "x$LINE" != x ; then
8165 eval "DEFAULT_$LINE"
8166 else
8167 no_cache=1
8168 fi
8169
8170 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8171
8172 fi
8173
8174
8175 eval "$ac_cv_use_constraints"
8176 if test "$no_cache" != 1; then
8177 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8178 fi
8179
8180 if test "$wxUSE_CONSTRAINTS" = yes; then
8181 { echo "$as_me:$LINENO: result: yes" >&5
8182 echo "${ECHO_T}yes" >&6; }
8183 else
8184 { echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6; }
8186 fi
8187
8188
8189 enablestring=
8190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8192 no_cache=0
8193 # Check whether --enable-printarch was given.
8194 if test "${enable_printarch+set}" = set; then
8195 enableval=$enable_printarch;
8196 if test "$enableval" = yes; then
8197 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8198 else
8199 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8200 fi
8201
8202 else
8203
8204 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8205 if test "x$LINE" != x ; then
8206 eval "DEFAULT_$LINE"
8207 else
8208 no_cache=1
8209 fi
8210
8211 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8212
8213 fi
8214
8215
8216 eval "$ac_cv_use_printarch"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8219 fi
8220
8221 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8222 { echo "$as_me:$LINENO: result: yes" >&5
8223 echo "${ECHO_T}yes" >&6; }
8224 else
8225 { echo "$as_me:$LINENO: result: no" >&5
8226 echo "${ECHO_T}no" >&6; }
8227 fi
8228
8229
8230 enablestring=
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8233 no_cache=0
8234 # Check whether --enable-mdi was given.
8235 if test "${enable_mdi+set}" = set; then
8236 enableval=$enable_mdi;
8237 if test "$enableval" = yes; then
8238 ac_cv_use_mdi='wxUSE_MDI=yes'
8239 else
8240 ac_cv_use_mdi='wxUSE_MDI=no'
8241 fi
8242
8243 else
8244
8245 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8246 if test "x$LINE" != x ; then
8247 eval "DEFAULT_$LINE"
8248 else
8249 no_cache=1
8250 fi
8251
8252 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8253
8254 fi
8255
8256
8257 eval "$ac_cv_use_mdi"
8258 if test "$no_cache" != 1; then
8259 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8260 fi
8261
8262 if test "$wxUSE_MDI" = yes; then
8263 { echo "$as_me:$LINENO: result: yes" >&5
8264 echo "${ECHO_T}yes" >&6; }
8265 else
8266 { echo "$as_me:$LINENO: result: no" >&5
8267 echo "${ECHO_T}no" >&6; }
8268 fi
8269
8270
8271 enablestring=
8272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8273 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8274 no_cache=0
8275 # Check whether --enable-mdidoc was given.
8276 if test "${enable_mdidoc+set}" = set; then
8277 enableval=$enable_mdidoc;
8278 if test "$enableval" = yes; then
8279 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8280 else
8281 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8282 fi
8283
8284 else
8285
8286 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8287 if test "x$LINE" != x ; then
8288 eval "DEFAULT_$LINE"
8289 else
8290 no_cache=1
8291 fi
8292
8293 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8294
8295 fi
8296
8297
8298 eval "$ac_cv_use_mdidoc"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8301 fi
8302
8303 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8304 { echo "$as_me:$LINENO: result: yes" >&5
8305 echo "${ECHO_T}yes" >&6; }
8306 else
8307 { echo "$as_me:$LINENO: result: no" >&5
8308 echo "${ECHO_T}no" >&6; }
8309 fi
8310
8311
8312 enablestring=
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8315 no_cache=0
8316 # Check whether --enable-loggui was given.
8317 if test "${enable_loggui+set}" = set; then
8318 enableval=$enable_loggui;
8319 if test "$enableval" = yes; then
8320 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8321 else
8322 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8323 fi
8324
8325 else
8326
8327 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8328 if test "x$LINE" != x ; then
8329 eval "DEFAULT_$LINE"
8330 else
8331 no_cache=1
8332 fi
8333
8334 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8335
8336 fi
8337
8338
8339 eval "$ac_cv_use_loggui"
8340 if test "$no_cache" != 1; then
8341 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8342 fi
8343
8344 if test "$wxUSE_LOGGUI" = yes; then
8345 { echo "$as_me:$LINENO: result: yes" >&5
8346 echo "${ECHO_T}yes" >&6; }
8347 else
8348 { echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6; }
8350 fi
8351
8352
8353 enablestring=
8354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8356 no_cache=0
8357 # Check whether --enable-logwin was given.
8358 if test "${enable_logwin+set}" = set; then
8359 enableval=$enable_logwin;
8360 if test "$enableval" = yes; then
8361 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8362 else
8363 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8364 fi
8365
8366 else
8367
8368 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8369 if test "x$LINE" != x ; then
8370 eval "DEFAULT_$LINE"
8371 else
8372 no_cache=1
8373 fi
8374
8375 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8376
8377 fi
8378
8379
8380 eval "$ac_cv_use_logwin"
8381 if test "$no_cache" != 1; then
8382 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8383 fi
8384
8385 if test "$wxUSE_LOGWINDOW" = yes; then
8386 { echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6; }
8388 else
8389 { echo "$as_me:$LINENO: result: no" >&5
8390 echo "${ECHO_T}no" >&6; }
8391 fi
8392
8393
8394 enablestring=
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8397 no_cache=0
8398 # Check whether --enable-logdialog was given.
8399 if test "${enable_logdialog+set}" = set; then
8400 enableval=$enable_logdialog;
8401 if test "$enableval" = yes; then
8402 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8403 else
8404 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8405 fi
8406
8407 else
8408
8409 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8410 if test "x$LINE" != x ; then
8411 eval "DEFAULT_$LINE"
8412 else
8413 no_cache=1
8414 fi
8415
8416 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8417
8418 fi
8419
8420
8421 eval "$ac_cv_use_logdialog"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8424 fi
8425
8426 if test "$wxUSE_LOGDIALOG" = yes; then
8427 { echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6; }
8429 else
8430 { echo "$as_me:$LINENO: result: no" >&5
8431 echo "${ECHO_T}no" >&6; }
8432 fi
8433
8434
8435 enablestring=
8436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8438 no_cache=0
8439 # Check whether --enable-webkit was given.
8440 if test "${enable_webkit+set}" = set; then
8441 enableval=$enable_webkit;
8442 if test "$enableval" = yes; then
8443 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8444 else
8445 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8446 fi
8447
8448 else
8449
8450 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8451 if test "x$LINE" != x ; then
8452 eval "DEFAULT_$LINE"
8453 else
8454 no_cache=1
8455 fi
8456
8457 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8458
8459 fi
8460
8461
8462 eval "$ac_cv_use_webkit"
8463 if test "$no_cache" != 1; then
8464 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8465 fi
8466
8467 if test "$wxUSE_WEBKIT" = yes; then
8468 { echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6; }
8470 else
8471 { echo "$as_me:$LINENO: result: no" >&5
8472 echo "${ECHO_T}no" >&6; }
8473 fi
8474
8475
8476 enablestring=
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8479 no_cache=0
8480 # Check whether --enable-richtext was given.
8481 if test "${enable_richtext+set}" = set; then
8482 enableval=$enable_richtext;
8483 if test "$enableval" = yes; then
8484 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8485 else
8486 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8487 fi
8488
8489 else
8490
8491 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8492 if test "x$LINE" != x ; then
8493 eval "DEFAULT_$LINE"
8494 else
8495 no_cache=1
8496 fi
8497
8498 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8499
8500 fi
8501
8502
8503 eval "$ac_cv_use_richtext"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8506 fi
8507
8508 if test "$wxUSE_RICHTEXT" = yes; then
8509 { echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6; }
8511 else
8512 { echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6; }
8514 fi
8515
8516
8517 enablestring=
8518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8520 no_cache=0
8521 # Check whether --enable-graphics_ctx was given.
8522 if test "${enable_graphics_ctx+set}" = set; then
8523 enableval=$enable_graphics_ctx;
8524 if test "$enableval" = yes; then
8525 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8526 else
8527 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8528 fi
8529
8530 else
8531
8532 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8533 if test "x$LINE" != x ; then
8534 eval "DEFAULT_$LINE"
8535 else
8536 no_cache=1
8537 fi
8538
8539 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8540
8541 fi
8542
8543
8544 eval "$ac_cv_use_graphics_ctx"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8547 fi
8548
8549 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8550 { echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6; }
8552 else
8553 { echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6; }
8555 fi
8556
8557
8558
8559 enablestring=
8560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8562 no_cache=0
8563 # Check whether --enable-postscript was given.
8564 if test "${enable_postscript+set}" = set; then
8565 enableval=$enable_postscript;
8566 if test "$enableval" = yes; then
8567 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8568 else
8569 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8570 fi
8571
8572 else
8573
8574 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8575 if test "x$LINE" != x ; then
8576 eval "DEFAULT_$LINE"
8577 else
8578 no_cache=1
8579 fi
8580
8581 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8582
8583 fi
8584
8585
8586 eval "$ac_cv_use_postscript"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8589 fi
8590
8591 if test "$wxUSE_POSTSCRIPT" = yes; then
8592 { echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6; }
8594 else
8595 { echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6; }
8597 fi
8598
8599
8600
8601
8602
8603 enablestring=
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8606 no_cache=0
8607 # Check whether --enable-clipboard was given.
8608 if test "${enable_clipboard+set}" = set; then
8609 enableval=$enable_clipboard;
8610 if test "$enableval" = yes; then
8611 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8612 else
8613 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "wxUSE_CLIPBOARD" ${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_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8626
8627 fi
8628
8629
8630 eval "$ac_cv_use_clipboard"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_CLIPBOARD" = 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 enablestring=
8645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8647 no_cache=0
8648 # Check whether --enable-dnd was given.
8649 if test "${enable_dnd+set}" = set; then
8650 enableval=$enable_dnd;
8651 if test "$enableval" = yes; then
8652 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8653 else
8654 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8655 fi
8656
8657 else
8658
8659 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8662 else
8663 no_cache=1
8664 fi
8665
8666 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8667
8668 fi
8669
8670
8671 eval "$ac_cv_use_dnd"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8677 { echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6; }
8679 else
8680 { echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6; }
8682 fi
8683
8684
8685 enablestring=
8686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8688 no_cache=0
8689 # Check whether --enable-metafile was given.
8690 if test "${enable_metafile+set}" = set; then
8691 enableval=$enable_metafile;
8692 if test "$enableval" = yes; then
8693 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8694 else
8695 ac_cv_use_metafile='wxUSE_METAFILE=no'
8696 fi
8697
8698 else
8699
8700 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8703 else
8704 no_cache=1
8705 fi
8706
8707 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8708
8709 fi
8710
8711
8712 eval "$ac_cv_use_metafile"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_METAFILE" = yes; then
8718 { echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6; }
8720 else
8721 { echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6; }
8723 fi
8724
8725
8726
8727
8728
8729 enablestring=
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8732 no_cache=0
8733 # Check whether --enable-controls was given.
8734 if test "${enable_controls+set}" = set; then
8735 enableval=$enable_controls;
8736 if test "$enableval" = yes; then
8737 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8738 else
8739 ac_cv_use_controls='wxUSE_CONTROLS=no'
8740 fi
8741
8742 else
8743
8744 LINE=`grep "wxUSE_CONTROLS" ${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_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8752
8753 fi
8754
8755
8756 eval "$ac_cv_use_controls"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_CONTROLS" = 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 if test "$wxUSE_CONTROLS" = "yes"; then
8771 DEFAULT_wxUSE_ACCEL=yes
8772 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8773 DEFAULT_wxUSE_BMPBUTTON=yes
8774 DEFAULT_wxUSE_BUTTON=yes
8775 DEFAULT_wxUSE_CALCTRL=yes
8776 DEFAULT_wxUSE_CARET=yes
8777 DEFAULT_wxUSE_COMBOBOX=yes
8778 DEFAULT_wxUSE_CHECKBOX=yes
8779 DEFAULT_wxUSE_CHECKLISTBOX=yes
8780 DEFAULT_wxUSE_CHOICE=yes
8781 DEFAULT_wxUSE_CHOICEBOOK=yes
8782 DEFAULT_wxUSE_COLLPANE=yes
8783 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8784 DEFAULT_wxUSE_COMBOBOX=yes
8785 DEFAULT_wxUSE_DATEPICKCTRL=yes
8786 DEFAULT_wxUSE_DISPLAY=yes
8787 DEFAULT_wxUSE_DETECT_SM=yes
8788 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8789 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8790 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8791 DEFAULT_wxUSE_GAUGE=yes
8792 DEFAULT_wxUSE_GRID=yes
8793 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8794 DEFAULT_wxUSE_DATAVIEWCTRL=no
8795 DEFAULT_wxUSE_IMAGLIST=yes
8796 DEFAULT_wxUSE_LISTBOOK=yes
8797 DEFAULT_wxUSE_LISTBOX=yes
8798 DEFAULT_wxUSE_LISTCTRL=yes
8799 DEFAULT_wxUSE_NOTEBOOK=yes
8800 DEFAULT_wxUSE_RADIOBOX=yes
8801 DEFAULT_wxUSE_RADIOBTN=yes
8802 DEFAULT_wxUSE_SASH=yes
8803 DEFAULT_wxUSE_SCROLLBAR=yes
8804 DEFAULT_wxUSE_SEARCHCTRL=yes
8805 DEFAULT_wxUSE_SLIDER=yes
8806 DEFAULT_wxUSE_SPINBTN=yes
8807 DEFAULT_wxUSE_SPINCTRL=yes
8808 DEFAULT_wxUSE_SPLITTER=yes
8809 DEFAULT_wxUSE_STATBMP=yes
8810 DEFAULT_wxUSE_STATBOX=yes
8811 DEFAULT_wxUSE_STATLINE=yes
8812 DEFAULT_wxUSE_STATUSBAR=yes
8813 DEFAULT_wxUSE_TAB_DIALOG=yes
8814 DEFAULT_wxUSE_TOGGLEBTN=yes
8815 DEFAULT_wxUSE_TOOLBAR=yes
8816 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8817 DEFAULT_wxUSE_TOOLTIPS=yes
8818 DEFAULT_wxUSE_TREEBOOK=yes
8819 DEFAULT_wxUSE_TOOLBOOK=yes
8820 DEFAULT_wxUSE_TREECTRL=yes
8821 DEFAULT_wxUSE_POPUPWIN=yes
8822 DEFAULT_wxUSE_TIPWINDOW=yes
8823 elif test "$wxUSE_CONTROLS" = "no"; then
8824 DEFAULT_wxUSE_ACCEL=no
8825 DEFAULT_wxUSE_ANIMATIONCTRL=no
8826 DEFAULT_wxUSE_BMPBUTTON=no
8827 DEFAULT_wxUSE_BUTTON=no
8828 DEFAULT_wxUSE_CALCTRL=no
8829 DEFAULT_wxUSE_CARET=no
8830 DEFAULT_wxUSE_COLLPANE=no
8831 DEFAULT_wxUSE_COMBOBOX=no
8832 DEFAULT_wxUSE_CHECKBOX=no
8833 DEFAULT_wxUSE_CHECKLISTBOX=no
8834 DEFAULT_wxUSE_CHOICE=no
8835 DEFAULT_wxUSE_CHOICEBOOK=no
8836 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8837 DEFAULT_wxUSE_COMBOBOX=no
8838 DEFAULT_wxUSE_DATEPICKCTRL=no
8839 DEFAULT_wxUSE_DISPLAY=no
8840 DEFAULT_wxUSE_DETECT_SM=no
8841 DEFAULT_wxUSE_DIRPICKERCTRL=no
8842 DEFAULT_wxUSE_FILEPICKERCTRL=no
8843 DEFAULT_wxUSE_FONTPICKERCTRL=no
8844 DEFAULT_wxUSE_GAUGE=no
8845 DEFAULT_wxUSE_GRID=no
8846 DEFAULT_wxUSE_HYPERLINKCTRL=no
8847 DEFAULT_wxUSE_DATAVIEWCTRL=no
8848 DEFAULT_wxUSE_IMAGLIST=no
8849 DEFAULT_wxUSE_LISTBOOK=no
8850 DEFAULT_wxUSE_LISTBOX=no
8851 DEFAULT_wxUSE_LISTCTRL=no
8852 DEFAULT_wxUSE_NOTEBOOK=no
8853 DEFAULT_wxUSE_RADIOBOX=no
8854 DEFAULT_wxUSE_RADIOBTN=no
8855 DEFAULT_wxUSE_SASH=no
8856 DEFAULT_wxUSE_SCROLLBAR=no
8857 DEFAULT_wxUSE_SEARCHCTRL=no
8858 DEFAULT_wxUSE_SLIDER=no
8859 DEFAULT_wxUSE_SPINBTN=no
8860 DEFAULT_wxUSE_SPINCTRL=no
8861 DEFAULT_wxUSE_SPLITTER=no
8862 DEFAULT_wxUSE_STATBMP=no
8863 DEFAULT_wxUSE_STATBOX=no
8864 DEFAULT_wxUSE_STATLINE=no
8865 DEFAULT_wxUSE_STATUSBAR=no
8866 DEFAULT_wxUSE_TAB_DIALOG=no
8867 DEFAULT_wxUSE_TOGGLEBTN=no
8868 DEFAULT_wxUSE_TOOLBAR=no
8869 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8870 DEFAULT_wxUSE_TOOLTIPS=no
8871 DEFAULT_wxUSE_TREEBOOK=no
8872 DEFAULT_wxUSE_TOOLBOOK=no
8873 DEFAULT_wxUSE_TREECTRL=no
8874 DEFAULT_wxUSE_POPUPWIN=no
8875 DEFAULT_wxUSE_TIPWINDOW=no
8876 fi
8877
8878
8879 enablestring=
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8882 no_cache=0
8883 # Check whether --enable-accel was given.
8884 if test "${enable_accel+set}" = set; then
8885 enableval=$enable_accel;
8886 if test "$enableval" = yes; then
8887 ac_cv_use_accel='wxUSE_ACCEL=yes'
8888 else
8889 ac_cv_use_accel='wxUSE_ACCEL=no'
8890 fi
8891
8892 else
8893
8894 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x ; then
8896 eval "DEFAULT_$LINE"
8897 else
8898 no_cache=1
8899 fi
8900
8901 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8902
8903 fi
8904
8905
8906 eval "$ac_cv_use_accel"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8909 fi
8910
8911 if test "$wxUSE_ACCEL" = yes; then
8912 { echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6; }
8914 else
8915 { echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6; }
8917 fi
8918
8919
8920 enablestring=
8921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8923 no_cache=0
8924 # Check whether --enable-animatectrl was given.
8925 if test "${enable_animatectrl+set}" = set; then
8926 enableval=$enable_animatectrl;
8927 if test "$enableval" = yes; then
8928 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8929 else
8930 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8931 fi
8932
8933 else
8934
8935 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x ; then
8937 eval "DEFAULT_$LINE"
8938 else
8939 no_cache=1
8940 fi
8941
8942 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8943
8944 fi
8945
8946
8947 eval "$ac_cv_use_animatectrl"
8948 if test "$no_cache" != 1; then
8949 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8950 fi
8951
8952 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8953 { echo "$as_me:$LINENO: result: yes" >&5
8954 echo "${ECHO_T}yes" >&6; }
8955 else
8956 { echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6; }
8958 fi
8959
8960
8961 enablestring=
8962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8964 no_cache=0
8965 # Check whether --enable-button was given.
8966 if test "${enable_button+set}" = set; then
8967 enableval=$enable_button;
8968 if test "$enableval" = yes; then
8969 ac_cv_use_button='wxUSE_BUTTON=yes'
8970 else
8971 ac_cv_use_button='wxUSE_BUTTON=no'
8972 fi
8973
8974 else
8975
8976 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x ; then
8978 eval "DEFAULT_$LINE"
8979 else
8980 no_cache=1
8981 fi
8982
8983 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8984
8985 fi
8986
8987
8988 eval "$ac_cv_use_button"
8989 if test "$no_cache" != 1; then
8990 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8991 fi
8992
8993 if test "$wxUSE_BUTTON" = yes; then
8994 { echo "$as_me:$LINENO: result: yes" >&5
8995 echo "${ECHO_T}yes" >&6; }
8996 else
8997 { echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6; }
8999 fi
9000
9001
9002 enablestring=
9003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9005 no_cache=0
9006 # Check whether --enable-bmpbutton was given.
9007 if test "${enable_bmpbutton+set}" = set; then
9008 enableval=$enable_bmpbutton;
9009 if test "$enableval" = yes; then
9010 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9011 else
9012 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9013 fi
9014
9015 else
9016
9017 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
9018 if test "x$LINE" != x ; then
9019 eval "DEFAULT_$LINE"
9020 else
9021 no_cache=1
9022 fi
9023
9024 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9025
9026 fi
9027
9028
9029 eval "$ac_cv_use_bmpbutton"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9032 fi
9033
9034 if test "$wxUSE_BMPBUTTON" = yes; then
9035 { echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6; }
9037 else
9038 { echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6; }
9040 fi
9041
9042
9043 enablestring=
9044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9046 no_cache=0
9047 # Check whether --enable-bmpcombobox was given.
9048 if test "${enable_bmpcombobox+set}" = set; then
9049 enableval=$enable_bmpcombobox;
9050 if test "$enableval" = yes; then
9051 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9052 else
9053 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9054 fi
9055
9056 else
9057
9058 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
9059 if test "x$LINE" != x ; then
9060 eval "DEFAULT_$LINE"
9061 else
9062 no_cache=1
9063 fi
9064
9065 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9066
9067 fi
9068
9069
9070 eval "$ac_cv_use_bmpcombobox"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9073 fi
9074
9075 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9076 { echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6; }
9078 else
9079 { echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6; }
9081 fi
9082
9083
9084 enablestring=
9085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9087 no_cache=0
9088 # Check whether --enable-calendar was given.
9089 if test "${enable_calendar+set}" = set; then
9090 enableval=$enable_calendar;
9091 if test "$enableval" = yes; then
9092 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9093 else
9094 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9095 fi
9096
9097 else
9098
9099 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9100 if test "x$LINE" != x ; then
9101 eval "DEFAULT_$LINE"
9102 else
9103 no_cache=1
9104 fi
9105
9106 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9107
9108 fi
9109
9110
9111 eval "$ac_cv_use_calendar"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test "$wxUSE_CALCTRL" = yes; then
9117 { echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6; }
9119 else
9120 { echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6; }
9122 fi
9123
9124
9125 enablestring=
9126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9128 no_cache=0
9129 # Check whether --enable-caret was given.
9130 if test "${enable_caret+set}" = set; then
9131 enableval=$enable_caret;
9132 if test "$enableval" = yes; then
9133 ac_cv_use_caret='wxUSE_CARET=yes'
9134 else
9135 ac_cv_use_caret='wxUSE_CARET=no'
9136 fi
9137
9138 else
9139
9140 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9141 if test "x$LINE" != x ; then
9142 eval "DEFAULT_$LINE"
9143 else
9144 no_cache=1
9145 fi
9146
9147 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9148
9149 fi
9150
9151
9152 eval "$ac_cv_use_caret"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9155 fi
9156
9157 if test "$wxUSE_CARET" = yes; then
9158 { echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6; }
9160 else
9161 { echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6; }
9163 fi
9164
9165
9166 enablestring=
9167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9169 no_cache=0
9170 # Check whether --enable-checkbox was given.
9171 if test "${enable_checkbox+set}" = set; then
9172 enableval=$enable_checkbox;
9173 if test "$enableval" = yes; then
9174 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9175 else
9176 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9177 fi
9178
9179 else
9180
9181 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9182 if test "x$LINE" != x ; then
9183 eval "DEFAULT_$LINE"
9184 else
9185 no_cache=1
9186 fi
9187
9188 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9189
9190 fi
9191
9192
9193 eval "$ac_cv_use_checkbox"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9196 fi
9197
9198 if test "$wxUSE_CHECKBOX" = yes; then
9199 { echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6; }
9201 else
9202 { echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6; }
9204 fi
9205
9206
9207 enablestring=
9208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9210 no_cache=0
9211 # Check whether --enable-checklst was given.
9212 if test "${enable_checklst+set}" = set; then
9213 enableval=$enable_checklst;
9214 if test "$enableval" = yes; then
9215 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9216 else
9217 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9218 fi
9219
9220 else
9221
9222 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9223 if test "x$LINE" != x ; then
9224 eval "DEFAULT_$LINE"
9225 else
9226 no_cache=1
9227 fi
9228
9229 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9230
9231 fi
9232
9233
9234 eval "$ac_cv_use_checklst"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test "$wxUSE_CHECKLST" = yes; then
9240 { echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6; }
9242 else
9243 { echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6; }
9245 fi
9246
9247
9248 enablestring=
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9251 no_cache=0
9252 # Check whether --enable-choice was given.
9253 if test "${enable_choice+set}" = set; then
9254 enableval=$enable_choice;
9255 if test "$enableval" = yes; then
9256 ac_cv_use_choice='wxUSE_CHOICE=yes'
9257 else
9258 ac_cv_use_choice='wxUSE_CHOICE=no'
9259 fi
9260
9261 else
9262
9263 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9264 if test "x$LINE" != x ; then
9265 eval "DEFAULT_$LINE"
9266 else
9267 no_cache=1
9268 fi
9269
9270 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9271
9272 fi
9273
9274
9275 eval "$ac_cv_use_choice"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9278 fi
9279
9280 if test "$wxUSE_CHOICE" = yes; then
9281 { echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6; }
9283 else
9284 { echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6; }
9286 fi
9287
9288
9289 enablestring=
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9292 no_cache=0
9293 # Check whether --enable-choicebook was given.
9294 if test "${enable_choicebook+set}" = set; then
9295 enableval=$enable_choicebook;
9296 if test "$enableval" = yes; then
9297 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9298 else
9299 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9300 fi
9301
9302 else
9303
9304 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9305 if test "x$LINE" != x ; then
9306 eval "DEFAULT_$LINE"
9307 else
9308 no_cache=1
9309 fi
9310
9311 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9312
9313 fi
9314
9315
9316 eval "$ac_cv_use_choicebook"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9319 fi
9320
9321 if test "$wxUSE_CHOICEBOOK" = yes; then
9322 { echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6; }
9324 else
9325 { echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6; }
9327 fi
9328
9329
9330 enablestring=
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9333 no_cache=0
9334 # Check whether --enable-collpane was given.
9335 if test "${enable_collpane+set}" = set; then
9336 enableval=$enable_collpane;
9337 if test "$enableval" = yes; then
9338 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9339 else
9340 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9341 fi
9342
9343 else
9344
9345 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9346 if test "x$LINE" != x ; then
9347 eval "DEFAULT_$LINE"
9348 else
9349 no_cache=1
9350 fi
9351
9352 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9353
9354 fi
9355
9356
9357 eval "$ac_cv_use_collpane"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9360 fi
9361
9362 if test "$wxUSE_COLLPANE" = yes; then
9363 { echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6; }
9365 else
9366 { echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6; }
9368 fi
9369
9370
9371 enablestring=
9372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9374 no_cache=0
9375 # Check whether --enable-colourpicker was given.
9376 if test "${enable_colourpicker+set}" = set; then
9377 enableval=$enable_colourpicker;
9378 if test "$enableval" = yes; then
9379 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9380 else
9381 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9382 fi
9383
9384 else
9385
9386 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9387 if test "x$LINE" != x ; then
9388 eval "DEFAULT_$LINE"
9389 else
9390 no_cache=1
9391 fi
9392
9393 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9394
9395 fi
9396
9397
9398 eval "$ac_cv_use_colourpicker"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9401 fi
9402
9403 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9404 { echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6; }
9406 else
9407 { echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6; }
9409 fi
9410
9411
9412 enablestring=
9413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9415 no_cache=0
9416 # Check whether --enable-combobox was given.
9417 if test "${enable_combobox+set}" = set; then
9418 enableval=$enable_combobox;
9419 if test "$enableval" = yes; then
9420 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9421 else
9422 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9423 fi
9424
9425 else
9426
9427 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9428 if test "x$LINE" != x ; then
9429 eval "DEFAULT_$LINE"
9430 else
9431 no_cache=1
9432 fi
9433
9434 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9435
9436 fi
9437
9438
9439 eval "$ac_cv_use_combobox"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9442 fi
9443
9444 if test "$wxUSE_COMBOBOX" = yes; then
9445 { echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6; }
9447 else
9448 { echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6; }
9450 fi
9451
9452
9453 enablestring=
9454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9456 no_cache=0
9457 # Check whether --enable-comboctrl was given.
9458 if test "${enable_comboctrl+set}" = set; then
9459 enableval=$enable_comboctrl;
9460 if test "$enableval" = yes; then
9461 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9462 else
9463 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9464 fi
9465
9466 else
9467
9468 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9469 if test "x$LINE" != x ; then
9470 eval "DEFAULT_$LINE"
9471 else
9472 no_cache=1
9473 fi
9474
9475 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9476
9477 fi
9478
9479
9480 eval "$ac_cv_use_comboctrl"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9483 fi
9484
9485 if test "$wxUSE_COMBOCTRL" = yes; then
9486 { echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6; }
9488 else
9489 { echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6; }
9491 fi
9492
9493
9494 enablestring=
9495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9497 no_cache=0
9498 # Check whether --enable-datepick was given.
9499 if test "${enable_datepick+set}" = set; then
9500 enableval=$enable_datepick;
9501 if test "$enableval" = yes; then
9502 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9503 else
9504 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9505 fi
9506
9507 else
9508
9509 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9510 if test "x$LINE" != x ; then
9511 eval "DEFAULT_$LINE"
9512 else
9513 no_cache=1
9514 fi
9515
9516 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9517
9518 fi
9519
9520
9521 eval "$ac_cv_use_datepick"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9524 fi
9525
9526 if test "$wxUSE_DATEPICKCTRL" = yes; then
9527 { echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6; }
9529 else
9530 { echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6; }
9532 fi
9533
9534
9535 enablestring=
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9538 no_cache=0
9539 # Check whether --enable-dirpicker was given.
9540 if test "${enable_dirpicker+set}" = set; then
9541 enableval=$enable_dirpicker;
9542 if test "$enableval" = yes; then
9543 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9544 else
9545 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9546 fi
9547
9548 else
9549
9550 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9551 if test "x$LINE" != x ; then
9552 eval "DEFAULT_$LINE"
9553 else
9554 no_cache=1
9555 fi
9556
9557 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9558
9559 fi
9560
9561
9562 eval "$ac_cv_use_dirpicker"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9565 fi
9566
9567 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9568 { echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6; }
9570 else
9571 { echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6; }
9573 fi
9574
9575
9576 enablestring=
9577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9579 no_cache=0
9580 # Check whether --enable-display was given.
9581 if test "${enable_display+set}" = set; then
9582 enableval=$enable_display;
9583 if test "$enableval" = yes; then
9584 ac_cv_use_display='wxUSE_DISPLAY=yes'
9585 else
9586 ac_cv_use_display='wxUSE_DISPLAY=no'
9587 fi
9588
9589 else
9590
9591 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9592 if test "x$LINE" != x ; then
9593 eval "DEFAULT_$LINE"
9594 else
9595 no_cache=1
9596 fi
9597
9598 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9599
9600 fi
9601
9602
9603 eval "$ac_cv_use_display"
9604 if test "$no_cache" != 1; then
9605 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9606 fi
9607
9608 if test "$wxUSE_DISPLAY" = yes; then
9609 { echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6; }
9611 else
9612 { echo "$as_me:$LINENO: result: no" >&5
9613 echo "${ECHO_T}no" >&6; }
9614 fi
9615
9616
9617 enablestring=
9618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9620 no_cache=0
9621 # Check whether --enable-detect_sm was given.
9622 if test "${enable_detect_sm+set}" = set; then
9623 enableval=$enable_detect_sm;
9624 if test "$enableval" = yes; then
9625 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9626 else
9627 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9628 fi
9629
9630 else
9631
9632 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9633 if test "x$LINE" != x ; then
9634 eval "DEFAULT_$LINE"
9635 else
9636 no_cache=1
9637 fi
9638
9639 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9640
9641 fi
9642
9643
9644 eval "$ac_cv_use_detect_sm"
9645 if test "$no_cache" != 1; then
9646 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9647 fi
9648
9649 if test "$wxUSE_DETECT_SM" = yes; then
9650 { echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6; }
9652 else
9653 { echo "$as_me:$LINENO: result: no" >&5
9654 echo "${ECHO_T}no" >&6; }
9655 fi
9656
9657
9658 enablestring=
9659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9661 no_cache=0
9662 # Check whether --enable-editablebox was given.
9663 if test "${enable_editablebox+set}" = set; then
9664 enableval=$enable_editablebox;
9665 if test "$enableval" = yes; then
9666 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9667 else
9668 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9669 fi
9670
9671 else
9672
9673 LINE=`grep "wxUSE_EDITABLELISTBOX" ${wx_arg_cache_file}`
9674 if test "x$LINE" != x ; then
9675 eval "DEFAULT_$LINE"
9676 else
9677 no_cache=1
9678 fi
9679
9680 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9681
9682 fi
9683
9684
9685 eval "$ac_cv_use_editablebox"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9688 fi
9689
9690 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9691 { echo "$as_me:$LINENO: result: yes" >&5
9692 echo "${ECHO_T}yes" >&6; }
9693 else
9694 { echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6; }
9696 fi
9697
9698
9699 enablestring=
9700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9702 no_cache=0
9703 # Check whether --enable-filepicker was given.
9704 if test "${enable_filepicker+set}" = set; then
9705 enableval=$enable_filepicker;
9706 if test "$enableval" = yes; then
9707 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9708 else
9709 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9710 fi
9711
9712 else
9713
9714 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9715 if test "x$LINE" != x ; then
9716 eval "DEFAULT_$LINE"
9717 else
9718 no_cache=1
9719 fi
9720
9721 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9722
9723 fi
9724
9725
9726 eval "$ac_cv_use_filepicker"
9727 if test "$no_cache" != 1; then
9728 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9729 fi
9730
9731 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9732 { echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6; }
9734 else
9735 { echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6; }
9737 fi
9738
9739
9740 enablestring=
9741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9742 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9743 no_cache=0
9744 # Check whether --enable-fontpicker was given.
9745 if test "${enable_fontpicker+set}" = set; then
9746 enableval=$enable_fontpicker;
9747 if test "$enableval" = yes; then
9748 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9749 else
9750 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9751 fi
9752
9753 else
9754
9755 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9756 if test "x$LINE" != x ; then
9757 eval "DEFAULT_$LINE"
9758 else
9759 no_cache=1
9760 fi
9761
9762 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9763
9764 fi
9765
9766
9767 eval "$ac_cv_use_fontpicker"
9768 if test "$no_cache" != 1; then
9769 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9770 fi
9771
9772 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9773 { echo "$as_me:$LINENO: result: yes" >&5
9774 echo "${ECHO_T}yes" >&6; }
9775 else
9776 { echo "$as_me:$LINENO: result: no" >&5
9777 echo "${ECHO_T}no" >&6; }
9778 fi
9779
9780
9781 enablestring=
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9784 no_cache=0
9785 # Check whether --enable-gauge was given.
9786 if test "${enable_gauge+set}" = set; then
9787 enableval=$enable_gauge;
9788 if test "$enableval" = yes; then
9789 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9790 else
9791 ac_cv_use_gauge='wxUSE_GAUGE=no'
9792 fi
9793
9794 else
9795
9796 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x ; then
9798 eval "DEFAULT_$LINE"
9799 else
9800 no_cache=1
9801 fi
9802
9803 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9804
9805 fi
9806
9807
9808 eval "$ac_cv_use_gauge"
9809 if test "$no_cache" != 1; then
9810 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9811 fi
9812
9813 if test "$wxUSE_GAUGE" = yes; then
9814 { echo "$as_me:$LINENO: result: yes" >&5
9815 echo "${ECHO_T}yes" >&6; }
9816 else
9817 { echo "$as_me:$LINENO: result: no" >&5
9818 echo "${ECHO_T}no" >&6; }
9819 fi
9820
9821
9822 enablestring=
9823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9825 no_cache=0
9826 # Check whether --enable-grid was given.
9827 if test "${enable_grid+set}" = set; then
9828 enableval=$enable_grid;
9829 if test "$enableval" = yes; then
9830 ac_cv_use_grid='wxUSE_GRID=yes'
9831 else
9832 ac_cv_use_grid='wxUSE_GRID=no'
9833 fi
9834
9835 else
9836
9837 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9838 if test "x$LINE" != x ; then
9839 eval "DEFAULT_$LINE"
9840 else
9841 no_cache=1
9842 fi
9843
9844 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9845
9846 fi
9847
9848
9849 eval "$ac_cv_use_grid"
9850 if test "$no_cache" != 1; then
9851 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9852 fi
9853
9854 if test "$wxUSE_GRID" = yes; then
9855 { echo "$as_me:$LINENO: result: yes" >&5
9856 echo "${ECHO_T}yes" >&6; }
9857 else
9858 { echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6; }
9860 fi
9861
9862
9863 enablestring=
9864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9866 no_cache=0
9867 # Check whether --enable-dataviewctrl was given.
9868 if test "${enable_dataviewctrl+set}" = set; then
9869 enableval=$enable_dataviewctrl;
9870 if test "$enableval" = yes; then
9871 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9872 else
9873 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9874 fi
9875
9876 else
9877
9878 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x ; then
9880 eval "DEFAULT_$LINE"
9881 else
9882 no_cache=1
9883 fi
9884
9885 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9886
9887 fi
9888
9889
9890 eval "$ac_cv_use_dataviewctrl"
9891 if test "$no_cache" != 1; then
9892 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9893 fi
9894
9895 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9896 { echo "$as_me:$LINENO: result: yes" >&5
9897 echo "${ECHO_T}yes" >&6; }
9898 else
9899 { echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6; }
9901 fi
9902
9903
9904 enablestring=
9905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9906 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9907 no_cache=0
9908 # Check whether --enable-hyperlink was given.
9909 if test "${enable_hyperlink+set}" = set; then
9910 enableval=$enable_hyperlink;
9911 if test "$enableval" = yes; then
9912 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9913 else
9914 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9915 fi
9916
9917 else
9918
9919 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x ; then
9921 eval "DEFAULT_$LINE"
9922 else
9923 no_cache=1
9924 fi
9925
9926 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9927
9928 fi
9929
9930
9931 eval "$ac_cv_use_hyperlink"
9932 if test "$no_cache" != 1; then
9933 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9934 fi
9935
9936 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9937 { echo "$as_me:$LINENO: result: yes" >&5
9938 echo "${ECHO_T}yes" >&6; }
9939 else
9940 { echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6; }
9942 fi
9943
9944
9945 enablestring=
9946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9947 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9948 no_cache=0
9949 # Check whether --enable-imaglist was given.
9950 if test "${enable_imaglist+set}" = set; then
9951 enableval=$enable_imaglist;
9952 if test "$enableval" = yes; then
9953 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9954 else
9955 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9956 fi
9957
9958 else
9959
9960 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x ; then
9962 eval "DEFAULT_$LINE"
9963 else
9964 no_cache=1
9965 fi
9966
9967 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9968
9969 fi
9970
9971
9972 eval "$ac_cv_use_imaglist"
9973 if test "$no_cache" != 1; then
9974 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9975 fi
9976
9977 if test "$wxUSE_IMAGLIST" = yes; then
9978 { echo "$as_me:$LINENO: result: yes" >&5
9979 echo "${ECHO_T}yes" >&6; }
9980 else
9981 { echo "$as_me:$LINENO: result: no" >&5
9982 echo "${ECHO_T}no" >&6; }
9983 fi
9984
9985
9986 enablestring=
9987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9988 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9989 no_cache=0
9990 # Check whether --enable-listbook was given.
9991 if test "${enable_listbook+set}" = set; then
9992 enableval=$enable_listbook;
9993 if test "$enableval" = yes; then
9994 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9995 else
9996 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9997 fi
9998
9999 else
10000
10001 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x ; then
10003 eval "DEFAULT_$LINE"
10004 else
10005 no_cache=1
10006 fi
10007
10008 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10009
10010 fi
10011
10012
10013 eval "$ac_cv_use_listbook"
10014 if test "$no_cache" != 1; then
10015 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10016 fi
10017
10018 if test "$wxUSE_LISTBOOK" = yes; then
10019 { echo "$as_me:$LINENO: result: yes" >&5
10020 echo "${ECHO_T}yes" >&6; }
10021 else
10022 { echo "$as_me:$LINENO: result: no" >&5
10023 echo "${ECHO_T}no" >&6; }
10024 fi
10025
10026
10027 enablestring=
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10030 no_cache=0
10031 # Check whether --enable-listbox was given.
10032 if test "${enable_listbox+set}" = set; then
10033 enableval=$enable_listbox;
10034 if test "$enableval" = yes; then
10035 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10036 else
10037 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10038 fi
10039
10040 else
10041
10042 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x ; then
10044 eval "DEFAULT_$LINE"
10045 else
10046 no_cache=1
10047 fi
10048
10049 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10050
10051 fi
10052
10053
10054 eval "$ac_cv_use_listbox"
10055 if test "$no_cache" != 1; then
10056 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10057 fi
10058
10059 if test "$wxUSE_LISTBOX" = yes; then
10060 { echo "$as_me:$LINENO: result: yes" >&5
10061 echo "${ECHO_T}yes" >&6; }
10062 else
10063 { echo "$as_me:$LINENO: result: no" >&5
10064 echo "${ECHO_T}no" >&6; }
10065 fi
10066
10067
10068 enablestring=
10069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10070 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10071 no_cache=0
10072 # Check whether --enable-listctrl was given.
10073 if test "${enable_listctrl+set}" = set; then
10074 enableval=$enable_listctrl;
10075 if test "$enableval" = yes; then
10076 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10077 else
10078 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10079 fi
10080
10081 else
10082
10083 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x ; then
10085 eval "DEFAULT_$LINE"
10086 else
10087 no_cache=1
10088 fi
10089
10090 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10091
10092 fi
10093
10094
10095 eval "$ac_cv_use_listctrl"
10096 if test "$no_cache" != 1; then
10097 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10098 fi
10099
10100 if test "$wxUSE_LISTCTRL" = yes; then
10101 { echo "$as_me:$LINENO: result: yes" >&5
10102 echo "${ECHO_T}yes" >&6; }
10103 else
10104 { echo "$as_me:$LINENO: result: no" >&5
10105 echo "${ECHO_T}no" >&6; }
10106 fi
10107
10108
10109 enablestring=
10110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10111 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10112 no_cache=0
10113 # Check whether --enable-notebook was given.
10114 if test "${enable_notebook+set}" = set; then
10115 enableval=$enable_notebook;
10116 if test "$enableval" = yes; then
10117 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10118 else
10119 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10120 fi
10121
10122 else
10123
10124 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x ; then
10126 eval "DEFAULT_$LINE"
10127 else
10128 no_cache=1
10129 fi
10130
10131 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10132
10133 fi
10134
10135
10136 eval "$ac_cv_use_notebook"
10137 if test "$no_cache" != 1; then
10138 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10139 fi
10140
10141 if test "$wxUSE_NOTEBOOK" = yes; then
10142 { echo "$as_me:$LINENO: result: yes" >&5
10143 echo "${ECHO_T}yes" >&6; }
10144 else
10145 { echo "$as_me:$LINENO: result: no" >&5
10146 echo "${ECHO_T}no" >&6; }
10147 fi
10148
10149
10150 enablestring=
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10153 no_cache=0
10154 # Check whether --enable-odcombobox was given.
10155 if test "${enable_odcombobox+set}" = set; then
10156 enableval=$enable_odcombobox;
10157 if test "$enableval" = yes; then
10158 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10159 else
10160 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10161 fi
10162
10163 else
10164
10165 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x ; then
10167 eval "DEFAULT_$LINE"
10168 else
10169 no_cache=1
10170 fi
10171
10172 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10173
10174 fi
10175
10176
10177 eval "$ac_cv_use_odcombobox"
10178 if test "$no_cache" != 1; then
10179 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10180 fi
10181
10182 if test "$wxUSE_ODCOMBOBOX" = yes; then
10183 { echo "$as_me:$LINENO: result: yes" >&5
10184 echo "${ECHO_T}yes" >&6; }
10185 else
10186 { echo "$as_me:$LINENO: result: no" >&5
10187 echo "${ECHO_T}no" >&6; }
10188 fi
10189
10190
10191 enablestring=
10192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10194 no_cache=0
10195 # Check whether --enable-radiobox was given.
10196 if test "${enable_radiobox+set}" = set; then
10197 enableval=$enable_radiobox;
10198 if test "$enableval" = yes; then
10199 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10200 else
10201 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10202 fi
10203
10204 else
10205
10206 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x ; then
10208 eval "DEFAULT_$LINE"
10209 else
10210 no_cache=1
10211 fi
10212
10213 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10214
10215 fi
10216
10217
10218 eval "$ac_cv_use_radiobox"
10219 if test "$no_cache" != 1; then
10220 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10221 fi
10222
10223 if test "$wxUSE_RADIOBOX" = yes; then
10224 { echo "$as_me:$LINENO: result: yes" >&5
10225 echo "${ECHO_T}yes" >&6; }
10226 else
10227 { echo "$as_me:$LINENO: result: no" >&5
10228 echo "${ECHO_T}no" >&6; }
10229 fi
10230
10231
10232 enablestring=
10233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10235 no_cache=0
10236 # Check whether --enable-radiobtn was given.
10237 if test "${enable_radiobtn+set}" = set; then
10238 enableval=$enable_radiobtn;
10239 if test "$enableval" = yes; then
10240 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10241 else
10242 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10243 fi
10244
10245 else
10246
10247 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10248 if test "x$LINE" != x ; then
10249 eval "DEFAULT_$LINE"
10250 else
10251 no_cache=1
10252 fi
10253
10254 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10255
10256 fi
10257
10258
10259 eval "$ac_cv_use_radiobtn"
10260 if test "$no_cache" != 1; then
10261 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10262 fi
10263
10264 if test "$wxUSE_RADIOBTN" = yes; then
10265 { echo "$as_me:$LINENO: result: yes" >&5
10266 echo "${ECHO_T}yes" >&6; }
10267 else
10268 { echo "$as_me:$LINENO: result: no" >&5
10269 echo "${ECHO_T}no" >&6; }
10270 fi
10271
10272
10273 enablestring=
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10276 no_cache=0
10277 # Check whether --enable-sash was given.
10278 if test "${enable_sash+set}" = set; then
10279 enableval=$enable_sash;
10280 if test "$enableval" = yes; then
10281 ac_cv_use_sash='wxUSE_SASH=yes'
10282 else
10283 ac_cv_use_sash='wxUSE_SASH=no'
10284 fi
10285
10286 else
10287
10288 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10291 else
10292 no_cache=1
10293 fi
10294
10295 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10296
10297 fi
10298
10299
10300 eval "$ac_cv_use_sash"
10301 if test "$no_cache" != 1; then
10302 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10303 fi
10304
10305 if test "$wxUSE_SASH" = yes; then
10306 { echo "$as_me:$LINENO: result: yes" >&5
10307 echo "${ECHO_T}yes" >&6; }
10308 else
10309 { echo "$as_me:$LINENO: result: no" >&5
10310 echo "${ECHO_T}no" >&6; }
10311 fi
10312
10313
10314 enablestring=
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10317 no_cache=0
10318 # Check whether --enable-scrollbar was given.
10319 if test "${enable_scrollbar+set}" = set; then
10320 enableval=$enable_scrollbar;
10321 if test "$enableval" = yes; then
10322 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10323 else
10324 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10325 fi
10326
10327 else
10328
10329 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10330 if test "x$LINE" != x ; then
10331 eval "DEFAULT_$LINE"
10332 else
10333 no_cache=1
10334 fi
10335
10336 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10337
10338 fi
10339
10340
10341 eval "$ac_cv_use_scrollbar"
10342 if test "$no_cache" != 1; then
10343 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10344 fi
10345
10346 if test "$wxUSE_SCROLLBAR" = yes; then
10347 { echo "$as_me:$LINENO: result: yes" >&5
10348 echo "${ECHO_T}yes" >&6; }
10349 else
10350 { echo "$as_me:$LINENO: result: no" >&5
10351 echo "${ECHO_T}no" >&6; }
10352 fi
10353
10354
10355 enablestring=
10356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10358 no_cache=0
10359 # Check whether --enable-searchctrl was given.
10360 if test "${enable_searchctrl+set}" = set; then
10361 enableval=$enable_searchctrl;
10362 if test "$enableval" = yes; then
10363 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10364 else
10365 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10366 fi
10367
10368 else
10369
10370 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10371 if test "x$LINE" != x ; then
10372 eval "DEFAULT_$LINE"
10373 else
10374 no_cache=1
10375 fi
10376
10377 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10378
10379 fi
10380
10381
10382 eval "$ac_cv_use_searchctrl"
10383 if test "$no_cache" != 1; then
10384 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10385 fi
10386
10387 if test "$wxUSE_SEARCHCTRL" = yes; then
10388 { echo "$as_me:$LINENO: result: yes" >&5
10389 echo "${ECHO_T}yes" >&6; }
10390 else
10391 { echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6; }
10393 fi
10394
10395
10396 enablestring=
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10399 no_cache=0
10400 # Check whether --enable-slider was given.
10401 if test "${enable_slider+set}" = set; then
10402 enableval=$enable_slider;
10403 if test "$enableval" = yes; then
10404 ac_cv_use_slider='wxUSE_SLIDER=yes'
10405 else
10406 ac_cv_use_slider='wxUSE_SLIDER=no'
10407 fi
10408
10409 else
10410
10411 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x ; then
10413 eval "DEFAULT_$LINE"
10414 else
10415 no_cache=1
10416 fi
10417
10418 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10419
10420 fi
10421
10422
10423 eval "$ac_cv_use_slider"
10424 if test "$no_cache" != 1; then
10425 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10426 fi
10427
10428 if test "$wxUSE_SLIDER" = yes; then
10429 { echo "$as_me:$LINENO: result: yes" >&5
10430 echo "${ECHO_T}yes" >&6; }
10431 else
10432 { echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6; }
10434 fi
10435
10436
10437 enablestring=
10438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10439 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10440 no_cache=0
10441 # Check whether --enable-spinbtn was given.
10442 if test "${enable_spinbtn+set}" = set; then
10443 enableval=$enable_spinbtn;
10444 if test "$enableval" = yes; then
10445 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10446 else
10447 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10448 fi
10449
10450 else
10451
10452 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10453 if test "x$LINE" != x ; then
10454 eval "DEFAULT_$LINE"
10455 else
10456 no_cache=1
10457 fi
10458
10459 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10460
10461 fi
10462
10463
10464 eval "$ac_cv_use_spinbtn"
10465 if test "$no_cache" != 1; then
10466 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10467 fi
10468
10469 if test "$wxUSE_SPINBTN" = yes; then
10470 { echo "$as_me:$LINENO: result: yes" >&5
10471 echo "${ECHO_T}yes" >&6; }
10472 else
10473 { echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6; }
10475 fi
10476
10477
10478 enablestring=
10479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10480 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10481 no_cache=0
10482 # Check whether --enable-spinctrl was given.
10483 if test "${enable_spinctrl+set}" = set; then
10484 enableval=$enable_spinctrl;
10485 if test "$enableval" = yes; then
10486 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10487 else
10488 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10489 fi
10490
10491 else
10492
10493 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10494 if test "x$LINE" != x ; then
10495 eval "DEFAULT_$LINE"
10496 else
10497 no_cache=1
10498 fi
10499
10500 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10501
10502 fi
10503
10504
10505 eval "$ac_cv_use_spinctrl"
10506 if test "$no_cache" != 1; then
10507 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10508 fi
10509
10510 if test "$wxUSE_SPINCTRL" = yes; then
10511 { echo "$as_me:$LINENO: result: yes" >&5
10512 echo "${ECHO_T}yes" >&6; }
10513 else
10514 { echo "$as_me:$LINENO: result: no" >&5
10515 echo "${ECHO_T}no" >&6; }
10516 fi
10517
10518
10519 enablestring=
10520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10521 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10522 no_cache=0
10523 # Check whether --enable-splitter was given.
10524 if test "${enable_splitter+set}" = set; then
10525 enableval=$enable_splitter;
10526 if test "$enableval" = yes; then
10527 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10528 else
10529 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10530 fi
10531
10532 else
10533
10534 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10535 if test "x$LINE" != x ; then
10536 eval "DEFAULT_$LINE"
10537 else
10538 no_cache=1
10539 fi
10540
10541 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10542
10543 fi
10544
10545
10546 eval "$ac_cv_use_splitter"
10547 if test "$no_cache" != 1; then
10548 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10549 fi
10550
10551 if test "$wxUSE_SPLITTER" = yes; then
10552 { echo "$as_me:$LINENO: result: yes" >&5
10553 echo "${ECHO_T}yes" >&6; }
10554 else
10555 { echo "$as_me:$LINENO: result: no" >&5
10556 echo "${ECHO_T}no" >&6; }
10557 fi
10558
10559
10560 enablestring=
10561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10563 no_cache=0
10564 # Check whether --enable-statbmp was given.
10565 if test "${enable_statbmp+set}" = set; then
10566 enableval=$enable_statbmp;
10567 if test "$enableval" = yes; then
10568 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10569 else
10570 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10571 fi
10572
10573 else
10574
10575 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10576 if test "x$LINE" != x ; then
10577 eval "DEFAULT_$LINE"
10578 else
10579 no_cache=1
10580 fi
10581
10582 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10583
10584 fi
10585
10586
10587 eval "$ac_cv_use_statbmp"
10588 if test "$no_cache" != 1; then
10589 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10590 fi
10591
10592 if test "$wxUSE_STATBMP" = yes; then
10593 { echo "$as_me:$LINENO: result: yes" >&5
10594 echo "${ECHO_T}yes" >&6; }
10595 else
10596 { echo "$as_me:$LINENO: result: no" >&5
10597 echo "${ECHO_T}no" >&6; }
10598 fi
10599
10600
10601 enablestring=
10602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10603 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10604 no_cache=0
10605 # Check whether --enable-statbox was given.
10606 if test "${enable_statbox+set}" = set; then
10607 enableval=$enable_statbox;
10608 if test "$enableval" = yes; then
10609 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10610 else
10611 ac_cv_use_statbox='wxUSE_STATBOX=no'
10612 fi
10613
10614 else
10615
10616 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10617 if test "x$LINE" != x ; then
10618 eval "DEFAULT_$LINE"
10619 else
10620 no_cache=1
10621 fi
10622
10623 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10624
10625 fi
10626
10627
10628 eval "$ac_cv_use_statbox"
10629 if test "$no_cache" != 1; then
10630 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10631 fi
10632
10633 if test "$wxUSE_STATBOX" = yes; then
10634 { echo "$as_me:$LINENO: result: yes" >&5
10635 echo "${ECHO_T}yes" >&6; }
10636 else
10637 { echo "$as_me:$LINENO: result: no" >&5
10638 echo "${ECHO_T}no" >&6; }
10639 fi
10640
10641
10642 enablestring=
10643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10645 no_cache=0
10646 # Check whether --enable-statline was given.
10647 if test "${enable_statline+set}" = set; then
10648 enableval=$enable_statline;
10649 if test "$enableval" = yes; then
10650 ac_cv_use_statline='wxUSE_STATLINE=yes'
10651 else
10652 ac_cv_use_statline='wxUSE_STATLINE=no'
10653 fi
10654
10655 else
10656
10657 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10658 if test "x$LINE" != x ; then
10659 eval "DEFAULT_$LINE"
10660 else
10661 no_cache=1
10662 fi
10663
10664 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10665
10666 fi
10667
10668
10669 eval "$ac_cv_use_statline"
10670 if test "$no_cache" != 1; then
10671 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10672 fi
10673
10674 if test "$wxUSE_STATLINE" = yes; then
10675 { echo "$as_me:$LINENO: result: yes" >&5
10676 echo "${ECHO_T}yes" >&6; }
10677 else
10678 { echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6; }
10680 fi
10681
10682
10683 enablestring=
10684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10686 no_cache=0
10687 # Check whether --enable-stattext was given.
10688 if test "${enable_stattext+set}" = set; then
10689 enableval=$enable_stattext;
10690 if test "$enableval" = yes; then
10691 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10692 else
10693 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10694 fi
10695
10696 else
10697
10698 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10699 if test "x$LINE" != x ; then
10700 eval "DEFAULT_$LINE"
10701 else
10702 no_cache=1
10703 fi
10704
10705 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10706
10707 fi
10708
10709
10710 eval "$ac_cv_use_stattext"
10711 if test "$no_cache" != 1; then
10712 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10713 fi
10714
10715 if test "$wxUSE_STATTEXT" = yes; then
10716 { echo "$as_me:$LINENO: result: yes" >&5
10717 echo "${ECHO_T}yes" >&6; }
10718 else
10719 { echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6; }
10721 fi
10722
10723
10724 enablestring=
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10727 no_cache=0
10728 # Check whether --enable-statusbar was given.
10729 if test "${enable_statusbar+set}" = set; then
10730 enableval=$enable_statusbar;
10731 if test "$enableval" = yes; then
10732 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10733 else
10734 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10735 fi
10736
10737 else
10738
10739 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10740 if test "x$LINE" != x ; then
10741 eval "DEFAULT_$LINE"
10742 else
10743 no_cache=1
10744 fi
10745
10746 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10747
10748 fi
10749
10750
10751 eval "$ac_cv_use_statusbar"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10754 fi
10755
10756 if test "$wxUSE_STATUSBAR" = yes; then
10757 { echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6; }
10759 else
10760 { echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6; }
10762 fi
10763
10764
10765 enablestring=
10766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10768 no_cache=0
10769 # Check whether --enable-tabdialog was given.
10770 if test "${enable_tabdialog+set}" = set; then
10771 enableval=$enable_tabdialog;
10772 if test "$enableval" = yes; then
10773 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10774 else
10775 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10776 fi
10777
10778 else
10779
10780 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10781 if test "x$LINE" != x ; then
10782 eval "DEFAULT_$LINE"
10783 else
10784 no_cache=1
10785 fi
10786
10787 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10788
10789 fi
10790
10791
10792 eval "$ac_cv_use_tabdialog"
10793 if test "$no_cache" != 1; then
10794 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10795 fi
10796
10797 if test "$wxUSE_TAB_DIALOG" = yes; then
10798 { echo "$as_me:$LINENO: result: yes" >&5
10799 echo "${ECHO_T}yes" >&6; }
10800 else
10801 { echo "$as_me:$LINENO: result: no" >&5
10802 echo "${ECHO_T}no" >&6; }
10803 fi
10804
10805
10806 enablestring=
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10809 no_cache=0
10810 # Check whether --enable-textctrl was given.
10811 if test "${enable_textctrl+set}" = set; then
10812 enableval=$enable_textctrl;
10813 if test "$enableval" = yes; then
10814 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10815 else
10816 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10817 fi
10818
10819 else
10820
10821 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10822 if test "x$LINE" != x ; then
10823 eval "DEFAULT_$LINE"
10824 else
10825 no_cache=1
10826 fi
10827
10828 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10829
10830 fi
10831
10832
10833 eval "$ac_cv_use_textctrl"
10834 if test "$no_cache" != 1; then
10835 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10836 fi
10837
10838 if test "$wxUSE_TEXTCTRL" = yes; then
10839 { echo "$as_me:$LINENO: result: yes" >&5
10840 echo "${ECHO_T}yes" >&6; }
10841 else
10842 { echo "$as_me:$LINENO: result: no" >&5
10843 echo "${ECHO_T}no" >&6; }
10844 fi
10845
10846
10847 enablestring=
10848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10850 no_cache=0
10851 # Check whether --enable-togglebtn was given.
10852 if test "${enable_togglebtn+set}" = set; then
10853 enableval=$enable_togglebtn;
10854 if test "$enableval" = yes; then
10855 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10856 else
10857 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10858 fi
10859
10860 else
10861
10862 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10863 if test "x$LINE" != x ; then
10864 eval "DEFAULT_$LINE"
10865 else
10866 no_cache=1
10867 fi
10868
10869 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10870
10871 fi
10872
10873
10874 eval "$ac_cv_use_togglebtn"
10875 if test "$no_cache" != 1; then
10876 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10877 fi
10878
10879 if test "$wxUSE_TOGGLEBTN" = yes; then
10880 { echo "$as_me:$LINENO: result: yes" >&5
10881 echo "${ECHO_T}yes" >&6; }
10882 else
10883 { echo "$as_me:$LINENO: result: no" >&5
10884 echo "${ECHO_T}no" >&6; }
10885 fi
10886
10887
10888 enablestring=
10889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10891 no_cache=0
10892 # Check whether --enable-toolbar was given.
10893 if test "${enable_toolbar+set}" = set; then
10894 enableval=$enable_toolbar;
10895 if test "$enableval" = yes; then
10896 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10897 else
10898 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10899 fi
10900
10901 else
10902
10903 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10904 if test "x$LINE" != x ; then
10905 eval "DEFAULT_$LINE"
10906 else
10907 no_cache=1
10908 fi
10909
10910 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10911
10912 fi
10913
10914
10915 eval "$ac_cv_use_toolbar"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10918 fi
10919
10920 if test "$wxUSE_TOOLBAR" = yes; then
10921 { echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6; }
10923 else
10924 { echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6; }
10926 fi
10927
10928
10929 enablestring=
10930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10932 no_cache=0
10933 # Check whether --enable-tbarnative was given.
10934 if test "${enable_tbarnative+set}" = set; then
10935 enableval=$enable_tbarnative;
10936 if test "$enableval" = yes; then
10937 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10938 else
10939 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10940 fi
10941
10942 else
10943
10944 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10945 if test "x$LINE" != x ; then
10946 eval "DEFAULT_$LINE"
10947 else
10948 no_cache=1
10949 fi
10950
10951 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10952
10953 fi
10954
10955
10956 eval "$ac_cv_use_tbarnative"
10957 if test "$no_cache" != 1; then
10958 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10959 fi
10960
10961 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10962 { echo "$as_me:$LINENO: result: yes" >&5
10963 echo "${ECHO_T}yes" >&6; }
10964 else
10965 { echo "$as_me:$LINENO: result: no" >&5
10966 echo "${ECHO_T}no" >&6; }
10967 fi
10968
10969
10970 enablestring=
10971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10972 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10973 no_cache=0
10974 # Check whether --enable-treebook was given.
10975 if test "${enable_treebook+set}" = set; then
10976 enableval=$enable_treebook;
10977 if test "$enableval" = yes; then
10978 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10979 else
10980 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10981 fi
10982
10983 else
10984
10985 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10986 if test "x$LINE" != x ; then
10987 eval "DEFAULT_$LINE"
10988 else
10989 no_cache=1
10990 fi
10991
10992 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10993
10994 fi
10995
10996
10997 eval "$ac_cv_use_treebook"
10998 if test "$no_cache" != 1; then
10999 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11000 fi
11001
11002 if test "$wxUSE_TREEBOOK" = yes; then
11003 { echo "$as_me:$LINENO: result: yes" >&5
11004 echo "${ECHO_T}yes" >&6; }
11005 else
11006 { echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6; }
11008 fi
11009
11010
11011 enablestring=
11012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11014 no_cache=0
11015 # Check whether --enable-toolbook was given.
11016 if test "${enable_toolbook+set}" = set; then
11017 enableval=$enable_toolbook;
11018 if test "$enableval" = yes; then
11019 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11020 else
11021 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11022 fi
11023
11024 else
11025
11026 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
11027 if test "x$LINE" != x ; then
11028 eval "DEFAULT_$LINE"
11029 else
11030 no_cache=1
11031 fi
11032
11033 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11034
11035 fi
11036
11037
11038 eval "$ac_cv_use_toolbook"
11039 if test "$no_cache" != 1; then
11040 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11041 fi
11042
11043 if test "$wxUSE_TOOLBOOK" = yes; then
11044 { echo "$as_me:$LINENO: result: yes" >&5
11045 echo "${ECHO_T}yes" >&6; }
11046 else
11047 { echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6; }
11049 fi
11050
11051
11052 enablestring=
11053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11055 no_cache=0
11056 # Check whether --enable-treectrl was given.
11057 if test "${enable_treectrl+set}" = set; then
11058 enableval=$enable_treectrl;
11059 if test "$enableval" = yes; then
11060 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11061 else
11062 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11063 fi
11064
11065 else
11066
11067 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
11068 if test "x$LINE" != x ; then
11069 eval "DEFAULT_$LINE"
11070 else
11071 no_cache=1
11072 fi
11073
11074 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11075
11076 fi
11077
11078
11079 eval "$ac_cv_use_treectrl"
11080 if test "$no_cache" != 1; then
11081 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11082 fi
11083
11084 if test "$wxUSE_TREECTRL" = yes; then
11085 { echo "$as_me:$LINENO: result: yes" >&5
11086 echo "${ECHO_T}yes" >&6; }
11087 else
11088 { echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6; }
11090 fi
11091
11092
11093 enablestring=
11094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11096 no_cache=0
11097 # Check whether --enable-tipwindow was given.
11098 if test "${enable_tipwindow+set}" = set; then
11099 enableval=$enable_tipwindow;
11100 if test "$enableval" = yes; then
11101 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11102 else
11103 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11104 fi
11105
11106 else
11107
11108 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
11109 if test "x$LINE" != x ; then
11110 eval "DEFAULT_$LINE"
11111 else
11112 no_cache=1
11113 fi
11114
11115 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11116
11117 fi
11118
11119
11120 eval "$ac_cv_use_tipwindow"
11121 if test "$no_cache" != 1; then
11122 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11123 fi
11124
11125 if test "$wxUSE_TIPWINDOW" = yes; then
11126 { echo "$as_me:$LINENO: result: yes" >&5
11127 echo "${ECHO_T}yes" >&6; }
11128 else
11129 { echo "$as_me:$LINENO: result: no" >&5
11130 echo "${ECHO_T}no" >&6; }
11131 fi
11132
11133
11134 enablestring=
11135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11136 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11137 no_cache=0
11138 # Check whether --enable-popupwin was given.
11139 if test "${enable_popupwin+set}" = set; then
11140 enableval=$enable_popupwin;
11141 if test "$enableval" = yes; then
11142 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11143 else
11144 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11145 fi
11146
11147 else
11148
11149 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11150 if test "x$LINE" != x ; then
11151 eval "DEFAULT_$LINE"
11152 else
11153 no_cache=1
11154 fi
11155
11156 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11157
11158 fi
11159
11160
11161 eval "$ac_cv_use_popupwin"
11162 if test "$no_cache" != 1; then
11163 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11164 fi
11165
11166 if test "$wxUSE_POPUPWIN" = yes; then
11167 { echo "$as_me:$LINENO: result: yes" >&5
11168 echo "${ECHO_T}yes" >&6; }
11169 else
11170 { echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6; }
11172 fi
11173
11174
11175
11176
11177 enablestring=
11178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11180 no_cache=0
11181 # Check whether --enable-commondlg was given.
11182 if test "${enable_commondlg+set}" = set; then
11183 enableval=$enable_commondlg;
11184 if test "$enableval" = yes; then
11185 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11186 else
11187 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11188 fi
11189
11190 else
11191
11192 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11193 if test "x$LINE" != x ; then
11194 eval "DEFAULT_$LINE"
11195 else
11196 no_cache=1
11197 fi
11198
11199 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11200
11201 fi
11202
11203
11204 eval "$ac_cv_use_commondlg"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11207 fi
11208
11209 if test "$wxUSE_COMMONDLGS" = yes; then
11210 { echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6; }
11212 else
11213 { echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6; }
11215 fi
11216
11217
11218 enablestring=
11219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11221 no_cache=0
11222 # Check whether --enable-aboutdlg was given.
11223 if test "${enable_aboutdlg+set}" = set; then
11224 enableval=$enable_aboutdlg;
11225 if test "$enableval" = yes; then
11226 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11227 else
11228 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11229 fi
11230
11231 else
11232
11233 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11234 if test "x$LINE" != x ; then
11235 eval "DEFAULT_$LINE"
11236 else
11237 no_cache=1
11238 fi
11239
11240 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11241
11242 fi
11243
11244
11245 eval "$ac_cv_use_aboutdlg"
11246 if test "$no_cache" != 1; then
11247 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11248 fi
11249
11250 if test "$wxUSE_ABOUTDLG" = yes; then
11251 { echo "$as_me:$LINENO: result: yes" >&5
11252 echo "${ECHO_T}yes" >&6; }
11253 else
11254 { echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6; }
11256 fi
11257
11258
11259 enablestring=
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11262 no_cache=0
11263 # Check whether --enable-choicedlg was given.
11264 if test "${enable_choicedlg+set}" = set; then
11265 enableval=$enable_choicedlg;
11266 if test "$enableval" = yes; then
11267 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11268 else
11269 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11270 fi
11271
11272 else
11273
11274 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11275 if test "x$LINE" != x ; then
11276 eval "DEFAULT_$LINE"
11277 else
11278 no_cache=1
11279 fi
11280
11281 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11282
11283 fi
11284
11285
11286 eval "$ac_cv_use_choicedlg"
11287 if test "$no_cache" != 1; then
11288 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11289 fi
11290
11291 if test "$wxUSE_CHOICEDLG" = yes; then
11292 { echo "$as_me:$LINENO: result: yes" >&5
11293 echo "${ECHO_T}yes" >&6; }
11294 else
11295 { echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6; }
11297 fi
11298
11299
11300 enablestring=
11301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11302 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11303 no_cache=0
11304 # Check whether --enable-coldlg was given.
11305 if test "${enable_coldlg+set}" = set; then
11306 enableval=$enable_coldlg;
11307 if test "$enableval" = yes; then
11308 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11309 else
11310 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11311 fi
11312
11313 else
11314
11315 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11316 if test "x$LINE" != x ; then
11317 eval "DEFAULT_$LINE"
11318 else
11319 no_cache=1
11320 fi
11321
11322 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11323
11324 fi
11325
11326
11327 eval "$ac_cv_use_coldlg"
11328 if test "$no_cache" != 1; then
11329 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11330 fi
11331
11332 if test "$wxUSE_COLOURDLG" = yes; then
11333 { echo "$as_me:$LINENO: result: yes" >&5
11334 echo "${ECHO_T}yes" >&6; }
11335 else
11336 { echo "$as_me:$LINENO: result: no" >&5
11337 echo "${ECHO_T}no" >&6; }
11338 fi
11339
11340
11341 enablestring=
11342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11343 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11344 no_cache=0
11345 # Check whether --enable-filedlg was given.
11346 if test "${enable_filedlg+set}" = set; then
11347 enableval=$enable_filedlg;
11348 if test "$enableval" = yes; then
11349 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11350 else
11351 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11352 fi
11353
11354 else
11355
11356 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11357 if test "x$LINE" != x ; then
11358 eval "DEFAULT_$LINE"
11359 else
11360 no_cache=1
11361 fi
11362
11363 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11364
11365 fi
11366
11367
11368 eval "$ac_cv_use_filedlg"
11369 if test "$no_cache" != 1; then
11370 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11371 fi
11372
11373 if test "$wxUSE_FILEDLG" = yes; then
11374 { echo "$as_me:$LINENO: result: yes" >&5
11375 echo "${ECHO_T}yes" >&6; }
11376 else
11377 { echo "$as_me:$LINENO: result: no" >&5
11378 echo "${ECHO_T}no" >&6; }
11379 fi
11380
11381
11382 enablestring=
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11385 no_cache=0
11386 # Check whether --enable-finddlg was given.
11387 if test "${enable_finddlg+set}" = set; then
11388 enableval=$enable_finddlg;
11389 if test "$enableval" = yes; then
11390 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11391 else
11392 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11393 fi
11394
11395 else
11396
11397 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11398 if test "x$LINE" != x ; then
11399 eval "DEFAULT_$LINE"
11400 else
11401 no_cache=1
11402 fi
11403
11404 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11405
11406 fi
11407
11408
11409 eval "$ac_cv_use_finddlg"
11410 if test "$no_cache" != 1; then
11411 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11412 fi
11413
11414 if test "$wxUSE_FINDREPLDLG" = yes; then
11415 { echo "$as_me:$LINENO: result: yes" >&5
11416 echo "${ECHO_T}yes" >&6; }
11417 else
11418 { echo "$as_me:$LINENO: result: no" >&5
11419 echo "${ECHO_T}no" >&6; }
11420 fi
11421
11422
11423 enablestring=
11424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11425 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11426 no_cache=0
11427 # Check whether --enable-fontdlg was given.
11428 if test "${enable_fontdlg+set}" = set; then
11429 enableval=$enable_fontdlg;
11430 if test "$enableval" = yes; then
11431 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11432 else
11433 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11434 fi
11435
11436 else
11437
11438 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11439 if test "x$LINE" != x ; then
11440 eval "DEFAULT_$LINE"
11441 else
11442 no_cache=1
11443 fi
11444
11445 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11446
11447 fi
11448
11449
11450 eval "$ac_cv_use_fontdlg"
11451 if test "$no_cache" != 1; then
11452 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11453 fi
11454
11455 if test "$wxUSE_FONTDLG" = yes; then
11456 { echo "$as_me:$LINENO: result: yes" >&5
11457 echo "${ECHO_T}yes" >&6; }
11458 else
11459 { echo "$as_me:$LINENO: result: no" >&5
11460 echo "${ECHO_T}no" >&6; }
11461 fi
11462
11463
11464 enablestring=
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11467 no_cache=0
11468 # Check whether --enable-dirdlg was given.
11469 if test "${enable_dirdlg+set}" = set; then
11470 enableval=$enable_dirdlg;
11471 if test "$enableval" = yes; then
11472 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11473 else
11474 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11475 fi
11476
11477 else
11478
11479 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11480 if test "x$LINE" != x ; then
11481 eval "DEFAULT_$LINE"
11482 else
11483 no_cache=1
11484 fi
11485
11486 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11487
11488 fi
11489
11490
11491 eval "$ac_cv_use_dirdlg"
11492 if test "$no_cache" != 1; then
11493 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11494 fi
11495
11496 if test "$wxUSE_DIRDLG" = yes; then
11497 { echo "$as_me:$LINENO: result: yes" >&5
11498 echo "${ECHO_T}yes" >&6; }
11499 else
11500 { echo "$as_me:$LINENO: result: no" >&5
11501 echo "${ECHO_T}no" >&6; }
11502 fi
11503
11504
11505 enablestring=
11506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11507 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11508 no_cache=0
11509 # Check whether --enable-msgdlg was given.
11510 if test "${enable_msgdlg+set}" = set; then
11511 enableval=$enable_msgdlg;
11512 if test "$enableval" = yes; then
11513 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11514 else
11515 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11516 fi
11517
11518 else
11519
11520 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11521 if test "x$LINE" != x ; then
11522 eval "DEFAULT_$LINE"
11523 else
11524 no_cache=1
11525 fi
11526
11527 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11528
11529 fi
11530
11531
11532 eval "$ac_cv_use_msgdlg"
11533 if test "$no_cache" != 1; then
11534 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11535 fi
11536
11537 if test "$wxUSE_MSGDLG" = yes; then
11538 { echo "$as_me:$LINENO: result: yes" >&5
11539 echo "${ECHO_T}yes" >&6; }
11540 else
11541 { echo "$as_me:$LINENO: result: no" >&5
11542 echo "${ECHO_T}no" >&6; }
11543 fi
11544
11545
11546 enablestring=
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11549 no_cache=0
11550 # Check whether --enable-numberdlg was given.
11551 if test "${enable_numberdlg+set}" = set; then
11552 enableval=$enable_numberdlg;
11553 if test "$enableval" = yes; then
11554 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11555 else
11556 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11557 fi
11558
11559 else
11560
11561 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11562 if test "x$LINE" != x ; then
11563 eval "DEFAULT_$LINE"
11564 else
11565 no_cache=1
11566 fi
11567
11568 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11569
11570 fi
11571
11572
11573 eval "$ac_cv_use_numberdlg"
11574 if test "$no_cache" != 1; then
11575 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11576 fi
11577
11578 if test "$wxUSE_NUMBERDLG" = yes; then
11579 { echo "$as_me:$LINENO: result: yes" >&5
11580 echo "${ECHO_T}yes" >&6; }
11581 else
11582 { echo "$as_me:$LINENO: result: no" >&5
11583 echo "${ECHO_T}no" >&6; }
11584 fi
11585
11586
11587 enablestring=
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11590 no_cache=0
11591 # Check whether --enable-splash was given.
11592 if test "${enable_splash+set}" = set; then
11593 enableval=$enable_splash;
11594 if test "$enableval" = yes; then
11595 ac_cv_use_splash='wxUSE_SPLASH=yes'
11596 else
11597 ac_cv_use_splash='wxUSE_SPLASH=no'
11598 fi
11599
11600 else
11601
11602 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11603 if test "x$LINE" != x ; then
11604 eval "DEFAULT_$LINE"
11605 else
11606 no_cache=1
11607 fi
11608
11609 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11610
11611 fi
11612
11613
11614 eval "$ac_cv_use_splash"
11615 if test "$no_cache" != 1; then
11616 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11617 fi
11618
11619 if test "$wxUSE_SPLASH" = yes; then
11620 { echo "$as_me:$LINENO: result: yes" >&5
11621 echo "${ECHO_T}yes" >&6; }
11622 else
11623 { echo "$as_me:$LINENO: result: no" >&5
11624 echo "${ECHO_T}no" >&6; }
11625 fi
11626
11627
11628 enablestring=
11629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11630 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11631 no_cache=0
11632 # Check whether --enable-textdlg was given.
11633 if test "${enable_textdlg+set}" = set; then
11634 enableval=$enable_textdlg;
11635 if test "$enableval" = yes; then
11636 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11637 else
11638 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11639 fi
11640
11641 else
11642
11643 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11644 if test "x$LINE" != x ; then
11645 eval "DEFAULT_$LINE"
11646 else
11647 no_cache=1
11648 fi
11649
11650 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11651
11652 fi
11653
11654
11655 eval "$ac_cv_use_textdlg"
11656 if test "$no_cache" != 1; then
11657 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11658 fi
11659
11660 if test "$wxUSE_TEXTDLG" = yes; then
11661 { echo "$as_me:$LINENO: result: yes" >&5
11662 echo "${ECHO_T}yes" >&6; }
11663 else
11664 { echo "$as_me:$LINENO: result: no" >&5
11665 echo "${ECHO_T}no" >&6; }
11666 fi
11667
11668
11669 enablestring=
11670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11671 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11672 no_cache=0
11673 # Check whether --enable-tipdlg was given.
11674 if test "${enable_tipdlg+set}" = set; then
11675 enableval=$enable_tipdlg;
11676 if test "$enableval" = yes; then
11677 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11678 else
11679 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11680 fi
11681
11682 else
11683
11684 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11685 if test "x$LINE" != x ; then
11686 eval "DEFAULT_$LINE"
11687 else
11688 no_cache=1
11689 fi
11690
11691 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11692
11693 fi
11694
11695
11696 eval "$ac_cv_use_tipdlg"
11697 if test "$no_cache" != 1; then
11698 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11699 fi
11700
11701 if test "$wxUSE_STARTUP_TIPS" = yes; then
11702 { echo "$as_me:$LINENO: result: yes" >&5
11703 echo "${ECHO_T}yes" >&6; }
11704 else
11705 { echo "$as_me:$LINENO: result: no" >&5
11706 echo "${ECHO_T}no" >&6; }
11707 fi
11708
11709
11710 enablestring=
11711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11712 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11713 no_cache=0
11714 # Check whether --enable-progressdlg was given.
11715 if test "${enable_progressdlg+set}" = set; then
11716 enableval=$enable_progressdlg;
11717 if test "$enableval" = yes; then
11718 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11719 else
11720 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11721 fi
11722
11723 else
11724
11725 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11726 if test "x$LINE" != x ; then
11727 eval "DEFAULT_$LINE"
11728 else
11729 no_cache=1
11730 fi
11731
11732 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11733
11734 fi
11735
11736
11737 eval "$ac_cv_use_progressdlg"
11738 if test "$no_cache" != 1; then
11739 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11740 fi
11741
11742 if test "$wxUSE_PROGRESSDLG" = yes; then
11743 { echo "$as_me:$LINENO: result: yes" >&5
11744 echo "${ECHO_T}yes" >&6; }
11745 else
11746 { echo "$as_me:$LINENO: result: no" >&5
11747 echo "${ECHO_T}no" >&6; }
11748 fi
11749
11750
11751 enablestring=
11752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11753 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11754 no_cache=0
11755 # Check whether --enable-wizarddlg was given.
11756 if test "${enable_wizarddlg+set}" = set; then
11757 enableval=$enable_wizarddlg;
11758 if test "$enableval" = yes; then
11759 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11760 else
11761 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11762 fi
11763
11764 else
11765
11766 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11767 if test "x$LINE" != x ; then
11768 eval "DEFAULT_$LINE"
11769 else
11770 no_cache=1
11771 fi
11772
11773 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11774
11775 fi
11776
11777
11778 eval "$ac_cv_use_wizarddlg"
11779 if test "$no_cache" != 1; then
11780 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11781 fi
11782
11783 if test "$wxUSE_WIZARDDLG" = yes; then
11784 { echo "$as_me:$LINENO: result: yes" >&5
11785 echo "${ECHO_T}yes" >&6; }
11786 else
11787 { echo "$as_me:$LINENO: result: no" >&5
11788 echo "${ECHO_T}no" >&6; }
11789 fi
11790
11791
11792
11793
11794 enablestring=
11795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11796 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11797 no_cache=0
11798 # Check whether --enable-menus was given.
11799 if test "${enable_menus+set}" = set; then
11800 enableval=$enable_menus;
11801 if test "$enableval" = yes; then
11802 ac_cv_use_menus='wxUSE_MENUS=yes'
11803 else
11804 ac_cv_use_menus='wxUSE_MENUS=no'
11805 fi
11806
11807 else
11808
11809 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11810 if test "x$LINE" != x ; then
11811 eval "DEFAULT_$LINE"
11812 else
11813 no_cache=1
11814 fi
11815
11816 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11817
11818 fi
11819
11820
11821 eval "$ac_cv_use_menus"
11822 if test "$no_cache" != 1; then
11823 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11824 fi
11825
11826 if test "$wxUSE_MENUS" = yes; then
11827 { echo "$as_me:$LINENO: result: yes" >&5
11828 echo "${ECHO_T}yes" >&6; }
11829 else
11830 { echo "$as_me:$LINENO: result: no" >&5
11831 echo "${ECHO_T}no" >&6; }
11832 fi
11833
11834
11835 enablestring=
11836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11837 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11838 no_cache=0
11839 # Check whether --enable-miniframe was given.
11840 if test "${enable_miniframe+set}" = set; then
11841 enableval=$enable_miniframe;
11842 if test "$enableval" = yes; then
11843 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11844 else
11845 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11846 fi
11847
11848 else
11849
11850 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11851 if test "x$LINE" != x ; then
11852 eval "DEFAULT_$LINE"
11853 else
11854 no_cache=1
11855 fi
11856
11857 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11858
11859 fi
11860
11861
11862 eval "$ac_cv_use_miniframe"
11863 if test "$no_cache" != 1; then
11864 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11865 fi
11866
11867 if test "$wxUSE_MINIFRAME" = yes; then
11868 { echo "$as_me:$LINENO: result: yes" >&5
11869 echo "${ECHO_T}yes" >&6; }
11870 else
11871 { echo "$as_me:$LINENO: result: no" >&5
11872 echo "${ECHO_T}no" >&6; }
11873 fi
11874
11875
11876 enablestring=
11877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11878 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11879 no_cache=0
11880 # Check whether --enable-tooltips was given.
11881 if test "${enable_tooltips+set}" = set; then
11882 enableval=$enable_tooltips;
11883 if test "$enableval" = yes; then
11884 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11885 else
11886 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11887 fi
11888
11889 else
11890
11891 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11892 if test "x$LINE" != x ; then
11893 eval "DEFAULT_$LINE"
11894 else
11895 no_cache=1
11896 fi
11897
11898 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11899
11900 fi
11901
11902
11903 eval "$ac_cv_use_tooltips"
11904 if test "$no_cache" != 1; then
11905 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11906 fi
11907
11908 if test "$wxUSE_TOOLTIPS" = yes; then
11909 { echo "$as_me:$LINENO: result: yes" >&5
11910 echo "${ECHO_T}yes" >&6; }
11911 else
11912 { echo "$as_me:$LINENO: result: no" >&5
11913 echo "${ECHO_T}no" >&6; }
11914 fi
11915
11916
11917 enablestring=
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11920 no_cache=0
11921 # Check whether --enable-splines was given.
11922 if test "${enable_splines+set}" = set; then
11923 enableval=$enable_splines;
11924 if test "$enableval" = yes; then
11925 ac_cv_use_splines='wxUSE_SPLINES=yes'
11926 else
11927 ac_cv_use_splines='wxUSE_SPLINES=no'
11928 fi
11929
11930 else
11931
11932 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11933 if test "x$LINE" != x ; then
11934 eval "DEFAULT_$LINE"
11935 else
11936 no_cache=1
11937 fi
11938
11939 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11940
11941 fi
11942
11943
11944 eval "$ac_cv_use_splines"
11945 if test "$no_cache" != 1; then
11946 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11947 fi
11948
11949 if test "$wxUSE_SPLINES" = yes; then
11950 { echo "$as_me:$LINENO: result: yes" >&5
11951 echo "${ECHO_T}yes" >&6; }
11952 else
11953 { echo "$as_me:$LINENO: result: no" >&5
11954 echo "${ECHO_T}no" >&6; }
11955 fi
11956
11957
11958 enablestring=
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11961 no_cache=0
11962 # Check whether --enable-mousewheel was given.
11963 if test "${enable_mousewheel+set}" = set; then
11964 enableval=$enable_mousewheel;
11965 if test "$enableval" = yes; then
11966 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11967 else
11968 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11969 fi
11970
11971 else
11972
11973 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11974 if test "x$LINE" != x ; then
11975 eval "DEFAULT_$LINE"
11976 else
11977 no_cache=1
11978 fi
11979
11980 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11981
11982 fi
11983
11984
11985 eval "$ac_cv_use_mousewheel"
11986 if test "$no_cache" != 1; then
11987 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11988 fi
11989
11990 if test "$wxUSE_MOUSEWHEEL" = yes; then
11991 { echo "$as_me:$LINENO: result: yes" >&5
11992 echo "${ECHO_T}yes" >&6; }
11993 else
11994 { echo "$as_me:$LINENO: result: no" >&5
11995 echo "${ECHO_T}no" >&6; }
11996 fi
11997
11998
11999 enablestring=
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12002 no_cache=0
12003 # Check whether --enable-validators was given.
12004 if test "${enable_validators+set}" = set; then
12005 enableval=$enable_validators;
12006 if test "$enableval" = yes; then
12007 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12008 else
12009 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12010 fi
12011
12012 else
12013
12014 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
12015 if test "x$LINE" != x ; then
12016 eval "DEFAULT_$LINE"
12017 else
12018 no_cache=1
12019 fi
12020
12021 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12022
12023 fi
12024
12025
12026 eval "$ac_cv_use_validators"
12027 if test "$no_cache" != 1; then
12028 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12029 fi
12030
12031 if test "$wxUSE_VALIDATORS" = yes; then
12032 { echo "$as_me:$LINENO: result: yes" >&5
12033 echo "${ECHO_T}yes" >&6; }
12034 else
12035 { echo "$as_me:$LINENO: result: no" >&5
12036 echo "${ECHO_T}no" >&6; }
12037 fi
12038
12039
12040 enablestring=
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12043 no_cache=0
12044 # Check whether --enable-busyinfo was given.
12045 if test "${enable_busyinfo+set}" = set; then
12046 enableval=$enable_busyinfo;
12047 if test "$enableval" = yes; then
12048 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12049 else
12050 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12051 fi
12052
12053 else
12054
12055 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
12056 if test "x$LINE" != x ; then
12057 eval "DEFAULT_$LINE"
12058 else
12059 no_cache=1
12060 fi
12061
12062 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12063
12064 fi
12065
12066
12067 eval "$ac_cv_use_busyinfo"
12068 if test "$no_cache" != 1; then
12069 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12070 fi
12071
12072 if test "$wxUSE_BUSYINFO" = yes; then
12073 { echo "$as_me:$LINENO: result: yes" >&5
12074 echo "${ECHO_T}yes" >&6; }
12075 else
12076 { echo "$as_me:$LINENO: result: no" >&5
12077 echo "${ECHO_T}no" >&6; }
12078 fi
12079
12080
12081 enablestring=
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12084 no_cache=0
12085 # Check whether --enable-joystick was given.
12086 if test "${enable_joystick+set}" = set; then
12087 enableval=$enable_joystick;
12088 if test "$enableval" = yes; then
12089 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12090 else
12091 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12092 fi
12093
12094 else
12095
12096 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
12097 if test "x$LINE" != x ; then
12098 eval "DEFAULT_$LINE"
12099 else
12100 no_cache=1
12101 fi
12102
12103 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12104
12105 fi
12106
12107
12108 eval "$ac_cv_use_joystick"
12109 if test "$no_cache" != 1; then
12110 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12111 fi
12112
12113 if test "$wxUSE_JOYSTICK" = yes; then
12114 { echo "$as_me:$LINENO: result: yes" >&5
12115 echo "${ECHO_T}yes" >&6; }
12116 else
12117 { echo "$as_me:$LINENO: result: no" >&5
12118 echo "${ECHO_T}no" >&6; }
12119 fi
12120
12121
12122 enablestring=
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12125 no_cache=0
12126 # Check whether --enable-metafile was given.
12127 if test "${enable_metafile+set}" = set; then
12128 enableval=$enable_metafile;
12129 if test "$enableval" = yes; then
12130 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12131 else
12132 ac_cv_use_metafile='wxUSE_METAFILE=no'
12133 fi
12134
12135 else
12136
12137 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12140 else
12141 no_cache=1
12142 fi
12143
12144 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12145
12146 fi
12147
12148
12149 eval "$ac_cv_use_metafile"
12150 if test "$no_cache" != 1; then
12151 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12152 fi
12153
12154 if test "$wxUSE_METAFILE" = yes; then
12155 { echo "$as_me:$LINENO: result: yes" >&5
12156 echo "${ECHO_T}yes" >&6; }
12157 else
12158 { echo "$as_me:$LINENO: result: no" >&5
12159 echo "${ECHO_T}no" >&6; }
12160 fi
12161
12162
12163 enablestring=
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12166 no_cache=0
12167 # Check whether --enable-dragimage was given.
12168 if test "${enable_dragimage+set}" = set; then
12169 enableval=$enable_dragimage;
12170 if test "$enableval" = yes; then
12171 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12172 else
12173 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12174 fi
12175
12176 else
12177
12178 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12179 if test "x$LINE" != x ; then
12180 eval "DEFAULT_$LINE"
12181 else
12182 no_cache=1
12183 fi
12184
12185 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12186
12187 fi
12188
12189
12190 eval "$ac_cv_use_dragimage"
12191 if test "$no_cache" != 1; then
12192 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12193 fi
12194
12195 if test "$wxUSE_DRAGIMAGE" = yes; then
12196 { echo "$as_me:$LINENO: result: yes" >&5
12197 echo "${ECHO_T}yes" >&6; }
12198 else
12199 { echo "$as_me:$LINENO: result: no" >&5
12200 echo "${ECHO_T}no" >&6; }
12201 fi
12202
12203
12204 enablestring=
12205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12206 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12207 no_cache=0
12208 # Check whether --enable-accessibility was given.
12209 if test "${enable_accessibility+set}" = set; then
12210 enableval=$enable_accessibility;
12211 if test "$enableval" = yes; then
12212 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12213 else
12214 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12215 fi
12216
12217 else
12218
12219 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12220 if test "x$LINE" != x ; then
12221 eval "DEFAULT_$LINE"
12222 else
12223 no_cache=1
12224 fi
12225
12226 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12227
12228 fi
12229
12230
12231 eval "$ac_cv_use_accessibility"
12232 if test "$no_cache" != 1; then
12233 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12234 fi
12235
12236 if test "$wxUSE_ACCESSIBILITY" = yes; then
12237 { echo "$as_me:$LINENO: result: yes" >&5
12238 echo "${ECHO_T}yes" >&6; }
12239 else
12240 { echo "$as_me:$LINENO: result: no" >&5
12241 echo "${ECHO_T}no" >&6; }
12242 fi
12243
12244
12245 if test "$wxUSE_MSW" = "1"; then
12246
12247 enablestring=
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12250 no_cache=0
12251 # Check whether --enable-dccache was given.
12252 if test "${enable_dccache+set}" = set; then
12253 enableval=$enable_dccache;
12254 if test "$enableval" = yes; then
12255 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12256 else
12257 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12258 fi
12259
12260 else
12261
12262 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12263 if test "x$LINE" != x ; then
12264 eval "DEFAULT_$LINE"
12265 else
12266 no_cache=1
12267 fi
12268
12269 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12270
12271 fi
12272
12273
12274 eval "$ac_cv_use_dccache"
12275 if test "$no_cache" != 1; then
12276 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12277 fi
12278
12279 if test "$wxUSE_DC_CACHEING" = yes; then
12280 { echo "$as_me:$LINENO: result: yes" >&5
12281 echo "${ECHO_T}yes" >&6; }
12282 else
12283 { echo "$as_me:$LINENO: result: no" >&5
12284 echo "${ECHO_T}no" >&6; }
12285 fi
12286
12287 fi
12288
12289
12290
12291 enablestring=
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12294 no_cache=0
12295 # Check whether --enable-palette was given.
12296 if test "${enable_palette+set}" = set; then
12297 enableval=$enable_palette;
12298 if test "$enableval" = yes; then
12299 ac_cv_use_palette='wxUSE_PALETTE=yes'
12300 else
12301 ac_cv_use_palette='wxUSE_PALETTE=no'
12302 fi
12303
12304 else
12305
12306 LINE=`grep "wxUSE_PALETTE" ${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_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12314
12315 fi
12316
12317
12318 eval "$ac_cv_use_palette"
12319 if test "$no_cache" != 1; then
12320 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12321 fi
12322
12323 if test "$wxUSE_PALETTE" = 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
12332 enablestring=
12333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12334 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12335 no_cache=0
12336 # Check whether --enable-image was given.
12337 if test "${enable_image+set}" = set; then
12338 enableval=$enable_image;
12339 if test "$enableval" = yes; then
12340 ac_cv_use_image='wxUSE_IMAGE=yes'
12341 else
12342 ac_cv_use_image='wxUSE_IMAGE=no'
12343 fi
12344
12345 else
12346
12347 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12348 if test "x$LINE" != x ; then
12349 eval "DEFAULT_$LINE"
12350 else
12351 no_cache=1
12352 fi
12353
12354 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12355
12356 fi
12357
12358
12359 eval "$ac_cv_use_image"
12360 if test "$no_cache" != 1; then
12361 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12362 fi
12363
12364 if test "$wxUSE_IMAGE" = yes; then
12365 { echo "$as_me:$LINENO: result: yes" >&5
12366 echo "${ECHO_T}yes" >&6; }
12367 else
12368 { echo "$as_me:$LINENO: result: no" >&5
12369 echo "${ECHO_T}no" >&6; }
12370 fi
12371
12372
12373 enablestring=
12374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12375 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12376 no_cache=0
12377 # Check whether --enable-gif was given.
12378 if test "${enable_gif+set}" = set; then
12379 enableval=$enable_gif;
12380 if test "$enableval" = yes; then
12381 ac_cv_use_gif='wxUSE_GIF=yes'
12382 else
12383 ac_cv_use_gif='wxUSE_GIF=no'
12384 fi
12385
12386 else
12387
12388 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12389 if test "x$LINE" != x ; then
12390 eval "DEFAULT_$LINE"
12391 else
12392 no_cache=1
12393 fi
12394
12395 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12396
12397 fi
12398
12399
12400 eval "$ac_cv_use_gif"
12401 if test "$no_cache" != 1; then
12402 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12403 fi
12404
12405 if test "$wxUSE_GIF" = yes; then
12406 { echo "$as_me:$LINENO: result: yes" >&5
12407 echo "${ECHO_T}yes" >&6; }
12408 else
12409 { echo "$as_me:$LINENO: result: no" >&5
12410 echo "${ECHO_T}no" >&6; }
12411 fi
12412
12413
12414 enablestring=
12415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12416 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12417 no_cache=0
12418 # Check whether --enable-pcx was given.
12419 if test "${enable_pcx+set}" = set; then
12420 enableval=$enable_pcx;
12421 if test "$enableval" = yes; then
12422 ac_cv_use_pcx='wxUSE_PCX=yes'
12423 else
12424 ac_cv_use_pcx='wxUSE_PCX=no'
12425 fi
12426
12427 else
12428
12429 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12430 if test "x$LINE" != x ; then
12431 eval "DEFAULT_$LINE"
12432 else
12433 no_cache=1
12434 fi
12435
12436 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12437
12438 fi
12439
12440
12441 eval "$ac_cv_use_pcx"
12442 if test "$no_cache" != 1; then
12443 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12444 fi
12445
12446 if test "$wxUSE_PCX" = yes; then
12447 { echo "$as_me:$LINENO: result: yes" >&5
12448 echo "${ECHO_T}yes" >&6; }
12449 else
12450 { echo "$as_me:$LINENO: result: no" >&5
12451 echo "${ECHO_T}no" >&6; }
12452 fi
12453
12454
12455 enablestring=
12456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12457 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12458 no_cache=0
12459 # Check whether --enable-tga was given.
12460 if test "${enable_tga+set}" = set; then
12461 enableval=$enable_tga;
12462 if test "$enableval" = yes; then
12463 ac_cv_use_tga='wxUSE_TGA=yes'
12464 else
12465 ac_cv_use_tga='wxUSE_TGA=no'
12466 fi
12467
12468 else
12469
12470 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12471 if test "x$LINE" != x ; then
12472 eval "DEFAULT_$LINE"
12473 else
12474 no_cache=1
12475 fi
12476
12477 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12478
12479 fi
12480
12481
12482 eval "$ac_cv_use_tga"
12483 if test "$no_cache" != 1; then
12484 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12485 fi
12486
12487 if test "$wxUSE_TGA" = yes; then
12488 { echo "$as_me:$LINENO: result: yes" >&5
12489 echo "${ECHO_T}yes" >&6; }
12490 else
12491 { echo "$as_me:$LINENO: result: no" >&5
12492 echo "${ECHO_T}no" >&6; }
12493 fi
12494
12495
12496 enablestring=
12497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12498 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12499 no_cache=0
12500 # Check whether --enable-iff was given.
12501 if test "${enable_iff+set}" = set; then
12502 enableval=$enable_iff;
12503 if test "$enableval" = yes; then
12504 ac_cv_use_iff='wxUSE_IFF=yes'
12505 else
12506 ac_cv_use_iff='wxUSE_IFF=no'
12507 fi
12508
12509 else
12510
12511 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12512 if test "x$LINE" != x ; then
12513 eval "DEFAULT_$LINE"
12514 else
12515 no_cache=1
12516 fi
12517
12518 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12519
12520 fi
12521
12522
12523 eval "$ac_cv_use_iff"
12524 if test "$no_cache" != 1; then
12525 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12526 fi
12527
12528 if test "$wxUSE_IFF" = yes; then
12529 { echo "$as_me:$LINENO: result: yes" >&5
12530 echo "${ECHO_T}yes" >&6; }
12531 else
12532 { echo "$as_me:$LINENO: result: no" >&5
12533 echo "${ECHO_T}no" >&6; }
12534 fi
12535
12536
12537 enablestring=
12538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12539 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12540 no_cache=0
12541 # Check whether --enable-pnm was given.
12542 if test "${enable_pnm+set}" = set; then
12543 enableval=$enable_pnm;
12544 if test "$enableval" = yes; then
12545 ac_cv_use_pnm='wxUSE_PNM=yes'
12546 else
12547 ac_cv_use_pnm='wxUSE_PNM=no'
12548 fi
12549
12550 else
12551
12552 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12553 if test "x$LINE" != x ; then
12554 eval "DEFAULT_$LINE"
12555 else
12556 no_cache=1
12557 fi
12558
12559 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12560
12561 fi
12562
12563
12564 eval "$ac_cv_use_pnm"
12565 if test "$no_cache" != 1; then
12566 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12567 fi
12568
12569 if test "$wxUSE_PNM" = yes; then
12570 { echo "$as_me:$LINENO: result: yes" >&5
12571 echo "${ECHO_T}yes" >&6; }
12572 else
12573 { echo "$as_me:$LINENO: result: no" >&5
12574 echo "${ECHO_T}no" >&6; }
12575 fi
12576
12577
12578 enablestring=
12579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12580 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12581 no_cache=0
12582 # Check whether --enable-xpm was given.
12583 if test "${enable_xpm+set}" = set; then
12584 enableval=$enable_xpm;
12585 if test "$enableval" = yes; then
12586 ac_cv_use_xpm='wxUSE_XPM=yes'
12587 else
12588 ac_cv_use_xpm='wxUSE_XPM=no'
12589 fi
12590
12591 else
12592
12593 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12594 if test "x$LINE" != x ; then
12595 eval "DEFAULT_$LINE"
12596 else
12597 no_cache=1
12598 fi
12599
12600 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12601
12602 fi
12603
12604
12605 eval "$ac_cv_use_xpm"
12606 if test "$no_cache" != 1; then
12607 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12608 fi
12609
12610 if test "$wxUSE_XPM" = yes; then
12611 { echo "$as_me:$LINENO: result: yes" >&5
12612 echo "${ECHO_T}yes" >&6; }
12613 else
12614 { echo "$as_me:$LINENO: result: no" >&5
12615 echo "${ECHO_T}no" >&6; }
12616 fi
12617
12618
12619 enablestring=
12620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12621 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12622 no_cache=0
12623 # Check whether --enable-ico_cur was given.
12624 if test "${enable_ico_cur+set}" = set; then
12625 enableval=$enable_ico_cur;
12626 if test "$enableval" = yes; then
12627 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12628 else
12629 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12630 fi
12631
12632 else
12633
12634 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12635 if test "x$LINE" != x ; then
12636 eval "DEFAULT_$LINE"
12637 else
12638 no_cache=1
12639 fi
12640
12641 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12642
12643 fi
12644
12645
12646 eval "$ac_cv_use_ico_cur"
12647 if test "$no_cache" != 1; then
12648 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12649 fi
12650
12651 if test "$wxUSE_ICO_CUR" = yes; then
12652 { echo "$as_me:$LINENO: result: yes" >&5
12653 echo "${ECHO_T}yes" >&6; }
12654 else
12655 { echo "$as_me:$LINENO: result: no" >&5
12656 echo "${ECHO_T}no" >&6; }
12657 fi
12658
12659
12660 fi
12661
12662
12663
12664 # Check whether --with-flavour was given.
12665 if test "${with_flavour+set}" = set; then
12666 withval=$with_flavour; WX_FLAVOUR="$withval"
12667 fi
12668
12669
12670
12671
12672 enablestring=
12673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12674 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12675 no_cache=0
12676 # Check whether --enable-official_build was given.
12677 if test "${enable_official_build+set}" = set; then
12678 enableval=$enable_official_build;
12679 if test "$enableval" = yes; then
12680 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12681 else
12682 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12683 fi
12684
12685 else
12686
12687 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12688 if test "x$LINE" != x ; then
12689 eval "DEFAULT_$LINE"
12690 else
12691 no_cache=1
12692 fi
12693
12694 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12695
12696 fi
12697
12698
12699 eval "$ac_cv_use_official_build"
12700 if test "$no_cache" != 1; then
12701 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12702 fi
12703
12704 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12705 { echo "$as_me:$LINENO: result: yes" >&5
12706 echo "${ECHO_T}yes" >&6; }
12707 else
12708 { echo "$as_me:$LINENO: result: no" >&5
12709 echo "${ECHO_T}no" >&6; }
12710 fi
12711
12712 # Check whether --enable-vendor was given.
12713 if test "${enable_vendor+set}" = set; then
12714 enableval=$enable_vendor; VENDOR="$enableval"
12715 fi
12716
12717 if test "x$VENDOR" = "x"; then
12718 VENDOR="custom"
12719 fi
12720
12721
12722
12723
12724 echo "saving argument cache $wx_arg_cache_file"
12725 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12726
12727
12728
12729 { echo "$as_me:$LINENO: checking for toolkit" >&5
12730 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12731
12732 # In Wine, we need to default to MSW, not GTK or MOTIF
12733 if test "$wxUSE_WINE" = "yes"; then
12734 DEFAULT_DEFAULT_wxUSE_GTK=0
12735 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12736 DEFAULT_DEFAULT_wxUSE_MSW=1
12737 wxUSE_SHARED=no
12738 CC=${CC:-winegcc}
12739 CXX=${CXX:-wineg++}
12740 fi
12741
12742
12743 if test "$wxUSE_GUI" = "yes"; then
12744
12745 if test "$USE_BEOS" = 1; then
12746 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12747 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12748 { (exit 1); exit 1; }; }
12749 fi
12750
12751 if test "$TOOLKIT_GIVEN" = 1; then
12752 for toolkit in `echo $ALL_TOOLKITS`; do
12753 var=wxUSE_$toolkit
12754 eval "value=\$${var}"
12755 if test "x$value" = "xno"; then
12756 eval "$var=0"
12757 elif test "x$value" != "x"; then
12758 eval "$var=1"
12759 fi
12760
12761 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12762 eval "wx${toolkit}_VERSION=$value"
12763 fi
12764 done
12765 else
12766 for toolkit in `echo $ALL_TOOLKITS`; do
12767 if test "$has_toolkit_in_cache" != 1; then
12768 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12769 else
12770 var=DEFAULT_wxUSE_$toolkit
12771
12772 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12773 if test "x$version" != "x"; then
12774 eval "wx${toolkit}_VERSION=$version"
12775 fi
12776 fi
12777 eval "wxUSE_$toolkit=\$${var}"
12778 done
12779 fi
12780
12781 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12782 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12783 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12784
12785 case "${host}" in
12786 *-pc-os2_emx | *-pc-os2-emx )
12787 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12788 esac
12789
12790 case "$NUM_TOOLKITS" in
12791 1)
12792 ;;
12793 0)
12794 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12795 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12796 { (exit 1); exit 1; }; }
12797 ;;
12798 *)
12799 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12800 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12801 { (exit 1); exit 1; }; }
12802 esac
12803
12804 # to be removed when --disable-gtk2 isn't needed
12805 if test "x$wxUSE_GTK2" = "xyes"; then
12806 wxGTK_VERSION=2
12807 elif test "x$wxUSE_GTK2" = "xno"; then
12808 wxGTK_VERSION=1
12809 fi
12810
12811 for toolkit in `echo $ALL_TOOLKITS`; do
12812 var=wxUSE_$toolkit
12813 eval "value=\$${var}"
12814 if test "x$value" != x; then
12815 cache_var=CACHE_$toolkit
12816 eval "cache=\$${cache_var}"
12817 if test "$cache" = 1; then
12818 echo "$var=$value" >> ${wx_arg_cache_file}
12819 eval "version=\$wx${toolkit}_VERSION"
12820 if test "x$version" != "x"; then
12821 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12822 fi
12823 fi
12824 if test "$value" = 1; then
12825 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12826 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12827 echo "${ECHO_T}$toolkit_echo" >&6; }
12828 fi
12829 fi
12830 done
12831 else
12832 if test "x$host_alias" != "x"; then
12833 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12834 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12835 else
12836 { echo "$as_me:$LINENO: result: base only" >&5
12837 echo "${ECHO_T}base only" >&6; }
12838 fi
12839 fi
12840
12841
12842 cat >confcache <<\_ACEOF
12843 # This file is a shell script that caches the results of configure
12844 # tests run on this system so they can be shared between configure
12845 # scripts and configure runs, see configure's option --config-cache.
12846 # It is not useful on other systems. If it contains results you don't
12847 # want to keep, you may remove or edit it.
12848 #
12849 # config.status only pays attention to the cache file if you give it
12850 # the --recheck option to rerun configure.
12851 #
12852 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12853 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12854 # following values.
12855
12856 _ACEOF
12857
12858 # The following way of writing the cache mishandles newlines in values,
12859 # but we know of no workaround that is simple, portable, and efficient.
12860 # So, we kill variables containing newlines.
12861 # Ultrix sh set writes to stderr and can't be redirected directly,
12862 # and sets the high bit in the cache file unless we assign to the vars.
12863 (
12864 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12865 eval ac_val=\$$ac_var
12866 case $ac_val in #(
12867 *${as_nl}*)
12868 case $ac_var in #(
12869 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12870 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12871 esac
12872 case $ac_var in #(
12873 _ | IFS | as_nl) ;; #(
12874 *) $as_unset $ac_var ;;
12875 esac ;;
12876 esac
12877 done
12878
12879 (set) 2>&1 |
12880 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12881 *${as_nl}ac_space=\ *)
12882 # `set' does not quote correctly, so add quotes (double-quote
12883 # substitution turns \\\\ into \\, and sed turns \\ into \).
12884 sed -n \
12885 "s/'/'\\\\''/g;
12886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12887 ;; #(
12888 *)
12889 # `set' quotes correctly as required by POSIX, so do not add quotes.
12890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12891 ;;
12892 esac |
12893 sort
12894 ) |
12895 sed '
12896 /^ac_cv_env_/b end
12897 t clear
12898 :clear
12899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12900 t end
12901 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12902 :end' >>confcache
12903 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12904 if test -w "$cache_file"; then
12905 test "x$cache_file" != "x/dev/null" &&
12906 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12907 echo "$as_me: updating cache $cache_file" >&6;}
12908 cat confcache >$cache_file
12909 else
12910 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12911 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12912 fi
12913 fi
12914 rm -f confcache
12915
12916 CFLAGS=${CFLAGS:=}
12917
12918
12919
12920 ac_ext=c
12921 ac_cpp='$CPP $CPPFLAGS'
12922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12925 if test -n "$ac_tool_prefix"; then
12926 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12927 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12930 if test "${ac_cv_prog_CC+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 else
12933 if test -n "$CC"; then
12934 ac_cv_prog_CC="$CC" # Let the user override the test.
12935 else
12936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12937 for as_dir in $PATH
12938 do
12939 IFS=$as_save_IFS
12940 test -z "$as_dir" && as_dir=.
12941 for ac_exec_ext in '' $ac_executable_extensions; do
12942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12943 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12945 break 2
12946 fi
12947 done
12948 done
12949 IFS=$as_save_IFS
12950
12951 fi
12952 fi
12953 CC=$ac_cv_prog_CC
12954 if test -n "$CC"; then
12955 { echo "$as_me:$LINENO: result: $CC" >&5
12956 echo "${ECHO_T}$CC" >&6; }
12957 else
12958 { echo "$as_me:$LINENO: result: no" >&5
12959 echo "${ECHO_T}no" >&6; }
12960 fi
12961
12962
12963 fi
12964 if test -z "$ac_cv_prog_CC"; then
12965 ac_ct_CC=$CC
12966 # Extract the first word of "gcc", so it can be a program name with args.
12967 set dummy gcc; ac_word=$2
12968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12970 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12971 echo $ECHO_N "(cached) $ECHO_C" >&6
12972 else
12973 if test -n "$ac_ct_CC"; then
12974 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12975 else
12976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12977 for as_dir in $PATH
12978 do
12979 IFS=$as_save_IFS
12980 test -z "$as_dir" && as_dir=.
12981 for ac_exec_ext in '' $ac_executable_extensions; do
12982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12983 ac_cv_prog_ac_ct_CC="gcc"
12984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12985 break 2
12986 fi
12987 done
12988 done
12989 IFS=$as_save_IFS
12990
12991 fi
12992 fi
12993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12994 if test -n "$ac_ct_CC"; then
12995 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12996 echo "${ECHO_T}$ac_ct_CC" >&6; }
12997 else
12998 { echo "$as_me:$LINENO: result: no" >&5
12999 echo "${ECHO_T}no" >&6; }
13000 fi
13001
13002 if test "x$ac_ct_CC" = x; then
13003 CC=""
13004 else
13005 case $cross_compiling:$ac_tool_warned in
13006 yes:)
13007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13008 whose name does not start with the host triplet. If you think this
13009 configuration is useful to you, please write to autoconf@gnu.org." >&5
13010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13011 whose name does not start with the host triplet. If you think this
13012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13013 ac_tool_warned=yes ;;
13014 esac
13015 CC=$ac_ct_CC
13016 fi
13017 else
13018 CC="$ac_cv_prog_CC"
13019 fi
13020
13021 if test -z "$CC"; then
13022 if test -n "$ac_tool_prefix"; then
13023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13024 set dummy ${ac_tool_prefix}cc; ac_word=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_CC+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 else
13030 if test -n "$CC"; then
13031 ac_cv_prog_CC="$CC" # Let the user override the test.
13032 else
13033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13034 for as_dir in $PATH
13035 do
13036 IFS=$as_save_IFS
13037 test -z "$as_dir" && as_dir=.
13038 for ac_exec_ext in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_CC="${ac_tool_prefix}cc"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13042 break 2
13043 fi
13044 done
13045 done
13046 IFS=$as_save_IFS
13047
13048 fi
13049 fi
13050 CC=$ac_cv_prog_CC
13051 if test -n "$CC"; then
13052 { echo "$as_me:$LINENO: result: $CC" >&5
13053 echo "${ECHO_T}$CC" >&6; }
13054 else
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13057 fi
13058
13059
13060 fi
13061 fi
13062 if test -z "$CC"; then
13063 # Extract the first word of "cc", so it can be a program name with args.
13064 set dummy cc; ac_word=$2
13065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13067 if test "${ac_cv_prog_CC+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 else
13070 if test -n "$CC"; then
13071 ac_cv_prog_CC="$CC" # Let the user override the test.
13072 else
13073 ac_prog_rejected=no
13074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13075 for as_dir in $PATH
13076 do
13077 IFS=$as_save_IFS
13078 test -z "$as_dir" && as_dir=.
13079 for ac_exec_ext in '' $ac_executable_extensions; do
13080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13082 ac_prog_rejected=yes
13083 continue
13084 fi
13085 ac_cv_prog_CC="cc"
13086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13087 break 2
13088 fi
13089 done
13090 done
13091 IFS=$as_save_IFS
13092
13093 if test $ac_prog_rejected = yes; then
13094 # We found a bogon in the path, so make sure we never use it.
13095 set dummy $ac_cv_prog_CC
13096 shift
13097 if test $# != 0; then
13098 # We chose a different compiler from the bogus one.
13099 # However, it has the same basename, so the bogon will be chosen
13100 # first if we set CC to just the basename; use the full file name.
13101 shift
13102 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13103 fi
13104 fi
13105 fi
13106 fi
13107 CC=$ac_cv_prog_CC
13108 if test -n "$CC"; then
13109 { echo "$as_me:$LINENO: result: $CC" >&5
13110 echo "${ECHO_T}$CC" >&6; }
13111 else
13112 { echo "$as_me:$LINENO: result: no" >&5
13113 echo "${ECHO_T}no" >&6; }
13114 fi
13115
13116
13117 fi
13118 if test -z "$CC"; then
13119 if test -n "$ac_tool_prefix"; then
13120 for ac_prog in cl.exe
13121 do
13122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13126 if test "${ac_cv_prog_CC+set}" = set; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13128 else
13129 if test -n "$CC"; then
13130 ac_cv_prog_CC="$CC" # Let the user override the test.
13131 else
13132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13133 for as_dir in $PATH
13134 do
13135 IFS=$as_save_IFS
13136 test -z "$as_dir" && as_dir=.
13137 for ac_exec_ext in '' $ac_executable_extensions; do
13138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13141 break 2
13142 fi
13143 done
13144 done
13145 IFS=$as_save_IFS
13146
13147 fi
13148 fi
13149 CC=$ac_cv_prog_CC
13150 if test -n "$CC"; then
13151 { echo "$as_me:$LINENO: result: $CC" >&5
13152 echo "${ECHO_T}$CC" >&6; }
13153 else
13154 { echo "$as_me:$LINENO: result: no" >&5
13155 echo "${ECHO_T}no" >&6; }
13156 fi
13157
13158
13159 test -n "$CC" && break
13160 done
13161 fi
13162 if test -z "$CC"; then
13163 ac_ct_CC=$CC
13164 for ac_prog in cl.exe
13165 do
13166 # Extract the first word of "$ac_prog", so it can be a program name with args.
13167 set dummy $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_ac_ct_CC+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 else
13173 if test -n "$ac_ct_CC"; then
13174 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="$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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13194 if test -n "$ac_ct_CC"; then
13195 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13196 echo "${ECHO_T}$ac_ct_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 "$ac_ct_CC" && break
13204 done
13205
13206 if test "x$ac_ct_CC" = x; then
13207 CC=""
13208 else
13209 case $cross_compiling:$ac_tool_warned in
13210 yes:)
13211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13212 whose name does not start with the host triplet. If you think this
13213 configuration is useful to you, please write to autoconf@gnu.org." >&5
13214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13215 whose name does not start with the host triplet. If you think this
13216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13217 ac_tool_warned=yes ;;
13218 esac
13219 CC=$ac_ct_CC
13220 fi
13221 fi
13222
13223 fi
13224
13225
13226 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: no acceptable C compiler found in \$PATH
13229 See \`config.log' for more details." >&2;}
13230 { (exit 1); exit 1; }; }
13231
13232 # Provide some information about the compiler.
13233 echo "$as_me:$LINENO: checking for C compiler version" >&5
13234 ac_compiler=`set X $ac_compile; echo $2`
13235 { (ac_try="$ac_compiler --version >&5"
13236 case "(($ac_try" in
13237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13238 *) ac_try_echo=$ac_try;;
13239 esac
13240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13241 (eval "$ac_compiler --version >&5") 2>&5
13242 ac_status=$?
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); }
13245 { (ac_try="$ac_compiler -v >&5"
13246 case "(($ac_try" in
13247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13248 *) ac_try_echo=$ac_try;;
13249 esac
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_compiler -v >&5") 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }
13255 { (ac_try="$ac_compiler -V >&5"
13256 case "(($ac_try" in
13257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13258 *) ac_try_echo=$ac_try;;
13259 esac
13260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13261 (eval "$ac_compiler -V >&5") 2>&5
13262 ac_status=$?
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }
13265
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276
13277 ;
13278 return 0;
13279 }
13280 _ACEOF
13281 ac_clean_files_save=$ac_clean_files
13282 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13283 # Try to create an executable without -o first, disregard a.out.
13284 # It will help us diagnose broken compilers, and finding out an intuition
13285 # of exeext.
13286 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13287 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13288 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13289 #
13290 # List of possible output files, starting from the most likely.
13291 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13292 # only as a last resort. b.out is created by i960 compilers.
13293 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13294 #
13295 # The IRIX 6 linker writes into existing files which may not be
13296 # executable, retaining their permissions. Remove them first so a
13297 # subsequent execution test works.
13298 ac_rmfiles=
13299 for ac_file in $ac_files
13300 do
13301 case $ac_file in
13302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13303 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13304 esac
13305 done
13306 rm -f $ac_rmfiles
13307
13308 if { (ac_try="$ac_link_default"
13309 case "(($ac_try" in
13310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13311 *) ac_try_echo=$ac_try;;
13312 esac
13313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13314 (eval "$ac_link_default") 2>&5
13315 ac_status=$?
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; then
13318 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13319 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13320 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13321 # so that the user can short-circuit this test for compilers unknown to
13322 # Autoconf.
13323 for ac_file in $ac_files ''
13324 do
13325 test -f "$ac_file" || continue
13326 case $ac_file in
13327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13328 ;;
13329 [ab].out )
13330 # We found the default executable, but exeext='' is most
13331 # certainly right.
13332 break;;
13333 *.* )
13334 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13335 then :; else
13336 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13337 fi
13338 # We set ac_cv_exeext here because the later test for it is not
13339 # safe: cross compilers may not add the suffix if given an `-o'
13340 # argument, so we may need to know it at that point already.
13341 # Even if this section looks crufty: it has the advantage of
13342 # actually working.
13343 break;;
13344 * )
13345 break;;
13346 esac
13347 done
13348 test "$ac_cv_exeext" = no && ac_cv_exeext=
13349
13350 else
13351 ac_file=''
13352 fi
13353
13354 { echo "$as_me:$LINENO: result: $ac_file" >&5
13355 echo "${ECHO_T}$ac_file" >&6; }
13356 if test -z "$ac_file"; then
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.$ac_ext >&5
13359
13360 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13361 See \`config.log' for more details." >&5
13362 echo "$as_me: error: C compiler cannot create executables
13363 See \`config.log' for more details." >&2;}
13364 { (exit 77); exit 77; }; }
13365 fi
13366
13367 ac_exeext=$ac_cv_exeext
13368
13369 # Check that the compiler produces executables we can run. If not, either
13370 # the compiler is broken, or we cross compile.
13371 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13372 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13373 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13374 # If not cross compiling, check that we can run a simple program.
13375 if test "$cross_compiling" != yes; then
13376 if { ac_try='./$ac_file'
13377 { (case "(($ac_try" in
13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13380 esac
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_try") 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 cross_compiling=no
13387 else
13388 if test "$cross_compiling" = maybe; then
13389 cross_compiling=yes
13390 else
13391 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13392 If you meant to cross compile, use \`--host'.
13393 See \`config.log' for more details." >&5
13394 echo "$as_me: error: cannot run C compiled programs.
13395 If you meant to cross compile, use \`--host'.
13396 See \`config.log' for more details." >&2;}
13397 { (exit 1); exit 1; }; }
13398 fi
13399 fi
13400 fi
13401 { echo "$as_me:$LINENO: result: yes" >&5
13402 echo "${ECHO_T}yes" >&6; }
13403
13404 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13405 ac_clean_files=$ac_clean_files_save
13406 # Check that the compiler produces executables we can run. If not, either
13407 # the compiler is broken, or we cross compile.
13408 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13409 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13410 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13411 echo "${ECHO_T}$cross_compiling" >&6; }
13412
13413 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13414 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13415 if { (ac_try="$ac_link"
13416 case "(($ac_try" in
13417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13418 *) ac_try_echo=$ac_try;;
13419 esac
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_link") 2>&5
13422 ac_status=$?
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; then
13425 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13426 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13427 # work properly (i.e., refer to `conftest.exe'), while it won't with
13428 # `rm'.
13429 for ac_file in conftest.exe conftest conftest.*; do
13430 test -f "$ac_file" || continue
13431 case $ac_file in
13432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13433 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13434 break;;
13435 * ) break;;
13436 esac
13437 done
13438 else
13439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13440 See \`config.log' for more details." >&5
13441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13442 See \`config.log' for more details." >&2;}
13443 { (exit 1); exit 1; }; }
13444 fi
13445
13446 rm -f conftest$ac_cv_exeext
13447 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13448 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13449
13450 rm -f conftest.$ac_ext
13451 EXEEXT=$ac_cv_exeext
13452 ac_exeext=$EXEEXT
13453 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13455 if test "${ac_cv_objext+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 else
13458 cat >conftest.$ac_ext <<_ACEOF
13459 /* confdefs.h. */
13460 _ACEOF
13461 cat confdefs.h >>conftest.$ac_ext
13462 cat >>conftest.$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464
13465 int
13466 main ()
13467 {
13468
13469 ;
13470 return 0;
13471 }
13472 _ACEOF
13473 rm -f conftest.o conftest.obj
13474 if { (ac_try="$ac_compile"
13475 case "(($ac_try" in
13476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13477 *) ac_try_echo=$ac_try;;
13478 esac
13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 (eval "$ac_compile") 2>&5
13481 ac_status=$?
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; then
13484 for ac_file in conftest.o conftest.obj conftest.*; do
13485 test -f "$ac_file" || continue;
13486 case $ac_file in
13487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13488 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13489 break;;
13490 esac
13491 done
13492 else
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13495
13496 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13497 See \`config.log' for more details." >&5
13498 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13499 See \`config.log' for more details." >&2;}
13500 { (exit 1); exit 1; }; }
13501 fi
13502
13503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13504 fi
13505 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13506 echo "${ECHO_T}$ac_cv_objext" >&6; }
13507 OBJEXT=$ac_cv_objext
13508 ac_objext=$OBJEXT
13509 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13510 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13511 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13512 echo $ECHO_N "(cached) $ECHO_C" >&6
13513 else
13514 cat >conftest.$ac_ext <<_ACEOF
13515 /* confdefs.h. */
13516 _ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13520
13521 int
13522 main ()
13523 {
13524 #ifndef __GNUC__
13525 choke me
13526 #endif
13527
13528 ;
13529 return 0;
13530 }
13531 _ACEOF
13532 rm -f conftest.$ac_objext
13533 if { (ac_try="$ac_compile"
13534 case "(($ac_try" in
13535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13536 *) ac_try_echo=$ac_try;;
13537 esac
13538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13539 (eval "$ac_compile") 2>conftest.er1
13540 ac_status=$?
13541 grep -v '^ *+' conftest.er1 >conftest.err
13542 rm -f conftest.er1
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } && {
13546 test -z "$ac_c_werror_flag" ||
13547 test ! -s conftest.err
13548 } && test -s conftest.$ac_objext; then
13549 ac_compiler_gnu=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 ac_compiler_gnu=no
13555 fi
13556
13557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13559
13560 fi
13561 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13562 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13563 GCC=`test $ac_compiler_gnu = yes && echo yes`
13564 ac_test_CFLAGS=${CFLAGS+set}
13565 ac_save_CFLAGS=$CFLAGS
13566 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13567 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13568 if test "${ac_cv_prog_cc_g+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13570 else
13571 ac_save_c_werror_flag=$ac_c_werror_flag
13572 ac_c_werror_flag=yes
13573 ac_cv_prog_cc_g=no
13574 CFLAGS="-g"
13575 cat >conftest.$ac_ext <<_ACEOF
13576 /* confdefs.h. */
13577 _ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13581
13582 int
13583 main ()
13584 {
13585
13586 ;
13587 return 0;
13588 }
13589 _ACEOF
13590 rm -f conftest.$ac_objext
13591 if { (ac_try="$ac_compile"
13592 case "(($ac_try" in
13593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13594 *) ac_try_echo=$ac_try;;
13595 esac
13596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13597 (eval "$ac_compile") 2>conftest.er1
13598 ac_status=$?
13599 grep -v '^ *+' conftest.er1 >conftest.err
13600 rm -f conftest.er1
13601 cat conftest.err >&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } && {
13604 test -z "$ac_c_werror_flag" ||
13605 test ! -s conftest.err
13606 } && test -s conftest.$ac_objext; then
13607 ac_cv_prog_cc_g=yes
13608 else
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.$ac_ext >&5
13611
13612 CFLAGS=""
13613 cat >conftest.$ac_ext <<_ACEOF
13614 /* confdefs.h. */
13615 _ACEOF
13616 cat confdefs.h >>conftest.$ac_ext
13617 cat >>conftest.$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13619
13620 int
13621 main ()
13622 {
13623
13624 ;
13625 return 0;
13626 }
13627 _ACEOF
13628 rm -f conftest.$ac_objext
13629 if { (ac_try="$ac_compile"
13630 case "(($ac_try" in
13631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13633 esac
13634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13635 (eval "$ac_compile") 2>conftest.er1
13636 ac_status=$?
13637 grep -v '^ *+' conftest.er1 >conftest.err
13638 rm -f conftest.er1
13639 cat conftest.err >&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); } && {
13642 test -z "$ac_c_werror_flag" ||
13643 test ! -s conftest.err
13644 } && test -s conftest.$ac_objext; then
13645 :
13646 else
13647 echo "$as_me: failed program was:" >&5
13648 sed 's/^/| /' conftest.$ac_ext >&5
13649
13650 ac_c_werror_flag=$ac_save_c_werror_flag
13651 CFLAGS="-g"
13652 cat >conftest.$ac_ext <<_ACEOF
13653 /* confdefs.h. */
13654 _ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13658
13659 int
13660 main ()
13661 {
13662
13663 ;
13664 return 0;
13665 }
13666 _ACEOF
13667 rm -f conftest.$ac_objext
13668 if { (ac_try="$ac_compile"
13669 case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13672 esac
13673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_compile") 2>conftest.er1
13675 ac_status=$?
13676 grep -v '^ *+' conftest.er1 >conftest.err
13677 rm -f conftest.er1
13678 cat conftest.err >&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest.$ac_objext; then
13684 ac_cv_prog_cc_g=yes
13685 else
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13688
13689
13690 fi
13691
13692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13693 fi
13694
13695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13696 fi
13697
13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13699 ac_c_werror_flag=$ac_save_c_werror_flag
13700 fi
13701 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13702 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13703 if test "$ac_test_CFLAGS" = set; then
13704 CFLAGS=$ac_save_CFLAGS
13705 elif test $ac_cv_prog_cc_g = yes; then
13706 if test "$GCC" = yes; then
13707 CFLAGS="-g -O2"
13708 else
13709 CFLAGS="-g"
13710 fi
13711 else
13712 if test "$GCC" = yes; then
13713 CFLAGS="-O2"
13714 else
13715 CFLAGS=
13716 fi
13717 fi
13718 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13719 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13720 if test "${ac_cv_prog_cc_c89+set}" = set; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13722 else
13723 ac_cv_prog_cc_c89=no
13724 ac_save_CC=$CC
13725 cat >conftest.$ac_ext <<_ACEOF
13726 /* confdefs.h. */
13727 _ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #include <stdarg.h>
13732 #include <stdio.h>
13733 #include <sys/types.h>
13734 #include <sys/stat.h>
13735 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13736 struct buf { int x; };
13737 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13738 static char *e (p, i)
13739 char **p;
13740 int i;
13741 {
13742 return p[i];
13743 }
13744 static char *f (char * (*g) (char **, int), char **p, ...)
13745 {
13746 char *s;
13747 va_list v;
13748 va_start (v,p);
13749 s = g (p, va_arg (v,int));
13750 va_end (v);
13751 return s;
13752 }
13753
13754 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13755 function prototypes and stuff, but not '\xHH' hex character constants.
13756 These don't provoke an error unfortunately, instead are silently treated
13757 as 'x'. The following induces an error, until -std is added to get
13758 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13759 array size at least. It's necessary to write '\x00'==0 to get something
13760 that's true only with -std. */
13761 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13762
13763 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13764 inside strings and character constants. */
13765 #define FOO(x) 'x'
13766 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13767
13768 int test (int i, double x);
13769 struct s1 {int (*f) (int a);};
13770 struct s2 {int (*f) (double a);};
13771 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13772 int argc;
13773 char **argv;
13774 int
13775 main ()
13776 {
13777 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13778 ;
13779 return 0;
13780 }
13781 _ACEOF
13782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13783 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13784 do
13785 CC="$ac_save_CC $ac_arg"
13786 rm -f conftest.$ac_objext
13787 if { (ac_try="$ac_compile"
13788 case "(($ac_try" in
13789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13790 *) ac_try_echo=$ac_try;;
13791 esac
13792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13793 (eval "$ac_compile") 2>conftest.er1
13794 ac_status=$?
13795 grep -v '^ *+' conftest.er1 >conftest.err
13796 rm -f conftest.er1
13797 cat conftest.err >&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); } && {
13800 test -z "$ac_c_werror_flag" ||
13801 test ! -s conftest.err
13802 } && test -s conftest.$ac_objext; then
13803 ac_cv_prog_cc_c89=$ac_arg
13804 else
13805 echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.$ac_ext >&5
13807
13808
13809 fi
13810
13811 rm -f core conftest.err conftest.$ac_objext
13812 test "x$ac_cv_prog_cc_c89" != "xno" && break
13813 done
13814 rm -f conftest.$ac_ext
13815 CC=$ac_save_CC
13816
13817 fi
13818 # AC_CACHE_VAL
13819 case "x$ac_cv_prog_cc_c89" in
13820 x)
13821 { echo "$as_me:$LINENO: result: none needed" >&5
13822 echo "${ECHO_T}none needed" >&6; } ;;
13823 xno)
13824 { echo "$as_me:$LINENO: result: unsupported" >&5
13825 echo "${ECHO_T}unsupported" >&6; } ;;
13826 *)
13827 CC="$CC $ac_cv_prog_cc_c89"
13828 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13829 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13830 esac
13831
13832
13833 ac_ext=c
13834 ac_cpp='$CPP $CPPFLAGS'
13835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13838
13839
13840
13841 ac_ext=c
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13846
13847 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13848 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13849 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 else
13852 cat >conftest.$ac_ext <<_ACEOF
13853 /* confdefs.h. */
13854 _ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858
13859 int
13860 main ()
13861 {
13862
13863 #ifndef __INTEL_COMPILER
13864 choke me
13865 #endif
13866
13867 ;
13868 return 0;
13869 }
13870 _ACEOF
13871 rm -f conftest.$ac_objext
13872 if { (ac_try="$ac_compile"
13873 case "(($ac_try" in
13874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13876 esac
13877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13878 (eval "$ac_compile") 2>conftest.er1
13879 ac_status=$?
13880 grep -v '^ *+' conftest.er1 >conftest.err
13881 rm -f conftest.er1
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } && {
13885 test -z "$ac_c_werror_flag" ||
13886 test ! -s conftest.err
13887 } && test -s conftest.$ac_objext; then
13888 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13889 else
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13892
13893 bakefile_cv_c_compiler___INTEL_COMPILER=no
13894
13895 fi
13896
13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13898
13899
13900 fi
13901 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13902 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13903 ac_ext=c
13904 ac_cpp='$CPP $CPPFLAGS'
13905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13908
13909 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13910 :; INTELCC=yes
13911 else
13912 :;
13913 fi
13914
13915
13916 if test "x$GCC" != "xyes"; then
13917 if test "xCC" = "xC"; then
13918 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13919 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13920 if test "${bakefile_cv_c_exto+set}" = set; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13922 else
13923 cat >conftest.$ac_ext <<_ACEOF
13924 /* confdefs.h. */
13925 _ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929
13930 int
13931 main ()
13932 {
13933
13934 ;
13935 return 0;
13936 }
13937 _ACEOF
13938 rm -f conftest.$ac_objext conftest.$ac_ext.o
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>&5
13941 ac_status=$?
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }; then
13944 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13945 case $ac_file in
13946 conftest.$ac_ext.o)
13947 bakefile_cv_c_exto="-ext o"
13948 ;;
13949 *)
13950 ;;
13951 esac
13952 done
13953 else
13954 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13955 See \`config.log' for more details." >&5
13956 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13957 See \`config.log' for more details." >&2;}
13958 { (exit 1); exit 1; }; }
13959
13960 fi
13961
13962 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13963
13964 fi
13965 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13966 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13967 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13968 if test "c" = "c"; then
13969 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13970 fi
13971 if test "c" = "cxx"; then
13972 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13973 fi
13974 fi
13975
13976 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13977 unset ac_cv_prog_cc_g
13978 ac_test_CFLAGS=${CFLAGS+set}
13979 ac_save_CFLAGS=$CFLAGS
13980 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13981 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13982 if test "${ac_cv_prog_cc_g+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 else
13985 ac_save_c_werror_flag=$ac_c_werror_flag
13986 ac_c_werror_flag=yes
13987 ac_cv_prog_cc_g=no
13988 CFLAGS="-g"
13989 cat >conftest.$ac_ext <<_ACEOF
13990 /* confdefs.h. */
13991 _ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13995
13996 int
13997 main ()
13998 {
13999
14000 ;
14001 return 0;
14002 }
14003 _ACEOF
14004 rm -f conftest.$ac_objext
14005 if { (ac_try="$ac_compile"
14006 case "(($ac_try" in
14007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14008 *) ac_try_echo=$ac_try;;
14009 esac
14010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14011 (eval "$ac_compile") 2>conftest.er1
14012 ac_status=$?
14013 grep -v '^ *+' conftest.er1 >conftest.err
14014 rm -f conftest.er1
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } && {
14018 test -z "$ac_c_werror_flag" ||
14019 test ! -s conftest.err
14020 } && test -s conftest.$ac_objext; then
14021 ac_cv_prog_cc_g=yes
14022 else
14023 echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.$ac_ext >&5
14025
14026 CFLAGS=""
14027 cat >conftest.$ac_ext <<_ACEOF
14028 /* confdefs.h. */
14029 _ACEOF
14030 cat confdefs.h >>conftest.$ac_ext
14031 cat >>conftest.$ac_ext <<_ACEOF
14032 /* end confdefs.h. */
14033
14034 int
14035 main ()
14036 {
14037
14038 ;
14039 return 0;
14040 }
14041 _ACEOF
14042 rm -f conftest.$ac_objext
14043 if { (ac_try="$ac_compile"
14044 case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14047 esac
14048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_compile") 2>conftest.er1
14050 ac_status=$?
14051 grep -v '^ *+' conftest.er1 >conftest.err
14052 rm -f conftest.er1
14053 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } && {
14056 test -z "$ac_c_werror_flag" ||
14057 test ! -s conftest.err
14058 } && test -s conftest.$ac_objext; then
14059 :
14060 else
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14063
14064 ac_c_werror_flag=$ac_save_c_werror_flag
14065 CFLAGS="-g"
14066 cat >conftest.$ac_ext <<_ACEOF
14067 /* confdefs.h. */
14068 _ACEOF
14069 cat confdefs.h >>conftest.$ac_ext
14070 cat >>conftest.$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14072
14073 int
14074 main ()
14075 {
14076
14077 ;
14078 return 0;
14079 }
14080 _ACEOF
14081 rm -f conftest.$ac_objext
14082 if { (ac_try="$ac_compile"
14083 case "(($ac_try" in
14084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14085 *) ac_try_echo=$ac_try;;
14086 esac
14087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14088 (eval "$ac_compile") 2>conftest.er1
14089 ac_status=$?
14090 grep -v '^ *+' conftest.er1 >conftest.err
14091 rm -f conftest.er1
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } && {
14095 test -z "$ac_c_werror_flag" ||
14096 test ! -s conftest.err
14097 } && test -s conftest.$ac_objext; then
14098 ac_cv_prog_cc_g=yes
14099 else
14100 echo "$as_me: failed program was:" >&5
14101 sed 's/^/| /' conftest.$ac_ext >&5
14102
14103
14104 fi
14105
14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 fi
14108
14109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14110 fi
14111
14112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14113 ac_c_werror_flag=$ac_save_c_werror_flag
14114 fi
14115 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14116 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14117 if test "$ac_test_CFLAGS" = set; then
14118 CFLAGS=$ac_save_CFLAGS
14119 elif test $ac_cv_prog_cc_g = yes; then
14120 if test "$GCC" = yes; then
14121 CFLAGS="-g -O2"
14122 else
14123 CFLAGS="-g"
14124 fi
14125 else
14126 if test "$GCC" = yes; then
14127 CFLAGS="-O2"
14128 else
14129 CFLAGS=
14130 fi
14131 fi
14132 fi
14133 fi
14134
14135 case `uname -s` in
14136 AIX*)
14137 ac_ext=c
14138 ac_cpp='$CPP $CPPFLAGS'
14139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14142
14143 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14144 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14145 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 else
14148 cat >conftest.$ac_ext <<_ACEOF
14149 /* confdefs.h. */
14150 _ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154
14155 int
14156 main ()
14157 {
14158 #ifndef __xlC__
14159 choke me
14160 #endif
14161
14162 ;
14163 return 0;
14164 }
14165 _ACEOF
14166 rm -f conftest.$ac_objext
14167 if { (ac_try="$ac_compile"
14168 case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14171 esac
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_compile") 2>conftest.er1
14174 ac_status=$?
14175 grep -v '^ *+' conftest.er1 >conftest.err
14176 rm -f conftest.er1
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && {
14180 test -z "$ac_c_werror_flag" ||
14181 test ! -s conftest.err
14182 } && test -s conftest.$ac_objext; then
14183 bakefile_compiler_xlc=yes
14184 else
14185 echo "$as_me: failed program was:" >&5
14186 sed 's/^/| /' conftest.$ac_ext >&5
14187
14188 bakefile_compiler_xlc=no
14189 fi
14190
14191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14192 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14193
14194 fi
14195 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14196 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14197
14198 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14199 ac_ext=c
14200 ac_cpp='$CPP $CPPFLAGS'
14201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14204
14205
14206 ;;
14207
14208 Darwin)
14209 ac_ext=c
14210 ac_cpp='$CPP $CPPFLAGS'
14211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14214
14215 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14216 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14217 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14219 else
14220 cat >conftest.$ac_ext <<_ACEOF
14221 /* confdefs.h. */
14222 _ACEOF
14223 cat confdefs.h >>conftest.$ac_ext
14224 cat >>conftest.$ac_ext <<_ACEOF
14225 /* end confdefs.h. */
14226
14227 int
14228 main ()
14229 {
14230 #ifndef __MWERKS__
14231 choke me
14232 #endif
14233
14234 ;
14235 return 0;
14236 }
14237 _ACEOF
14238 rm -f conftest.$ac_objext
14239 if { (ac_try="$ac_compile"
14240 case "(($ac_try" in
14241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14242 *) ac_try_echo=$ac_try;;
14243 esac
14244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14245 (eval "$ac_compile") 2>conftest.er1
14246 ac_status=$?
14247 grep -v '^ *+' conftest.er1 >conftest.err
14248 rm -f conftest.er1
14249 cat conftest.err >&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } && {
14252 test -z "$ac_c_werror_flag" ||
14253 test ! -s conftest.err
14254 } && test -s conftest.$ac_objext; then
14255 bakefile_compiler_mwerks=yes
14256 else
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.$ac_ext >&5
14259
14260 bakefile_compiler_mwerks=no
14261 fi
14262
14263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14264 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14265
14266 fi
14267 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14268 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14269
14270 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14271 ac_ext=c
14272 ac_cpp='$CPP $CPPFLAGS'
14273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14276
14277
14278 ac_ext=c
14279 ac_cpp='$CPP $CPPFLAGS'
14280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14283
14284 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14285 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14286 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14288 else
14289 cat >conftest.$ac_ext <<_ACEOF
14290 /* confdefs.h. */
14291 _ACEOF
14292 cat confdefs.h >>conftest.$ac_ext
14293 cat >>conftest.$ac_ext <<_ACEOF
14294 /* end confdefs.h. */
14295
14296 int
14297 main ()
14298 {
14299 #ifndef __xlC__
14300 choke me
14301 #endif
14302
14303 ;
14304 return 0;
14305 }
14306 _ACEOF
14307 rm -f conftest.$ac_objext
14308 if { (ac_try="$ac_compile"
14309 case "(($ac_try" in
14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14311 *) ac_try_echo=$ac_try;;
14312 esac
14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_compile") 2>conftest.er1
14315 ac_status=$?
14316 grep -v '^ *+' conftest.er1 >conftest.err
14317 rm -f conftest.er1
14318 cat conftest.err >&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && {
14321 test -z "$ac_c_werror_flag" ||
14322 test ! -s conftest.err
14323 } && test -s conftest.$ac_objext; then
14324 bakefile_compiler_xlc=yes
14325 else
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.$ac_ext >&5
14328
14329 bakefile_compiler_xlc=no
14330 fi
14331
14332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14333 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14334
14335 fi
14336 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14337 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14338
14339 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14340 ac_ext=c
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14345
14346
14347 ;;
14348
14349 IRIX*)
14350
14351
14352 ac_ext=c
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14357
14358 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14359 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14360 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14362 else
14363 cat >conftest.$ac_ext <<_ACEOF
14364 /* confdefs.h. */
14365 _ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14369
14370 int
14371 main ()
14372 {
14373
14374 #ifndef _SGI_COMPILER_VERSION
14375 choke me
14376 #endif
14377
14378 ;
14379 return 0;
14380 }
14381 _ACEOF
14382 rm -f conftest.$ac_objext
14383 if { (ac_try="$ac_compile"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14387 esac
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_compile") 2>conftest.er1
14390 ac_status=$?
14391 grep -v '^ *+' conftest.er1 >conftest.err
14392 rm -f conftest.er1
14393 cat conftest.err >&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } && {
14396 test -z "$ac_c_werror_flag" ||
14397 test ! -s conftest.err
14398 } && test -s conftest.$ac_objext; then
14399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14400 else
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14403
14404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14405
14406 fi
14407
14408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14409
14410
14411 fi
14412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14413 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14414 ac_ext=c
14415 ac_cpp='$CPP $CPPFLAGS'
14416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14419
14420 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14421 :; SGICC=yes
14422 else
14423 :;
14424 fi
14425
14426
14427 ;;
14428
14429 HP-UX*)
14430
14431
14432 ac_ext=c
14433 ac_cpp='$CPP $CPPFLAGS'
14434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14437
14438 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14439 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14440 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 else
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h. */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449
14450 int
14451 main ()
14452 {
14453
14454 #ifndef __HP_cc
14455 choke me
14456 #endif
14457
14458 ;
14459 return 0;
14460 }
14461 _ACEOF
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14467 esac
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_compile") 2>conftest.er1
14470 ac_status=$?
14471 grep -v '^ *+' conftest.er1 >conftest.err
14472 rm -f conftest.er1
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest.$ac_objext; then
14479 bakefile_cv_c_compiler___HP_cc=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14483
14484 bakefile_cv_c_compiler___HP_cc=no
14485
14486 fi
14487
14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14489
14490
14491 fi
14492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14493 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14494 ac_ext=c
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14499
14500 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14501 :; HPCC=yes
14502 else
14503 :;
14504 fi
14505
14506
14507 ;;
14508
14509 OSF1)
14510
14511
14512 ac_ext=c
14513 ac_cpp='$CPP $CPPFLAGS'
14514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14517
14518 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14519 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14520 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14522 else
14523 cat >conftest.$ac_ext <<_ACEOF
14524 /* confdefs.h. */
14525 _ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14529
14530 int
14531 main ()
14532 {
14533
14534 #ifndef __DECC
14535 choke me
14536 #endif
14537
14538 ;
14539 return 0;
14540 }
14541 _ACEOF
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14547 esac
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 bakefile_cv_c_compiler___DECC=yes
14560 else
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14563
14564 bakefile_cv_c_compiler___DECC=no
14565
14566 fi
14567
14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569
14570
14571 fi
14572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14573 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14574 ac_ext=c
14575 ac_cpp='$CPP $CPPFLAGS'
14576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14579
14580 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14581 :; COMPAQCC=yes
14582 else
14583 :;
14584 fi
14585
14586
14587 ;;
14588
14589 SunOS)
14590
14591
14592 ac_ext=c
14593 ac_cpp='$CPP $CPPFLAGS'
14594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14597
14598 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14599 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14600 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h. */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609
14610 int
14611 main ()
14612 {
14613
14614 #ifndef __SUNPRO_C
14615 choke me
14616 #endif
14617
14618 ;
14619 return 0;
14620 }
14621 _ACEOF
14622 rm -f conftest.$ac_objext
14623 if { (ac_try="$ac_compile"
14624 case "(($ac_try" in
14625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14626 *) ac_try_echo=$ac_try;;
14627 esac
14628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14629 (eval "$ac_compile") 2>conftest.er1
14630 ac_status=$?
14631 grep -v '^ *+' conftest.er1 >conftest.err
14632 rm -f conftest.er1
14633 cat conftest.err >&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } && {
14636 test -z "$ac_c_werror_flag" ||
14637 test ! -s conftest.err
14638 } && test -s conftest.$ac_objext; then
14639 bakefile_cv_c_compiler___SUNPRO_C=yes
14640 else
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14643
14644 bakefile_cv_c_compiler___SUNPRO_C=no
14645
14646 fi
14647
14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649
14650
14651 fi
14652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14653 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14654 ac_ext=c
14655 ac_cpp='$CPP $CPPFLAGS'
14656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14659
14660 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14661 :; SUNCC=yes
14662 else
14663 :;
14664 fi
14665
14666
14667 ;;
14668 esac
14669 fi
14670
14671
14672
14673 ac_ext=c
14674 ac_cpp='$CPP $CPPFLAGS'
14675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14678 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14679 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14680 # On Suns, sometimes $CPP names a directory.
14681 if test -n "$CPP" && test -d "$CPP"; then
14682 CPP=
14683 fi
14684 if test -z "$CPP"; then
14685 if test "${ac_cv_prog_CPP+set}" = set; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 else
14688 # Double quotes because CPP needs to be expanded
14689 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14690 do
14691 ac_preproc_ok=false
14692 for ac_c_preproc_warn_flag in '' yes
14693 do
14694 # Use a header file that comes with gcc, so configuring glibc
14695 # with a fresh cross-compiler works.
14696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14697 # <limits.h> exists even on freestanding compilers.
14698 # On the NeXT, cc -E runs the code through the compiler's parser,
14699 # not just through cpp. "Syntax error" is here to catch this case.
14700 cat >conftest.$ac_ext <<_ACEOF
14701 /* confdefs.h. */
14702 _ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706 #ifdef __STDC__
14707 # include <limits.h>
14708 #else
14709 # include <assert.h>
14710 #endif
14711 Syntax error
14712 _ACEOF
14713 if { (ac_try="$ac_cpp conftest.$ac_ext"
14714 case "(($ac_try" in
14715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14716 *) ac_try_echo=$ac_try;;
14717 esac
14718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14720 ac_status=$?
14721 grep -v '^ *+' conftest.er1 >conftest.err
14722 rm -f conftest.er1
14723 cat conftest.err >&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } >/dev/null && {
14726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14727 test ! -s conftest.err
14728 }; then
14729 :
14730 else
14731 echo "$as_me: failed program was:" >&5
14732 sed 's/^/| /' conftest.$ac_ext >&5
14733
14734 # Broken: fails on valid input.
14735 continue
14736 fi
14737
14738 rm -f conftest.err conftest.$ac_ext
14739
14740 # OK, works on sane cases. Now check whether nonexistent headers
14741 # can be detected and how.
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <ac_nonexistent.h>
14749 _ACEOF
14750 if { (ac_try="$ac_cpp conftest.$ac_ext"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14754 esac
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14757 ac_status=$?
14758 grep -v '^ *+' conftest.er1 >conftest.err
14759 rm -f conftest.er1
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } >/dev/null && {
14763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14765 }; then
14766 # Broken: success on invalid input.
14767 continue
14768 else
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.$ac_ext >&5
14771
14772 # Passes both tests.
14773 ac_preproc_ok=:
14774 break
14775 fi
14776
14777 rm -f conftest.err conftest.$ac_ext
14778
14779 done
14780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14781 rm -f conftest.err conftest.$ac_ext
14782 if $ac_preproc_ok; then
14783 break
14784 fi
14785
14786 done
14787 ac_cv_prog_CPP=$CPP
14788
14789 fi
14790 CPP=$ac_cv_prog_CPP
14791 else
14792 ac_cv_prog_CPP=$CPP
14793 fi
14794 { echo "$as_me:$LINENO: result: $CPP" >&5
14795 echo "${ECHO_T}$CPP" >&6; }
14796 ac_preproc_ok=false
14797 for ac_c_preproc_warn_flag in '' yes
14798 do
14799 # Use a header file that comes with gcc, so configuring glibc
14800 # with a fresh cross-compiler works.
14801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14802 # <limits.h> exists even on freestanding compilers.
14803 # On the NeXT, cc -E runs the code through the compiler's parser,
14804 # not just through cpp. "Syntax error" is here to catch this case.
14805 cat >conftest.$ac_ext <<_ACEOF
14806 /* confdefs.h. */
14807 _ACEOF
14808 cat confdefs.h >>conftest.$ac_ext
14809 cat >>conftest.$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14811 #ifdef __STDC__
14812 # include <limits.h>
14813 #else
14814 # include <assert.h>
14815 #endif
14816 Syntax error
14817 _ACEOF
14818 if { (ac_try="$ac_cpp conftest.$ac_ext"
14819 case "(($ac_try" in
14820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14821 *) ac_try_echo=$ac_try;;
14822 esac
14823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14825 ac_status=$?
14826 grep -v '^ *+' conftest.er1 >conftest.err
14827 rm -f conftest.er1
14828 cat conftest.err >&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } >/dev/null && {
14831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14832 test ! -s conftest.err
14833 }; then
14834 :
14835 else
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.$ac_ext >&5
14838
14839 # Broken: fails on valid input.
14840 continue
14841 fi
14842
14843 rm -f conftest.err conftest.$ac_ext
14844
14845 # OK, works on sane cases. Now check whether nonexistent headers
14846 # can be detected and how.
14847 cat >conftest.$ac_ext <<_ACEOF
14848 /* confdefs.h. */
14849 _ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 #include <ac_nonexistent.h>
14854 _ACEOF
14855 if { (ac_try="$ac_cpp conftest.$ac_ext"
14856 case "(($ac_try" in
14857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14858 *) ac_try_echo=$ac_try;;
14859 esac
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14862 ac_status=$?
14863 grep -v '^ *+' conftest.er1 >conftest.err
14864 rm -f conftest.er1
14865 cat conftest.err >&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } >/dev/null && {
14868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14869 test ! -s conftest.err
14870 }; then
14871 # Broken: success on invalid input.
14872 continue
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 # Passes both tests.
14878 ac_preproc_ok=:
14879 break
14880 fi
14881
14882 rm -f conftest.err conftest.$ac_ext
14883
14884 done
14885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14886 rm -f conftest.err conftest.$ac_ext
14887 if $ac_preproc_ok; then
14888 :
14889 else
14890 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14891 See \`config.log' for more details." >&5
14892 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14893 See \`config.log' for more details." >&2;}
14894 { (exit 1); exit 1; }; }
14895 fi
14896
14897 ac_ext=c
14898 ac_cpp='$CPP $CPPFLAGS'
14899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14902
14903
14904 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14905 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14906 if test "${ac_cv_path_GREP+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14909 # Extract the first word of "grep ggrep" to use in msg output
14910 if test -z "$GREP"; then
14911 set dummy grep ggrep; ac_prog_name=$2
14912 if test "${ac_cv_path_GREP+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 else
14915 ac_path_GREP_found=false
14916 # Loop through the user's path and test for each of PROGNAME-LIST
14917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14918 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14919 do
14920 IFS=$as_save_IFS
14921 test -z "$as_dir" && as_dir=.
14922 for ac_prog in grep ggrep; do
14923 for ac_exec_ext in '' $ac_executable_extensions; do
14924 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14925 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14926 # Check for GNU ac_path_GREP and select it if it is found.
14927 # Check for GNU $ac_path_GREP
14928 case `"$ac_path_GREP" --version 2>&1` in
14929 *GNU*)
14930 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14931 *)
14932 ac_count=0
14933 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14934 while :
14935 do
14936 cat "conftest.in" "conftest.in" >"conftest.tmp"
14937 mv "conftest.tmp" "conftest.in"
14938 cp "conftest.in" "conftest.nl"
14939 echo 'GREP' >> "conftest.nl"
14940 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14941 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14942 ac_count=`expr $ac_count + 1`
14943 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14944 # Best one so far, save it but keep looking for a better one
14945 ac_cv_path_GREP="$ac_path_GREP"
14946 ac_path_GREP_max=$ac_count
14947 fi
14948 # 10*(2^10) chars as input seems more than enough
14949 test $ac_count -gt 10 && break
14950 done
14951 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14952 esac
14953
14954
14955 $ac_path_GREP_found && break 3
14956 done
14957 done
14958
14959 done
14960 IFS=$as_save_IFS
14961
14962
14963 fi
14964
14965 GREP="$ac_cv_path_GREP"
14966 if test -z "$GREP"; then
14967 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14968 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14969 { (exit 1); exit 1; }; }
14970 fi
14971
14972 else
14973 ac_cv_path_GREP=$GREP
14974 fi
14975
14976
14977 fi
14978 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14979 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14980 GREP="$ac_cv_path_GREP"
14981
14982
14983 { echo "$as_me:$LINENO: checking for egrep" >&5
14984 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14985 if test "${ac_cv_path_EGREP+set}" = set; then
14986 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 else
14988 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14989 then ac_cv_path_EGREP="$GREP -E"
14990 else
14991 # Extract the first word of "egrep" to use in msg output
14992 if test -z "$EGREP"; then
14993 set dummy egrep; ac_prog_name=$2
14994 if test "${ac_cv_path_EGREP+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 else
14997 ac_path_EGREP_found=false
14998 # Loop through the user's path and test for each of PROGNAME-LIST
14999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15000 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15001 do
15002 IFS=$as_save_IFS
15003 test -z "$as_dir" && as_dir=.
15004 for ac_prog in egrep; do
15005 for ac_exec_ext in '' $ac_executable_extensions; do
15006 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15007 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15008 # Check for GNU ac_path_EGREP and select it if it is found.
15009 # Check for GNU $ac_path_EGREP
15010 case `"$ac_path_EGREP" --version 2>&1` in
15011 *GNU*)
15012 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15013 *)
15014 ac_count=0
15015 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15016 while :
15017 do
15018 cat "conftest.in" "conftest.in" >"conftest.tmp"
15019 mv "conftest.tmp" "conftest.in"
15020 cp "conftest.in" "conftest.nl"
15021 echo 'EGREP' >> "conftest.nl"
15022 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15023 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15024 ac_count=`expr $ac_count + 1`
15025 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15026 # Best one so far, save it but keep looking for a better one
15027 ac_cv_path_EGREP="$ac_path_EGREP"
15028 ac_path_EGREP_max=$ac_count
15029 fi
15030 # 10*(2^10) chars as input seems more than enough
15031 test $ac_count -gt 10 && break
15032 done
15033 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15034 esac
15035
15036
15037 $ac_path_EGREP_found && break 3
15038 done
15039 done
15040
15041 done
15042 IFS=$as_save_IFS
15043
15044
15045 fi
15046
15047 EGREP="$ac_cv_path_EGREP"
15048 if test -z "$EGREP"; then
15049 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15050 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15051 { (exit 1); exit 1; }; }
15052 fi
15053
15054 else
15055 ac_cv_path_EGREP=$EGREP
15056 fi
15057
15058
15059 fi
15060 fi
15061 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15062 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15063 EGREP="$ac_cv_path_EGREP"
15064
15065
15066 if test $ac_cv_c_compiler_gnu = yes; then
15067 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15068 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15069 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 else
15072 ac_pattern="Autoconf.*'x'"
15073 cat >conftest.$ac_ext <<_ACEOF
15074 /* confdefs.h. */
15075 _ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15079 #include <sgtty.h>
15080 Autoconf TIOCGETP
15081 _ACEOF
15082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15083 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15084 ac_cv_prog_gcc_traditional=yes
15085 else
15086 ac_cv_prog_gcc_traditional=no
15087 fi
15088 rm -f conftest*
15089
15090
15091 if test $ac_cv_prog_gcc_traditional = no; then
15092 cat >conftest.$ac_ext <<_ACEOF
15093 /* confdefs.h. */
15094 _ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 #include <termio.h>
15099 Autoconf TCGETA
15100 _ACEOF
15101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15102 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15103 ac_cv_prog_gcc_traditional=yes
15104 fi
15105 rm -f conftest*
15106
15107 fi
15108 fi
15109 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15110 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15111 if test $ac_cv_prog_gcc_traditional = yes; then
15112 CC="$CC -traditional"
15113 fi
15114 fi
15115
15116
15117 CXXFLAGS=${CXXFLAGS:=}
15118
15119
15120
15121 ac_ext=cpp
15122 ac_cpp='$CXXCPP $CPPFLAGS'
15123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15126 if test -z "$CXX"; then
15127 if test -n "$CCC"; then
15128 CXX=$CCC
15129 else
15130 if test -n "$ac_tool_prefix"; then
15131 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15132 do
15133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15137 if test "${ac_cv_prog_CXX+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 else
15140 if test -n "$CXX"; then
15141 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15142 else
15143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15144 for as_dir in $PATH
15145 do
15146 IFS=$as_save_IFS
15147 test -z "$as_dir" && as_dir=.
15148 for ac_exec_ext in '' $ac_executable_extensions; do
15149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15150 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15152 break 2
15153 fi
15154 done
15155 done
15156 IFS=$as_save_IFS
15157
15158 fi
15159 fi
15160 CXX=$ac_cv_prog_CXX
15161 if test -n "$CXX"; then
15162 { echo "$as_me:$LINENO: result: $CXX" >&5
15163 echo "${ECHO_T}$CXX" >&6; }
15164 else
15165 { echo "$as_me:$LINENO: result: no" >&5
15166 echo "${ECHO_T}no" >&6; }
15167 fi
15168
15169
15170 test -n "$CXX" && break
15171 done
15172 fi
15173 if test -z "$CXX"; then
15174 ac_ct_CXX=$CXX
15175 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15176 do
15177 # Extract the first word of "$ac_prog", so it can be a program name with args.
15178 set dummy $ac_prog; ac_word=$2
15179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15181 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 if test -n "$ac_ct_CXX"; then
15185 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15186 else
15187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15188 for as_dir in $PATH
15189 do
15190 IFS=$as_save_IFS
15191 test -z "$as_dir" && as_dir=.
15192 for ac_exec_ext in '' $ac_executable_extensions; do
15193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15194 ac_cv_prog_ac_ct_CXX="$ac_prog"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196 break 2
15197 fi
15198 done
15199 done
15200 IFS=$as_save_IFS
15201
15202 fi
15203 fi
15204 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15205 if test -n "$ac_ct_CXX"; then
15206 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15207 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15208 else
15209 { echo "$as_me:$LINENO: result: no" >&5
15210 echo "${ECHO_T}no" >&6; }
15211 fi
15212
15213
15214 test -n "$ac_ct_CXX" && break
15215 done
15216
15217 if test "x$ac_ct_CXX" = x; then
15218 CXX="g++"
15219 else
15220 case $cross_compiling:$ac_tool_warned in
15221 yes:)
15222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15223 whose name does not start with the host triplet. If you think this
15224 configuration is useful to you, please write to autoconf@gnu.org." >&5
15225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15226 whose name does not start with the host triplet. If you think this
15227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15228 ac_tool_warned=yes ;;
15229 esac
15230 CXX=$ac_ct_CXX
15231 fi
15232 fi
15233
15234 fi
15235 fi
15236 # Provide some information about the compiler.
15237 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15238 ac_compiler=`set X $ac_compile; echo $2`
15239 { (ac_try="$ac_compiler --version >&5"
15240 case "(($ac_try" in
15241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15242 *) ac_try_echo=$ac_try;;
15243 esac
15244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15245 (eval "$ac_compiler --version >&5") 2>&5
15246 ac_status=$?
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }
15249 { (ac_try="$ac_compiler -v >&5"
15250 case "(($ac_try" in
15251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15252 *) ac_try_echo=$ac_try;;
15253 esac
15254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15255 (eval "$ac_compiler -v >&5") 2>&5
15256 ac_status=$?
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }
15259 { (ac_try="$ac_compiler -V >&5"
15260 case "(($ac_try" in
15261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15262 *) ac_try_echo=$ac_try;;
15263 esac
15264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15265 (eval "$ac_compiler -V >&5") 2>&5
15266 ac_status=$?
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }
15269
15270 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15271 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15272 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 else
15275 cat >conftest.$ac_ext <<_ACEOF
15276 /* confdefs.h. */
15277 _ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15281
15282 int
15283 main ()
15284 {
15285 #ifndef __GNUC__
15286 choke me
15287 #endif
15288
15289 ;
15290 return 0;
15291 }
15292 _ACEOF
15293 rm -f conftest.$ac_objext
15294 if { (ac_try="$ac_compile"
15295 case "(($ac_try" in
15296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15297 *) ac_try_echo=$ac_try;;
15298 esac
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_compile") 2>conftest.er1
15301 ac_status=$?
15302 grep -v '^ *+' conftest.er1 >conftest.err
15303 rm -f conftest.er1
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_cxx_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest.$ac_objext; then
15310 ac_compiler_gnu=yes
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15314
15315 ac_compiler_gnu=no
15316 fi
15317
15318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15319 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15320
15321 fi
15322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15323 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15324 GXX=`test $ac_compiler_gnu = yes && echo yes`
15325 ac_test_CXXFLAGS=${CXXFLAGS+set}
15326 ac_save_CXXFLAGS=$CXXFLAGS
15327 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15328 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15329 if test "${ac_cv_prog_cxx_g+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 else
15332 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15333 ac_cxx_werror_flag=yes
15334 ac_cv_prog_cxx_g=no
15335 CXXFLAGS="-g"
15336 cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h. */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342
15343 int
15344 main ()
15345 {
15346
15347 ;
15348 return 0;
15349 }
15350 _ACEOF
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_cxx_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 ac_cv_prog_cxx_g=yes
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373 CXXFLAGS=""
15374 cat >conftest.$ac_ext <<_ACEOF
15375 /* confdefs.h. */
15376 _ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15380
15381 int
15382 main ()
15383 {
15384
15385 ;
15386 return 0;
15387 }
15388 _ACEOF
15389 rm -f conftest.$ac_objext
15390 if { (ac_try="$ac_compile"
15391 case "(($ac_try" in
15392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15393 *) ac_try_echo=$ac_try;;
15394 esac
15395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15396 (eval "$ac_compile") 2>conftest.er1
15397 ac_status=$?
15398 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } && {
15403 test -z "$ac_cxx_werror_flag" ||
15404 test ! -s conftest.err
15405 } && test -s conftest.$ac_objext; then
15406 :
15407 else
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15410
15411 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15412 CXXFLAGS="-g"
15413 cat >conftest.$ac_ext <<_ACEOF
15414 /* confdefs.h. */
15415 _ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419
15420 int
15421 main ()
15422 {
15423
15424 ;
15425 return 0;
15426 }
15427 _ACEOF
15428 rm -f conftest.$ac_objext
15429 if { (ac_try="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15433 esac
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15436 ac_status=$?
15437 grep -v '^ *+' conftest.er1 >conftest.err
15438 rm -f conftest.er1
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_cxx_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 ac_cv_prog_cxx_g=yes
15446 else
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15449
15450
15451 fi
15452
15453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15454 fi
15455
15456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15457 fi
15458
15459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15460 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15461 fi
15462 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15463 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15464 if test "$ac_test_CXXFLAGS" = set; then
15465 CXXFLAGS=$ac_save_CXXFLAGS
15466 elif test $ac_cv_prog_cxx_g = yes; then
15467 if test "$GXX" = yes; then
15468 CXXFLAGS="-g -O2"
15469 else
15470 CXXFLAGS="-g"
15471 fi
15472 else
15473 if test "$GXX" = yes; then
15474 CXXFLAGS="-O2"
15475 else
15476 CXXFLAGS=
15477 fi
15478 fi
15479 ac_ext=c
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484
15485
15486
15487 ac_ext=cpp
15488 ac_cpp='$CXXCPP $CPPFLAGS'
15489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15492
15493 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15494 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15495 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 else
15498 cat >conftest.$ac_ext <<_ACEOF
15499 /* confdefs.h. */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504
15505 int
15506 main ()
15507 {
15508
15509 #ifndef __INTEL_COMPILER
15510 choke me
15511 #endif
15512
15513 ;
15514 return 0;
15515 }
15516 _ACEOF
15517 rm -f conftest.$ac_objext
15518 if { (ac_try="$ac_compile"
15519 case "(($ac_try" in
15520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15521 *) ac_try_echo=$ac_try;;
15522 esac
15523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15524 (eval "$ac_compile") 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && {
15531 test -z "$ac_cxx_werror_flag" ||
15532 test ! -s conftest.err
15533 } && test -s conftest.$ac_objext; then
15534 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15535 else
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15538
15539 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15540
15541 fi
15542
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15544
15545
15546 fi
15547 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15548 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15549 ac_ext=c
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15554
15555 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15556 :; INTELCXX=yes
15557 else
15558 :;
15559 fi
15560
15561
15562 if test "x$GCXX" != "xyes"; then
15563 if test "xCXX" = "xC"; then
15564 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15565 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_exto+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h. */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575
15576 int
15577 main ()
15578 {
15579
15580 ;
15581 return 0;
15582 }
15583 _ACEOF
15584 rm -f conftest.$ac_objext conftest.$ac_ext.o
15585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15586 (eval $ac_compile) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; then
15590 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15591 case $ac_file in
15592 conftest.$ac_ext.o)
15593 bakefile_cv_c_exto="-ext o"
15594 ;;
15595 *)
15596 ;;
15597 esac
15598 done
15599 else
15600 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15601 See \`config.log' for more details." >&5
15602 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15603 See \`config.log' for more details." >&2;}
15604 { (exit 1); exit 1; }; }
15605
15606 fi
15607
15608 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15609
15610 fi
15611 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15612 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15613 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15614 if test "c" = "c"; then
15615 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15616 fi
15617 if test "c" = "cxx"; then
15618 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15619 fi
15620 fi
15621
15622 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15623 unset ac_cv_prog_cc_g
15624 ac_test_CFLAGS=${CFLAGS+set}
15625 ac_save_CFLAGS=$CFLAGS
15626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15628 if test "${ac_cv_prog_cc_g+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15630 else
15631 ac_save_c_werror_flag=$ac_c_werror_flag
15632 ac_c_werror_flag=yes
15633 ac_cv_prog_cc_g=no
15634 CFLAGS="-g"
15635 cat >conftest.$ac_ext <<_ACEOF
15636 /* confdefs.h. */
15637 _ACEOF
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641
15642 int
15643 main ()
15644 {
15645
15646 ;
15647 return 0;
15648 }
15649 _ACEOF
15650 rm -f conftest.$ac_objext
15651 if { (ac_try="$ac_compile"
15652 case "(($ac_try" in
15653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15654 *) ac_try_echo=$ac_try;;
15655 esac
15656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15657 (eval "$ac_compile") 2>conftest.er1
15658 ac_status=$?
15659 grep -v '^ *+' conftest.er1 >conftest.err
15660 rm -f conftest.er1
15661 cat conftest.err >&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } && {
15664 test -z "$ac_c_werror_flag" ||
15665 test ! -s conftest.err
15666 } && test -s conftest.$ac_objext; then
15667 ac_cv_prog_cc_g=yes
15668 else
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15671
15672 CFLAGS=""
15673 cat >conftest.$ac_ext <<_ACEOF
15674 /* confdefs.h. */
15675 _ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679
15680 int
15681 main ()
15682 {
15683
15684 ;
15685 return 0;
15686 }
15687 _ACEOF
15688 rm -f conftest.$ac_objext
15689 if { (ac_try="$ac_compile"
15690 case "(($ac_try" in
15691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15692 *) ac_try_echo=$ac_try;;
15693 esac
15694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15695 (eval "$ac_compile") 2>conftest.er1
15696 ac_status=$?
15697 grep -v '^ *+' conftest.er1 >conftest.err
15698 rm -f conftest.er1
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } && {
15702 test -z "$ac_c_werror_flag" ||
15703 test ! -s conftest.err
15704 } && test -s conftest.$ac_objext; then
15705 :
15706 else
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.$ac_ext >&5
15709
15710 ac_c_werror_flag=$ac_save_c_werror_flag
15711 CFLAGS="-g"
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718
15719 int
15720 main ()
15721 {
15722
15723 ;
15724 return 0;
15725 }
15726 _ACEOF
15727 rm -f conftest.$ac_objext
15728 if { (ac_try="$ac_compile"
15729 case "(($ac_try" in
15730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15731 *) ac_try_echo=$ac_try;;
15732 esac
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_compile") 2>conftest.er1
15735 ac_status=$?
15736 grep -v '^ *+' conftest.er1 >conftest.err
15737 rm -f conftest.er1
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } && {
15741 test -z "$ac_c_werror_flag" ||
15742 test ! -s conftest.err
15743 } && test -s conftest.$ac_objext; then
15744 ac_cv_prog_cc_g=yes
15745 else
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.$ac_ext >&5
15748
15749
15750 fi
15751
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15753 fi
15754
15755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15756 fi
15757
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 ac_c_werror_flag=$ac_save_c_werror_flag
15760 fi
15761 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15763 if test "$ac_test_CFLAGS" = set; then
15764 CFLAGS=$ac_save_CFLAGS
15765 elif test $ac_cv_prog_cc_g = yes; then
15766 if test "$GCC" = yes; then
15767 CFLAGS="-g -O2"
15768 else
15769 CFLAGS="-g"
15770 fi
15771 else
15772 if test "$GCC" = yes; then
15773 CFLAGS="-O2"
15774 else
15775 CFLAGS=
15776 fi
15777 fi
15778 fi
15779 fi
15780
15781 case `uname -s` in
15782 AIX*)
15783 ac_ext=cpp
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15788
15789 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15790 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15791 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 else
15794 cat >conftest.$ac_ext <<_ACEOF
15795 /* confdefs.h. */
15796 _ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800
15801 int
15802 main ()
15803 {
15804 #ifndef __xlC__
15805 choke me
15806 #endif
15807
15808 ;
15809 return 0;
15810 }
15811 _ACEOF
15812 rm -f conftest.$ac_objext
15813 if { (ac_try="$ac_compile"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15816 *) ac_try_echo=$ac_try;;
15817 esac
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_compile") 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_cxx_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest.$ac_objext; then
15829 bakefile_compiler_xlc=yes
15830 else
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.$ac_ext >&5
15833
15834 bakefile_compiler_xlc=no
15835 fi
15836
15837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15838 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15839
15840 fi
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15842 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15843
15844 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15845 ac_ext=c
15846 ac_cpp='$CPP $CPPFLAGS'
15847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15850
15851
15852 ;;
15853
15854 Darwin)
15855 ac_ext=cpp
15856 ac_cpp='$CXXCPP $CPPFLAGS'
15857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15860
15861 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15862 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15863 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 else
15866 cat >conftest.$ac_ext <<_ACEOF
15867 /* confdefs.h. */
15868 _ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872
15873 int
15874 main ()
15875 {
15876 #ifndef __MWERKS__
15877 choke me
15878 #endif
15879
15880 ;
15881 return 0;
15882 }
15883 _ACEOF
15884 rm -f conftest.$ac_objext
15885 if { (ac_try="$ac_compile"
15886 case "(($ac_try" in
15887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15888 *) ac_try_echo=$ac_try;;
15889 esac
15890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15891 (eval "$ac_compile") 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } && {
15898 test -z "$ac_cxx_werror_flag" ||
15899 test ! -s conftest.err
15900 } && test -s conftest.$ac_objext; then
15901 bakefile_compiler_mwerks=yes
15902 else
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15905
15906 bakefile_compiler_mwerks=no
15907 fi
15908
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15911
15912 fi
15913 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15914 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15915
15916 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15917 ac_ext=c
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15922
15923
15924 ac_ext=cpp
15925 ac_cpp='$CXXCPP $CPPFLAGS'
15926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15929
15930 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15931 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15932 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15934 else
15935 cat >conftest.$ac_ext <<_ACEOF
15936 /* confdefs.h. */
15937 _ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15941
15942 int
15943 main ()
15944 {
15945 #ifndef __xlC__
15946 choke me
15947 #endif
15948
15949 ;
15950 return 0;
15951 }
15952 _ACEOF
15953 rm -f conftest.$ac_objext
15954 if { (ac_try="$ac_compile"
15955 case "(($ac_try" in
15956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15957 *) ac_try_echo=$ac_try;;
15958 esac
15959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15960 (eval "$ac_compile") 2>conftest.er1
15961 ac_status=$?
15962 grep -v '^ *+' conftest.er1 >conftest.err
15963 rm -f conftest.er1
15964 cat conftest.err >&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } && {
15967 test -z "$ac_cxx_werror_flag" ||
15968 test ! -s conftest.err
15969 } && test -s conftest.$ac_objext; then
15970 bakefile_compiler_xlc=yes
15971 else
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.$ac_ext >&5
15974
15975 bakefile_compiler_xlc=no
15976 fi
15977
15978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15980
15981 fi
15982 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15983 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15984
15985 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15986 ac_ext=c
15987 ac_cpp='$CPP $CPPFLAGS'
15988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15991
15992
15993 ;;
15994
15995 IRIX*)
15996
15997
15998 ac_ext=cpp
15999 ac_cpp='$CXXCPP $CPPFLAGS'
16000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16003
16004 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16005 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16006 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 cat >conftest.$ac_ext <<_ACEOF
16010 /* confdefs.h. */
16011 _ACEOF
16012 cat confdefs.h >>conftest.$ac_ext
16013 cat >>conftest.$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16015
16016 int
16017 main ()
16018 {
16019
16020 #ifndef _SGI_COMPILER_VERSION
16021 choke me
16022 #endif
16023
16024 ;
16025 return 0;
16026 }
16027 _ACEOF
16028 rm -f conftest.$ac_objext
16029 if { (ac_try="$ac_compile"
16030 case "(($ac_try" in
16031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16033 esac
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_compile") 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } && {
16042 test -z "$ac_cxx_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16046 else
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16049
16050 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16051
16052 fi
16053
16054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16055
16056
16057 fi
16058 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16059 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16060 ac_ext=c
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16065
16066 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16067 :; SGICXX=yes
16068 else
16069 :;
16070 fi
16071
16072
16073 ;;
16074
16075 HP-UX*)
16076
16077
16078 ac_ext=cpp
16079 ac_cpp='$CXXCPP $CPPFLAGS'
16080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16083
16084 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16085 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16086 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16088 else
16089 cat >conftest.$ac_ext <<_ACEOF
16090 /* confdefs.h. */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095
16096 int
16097 main ()
16098 {
16099
16100 #ifndef __HP_aCC
16101 choke me
16102 #endif
16103
16104 ;
16105 return 0;
16106 }
16107 _ACEOF
16108 rm -f conftest.$ac_objext
16109 if { (ac_try="$ac_compile"
16110 case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16112 *) ac_try_echo=$ac_try;;
16113 esac
16114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16115 (eval "$ac_compile") 2>conftest.er1
16116 ac_status=$?
16117 grep -v '^ *+' conftest.er1 >conftest.err
16118 rm -f conftest.er1
16119 cat conftest.err >&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } && {
16122 test -z "$ac_cxx_werror_flag" ||
16123 test ! -s conftest.err
16124 } && test -s conftest.$ac_objext; then
16125 bakefile_cv_cxx_compiler___HP_aCC=yes
16126 else
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16129
16130 bakefile_cv_cxx_compiler___HP_aCC=no
16131
16132 fi
16133
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16135
16136
16137 fi
16138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16140 ac_ext=c
16141 ac_cpp='$CPP $CPPFLAGS'
16142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16145
16146 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16147 :; HPCXX=yes
16148 else
16149 :;
16150 fi
16151
16152
16153 ;;
16154
16155 OSF1)
16156
16157
16158 ac_ext=cpp
16159 ac_cpp='$CXXCPP $CPPFLAGS'
16160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16163
16164 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16165 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16166 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 else
16169 cat >conftest.$ac_ext <<_ACEOF
16170 /* confdefs.h. */
16171 _ACEOF
16172 cat confdefs.h >>conftest.$ac_ext
16173 cat >>conftest.$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16175
16176 int
16177 main ()
16178 {
16179
16180 #ifndef __DECCXX
16181 choke me
16182 #endif
16183
16184 ;
16185 return 0;
16186 }
16187 _ACEOF
16188 rm -f conftest.$ac_objext
16189 if { (ac_try="$ac_compile"
16190 case "(($ac_try" in
16191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16193 esac
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_compile") 2>conftest.er1
16196 ac_status=$?
16197 grep -v '^ *+' conftest.er1 >conftest.err
16198 rm -f conftest.er1
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } && {
16202 test -z "$ac_cxx_werror_flag" ||
16203 test ! -s conftest.err
16204 } && test -s conftest.$ac_objext; then
16205 bakefile_cv_cxx_compiler___DECCXX=yes
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16209
16210 bakefile_cv_cxx_compiler___DECCXX=no
16211
16212 fi
16213
16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16215
16216
16217 fi
16218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16220 ac_ext=c
16221 ac_cpp='$CPP $CPPFLAGS'
16222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16225
16226 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16227 :; COMPAQCXX=yes
16228 else
16229 :;
16230 fi
16231
16232
16233 ;;
16234
16235 SunOS)
16236
16237
16238 ac_ext=cpp
16239 ac_cpp='$CXXCPP $CPPFLAGS'
16240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16243
16244 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16245 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16246 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255
16256 int
16257 main ()
16258 {
16259
16260 #ifndef __SUNPRO_CC
16261 choke me
16262 #endif
16263
16264 ;
16265 return 0;
16266 }
16267 _ACEOF
16268 rm -f conftest.$ac_objext
16269 if { (ac_try="$ac_compile"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16272 *) ac_try_echo=$ac_try;;
16273 esac
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_compile") 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } && {
16282 test -z "$ac_cxx_werror_flag" ||
16283 test ! -s conftest.err
16284 } && test -s conftest.$ac_objext; then
16285 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16286 else
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.$ac_ext >&5
16289
16290 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16291
16292 fi
16293
16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16295
16296
16297 fi
16298 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16299 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16300 ac_ext=c
16301 ac_cpp='$CPP $CPPFLAGS'
16302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16305
16306 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16307 :; SUNCXX=yes
16308 else
16309 :;
16310 fi
16311
16312
16313 ;;
16314 esac
16315 fi
16316
16317
16318
16319 if test -n "$ac_tool_prefix"; then
16320 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16321 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16324 if test "${ac_cv_prog_RANLIB+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 else
16327 if test -n "$RANLIB"; then
16328 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16329 else
16330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16331 for as_dir in $PATH
16332 do
16333 IFS=$as_save_IFS
16334 test -z "$as_dir" && as_dir=.
16335 for ac_exec_ext in '' $ac_executable_extensions; do
16336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16337 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16339 break 2
16340 fi
16341 done
16342 done
16343 IFS=$as_save_IFS
16344
16345 fi
16346 fi
16347 RANLIB=$ac_cv_prog_RANLIB
16348 if test -n "$RANLIB"; then
16349 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16350 echo "${ECHO_T}$RANLIB" >&6; }
16351 else
16352 { echo "$as_me:$LINENO: result: no" >&5
16353 echo "${ECHO_T}no" >&6; }
16354 fi
16355
16356
16357 fi
16358 if test -z "$ac_cv_prog_RANLIB"; then
16359 ac_ct_RANLIB=$RANLIB
16360 # Extract the first word of "ranlib", so it can be a program name with args.
16361 set dummy ranlib; ac_word=$2
16362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16364 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16366 else
16367 if test -n "$ac_ct_RANLIB"; then
16368 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16369 else
16370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16371 for as_dir in $PATH
16372 do
16373 IFS=$as_save_IFS
16374 test -z "$as_dir" && as_dir=.
16375 for ac_exec_ext in '' $ac_executable_extensions; do
16376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16377 ac_cv_prog_ac_ct_RANLIB="ranlib"
16378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16379 break 2
16380 fi
16381 done
16382 done
16383 IFS=$as_save_IFS
16384
16385 fi
16386 fi
16387 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16388 if test -n "$ac_ct_RANLIB"; then
16389 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16390 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16391 else
16392 { echo "$as_me:$LINENO: result: no" >&5
16393 echo "${ECHO_T}no" >&6; }
16394 fi
16395
16396 if test "x$ac_ct_RANLIB" = x; then
16397 RANLIB=":"
16398 else
16399 case $cross_compiling:$ac_tool_warned in
16400 yes:)
16401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16402 whose name does not start with the host triplet. If you think this
16403 configuration is useful to you, please write to autoconf@gnu.org." >&5
16404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16405 whose name does not start with the host triplet. If you think this
16406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16407 ac_tool_warned=yes ;;
16408 esac
16409 RANLIB=$ac_ct_RANLIB
16410 fi
16411 else
16412 RANLIB="$ac_cv_prog_RANLIB"
16413 fi
16414
16415
16416 if test "x$SUNCXX" != xyes; then
16417 if test -n "$ac_tool_prefix"; then
16418 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16419 set dummy ${ac_tool_prefix}ar; ac_word=$2
16420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16422 if test "${ac_cv_prog_AR+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16424 else
16425 if test -n "$AR"; then
16426 ac_cv_prog_AR="$AR" # Let the user override the test.
16427 else
16428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16429 for as_dir in $PATH
16430 do
16431 IFS=$as_save_IFS
16432 test -z "$as_dir" && as_dir=.
16433 for ac_exec_ext in '' $ac_executable_extensions; do
16434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16435 ac_cv_prog_AR="${ac_tool_prefix}ar"
16436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16437 break 2
16438 fi
16439 done
16440 done
16441 IFS=$as_save_IFS
16442
16443 fi
16444 fi
16445 AR=$ac_cv_prog_AR
16446 if test -n "$AR"; then
16447 { echo "$as_me:$LINENO: result: $AR" >&5
16448 echo "${ECHO_T}$AR" >&6; }
16449 else
16450 { echo "$as_me:$LINENO: result: no" >&5
16451 echo "${ECHO_T}no" >&6; }
16452 fi
16453
16454
16455 fi
16456 if test -z "$ac_cv_prog_AR"; then
16457 ac_ct_AR=$AR
16458 # Extract the first word of "ar", so it can be a program name with args.
16459 set dummy ar; ac_word=$2
16460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16462 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16464 else
16465 if test -n "$ac_ct_AR"; then
16466 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16467 else
16468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16469 for as_dir in $PATH
16470 do
16471 IFS=$as_save_IFS
16472 test -z "$as_dir" && as_dir=.
16473 for ac_exec_ext in '' $ac_executable_extensions; do
16474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16475 ac_cv_prog_ac_ct_AR="ar"
16476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16477 break 2
16478 fi
16479 done
16480 done
16481 IFS=$as_save_IFS
16482
16483 fi
16484 fi
16485 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16486 if test -n "$ac_ct_AR"; then
16487 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16488 echo "${ECHO_T}$ac_ct_AR" >&6; }
16489 else
16490 { echo "$as_me:$LINENO: result: no" >&5
16491 echo "${ECHO_T}no" >&6; }
16492 fi
16493
16494 if test "x$ac_ct_AR" = x; then
16495 AR=""
16496 else
16497 case $cross_compiling:$ac_tool_warned in
16498 yes:)
16499 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16500 whose name does not start with the host triplet. If you think this
16501 configuration is useful to you, please write to autoconf@gnu.org." >&5
16502 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16503 whose name does not start with the host triplet. If you think this
16504 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16505 ac_tool_warned=yes ;;
16506 esac
16507 AR=$ac_ct_AR
16508 fi
16509 else
16510 AR="$ac_cv_prog_AR"
16511 fi
16512
16513 if test "x$AR" = "x" ; then
16514 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16515 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16516 { (exit 1); exit 1; }; }
16517 fi
16518 fi
16519
16520 # Find a good install program. We prefer a C program (faster),
16521 # so one script is as good as another. But avoid the broken or
16522 # incompatible versions:
16523 # SysV /etc/install, /usr/sbin/install
16524 # SunOS /usr/etc/install
16525 # IRIX /sbin/install
16526 # AIX /bin/install
16527 # AmigaOS /C/install, which installs bootblocks on floppy discs
16528 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16529 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16530 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16531 # OS/2's system install, which has a completely different semantic
16532 # ./install, which can be erroneously created by make from ./install.sh.
16533 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16534 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16535 if test -z "$INSTALL"; then
16536 if test "${ac_cv_path_install+set}" = set; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 else
16539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16540 for as_dir in $PATH
16541 do
16542 IFS=$as_save_IFS
16543 test -z "$as_dir" && as_dir=.
16544 # Account for people who put trailing slashes in PATH elements.
16545 case $as_dir/ in
16546 ./ | .// | /cC/* | \
16547 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16548 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16549 /usr/ucb/* ) ;;
16550 *)
16551 # OSF1 and SCO ODT 3.0 have their own names for install.
16552 # Don't use installbsd from OSF since it installs stuff as root
16553 # by default.
16554 for ac_prog in ginstall scoinst install; do
16555 for ac_exec_ext in '' $ac_executable_extensions; do
16556 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16557 if test $ac_prog = install &&
16558 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16559 # AIX install. It has an incompatible calling convention.
16560 :
16561 elif test $ac_prog = install &&
16562 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16563 # program-specific install script used by HP pwplus--don't use.
16564 :
16565 else
16566 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16567 break 3
16568 fi
16569 fi
16570 done
16571 done
16572 ;;
16573 esac
16574 done
16575 IFS=$as_save_IFS
16576
16577
16578 fi
16579 if test "${ac_cv_path_install+set}" = set; then
16580 INSTALL=$ac_cv_path_install
16581 else
16582 # As a last resort, use the slow shell script. Don't cache a
16583 # value for INSTALL within a source directory, because that will
16584 # break other packages using the cache if that directory is
16585 # removed, or if the value is a relative name.
16586 INSTALL=$ac_install_sh
16587 fi
16588 fi
16589 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16590 echo "${ECHO_T}$INSTALL" >&6; }
16591
16592 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16593 # It thinks the first close brace ends the variable substitution.
16594 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16595
16596 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16597
16598 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16599
16600
16601 case ${INSTALL} in
16602 /* ) # Absolute
16603 ;;
16604 ?:* ) # Drive letter, considered as absolute.
16605 ;;
16606 *)
16607 INSTALL=`pwd`/${INSTALL} ;;
16608 esac
16609
16610
16611 case "${host}" in
16612
16613 *-*-darwin* )
16614 INSTALL_PROGRAM="cp -fp"
16615 INSTALL_DATA="cp -fp"
16616 ;;
16617 *)
16618 ;;
16619 esac
16620
16621 if test -n "$ac_tool_prefix"; then
16622 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16623 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16628 else
16629 if test -n "$STRIP"; then
16630 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
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 STRIP=$ac_cv_prog_STRIP
16650 if test -n "$STRIP"; then
16651 { echo "$as_me:$LINENO: result: $STRIP" >&5
16652 echo "${ECHO_T}$STRIP" >&6; }
16653 else
16654 { echo "$as_me:$LINENO: result: no" >&5
16655 echo "${ECHO_T}no" >&6; }
16656 fi
16657
16658
16659 fi
16660 if test -z "$ac_cv_prog_STRIP"; then
16661 ac_ct_STRIP=$STRIP
16662 # Extract the first word of "strip", so it can be a program name with args.
16663 set dummy strip; ac_word=$2
16664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16666 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16667 echo $ECHO_N "(cached) $ECHO_C" >&6
16668 else
16669 if test -n "$ac_ct_STRIP"; then
16670 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16671 else
16672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16673 for as_dir in $PATH
16674 do
16675 IFS=$as_save_IFS
16676 test -z "$as_dir" && as_dir=.
16677 for ac_exec_ext in '' $ac_executable_extensions; do
16678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16679 ac_cv_prog_ac_ct_STRIP="strip"
16680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16681 break 2
16682 fi
16683 done
16684 done
16685 IFS=$as_save_IFS
16686
16687 fi
16688 fi
16689 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16690 if test -n "$ac_ct_STRIP"; then
16691 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16692 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16693 else
16694 { echo "$as_me:$LINENO: result: no" >&5
16695 echo "${ECHO_T}no" >&6; }
16696 fi
16697
16698 if test "x$ac_ct_STRIP" = x; then
16699 STRIP="true"
16700 else
16701 case $cross_compiling:$ac_tool_warned in
16702 yes:)
16703 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16704 whose name does not start with the host triplet. If you think this
16705 configuration is useful to you, please write to autoconf@gnu.org." >&5
16706 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16707 whose name does not start with the host triplet. If you think this
16708 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16709 ac_tool_warned=yes ;;
16710 esac
16711 STRIP=$ac_ct_STRIP
16712 fi
16713 else
16714 STRIP="$ac_cv_prog_STRIP"
16715 fi
16716
16717
16718 if test "$wxUSE_WINE" = "yes"; then
16719 if test -n "$ac_tool_prefix"; then
16720 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16721 set dummy ${ac_tool_prefix}wrc; 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_WINDRES+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 else
16727 if test -n "$WINDRES"; then
16728 ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ac_tool_prefix}wrc"
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 WINDRES=$ac_cv_prog_WINDRES
16748 if test -n "$WINDRES"; then
16749 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16750 echo "${ECHO_T}$WINDRES" >&6; }
16751 else
16752 { echo "$as_me:$LINENO: result: no" >&5
16753 echo "${ECHO_T}no" >&6; }
16754 fi
16755
16756
16757 fi
16758 if test -z "$ac_cv_prog_WINDRES"; then
16759 ac_ct_WINDRES=$WINDRES
16760 # Extract the first word of "wrc", so it can be a program name with args.
16761 set dummy wrc; ac_word=$2
16762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16764 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16766 else
16767 if test -n "$ac_ct_WINDRES"; then
16768 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16769 else
16770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16771 for as_dir in $PATH
16772 do
16773 IFS=$as_save_IFS
16774 test -z "$as_dir" && as_dir=.
16775 for ac_exec_ext in '' $ac_executable_extensions; do
16776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16777 ac_cv_prog_ac_ct_WINDRES="wrc"
16778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16779 break 2
16780 fi
16781 done
16782 done
16783 IFS=$as_save_IFS
16784
16785 fi
16786 fi
16787 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16788 if test -n "$ac_ct_WINDRES"; then
16789 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16790 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16791 else
16792 { echo "$as_me:$LINENO: result: no" >&5
16793 echo "${ECHO_T}no" >&6; }
16794 fi
16795
16796 if test "x$ac_ct_WINDRES" = x; then
16797 WINDRES=""
16798 else
16799 case $cross_compiling:$ac_tool_warned in
16800 yes:)
16801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16802 whose name does not start with the host triplet. If you think this
16803 configuration is useful to you, please write to autoconf@gnu.org." >&5
16804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16805 whose name does not start with the host triplet. If you think this
16806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16807 ac_tool_warned=yes ;;
16808 esac
16809 WINDRES=$ac_ct_WINDRES
16810 fi
16811 else
16812 WINDRES="$ac_cv_prog_WINDRES"
16813 fi
16814
16815 RESCOMP="$WINDRES"
16816 else
16817 case "${host}" in
16818 *-*-cygwin* | *-*-mingw32* )
16819 if test -n "$ac_tool_prefix"; then
16820 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16821 set dummy ${ac_tool_prefix}windres; ac_word=$2
16822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16824 if test "${ac_cv_prog_WINDRES+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 else
16827 if test -n "$WINDRES"; then
16828 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16829 else
16830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16831 for as_dir in $PATH
16832 do
16833 IFS=$as_save_IFS
16834 test -z "$as_dir" && as_dir=.
16835 for ac_exec_ext in '' $ac_executable_extensions; do
16836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16837 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16839 break 2
16840 fi
16841 done
16842 done
16843 IFS=$as_save_IFS
16844
16845 fi
16846 fi
16847 WINDRES=$ac_cv_prog_WINDRES
16848 if test -n "$WINDRES"; then
16849 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16850 echo "${ECHO_T}$WINDRES" >&6; }
16851 else
16852 { echo "$as_me:$LINENO: result: no" >&5
16853 echo "${ECHO_T}no" >&6; }
16854 fi
16855
16856
16857 fi
16858 if test -z "$ac_cv_prog_WINDRES"; then
16859 ac_ct_WINDRES=$WINDRES
16860 # Extract the first word of "windres", so it can be a program name with args.
16861 set dummy windres; ac_word=$2
16862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16864 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16866 else
16867 if test -n "$ac_ct_WINDRES"; then
16868 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16869 else
16870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16871 for as_dir in $PATH
16872 do
16873 IFS=$as_save_IFS
16874 test -z "$as_dir" && as_dir=.
16875 for ac_exec_ext in '' $ac_executable_extensions; do
16876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16877 ac_cv_prog_ac_ct_WINDRES="windres"
16878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16879 break 2
16880 fi
16881 done
16882 done
16883 IFS=$as_save_IFS
16884
16885 fi
16886 fi
16887 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16888 if test -n "$ac_ct_WINDRES"; then
16889 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16890 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16891 else
16892 { echo "$as_me:$LINENO: result: no" >&5
16893 echo "${ECHO_T}no" >&6; }
16894 fi
16895
16896 if test "x$ac_ct_WINDRES" = x; then
16897 WINDRES=""
16898 else
16899 case $cross_compiling:$ac_tool_warned in
16900 yes:)
16901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16902 whose name does not start with the host triplet. If you think this
16903 configuration is useful to you, please write to autoconf@gnu.org." >&5
16904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16905 whose name does not start with the host triplet. If you think this
16906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16907 ac_tool_warned=yes ;;
16908 esac
16909 WINDRES=$ac_ct_WINDRES
16910 fi
16911 else
16912 WINDRES="$ac_cv_prog_WINDRES"
16913 fi
16914
16915 RESCOMP="$WINDRES"
16916 if test -n "$ac_tool_prefix"; then
16917 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16918 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16921 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 else
16924 if test -n "$DLLTOOL"; then
16925 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16926 else
16927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16928 for as_dir in $PATH
16929 do
16930 IFS=$as_save_IFS
16931 test -z "$as_dir" && as_dir=.
16932 for ac_exec_ext in '' $ac_executable_extensions; do
16933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16934 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16936 break 2
16937 fi
16938 done
16939 done
16940 IFS=$as_save_IFS
16941
16942 fi
16943 fi
16944 DLLTOOL=$ac_cv_prog_DLLTOOL
16945 if test -n "$DLLTOOL"; then
16946 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16947 echo "${ECHO_T}$DLLTOOL" >&6; }
16948 else
16949 { echo "$as_me:$LINENO: result: no" >&5
16950 echo "${ECHO_T}no" >&6; }
16951 fi
16952
16953
16954 fi
16955 if test -z "$ac_cv_prog_DLLTOOL"; then
16956 ac_ct_DLLTOOL=$DLLTOOL
16957 # Extract the first word of "dlltool", so it can be a program name with args.
16958 set dummy dlltool; ac_word=$2
16959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16961 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 else
16964 if test -n "$ac_ct_DLLTOOL"; then
16965 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16966 else
16967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16968 for as_dir in $PATH
16969 do
16970 IFS=$as_save_IFS
16971 test -z "$as_dir" && as_dir=.
16972 for ac_exec_ext in '' $ac_executable_extensions; do
16973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16974 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16976 break 2
16977 fi
16978 done
16979 done
16980 IFS=$as_save_IFS
16981
16982 fi
16983 fi
16984 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16985 if test -n "$ac_ct_DLLTOOL"; then
16986 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16987 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16988 else
16989 { echo "$as_me:$LINENO: result: no" >&5
16990 echo "${ECHO_T}no" >&6; }
16991 fi
16992
16993 if test "x$ac_ct_DLLTOOL" = x; then
16994 DLLTOOL=""
16995 else
16996 case $cross_compiling:$ac_tool_warned in
16997 yes:)
16998 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16999 whose name does not start with the host triplet. If you think this
17000 configuration is useful to you, please write to autoconf@gnu.org." >&5
17001 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17002 whose name does not start with the host triplet. If you think this
17003 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17004 ac_tool_warned=yes ;;
17005 esac
17006 DLLTOOL=$ac_ct_DLLTOOL
17007 fi
17008 else
17009 DLLTOOL="$ac_cv_prog_DLLTOOL"
17010 fi
17011
17012 ;;
17013 esac
17014 fi
17015
17016 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17017 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17018 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17020 else
17021
17022 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17023 $EGREP -s GNU > /dev/null); then
17024 wx_cv_prog_makeisgnu="yes"
17025 else
17026 wx_cv_prog_makeisgnu="no"
17027 fi
17028
17029 fi
17030 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17031 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17032
17033 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17034 IF_GNU_MAKE=""
17035 else
17036 IF_GNU_MAKE="#"
17037 fi
17038
17039
17040
17041 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17042 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17043 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17044 if test "${wx_cv_prog_makevpath+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 else
17047
17048 cat - << EOF > confMake
17049 check : file
17050 cp \$? \$@
17051 cp \$? final_file
17052 EOF
17053
17054 if test ! -d sub ; then
17055 mkdir sub
17056 fi
17057 echo dummy > sub/file
17058 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17059 RESULT=$?
17060 rm -f sub/file check final_file confMake
17061 rmdir sub
17062 if test "$RESULT" = 0; then
17063 wx_cv_prog_makevpath="yes"
17064 else
17065 wx_cv_prog_makevpath="no"
17066 fi
17067
17068 fi
17069 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17070 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17071
17072 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17073 { { echo "$as_me:$LINENO: error:
17074 You need a make-utility that is able to use the variable
17075 VPATH correctly.
17076 If your version of make does not support VPATH correctly,
17077 please install GNU-make (possibly as gmake), and start
17078 configure with the following command:
17079 export MAKE=gmake; ./configure for sh-type shells
17080 setenv MAKE gmake; ./configure for csh-type shells
17081 Also please do remember to use gmake in this case every time
17082 you are trying to compile.
17083 " >&5
17084 echo "$as_me: error:
17085 You need a make-utility that is able to use the variable
17086 VPATH correctly.
17087 If your version of make does not support VPATH correctly,
17088 please install GNU-make (possibly as gmake), and start
17089 configure with the following command:
17090 export MAKE=gmake; ./configure for sh-type shells
17091 setenv MAKE gmake; ./configure for csh-type shells
17092 Also please do remember to use gmake in this case every time
17093 you are trying to compile.
17094 " >&2;}
17095 { (exit 1); exit 1; }; }
17096 fi fi
17097 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17098 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17099 LN_S=$as_ln_s
17100 if test "$LN_S" = "ln -s"; then
17101 { echo "$as_me:$LINENO: result: yes" >&5
17102 echo "${ECHO_T}yes" >&6; }
17103 else
17104 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17105 echo "${ECHO_T}no, using $LN_S" >&6; }
17106 fi
17107
17108
17109
17110
17111 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17112 CXXFLAGS="-qunique $CXXFLAGS"
17113 fi
17114
17115 case "${host}" in
17116 powerpc-*-darwin* )
17117 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17118 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17119 cat >conftest.$ac_ext <<_ACEOF
17120 /* confdefs.h. */
17121 _ACEOF
17122 cat confdefs.h >>conftest.$ac_ext
17123 cat >>conftest.$ac_ext <<_ACEOF
17124 /* end confdefs.h. */
17125
17126 int
17127 main ()
17128 {
17129 #ifndef __POWERPC__
17130 choke me for lack of PowerPC
17131 #endif
17132
17133 ;
17134 return 0;
17135 }
17136 _ACEOF
17137 rm -f conftest.$ac_objext
17138 if { (ac_try="$ac_compile"
17139 case "(($ac_try" in
17140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17141 *) ac_try_echo=$ac_try;;
17142 esac
17143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17144 (eval "$ac_compile") 2>conftest.er1
17145 ac_status=$?
17146 grep -v '^ *+' conftest.er1 >conftest.err
17147 rm -f conftest.er1
17148 cat conftest.err >&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } && {
17151 test -z "$ac_c_werror_flag" ||
17152 test ! -s conftest.err
17153 } && test -s conftest.$ac_objext; then
17154 { echo "$as_me:$LINENO: result: yes" >&5
17155 echo "${ECHO_T}yes" >&6; }
17156 else
17157 echo "$as_me: failed program was:" >&5
17158 sed 's/^/| /' conftest.$ac_ext >&5
17159
17160 { echo "$as_me:$LINENO: result: no" >&5
17161 echo "${ECHO_T}no" >&6; }
17162 cat >>confdefs.h <<\_ACEOF
17163 #define __POWERPC__ 1
17164 _ACEOF
17165
17166
17167 fi
17168
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17170 ;;
17171 esac
17172
17173 case "${host}" in
17174 *-*-darwin* )
17175 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17176 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17177 cat >conftest.$ac_ext <<_ACEOF
17178 /* confdefs.h. */
17179 _ACEOF
17180 cat confdefs.h >>conftest.$ac_ext
17181 cat >>conftest.$ac_ext <<_ACEOF
17182 /* end confdefs.h. */
17183 #include <CoreFoundation/CFBase.h>
17184
17185 int
17186 main ()
17187 {
17188
17189 ;
17190 return 0;
17191 }
17192 _ACEOF
17193 rm -f conftest.$ac_objext
17194 if { (ac_try="$ac_compile"
17195 case "(($ac_try" in
17196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17197 *) ac_try_echo=$ac_try;;
17198 esac
17199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17200 (eval "$ac_compile") 2>conftest.er1
17201 ac_status=$?
17202 grep -v '^ *+' conftest.er1 >conftest.err
17203 rm -f conftest.er1
17204 cat conftest.err >&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); } && {
17207 test -z "$ac_c_werror_flag" ||
17208 test ! -s conftest.err
17209 } && test -s conftest.$ac_objext; then
17210 { echo "$as_me:$LINENO: result: yes" >&5
17211 echo "${ECHO_T}yes" >&6; }
17212 else
17213 echo "$as_me: failed program was:" >&5
17214 sed 's/^/| /' conftest.$ac_ext >&5
17215
17216 { echo "$as_me:$LINENO: result: no" >&5
17217 echo "${ECHO_T}no" >&6; }
17218 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17219 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17220 cat >conftest.$ac_ext <<_ACEOF
17221 /* confdefs.h. */
17222 _ACEOF
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226 #define __CF_USE_FRAMEWORK_INCLUDES__
17227 #include <CoreFoundation/CFBase.h>
17228
17229 int
17230 main ()
17231 {
17232
17233 ;
17234 return 0;
17235 }
17236 _ACEOF
17237 rm -f conftest.$ac_objext
17238 if { (ac_try="$ac_compile"
17239 case "(($ac_try" in
17240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17241 *) ac_try_echo=$ac_try;;
17242 esac
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_compile") 2>conftest.er1
17245 ac_status=$?
17246 grep -v '^ *+' conftest.er1 >conftest.err
17247 rm -f conftest.er1
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } && {
17251 test -z "$ac_c_werror_flag" ||
17252 test ! -s conftest.err
17253 } && test -s conftest.$ac_objext; then
17254 { echo "$as_me:$LINENO: result: yes" >&5
17255 echo "${ECHO_T}yes" >&6; }
17256 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17257 else
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17260
17261 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17262 See \`config.log' for more details." >&5
17263 echo "$as_me: error: no. CoreFoundation not available.
17264 See \`config.log' for more details." >&2;}
17265 { (exit 1); exit 1; }; }
17266
17267 fi
17268
17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270
17271
17272 fi
17273
17274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17275 ;;
17276 esac
17277
17278 wants_win32=0
17279 doesnt_want_win32=0
17280 case "${host}" in
17281 *-*-cygwin*)
17282 if test "$wxUSE_MSW" = 1 ; then
17283 wants_win32=1
17284 else
17285 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17286 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17287 if test "${wx_cv_nocygwin+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290
17291 cat >conftest.$ac_ext <<_ACEOF
17292 /* confdefs.h. */
17293 _ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297
17298 int
17299 main ()
17300 {
17301
17302 #ifdef __MINGW32__
17303 choke me
17304 #endif
17305
17306 ;
17307 return 0;
17308 }
17309 _ACEOF
17310 rm -f conftest.$ac_objext
17311 if { (ac_try="$ac_compile"
17312 case "(($ac_try" in
17313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17314 *) ac_try_echo=$ac_try;;
17315 esac
17316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17317 (eval "$ac_compile") 2>conftest.er1
17318 ac_status=$?
17319 grep -v '^ *+' conftest.er1 >conftest.err
17320 rm -f conftest.er1
17321 cat conftest.err >&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); } && {
17324 test -z "$ac_c_werror_flag" ||
17325 test ! -s conftest.err
17326 } && test -s conftest.$ac_objext; then
17327 wx_cv_nocygwin=no
17328 else
17329 echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.$ac_ext >&5
17331
17332 wx_cv_nocygwin=yes
17333
17334 fi
17335
17336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17337
17338
17339 fi
17340 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17341 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17342
17343 if test "$wx_cv_nocygwin" = "yes"; then
17344 wants_win32=1
17345 else
17346 doesnt_want_win32=1
17347 fi
17348 fi
17349 if test "$wants_win32" = 1 ; then
17350 BAKEFILE_FORCE_PLATFORM=win32
17351 fi
17352 ;;
17353 *-*-mingw*)
17354 wants_win32=1
17355 ;;
17356 esac
17357
17358 if test "$wxUSE_WINE" = "yes"; then
17359 wants_win32=1
17360 LDFLAGS_GUI="-mwindows"
17361 fi
17362
17363 if test "$wants_win32" = 1 ; then
17364 USE_UNIX=0
17365 USE_WIN32=1
17366 cat >>confdefs.h <<\_ACEOF
17367 #define __WIN32__ 1
17368 _ACEOF
17369
17370 cat >>confdefs.h <<\_ACEOF
17371 #define __WIN95__ 1
17372 _ACEOF
17373
17374 cat >>confdefs.h <<\_ACEOF
17375 #define __WINDOWS__ 1
17376 _ACEOF
17377
17378 cat >>confdefs.h <<\_ACEOF
17379 #define __GNUWIN32__ 1
17380 _ACEOF
17381
17382 cat >>confdefs.h <<\_ACEOF
17383 #define STRICT 1
17384 _ACEOF
17385
17386 fi
17387 if test "$doesnt_want_win32" = 1 ; then
17388 USE_UNIX=1
17389 USE_WIN32=0
17390 fi
17391
17392 if test "$USE_UNIX" = 1 ; then
17393 wxUSE_UNIX=yes
17394 cat >>confdefs.h <<\_ACEOF
17395 #define __UNIX__ 1
17396 _ACEOF
17397
17398 fi
17399
17400 case "${host}" in
17401 *-pc-os2_emx | *-pc-os2-emx )
17402 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17403 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17404 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17405 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17406 echo $ECHO_N "(cached) $ECHO_C" >&6
17407 else
17408 ac_check_lib_save_LIBS=$LIBS
17409 LIBS="-lcExt $LIBS"
17410 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */
17412 _ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17420 #ifdef __cplusplus
17421 extern "C"
17422 #endif
17423 char drand48 ();
17424 int
17425 main ()
17426 {
17427 return drand48 ();
17428 ;
17429 return 0;
17430 }
17431 _ACEOF
17432 rm -f conftest.$ac_objext conftest$ac_exeext
17433 if { (ac_try="$ac_link"
17434 case "(($ac_try" in
17435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17437 esac
17438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_link") 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest$ac_exeext &&
17449 $as_test_x conftest$ac_exeext; then
17450 ac_cv_lib_cExt_drand48=yes
17451 else
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.$ac_ext >&5
17454
17455 ac_cv_lib_cExt_drand48=no
17456 fi
17457
17458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17459 conftest$ac_exeext conftest.$ac_ext
17460 LIBS=$ac_check_lib_save_LIBS
17461 fi
17462 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17463 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17464 if test $ac_cv_lib_cExt_drand48 = yes; then
17465 LIBS="$LIBS -lcExt"
17466 fi
17467
17468 else
17469 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17470 fi
17471 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17472 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17473 if test "${wx_cv_gccversion+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 else
17476
17477 if test "$cross_compiling" = yes; then
17478 wx_cv_gccversion="EMX2"
17479
17480 else
17481 cat >conftest.$ac_ext <<_ACEOF
17482 /* confdefs.h. */
17483 _ACEOF
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17487
17488 #include <stdio.h>
17489
17490 int main()
17491 {
17492 FILE *f=fopen("conftestval", "w");
17493 if (!f) exit(1);
17494 fprintf(f,
17495 #if (__GNUC__ < 3)
17496 "EMX2"
17497 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17498 "EMX3"
17499 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17500 "Innotek5"
17501 #else
17502 "Innotek6"
17503 #endif
17504 );
17505 exit(0);
17506 }
17507
17508 _ACEOF
17509 rm -f conftest$ac_exeext
17510 if { (ac_try="$ac_link"
17511 case "(($ac_try" in
17512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17513 *) ac_try_echo=$ac_try;;
17514 esac
17515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17516 (eval "$ac_link") 2>&5
17517 ac_status=$?
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17520 { (case "(($ac_try" in
17521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17522 *) ac_try_echo=$ac_try;;
17523 esac
17524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17525 (eval "$ac_try") 2>&5
17526 ac_status=$?
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); }; }; then
17529 wx_cv_gccversion=`cat conftestval`
17530 else
17531 echo "$as_me: program exited with status $ac_status" >&5
17532 echo "$as_me: failed program was:" >&5
17533 sed 's/^/| /' conftest.$ac_ext >&5
17534
17535 ( exit $ac_status )
17536 wx_cv_gccversion="EMX2"
17537 fi
17538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17539 fi
17540
17541
17542
17543 fi
17544 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17545 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17546 if test "$wx_cv_gccversion" = "EMX2"; then
17547 LIBS="$LIBS -lstdcpp"
17548 LDFLAGS="$LDFLAGS -Zsysv-signals"
17549 else
17550 if test "$wx_cv_gccversion" = "EMX3"; then
17551 LIBS="$LIBS -lstdcxx -lgcc"
17552 LDFLAGS="$LDFLAGS -Zsysv-signals"
17553 else
17554 LIBS="$LIBS -lstdc++"
17555 fi
17556 fi
17557 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17558 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17559 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17560 wxUSE_OMF=yes
17561 enable_omf=yes
17562 fi
17563 ;;
17564 *)
17565
17566 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17567 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17568 if test "${ac_cv_string_strcasecmp+set}" = set; then
17569 echo $ECHO_N "(cached) $ECHO_C" >&6
17570 else
17571
17572 cat >conftest.$ac_ext <<_ACEOF
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578
17579 #include <string.h>
17580
17581 int
17582 main ()
17583 {
17584
17585 strcasecmp("foo", "bar");
17586
17587 ;
17588 return 0;
17589 }
17590 _ACEOF
17591 rm -f conftest.$ac_objext conftest$ac_exeext
17592 if { (ac_try="$ac_link"
17593 case "(($ac_try" in
17594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17595 *) ac_try_echo=$ac_try;;
17596 esac
17597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17598 (eval "$ac_link") 2>conftest.er1
17599 ac_status=$?
17600 grep -v '^ *+' conftest.er1 >conftest.err
17601 rm -f conftest.er1
17602 cat conftest.err >&5
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); } && {
17605 test -z "$ac_c_werror_flag" ||
17606 test ! -s conftest.err
17607 } && test -s conftest$ac_exeext &&
17608 $as_test_x conftest$ac_exeext; then
17609 ac_cv_string_strcasecmp=yes
17610 else
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.$ac_ext >&5
17613
17614 ac_cv_string_strcasecmp=no
17615
17616 fi
17617
17618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17619 conftest$ac_exeext conftest.$ac_ext
17620
17621 fi
17622 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17623 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17624
17625 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17626 cat >>confdefs.h <<\_ACEOF
17627 #define HAVE_STRCASECMP_IN_STRING_H 1
17628 _ACEOF
17629
17630 else
17631 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17632 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17633 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17634 echo $ECHO_N "(cached) $ECHO_C" >&6
17635 else
17636
17637 cat >conftest.$ac_ext <<_ACEOF
17638 /* confdefs.h. */
17639 _ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643
17644 #include <strings.h>
17645
17646 int
17647 main ()
17648 {
17649
17650 strcasecmp("foo", "bar");
17651
17652 ;
17653 return 0;
17654 }
17655 _ACEOF
17656 rm -f conftest.$ac_objext conftest$ac_exeext
17657 if { (ac_try="$ac_link"
17658 case "(($ac_try" in
17659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17660 *) ac_try_echo=$ac_try;;
17661 esac
17662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17663 (eval "$ac_link") 2>conftest.er1
17664 ac_status=$?
17665 grep -v '^ *+' conftest.er1 >conftest.err
17666 rm -f conftest.er1
17667 cat conftest.err >&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); } && {
17670 test -z "$ac_c_werror_flag" ||
17671 test ! -s conftest.err
17672 } && test -s conftest$ac_exeext &&
17673 $as_test_x conftest$ac_exeext; then
17674 ac_cv_strings_strcasecmp=yes
17675 else
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17678
17679 ac_cv_strings_strcasecmp=no
17680
17681 fi
17682
17683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17684 conftest$ac_exeext conftest.$ac_ext
17685
17686 fi
17687 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17688 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17689
17690 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17691 cat >>confdefs.h <<\_ACEOF
17692 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17693 _ACEOF
17694
17695 else
17696 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17697 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17698 { (exit 1); exit 1; }; }
17699 fi
17700 fi
17701
17702 ;;
17703 esac
17704
17705
17706 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17707 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17708 if test "${ac_cv_header_stdc+set}" = set; then
17709 echo $ECHO_N "(cached) $ECHO_C" >&6
17710 else
17711 cat >conftest.$ac_ext <<_ACEOF
17712 /* confdefs.h. */
17713 _ACEOF
17714 cat confdefs.h >>conftest.$ac_ext
17715 cat >>conftest.$ac_ext <<_ACEOF
17716 /* end confdefs.h. */
17717 #include <stdlib.h>
17718 #include <stdarg.h>
17719 #include <string.h>
17720 #include <float.h>
17721
17722 int
17723 main ()
17724 {
17725
17726 ;
17727 return 0;
17728 }
17729 _ACEOF
17730 rm -f conftest.$ac_objext
17731 if { (ac_try="$ac_compile"
17732 case "(($ac_try" in
17733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17734 *) ac_try_echo=$ac_try;;
17735 esac
17736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17737 (eval "$ac_compile") 2>conftest.er1
17738 ac_status=$?
17739 grep -v '^ *+' conftest.er1 >conftest.err
17740 rm -f conftest.er1
17741 cat conftest.err >&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } && {
17744 test -z "$ac_c_werror_flag" ||
17745 test ! -s conftest.err
17746 } && test -s conftest.$ac_objext; then
17747 ac_cv_header_stdc=yes
17748 else
17749 echo "$as_me: failed program was:" >&5
17750 sed 's/^/| /' conftest.$ac_ext >&5
17751
17752 ac_cv_header_stdc=no
17753 fi
17754
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756
17757 if test $ac_cv_header_stdc = yes; then
17758 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17759 cat >conftest.$ac_ext <<_ACEOF
17760 /* confdefs.h. */
17761 _ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 #include <string.h>
17766
17767 _ACEOF
17768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17769 $EGREP "memchr" >/dev/null 2>&1; then
17770 :
17771 else
17772 ac_cv_header_stdc=no
17773 fi
17774 rm -f conftest*
17775
17776 fi
17777
17778 if test $ac_cv_header_stdc = yes; then
17779 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17780 cat >conftest.$ac_ext <<_ACEOF
17781 /* confdefs.h. */
17782 _ACEOF
17783 cat confdefs.h >>conftest.$ac_ext
17784 cat >>conftest.$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 #include <stdlib.h>
17787
17788 _ACEOF
17789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17790 $EGREP "free" >/dev/null 2>&1; then
17791 :
17792 else
17793 ac_cv_header_stdc=no
17794 fi
17795 rm -f conftest*
17796
17797 fi
17798
17799 if test $ac_cv_header_stdc = yes; then
17800 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17801 if test "$cross_compiling" = yes; then
17802 :
17803 else
17804 cat >conftest.$ac_ext <<_ACEOF
17805 /* confdefs.h. */
17806 _ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17810 #include <ctype.h>
17811 #include <stdlib.h>
17812 #if ((' ' & 0x0FF) == 0x020)
17813 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17814 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17815 #else
17816 # define ISLOWER(c) \
17817 (('a' <= (c) && (c) <= 'i') \
17818 || ('j' <= (c) && (c) <= 'r') \
17819 || ('s' <= (c) && (c) <= 'z'))
17820 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17821 #endif
17822
17823 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17824 int
17825 main ()
17826 {
17827 int i;
17828 for (i = 0; i < 256; i++)
17829 if (XOR (islower (i), ISLOWER (i))
17830 || toupper (i) != TOUPPER (i))
17831 return 2;
17832 return 0;
17833 }
17834 _ACEOF
17835 rm -f conftest$ac_exeext
17836 if { (ac_try="$ac_link"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17839 *) ac_try_echo=$ac_try;;
17840 esac
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_link") 2>&5
17843 ac_status=$?
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17846 { (case "(($ac_try" in
17847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17848 *) ac_try_echo=$ac_try;;
17849 esac
17850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17851 (eval "$ac_try") 2>&5
17852 ac_status=$?
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; }; then
17855 :
17856 else
17857 echo "$as_me: program exited with status $ac_status" >&5
17858 echo "$as_me: failed program was:" >&5
17859 sed 's/^/| /' conftest.$ac_ext >&5
17860
17861 ( exit $ac_status )
17862 ac_cv_header_stdc=no
17863 fi
17864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17865 fi
17866
17867
17868 fi
17869 fi
17870 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17871 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17872 if test $ac_cv_header_stdc = yes; then
17873
17874 cat >>confdefs.h <<\_ACEOF
17875 #define STDC_HEADERS 1
17876 _ACEOF
17877
17878 fi
17879
17880 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17891 inttypes.h stdint.h unistd.h
17892 do
17893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17894 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17897 echo $ECHO_N "(cached) $ECHO_C" >&6
17898 else
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 $ac_includes_default
17906
17907 #include <$ac_header>
17908 _ACEOF
17909 rm -f conftest.$ac_objext
17910 if { (ac_try="$ac_compile"
17911 case "(($ac_try" in
17912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17913 *) ac_try_echo=$ac_try;;
17914 esac
17915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17916 (eval "$ac_compile") 2>conftest.er1
17917 ac_status=$?
17918 grep -v '^ *+' conftest.er1 >conftest.err
17919 rm -f conftest.er1
17920 cat conftest.err >&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); } && {
17923 test -z "$ac_c_werror_flag" ||
17924 test ! -s conftest.err
17925 } && test -s conftest.$ac_objext; then
17926 eval "$as_ac_Header=yes"
17927 else
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.$ac_ext >&5
17930
17931 eval "$as_ac_Header=no"
17932 fi
17933
17934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17935 fi
17936 ac_res=`eval echo '${'$as_ac_Header'}'`
17937 { echo "$as_me:$LINENO: result: $ac_res" >&5
17938 echo "${ECHO_T}$ac_res" >&6; }
17939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17940 cat >>confdefs.h <<_ACEOF
17941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17942 _ACEOF
17943
17944 fi
17945
17946 done
17947
17948
17949
17950
17951
17952
17953
17954
17955 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17956 do
17957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17961 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 else
17963 cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h. */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969 $ac_includes_default
17970
17971 #include <$ac_header>
17972 _ACEOF
17973 rm -f conftest.$ac_objext
17974 if { (ac_try="$ac_compile"
17975 case "(($ac_try" in
17976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17977 *) ac_try_echo=$ac_try;;
17978 esac
17979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17980 (eval "$ac_compile") 2>conftest.er1
17981 ac_status=$?
17982 grep -v '^ *+' conftest.er1 >conftest.err
17983 rm -f conftest.er1
17984 cat conftest.err >&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } && {
17987 test -z "$ac_c_werror_flag" ||
17988 test ! -s conftest.err
17989 } && test -s conftest.$ac_objext; then
17990 eval "$as_ac_Header=yes"
17991 else
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.$ac_ext >&5
17994
17995 eval "$as_ac_Header=no"
17996 fi
17997
17998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17999 fi
18000 ac_res=`eval echo '${'$as_ac_Header'}'`
18001 { echo "$as_me:$LINENO: result: $ac_res" >&5
18002 echo "${ECHO_T}$ac_res" >&6; }
18003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18004 cat >>confdefs.h <<_ACEOF
18005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18006 _ACEOF
18007
18008 fi
18009
18010 done
18011
18012
18013 if test "$ac_cv_header_wchar_h" != "yes"; then
18014 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18015 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18016 if test "${ac_cv_header_wcstr_h+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 else
18019 cat >conftest.$ac_ext <<_ACEOF
18020 /* confdefs.h. */
18021 _ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 $ac_includes_default
18026
18027 #include <wcstr.h>
18028 _ACEOF
18029 rm -f conftest.$ac_objext
18030 if { (ac_try="$ac_compile"
18031 case "(($ac_try" in
18032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18034 esac
18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_compile") 2>conftest.er1
18037 ac_status=$?
18038 grep -v '^ *+' conftest.er1 >conftest.err
18039 rm -f conftest.er1
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } && {
18043 test -z "$ac_c_werror_flag" ||
18044 test ! -s conftest.err
18045 } && test -s conftest.$ac_objext; then
18046 ac_cv_header_wcstr_h=yes
18047 else
18048 echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.$ac_ext >&5
18050
18051 ac_cv_header_wcstr_h=no
18052 fi
18053
18054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18055 fi
18056 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18057 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18058
18059
18060 fi
18061
18062 case "${host}" in
18063 *-pc-os2_emx | *-pc-os2-emx )
18064 if test $ac_cv_header_langinfo_h = "yes" \
18065 -a \( "$wx_cv_gccversion" = "EMX2" \
18066 -o "$wx_cv_gccversion" = "EMX3" \
18067 -o "$wx_cv_gccversion" = "Innotek5" \); then
18068 LIBS="$LIBS -lintl"
18069 fi
18070 ;;
18071 esac
18072
18073 if test "$USE_UNIX" = 1 ; then
18074 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18075 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18076 if test "${ac_cv_header_sys_select_h+set}" = set; then
18077 echo $ECHO_N "(cached) $ECHO_C" >&6
18078 else
18079 cat >conftest.$ac_ext <<_ACEOF
18080 /* confdefs.h. */
18081 _ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085 $ac_includes_default
18086
18087 #include <sys/select.h>
18088 _ACEOF
18089 rm -f conftest.$ac_objext
18090 if { (ac_try="$ac_compile"
18091 case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18094 esac
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_compile") 2>conftest.er1
18097 ac_status=$?
18098 grep -v '^ *+' conftest.er1 >conftest.err
18099 rm -f conftest.er1
18100 cat conftest.err >&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); } && {
18103 test -z "$ac_c_werror_flag" ||
18104 test ! -s conftest.err
18105 } && test -s conftest.$ac_objext; then
18106 ac_cv_header_sys_select_h=yes
18107 else
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.$ac_ext >&5
18110
18111 ac_cv_header_sys_select_h=no
18112 fi
18113
18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18115 fi
18116 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18117 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18118
18119
18120 fi
18121
18122
18123 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18124 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18125 if test "${ac_cv_c_const+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18127 else
18128 cat >conftest.$ac_ext <<_ACEOF
18129 /* confdefs.h. */
18130 _ACEOF
18131 cat confdefs.h >>conftest.$ac_ext
18132 cat >>conftest.$ac_ext <<_ACEOF
18133 /* end confdefs.h. */
18134
18135 int
18136 main ()
18137 {
18138 /* FIXME: Include the comments suggested by Paul. */
18139 #ifndef __cplusplus
18140 /* Ultrix mips cc rejects this. */
18141 typedef int charset[2];
18142 const charset cs;
18143 /* SunOS 4.1.1 cc rejects this. */
18144 char const *const *pcpcc;
18145 char **ppc;
18146 /* NEC SVR4.0.2 mips cc rejects this. */
18147 struct point {int x, y;};
18148 static struct point const zero = {0,0};
18149 /* AIX XL C 1.02.0.0 rejects this.
18150 It does not let you subtract one const X* pointer from another in
18151 an arm of an if-expression whose if-part is not a constant
18152 expression */
18153 const char *g = "string";
18154 pcpcc = &g + (g ? g-g : 0);
18155 /* HPUX 7.0 cc rejects these. */
18156 ++pcpcc;
18157 ppc = (char**) pcpcc;
18158 pcpcc = (char const *const *) ppc;
18159 { /* SCO 3.2v4 cc rejects this. */
18160 char *t;
18161 char const *s = 0 ? (char *) 0 : (char const *) 0;
18162
18163 *t++ = 0;
18164 if (s) return 0;
18165 }
18166 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18167 int x[] = {25, 17};
18168 const int *foo = &x[0];
18169 ++foo;
18170 }
18171 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18172 typedef const int *iptr;
18173 iptr p = 0;
18174 ++p;
18175 }
18176 { /* AIX XL C 1.02.0.0 rejects this saying
18177 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18178 struct s { int j; const int *ap[3]; };
18179 struct s *b; b->j = 5;
18180 }
18181 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18182 const int foo = 10;
18183 if (!foo) return 0;
18184 }
18185 return !cs[0] && !zero.x;
18186 #endif
18187
18188 ;
18189 return 0;
18190 }
18191 _ACEOF
18192 rm -f conftest.$ac_objext
18193 if { (ac_try="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18197 esac
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18200 ac_status=$?
18201 grep -v '^ *+' conftest.er1 >conftest.err
18202 rm -f conftest.er1
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_c_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18209 ac_cv_c_const=yes
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18213
18214 ac_cv_c_const=no
18215 fi
18216
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218 fi
18219 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18220 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18221 if test $ac_cv_c_const = no; then
18222
18223 cat >>confdefs.h <<\_ACEOF
18224 #define const
18225 _ACEOF
18226
18227 fi
18228
18229 { echo "$as_me:$LINENO: checking for inline" >&5
18230 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18231 if test "${ac_cv_c_inline+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 else
18234 ac_cv_c_inline=no
18235 for ac_kw in inline __inline__ __inline; do
18236 cat >conftest.$ac_ext <<_ACEOF
18237 /* confdefs.h. */
18238 _ACEOF
18239 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 #ifndef __cplusplus
18243 typedef int foo_t;
18244 static $ac_kw foo_t static_foo () {return 0; }
18245 $ac_kw foo_t foo () {return 0; }
18246 #endif
18247
18248 _ACEOF
18249 rm -f conftest.$ac_objext
18250 if { (ac_try="$ac_compile"
18251 case "(($ac_try" in
18252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18253 *) ac_try_echo=$ac_try;;
18254 esac
18255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18256 (eval "$ac_compile") 2>conftest.er1
18257 ac_status=$?
18258 grep -v '^ *+' conftest.er1 >conftest.err
18259 rm -f conftest.er1
18260 cat conftest.err >&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } && {
18263 test -z "$ac_c_werror_flag" ||
18264 test ! -s conftest.err
18265 } && test -s conftest.$ac_objext; then
18266 ac_cv_c_inline=$ac_kw
18267 else
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.$ac_ext >&5
18270
18271
18272 fi
18273
18274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18275 test "$ac_cv_c_inline" != no && break
18276 done
18277
18278 fi
18279 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18280 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18281
18282
18283 case $ac_cv_c_inline in
18284 inline | yes) ;;
18285 *)
18286 case $ac_cv_c_inline in
18287 no) ac_val=;;
18288 *) ac_val=$ac_cv_c_inline;;
18289 esac
18290 cat >>confdefs.h <<_ACEOF
18291 #ifndef __cplusplus
18292 #define inline $ac_val
18293 #endif
18294 _ACEOF
18295 ;;
18296 esac
18297
18298
18299 { echo "$as_me:$LINENO: checking for short" >&5
18300 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18301 if test "${ac_cv_type_short+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 else
18304 cat >conftest.$ac_ext <<_ACEOF
18305 /* confdefs.h. */
18306 _ACEOF
18307 cat confdefs.h >>conftest.$ac_ext
18308 cat >>conftest.$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18310 $ac_includes_default
18311 typedef short ac__type_new_;
18312 int
18313 main ()
18314 {
18315 if ((ac__type_new_ *) 0)
18316 return 0;
18317 if (sizeof (ac__type_new_))
18318 return 0;
18319 ;
18320 return 0;
18321 }
18322 _ACEOF
18323 rm -f conftest.$ac_objext
18324 if { (ac_try="$ac_compile"
18325 case "(($ac_try" in
18326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18327 *) ac_try_echo=$ac_try;;
18328 esac
18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_compile") 2>conftest.er1
18331 ac_status=$?
18332 grep -v '^ *+' conftest.er1 >conftest.err
18333 rm -f conftest.er1
18334 cat conftest.err >&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } && {
18337 test -z "$ac_c_werror_flag" ||
18338 test ! -s conftest.err
18339 } && test -s conftest.$ac_objext; then
18340 ac_cv_type_short=yes
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 ac_cv_type_short=no
18346 fi
18347
18348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18349 fi
18350 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18351 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18352
18353 # The cast to long int works around a bug in the HP C Compiler
18354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18356 # This bug is HP SR number 8606223364.
18357 { echo "$as_me:$LINENO: checking size of short" >&5
18358 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18359 if test "${ac_cv_sizeof_short+set}" = set; then
18360 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 else
18362 if test "$cross_compiling" = yes; then
18363 # Depending upon the size, compute the lo and hi bounds.
18364 cat >conftest.$ac_ext <<_ACEOF
18365 /* confdefs.h. */
18366 _ACEOF
18367 cat confdefs.h >>conftest.$ac_ext
18368 cat >>conftest.$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 $ac_includes_default
18371 typedef short ac__type_sizeof_;
18372 int
18373 main ()
18374 {
18375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18376 test_array [0] = 0
18377
18378 ;
18379 return 0;
18380 }
18381 _ACEOF
18382 rm -f conftest.$ac_objext
18383 if { (ac_try="$ac_compile"
18384 case "(($ac_try" in
18385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18386 *) ac_try_echo=$ac_try;;
18387 esac
18388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18389 (eval "$ac_compile") 2>conftest.er1
18390 ac_status=$?
18391 grep -v '^ *+' conftest.er1 >conftest.err
18392 rm -f conftest.er1
18393 cat conftest.err >&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } && {
18396 test -z "$ac_c_werror_flag" ||
18397 test ! -s conftest.err
18398 } && test -s conftest.$ac_objext; then
18399 ac_lo=0 ac_mid=0
18400 while :; do
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 typedef short ac__type_sizeof_;
18409 int
18410 main ()
18411 {
18412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18413 test_array [0] = 0
18414
18415 ;
18416 return 0;
18417 }
18418 _ACEOF
18419 rm -f conftest.$ac_objext
18420 if { (ac_try="$ac_compile"
18421 case "(($ac_try" in
18422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18424 esac
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_compile") 2>conftest.er1
18427 ac_status=$?
18428 grep -v '^ *+' conftest.er1 >conftest.err
18429 rm -f conftest.er1
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } && {
18433 test -z "$ac_c_werror_flag" ||
18434 test ! -s conftest.err
18435 } && test -s conftest.$ac_objext; then
18436 ac_hi=$ac_mid; break
18437 else
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18440
18441 ac_lo=`expr $ac_mid + 1`
18442 if test $ac_lo -le $ac_mid; then
18443 ac_lo= ac_hi=
18444 break
18445 fi
18446 ac_mid=`expr 2 '*' $ac_mid + 1`
18447 fi
18448
18449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18450 done
18451 else
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18454
18455 cat >conftest.$ac_ext <<_ACEOF
18456 /* confdefs.h. */
18457 _ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 $ac_includes_default
18462 typedef short ac__type_sizeof_;
18463 int
18464 main ()
18465 {
18466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18467 test_array [0] = 0
18468
18469 ;
18470 return 0;
18471 }
18472 _ACEOF
18473 rm -f conftest.$ac_objext
18474 if { (ac_try="$ac_compile"
18475 case "(($ac_try" in
18476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18477 *) ac_try_echo=$ac_try;;
18478 esac
18479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18480 (eval "$ac_compile") 2>conftest.er1
18481 ac_status=$?
18482 grep -v '^ *+' conftest.er1 >conftest.err
18483 rm -f conftest.er1
18484 cat conftest.err >&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); } && {
18487 test -z "$ac_c_werror_flag" ||
18488 test ! -s conftest.err
18489 } && test -s conftest.$ac_objext; then
18490 ac_hi=-1 ac_mid=-1
18491 while :; do
18492 cat >conftest.$ac_ext <<_ACEOF
18493 /* confdefs.h. */
18494 _ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18498 $ac_includes_default
18499 typedef short ac__type_sizeof_;
18500 int
18501 main ()
18502 {
18503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18504 test_array [0] = 0
18505
18506 ;
18507 return 0;
18508 }
18509 _ACEOF
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514 *) ac_try_echo=$ac_try;;
18515 esac
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18518 ac_status=$?
18519 grep -v '^ *+' conftest.er1 >conftest.err
18520 rm -f conftest.er1
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.$ac_objext; then
18527 ac_lo=$ac_mid; break
18528 else
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18531
18532 ac_hi=`expr '(' $ac_mid ')' - 1`
18533 if test $ac_mid -le $ac_hi; then
18534 ac_lo= ac_hi=
18535 break
18536 fi
18537 ac_mid=`expr 2 '*' $ac_mid`
18538 fi
18539
18540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18541 done
18542 else
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18545
18546 ac_lo= ac_hi=
18547 fi
18548
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550 fi
18551
18552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553 # Binary search between lo and hi bounds.
18554 while test "x$ac_lo" != "x$ac_hi"; do
18555 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 $ac_includes_default
18563 typedef short ac__type_sizeof_;
18564 int
18565 main ()
18566 {
18567 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18568 test_array [0] = 0
18569
18570 ;
18571 return 0;
18572 }
18573 _ACEOF
18574 rm -f conftest.$ac_objext
18575 if { (ac_try="$ac_compile"
18576 case "(($ac_try" in
18577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18578 *) ac_try_echo=$ac_try;;
18579 esac
18580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18581 (eval "$ac_compile") 2>conftest.er1
18582 ac_status=$?
18583 grep -v '^ *+' conftest.er1 >conftest.err
18584 rm -f conftest.er1
18585 cat conftest.err >&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); } && {
18588 test -z "$ac_c_werror_flag" ||
18589 test ! -s conftest.err
18590 } && test -s conftest.$ac_objext; then
18591 ac_hi=$ac_mid
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18595
18596 ac_lo=`expr '(' $ac_mid ')' + 1`
18597 fi
18598
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 done
18601 case $ac_lo in
18602 ?*) ac_cv_sizeof_short=$ac_lo;;
18603 '') if test "$ac_cv_type_short" = yes; then
18604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18605 See \`config.log' for more details." >&5
18606 echo "$as_me: error: cannot compute sizeof (short)
18607 See \`config.log' for more details." >&2;}
18608 { (exit 77); exit 77; }; }
18609 else
18610 ac_cv_sizeof_short=0
18611 fi ;;
18612 esac
18613 else
18614 cat >conftest.$ac_ext <<_ACEOF
18615 /* confdefs.h. */
18616 _ACEOF
18617 cat confdefs.h >>conftest.$ac_ext
18618 cat >>conftest.$ac_ext <<_ACEOF
18619 /* end confdefs.h. */
18620 $ac_includes_default
18621 typedef short ac__type_sizeof_;
18622 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18623 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18624 #include <stdio.h>
18625 #include <stdlib.h>
18626 int
18627 main ()
18628 {
18629
18630 FILE *f = fopen ("conftest.val", "w");
18631 if (! f)
18632 return 1;
18633 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18634 {
18635 long int i = longval ();
18636 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18637 return 1;
18638 fprintf (f, "%ld\n", i);
18639 }
18640 else
18641 {
18642 unsigned long int i = ulongval ();
18643 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18644 return 1;
18645 fprintf (f, "%lu\n", i);
18646 }
18647 return ferror (f) || fclose (f) != 0;
18648
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 rm -f conftest$ac_exeext
18654 if { (ac_try="$ac_link"
18655 case "(($ac_try" in
18656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18657 *) ac_try_echo=$ac_try;;
18658 esac
18659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18660 (eval "$ac_link") 2>&5
18661 ac_status=$?
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18664 { (case "(($ac_try" in
18665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18666 *) ac_try_echo=$ac_try;;
18667 esac
18668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18669 (eval "$ac_try") 2>&5
18670 ac_status=$?
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 ac_cv_sizeof_short=`cat conftest.val`
18674 else
18675 echo "$as_me: program exited with status $ac_status" >&5
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679 ( exit $ac_status )
18680 if test "$ac_cv_type_short" = yes; then
18681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18682 See \`config.log' for more details." >&5
18683 echo "$as_me: error: cannot compute sizeof (short)
18684 See \`config.log' for more details." >&2;}
18685 { (exit 77); exit 77; }; }
18686 else
18687 ac_cv_sizeof_short=0
18688 fi
18689 fi
18690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18691 fi
18692 rm -f conftest.val
18693 fi
18694 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18695 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18696
18697
18698
18699 cat >>confdefs.h <<_ACEOF
18700 #define SIZEOF_SHORT $ac_cv_sizeof_short
18701 _ACEOF
18702
18703
18704 { echo "$as_me:$LINENO: checking for void *" >&5
18705 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18706 if test "${ac_cv_type_void_p+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18708 else
18709 cat >conftest.$ac_ext <<_ACEOF
18710 /* confdefs.h. */
18711 _ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18716 typedef void * ac__type_new_;
18717 int
18718 main ()
18719 {
18720 if ((ac__type_new_ *) 0)
18721 return 0;
18722 if (sizeof (ac__type_new_))
18723 return 0;
18724 ;
18725 return 0;
18726 }
18727 _ACEOF
18728 rm -f conftest.$ac_objext
18729 if { (ac_try="$ac_compile"
18730 case "(($ac_try" in
18731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18732 *) ac_try_echo=$ac_try;;
18733 esac
18734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18735 (eval "$ac_compile") 2>conftest.er1
18736 ac_status=$?
18737 grep -v '^ *+' conftest.er1 >conftest.err
18738 rm -f conftest.er1
18739 cat conftest.err >&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); } && {
18742 test -z "$ac_c_werror_flag" ||
18743 test ! -s conftest.err
18744 } && test -s conftest.$ac_objext; then
18745 ac_cv_type_void_p=yes
18746 else
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18749
18750 ac_cv_type_void_p=no
18751 fi
18752
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18754 fi
18755 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18756 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18757
18758 # The cast to long int works around a bug in the HP C Compiler
18759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18761 # This bug is HP SR number 8606223364.
18762 { echo "$as_me:$LINENO: checking size of void *" >&5
18763 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18764 if test "${ac_cv_sizeof_void_p+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18766 else
18767 if test "$cross_compiling" = yes; then
18768 # Depending upon the size, compute the lo and hi bounds.
18769 cat >conftest.$ac_ext <<_ACEOF
18770 /* confdefs.h. */
18771 _ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 $ac_includes_default
18776 typedef void * ac__type_sizeof_;
18777 int
18778 main ()
18779 {
18780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18781 test_array [0] = 0
18782
18783 ;
18784 return 0;
18785 }
18786 _ACEOF
18787 rm -f conftest.$ac_objext
18788 if { (ac_try="$ac_compile"
18789 case "(($ac_try" in
18790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18791 *) ac_try_echo=$ac_try;;
18792 esac
18793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18794 (eval "$ac_compile") 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && {
18801 test -z "$ac_c_werror_flag" ||
18802 test ! -s conftest.err
18803 } && test -s conftest.$ac_objext; then
18804 ac_lo=0 ac_mid=0
18805 while :; do
18806 cat >conftest.$ac_ext <<_ACEOF
18807 /* confdefs.h. */
18808 _ACEOF
18809 cat confdefs.h >>conftest.$ac_ext
18810 cat >>conftest.$ac_ext <<_ACEOF
18811 /* end confdefs.h. */
18812 $ac_includes_default
18813 typedef void * ac__type_sizeof_;
18814 int
18815 main ()
18816 {
18817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18818 test_array [0] = 0
18819
18820 ;
18821 return 0;
18822 }
18823 _ACEOF
18824 rm -f conftest.$ac_objext
18825 if { (ac_try="$ac_compile"
18826 case "(($ac_try" in
18827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18828 *) ac_try_echo=$ac_try;;
18829 esac
18830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18831 (eval "$ac_compile") 2>conftest.er1
18832 ac_status=$?
18833 grep -v '^ *+' conftest.er1 >conftest.err
18834 rm -f conftest.er1
18835 cat conftest.err >&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } && {
18838 test -z "$ac_c_werror_flag" ||
18839 test ! -s conftest.err
18840 } && test -s conftest.$ac_objext; then
18841 ac_hi=$ac_mid; break
18842 else
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18845
18846 ac_lo=`expr $ac_mid + 1`
18847 if test $ac_lo -le $ac_mid; then
18848 ac_lo= ac_hi=
18849 break
18850 fi
18851 ac_mid=`expr 2 '*' $ac_mid + 1`
18852 fi
18853
18854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18855 done
18856 else
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18859
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18867 typedef void * ac__type_sizeof_;
18868 int
18869 main ()
18870 {
18871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18872 test_array [0] = 0
18873
18874 ;
18875 return 0;
18876 }
18877 _ACEOF
18878 rm -f conftest.$ac_objext
18879 if { (ac_try="$ac_compile"
18880 case "(($ac_try" in
18881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18882 *) ac_try_echo=$ac_try;;
18883 esac
18884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18885 (eval "$ac_compile") 2>conftest.er1
18886 ac_status=$?
18887 grep -v '^ *+' conftest.er1 >conftest.err
18888 rm -f conftest.er1
18889 cat conftest.err >&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } && {
18892 test -z "$ac_c_werror_flag" ||
18893 test ! -s conftest.err
18894 } && test -s conftest.$ac_objext; then
18895 ac_hi=-1 ac_mid=-1
18896 while :; do
18897 cat >conftest.$ac_ext <<_ACEOF
18898 /* confdefs.h. */
18899 _ACEOF
18900 cat confdefs.h >>conftest.$ac_ext
18901 cat >>conftest.$ac_ext <<_ACEOF
18902 /* end confdefs.h. */
18903 $ac_includes_default
18904 typedef void * ac__type_sizeof_;
18905 int
18906 main ()
18907 {
18908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18909 test_array [0] = 0
18910
18911 ;
18912 return 0;
18913 }
18914 _ACEOF
18915 rm -f conftest.$ac_objext
18916 if { (ac_try="$ac_compile"
18917 case "(($ac_try" in
18918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18919 *) ac_try_echo=$ac_try;;
18920 esac
18921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18922 (eval "$ac_compile") 2>conftest.er1
18923 ac_status=$?
18924 grep -v '^ *+' conftest.er1 >conftest.err
18925 rm -f conftest.er1
18926 cat conftest.err >&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } && {
18929 test -z "$ac_c_werror_flag" ||
18930 test ! -s conftest.err
18931 } && test -s conftest.$ac_objext; then
18932 ac_lo=$ac_mid; break
18933 else
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18936
18937 ac_hi=`expr '(' $ac_mid ')' - 1`
18938 if test $ac_mid -le $ac_hi; then
18939 ac_lo= ac_hi=
18940 break
18941 fi
18942 ac_mid=`expr 2 '*' $ac_mid`
18943 fi
18944
18945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18946 done
18947 else
18948 echo "$as_me: failed program was:" >&5
18949 sed 's/^/| /' conftest.$ac_ext >&5
18950
18951 ac_lo= ac_hi=
18952 fi
18953
18954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18955 fi
18956
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18958 # Binary search between lo and hi bounds.
18959 while test "x$ac_lo" != "x$ac_hi"; do
18960 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18961 cat >conftest.$ac_ext <<_ACEOF
18962 /* confdefs.h. */
18963 _ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 $ac_includes_default
18968 typedef void * ac__type_sizeof_;
18969 int
18970 main ()
18971 {
18972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18973 test_array [0] = 0
18974
18975 ;
18976 return 0;
18977 }
18978 _ACEOF
18979 rm -f conftest.$ac_objext
18980 if { (ac_try="$ac_compile"
18981 case "(($ac_try" in
18982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18983 *) ac_try_echo=$ac_try;;
18984 esac
18985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18986 (eval "$ac_compile") 2>conftest.er1
18987 ac_status=$?
18988 grep -v '^ *+' conftest.er1 >conftest.err
18989 rm -f conftest.er1
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } && {
18993 test -z "$ac_c_werror_flag" ||
18994 test ! -s conftest.err
18995 } && test -s conftest.$ac_objext; then
18996 ac_hi=$ac_mid
18997 else
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19000
19001 ac_lo=`expr '(' $ac_mid ')' + 1`
19002 fi
19003
19004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19005 done
19006 case $ac_lo in
19007 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19008 '') if test "$ac_cv_type_void_p" = yes; then
19009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19010 See \`config.log' for more details." >&5
19011 echo "$as_me: error: cannot compute sizeof (void *)
19012 See \`config.log' for more details." >&2;}
19013 { (exit 77); exit 77; }; }
19014 else
19015 ac_cv_sizeof_void_p=0
19016 fi ;;
19017 esac
19018 else
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 $ac_includes_default
19026 typedef void * ac__type_sizeof_;
19027 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19028 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19029 #include <stdio.h>
19030 #include <stdlib.h>
19031 int
19032 main ()
19033 {
19034
19035 FILE *f = fopen ("conftest.val", "w");
19036 if (! f)
19037 return 1;
19038 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19039 {
19040 long int i = longval ();
19041 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19042 return 1;
19043 fprintf (f, "%ld\n", i);
19044 }
19045 else
19046 {
19047 unsigned long int i = ulongval ();
19048 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19049 return 1;
19050 fprintf (f, "%lu\n", i);
19051 }
19052 return ferror (f) || fclose (f) != 0;
19053
19054 ;
19055 return 0;
19056 }
19057 _ACEOF
19058 rm -f conftest$ac_exeext
19059 if { (ac_try="$ac_link"
19060 case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19063 esac
19064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_link") 2>&5
19066 ac_status=$?
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19069 { (case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19072 esac
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_try") 2>&5
19075 ac_status=$?
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }; }; then
19078 ac_cv_sizeof_void_p=`cat conftest.val`
19079 else
19080 echo "$as_me: program exited with status $ac_status" >&5
19081 echo "$as_me: failed program was:" >&5
19082 sed 's/^/| /' conftest.$ac_ext >&5
19083
19084 ( exit $ac_status )
19085 if test "$ac_cv_type_void_p" = yes; then
19086 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19087 See \`config.log' for more details." >&5
19088 echo "$as_me: error: cannot compute sizeof (void *)
19089 See \`config.log' for more details." >&2;}
19090 { (exit 77); exit 77; }; }
19091 else
19092 ac_cv_sizeof_void_p=0
19093 fi
19094 fi
19095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19096 fi
19097 rm -f conftest.val
19098 fi
19099 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19100 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19101
19102
19103
19104 cat >>confdefs.h <<_ACEOF
19105 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19106 _ACEOF
19107
19108
19109 { echo "$as_me:$LINENO: checking for int" >&5
19110 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19111 if test "${ac_cv_type_int+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 else
19114 cat >conftest.$ac_ext <<_ACEOF
19115 /* confdefs.h. */
19116 _ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19121 typedef int ac__type_new_;
19122 int
19123 main ()
19124 {
19125 if ((ac__type_new_ *) 0)
19126 return 0;
19127 if (sizeof (ac__type_new_))
19128 return 0;
19129 ;
19130 return 0;
19131 }
19132 _ACEOF
19133 rm -f conftest.$ac_objext
19134 if { (ac_try="$ac_compile"
19135 case "(($ac_try" in
19136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19137 *) ac_try_echo=$ac_try;;
19138 esac
19139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19140 (eval "$ac_compile") 2>conftest.er1
19141 ac_status=$?
19142 grep -v '^ *+' conftest.er1 >conftest.err
19143 rm -f conftest.er1
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } && {
19147 test -z "$ac_c_werror_flag" ||
19148 test ! -s conftest.err
19149 } && test -s conftest.$ac_objext; then
19150 ac_cv_type_int=yes
19151 else
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19154
19155 ac_cv_type_int=no
19156 fi
19157
19158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19159 fi
19160 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19161 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19162
19163 # The cast to long int works around a bug in the HP C Compiler
19164 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19165 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19166 # This bug is HP SR number 8606223364.
19167 { echo "$as_me:$LINENO: checking size of int" >&5
19168 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19169 if test "${ac_cv_sizeof_int+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19171 else
19172 if test "$cross_compiling" = yes; then
19173 # Depending upon the size, compute the lo and hi bounds.
19174 cat >conftest.$ac_ext <<_ACEOF
19175 /* confdefs.h. */
19176 _ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 $ac_includes_default
19181 typedef int ac__type_sizeof_;
19182 int
19183 main ()
19184 {
19185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19186 test_array [0] = 0
19187
19188 ;
19189 return 0;
19190 }
19191 _ACEOF
19192 rm -f conftest.$ac_objext
19193 if { (ac_try="$ac_compile"
19194 case "(($ac_try" in
19195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19196 *) ac_try_echo=$ac_try;;
19197 esac
19198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19199 (eval "$ac_compile") 2>conftest.er1
19200 ac_status=$?
19201 grep -v '^ *+' conftest.er1 >conftest.err
19202 rm -f conftest.er1
19203 cat conftest.err >&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); } && {
19206 test -z "$ac_c_werror_flag" ||
19207 test ! -s conftest.err
19208 } && test -s conftest.$ac_objext; then
19209 ac_lo=0 ac_mid=0
19210 while :; do
19211 cat >conftest.$ac_ext <<_ACEOF
19212 /* confdefs.h. */
19213 _ACEOF
19214 cat confdefs.h >>conftest.$ac_ext
19215 cat >>conftest.$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 $ac_includes_default
19218 typedef int ac__type_sizeof_;
19219 int
19220 main ()
19221 {
19222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19223 test_array [0] = 0
19224
19225 ;
19226 return 0;
19227 }
19228 _ACEOF
19229 rm -f conftest.$ac_objext
19230 if { (ac_try="$ac_compile"
19231 case "(($ac_try" in
19232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19233 *) ac_try_echo=$ac_try;;
19234 esac
19235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19236 (eval "$ac_compile") 2>conftest.er1
19237 ac_status=$?
19238 grep -v '^ *+' conftest.er1 >conftest.err
19239 rm -f conftest.er1
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } && {
19243 test -z "$ac_c_werror_flag" ||
19244 test ! -s conftest.err
19245 } && test -s conftest.$ac_objext; then
19246 ac_hi=$ac_mid; break
19247 else
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.$ac_ext >&5
19250
19251 ac_lo=`expr $ac_mid + 1`
19252 if test $ac_lo -le $ac_mid; then
19253 ac_lo= ac_hi=
19254 break
19255 fi
19256 ac_mid=`expr 2 '*' $ac_mid + 1`
19257 fi
19258
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 done
19261 else
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19264
19265 cat >conftest.$ac_ext <<_ACEOF
19266 /* confdefs.h. */
19267 _ACEOF
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 $ac_includes_default
19272 typedef int ac__type_sizeof_;
19273 int
19274 main ()
19275 {
19276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19277 test_array [0] = 0
19278
19279 ;
19280 return 0;
19281 }
19282 _ACEOF
19283 rm -f conftest.$ac_objext
19284 if { (ac_try="$ac_compile"
19285 case "(($ac_try" in
19286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19287 *) ac_try_echo=$ac_try;;
19288 esac
19289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19290 (eval "$ac_compile") 2>conftest.er1
19291 ac_status=$?
19292 grep -v '^ *+' conftest.er1 >conftest.err
19293 rm -f conftest.er1
19294 cat conftest.err >&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } && {
19297 test -z "$ac_c_werror_flag" ||
19298 test ! -s conftest.err
19299 } && test -s conftest.$ac_objext; then
19300 ac_hi=-1 ac_mid=-1
19301 while :; do
19302 cat >conftest.$ac_ext <<_ACEOF
19303 /* confdefs.h. */
19304 _ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19309 typedef int ac__type_sizeof_;
19310 int
19311 main ()
19312 {
19313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19314 test_array [0] = 0
19315
19316 ;
19317 return 0;
19318 }
19319 _ACEOF
19320 rm -f conftest.$ac_objext
19321 if { (ac_try="$ac_compile"
19322 case "(($ac_try" in
19323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19324 *) ac_try_echo=$ac_try;;
19325 esac
19326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19327 (eval "$ac_compile") 2>conftest.er1
19328 ac_status=$?
19329 grep -v '^ *+' conftest.er1 >conftest.err
19330 rm -f conftest.er1
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } && {
19334 test -z "$ac_c_werror_flag" ||
19335 test ! -s conftest.err
19336 } && test -s conftest.$ac_objext; then
19337 ac_lo=$ac_mid; break
19338 else
19339 echo "$as_me: failed program was:" >&5
19340 sed 's/^/| /' conftest.$ac_ext >&5
19341
19342 ac_hi=`expr '(' $ac_mid ')' - 1`
19343 if test $ac_mid -le $ac_hi; then
19344 ac_lo= ac_hi=
19345 break
19346 fi
19347 ac_mid=`expr 2 '*' $ac_mid`
19348 fi
19349
19350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19351 done
19352 else
19353 echo "$as_me: failed program was:" >&5
19354 sed 's/^/| /' conftest.$ac_ext >&5
19355
19356 ac_lo= ac_hi=
19357 fi
19358
19359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19360 fi
19361
19362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 # Binary search between lo and hi bounds.
19364 while test "x$ac_lo" != "x$ac_hi"; do
19365 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19366 cat >conftest.$ac_ext <<_ACEOF
19367 /* confdefs.h. */
19368 _ACEOF
19369 cat confdefs.h >>conftest.$ac_ext
19370 cat >>conftest.$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 $ac_includes_default
19373 typedef int ac__type_sizeof_;
19374 int
19375 main ()
19376 {
19377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19378 test_array [0] = 0
19379
19380 ;
19381 return 0;
19382 }
19383 _ACEOF
19384 rm -f conftest.$ac_objext
19385 if { (ac_try="$ac_compile"
19386 case "(($ac_try" in
19387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19388 *) ac_try_echo=$ac_try;;
19389 esac
19390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19391 (eval "$ac_compile") 2>conftest.er1
19392 ac_status=$?
19393 grep -v '^ *+' conftest.er1 >conftest.err
19394 rm -f conftest.er1
19395 cat conftest.err >&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); } && {
19398 test -z "$ac_c_werror_flag" ||
19399 test ! -s conftest.err
19400 } && test -s conftest.$ac_objext; then
19401 ac_hi=$ac_mid
19402 else
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.$ac_ext >&5
19405
19406 ac_lo=`expr '(' $ac_mid ')' + 1`
19407 fi
19408
19409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19410 done
19411 case $ac_lo in
19412 ?*) ac_cv_sizeof_int=$ac_lo;;
19413 '') if test "$ac_cv_type_int" = yes; then
19414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19415 See \`config.log' for more details." >&5
19416 echo "$as_me: error: cannot compute sizeof (int)
19417 See \`config.log' for more details." >&2;}
19418 { (exit 77); exit 77; }; }
19419 else
19420 ac_cv_sizeof_int=0
19421 fi ;;
19422 esac
19423 else
19424 cat >conftest.$ac_ext <<_ACEOF
19425 /* confdefs.h. */
19426 _ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 $ac_includes_default
19431 typedef int ac__type_sizeof_;
19432 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19433 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19434 #include <stdio.h>
19435 #include <stdlib.h>
19436 int
19437 main ()
19438 {
19439
19440 FILE *f = fopen ("conftest.val", "w");
19441 if (! f)
19442 return 1;
19443 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19444 {
19445 long int i = longval ();
19446 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19447 return 1;
19448 fprintf (f, "%ld\n", i);
19449 }
19450 else
19451 {
19452 unsigned long int i = ulongval ();
19453 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19454 return 1;
19455 fprintf (f, "%lu\n", i);
19456 }
19457 return ferror (f) || fclose (f) != 0;
19458
19459 ;
19460 return 0;
19461 }
19462 _ACEOF
19463 rm -f conftest$ac_exeext
19464 if { (ac_try="$ac_link"
19465 case "(($ac_try" in
19466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19467 *) ac_try_echo=$ac_try;;
19468 esac
19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_link") 2>&5
19471 ac_status=$?
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19474 { (case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19477 esac
19478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_try") 2>&5
19480 ac_status=$?
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); }; }; then
19483 ac_cv_sizeof_int=`cat conftest.val`
19484 else
19485 echo "$as_me: program exited with status $ac_status" >&5
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19488
19489 ( exit $ac_status )
19490 if test "$ac_cv_type_int" = yes; then
19491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19492 See \`config.log' for more details." >&5
19493 echo "$as_me: error: cannot compute sizeof (int)
19494 See \`config.log' for more details." >&2;}
19495 { (exit 77); exit 77; }; }
19496 else
19497 ac_cv_sizeof_int=0
19498 fi
19499 fi
19500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19501 fi
19502 rm -f conftest.val
19503 fi
19504 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19505 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19506
19507
19508
19509 cat >>confdefs.h <<_ACEOF
19510 #define SIZEOF_INT $ac_cv_sizeof_int
19511 _ACEOF
19512
19513
19514 { echo "$as_me:$LINENO: checking for long" >&5
19515 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19516 if test "${ac_cv_type_long+set}" = set; then
19517 echo $ECHO_N "(cached) $ECHO_C" >&6
19518 else
19519 cat >conftest.$ac_ext <<_ACEOF
19520 /* confdefs.h. */
19521 _ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 $ac_includes_default
19526 typedef long ac__type_new_;
19527 int
19528 main ()
19529 {
19530 if ((ac__type_new_ *) 0)
19531 return 0;
19532 if (sizeof (ac__type_new_))
19533 return 0;
19534 ;
19535 return 0;
19536 }
19537 _ACEOF
19538 rm -f conftest.$ac_objext
19539 if { (ac_try="$ac_compile"
19540 case "(($ac_try" in
19541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19542 *) ac_try_echo=$ac_try;;
19543 esac
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19545 (eval "$ac_compile") 2>conftest.er1
19546 ac_status=$?
19547 grep -v '^ *+' conftest.er1 >conftest.err
19548 rm -f conftest.er1
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } && {
19552 test -z "$ac_c_werror_flag" ||
19553 test ! -s conftest.err
19554 } && test -s conftest.$ac_objext; then
19555 ac_cv_type_long=yes
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19559
19560 ac_cv_type_long=no
19561 fi
19562
19563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564 fi
19565 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19566 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19567
19568 # The cast to long int works around a bug in the HP C Compiler
19569 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19570 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19571 # This bug is HP SR number 8606223364.
19572 { echo "$as_me:$LINENO: checking size of long" >&5
19573 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19574 if test "${ac_cv_sizeof_long+set}" = set; then
19575 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 else
19577 if test "$cross_compiling" = yes; then
19578 # Depending upon the size, compute the lo and hi bounds.
19579 cat >conftest.$ac_ext <<_ACEOF
19580 /* confdefs.h. */
19581 _ACEOF
19582 cat confdefs.h >>conftest.$ac_ext
19583 cat >>conftest.$ac_ext <<_ACEOF
19584 /* end confdefs.h. */
19585 $ac_includes_default
19586 typedef long ac__type_sizeof_;
19587 int
19588 main ()
19589 {
19590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19591 test_array [0] = 0
19592
19593 ;
19594 return 0;
19595 }
19596 _ACEOF
19597 rm -f conftest.$ac_objext
19598 if { (ac_try="$ac_compile"
19599 case "(($ac_try" in
19600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19601 *) ac_try_echo=$ac_try;;
19602 esac
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_compile") 2>conftest.er1
19605 ac_status=$?
19606 grep -v '^ *+' conftest.er1 >conftest.err
19607 rm -f conftest.er1
19608 cat conftest.err >&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); } && {
19611 test -z "$ac_c_werror_flag" ||
19612 test ! -s conftest.err
19613 } && test -s conftest.$ac_objext; then
19614 ac_lo=0 ac_mid=0
19615 while :; do
19616 cat >conftest.$ac_ext <<_ACEOF
19617 /* confdefs.h. */
19618 _ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 $ac_includes_default
19623 typedef long ac__type_sizeof_;
19624 int
19625 main ()
19626 {
19627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19628 test_array [0] = 0
19629
19630 ;
19631 return 0;
19632 }
19633 _ACEOF
19634 rm -f conftest.$ac_objext
19635 if { (ac_try="$ac_compile"
19636 case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19639 esac
19640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval "$ac_compile") 2>conftest.er1
19642 ac_status=$?
19643 grep -v '^ *+' conftest.er1 >conftest.err
19644 rm -f conftest.er1
19645 cat conftest.err >&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); } && {
19648 test -z "$ac_c_werror_flag" ||
19649 test ! -s conftest.err
19650 } && test -s conftest.$ac_objext; then
19651 ac_hi=$ac_mid; break
19652 else
19653 echo "$as_me: failed program was:" >&5
19654 sed 's/^/| /' conftest.$ac_ext >&5
19655
19656 ac_lo=`expr $ac_mid + 1`
19657 if test $ac_lo -le $ac_mid; then
19658 ac_lo= ac_hi=
19659 break
19660 fi
19661 ac_mid=`expr 2 '*' $ac_mid + 1`
19662 fi
19663
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19665 done
19666 else
19667 echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.$ac_ext >&5
19669
19670 cat >conftest.$ac_ext <<_ACEOF
19671 /* confdefs.h. */
19672 _ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 $ac_includes_default
19677 typedef long ac__type_sizeof_;
19678 int
19679 main ()
19680 {
19681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19682 test_array [0] = 0
19683
19684 ;
19685 return 0;
19686 }
19687 _ACEOF
19688 rm -f conftest.$ac_objext
19689 if { (ac_try="$ac_compile"
19690 case "(($ac_try" in
19691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19692 *) ac_try_echo=$ac_try;;
19693 esac
19694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19695 (eval "$ac_compile") 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } && {
19702 test -z "$ac_c_werror_flag" ||
19703 test ! -s conftest.err
19704 } && test -s conftest.$ac_objext; then
19705 ac_hi=-1 ac_mid=-1
19706 while :; do
19707 cat >conftest.$ac_ext <<_ACEOF
19708 /* confdefs.h. */
19709 _ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 $ac_includes_default
19714 typedef long ac__type_sizeof_;
19715 int
19716 main ()
19717 {
19718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19719 test_array [0] = 0
19720
19721 ;
19722 return 0;
19723 }
19724 _ACEOF
19725 rm -f conftest.$ac_objext
19726 if { (ac_try="$ac_compile"
19727 case "(($ac_try" in
19728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19729 *) ac_try_echo=$ac_try;;
19730 esac
19731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19732 (eval "$ac_compile") 2>conftest.er1
19733 ac_status=$?
19734 grep -v '^ *+' conftest.er1 >conftest.err
19735 rm -f conftest.er1
19736 cat conftest.err >&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } && {
19739 test -z "$ac_c_werror_flag" ||
19740 test ! -s conftest.err
19741 } && test -s conftest.$ac_objext; then
19742 ac_lo=$ac_mid; break
19743 else
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.$ac_ext >&5
19746
19747 ac_hi=`expr '(' $ac_mid ')' - 1`
19748 if test $ac_mid -le $ac_hi; then
19749 ac_lo= ac_hi=
19750 break
19751 fi
19752 ac_mid=`expr 2 '*' $ac_mid`
19753 fi
19754
19755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19756 done
19757 else
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19760
19761 ac_lo= ac_hi=
19762 fi
19763
19764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19765 fi
19766
19767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19768 # Binary search between lo and hi bounds.
19769 while test "x$ac_lo" != "x$ac_hi"; do
19770 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19771 cat >conftest.$ac_ext <<_ACEOF
19772 /* confdefs.h. */
19773 _ACEOF
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19777 $ac_includes_default
19778 typedef long ac__type_sizeof_;
19779 int
19780 main ()
19781 {
19782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19783 test_array [0] = 0
19784
19785 ;
19786 return 0;
19787 }
19788 _ACEOF
19789 rm -f conftest.$ac_objext
19790 if { (ac_try="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19794 esac
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19797 ac_status=$?
19798 grep -v '^ *+' conftest.er1 >conftest.err
19799 rm -f conftest.er1
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } && {
19803 test -z "$ac_c_werror_flag" ||
19804 test ! -s conftest.err
19805 } && test -s conftest.$ac_objext; then
19806 ac_hi=$ac_mid
19807 else
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19810
19811 ac_lo=`expr '(' $ac_mid ')' + 1`
19812 fi
19813
19814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 done
19816 case $ac_lo in
19817 ?*) ac_cv_sizeof_long=$ac_lo;;
19818 '') if test "$ac_cv_type_long" = yes; then
19819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19820 See \`config.log' for more details." >&5
19821 echo "$as_me: error: cannot compute sizeof (long)
19822 See \`config.log' for more details." >&2;}
19823 { (exit 77); exit 77; }; }
19824 else
19825 ac_cv_sizeof_long=0
19826 fi ;;
19827 esac
19828 else
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h. */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 $ac_includes_default
19836 typedef long ac__type_sizeof_;
19837 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19838 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19839 #include <stdio.h>
19840 #include <stdlib.h>
19841 int
19842 main ()
19843 {
19844
19845 FILE *f = fopen ("conftest.val", "w");
19846 if (! f)
19847 return 1;
19848 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19849 {
19850 long int i = longval ();
19851 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19852 return 1;
19853 fprintf (f, "%ld\n", i);
19854 }
19855 else
19856 {
19857 unsigned long int i = ulongval ();
19858 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19859 return 1;
19860 fprintf (f, "%lu\n", i);
19861 }
19862 return ferror (f) || fclose (f) != 0;
19863
19864 ;
19865 return 0;
19866 }
19867 _ACEOF
19868 rm -f conftest$ac_exeext
19869 if { (ac_try="$ac_link"
19870 case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19873 esac
19874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19875 (eval "$ac_link") 2>&5
19876 ac_status=$?
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19879 { (case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881 *) ac_try_echo=$ac_try;;
19882 esac
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_try") 2>&5
19885 ac_status=$?
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_cv_sizeof_long=`cat conftest.val`
19889 else
19890 echo "$as_me: program exited with status $ac_status" >&5
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19893
19894 ( exit $ac_status )
19895 if test "$ac_cv_type_long" = yes; then
19896 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19897 See \`config.log' for more details." >&5
19898 echo "$as_me: error: cannot compute sizeof (long)
19899 See \`config.log' for more details." >&2;}
19900 { (exit 77); exit 77; }; }
19901 else
19902 ac_cv_sizeof_long=0
19903 fi
19904 fi
19905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19906 fi
19907 rm -f conftest.val
19908 fi
19909 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19910 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19911
19912
19913
19914 cat >>confdefs.h <<_ACEOF
19915 #define SIZEOF_LONG $ac_cv_sizeof_long
19916 _ACEOF
19917
19918
19919 { echo "$as_me:$LINENO: checking for size_t" >&5
19920 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19921 if test "${ac_cv_type_size_t+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 else
19924 cat >conftest.$ac_ext <<_ACEOF
19925 /* confdefs.h. */
19926 _ACEOF
19927 cat confdefs.h >>conftest.$ac_ext
19928 cat >>conftest.$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 $ac_includes_default
19931 typedef size_t ac__type_new_;
19932 int
19933 main ()
19934 {
19935 if ((ac__type_new_ *) 0)
19936 return 0;
19937 if (sizeof (ac__type_new_))
19938 return 0;
19939 ;
19940 return 0;
19941 }
19942 _ACEOF
19943 rm -f conftest.$ac_objext
19944 if { (ac_try="$ac_compile"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19948 esac
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_compile") 2>conftest.er1
19951 ac_status=$?
19952 grep -v '^ *+' conftest.er1 >conftest.err
19953 rm -f conftest.er1
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_c_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest.$ac_objext; then
19960 ac_cv_type_size_t=yes
19961 else
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19964
19965 ac_cv_type_size_t=no
19966 fi
19967
19968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969 fi
19970 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19971 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19972
19973 # The cast to long int works around a bug in the HP C Compiler
19974 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19975 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19976 # This bug is HP SR number 8606223364.
19977 { echo "$as_me:$LINENO: checking size of size_t" >&5
19978 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19979 if test "${ac_cv_sizeof_size_t+set}" = set; then
19980 echo $ECHO_N "(cached) $ECHO_C" >&6
19981 else
19982 if test "$cross_compiling" = yes; then
19983 # Depending upon the size, compute the lo and hi bounds.
19984 cat >conftest.$ac_ext <<_ACEOF
19985 /* confdefs.h. */
19986 _ACEOF
19987 cat confdefs.h >>conftest.$ac_ext
19988 cat >>conftest.$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 $ac_includes_default
19991 typedef size_t ac__type_sizeof_;
19992 int
19993 main ()
19994 {
19995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19996 test_array [0] = 0
19997
19998 ;
19999 return 0;
20000 }
20001 _ACEOF
20002 rm -f conftest.$ac_objext
20003 if { (ac_try="$ac_compile"
20004 case "(($ac_try" in
20005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20006 *) ac_try_echo=$ac_try;;
20007 esac
20008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20009 (eval "$ac_compile") 2>conftest.er1
20010 ac_status=$?
20011 grep -v '^ *+' conftest.er1 >conftest.err
20012 rm -f conftest.er1
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } && {
20016 test -z "$ac_c_werror_flag" ||
20017 test ! -s conftest.err
20018 } && test -s conftest.$ac_objext; then
20019 ac_lo=0 ac_mid=0
20020 while :; do
20021 cat >conftest.$ac_ext <<_ACEOF
20022 /* confdefs.h. */
20023 _ACEOF
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 $ac_includes_default
20028 typedef size_t ac__type_sizeof_;
20029 int
20030 main ()
20031 {
20032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20033 test_array [0] = 0
20034
20035 ;
20036 return 0;
20037 }
20038 _ACEOF
20039 rm -f conftest.$ac_objext
20040 if { (ac_try="$ac_compile"
20041 case "(($ac_try" in
20042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20043 *) ac_try_echo=$ac_try;;
20044 esac
20045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20046 (eval "$ac_compile") 2>conftest.er1
20047 ac_status=$?
20048 grep -v '^ *+' conftest.er1 >conftest.err
20049 rm -f conftest.er1
20050 cat conftest.err >&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); } && {
20053 test -z "$ac_c_werror_flag" ||
20054 test ! -s conftest.err
20055 } && test -s conftest.$ac_objext; then
20056 ac_hi=$ac_mid; break
20057 else
20058 echo "$as_me: failed program was:" >&5
20059 sed 's/^/| /' conftest.$ac_ext >&5
20060
20061 ac_lo=`expr $ac_mid + 1`
20062 if test $ac_lo -le $ac_mid; then
20063 ac_lo= ac_hi=
20064 break
20065 fi
20066 ac_mid=`expr 2 '*' $ac_mid + 1`
20067 fi
20068
20069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20070 done
20071 else
20072 echo "$as_me: failed program was:" >&5
20073 sed 's/^/| /' conftest.$ac_ext >&5
20074
20075 cat >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 typedef size_t ac__type_sizeof_;
20083 int
20084 main ()
20085 {
20086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20087 test_array [0] = 0
20088
20089 ;
20090 return 0;
20091 }
20092 _ACEOF
20093 rm -f conftest.$ac_objext
20094 if { (ac_try="$ac_compile"
20095 case "(($ac_try" in
20096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20097 *) ac_try_echo=$ac_try;;
20098 esac
20099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20100 (eval "$ac_compile") 2>conftest.er1
20101 ac_status=$?
20102 grep -v '^ *+' conftest.er1 >conftest.err
20103 rm -f conftest.er1
20104 cat conftest.err >&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } && {
20107 test -z "$ac_c_werror_flag" ||
20108 test ! -s conftest.err
20109 } && test -s conftest.$ac_objext; then
20110 ac_hi=-1 ac_mid=-1
20111 while :; do
20112 cat >conftest.$ac_ext <<_ACEOF
20113 /* confdefs.h. */
20114 _ACEOF
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20118 $ac_includes_default
20119 typedef size_t ac__type_sizeof_;
20120 int
20121 main ()
20122 {
20123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20124 test_array [0] = 0
20125
20126 ;
20127 return 0;
20128 }
20129 _ACEOF
20130 rm -f conftest.$ac_objext
20131 if { (ac_try="$ac_compile"
20132 case "(($ac_try" in
20133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20134 *) ac_try_echo=$ac_try;;
20135 esac
20136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20137 (eval "$ac_compile") 2>conftest.er1
20138 ac_status=$?
20139 grep -v '^ *+' conftest.er1 >conftest.err
20140 rm -f conftest.er1
20141 cat conftest.err >&5
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); } && {
20144 test -z "$ac_c_werror_flag" ||
20145 test ! -s conftest.err
20146 } && test -s conftest.$ac_objext; then
20147 ac_lo=$ac_mid; break
20148 else
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.$ac_ext >&5
20151
20152 ac_hi=`expr '(' $ac_mid ')' - 1`
20153 if test $ac_mid -le $ac_hi; then
20154 ac_lo= ac_hi=
20155 break
20156 fi
20157 ac_mid=`expr 2 '*' $ac_mid`
20158 fi
20159
20160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20161 done
20162 else
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.$ac_ext >&5
20165
20166 ac_lo= ac_hi=
20167 fi
20168
20169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20170 fi
20171
20172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20173 # Binary search between lo and hi bounds.
20174 while test "x$ac_lo" != "x$ac_hi"; do
20175 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20176 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */
20178 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 $ac_includes_default
20183 typedef size_t ac__type_sizeof_;
20184 int
20185 main ()
20186 {
20187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20188 test_array [0] = 0
20189
20190 ;
20191 return 0;
20192 }
20193 _ACEOF
20194 rm -f conftest.$ac_objext
20195 if { (ac_try="$ac_compile"
20196 case "(($ac_try" in
20197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20198 *) ac_try_echo=$ac_try;;
20199 esac
20200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20201 (eval "$ac_compile") 2>conftest.er1
20202 ac_status=$?
20203 grep -v '^ *+' conftest.er1 >conftest.err
20204 rm -f conftest.er1
20205 cat conftest.err >&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } && {
20208 test -z "$ac_c_werror_flag" ||
20209 test ! -s conftest.err
20210 } && test -s conftest.$ac_objext; then
20211 ac_hi=$ac_mid
20212 else
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20215
20216 ac_lo=`expr '(' $ac_mid ')' + 1`
20217 fi
20218
20219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20220 done
20221 case $ac_lo in
20222 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20223 '') if test "$ac_cv_type_size_t" = yes; then
20224 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20225 See \`config.log' for more details." >&5
20226 echo "$as_me: error: cannot compute sizeof (size_t)
20227 See \`config.log' for more details." >&2;}
20228 { (exit 77); exit 77; }; }
20229 else
20230 ac_cv_sizeof_size_t=0
20231 fi ;;
20232 esac
20233 else
20234 cat >conftest.$ac_ext <<_ACEOF
20235 /* confdefs.h. */
20236 _ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 $ac_includes_default
20241 typedef size_t ac__type_sizeof_;
20242 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20243 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20244 #include <stdio.h>
20245 #include <stdlib.h>
20246 int
20247 main ()
20248 {
20249
20250 FILE *f = fopen ("conftest.val", "w");
20251 if (! f)
20252 return 1;
20253 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20254 {
20255 long int i = longval ();
20256 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20257 return 1;
20258 fprintf (f, "%ld\n", i);
20259 }
20260 else
20261 {
20262 unsigned long int i = ulongval ();
20263 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20264 return 1;
20265 fprintf (f, "%lu\n", i);
20266 }
20267 return ferror (f) || fclose (f) != 0;
20268
20269 ;
20270 return 0;
20271 }
20272 _ACEOF
20273 rm -f conftest$ac_exeext
20274 if { (ac_try="$ac_link"
20275 case "(($ac_try" in
20276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20277 *) ac_try_echo=$ac_try;;
20278 esac
20279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20280 (eval "$ac_link") 2>&5
20281 ac_status=$?
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20284 { (case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20287 esac
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_try") 2>&5
20290 ac_status=$?
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; }; then
20293 ac_cv_sizeof_size_t=`cat conftest.val`
20294 else
20295 echo "$as_me: program exited with status $ac_status" >&5
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20298
20299 ( exit $ac_status )
20300 if test "$ac_cv_type_size_t" = yes; then
20301 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20302 See \`config.log' for more details." >&5
20303 echo "$as_me: error: cannot compute sizeof (size_t)
20304 See \`config.log' for more details." >&2;}
20305 { (exit 77); exit 77; }; }
20306 else
20307 ac_cv_sizeof_size_t=0
20308 fi
20309 fi
20310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20311 fi
20312 rm -f conftest.val
20313 fi
20314 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20315 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20316
20317
20318
20319 cat >>confdefs.h <<_ACEOF
20320 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20321 _ACEOF
20322
20323
20324
20325 case "${host}" in
20326 arm-*-linux* )
20327 { echo "$as_me:$LINENO: checking for long long" >&5
20328 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20329 if test "${ac_cv_type_long_long+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 long long 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_long_long=yes
20369 else
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.$ac_ext >&5
20372
20373 ac_cv_type_long_long=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_long_long" >&5
20379 echo "${ECHO_T}$ac_cv_type_long_long" >&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 long long" >&5
20386 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20387 if test "${ac_cv_sizeof_long_long+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 long long 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 long long 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 long long 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 long long 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 long long 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_long_long=$ac_lo;;
20631 '') if test "$ac_cv_type_long_long" = yes; then
20632 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20633 See \`config.log' for more details." >&5
20634 echo "$as_me: error: cannot compute sizeof (long long)
20635 See \`config.log' for more details." >&2;}
20636 { (exit 77); exit 77; }; }
20637 else
20638 ac_cv_sizeof_long_long=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 long long 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_long_long=`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_long_long" = yes; then
20709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20710 See \`config.log' for more details." >&5
20711 echo "$as_me: error: cannot compute sizeof (long long)
20712 See \`config.log' for more details." >&2;}
20713 { (exit 77); exit 77; }; }
20714 else
20715 ac_cv_sizeof_long_long=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_long_long" >&5
20723 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20724
20725
20726
20727 cat >>confdefs.h <<_ACEOF
20728 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20729 _ACEOF
20730
20731
20732 ;;
20733 *-hp-hpux* )
20734 { echo "$as_me:$LINENO: checking for long long" >&5
20735 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20736 if test "${ac_cv_type_long_long+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 else
20739 cat >conftest.$ac_ext <<_ACEOF
20740 /* confdefs.h. */
20741 _ACEOF
20742 cat confdefs.h >>conftest.$ac_ext
20743 cat >>conftest.$ac_ext <<_ACEOF
20744 /* end confdefs.h. */
20745 $ac_includes_default
20746 typedef long long ac__type_new_;
20747 int
20748 main ()
20749 {
20750 if ((ac__type_new_ *) 0)
20751 return 0;
20752 if (sizeof (ac__type_new_))
20753 return 0;
20754 ;
20755 return 0;
20756 }
20757 _ACEOF
20758 rm -f conftest.$ac_objext
20759 if { (ac_try="$ac_compile"
20760 case "(($ac_try" in
20761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20762 *) ac_try_echo=$ac_try;;
20763 esac
20764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20765 (eval "$ac_compile") 2>conftest.er1
20766 ac_status=$?
20767 grep -v '^ *+' conftest.er1 >conftest.err
20768 rm -f conftest.er1
20769 cat conftest.err >&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } && {
20772 test -z "$ac_c_werror_flag" ||
20773 test ! -s conftest.err
20774 } && test -s conftest.$ac_objext; then
20775 ac_cv_type_long_long=yes
20776 else
20777 echo "$as_me: failed program was:" >&5
20778 sed 's/^/| /' conftest.$ac_ext >&5
20779
20780 ac_cv_type_long_long=no
20781 fi
20782
20783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20784 fi
20785 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20786 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20787
20788 # The cast to long int works around a bug in the HP C Compiler
20789 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20790 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20791 # This bug is HP SR number 8606223364.
20792 { echo "$as_me:$LINENO: checking size of long long" >&5
20793 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20794 if test "${ac_cv_sizeof_long_long+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20796 else
20797 if test "$cross_compiling" = yes; then
20798 # Depending upon the size, compute the lo and hi bounds.
20799 cat >conftest.$ac_ext <<_ACEOF
20800 /* confdefs.h. */
20801 _ACEOF
20802 cat confdefs.h >>conftest.$ac_ext
20803 cat >>conftest.$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20805 $ac_includes_default
20806 typedef long long ac__type_sizeof_;
20807 int
20808 main ()
20809 {
20810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20811 test_array [0] = 0
20812
20813 ;
20814 return 0;
20815 }
20816 _ACEOF
20817 rm -f conftest.$ac_objext
20818 if { (ac_try="$ac_compile"
20819 case "(($ac_try" in
20820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20821 *) ac_try_echo=$ac_try;;
20822 esac
20823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20824 (eval "$ac_compile") 2>conftest.er1
20825 ac_status=$?
20826 grep -v '^ *+' conftest.er1 >conftest.err
20827 rm -f conftest.er1
20828 cat conftest.err >&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); } && {
20831 test -z "$ac_c_werror_flag" ||
20832 test ! -s conftest.err
20833 } && test -s conftest.$ac_objext; then
20834 ac_lo=0 ac_mid=0
20835 while :; do
20836 cat >conftest.$ac_ext <<_ACEOF
20837 /* confdefs.h. */
20838 _ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $ac_includes_default
20843 typedef long long ac__type_sizeof_;
20844 int
20845 main ()
20846 {
20847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20848 test_array [0] = 0
20849
20850 ;
20851 return 0;
20852 }
20853 _ACEOF
20854 rm -f conftest.$ac_objext
20855 if { (ac_try="$ac_compile"
20856 case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20858 *) ac_try_echo=$ac_try;;
20859 esac
20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_compile") 2>conftest.er1
20862 ac_status=$?
20863 grep -v '^ *+' conftest.er1 >conftest.err
20864 rm -f conftest.er1
20865 cat conftest.err >&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } && {
20868 test -z "$ac_c_werror_flag" ||
20869 test ! -s conftest.err
20870 } && test -s conftest.$ac_objext; then
20871 ac_hi=$ac_mid; break
20872 else
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20875
20876 ac_lo=`expr $ac_mid + 1`
20877 if test $ac_lo -le $ac_mid; then
20878 ac_lo= ac_hi=
20879 break
20880 fi
20881 ac_mid=`expr 2 '*' $ac_mid + 1`
20882 fi
20883
20884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885 done
20886 else
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.$ac_ext >&5
20889
20890 cat >conftest.$ac_ext <<_ACEOF
20891 /* confdefs.h. */
20892 _ACEOF
20893 cat confdefs.h >>conftest.$ac_ext
20894 cat >>conftest.$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896 $ac_includes_default
20897 typedef long long ac__type_sizeof_;
20898 int
20899 main ()
20900 {
20901 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20902 test_array [0] = 0
20903
20904 ;
20905 return 0;
20906 }
20907 _ACEOF
20908 rm -f conftest.$ac_objext
20909 if { (ac_try="$ac_compile"
20910 case "(($ac_try" in
20911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20913 esac
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_compile") 2>conftest.er1
20916 ac_status=$?
20917 grep -v '^ *+' conftest.er1 >conftest.err
20918 rm -f conftest.er1
20919 cat conftest.err >&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } && {
20922 test -z "$ac_c_werror_flag" ||
20923 test ! -s conftest.err
20924 } && test -s conftest.$ac_objext; then
20925 ac_hi=-1 ac_mid=-1
20926 while :; do
20927 cat >conftest.$ac_ext <<_ACEOF
20928 /* confdefs.h. */
20929 _ACEOF
20930 cat confdefs.h >>conftest.$ac_ext
20931 cat >>conftest.$ac_ext <<_ACEOF
20932 /* end confdefs.h. */
20933 $ac_includes_default
20934 typedef long long ac__type_sizeof_;
20935 int
20936 main ()
20937 {
20938 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20939 test_array [0] = 0
20940
20941 ;
20942 return 0;
20943 }
20944 _ACEOF
20945 rm -f conftest.$ac_objext
20946 if { (ac_try="$ac_compile"
20947 case "(($ac_try" in
20948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20949 *) ac_try_echo=$ac_try;;
20950 esac
20951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20952 (eval "$ac_compile") 2>conftest.er1
20953 ac_status=$?
20954 grep -v '^ *+' conftest.er1 >conftest.err
20955 rm -f conftest.er1
20956 cat conftest.err >&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } && {
20959 test -z "$ac_c_werror_flag" ||
20960 test ! -s conftest.err
20961 } && test -s conftest.$ac_objext; then
20962 ac_lo=$ac_mid; break
20963 else
20964 echo "$as_me: failed program was:" >&5
20965 sed 's/^/| /' conftest.$ac_ext >&5
20966
20967 ac_hi=`expr '(' $ac_mid ')' - 1`
20968 if test $ac_mid -le $ac_hi; then
20969 ac_lo= ac_hi=
20970 break
20971 fi
20972 ac_mid=`expr 2 '*' $ac_mid`
20973 fi
20974
20975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20976 done
20977 else
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20980
20981 ac_lo= ac_hi=
20982 fi
20983
20984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20985 fi
20986
20987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20988 # Binary search between lo and hi bounds.
20989 while test "x$ac_lo" != "x$ac_hi"; do
20990 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20991 cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h. */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 $ac_includes_default
20998 typedef long long ac__type_sizeof_;
20999 int
21000 main ()
21001 {
21002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21003 test_array [0] = 0
21004
21005 ;
21006 return 0;
21007 }
21008 _ACEOF
21009 rm -f conftest.$ac_objext
21010 if { (ac_try="$ac_compile"
21011 case "(($ac_try" in
21012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21014 esac
21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_compile") 2>conftest.er1
21017 ac_status=$?
21018 grep -v '^ *+' conftest.er1 >conftest.err
21019 rm -f conftest.er1
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } && {
21023 test -z "$ac_c_werror_flag" ||
21024 test ! -s conftest.err
21025 } && test -s conftest.$ac_objext; then
21026 ac_hi=$ac_mid
21027 else
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.$ac_ext >&5
21030
21031 ac_lo=`expr '(' $ac_mid ')' + 1`
21032 fi
21033
21034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21035 done
21036 case $ac_lo in
21037 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21038 '') if test "$ac_cv_type_long_long" = yes; then
21039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21040 See \`config.log' for more details." >&5
21041 echo "$as_me: error: cannot compute sizeof (long long)
21042 See \`config.log' for more details." >&2;}
21043 { (exit 77); exit 77; }; }
21044 else
21045 ac_cv_sizeof_long_long=0
21046 fi ;;
21047 esac
21048 else
21049 cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h. */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 $ac_includes_default
21056 typedef long long ac__type_sizeof_;
21057 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21058 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21059 #include <stdio.h>
21060 #include <stdlib.h>
21061 int
21062 main ()
21063 {
21064
21065 FILE *f = fopen ("conftest.val", "w");
21066 if (! f)
21067 return 1;
21068 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21069 {
21070 long int i = longval ();
21071 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21072 return 1;
21073 fprintf (f, "%ld\n", i);
21074 }
21075 else
21076 {
21077 unsigned long int i = ulongval ();
21078 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21079 return 1;
21080 fprintf (f, "%lu\n", i);
21081 }
21082 return ferror (f) || fclose (f) != 0;
21083
21084 ;
21085 return 0;
21086 }
21087 _ACEOF
21088 rm -f conftest$ac_exeext
21089 if { (ac_try="$ac_link"
21090 case "(($ac_try" in
21091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092 *) ac_try_echo=$ac_try;;
21093 esac
21094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21095 (eval "$ac_link") 2>&5
21096 ac_status=$?
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21099 { (case "(($ac_try" in
21100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21101 *) ac_try_echo=$ac_try;;
21102 esac
21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21104 (eval "$ac_try") 2>&5
21105 ac_status=$?
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21108 ac_cv_sizeof_long_long=`cat conftest.val`
21109 else
21110 echo "$as_me: program exited with status $ac_status" >&5
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.$ac_ext >&5
21113
21114 ( exit $ac_status )
21115 if test "$ac_cv_type_long_long" = yes; then
21116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21117 See \`config.log' for more details." >&5
21118 echo "$as_me: error: cannot compute sizeof (long long)
21119 See \`config.log' for more details." >&2;}
21120 { (exit 77); exit 77; }; }
21121 else
21122 ac_cv_sizeof_long_long=0
21123 fi
21124 fi
21125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21126 fi
21127 rm -f conftest.val
21128 fi
21129 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21130 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21131
21132
21133
21134 cat >>confdefs.h <<_ACEOF
21135 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21136 _ACEOF
21137
21138
21139 if test "$ac_cv_sizeof_long_long" != "0"; then
21140 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21141 fi
21142 ;;
21143 * )
21144 { echo "$as_me:$LINENO: checking for long long" >&5
21145 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21146 if test "${ac_cv_type_long_long+set}" = set; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 else
21149 cat >conftest.$ac_ext <<_ACEOF
21150 /* confdefs.h. */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef long long ac__type_new_;
21157 int
21158 main ()
21159 {
21160 if ((ac__type_new_ *) 0)
21161 return 0;
21162 if (sizeof (ac__type_new_))
21163 return 0;
21164 ;
21165 return 0;
21166 }
21167 _ACEOF
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21173 esac
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21176 ac_status=$?
21177 grep -v '^ *+' conftest.er1 >conftest.err
21178 rm -f conftest.er1
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } && {
21182 test -z "$ac_c_werror_flag" ||
21183 test ! -s conftest.err
21184 } && test -s conftest.$ac_objext; then
21185 ac_cv_type_long_long=yes
21186 else
21187 echo "$as_me: failed program was:" >&5
21188 sed 's/^/| /' conftest.$ac_ext >&5
21189
21190 ac_cv_type_long_long=no
21191 fi
21192
21193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21194 fi
21195 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21196 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21197
21198 # The cast to long int works around a bug in the HP C Compiler
21199 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21200 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21201 # This bug is HP SR number 8606223364.
21202 { echo "$as_me:$LINENO: checking size of long long" >&5
21203 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21204 if test "${ac_cv_sizeof_long_long+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 else
21207 if test "$cross_compiling" = yes; then
21208 # Depending upon the size, compute the lo and hi bounds.
21209 cat >conftest.$ac_ext <<_ACEOF
21210 /* confdefs.h. */
21211 _ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 $ac_includes_default
21216 typedef long long ac__type_sizeof_;
21217 int
21218 main ()
21219 {
21220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21221 test_array [0] = 0
21222
21223 ;
21224 return 0;
21225 }
21226 _ACEOF
21227 rm -f conftest.$ac_objext
21228 if { (ac_try="$ac_compile"
21229 case "(($ac_try" in
21230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21232 esac
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_compile") 2>conftest.er1
21235 ac_status=$?
21236 grep -v '^ *+' conftest.er1 >conftest.err
21237 rm -f conftest.er1
21238 cat conftest.err >&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); } && {
21241 test -z "$ac_c_werror_flag" ||
21242 test ! -s conftest.err
21243 } && test -s conftest.$ac_objext; then
21244 ac_lo=0 ac_mid=0
21245 while :; do
21246 cat >conftest.$ac_ext <<_ACEOF
21247 /* confdefs.h. */
21248 _ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 $ac_includes_default
21253 typedef long long ac__type_sizeof_;
21254 int
21255 main ()
21256 {
21257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21258 test_array [0] = 0
21259
21260 ;
21261 return 0;
21262 }
21263 _ACEOF
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;;
21269 esac
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21272 ac_status=$?
21273 grep -v '^ *+' conftest.er1 >conftest.err
21274 rm -f conftest.er1
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } && {
21278 test -z "$ac_c_werror_flag" ||
21279 test ! -s conftest.err
21280 } && test -s conftest.$ac_objext; then
21281 ac_hi=$ac_mid; break
21282 else
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.$ac_ext >&5
21285
21286 ac_lo=`expr $ac_mid + 1`
21287 if test $ac_lo -le $ac_mid; then
21288 ac_lo= ac_hi=
21289 break
21290 fi
21291 ac_mid=`expr 2 '*' $ac_mid + 1`
21292 fi
21293
21294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21295 done
21296 else
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21299
21300 cat >conftest.$ac_ext <<_ACEOF
21301 /* confdefs.h. */
21302 _ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 typedef long long ac__type_sizeof_;
21308 int
21309 main ()
21310 {
21311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21312 test_array [0] = 0
21313
21314 ;
21315 return 0;
21316 }
21317 _ACEOF
21318 rm -f conftest.$ac_objext
21319 if { (ac_try="$ac_compile"
21320 case "(($ac_try" in
21321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21323 esac
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_compile") 2>conftest.er1
21326 ac_status=$?
21327 grep -v '^ *+' conftest.er1 >conftest.err
21328 rm -f conftest.er1
21329 cat conftest.err >&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } && {
21332 test -z "$ac_c_werror_flag" ||
21333 test ! -s conftest.err
21334 } && test -s conftest.$ac_objext; then
21335 ac_hi=-1 ac_mid=-1
21336 while :; do
21337 cat >conftest.$ac_ext <<_ACEOF
21338 /* confdefs.h. */
21339 _ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 $ac_includes_default
21344 typedef long long ac__type_sizeof_;
21345 int
21346 main ()
21347 {
21348 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21349 test_array [0] = 0
21350
21351 ;
21352 return 0;
21353 }
21354 _ACEOF
21355 rm -f conftest.$ac_objext
21356 if { (ac_try="$ac_compile"
21357 case "(($ac_try" in
21358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21359 *) ac_try_echo=$ac_try;;
21360 esac
21361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21362 (eval "$ac_compile") 2>conftest.er1
21363 ac_status=$?
21364 grep -v '^ *+' conftest.er1 >conftest.err
21365 rm -f conftest.er1
21366 cat conftest.err >&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } && {
21369 test -z "$ac_c_werror_flag" ||
21370 test ! -s conftest.err
21371 } && test -s conftest.$ac_objext; then
21372 ac_lo=$ac_mid; break
21373 else
21374 echo "$as_me: failed program was:" >&5
21375 sed 's/^/| /' conftest.$ac_ext >&5
21376
21377 ac_hi=`expr '(' $ac_mid ')' - 1`
21378 if test $ac_mid -le $ac_hi; then
21379 ac_lo= ac_hi=
21380 break
21381 fi
21382 ac_mid=`expr 2 '*' $ac_mid`
21383 fi
21384
21385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21386 done
21387 else
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.$ac_ext >&5
21390
21391 ac_lo= ac_hi=
21392 fi
21393
21394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21395 fi
21396
21397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 # Binary search between lo and hi bounds.
21399 while test "x$ac_lo" != "x$ac_hi"; do
21400 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21401 cat >conftest.$ac_ext <<_ACEOF
21402 /* confdefs.h. */
21403 _ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 $ac_includes_default
21408 typedef long long ac__type_sizeof_;
21409 int
21410 main ()
21411 {
21412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21413 test_array [0] = 0
21414
21415 ;
21416 return 0;
21417 }
21418 _ACEOF
21419 rm -f conftest.$ac_objext
21420 if { (ac_try="$ac_compile"
21421 case "(($ac_try" in
21422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21424 esac
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_compile") 2>conftest.er1
21427 ac_status=$?
21428 grep -v '^ *+' conftest.er1 >conftest.err
21429 rm -f conftest.er1
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } && {
21433 test -z "$ac_c_werror_flag" ||
21434 test ! -s conftest.err
21435 } && test -s conftest.$ac_objext; then
21436 ac_hi=$ac_mid
21437 else
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21440
21441 ac_lo=`expr '(' $ac_mid ')' + 1`
21442 fi
21443
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 done
21446 case $ac_lo in
21447 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21448 '') if test "$ac_cv_type_long_long" = yes; then
21449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21450 See \`config.log' for more details." >&5
21451 echo "$as_me: error: cannot compute sizeof (long long)
21452 See \`config.log' for more details." >&2;}
21453 { (exit 77); exit 77; }; }
21454 else
21455 ac_cv_sizeof_long_long=0
21456 fi ;;
21457 esac
21458 else
21459 cat >conftest.$ac_ext <<_ACEOF
21460 /* confdefs.h. */
21461 _ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 $ac_includes_default
21466 typedef long long ac__type_sizeof_;
21467 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21468 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21469 #include <stdio.h>
21470 #include <stdlib.h>
21471 int
21472 main ()
21473 {
21474
21475 FILE *f = fopen ("conftest.val", "w");
21476 if (! f)
21477 return 1;
21478 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21479 {
21480 long int i = longval ();
21481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21482 return 1;
21483 fprintf (f, "%ld\n", i);
21484 }
21485 else
21486 {
21487 unsigned long int i = ulongval ();
21488 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21489 return 1;
21490 fprintf (f, "%lu\n", i);
21491 }
21492 return ferror (f) || fclose (f) != 0;
21493
21494 ;
21495 return 0;
21496 }
21497 _ACEOF
21498 rm -f conftest$ac_exeext
21499 if { (ac_try="$ac_link"
21500 case "(($ac_try" in
21501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21503 esac
21504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_link") 2>&5
21506 ac_status=$?
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21509 { (case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21512 esac
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_try") 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_sizeof_long_long=`cat conftest.val`
21519 else
21520 echo "$as_me: program exited with status $ac_status" >&5
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.$ac_ext >&5
21523
21524 ( exit $ac_status )
21525 if test "$ac_cv_type_long_long" = yes; then
21526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21527 See \`config.log' for more details." >&5
21528 echo "$as_me: error: cannot compute sizeof (long long)
21529 See \`config.log' for more details." >&2;}
21530 { (exit 77); exit 77; }; }
21531 else
21532 ac_cv_sizeof_long_long=0
21533 fi
21534 fi
21535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21536 fi
21537 rm -f conftest.val
21538 fi
21539 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21540 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21541
21542
21543
21544 cat >>confdefs.h <<_ACEOF
21545 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21546 _ACEOF
21547
21548
21549 esac
21550
21551 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21552 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21553 if test "${ac_cv_type_wchar_t+set}" = set; then
21554 echo $ECHO_N "(cached) $ECHO_C" >&6
21555 else
21556 cat >conftest.$ac_ext <<_ACEOF
21557 /* confdefs.h. */
21558 _ACEOF
21559 cat confdefs.h >>conftest.$ac_ext
21560 cat >>conftest.$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562
21563 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21564 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21565 # error "fake wchar_t"
21566 #endif
21567 #ifdef HAVE_WCHAR_H
21568 # ifdef __CYGWIN__
21569 # include <stddef.h>
21570 # endif
21571 # include <wchar.h>
21572 #endif
21573 #ifdef HAVE_STDLIB_H
21574 # include <stdlib.h>
21575 #endif
21576 #include <stdio.h>
21577
21578
21579
21580 typedef wchar_t ac__type_new_;
21581 int
21582 main ()
21583 {
21584 if ((ac__type_new_ *) 0)
21585 return 0;
21586 if (sizeof (ac__type_new_))
21587 return 0;
21588 ;
21589 return 0;
21590 }
21591 _ACEOF
21592 rm -f conftest.$ac_objext
21593 if { (ac_try="$ac_compile"
21594 case "(($ac_try" in
21595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21596 *) ac_try_echo=$ac_try;;
21597 esac
21598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21599 (eval "$ac_compile") 2>conftest.er1
21600 ac_status=$?
21601 grep -v '^ *+' conftest.er1 >conftest.err
21602 rm -f conftest.er1
21603 cat conftest.err >&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); } && {
21606 test -z "$ac_c_werror_flag" ||
21607 test ! -s conftest.err
21608 } && test -s conftest.$ac_objext; then
21609 ac_cv_type_wchar_t=yes
21610 else
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21613
21614 ac_cv_type_wchar_t=no
21615 fi
21616
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618 fi
21619 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21620 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21621
21622 # The cast to long int works around a bug in the HP C Compiler
21623 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21624 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21625 # This bug is HP SR number 8606223364.
21626 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21627 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21628 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21629 echo $ECHO_N "(cached) $ECHO_C" >&6
21630 else
21631 if test "$cross_compiling" = yes; then
21632 # Depending upon the size, compute the lo and hi bounds.
21633 cat >conftest.$ac_ext <<_ACEOF
21634 /* confdefs.h. */
21635 _ACEOF
21636 cat confdefs.h >>conftest.$ac_ext
21637 cat >>conftest.$ac_ext <<_ACEOF
21638 /* end confdefs.h. */
21639
21640 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21641 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21642 # error "fake wchar_t"
21643 #endif
21644 #ifdef HAVE_WCHAR_H
21645 # ifdef __CYGWIN__
21646 # include <stddef.h>
21647 # endif
21648 # include <wchar.h>
21649 #endif
21650 #ifdef HAVE_STDLIB_H
21651 # include <stdlib.h>
21652 #endif
21653 #include <stdio.h>
21654
21655
21656
21657 typedef wchar_t ac__type_sizeof_;
21658 int
21659 main ()
21660 {
21661 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21662 test_array [0] = 0
21663
21664 ;
21665 return 0;
21666 }
21667 _ACEOF
21668 rm -f conftest.$ac_objext
21669 if { (ac_try="$ac_compile"
21670 case "(($ac_try" in
21671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21672 *) ac_try_echo=$ac_try;;
21673 esac
21674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21675 (eval "$ac_compile") 2>conftest.er1
21676 ac_status=$?
21677 grep -v '^ *+' conftest.er1 >conftest.err
21678 rm -f conftest.er1
21679 cat conftest.err >&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } && {
21682 test -z "$ac_c_werror_flag" ||
21683 test ! -s conftest.err
21684 } && test -s conftest.$ac_objext; then
21685 ac_lo=0 ac_mid=0
21686 while :; do
21687 cat >conftest.$ac_ext <<_ACEOF
21688 /* confdefs.h. */
21689 _ACEOF
21690 cat confdefs.h >>conftest.$ac_ext
21691 cat >>conftest.$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21693
21694 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21695 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21696 # error "fake wchar_t"
21697 #endif
21698 #ifdef HAVE_WCHAR_H
21699 # ifdef __CYGWIN__
21700 # include <stddef.h>
21701 # endif
21702 # include <wchar.h>
21703 #endif
21704 #ifdef HAVE_STDLIB_H
21705 # include <stdlib.h>
21706 #endif
21707 #include <stdio.h>
21708
21709
21710
21711 typedef wchar_t ac__type_sizeof_;
21712 int
21713 main ()
21714 {
21715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21716 test_array [0] = 0
21717
21718 ;
21719 return 0;
21720 }
21721 _ACEOF
21722 rm -f conftest.$ac_objext
21723 if { (ac_try="$ac_compile"
21724 case "(($ac_try" in
21725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21726 *) ac_try_echo=$ac_try;;
21727 esac
21728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_compile") 2>conftest.er1
21730 ac_status=$?
21731 grep -v '^ *+' conftest.er1 >conftest.err
21732 rm -f conftest.er1
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } && {
21736 test -z "$ac_c_werror_flag" ||
21737 test ! -s conftest.err
21738 } && test -s conftest.$ac_objext; then
21739 ac_hi=$ac_mid; break
21740 else
21741 echo "$as_me: failed program was:" >&5
21742 sed 's/^/| /' conftest.$ac_ext >&5
21743
21744 ac_lo=`expr $ac_mid + 1`
21745 if test $ac_lo -le $ac_mid; then
21746 ac_lo= ac_hi=
21747 break
21748 fi
21749 ac_mid=`expr 2 '*' $ac_mid + 1`
21750 fi
21751
21752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21753 done
21754 else
21755 echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21757
21758 cat >conftest.$ac_ext <<_ACEOF
21759 /* confdefs.h. */
21760 _ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764
21765 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21766 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21767 # error "fake wchar_t"
21768 #endif
21769 #ifdef HAVE_WCHAR_H
21770 # ifdef __CYGWIN__
21771 # include <stddef.h>
21772 # endif
21773 # include <wchar.h>
21774 #endif
21775 #ifdef HAVE_STDLIB_H
21776 # include <stdlib.h>
21777 #endif
21778 #include <stdio.h>
21779
21780
21781
21782 typedef wchar_t ac__type_sizeof_;
21783 int
21784 main ()
21785 {
21786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21787 test_array [0] = 0
21788
21789 ;
21790 return 0;
21791 }
21792 _ACEOF
21793 rm -f conftest.$ac_objext
21794 if { (ac_try="$ac_compile"
21795 case "(($ac_try" in
21796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21797 *) ac_try_echo=$ac_try;;
21798 esac
21799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21800 (eval "$ac_compile") 2>conftest.er1
21801 ac_status=$?
21802 grep -v '^ *+' conftest.er1 >conftest.err
21803 rm -f conftest.er1
21804 cat conftest.err >&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && {
21807 test -z "$ac_c_werror_flag" ||
21808 test ! -s conftest.err
21809 } && test -s conftest.$ac_objext; then
21810 ac_hi=-1 ac_mid=-1
21811 while :; do
21812 cat >conftest.$ac_ext <<_ACEOF
21813 /* confdefs.h. */
21814 _ACEOF
21815 cat confdefs.h >>conftest.$ac_ext
21816 cat >>conftest.$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21818
21819 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21820 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21821 # error "fake wchar_t"
21822 #endif
21823 #ifdef HAVE_WCHAR_H
21824 # ifdef __CYGWIN__
21825 # include <stddef.h>
21826 # endif
21827 # include <wchar.h>
21828 #endif
21829 #ifdef HAVE_STDLIB_H
21830 # include <stdlib.h>
21831 #endif
21832 #include <stdio.h>
21833
21834
21835
21836 typedef wchar_t ac__type_sizeof_;
21837 int
21838 main ()
21839 {
21840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21841 test_array [0] = 0
21842
21843 ;
21844 return 0;
21845 }
21846 _ACEOF
21847 rm -f conftest.$ac_objext
21848 if { (ac_try="$ac_compile"
21849 case "(($ac_try" in
21850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21851 *) ac_try_echo=$ac_try;;
21852 esac
21853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21854 (eval "$ac_compile") 2>conftest.er1
21855 ac_status=$?
21856 grep -v '^ *+' conftest.er1 >conftest.err
21857 rm -f conftest.er1
21858 cat conftest.err >&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); } && {
21861 test -z "$ac_c_werror_flag" ||
21862 test ! -s conftest.err
21863 } && test -s conftest.$ac_objext; then
21864 ac_lo=$ac_mid; break
21865 else
21866 echo "$as_me: failed program was:" >&5
21867 sed 's/^/| /' conftest.$ac_ext >&5
21868
21869 ac_hi=`expr '(' $ac_mid ')' - 1`
21870 if test $ac_mid -le $ac_hi; then
21871 ac_lo= ac_hi=
21872 break
21873 fi
21874 ac_mid=`expr 2 '*' $ac_mid`
21875 fi
21876
21877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21878 done
21879 else
21880 echo "$as_me: failed program was:" >&5
21881 sed 's/^/| /' conftest.$ac_ext >&5
21882
21883 ac_lo= ac_hi=
21884 fi
21885
21886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21887 fi
21888
21889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21890 # Binary search between lo and hi bounds.
21891 while test "x$ac_lo" != "x$ac_hi"; do
21892 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21893 cat >conftest.$ac_ext <<_ACEOF
21894 /* confdefs.h. */
21895 _ACEOF
21896 cat confdefs.h >>conftest.$ac_ext
21897 cat >>conftest.$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21899
21900 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21901 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21902 # error "fake wchar_t"
21903 #endif
21904 #ifdef HAVE_WCHAR_H
21905 # ifdef __CYGWIN__
21906 # include <stddef.h>
21907 # endif
21908 # include <wchar.h>
21909 #endif
21910 #ifdef HAVE_STDLIB_H
21911 # include <stdlib.h>
21912 #endif
21913 #include <stdio.h>
21914
21915
21916
21917 typedef wchar_t ac__type_sizeof_;
21918 int
21919 main ()
21920 {
21921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21922 test_array [0] = 0
21923
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (ac_try="$ac_compile"
21930 case "(($ac_try" in
21931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21932 *) ac_try_echo=$ac_try;;
21933 esac
21934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21935 (eval "$ac_compile") 2>conftest.er1
21936 ac_status=$?
21937 grep -v '^ *+' conftest.er1 >conftest.err
21938 rm -f conftest.er1
21939 cat conftest.err >&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); } && {
21942 test -z "$ac_c_werror_flag" ||
21943 test ! -s conftest.err
21944 } && test -s conftest.$ac_objext; then
21945 ac_hi=$ac_mid
21946 else
21947 echo "$as_me: failed program was:" >&5
21948 sed 's/^/| /' conftest.$ac_ext >&5
21949
21950 ac_lo=`expr '(' $ac_mid ')' + 1`
21951 fi
21952
21953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21954 done
21955 case $ac_lo in
21956 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21957 '') if test "$ac_cv_type_wchar_t" = yes; then
21958 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21959 See \`config.log' for more details." >&5
21960 echo "$as_me: error: cannot compute sizeof (wchar_t)
21961 See \`config.log' for more details." >&2;}
21962 { (exit 77); exit 77; }; }
21963 else
21964 ac_cv_sizeof_wchar_t=0
21965 fi ;;
21966 esac
21967 else
21968 cat >conftest.$ac_ext <<_ACEOF
21969 /* confdefs.h. */
21970 _ACEOF
21971 cat confdefs.h >>conftest.$ac_ext
21972 cat >>conftest.$ac_ext <<_ACEOF
21973 /* end confdefs.h. */
21974
21975 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21976 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21977 # error "fake wchar_t"
21978 #endif
21979 #ifdef HAVE_WCHAR_H
21980 # ifdef __CYGWIN__
21981 # include <stddef.h>
21982 # endif
21983 # include <wchar.h>
21984 #endif
21985 #ifdef HAVE_STDLIB_H
21986 # include <stdlib.h>
21987 #endif
21988 #include <stdio.h>
21989
21990
21991
21992 typedef wchar_t ac__type_sizeof_;
21993 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21994 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21995 #include <stdio.h>
21996 #include <stdlib.h>
21997 int
21998 main ()
21999 {
22000
22001 FILE *f = fopen ("conftest.val", "w");
22002 if (! f)
22003 return 1;
22004 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22005 {
22006 long int i = longval ();
22007 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22008 return 1;
22009 fprintf (f, "%ld\n", i);
22010 }
22011 else
22012 {
22013 unsigned long int i = ulongval ();
22014 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22015 return 1;
22016 fprintf (f, "%lu\n", i);
22017 }
22018 return ferror (f) || fclose (f) != 0;
22019
22020 ;
22021 return 0;
22022 }
22023 _ACEOF
22024 rm -f conftest$ac_exeext
22025 if { (ac_try="$ac_link"
22026 case "(($ac_try" in
22027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22028 *) ac_try_echo=$ac_try;;
22029 esac
22030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22031 (eval "$ac_link") 2>&5
22032 ac_status=$?
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22035 { (case "(($ac_try" in
22036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22037 *) ac_try_echo=$ac_try;;
22038 esac
22039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22040 (eval "$ac_try") 2>&5
22041 ac_status=$?
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; }; then
22044 ac_cv_sizeof_wchar_t=`cat conftest.val`
22045 else
22046 echo "$as_me: program exited with status $ac_status" >&5
22047 echo "$as_me: failed program was:" >&5
22048 sed 's/^/| /' conftest.$ac_ext >&5
22049
22050 ( exit $ac_status )
22051 if test "$ac_cv_type_wchar_t" = yes; then
22052 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22053 See \`config.log' for more details." >&5
22054 echo "$as_me: error: cannot compute sizeof (wchar_t)
22055 See \`config.log' for more details." >&2;}
22056 { (exit 77); exit 77; }; }
22057 else
22058 ac_cv_sizeof_wchar_t=0
22059 fi
22060 fi
22061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22062 fi
22063 rm -f conftest.val
22064 fi
22065 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22066 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22067
22068
22069
22070 cat >>confdefs.h <<_ACEOF
22071 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22072 _ACEOF
22073
22074
22075 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22076 wxUSE_WCHAR_T=yes
22077 else
22078 wxUSE_WCHAR_T=no
22079 fi
22080
22081 { echo "$as_me:$LINENO: checking for va_copy" >&5
22082 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22083 if test "${wx_cv_func_va_copy+set}" = set; then
22084 echo $ECHO_N "(cached) $ECHO_C" >&6
22085 else
22086
22087 cat >conftest.$ac_ext <<_ACEOF
22088
22089 #include <stdarg.h>
22090 void foo(char *f, ...)
22091 {
22092 va_list ap1, ap2;
22093 va_start(ap1, f);
22094 va_copy(ap2, ap1);
22095 va_end(ap2);
22096 va_end(ap1);
22097 }
22098 int main()
22099 {
22100 foo("hi", 17);
22101 return 0;
22102 }
22103 _ACEOF
22104 rm -f conftest.$ac_objext conftest$ac_exeext
22105 if { (ac_try="$ac_link"
22106 case "(($ac_try" in
22107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22108 *) ac_try_echo=$ac_try;;
22109 esac
22110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22111 (eval "$ac_link") 2>conftest.er1
22112 ac_status=$?
22113 grep -v '^ *+' conftest.er1 >conftest.err
22114 rm -f conftest.er1
22115 cat conftest.err >&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } && {
22118 test -z "$ac_c_werror_flag" ||
22119 test ! -s conftest.err
22120 } && test -s conftest$ac_exeext &&
22121 $as_test_x conftest$ac_exeext; then
22122 wx_cv_func_va_copy=yes
22123 else
22124 echo "$as_me: failed program was:" >&5
22125 sed 's/^/| /' conftest.$ac_ext >&5
22126
22127 wx_cv_func_va_copy=no
22128
22129 fi
22130
22131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22132 conftest$ac_exeext conftest.$ac_ext
22133
22134
22135 fi
22136 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22137 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22138
22139 if test $wx_cv_func_va_copy = "yes"; then
22140 cat >>confdefs.h <<\_ACEOF
22141 #define HAVE_VA_COPY 1
22142 _ACEOF
22143
22144 else
22145 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22146 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22147 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22148 echo $ECHO_N "(cached) $ECHO_C" >&6
22149 else
22150
22151 if test "$cross_compiling" = yes; then
22152 wx_cv_type_va_list_lvalue=yes
22153
22154 else
22155 cat >conftest.$ac_ext <<_ACEOF
22156
22157 #include <stdarg.h>
22158 int foo(char *f, ...)
22159 {
22160 va_list ap1, ap2;
22161 va_start(ap1, f);
22162 ap2 = ap1;
22163 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22164 return 1;
22165 va_end(ap2);
22166 va_end(ap1);
22167 return 0;
22168 }
22169 int main()
22170 {
22171 return foo("hi", 17);
22172 }
22173 _ACEOF
22174 rm -f conftest$ac_exeext
22175 if { (ac_try="$ac_link"
22176 case "(($ac_try" in
22177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22178 *) ac_try_echo=$ac_try;;
22179 esac
22180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22181 (eval "$ac_link") 2>&5
22182 ac_status=$?
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22185 { (case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22188 esac
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_try") 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; }; then
22194 wx_cv_type_va_list_lvalue=yes
22195 else
22196 echo "$as_me: program exited with status $ac_status" >&5
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.$ac_ext >&5
22199
22200 ( exit $ac_status )
22201 wx_cv_type_va_list_lvalue=no
22202 fi
22203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22204 fi
22205
22206
22207
22208
22209 fi
22210 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22211 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22212
22213 if test $wx_cv_type_va_list_lvalue != "yes"; then
22214 cat >>confdefs.h <<\_ACEOF
22215 #define VA_LIST_IS_ARRAY 1
22216 _ACEOF
22217
22218 fi
22219 fi
22220
22221 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22222
22223 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22224 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22225 if test "${wx_cv_have_variadic_macros+set}" = set; then
22226 echo $ECHO_N "(cached) $ECHO_C" >&6
22227 else
22228
22229 ac_ext=cpp
22230 ac_cpp='$CXXCPP $CPPFLAGS'
22231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22234
22235 cat >conftest.$ac_ext <<_ACEOF
22236 /* confdefs.h. */
22237 _ACEOF
22238 cat confdefs.h >>conftest.$ac_ext
22239 cat >>conftest.$ac_ext <<_ACEOF
22240 /* end confdefs.h. */
22241
22242 #include <stdio.h>
22243 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22244
22245 int
22246 main ()
22247 {
22248
22249 test("%s %d %p", "test", 1, 0);
22250
22251
22252 ;
22253 return 0;
22254 }
22255 _ACEOF
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22261 esac
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22264 ac_status=$?
22265 grep -v '^ *+' conftest.er1 >conftest.err
22266 rm -f conftest.er1
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_cxx_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest.$ac_objext; then
22273 wx_cv_have_variadic_macros=yes
22274 else
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22277
22278 wx_cv_have_variadic_macros=no
22279
22280 fi
22281
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22283 ac_ext=c
22284 ac_cpp='$CPP $CPPFLAGS'
22285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22288
22289
22290
22291 fi
22292 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22293 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22294
22295 if test $wx_cv_have_variadic_macros = "yes"; then
22296 cat >>confdefs.h <<\_ACEOF
22297 #define HAVE_VARIADIC_MACROS 1
22298 _ACEOF
22299
22300 fi
22301
22302 fi
22303 # Check whether --enable-largefile was given.
22304 if test "${enable_largefile+set}" = set; then
22305 enableval=$enable_largefile;
22306 fi
22307
22308 if test "$enable_largefile" != no; then
22309 wx_largefile=no
22310
22311 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22312 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22313 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22314 echo $ECHO_N "(cached) $ECHO_C" >&6
22315 else
22316
22317 cat >conftest.$ac_ext <<_ACEOF
22318 /* confdefs.h. */
22319 _ACEOF
22320 cat confdefs.h >>conftest.$ac_ext
22321 cat >>conftest.$ac_ext <<_ACEOF
22322 /* end confdefs.h. */
22323 #define _FILE_OFFSET_BITS 64
22324 #include <sys/types.h>
22325 int
22326 main ()
22327 {
22328 typedef struct {
22329 unsigned int field: sizeof(off_t) == 8;
22330 } wxlf;
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_cv_sys_file_offset_bits=64
22354 else
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22357
22358 ac_cv_sys_file_offset_bits=no
22359 fi
22360
22361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22362
22363
22364 fi
22365 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22366 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22367
22368 if test "$ac_cv_sys_file_offset_bits" != no; then
22369 wx_largefile=yes
22370 cat >>confdefs.h <<_ACEOF
22371 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22372 _ACEOF
22373
22374 fi
22375
22376 if test "x$wx_largefile" != "xyes"; then
22377
22378 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22379 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22380 if test "${ac_cv_sys_large_files+set}" = set; then
22381 echo $ECHO_N "(cached) $ECHO_C" >&6
22382 else
22383
22384 cat >conftest.$ac_ext <<_ACEOF
22385 /* confdefs.h. */
22386 _ACEOF
22387 cat confdefs.h >>conftest.$ac_ext
22388 cat >>conftest.$ac_ext <<_ACEOF
22389 /* end confdefs.h. */
22390 #define _LARGE_FILES 1
22391 #include <sys/types.h>
22392 int
22393 main ()
22394 {
22395 typedef struct {
22396 unsigned int field: sizeof(off_t) == 8;
22397 } wxlf;
22398
22399 ;
22400 return 0;
22401 }
22402 _ACEOF
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22408 esac
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22411 ac_status=$?
22412 grep -v '^ *+' conftest.er1 >conftest.err
22413 rm -f conftest.er1
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22420 ac_cv_sys_large_files=1
22421 else
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 ac_cv_sys_large_files=no
22426 fi
22427
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22429
22430
22431 fi
22432 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22433 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22434
22435 if test "$ac_cv_sys_large_files" != no; then
22436 wx_largefile=yes
22437 cat >>confdefs.h <<_ACEOF
22438 #define _LARGE_FILES $ac_cv_sys_large_files
22439 _ACEOF
22440
22441 fi
22442
22443 fi
22444
22445 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22446 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22447 if test "x$wx_largefile" = "xyes"; then
22448 cat >>confdefs.h <<\_ACEOF
22449 #define HAVE_LARGEFILE_SUPPORT 1
22450 _ACEOF
22451
22452 fi
22453 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22454 echo "${ECHO_T}$wx_largefile" >&6; }
22455 fi
22456
22457
22458 if test "x$wx_largefile" = "xyes"; then
22459 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22460 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22461
22462 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22463 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22464 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22465 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22466 echo $ECHO_N "(cached) $ECHO_C" >&6
22467 else
22468
22469 ac_ext=cpp
22470 ac_cpp='$CXXCPP $CPPFLAGS'
22471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22474
22475 cat >conftest.$ac_ext <<_ACEOF
22476 /* confdefs.h. */
22477 _ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h. */
22481
22482 int
22483 main ()
22484 {
22485
22486 #ifndef __STDC_EXT__
22487 choke me
22488 #endif
22489
22490 ;
22491 return 0;
22492 }
22493 _ACEOF
22494 rm -f conftest.$ac_objext
22495 if { (ac_try="$ac_compile"
22496 case "(($ac_try" in
22497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22498 *) ac_try_echo=$ac_try;;
22499 esac
22500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22501 (eval "$ac_compile") 2>conftest.er1
22502 ac_status=$?
22503 grep -v '^ *+' conftest.er1 >conftest.err
22504 rm -f conftest.er1
22505 cat conftest.err >&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } && {
22508 test -z "$ac_cxx_werror_flag" ||
22509 test ! -s conftest.err
22510 } && test -s conftest.$ac_objext; then
22511 wx_cv_STDC_EXT_required=no
22512 else
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.$ac_ext >&5
22515
22516 wx_cv_STDC_EXT_required=yes
22517
22518 fi
22519
22520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22521 ac_ext=c
22522 ac_cpp='$CPP $CPPFLAGS'
22523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22526
22527
22528
22529 fi
22530 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22531 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22532 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22533 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22534 fi
22535 fi
22536 else
22537 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22538 fi
22539 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22540 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22541 if test "${ac_cv_sys_largefile_source+set}" = set; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 else
22544 while :; do
22545 cat >conftest.$ac_ext <<_ACEOF
22546 /* confdefs.h. */
22547 _ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 #include <sys/types.h> /* for off_t */
22552 #include <stdio.h>
22553 int
22554 main ()
22555 {
22556 int (*fp) (FILE *, off_t, int) = fseeko;
22557 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22558 ;
22559 return 0;
22560 }
22561 _ACEOF
22562 rm -f conftest.$ac_objext conftest$ac_exeext
22563 if { (ac_try="$ac_link"
22564 case "(($ac_try" in
22565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22566 *) ac_try_echo=$ac_try;;
22567 esac
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_link") 2>conftest.er1
22570 ac_status=$?
22571 grep -v '^ *+' conftest.er1 >conftest.err
22572 rm -f conftest.er1
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } && {
22576 test -z "$ac_c_werror_flag" ||
22577 test ! -s conftest.err
22578 } && test -s conftest$ac_exeext &&
22579 $as_test_x conftest$ac_exeext; then
22580 ac_cv_sys_largefile_source=no; break
22581 else
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22584
22585
22586 fi
22587
22588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22589 conftest$ac_exeext conftest.$ac_ext
22590 cat >conftest.$ac_ext <<_ACEOF
22591 /* confdefs.h. */
22592 _ACEOF
22593 cat confdefs.h >>conftest.$ac_ext
22594 cat >>conftest.$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22596 #define _LARGEFILE_SOURCE 1
22597 #include <sys/types.h> /* for off_t */
22598 #include <stdio.h>
22599 int
22600 main ()
22601 {
22602 int (*fp) (FILE *, off_t, int) = fseeko;
22603 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22604 ;
22605 return 0;
22606 }
22607 _ACEOF
22608 rm -f conftest.$ac_objext conftest$ac_exeext
22609 if { (ac_try="$ac_link"
22610 case "(($ac_try" in
22611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22612 *) ac_try_echo=$ac_try;;
22613 esac
22614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22615 (eval "$ac_link") 2>conftest.er1
22616 ac_status=$?
22617 grep -v '^ *+' conftest.er1 >conftest.err
22618 rm -f conftest.er1
22619 cat conftest.err >&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } && {
22622 test -z "$ac_c_werror_flag" ||
22623 test ! -s conftest.err
22624 } && test -s conftest$ac_exeext &&
22625 $as_test_x conftest$ac_exeext; then
22626 ac_cv_sys_largefile_source=1; break
22627 else
22628 echo "$as_me: failed program was:" >&5
22629 sed 's/^/| /' conftest.$ac_ext >&5
22630
22631
22632 fi
22633
22634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22635 conftest$ac_exeext conftest.$ac_ext
22636 ac_cv_sys_largefile_source=unknown
22637 break
22638 done
22639 fi
22640 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22641 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22642 case $ac_cv_sys_largefile_source in #(
22643 no | unknown) ;;
22644 *)
22645 cat >>confdefs.h <<_ACEOF
22646 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22647 _ACEOF
22648 ;;
22649 esac
22650 rm -f conftest*
22651
22652 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22653 # in glibc 2.1.3, but that breaks too many other things.
22654 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22655 if test $ac_cv_sys_largefile_source != unknown; then
22656
22657 cat >>confdefs.h <<\_ACEOF
22658 #define HAVE_FSEEKO 1
22659 _ACEOF
22660
22661 fi
22662
22663 if test "$ac_cv_sys_largefile_source" != no; then
22664 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22665 fi
22666 fi
22667
22668 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22669 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22670 if test "${ac_cv_c_bigendian+set}" = set; then
22671 echo $ECHO_N "(cached) $ECHO_C" >&6
22672 else
22673 ac_cv_c_bigendian=unknown
22674 # See if sys/param.h defines the BYTE_ORDER macro.
22675 cat >conftest.$ac_ext <<_ACEOF
22676 /* confdefs.h. */
22677 _ACEOF
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h. */
22681 #include <sys/types.h>
22682 #include <sys/param.h>
22683 int
22684 main ()
22685 {
22686
22687 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22688 bogus endian macros
22689 #endif
22690 ;
22691 return 0;
22692 }
22693 _ACEOF
22694 rm -f conftest.$ac_objext
22695 if { (ac_try="$ac_compile"
22696 case "(($ac_try" in
22697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22698 *) ac_try_echo=$ac_try;;
22699 esac
22700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22701 (eval "$ac_compile") 2>conftest.er1
22702 ac_status=$?
22703 grep -v '^ *+' conftest.er1 >conftest.err
22704 rm -f conftest.er1
22705 cat conftest.err >&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); } && {
22708 test -z "$ac_c_werror_flag" ||
22709 test ! -s conftest.err
22710 } && test -s conftest.$ac_objext; then
22711 # It does; now see whether it defined to BIG_ENDIAN or not.
22712 cat >conftest.$ac_ext <<_ACEOF
22713 /* confdefs.h. */
22714 _ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22718 #include <sys/types.h>
22719 #include <sys/param.h>
22720 int
22721 main ()
22722 {
22723
22724 #if BYTE_ORDER != BIG_ENDIAN
22725 not big endian
22726 #endif
22727 ;
22728 return 0;
22729 }
22730 _ACEOF
22731 rm -f conftest.$ac_objext
22732 if { (ac_try="$ac_compile"
22733 case "(($ac_try" in
22734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22735 *) ac_try_echo=$ac_try;;
22736 esac
22737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22738 (eval "$ac_compile") 2>conftest.er1
22739 ac_status=$?
22740 grep -v '^ *+' conftest.er1 >conftest.err
22741 rm -f conftest.er1
22742 cat conftest.err >&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } && {
22745 test -z "$ac_c_werror_flag" ||
22746 test ! -s conftest.err
22747 } && test -s conftest.$ac_objext; then
22748 ac_cv_c_bigendian=yes
22749 else
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22752
22753 ac_cv_c_bigendian=no
22754 fi
22755
22756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22757 else
22758 echo "$as_me: failed program was:" >&5
22759 sed 's/^/| /' conftest.$ac_ext >&5
22760
22761
22762 fi
22763
22764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22765 if test $ac_cv_c_bigendian = unknown; then
22766 if test "$cross_compiling" = yes; then
22767 ac_cv_c_bigendian=unknown
22768 else
22769 cat >conftest.$ac_ext <<_ACEOF
22770 /* confdefs.h. */
22771 _ACEOF
22772 cat confdefs.h >>conftest.$ac_ext
22773 cat >>conftest.$ac_ext <<_ACEOF
22774 /* end confdefs.h. */
22775 main () {
22776 /* Are we little or big endian? From Harbison&Steele. */
22777 union
22778 {
22779 long l;
22780 char c[sizeof (long)];
22781 } u;
22782 u.l = 1;
22783 exit (u.c[sizeof (long) - 1] == 1);
22784 }
22785 _ACEOF
22786 rm -f conftest$ac_exeext
22787 if { (ac_try="$ac_link"
22788 case "(($ac_try" in
22789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22790 *) ac_try_echo=$ac_try;;
22791 esac
22792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22793 (eval "$ac_link") 2>&5
22794 ac_status=$?
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22797 { (case "(($ac_try" in
22798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22799 *) ac_try_echo=$ac_try;;
22800 esac
22801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22802 (eval "$ac_try") 2>&5
22803 ac_status=$?
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; }; then
22806 ac_cv_c_bigendian=no
22807 else
22808 echo "$as_me: program exited with status $ac_status" >&5
22809 echo "$as_me: failed program was:" >&5
22810 sed 's/^/| /' conftest.$ac_ext >&5
22811
22812 ( exit $ac_status )
22813 ac_cv_c_bigendian=yes
22814 fi
22815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22816 fi
22817
22818
22819 fi
22820 fi
22821 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22822 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22823 if test $ac_cv_c_bigendian = unknown; then
22824 { 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
22825 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;}
22826 fi
22827 if test $ac_cv_c_bigendian = yes; then
22828 cat >>confdefs.h <<\_ACEOF
22829 #define WORDS_BIGENDIAN 1
22830 _ACEOF
22831
22832 fi
22833
22834
22835
22836
22837 ac_ext=cpp
22838 ac_cpp='$CXXCPP $CPPFLAGS'
22839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22842
22843
22844 { echo "$as_me:$LINENO: checking for iostream" >&5
22845 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22846 if test "${ac_cv_header_iostream+set}" = set; then
22847 echo $ECHO_N "(cached) $ECHO_C" >&6
22848 else
22849 cat >conftest.$ac_ext <<_ACEOF
22850 /* confdefs.h. */
22851 _ACEOF
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22855
22856
22857 #include <iostream>
22858 _ACEOF
22859 rm -f conftest.$ac_objext
22860 if { (ac_try="$ac_compile"
22861 case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22863 *) ac_try_echo=$ac_try;;
22864 esac
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_compile") 2>conftest.er1
22867 ac_status=$?
22868 grep -v '^ *+' conftest.er1 >conftest.err
22869 rm -f conftest.er1
22870 cat conftest.err >&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } && {
22873 test -z "$ac_cxx_werror_flag" ||
22874 test ! -s conftest.err
22875 } && test -s conftest.$ac_objext; then
22876 ac_cv_header_iostream=yes
22877 else
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.$ac_ext >&5
22880
22881 ac_cv_header_iostream=no
22882 fi
22883
22884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22885 fi
22886 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22887 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22888
22889
22890
22891 if test "$ac_cv_header_iostream" = "yes" ; then
22892 :
22893 else
22894 cat >>confdefs.h <<\_ACEOF
22895 #define wxUSE_IOSTREAMH 1
22896 _ACEOF
22897
22898 fi
22899
22900 ac_ext=c
22901 ac_cpp='$CPP $CPPFLAGS'
22902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22905
22906
22907
22908
22909 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22910 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22911 if test "${wx_cv_cpp_bool+set}" = set; then
22912 echo $ECHO_N "(cached) $ECHO_C" >&6
22913 else
22914
22915
22916 ac_ext=cpp
22917 ac_cpp='$CXXCPP $CPPFLAGS'
22918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22921
22922
22923 cat >conftest.$ac_ext <<_ACEOF
22924 /* confdefs.h. */
22925 _ACEOF
22926 cat confdefs.h >>conftest.$ac_ext
22927 cat >>conftest.$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22929
22930
22931 int
22932 main ()
22933 {
22934
22935 bool b = true;
22936
22937 return 0;
22938
22939 ;
22940 return 0;
22941 }
22942 _ACEOF
22943 rm -f conftest.$ac_objext
22944 if { (ac_try="$ac_compile"
22945 case "(($ac_try" in
22946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22947 *) ac_try_echo=$ac_try;;
22948 esac
22949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22950 (eval "$ac_compile") 2>conftest.er1
22951 ac_status=$?
22952 grep -v '^ *+' conftest.er1 >conftest.err
22953 rm -f conftest.er1
22954 cat conftest.err >&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); } && {
22957 test -z "$ac_cxx_werror_flag" ||
22958 test ! -s conftest.err
22959 } && test -s conftest.$ac_objext; then
22960
22961 wx_cv_cpp_bool=yes
22962
22963 else
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.$ac_ext >&5
22966
22967
22968 wx_cv_cpp_bool=no
22969
22970
22971 fi
22972
22973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22974
22975 ac_ext=c
22976 ac_cpp='$CPP $CPPFLAGS'
22977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22980
22981
22982 fi
22983 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22984 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22985
22986 if test "$wx_cv_cpp_bool" = "yes"; then
22987 cat >>confdefs.h <<\_ACEOF
22988 #define HAVE_BOOL 1
22989 _ACEOF
22990
22991 fi
22992
22993
22994
22995 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22996 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22997 if test "${wx_cv_explicit+set}" = set; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
22999 else
23000
23001
23002 ac_ext=cpp
23003 ac_cpp='$CXXCPP $CPPFLAGS'
23004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23007
23008
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015
23016 class Foo { public: explicit Foo(int) {} };
23017
23018 int
23019 main ()
23020 {
23021
23022 return 0;
23023
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext
23029 if { (ac_try="$ac_compile"
23030 case "(($ac_try" in
23031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23033 esac
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_compile") 2>conftest.er1
23036 ac_status=$?
23037 grep -v '^ *+' conftest.er1 >conftest.err
23038 rm -f conftest.er1
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_cxx_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest.$ac_objext; then
23045
23046 cat >conftest.$ac_ext <<_ACEOF
23047 /* confdefs.h. */
23048 _ACEOF
23049 cat confdefs.h >>conftest.$ac_ext
23050 cat >>conftest.$ac_ext <<_ACEOF
23051 /* end confdefs.h. */
23052
23053 class Foo { public: explicit Foo(int) {} };
23054 static void TakeFoo(const Foo& foo) { }
23055
23056 int
23057 main ()
23058 {
23059
23060 TakeFoo(17);
23061 return 0;
23062
23063 ;
23064 return 0;
23065 }
23066 _ACEOF
23067 rm -f conftest.$ac_objext
23068 if { (ac_try="$ac_compile"
23069 case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23072 esac
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_compile") 2>conftest.er1
23075 ac_status=$?
23076 grep -v '^ *+' conftest.er1 >conftest.err
23077 rm -f conftest.er1
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && {
23081 test -z "$ac_cxx_werror_flag" ||
23082 test ! -s conftest.err
23083 } && test -s conftest.$ac_objext; then
23084 wx_cv_explicit=no
23085 else
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23088
23089 wx_cv_explicit=yes
23090
23091 fi
23092
23093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23094
23095 else
23096 echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.$ac_ext >&5
23098
23099 wx_cv_explicit=no
23100
23101 fi
23102
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23104
23105 ac_ext=c
23106 ac_cpp='$CPP $CPPFLAGS'
23107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23110
23111
23112 fi
23113 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23114 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23115
23116 if test "$wx_cv_explicit" = "yes"; then
23117 cat >>confdefs.h <<\_ACEOF
23118 #define HAVE_EXPLICIT 1
23119 _ACEOF
23120
23121 fi
23122
23123
23124 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23125 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23126 if test "${ac_cv_cxx_const_cast+set}" = set; then
23127 echo $ECHO_N "(cached) $ECHO_C" >&6
23128 else
23129
23130 ac_ext=cpp
23131 ac_cpp='$CXXCPP $CPPFLAGS'
23132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23135
23136 cat >conftest.$ac_ext <<_ACEOF
23137 /* confdefs.h. */
23138 _ACEOF
23139 cat confdefs.h >>conftest.$ac_ext
23140 cat >>conftest.$ac_ext <<_ACEOF
23141 /* end confdefs.h. */
23142
23143 int
23144 main ()
23145 {
23146 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
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_cxx_werror_flag" ||
23166 test ! -s conftest.err
23167 } && test -s conftest.$ac_objext; then
23168 ac_cv_cxx_const_cast=yes
23169 else
23170 echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.$ac_ext >&5
23172
23173 ac_cv_cxx_const_cast=no
23174 fi
23175
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182
23183
23184 fi
23185 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23186 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23187 if test "$ac_cv_cxx_const_cast" = yes; then
23188
23189 cat >>confdefs.h <<\_ACEOF
23190 #define HAVE_CONST_CAST
23191 _ACEOF
23192
23193 fi
23194
23195 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23196 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23197 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23198 echo $ECHO_N "(cached) $ECHO_C" >&6
23199 else
23200
23201 ac_ext=cpp
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23206
23207 cat >conftest.$ac_ext <<_ACEOF
23208 /* confdefs.h. */
23209 _ACEOF
23210 cat confdefs.h >>conftest.$ac_ext
23211 cat >>conftest.$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23213 #include <typeinfo>
23214 class Base { public : Base () {} virtual void f () = 0;};
23215 class Derived : public Base { public : Derived () {} virtual void f () {} };
23216 class Unrelated { public : Unrelated () {} };
23217 int g (Unrelated&) { return 0; }
23218 int
23219 main ()
23220 {
23221
23222 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23223 ;
23224 return 0;
23225 }
23226 _ACEOF
23227 rm -f conftest.$ac_objext
23228 if { (ac_try="$ac_compile"
23229 case "(($ac_try" in
23230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231 *) ac_try_echo=$ac_try;;
23232 esac
23233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23234 (eval "$ac_compile") 2>conftest.er1
23235 ac_status=$?
23236 grep -v '^ *+' conftest.er1 >conftest.err
23237 rm -f conftest.er1
23238 cat conftest.err >&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); } && {
23241 test -z "$ac_cxx_werror_flag" ||
23242 test ! -s conftest.err
23243 } && test -s conftest.$ac_objext; then
23244 ac_cv_cxx_reinterpret_cast=yes
23245 else
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.$ac_ext >&5
23248
23249 ac_cv_cxx_reinterpret_cast=no
23250 fi
23251
23252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23253 ac_ext=c
23254 ac_cpp='$CPP $CPPFLAGS'
23255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23258
23259
23260 fi
23261 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23262 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23263 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23264
23265 cat >>confdefs.h <<\_ACEOF
23266 #define HAVE_REINTERPRET_CAST
23267 _ACEOF
23268
23269 fi
23270
23271 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23272 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23273 if test "${ac_cv_cxx_static_cast+set}" = set; then
23274 echo $ECHO_N "(cached) $ECHO_C" >&6
23275 else
23276
23277 ac_ext=cpp
23278 ac_cpp='$CXXCPP $CPPFLAGS'
23279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23282
23283 cat >conftest.$ac_ext <<_ACEOF
23284 /* confdefs.h. */
23285 _ACEOF
23286 cat confdefs.h >>conftest.$ac_ext
23287 cat >>conftest.$ac_ext <<_ACEOF
23288 /* end confdefs.h. */
23289 #include <typeinfo>
23290 class Base { public : Base () {} virtual void f () = 0; };
23291 class Derived : public Base { public : Derived () {} virtual void f () {} };
23292 int g (Derived&) { return 0; }
23293 int
23294 main ()
23295 {
23296
23297 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23298 ;
23299 return 0;
23300 }
23301 _ACEOF
23302 rm -f conftest.$ac_objext
23303 if { (ac_try="$ac_compile"
23304 case "(($ac_try" in
23305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23306 *) ac_try_echo=$ac_try;;
23307 esac
23308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23309 (eval "$ac_compile") 2>conftest.er1
23310 ac_status=$?
23311 grep -v '^ *+' conftest.er1 >conftest.err
23312 rm -f conftest.er1
23313 cat conftest.err >&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); } && {
23316 test -z "$ac_cxx_werror_flag" ||
23317 test ! -s conftest.err
23318 } && test -s conftest.$ac_objext; then
23319 ac_cv_cxx_static_cast=yes
23320 else
23321 echo "$as_me: failed program was:" >&5
23322 sed 's/^/| /' conftest.$ac_ext >&5
23323
23324 ac_cv_cxx_static_cast=no
23325 fi
23326
23327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23328 ac_ext=c
23329 ac_cpp='$CPP $CPPFLAGS'
23330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23333
23334
23335 fi
23336 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23337 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23338 if test "$ac_cv_cxx_static_cast" = yes; then
23339
23340 cat >>confdefs.h <<\_ACEOF
23341 #define HAVE_STATIC_CAST
23342 _ACEOF
23343
23344 fi
23345
23346
23347 if test "x$SUNCXX" = xyes; then
23348 CXXFLAGS="-features=tmplife $CXXFLAGS"
23349 fi
23350
23351 if test "x$SUNCC" = xyes; then
23352 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23353 fi
23354
23355 if test "x$SGICC" = "xyes"; then
23356 CFLAGS="-woff 3970 $CFLAGS"
23357 fi
23358 if test "x$SGICXX" = "xyes"; then
23359 CXXFLAGS="-woff 3970 $CXXFLAGS"
23360 fi
23361
23362 if test "x$HPCC" = "xyes"; then
23363 CFLAGS="+W 2011,2450 $CFLAGS"
23364 fi
23365 if test "x$HPCXX" = "xyes"; then
23366 CXXFLAGS="+W 2340 $CXXFLAGS"
23367 fi
23368
23369 if test "x$COMPAQCXX" = "xyes"; then
23370 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23371 fi
23372
23373 ac_ext=cpp
23374 ac_cpp='$CXXCPP $CPPFLAGS'
23375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23378
23379
23380 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23381 if test "$wxUSE_UNICODE" = "yes"; then
23382 std_string="std::wstring"
23383 char_type="wchar_t"
23384 else
23385 std_string="std::string"
23386 char_type="char"
23387 fi
23388
23389 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23390 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23391 if test "${wx_cv_class_stdstring+set}" = set; then
23392 echo $ECHO_N "(cached) $ECHO_C" >&6
23393 else
23394
23395 cat >conftest.$ac_ext <<_ACEOF
23396 /* confdefs.h. */
23397 _ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <string>
23402 int
23403 main ()
23404 {
23405 $std_string foo;
23406 ;
23407 return 0;
23408 }
23409 _ACEOF
23410 rm -f conftest.$ac_objext
23411 if { (ac_try="$ac_compile"
23412 case "(($ac_try" in
23413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23414 *) ac_try_echo=$ac_try;;
23415 esac
23416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23417 (eval "$ac_compile") 2>conftest.er1
23418 ac_status=$?
23419 grep -v '^ *+' conftest.er1 >conftest.err
23420 rm -f conftest.er1
23421 cat conftest.err >&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); } && {
23424 test -z "$ac_cxx_werror_flag" ||
23425 test ! -s conftest.err
23426 } && test -s conftest.$ac_objext; then
23427 wx_cv_class_stdstring=yes
23428 else
23429 echo "$as_me: failed program was:" >&5
23430 sed 's/^/| /' conftest.$ac_ext >&5
23431
23432 wx_cv_class_stdstring=no
23433
23434 fi
23435
23436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23437
23438
23439 fi
23440 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23441 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23442
23443 if test "$wx_cv_class_stdstring" = yes; then
23444 if test "$wxUSE_UNICODE" = "yes"; then
23445 cat >>confdefs.h <<\_ACEOF
23446 #define HAVE_STD_WSTRING 1
23447 _ACEOF
23448
23449 fi
23450 else
23451 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23452 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23453 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23455 else
23456
23457 cat >conftest.$ac_ext <<_ACEOF
23458 /* confdefs.h. */
23459 _ACEOF
23460 cat confdefs.h >>conftest.$ac_ext
23461 cat >>conftest.$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23463
23464 #ifdef HAVE_WCHAR_H
23465 # ifdef __CYGWIN__
23466 # include <stddef.h>
23467 # endif
23468 # include <wchar.h>
23469 #endif
23470 #ifdef HAVE_STDLIB_H
23471 # include <stdlib.h>
23472 #endif
23473 #include <stdio.h>
23474 #include <string>
23475
23476 int
23477 main ()
23478 {
23479 std::basic_string<$char_type> foo;
23480 const $char_type* dummy = foo.c_str();
23481 ;
23482 return 0;
23483 }
23484 _ACEOF
23485 rm -f conftest.$ac_objext
23486 if { (ac_try="$ac_compile"
23487 case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23490 esac
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_compile") 2>conftest.er1
23493 ac_status=$?
23494 grep -v '^ *+' conftest.er1 >conftest.err
23495 rm -f conftest.er1
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } && {
23499 test -z "$ac_cxx_werror_flag" ||
23500 test ! -s conftest.err
23501 } && test -s conftest.$ac_objext; then
23502 wx_cv_class_stdbasicstring=yes
23503 else
23504 echo "$as_me: failed program was:" >&5
23505 sed 's/^/| /' conftest.$ac_ext >&5
23506
23507 wx_cv_class_stdbasicstring=no
23508
23509 fi
23510
23511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23512
23513
23514 fi
23515 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23516 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23517
23518 if test "$wx_cv_class_stdbasicstring" != yes; then
23519 if test "$wxUSE_STL" = "yes"; then
23520 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23521 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23522 { (exit 1); exit 1; }; }
23523 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23524 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23525 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23526 { (exit 1); exit 1; }; }
23527 else
23528 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23529 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23530 wxUSE_STD_STRING=no
23531 fi
23532 fi
23533 fi
23534 fi
23535
23536 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23537 { echo "$as_me:$LINENO: checking for std::istream" >&5
23538 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23539 if test "${ac_cv_type_std__istream+set}" = set; then
23540 echo $ECHO_N "(cached) $ECHO_C" >&6
23541 else
23542 cat >conftest.$ac_ext <<_ACEOF
23543 /* confdefs.h. */
23544 _ACEOF
23545 cat confdefs.h >>conftest.$ac_ext
23546 cat >>conftest.$ac_ext <<_ACEOF
23547 /* end confdefs.h. */
23548 #include <iostream>
23549
23550 typedef std::istream ac__type_new_;
23551 int
23552 main ()
23553 {
23554 if ((ac__type_new_ *) 0)
23555 return 0;
23556 if (sizeof (ac__type_new_))
23557 return 0;
23558 ;
23559 return 0;
23560 }
23561 _ACEOF
23562 rm -f conftest.$ac_objext
23563 if { (ac_try="$ac_compile"
23564 case "(($ac_try" in
23565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23566 *) ac_try_echo=$ac_try;;
23567 esac
23568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23569 (eval "$ac_compile") 2>conftest.er1
23570 ac_status=$?
23571 grep -v '^ *+' conftest.er1 >conftest.err
23572 rm -f conftest.er1
23573 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } && {
23576 test -z "$ac_cxx_werror_flag" ||
23577 test ! -s conftest.err
23578 } && test -s conftest.$ac_objext; then
23579 ac_cv_type_std__istream=yes
23580 else
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.$ac_ext >&5
23583
23584 ac_cv_type_std__istream=no
23585 fi
23586
23587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23588 fi
23589 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23590 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23591 if test $ac_cv_type_std__istream = yes; then
23592
23593 cat >>confdefs.h <<_ACEOF
23594 #define HAVE_STD__ISTREAM 1
23595 _ACEOF
23596
23597
23598 else
23599 wxUSE_STD_IOSTREAM=no
23600 fi
23601 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23602 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23603 if test "${ac_cv_type_std__ostream+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23605 else
23606 cat >conftest.$ac_ext <<_ACEOF
23607 /* confdefs.h. */
23608 _ACEOF
23609 cat confdefs.h >>conftest.$ac_ext
23610 cat >>conftest.$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23612 #include <iostream>
23613
23614 typedef std::ostream ac__type_new_;
23615 int
23616 main ()
23617 {
23618 if ((ac__type_new_ *) 0)
23619 return 0;
23620 if (sizeof (ac__type_new_))
23621 return 0;
23622 ;
23623 return 0;
23624 }
23625 _ACEOF
23626 rm -f conftest.$ac_objext
23627 if { (ac_try="$ac_compile"
23628 case "(($ac_try" in
23629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23630 *) ac_try_echo=$ac_try;;
23631 esac
23632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23633 (eval "$ac_compile") 2>conftest.er1
23634 ac_status=$?
23635 grep -v '^ *+' conftest.er1 >conftest.err
23636 rm -f conftest.er1
23637 cat conftest.err >&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } && {
23640 test -z "$ac_cxx_werror_flag" ||
23641 test ! -s conftest.err
23642 } && test -s conftest.$ac_objext; then
23643 ac_cv_type_std__ostream=yes
23644 else
23645 echo "$as_me: failed program was:" >&5
23646 sed 's/^/| /' conftest.$ac_ext >&5
23647
23648 ac_cv_type_std__ostream=no
23649 fi
23650
23651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23652 fi
23653 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23654 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23655 if test $ac_cv_type_std__ostream = yes; then
23656
23657 cat >>confdefs.h <<_ACEOF
23658 #define HAVE_STD__OSTREAM 1
23659 _ACEOF
23660
23661
23662 else
23663 wxUSE_STD_IOSTREAM=no
23664 fi
23665
23666
23667 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23668 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23669 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23670 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23671 { (exit 1); exit 1; }; }
23672 else
23673 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23674 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23675 fi
23676 fi
23677 fi
23678
23679 if test "$wxUSE_STL" = "yes"; then
23680 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23681 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23682 if test "${wx_cv_lib_stl+set}" = set; then
23683 echo $ECHO_N "(cached) $ECHO_C" >&6
23684 else
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 #include <string>
23692 #include <functional>
23693 #include <algorithm>
23694 #include <vector>
23695 #include <list>
23696 int
23697 main ()
23698 {
23699 std::vector<int> moo;
23700 std::list<int> foo;
23701 std::vector<int>::iterator it =
23702 std::find_if(moo.begin(), moo.end(),
23703 std::bind2nd(std::less<int>(), 3));
23704 ;
23705 return 0;
23706 }
23707 _ACEOF
23708 rm -f conftest.$ac_objext
23709 if { (ac_try="$ac_compile"
23710 case "(($ac_try" in
23711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23712 *) ac_try_echo=$ac_try;;
23713 esac
23714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23715 (eval "$ac_compile") 2>conftest.er1
23716 ac_status=$?
23717 grep -v '^ *+' conftest.er1 >conftest.err
23718 rm -f conftest.er1
23719 cat conftest.err >&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } && {
23722 test -z "$ac_cxx_werror_flag" ||
23723 test ! -s conftest.err
23724 } && test -s conftest.$ac_objext; then
23725 wx_cv_lib_stl=yes
23726 else
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23729
23730 wx_cv_lib_stl=no
23731
23732 fi
23733
23734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23735
23736 fi
23737 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23738 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23739
23740 if test "$wx_cv_lib_stl" != yes; then
23741 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23742 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23743 { (exit 1); exit 1; }; }
23744 fi
23745
23746 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23747 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23748 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23749 echo $ECHO_N "(cached) $ECHO_C" >&6
23750 else
23751 cat >conftest.$ac_ext <<_ACEOF
23752 /* confdefs.h. */
23753 _ACEOF
23754 cat confdefs.h >>conftest.$ac_ext
23755 cat >>conftest.$ac_ext <<_ACEOF
23756 /* end confdefs.h. */
23757 #include <string>
23758 int
23759 main ()
23760 {
23761 std::string foo, bar;
23762 foo.compare(bar);
23763 foo.compare(1, 1, bar);
23764 foo.compare(1, 1, bar, 1, 1);
23765 foo.compare("");
23766 foo.compare(1, 1, "");
23767 foo.compare(1, 1, "", 2);
23768 ;
23769 return 0;
23770 }
23771 _ACEOF
23772 rm -f conftest.$ac_objext
23773 if { (ac_try="$ac_compile"
23774 case "(($ac_try" in
23775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23776 *) ac_try_echo=$ac_try;;
23777 esac
23778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23779 (eval "$ac_compile") 2>conftest.er1
23780 ac_status=$?
23781 grep -v '^ *+' conftest.er1 >conftest.err
23782 rm -f conftest.er1
23783 cat conftest.err >&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); } && {
23786 test -z "$ac_cxx_werror_flag" ||
23787 test ! -s conftest.err
23788 } && test -s conftest.$ac_objext; then
23789 wx_cv_func_stdstring_compare=yes
23790 else
23791 echo "$as_me: failed program was:" >&5
23792 sed 's/^/| /' conftest.$ac_ext >&5
23793
23794 wx_cv_func_stdstring_compare=no
23795
23796 fi
23797
23798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23799
23800 fi
23801 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23802 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23803
23804 if test "$wx_cv_func_stdstring_compare" = yes; then
23805 cat >>confdefs.h <<\_ACEOF
23806 #define HAVE_STD_STRING_COMPARE 1
23807 _ACEOF
23808
23809 fi
23810
23811 { echo "$as_me:$LINENO: checking for hash_map" >&5
23812 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23813 if test "${ac_cv_header_hash_map+set}" = set; then
23814 echo $ECHO_N "(cached) $ECHO_C" >&6
23815 else
23816 cat >conftest.$ac_ext <<_ACEOF
23817 /* confdefs.h. */
23818 _ACEOF
23819 cat confdefs.h >>conftest.$ac_ext
23820 cat >>conftest.$ac_ext <<_ACEOF
23821 /* end confdefs.h. */
23822
23823
23824
23825 #include <hash_map>
23826 _ACEOF
23827 rm -f conftest.$ac_objext
23828 if { (ac_try="$ac_compile"
23829 case "(($ac_try" in
23830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23831 *) ac_try_echo=$ac_try;;
23832 esac
23833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23834 (eval "$ac_compile") 2>conftest.er1
23835 ac_status=$?
23836 grep -v '^ *+' conftest.er1 >conftest.err
23837 rm -f conftest.er1
23838 cat conftest.err >&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); } && {
23841 test -z "$ac_cxx_werror_flag" ||
23842 test ! -s conftest.err
23843 } && test -s conftest.$ac_objext; then
23844 ac_cv_header_hash_map=yes
23845 else
23846 echo "$as_me: failed program was:" >&5
23847 sed 's/^/| /' conftest.$ac_ext >&5
23848
23849 ac_cv_header_hash_map=no
23850 fi
23851
23852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23853 fi
23854 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23855 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23856 if test $ac_cv_header_hash_map = yes; then
23857 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23858 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23859 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23860 echo $ECHO_N "(cached) $ECHO_C" >&6
23861 else
23862 cat >conftest.$ac_ext <<_ACEOF
23863 /* confdefs.h. */
23864 _ACEOF
23865 cat confdefs.h >>conftest.$ac_ext
23866 cat >>conftest.$ac_ext <<_ACEOF
23867 /* end confdefs.h. */
23868 #include <hash_map>
23869 #include <hash_set>
23870 int
23871 main ()
23872 {
23873 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23874 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23875 ;
23876 return 0;
23877 }
23878 _ACEOF
23879 rm -f conftest.$ac_objext
23880 if { (ac_try="$ac_compile"
23881 case "(($ac_try" in
23882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23883 *) ac_try_echo=$ac_try;;
23884 esac
23885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23886 (eval "$ac_compile") 2>conftest.er1
23887 ac_status=$?
23888 grep -v '^ *+' conftest.er1 >conftest.err
23889 rm -f conftest.er1
23890 cat conftest.err >&5
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); } && {
23893 test -z "$ac_cxx_werror_flag" ||
23894 test ! -s conftest.err
23895 } && test -s conftest.$ac_objext; then
23896 wx_cv_class_stdhashmapset=yes
23897 else
23898 echo "$as_me: failed program was:" >&5
23899 sed 's/^/| /' conftest.$ac_ext >&5
23900
23901 wx_cv_class_stdhashmapset=no
23902 fi
23903
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905
23906
23907 fi
23908 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23909 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23910 fi
23911
23912
23913
23914 if test "$wx_cv_class_stdhashmapset" = yes; then
23915 cat >>confdefs.h <<\_ACEOF
23916 #define HAVE_HASH_MAP 1
23917 _ACEOF
23918
23919 cat >>confdefs.h <<\_ACEOF
23920 #define HAVE_STD_HASH_MAP 1
23921 _ACEOF
23922
23923 fi
23924
23925 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23926 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23927 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23928 echo $ECHO_N "(cached) $ECHO_C" >&6
23929 else
23930 cat >conftest.$ac_ext <<_ACEOF
23931 /* confdefs.h. */
23932 _ACEOF
23933 cat confdefs.h >>conftest.$ac_ext
23934 cat >>conftest.$ac_ext <<_ACEOF
23935 /* end confdefs.h. */
23936
23937
23938
23939 #include <ext/hash_map>
23940 _ACEOF
23941 rm -f conftest.$ac_objext
23942 if { (ac_try="$ac_compile"
23943 case "(($ac_try" in
23944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23945 *) ac_try_echo=$ac_try;;
23946 esac
23947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23948 (eval "$ac_compile") 2>conftest.er1
23949 ac_status=$?
23950 grep -v '^ *+' conftest.er1 >conftest.err
23951 rm -f conftest.er1
23952 cat conftest.err >&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } && {
23955 test -z "$ac_cxx_werror_flag" ||
23956 test ! -s conftest.err
23957 } && test -s conftest.$ac_objext; then
23958 ac_cv_header_ext_hash_map=yes
23959 else
23960 echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.$ac_ext >&5
23962
23963 ac_cv_header_ext_hash_map=no
23964 fi
23965
23966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 fi
23968 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23969 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23970 if test $ac_cv_header_ext_hash_map = yes; then
23971 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23972 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23973 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23974 echo $ECHO_N "(cached) $ECHO_C" >&6
23975 else
23976 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 #include <ext/hash_map>
23983 #include <ext/hash_set>
23984 int
23985 main ()
23986 {
23987 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23988 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23989 ;
23990 return 0;
23991 }
23992 _ACEOF
23993 rm -f conftest.$ac_objext
23994 if { (ac_try="$ac_compile"
23995 case "(($ac_try" in
23996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23997 *) ac_try_echo=$ac_try;;
23998 esac
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24000 (eval "$ac_compile") 2>conftest.er1
24001 ac_status=$?
24002 grep -v '^ *+' conftest.er1 >conftest.err
24003 rm -f conftest.er1
24004 cat conftest.err >&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && {
24007 test -z "$ac_cxx_werror_flag" ||
24008 test ! -s conftest.err
24009 } && test -s conftest.$ac_objext; then
24010 wx_cv_class_gnuhashmapset=yes
24011 else
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.$ac_ext >&5
24014
24015 wx_cv_class_gnuhashmapset=no
24016 fi
24017
24018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24019
24020
24021 fi
24022 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24023 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24024 fi
24025
24026
24027
24028 if test "$wx_cv_class_gnuhashmapset" = yes; then
24029 cat >>confdefs.h <<\_ACEOF
24030 #define HAVE_EXT_HASH_MAP 1
24031 _ACEOF
24032
24033 cat >>confdefs.h <<\_ACEOF
24034 #define HAVE_GNU_CXX_HASH_MAP 1
24035 _ACEOF
24036
24037 fi
24038 fi
24039
24040 ac_ext=c
24041 ac_cpp='$CPP $CPPFLAGS'
24042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24045
24046
24047
24048 SEARCH_INCLUDE="\
24049 /usr/local/include \
24050 \
24051 /usr/Motif-2.1/include \
24052 /usr/Motif-1.2/include \
24053 /usr/include/Motif1.2 \
24054 \
24055 /usr/dt/include \
24056 /usr/openwin/include \
24057 \
24058 /usr/include/Xm \
24059 \
24060 /usr/X11R6/include \
24061 /usr/X11R6.4/include \
24062 /usr/X11R5/include \
24063 /usr/X11R4/include \
24064 \
24065 /usr/include/X11R6 \
24066 /usr/include/X11R5 \
24067 /usr/include/X11R4 \
24068 \
24069 /usr/local/X11R6/include \
24070 /usr/local/X11R5/include \
24071 /usr/local/X11R4/include \
24072 \
24073 /usr/local/include/X11R6 \
24074 /usr/local/include/X11R5 \
24075 /usr/local/include/X11R4 \
24076 \
24077 /usr/X11/include \
24078 /usr/include/X11 \
24079 /usr/local/X11/include \
24080 /usr/local/include/X11 \
24081 \
24082 /usr/XFree86/include/X11 \
24083 /usr/pkg/include \
24084 \
24085 /usr/openwin/share/include"
24086
24087 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24088 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24089
24090 case "${host}" in
24091 *-*-irix6* )
24092 if test "${wx_cv_std_libpath+set}" = set; then
24093 echo $ECHO_N "(cached) $ECHO_C" >&6
24094 else
24095
24096 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24097 for e in a so sl dylib dll.a; do
24098 libc="$d/libc.$e"
24099 if test -f $libc; then
24100 save_LIBS="$LIBS"
24101 LIBS="$libc"
24102 cat >conftest.$ac_ext <<_ACEOF
24103 int main() { return 0; }
24104 _ACEOF
24105 rm -f conftest.$ac_objext conftest$ac_exeext
24106 if { (ac_try="$ac_link"
24107 case "(($ac_try" in
24108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24109 *) ac_try_echo=$ac_try;;
24110 esac
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112 (eval "$ac_link") 2>conftest.er1
24113 ac_status=$?
24114 grep -v '^ *+' conftest.er1 >conftest.err
24115 rm -f conftest.er1
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } && {
24119 test -z "$ac_c_werror_flag" ||
24120 test ! -s conftest.err
24121 } && test -s conftest$ac_exeext &&
24122 $as_test_x conftest$ac_exeext; then
24123 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24124 else
24125 echo "$as_me: failed program was:" >&5
24126 sed 's/^/| /' conftest.$ac_ext >&5
24127
24128
24129 fi
24130
24131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24132 conftest$ac_exeext conftest.$ac_ext
24133 LIBS="$save_LIBS"
24134 if test "x$wx_cv_std_libpath" != "x"; then
24135 break 2
24136 fi
24137 fi
24138 done
24139 done
24140 if test "x$wx_cv_std_libpath" = "x"; then
24141 wx_cv_std_libpath="lib"
24142 fi
24143
24144
24145 fi
24146
24147 ;;
24148
24149 *-*-solaris2* )
24150 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24151 wx_cv_std_libpath="lib/64"
24152 else
24153 wx_cv_std_libpath="lib"
24154 fi
24155 ;;
24156
24157 *-*-linux* )
24158 if test "$ac_cv_sizeof_void_p" = 8 -a \
24159 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24160 wx_cv_std_libpath="lib64"
24161 else
24162 wx_cv_std_libpath="lib"
24163 fi
24164 ;;
24165
24166 *)
24167 wx_cv_std_libpath="lib";
24168 ;;
24169 esac
24170
24171 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24172 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24173
24174 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24175
24176 if test "$build" != "$host" -a "$GCC" = yes; then
24177 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24178 cross_root=`dirname $cross_root`
24179 cross_root=`dirname $cross_root`
24180
24181 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24182 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24183 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24184
24185 if test -z "$PKG_CONFIG_PATH"; then
24186 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24187 export PKG_CONFIG_PATH
24188 fi
24189
24190 if test -z "$x_includes" -o "$x_includes" = NONE; then
24191
24192 ac_find_includes=
24193 for ac_dir in $SEARCH_INCLUDE /usr/include;
24194 do
24195 if test -f "$ac_dir/X11/Intrinsic.h"; then
24196 ac_find_includes=$ac_dir
24197 break
24198 fi
24199 done
24200
24201 x_includes=$ac_find_includes
24202 fi
24203 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24204
24205 ac_find_libraries=
24206 for ac_dir in $SEARCH_LIB;
24207 do
24208 for ac_extension in a so sl dylib dll.a; do
24209 if test -f "$ac_dir/libXt.$ac_extension"; then
24210 ac_find_libraries=$ac_dir
24211 break 2
24212 fi
24213 done
24214 done
24215
24216 x_libraries=$ac_find_libraries
24217 fi
24218 fi
24219 fi
24220
24221
24222 cat >confcache <<\_ACEOF
24223 # This file is a shell script that caches the results of configure
24224 # tests run on this system so they can be shared between configure
24225 # scripts and configure runs, see configure's option --config-cache.
24226 # It is not useful on other systems. If it contains results you don't
24227 # want to keep, you may remove or edit it.
24228 #
24229 # config.status only pays attention to the cache file if you give it
24230 # the --recheck option to rerun configure.
24231 #
24232 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24233 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24234 # following values.
24235
24236 _ACEOF
24237
24238 # The following way of writing the cache mishandles newlines in values,
24239 # but we know of no workaround that is simple, portable, and efficient.
24240 # So, we kill variables containing newlines.
24241 # Ultrix sh set writes to stderr and can't be redirected directly,
24242 # and sets the high bit in the cache file unless we assign to the vars.
24243 (
24244 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24245 eval ac_val=\$$ac_var
24246 case $ac_val in #(
24247 *${as_nl}*)
24248 case $ac_var in #(
24249 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24250 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24251 esac
24252 case $ac_var in #(
24253 _ | IFS | as_nl) ;; #(
24254 *) $as_unset $ac_var ;;
24255 esac ;;
24256 esac
24257 done
24258
24259 (set) 2>&1 |
24260 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24261 *${as_nl}ac_space=\ *)
24262 # `set' does not quote correctly, so add quotes (double-quote
24263 # substitution turns \\\\ into \\, and sed turns \\ into \).
24264 sed -n \
24265 "s/'/'\\\\''/g;
24266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24267 ;; #(
24268 *)
24269 # `set' quotes correctly as required by POSIX, so do not add quotes.
24270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24271 ;;
24272 esac |
24273 sort
24274 ) |
24275 sed '
24276 /^ac_cv_env_/b end
24277 t clear
24278 :clear
24279 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24280 t end
24281 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24282 :end' >>confcache
24283 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24284 if test -w "$cache_file"; then
24285 test "x$cache_file" != "x/dev/null" &&
24286 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24287 echo "$as_me: updating cache $cache_file" >&6;}
24288 cat confcache >$cache_file
24289 else
24290 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24291 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24292 fi
24293 fi
24294 rm -f confcache
24295
24296 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24297 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24298 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24299 if test "${wx_cv_lib_glibc21+set}" = set; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24301 else
24302
24303 cat >conftest.$ac_ext <<_ACEOF
24304 /* confdefs.h. */
24305 _ACEOF
24306 cat confdefs.h >>conftest.$ac_ext
24307 cat >>conftest.$ac_ext <<_ACEOF
24308 /* end confdefs.h. */
24309 #include <features.h>
24310 int
24311 main ()
24312 {
24313
24314 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24315 not glibc 2.1
24316 #endif
24317
24318 ;
24319 return 0;
24320 }
24321 _ACEOF
24322 rm -f conftest.$ac_objext
24323 if { (ac_try="$ac_compile"
24324 case "(($ac_try" in
24325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24326 *) ac_try_echo=$ac_try;;
24327 esac
24328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24329 (eval "$ac_compile") 2>conftest.er1
24330 ac_status=$?
24331 grep -v '^ *+' conftest.er1 >conftest.err
24332 rm -f conftest.er1
24333 cat conftest.err >&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); } && {
24336 test -z "$ac_c_werror_flag" ||
24337 test ! -s conftest.err
24338 } && test -s conftest.$ac_objext; then
24339
24340 wx_cv_lib_glibc21=yes
24341
24342 else
24343 echo "$as_me: failed program was:" >&5
24344 sed 's/^/| /' conftest.$ac_ext >&5
24345
24346
24347 wx_cv_lib_glibc21=no
24348
24349
24350 fi
24351
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353
24354 fi
24355 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24356 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24357 if test "$wx_cv_lib_glibc21" = "yes"; then
24358 cat >>confdefs.h <<\_ACEOF
24359 #define wxHAVE_GLIBC2 1
24360 _ACEOF
24361
24362 fi
24363 fi
24364
24365 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24366 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24367 cat >>confdefs.h <<\_ACEOF
24368 #define _GNU_SOURCE 1
24369 _ACEOF
24370
24371 fi
24372 fi
24373
24374 have_cos=0
24375 have_floor=0
24376
24377 for ac_func in cos
24378 do
24379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24380 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24382 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24383 echo $ECHO_N "(cached) $ECHO_C" >&6
24384 else
24385 cat >conftest.$ac_ext <<_ACEOF
24386 /* confdefs.h. */
24387 _ACEOF
24388 cat confdefs.h >>conftest.$ac_ext
24389 cat >>conftest.$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24393 #define $ac_func innocuous_$ac_func
24394
24395 /* System header to define __stub macros and hopefully few prototypes,
24396 which can conflict with char $ac_func (); below.
24397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24398 <limits.h> exists even on freestanding compilers. */
24399
24400 #ifdef __STDC__
24401 # include <limits.h>
24402 #else
24403 # include <assert.h>
24404 #endif
24405
24406 #undef $ac_func
24407
24408 /* Override any GCC internal prototype to avoid an error.
24409 Use char because int might match the return type of a GCC
24410 builtin and then its argument prototype would still apply. */
24411 #ifdef __cplusplus
24412 extern "C"
24413 #endif
24414 char $ac_func ();
24415 /* The GNU C library defines this for functions which it implements
24416 to always fail with ENOSYS. Some functions are actually named
24417 something starting with __ and the normal name is an alias. */
24418 #if defined __stub_$ac_func || defined __stub___$ac_func
24419 choke me
24420 #endif
24421
24422 int
24423 main ()
24424 {
24425 return $ac_func ();
24426 ;
24427 return 0;
24428 }
24429 _ACEOF
24430 rm -f conftest.$ac_objext conftest$ac_exeext
24431 if { (ac_try="$ac_link"
24432 case "(($ac_try" in
24433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24434 *) ac_try_echo=$ac_try;;
24435 esac
24436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24437 (eval "$ac_link") 2>conftest.er1
24438 ac_status=$?
24439 grep -v '^ *+' conftest.er1 >conftest.err
24440 rm -f conftest.er1
24441 cat conftest.err >&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } && {
24444 test -z "$ac_c_werror_flag" ||
24445 test ! -s conftest.err
24446 } && test -s conftest$ac_exeext &&
24447 $as_test_x conftest$ac_exeext; then
24448 eval "$as_ac_var=yes"
24449 else
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24452
24453 eval "$as_ac_var=no"
24454 fi
24455
24456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24457 conftest$ac_exeext conftest.$ac_ext
24458 fi
24459 ac_res=`eval echo '${'$as_ac_var'}'`
24460 { echo "$as_me:$LINENO: result: $ac_res" >&5
24461 echo "${ECHO_T}$ac_res" >&6; }
24462 if test `eval echo '${'$as_ac_var'}'` = yes; then
24463 cat >>confdefs.h <<_ACEOF
24464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24465 _ACEOF
24466 have_cos=1
24467 fi
24468 done
24469
24470
24471 for ac_func in floor
24472 do
24473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24477 echo $ECHO_N "(cached) $ECHO_C" >&6
24478 else
24479 cat >conftest.$ac_ext <<_ACEOF
24480 /* confdefs.h. */
24481 _ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24487 #define $ac_func innocuous_$ac_func
24488
24489 /* System header to define __stub macros and hopefully few prototypes,
24490 which can conflict with char $ac_func (); below.
24491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24492 <limits.h> exists even on freestanding compilers. */
24493
24494 #ifdef __STDC__
24495 # include <limits.h>
24496 #else
24497 # include <assert.h>
24498 #endif
24499
24500 #undef $ac_func
24501
24502 /* Override any GCC internal prototype to avoid an error.
24503 Use char because int might match the return type of a GCC
24504 builtin and then its argument prototype would still apply. */
24505 #ifdef __cplusplus
24506 extern "C"
24507 #endif
24508 char $ac_func ();
24509 /* The GNU C library defines this for functions which it implements
24510 to always fail with ENOSYS. Some functions are actually named
24511 something starting with __ and the normal name is an alias. */
24512 #if defined __stub_$ac_func || defined __stub___$ac_func
24513 choke me
24514 #endif
24515
24516 int
24517 main ()
24518 {
24519 return $ac_func ();
24520 ;
24521 return 0;
24522 }
24523 _ACEOF
24524 rm -f conftest.$ac_objext conftest$ac_exeext
24525 if { (ac_try="$ac_link"
24526 case "(($ac_try" in
24527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24528 *) ac_try_echo=$ac_try;;
24529 esac
24530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24531 (eval "$ac_link") 2>conftest.er1
24532 ac_status=$?
24533 grep -v '^ *+' conftest.er1 >conftest.err
24534 rm -f conftest.er1
24535 cat conftest.err >&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); } && {
24538 test -z "$ac_c_werror_flag" ||
24539 test ! -s conftest.err
24540 } && test -s conftest$ac_exeext &&
24541 $as_test_x conftest$ac_exeext; then
24542 eval "$as_ac_var=yes"
24543 else
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24546
24547 eval "$as_ac_var=no"
24548 fi
24549
24550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24551 conftest$ac_exeext conftest.$ac_ext
24552 fi
24553 ac_res=`eval echo '${'$as_ac_var'}'`
24554 { echo "$as_me:$LINENO: result: $ac_res" >&5
24555 echo "${ECHO_T}$ac_res" >&6; }
24556 if test `eval echo '${'$as_ac_var'}'` = yes; then
24557 cat >>confdefs.h <<_ACEOF
24558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24559 _ACEOF
24560 have_floor=1
24561 fi
24562 done
24563
24564 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24565 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24566 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24567 { echo "$as_me:$LINENO: result: yes" >&5
24568 echo "${ECHO_T}yes" >&6; }
24569 else
24570 { echo "$as_me:$LINENO: result: no" >&5
24571 echo "${ECHO_T}no" >&6; }
24572 LIBS="$LIBS -lm"
24573 # use different functions to avoid configure caching
24574 have_sin=0
24575 have_ceil=0
24576
24577 for ac_func in sin
24578 do
24579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24583 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 else
24585 cat >conftest.$ac_ext <<_ACEOF
24586 /* confdefs.h. */
24587 _ACEOF
24588 cat confdefs.h >>conftest.$ac_ext
24589 cat >>conftest.$ac_ext <<_ACEOF
24590 /* end confdefs.h. */
24591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24593 #define $ac_func innocuous_$ac_func
24594
24595 /* System header to define __stub macros and hopefully few prototypes,
24596 which can conflict with char $ac_func (); below.
24597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24598 <limits.h> exists even on freestanding compilers. */
24599
24600 #ifdef __STDC__
24601 # include <limits.h>
24602 #else
24603 # include <assert.h>
24604 #endif
24605
24606 #undef $ac_func
24607
24608 /* Override any GCC internal prototype to avoid an error.
24609 Use char because int might match the return type of a GCC
24610 builtin and then its argument prototype would still apply. */
24611 #ifdef __cplusplus
24612 extern "C"
24613 #endif
24614 char $ac_func ();
24615 /* The GNU C library defines this for functions which it implements
24616 to always fail with ENOSYS. Some functions are actually named
24617 something starting with __ and the normal name is an alias. */
24618 #if defined __stub_$ac_func || defined __stub___$ac_func
24619 choke me
24620 #endif
24621
24622 int
24623 main ()
24624 {
24625 return $ac_func ();
24626 ;
24627 return 0;
24628 }
24629 _ACEOF
24630 rm -f conftest.$ac_objext conftest$ac_exeext
24631 if { (ac_try="$ac_link"
24632 case "(($ac_try" in
24633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24634 *) ac_try_echo=$ac_try;;
24635 esac
24636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24637 (eval "$ac_link") 2>conftest.er1
24638 ac_status=$?
24639 grep -v '^ *+' conftest.er1 >conftest.err
24640 rm -f conftest.er1
24641 cat conftest.err >&5
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); } && {
24644 test -z "$ac_c_werror_flag" ||
24645 test ! -s conftest.err
24646 } && test -s conftest$ac_exeext &&
24647 $as_test_x conftest$ac_exeext; then
24648 eval "$as_ac_var=yes"
24649 else
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.$ac_ext >&5
24652
24653 eval "$as_ac_var=no"
24654 fi
24655
24656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24657 conftest$ac_exeext conftest.$ac_ext
24658 fi
24659 ac_res=`eval echo '${'$as_ac_var'}'`
24660 { echo "$as_me:$LINENO: result: $ac_res" >&5
24661 echo "${ECHO_T}$ac_res" >&6; }
24662 if test `eval echo '${'$as_ac_var'}'` = yes; then
24663 cat >>confdefs.h <<_ACEOF
24664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24665 _ACEOF
24666 have_sin=1
24667 fi
24668 done
24669
24670
24671 for ac_func in ceil
24672 do
24673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24674 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24676 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 else
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h. */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24687 #define $ac_func innocuous_$ac_func
24688
24689 /* System header to define __stub macros and hopefully few prototypes,
24690 which can conflict with char $ac_func (); below.
24691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24692 <limits.h> exists even on freestanding compilers. */
24693
24694 #ifdef __STDC__
24695 # include <limits.h>
24696 #else
24697 # include <assert.h>
24698 #endif
24699
24700 #undef $ac_func
24701
24702 /* Override any GCC internal prototype to avoid an error.
24703 Use char because int might match the return type of a GCC
24704 builtin and then its argument prototype would still apply. */
24705 #ifdef __cplusplus
24706 extern "C"
24707 #endif
24708 char $ac_func ();
24709 /* The GNU C library defines this for functions which it implements
24710 to always fail with ENOSYS. Some functions are actually named
24711 something starting with __ and the normal name is an alias. */
24712 #if defined __stub_$ac_func || defined __stub___$ac_func
24713 choke me
24714 #endif
24715
24716 int
24717 main ()
24718 {
24719 return $ac_func ();
24720 ;
24721 return 0;
24722 }
24723 _ACEOF
24724 rm -f conftest.$ac_objext conftest$ac_exeext
24725 if { (ac_try="$ac_link"
24726 case "(($ac_try" in
24727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728 *) ac_try_echo=$ac_try;;
24729 esac
24730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731 (eval "$ac_link") 2>conftest.er1
24732 ac_status=$?
24733 grep -v '^ *+' conftest.er1 >conftest.err
24734 rm -f conftest.er1
24735 cat conftest.err >&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); } && {
24738 test -z "$ac_c_werror_flag" ||
24739 test ! -s conftest.err
24740 } && test -s conftest$ac_exeext &&
24741 $as_test_x conftest$ac_exeext; then
24742 eval "$as_ac_var=yes"
24743 else
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24746
24747 eval "$as_ac_var=no"
24748 fi
24749
24750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24751 conftest$ac_exeext conftest.$ac_ext
24752 fi
24753 ac_res=`eval echo '${'$as_ac_var'}'`
24754 { echo "$as_me:$LINENO: result: $ac_res" >&5
24755 echo "${ECHO_T}$ac_res" >&6; }
24756 if test `eval echo '${'$as_ac_var'}'` = yes; then
24757 cat >>confdefs.h <<_ACEOF
24758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24759 _ACEOF
24760 have_ceil=1
24761 fi
24762 done
24763
24764 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24765 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24766 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24767 { echo "$as_me:$LINENO: result: yes" >&5
24768 echo "${ECHO_T}yes" >&6; }
24769 else
24770 { echo "$as_me:$LINENO: result: no" >&5
24771 echo "${ECHO_T}no" >&6; }
24772 # not sure we should warn the user, crash, etc.
24773 fi
24774 fi
24775
24776 ac_ext=cpp
24777 ac_cpp='$CXXCPP $CPPFLAGS'
24778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24781
24782 if test "wxUSE_UNICODE" = "yes"; then
24783
24784 for wx_func in wcstoull
24785 do
24786 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24787 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24788 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24789 echo $ECHO_N "(cached) $ECHO_C" >&6
24790 else
24791
24792 cat >conftest.$ac_ext <<_ACEOF
24793
24794 /* confdefs.h. */
24795 _ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799
24800
24801 $ac_includes_default
24802
24803 int
24804 main ()
24805 {
24806
24807 #ifndef $wx_func
24808 &$wx_func;
24809 #endif
24810
24811
24812 ;
24813 return 0;
24814 }
24815
24816 _ACEOF
24817 rm -f conftest.$ac_objext conftest$ac_exeext
24818 if { (ac_try="$ac_link"
24819 case "(($ac_try" in
24820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24821 *) ac_try_echo=$ac_try;;
24822 esac
24823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24824 (eval "$ac_link") 2>conftest.er1
24825 ac_status=$?
24826 grep -v '^ *+' conftest.er1 >conftest.err
24827 rm -f conftest.er1
24828 cat conftest.err >&5
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); } && {
24831 test -z "$ac_cxx_werror_flag" ||
24832 test ! -s conftest.err
24833 } && test -s conftest$ac_exeext &&
24834 $as_test_x conftest$ac_exeext; then
24835 eval wx_cv_func_$wx_func=yes
24836 else
24837 echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.$ac_ext >&5
24839
24840 eval wx_cv_func_$wx_func=no
24841 fi
24842
24843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24844 conftest$ac_exeext conftest.$ac_ext
24845
24846 fi
24847 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24848 { echo "$as_me:$LINENO: result: $ac_res" >&5
24849 echo "${ECHO_T}$ac_res" >&6; }
24850
24851 if eval test \$wx_cv_func_$wx_func = yes
24852 then
24853 cat >>confdefs.h <<_ACEOF
24854 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24855 _ACEOF
24856
24857
24858 else
24859 :
24860
24861 fi
24862 done
24863
24864 else
24865
24866 for wx_func in strtoull
24867 do
24868 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24869 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24870 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24872 else
24873
24874 cat >conftest.$ac_ext <<_ACEOF
24875
24876 /* confdefs.h. */
24877 _ACEOF
24878 cat confdefs.h >>conftest.$ac_ext
24879 cat >>conftest.$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24881
24882
24883 $ac_includes_default
24884
24885 int
24886 main ()
24887 {
24888
24889 #ifndef $wx_func
24890 &$wx_func;
24891 #endif
24892
24893
24894 ;
24895 return 0;
24896 }
24897
24898 _ACEOF
24899 rm -f conftest.$ac_objext conftest$ac_exeext
24900 if { (ac_try="$ac_link"
24901 case "(($ac_try" in
24902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24903 *) ac_try_echo=$ac_try;;
24904 esac
24905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24906 (eval "$ac_link") 2>conftest.er1
24907 ac_status=$?
24908 grep -v '^ *+' conftest.er1 >conftest.err
24909 rm -f conftest.er1
24910 cat conftest.err >&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); } && {
24913 test -z "$ac_cxx_werror_flag" ||
24914 test ! -s conftest.err
24915 } && test -s conftest$ac_exeext &&
24916 $as_test_x conftest$ac_exeext; then
24917 eval wx_cv_func_$wx_func=yes
24918 else
24919 echo "$as_me: failed program was:" >&5
24920 sed 's/^/| /' conftest.$ac_ext >&5
24921
24922 eval wx_cv_func_$wx_func=no
24923 fi
24924
24925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24926 conftest$ac_exeext conftest.$ac_ext
24927
24928 fi
24929 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24930 { echo "$as_me:$LINENO: result: $ac_res" >&5
24931 echo "${ECHO_T}$ac_res" >&6; }
24932
24933 if eval test \$wx_cv_func_$wx_func = yes
24934 then
24935 cat >>confdefs.h <<_ACEOF
24936 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24937 _ACEOF
24938
24939
24940 else
24941 :
24942
24943 fi
24944 done
24945
24946 fi
24947 ac_ext=c
24948 ac_cpp='$CPP $CPPFLAGS'
24949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24952
24953
24954
24955
24956 if test "$wxUSE_REGEX" != "no"; then
24957 cat >>confdefs.h <<\_ACEOF
24958 #define wxUSE_REGEX 1
24959 _ACEOF
24960
24961
24962 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24963 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24964 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24965 wxUSE_REGEX=builtin
24966 fi
24967
24968 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24969 { echo "$as_me:$LINENO: checking for regex.h" >&5
24970 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24971 if test "${ac_cv_header_regex_h+set}" = set; then
24972 echo $ECHO_N "(cached) $ECHO_C" >&6
24973 else
24974 cat >conftest.$ac_ext <<_ACEOF
24975 /* confdefs.h. */
24976 _ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24980
24981
24982 #include <regex.h>
24983 _ACEOF
24984 rm -f conftest.$ac_objext
24985 if { (ac_try="$ac_compile"
24986 case "(($ac_try" in
24987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24988 *) ac_try_echo=$ac_try;;
24989 esac
24990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24991 (eval "$ac_compile") 2>conftest.er1
24992 ac_status=$?
24993 grep -v '^ *+' conftest.er1 >conftest.err
24994 rm -f conftest.er1
24995 cat conftest.err >&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); } && {
24998 test -z "$ac_c_werror_flag" ||
24999 test ! -s conftest.err
25000 } && test -s conftest.$ac_objext; then
25001 ac_cv_header_regex_h=yes
25002 else
25003 echo "$as_me: failed program was:" >&5
25004 sed 's/^/| /' conftest.$ac_ext >&5
25005
25006 ac_cv_header_regex_h=no
25007 fi
25008
25009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25010 fi
25011 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25012 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25013 if test $ac_cv_header_regex_h = yes; then
25014
25015
25016 for ac_func in regcomp re_search
25017 do
25018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25019 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25021 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25022 echo $ECHO_N "(cached) $ECHO_C" >&6
25023 else
25024 cat >conftest.$ac_ext <<_ACEOF
25025 /* confdefs.h. */
25026 _ACEOF
25027 cat confdefs.h >>conftest.$ac_ext
25028 cat >>conftest.$ac_ext <<_ACEOF
25029 /* end confdefs.h. */
25030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25032 #define $ac_func innocuous_$ac_func
25033
25034 /* System header to define __stub macros and hopefully few prototypes,
25035 which can conflict with char $ac_func (); below.
25036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25037 <limits.h> exists even on freestanding compilers. */
25038
25039 #ifdef __STDC__
25040 # include <limits.h>
25041 #else
25042 # include <assert.h>
25043 #endif
25044
25045 #undef $ac_func
25046
25047 /* Override any GCC internal prototype to avoid an error.
25048 Use char because int might match the return type of a GCC
25049 builtin and then its argument prototype would still apply. */
25050 #ifdef __cplusplus
25051 extern "C"
25052 #endif
25053 char $ac_func ();
25054 /* The GNU C library defines this for functions which it implements
25055 to always fail with ENOSYS. Some functions are actually named
25056 something starting with __ and the normal name is an alias. */
25057 #if defined __stub_$ac_func || defined __stub___$ac_func
25058 choke me
25059 #endif
25060
25061 int
25062 main ()
25063 {
25064 return $ac_func ();
25065 ;
25066 return 0;
25067 }
25068 _ACEOF
25069 rm -f conftest.$ac_objext conftest$ac_exeext
25070 if { (ac_try="$ac_link"
25071 case "(($ac_try" in
25072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25073 *) ac_try_echo=$ac_try;;
25074 esac
25075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25076 (eval "$ac_link") 2>conftest.er1
25077 ac_status=$?
25078 grep -v '^ *+' conftest.er1 >conftest.err
25079 rm -f conftest.er1
25080 cat conftest.err >&5
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } && {
25083 test -z "$ac_c_werror_flag" ||
25084 test ! -s conftest.err
25085 } && test -s conftest$ac_exeext &&
25086 $as_test_x conftest$ac_exeext; then
25087 eval "$as_ac_var=yes"
25088 else
25089 echo "$as_me: failed program was:" >&5
25090 sed 's/^/| /' conftest.$ac_ext >&5
25091
25092 eval "$as_ac_var=no"
25093 fi
25094
25095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25096 conftest$ac_exeext conftest.$ac_ext
25097 fi
25098 ac_res=`eval echo '${'$as_ac_var'}'`
25099 { echo "$as_me:$LINENO: result: $ac_res" >&5
25100 echo "${ECHO_T}$ac_res" >&6; }
25101 if test `eval echo '${'$as_ac_var'}'` = yes; then
25102 cat >>confdefs.h <<_ACEOF
25103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25104 _ACEOF
25105
25106 fi
25107 done
25108
25109 fi
25110
25111
25112
25113 if test "x$ac_cv_func_regcomp" != "xyes"; then
25114 if test "$wxUSE_REGEX" = "sys" ; then
25115 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25116 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25117 { (exit 1); exit 1; }; }
25118 else
25119 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25120 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25121 wxUSE_REGEX=builtin
25122 fi
25123 else
25124 wxUSE_REGEX=sys
25125 cat >>confdefs.h <<\_ACEOF
25126 #define WX_NO_REGEX_ADVANCED 1
25127 _ACEOF
25128
25129 fi
25130 fi
25131 fi
25132
25133
25134 ZLIB_LINK=
25135 if test "$wxUSE_ZLIB" != "no" ; then
25136 cat >>confdefs.h <<\_ACEOF
25137 #define wxUSE_ZLIB 1
25138 _ACEOF
25139
25140
25141 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25142 if test "$USE_DARWIN" = 1; then
25143 system_zlib_h_ok="yes"
25144 else
25145 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25146 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25147 if test "${ac_cv_header_zlib_h+set}" = set; then
25148 echo $ECHO_N "(cached) $ECHO_C" >&6
25149 else
25150 if test "$cross_compiling" = yes; then
25151 unset ac_cv_header_zlib_h
25152
25153 else
25154 cat >conftest.$ac_ext <<_ACEOF
25155 /* confdefs.h. */
25156 _ACEOF
25157 cat confdefs.h >>conftest.$ac_ext
25158 cat >>conftest.$ac_ext <<_ACEOF
25159 /* end confdefs.h. */
25160
25161 #include <zlib.h>
25162 #include <stdio.h>
25163
25164 int main()
25165 {
25166 FILE *f=fopen("conftestval", "w");
25167 if (!f) exit(1);
25168 fprintf(f, "%s",
25169 ZLIB_VERSION[0] == '1' &&
25170 (ZLIB_VERSION[2] > '1' ||
25171 (ZLIB_VERSION[2] == '1' &&
25172 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25173 exit(0);
25174 }
25175
25176 _ACEOF
25177 rm -f conftest$ac_exeext
25178 if { (ac_try="$ac_link"
25179 case "(($ac_try" in
25180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25181 *) ac_try_echo=$ac_try;;
25182 esac
25183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25184 (eval "$ac_link") 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25188 { (case "(($ac_try" in
25189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25190 *) ac_try_echo=$ac_try;;
25191 esac
25192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25193 (eval "$ac_try") 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 ac_cv_header_zlib_h=`cat conftestval`
25198 else
25199 echo "$as_me: program exited with status $ac_status" >&5
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.$ac_ext >&5
25202
25203 ( exit $ac_status )
25204 ac_cv_header_zlib_h=no
25205 fi
25206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25207 fi
25208
25209
25210
25211 fi
25212 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25213 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25214 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25215 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25216 if test "${ac_cv_header_zlib_h+set}" = set; then
25217 echo $ECHO_N "(cached) $ECHO_C" >&6
25218 else
25219 cat >conftest.$ac_ext <<_ACEOF
25220 /* confdefs.h. */
25221 _ACEOF
25222 cat confdefs.h >>conftest.$ac_ext
25223 cat >>conftest.$ac_ext <<_ACEOF
25224 /* end confdefs.h. */
25225
25226
25227 #include <zlib.h>
25228 _ACEOF
25229 rm -f conftest.$ac_objext
25230 if { (ac_try="$ac_compile"
25231 case "(($ac_try" in
25232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25233 *) ac_try_echo=$ac_try;;
25234 esac
25235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25236 (eval "$ac_compile") 2>conftest.er1
25237 ac_status=$?
25238 grep -v '^ *+' conftest.er1 >conftest.err
25239 rm -f conftest.er1
25240 cat conftest.err >&5
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); } && {
25243 test -z "$ac_c_werror_flag" ||
25244 test ! -s conftest.err
25245 } && test -s conftest.$ac_objext; then
25246 ac_cv_header_zlib_h=yes
25247 else
25248 echo "$as_me: failed program was:" >&5
25249 sed 's/^/| /' conftest.$ac_ext >&5
25250
25251 ac_cv_header_zlib_h=no
25252 fi
25253
25254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25255 fi
25256 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25257 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25258
25259
25260
25261 system_zlib_h_ok=$ac_cv_header_zlib_h
25262 fi
25263
25264 if test "$system_zlib_h_ok" = "yes"; then
25265 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25266 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25267 if test "${ac_cv_lib_z_deflate+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 else
25270 ac_check_lib_save_LIBS=$LIBS
25271 LIBS="-lz $LIBS"
25272 cat >conftest.$ac_ext <<_ACEOF
25273 /* confdefs.h. */
25274 _ACEOF
25275 cat confdefs.h >>conftest.$ac_ext
25276 cat >>conftest.$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25278
25279 /* Override any GCC internal prototype to avoid an error.
25280 Use char because int might match the return type of a GCC
25281 builtin and then its argument prototype would still apply. */
25282 #ifdef __cplusplus
25283 extern "C"
25284 #endif
25285 char deflate ();
25286 int
25287 main ()
25288 {
25289 return deflate ();
25290 ;
25291 return 0;
25292 }
25293 _ACEOF
25294 rm -f conftest.$ac_objext conftest$ac_exeext
25295 if { (ac_try="$ac_link"
25296 case "(($ac_try" in
25297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25298 *) ac_try_echo=$ac_try;;
25299 esac
25300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25301 (eval "$ac_link") 2>conftest.er1
25302 ac_status=$?
25303 grep -v '^ *+' conftest.er1 >conftest.err
25304 rm -f conftest.er1
25305 cat conftest.err >&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } && {
25308 test -z "$ac_c_werror_flag" ||
25309 test ! -s conftest.err
25310 } && test -s conftest$ac_exeext &&
25311 $as_test_x conftest$ac_exeext; then
25312 ac_cv_lib_z_deflate=yes
25313 else
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25316
25317 ac_cv_lib_z_deflate=no
25318 fi
25319
25320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25321 conftest$ac_exeext conftest.$ac_ext
25322 LIBS=$ac_check_lib_save_LIBS
25323 fi
25324 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25325 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25326 if test $ac_cv_lib_z_deflate = yes; then
25327 ZLIB_LINK=" -lz"
25328 fi
25329
25330 fi
25331
25332 if test "x$ZLIB_LINK" = "x" ; then
25333 if test "$wxUSE_ZLIB" = "sys" ; then
25334 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25335 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25336 { (exit 1); exit 1; }; }
25337 else
25338 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25339 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25340 wxUSE_ZLIB=builtin
25341 fi
25342 else
25343 wxUSE_ZLIB=sys
25344 fi
25345 fi
25346 fi
25347
25348
25349 PNG_LINK=
25350 if test "$wxUSE_LIBPNG" != "no" ; then
25351 cat >>confdefs.h <<\_ACEOF
25352 #define wxUSE_LIBPNG 1
25353 _ACEOF
25354
25355
25356 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25357 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25358 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25359 wxUSE_LIBPNG=sys
25360 fi
25361
25362 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25363 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25364 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25365 wxUSE_LIBPNG=builtin
25366 fi
25367
25368 if test "$wxUSE_MGL" != 1 ; then
25369 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25370 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25371 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25372 if test "${ac_cv_header_png_h+set}" = set; then
25373 echo $ECHO_N "(cached) $ECHO_C" >&6
25374 else
25375 if test "$cross_compiling" = yes; then
25376 unset ac_cv_header_png_h
25377
25378 else
25379 cat >conftest.$ac_ext <<_ACEOF
25380 /* confdefs.h. */
25381 _ACEOF
25382 cat confdefs.h >>conftest.$ac_ext
25383 cat >>conftest.$ac_ext <<_ACEOF
25384 /* end confdefs.h. */
25385
25386 #include <png.h>
25387 #include <stdio.h>
25388
25389 int main()
25390 {
25391 FILE *f=fopen("conftestval", "w");
25392 if (!f) exit(1);
25393 fprintf(f, "%s",
25394 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25395 exit(0);
25396 }
25397
25398 _ACEOF
25399 rm -f conftest$ac_exeext
25400 if { (ac_try="$ac_link"
25401 case "(($ac_try" in
25402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25403 *) ac_try_echo=$ac_try;;
25404 esac
25405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25406 (eval "$ac_link") 2>&5
25407 ac_status=$?
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25410 { (case "(($ac_try" in
25411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25412 *) ac_try_echo=$ac_try;;
25413 esac
25414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25415 (eval "$ac_try") 2>&5
25416 ac_status=$?
25417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418 (exit $ac_status); }; }; then
25419 ac_cv_header_png_h=`cat conftestval`
25420 else
25421 echo "$as_me: program exited with status $ac_status" >&5
25422 echo "$as_me: failed program was:" >&5
25423 sed 's/^/| /' conftest.$ac_ext >&5
25424
25425 ( exit $ac_status )
25426 ac_cv_header_png_h=no
25427 fi
25428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25429 fi
25430
25431
25432
25433 fi
25434 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25435 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25436 { echo "$as_me:$LINENO: checking for png.h" >&5
25437 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25438 if test "${ac_cv_header_png_h+set}" = set; then
25439 echo $ECHO_N "(cached) $ECHO_C" >&6
25440 else
25441 cat >conftest.$ac_ext <<_ACEOF
25442 /* confdefs.h. */
25443 _ACEOF
25444 cat confdefs.h >>conftest.$ac_ext
25445 cat >>conftest.$ac_ext <<_ACEOF
25446 /* end confdefs.h. */
25447
25448
25449 #include <png.h>
25450 _ACEOF
25451 rm -f conftest.$ac_objext
25452 if { (ac_try="$ac_compile"
25453 case "(($ac_try" in
25454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25455 *) ac_try_echo=$ac_try;;
25456 esac
25457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25458 (eval "$ac_compile") 2>conftest.er1
25459 ac_status=$?
25460 grep -v '^ *+' conftest.er1 >conftest.err
25461 rm -f conftest.er1
25462 cat conftest.err >&5
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); } && {
25465 test -z "$ac_c_werror_flag" ||
25466 test ! -s conftest.err
25467 } && test -s conftest.$ac_objext; then
25468 ac_cv_header_png_h=yes
25469 else
25470 echo "$as_me: failed program was:" >&5
25471 sed 's/^/| /' conftest.$ac_ext >&5
25472
25473 ac_cv_header_png_h=no
25474 fi
25475
25476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25477 fi
25478 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25479 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25480
25481
25482
25483 if test "$ac_cv_header_png_h" = "yes"; then
25484 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25485 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25486 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25487 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 else
25489 ac_check_lib_save_LIBS=$LIBS
25490 LIBS="-lpng -lz -lm $LIBS"
25491 cat >conftest.$ac_ext <<_ACEOF
25492 /* confdefs.h. */
25493 _ACEOF
25494 cat confdefs.h >>conftest.$ac_ext
25495 cat >>conftest.$ac_ext <<_ACEOF
25496 /* end confdefs.h. */
25497
25498 /* Override any GCC internal prototype to avoid an error.
25499 Use char because int might match the return type of a GCC
25500 builtin and then its argument prototype would still apply. */
25501 #ifdef __cplusplus
25502 extern "C"
25503 #endif
25504 char png_check_sig ();
25505 int
25506 main ()
25507 {
25508 return png_check_sig ();
25509 ;
25510 return 0;
25511 }
25512 _ACEOF
25513 rm -f conftest.$ac_objext conftest$ac_exeext
25514 if { (ac_try="$ac_link"
25515 case "(($ac_try" in
25516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25518 esac
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_link") 2>conftest.er1
25521 ac_status=$?
25522 grep -v '^ *+' conftest.er1 >conftest.err
25523 rm -f conftest.er1
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } && {
25527 test -z "$ac_c_werror_flag" ||
25528 test ! -s conftest.err
25529 } && test -s conftest$ac_exeext &&
25530 $as_test_x conftest$ac_exeext; then
25531 ac_cv_lib_png_png_check_sig=yes
25532 else
25533 echo "$as_me: failed program was:" >&5
25534 sed 's/^/| /' conftest.$ac_ext >&5
25535
25536 ac_cv_lib_png_png_check_sig=no
25537 fi
25538
25539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25540 conftest$ac_exeext conftest.$ac_ext
25541 LIBS=$ac_check_lib_save_LIBS
25542 fi
25543 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25544 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25545 if test $ac_cv_lib_png_png_check_sig = yes; then
25546 PNG_LINK=" -lpng -lz"
25547 fi
25548
25549 fi
25550
25551 if test "x$PNG_LINK" = "x" ; then
25552 if test "$wxUSE_LIBPNG" = "sys" ; then
25553 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25554 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25555 { (exit 1); exit 1; }; }
25556 else
25557 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25558 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25559 wxUSE_LIBPNG=builtin
25560 fi
25561 else
25562 wxUSE_LIBPNG=sys
25563 fi
25564 fi
25565 fi
25566
25567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25568 fi
25569
25570
25571 JPEG_LINK=
25572 if test "$wxUSE_LIBJPEG" != "no" ; then
25573 cat >>confdefs.h <<\_ACEOF
25574 #define wxUSE_LIBJPEG 1
25575 _ACEOF
25576
25577
25578 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25579 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25580 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25581 wxUSE_LIBJPEG=sys
25582 fi
25583
25584 if test "$wxUSE_MGL" != 1 ; then
25585 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25586 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25587 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25588 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25590 else
25591 cat >conftest.$ac_ext <<_ACEOF
25592 /* confdefs.h. */
25593 _ACEOF
25594 cat confdefs.h >>conftest.$ac_ext
25595 cat >>conftest.$ac_ext <<_ACEOF
25596 /* end confdefs.h. */
25597
25598 #undef HAVE_STDLIB_H
25599 #include <stdio.h>
25600 #include <jpeglib.h>
25601
25602 int
25603 main ()
25604 {
25605
25606
25607 ;
25608 return 0;
25609 }
25610 _ACEOF
25611 rm -f conftest.$ac_objext
25612 if { (ac_try="$ac_compile"
25613 case "(($ac_try" in
25614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25615 *) ac_try_echo=$ac_try;;
25616 esac
25617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25618 (eval "$ac_compile") 2>conftest.er1
25619 ac_status=$?
25620 grep -v '^ *+' conftest.er1 >conftest.err
25621 rm -f conftest.er1
25622 cat conftest.err >&5
25623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25624 (exit $ac_status); } && {
25625 test -z "$ac_c_werror_flag" ||
25626 test ! -s conftest.err
25627 } && test -s conftest.$ac_objext; then
25628 ac_cv_header_jpeglib_h=yes
25629 else
25630 echo "$as_me: failed program was:" >&5
25631 sed 's/^/| /' conftest.$ac_ext >&5
25632
25633 ac_cv_header_jpeglib_h=no
25634
25635 fi
25636
25637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25638
25639 fi
25640
25641 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25642 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25643
25644 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25645 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25646 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25647 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25648 echo $ECHO_N "(cached) $ECHO_C" >&6
25649 else
25650 ac_check_lib_save_LIBS=$LIBS
25651 LIBS="-ljpeg $LIBS"
25652 cat >conftest.$ac_ext <<_ACEOF
25653 /* confdefs.h. */
25654 _ACEOF
25655 cat confdefs.h >>conftest.$ac_ext
25656 cat >>conftest.$ac_ext <<_ACEOF
25657 /* end confdefs.h. */
25658
25659 /* Override any GCC internal prototype to avoid an error.
25660 Use char because int might match the return type of a GCC
25661 builtin and then its argument prototype would still apply. */
25662 #ifdef __cplusplus
25663 extern "C"
25664 #endif
25665 char jpeg_read_header ();
25666 int
25667 main ()
25668 {
25669 return jpeg_read_header ();
25670 ;
25671 return 0;
25672 }
25673 _ACEOF
25674 rm -f conftest.$ac_objext conftest$ac_exeext
25675 if { (ac_try="$ac_link"
25676 case "(($ac_try" in
25677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25678 *) ac_try_echo=$ac_try;;
25679 esac
25680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25681 (eval "$ac_link") 2>conftest.er1
25682 ac_status=$?
25683 grep -v '^ *+' conftest.er1 >conftest.err
25684 rm -f conftest.er1
25685 cat conftest.err >&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); } && {
25688 test -z "$ac_c_werror_flag" ||
25689 test ! -s conftest.err
25690 } && test -s conftest$ac_exeext &&
25691 $as_test_x conftest$ac_exeext; then
25692 ac_cv_lib_jpeg_jpeg_read_header=yes
25693 else
25694 echo "$as_me: failed program was:" >&5
25695 sed 's/^/| /' conftest.$ac_ext >&5
25696
25697 ac_cv_lib_jpeg_jpeg_read_header=no
25698 fi
25699
25700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25701 conftest$ac_exeext conftest.$ac_ext
25702 LIBS=$ac_check_lib_save_LIBS
25703 fi
25704 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25705 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25706 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25707 JPEG_LINK=" -ljpeg"
25708 fi
25709
25710 fi
25711
25712 if test "x$JPEG_LINK" = "x" ; then
25713 if test "$wxUSE_LIBJPEG" = "sys" ; then
25714 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25715 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25716 { (exit 1); exit 1; }; }
25717 else
25718 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25719 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25720 wxUSE_LIBJPEG=builtin
25721 fi
25722 else
25723 wxUSE_LIBJPEG=sys
25724
25725 if test "$wxUSE_MSW" = 1; then
25726 { echo "$as_me:$LINENO: checking for boolean" >&5
25727 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25728 if test "${ac_cv_type_boolean+set}" = set; then
25729 echo $ECHO_N "(cached) $ECHO_C" >&6
25730 else
25731 cat >conftest.$ac_ext <<_ACEOF
25732 /* confdefs.h. */
25733 _ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737 #include <windows.h>
25738
25739 typedef boolean ac__type_new_;
25740 int
25741 main ()
25742 {
25743 if ((ac__type_new_ *) 0)
25744 return 0;
25745 if (sizeof (ac__type_new_))
25746 return 0;
25747 ;
25748 return 0;
25749 }
25750 _ACEOF
25751 rm -f conftest.$ac_objext
25752 if { (ac_try="$ac_compile"
25753 case "(($ac_try" in
25754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25755 *) ac_try_echo=$ac_try;;
25756 esac
25757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25758 (eval "$ac_compile") 2>conftest.er1
25759 ac_status=$?
25760 grep -v '^ *+' conftest.er1 >conftest.err
25761 rm -f conftest.er1
25762 cat conftest.err >&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } && {
25765 test -z "$ac_c_werror_flag" ||
25766 test ! -s conftest.err
25767 } && test -s conftest.$ac_objext; then
25768 ac_cv_type_boolean=yes
25769 else
25770 echo "$as_me: failed program was:" >&5
25771 sed 's/^/| /' conftest.$ac_ext >&5
25772
25773 ac_cv_type_boolean=no
25774 fi
25775
25776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25777 fi
25778 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25779 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25780 if test $ac_cv_type_boolean = yes; then
25781
25782 cat >>confdefs.h <<_ACEOF
25783 #define HAVE_BOOLEAN 1
25784 _ACEOF
25785
25786
25787 { echo "$as_me:$LINENO: checking for boolean" >&5
25788 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25789 if test "${ac_cv_type_boolean+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25791 else
25792 cat >conftest.$ac_ext <<_ACEOF
25793 /* confdefs.h. */
25794 _ACEOF
25795 cat confdefs.h >>conftest.$ac_ext
25796 cat >>conftest.$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25798
25799 #undef HAVE_BOOLEAN
25800 #include <stdio.h>
25801 #include <jpeglib.h>
25802
25803
25804 typedef boolean ac__type_new_;
25805 int
25806 main ()
25807 {
25808 if ((ac__type_new_ *) 0)
25809 return 0;
25810 if (sizeof (ac__type_new_))
25811 return 0;
25812 ;
25813 return 0;
25814 }
25815 _ACEOF
25816 rm -f conftest.$ac_objext
25817 if { (ac_try="$ac_compile"
25818 case "(($ac_try" in
25819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25820 *) ac_try_echo=$ac_try;;
25821 esac
25822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25823 (eval "$ac_compile") 2>conftest.er1
25824 ac_status=$?
25825 grep -v '^ *+' conftest.er1 >conftest.err
25826 rm -f conftest.er1
25827 cat conftest.err >&5
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); } && {
25830 test -z "$ac_c_werror_flag" ||
25831 test ! -s conftest.err
25832 } && test -s conftest.$ac_objext; then
25833 ac_cv_type_boolean=yes
25834 else
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.$ac_ext >&5
25837
25838 ac_cv_type_boolean=no
25839 fi
25840
25841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25842 fi
25843 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25844 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25845
25846 # The cast to long int works around a bug in the HP C Compiler
25847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25849 # This bug is HP SR number 8606223364.
25850 { echo "$as_me:$LINENO: checking size of boolean" >&5
25851 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25852 if test "${ac_cv_sizeof_boolean+set}" = set; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25854 else
25855 if test "$cross_compiling" = yes; then
25856 # Depending upon the size, compute the lo and hi bounds.
25857 cat >conftest.$ac_ext <<_ACEOF
25858 /* confdefs.h. */
25859 _ACEOF
25860 cat confdefs.h >>conftest.$ac_ext
25861 cat >>conftest.$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25863
25864 #undef HAVE_BOOLEAN
25865 #include <stdio.h>
25866 #include <jpeglib.h>
25867
25868
25869 typedef boolean ac__type_sizeof_;
25870 int
25871 main ()
25872 {
25873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25874 test_array [0] = 0
25875
25876 ;
25877 return 0;
25878 }
25879 _ACEOF
25880 rm -f conftest.$ac_objext
25881 if { (ac_try="$ac_compile"
25882 case "(($ac_try" in
25883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25884 *) ac_try_echo=$ac_try;;
25885 esac
25886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25887 (eval "$ac_compile") 2>conftest.er1
25888 ac_status=$?
25889 grep -v '^ *+' conftest.er1 >conftest.err
25890 rm -f conftest.er1
25891 cat conftest.err >&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } && {
25894 test -z "$ac_c_werror_flag" ||
25895 test ! -s conftest.err
25896 } && test -s conftest.$ac_objext; then
25897 ac_lo=0 ac_mid=0
25898 while :; do
25899 cat >conftest.$ac_ext <<_ACEOF
25900 /* confdefs.h. */
25901 _ACEOF
25902 cat confdefs.h >>conftest.$ac_ext
25903 cat >>conftest.$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25905
25906 #undef HAVE_BOOLEAN
25907 #include <stdio.h>
25908 #include <jpeglib.h>
25909
25910
25911 typedef boolean ac__type_sizeof_;
25912 int
25913 main ()
25914 {
25915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25916 test_array [0] = 0
25917
25918 ;
25919 return 0;
25920 }
25921 _ACEOF
25922 rm -f conftest.$ac_objext
25923 if { (ac_try="$ac_compile"
25924 case "(($ac_try" in
25925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25926 *) ac_try_echo=$ac_try;;
25927 esac
25928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25929 (eval "$ac_compile") 2>conftest.er1
25930 ac_status=$?
25931 grep -v '^ *+' conftest.er1 >conftest.err
25932 rm -f conftest.er1
25933 cat conftest.err >&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } && {
25936 test -z "$ac_c_werror_flag" ||
25937 test ! -s conftest.err
25938 } && test -s conftest.$ac_objext; then
25939 ac_hi=$ac_mid; break
25940 else
25941 echo "$as_me: failed program was:" >&5
25942 sed 's/^/| /' conftest.$ac_ext >&5
25943
25944 ac_lo=`expr $ac_mid + 1`
25945 if test $ac_lo -le $ac_mid; then
25946 ac_lo= ac_hi=
25947 break
25948 fi
25949 ac_mid=`expr 2 '*' $ac_mid + 1`
25950 fi
25951
25952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25953 done
25954 else
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25957
25958 cat >conftest.$ac_ext <<_ACEOF
25959 /* confdefs.h. */
25960 _ACEOF
25961 cat confdefs.h >>conftest.$ac_ext
25962 cat >>conftest.$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25964
25965 #undef HAVE_BOOLEAN
25966 #include <stdio.h>
25967 #include <jpeglib.h>
25968
25969
25970 typedef boolean ac__type_sizeof_;
25971 int
25972 main ()
25973 {
25974 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25975 test_array [0] = 0
25976
25977 ;
25978 return 0;
25979 }
25980 _ACEOF
25981 rm -f conftest.$ac_objext
25982 if { (ac_try="$ac_compile"
25983 case "(($ac_try" in
25984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25985 *) ac_try_echo=$ac_try;;
25986 esac
25987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25988 (eval "$ac_compile") 2>conftest.er1
25989 ac_status=$?
25990 grep -v '^ *+' conftest.er1 >conftest.err
25991 rm -f conftest.er1
25992 cat conftest.err >&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } && {
25995 test -z "$ac_c_werror_flag" ||
25996 test ! -s conftest.err
25997 } && test -s conftest.$ac_objext; then
25998 ac_hi=-1 ac_mid=-1
25999 while :; do
26000 cat >conftest.$ac_ext <<_ACEOF
26001 /* confdefs.h. */
26002 _ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006
26007 #undef HAVE_BOOLEAN
26008 #include <stdio.h>
26009 #include <jpeglib.h>
26010
26011
26012 typedef boolean ac__type_sizeof_;
26013 int
26014 main ()
26015 {
26016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26017 test_array [0] = 0
26018
26019 ;
26020 return 0;
26021 }
26022 _ACEOF
26023 rm -f conftest.$ac_objext
26024 if { (ac_try="$ac_compile"
26025 case "(($ac_try" in
26026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26027 *) ac_try_echo=$ac_try;;
26028 esac
26029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26030 (eval "$ac_compile") 2>conftest.er1
26031 ac_status=$?
26032 grep -v '^ *+' conftest.er1 >conftest.err
26033 rm -f conftest.er1
26034 cat conftest.err >&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } && {
26037 test -z "$ac_c_werror_flag" ||
26038 test ! -s conftest.err
26039 } && test -s conftest.$ac_objext; then
26040 ac_lo=$ac_mid; break
26041 else
26042 echo "$as_me: failed program was:" >&5
26043 sed 's/^/| /' conftest.$ac_ext >&5
26044
26045 ac_hi=`expr '(' $ac_mid ')' - 1`
26046 if test $ac_mid -le $ac_hi; then
26047 ac_lo= ac_hi=
26048 break
26049 fi
26050 ac_mid=`expr 2 '*' $ac_mid`
26051 fi
26052
26053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26054 done
26055 else
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26058
26059 ac_lo= ac_hi=
26060 fi
26061
26062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26063 fi
26064
26065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26066 # Binary search between lo and hi bounds.
26067 while test "x$ac_lo" != "x$ac_hi"; do
26068 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26069 cat >conftest.$ac_ext <<_ACEOF
26070 /* confdefs.h. */
26071 _ACEOF
26072 cat confdefs.h >>conftest.$ac_ext
26073 cat >>conftest.$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26075
26076 #undef HAVE_BOOLEAN
26077 #include <stdio.h>
26078 #include <jpeglib.h>
26079
26080
26081 typedef boolean ac__type_sizeof_;
26082 int
26083 main ()
26084 {
26085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26086 test_array [0] = 0
26087
26088 ;
26089 return 0;
26090 }
26091 _ACEOF
26092 rm -f conftest.$ac_objext
26093 if { (ac_try="$ac_compile"
26094 case "(($ac_try" in
26095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26096 *) ac_try_echo=$ac_try;;
26097 esac
26098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26099 (eval "$ac_compile") 2>conftest.er1
26100 ac_status=$?
26101 grep -v '^ *+' conftest.er1 >conftest.err
26102 rm -f conftest.er1
26103 cat conftest.err >&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } && {
26106 test -z "$ac_c_werror_flag" ||
26107 test ! -s conftest.err
26108 } && test -s conftest.$ac_objext; then
26109 ac_hi=$ac_mid
26110 else
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.$ac_ext >&5
26113
26114 ac_lo=`expr '(' $ac_mid ')' + 1`
26115 fi
26116
26117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26118 done
26119 case $ac_lo in
26120 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26121 '') if test "$ac_cv_type_boolean" = yes; then
26122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26123 See \`config.log' for more details." >&5
26124 echo "$as_me: error: cannot compute sizeof (boolean)
26125 See \`config.log' for more details." >&2;}
26126 { (exit 77); exit 77; }; }
26127 else
26128 ac_cv_sizeof_boolean=0
26129 fi ;;
26130 esac
26131 else
26132 cat >conftest.$ac_ext <<_ACEOF
26133 /* confdefs.h. */
26134 _ACEOF
26135 cat confdefs.h >>conftest.$ac_ext
26136 cat >>conftest.$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26138
26139 #undef HAVE_BOOLEAN
26140 #include <stdio.h>
26141 #include <jpeglib.h>
26142
26143
26144 typedef boolean ac__type_sizeof_;
26145 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26146 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26147 #include <stdio.h>
26148 #include <stdlib.h>
26149 int
26150 main ()
26151 {
26152
26153 FILE *f = fopen ("conftest.val", "w");
26154 if (! f)
26155 return 1;
26156 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26157 {
26158 long int i = longval ();
26159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26160 return 1;
26161 fprintf (f, "%ld\n", i);
26162 }
26163 else
26164 {
26165 unsigned long int i = ulongval ();
26166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26167 return 1;
26168 fprintf (f, "%lu\n", i);
26169 }
26170 return ferror (f) || fclose (f) != 0;
26171
26172 ;
26173 return 0;
26174 }
26175 _ACEOF
26176 rm -f conftest$ac_exeext
26177 if { (ac_try="$ac_link"
26178 case "(($ac_try" in
26179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26180 *) ac_try_echo=$ac_try;;
26181 esac
26182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26183 (eval "$ac_link") 2>&5
26184 ac_status=$?
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26187 { (case "(($ac_try" in
26188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26189 *) ac_try_echo=$ac_try;;
26190 esac
26191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26192 (eval "$ac_try") 2>&5
26193 ac_status=$?
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196 ac_cv_sizeof_boolean=`cat conftest.val`
26197 else
26198 echo "$as_me: program exited with status $ac_status" >&5
26199 echo "$as_me: failed program was:" >&5
26200 sed 's/^/| /' conftest.$ac_ext >&5
26201
26202 ( exit $ac_status )
26203 if test "$ac_cv_type_boolean" = yes; then
26204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26205 See \`config.log' for more details." >&5
26206 echo "$as_me: error: cannot compute sizeof (boolean)
26207 See \`config.log' for more details." >&2;}
26208 { (exit 77); exit 77; }; }
26209 else
26210 ac_cv_sizeof_boolean=0
26211 fi
26212 fi
26213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26214 fi
26215 rm -f conftest.val
26216 fi
26217 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26218 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26219
26220
26221
26222 cat >>confdefs.h <<_ACEOF
26223 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26224 _ACEOF
26225
26226
26227 cat >>confdefs.h <<_ACEOF
26228 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26229 _ACEOF
26230
26231
26232 fi
26233
26234 fi
26235 fi
26236 fi
26237 fi
26238 fi
26239
26240
26241 TIFF_LINK=
26242 TIFF_PREREQ_LINKS=-lm
26243 if test "$wxUSE_LIBTIFF" != "no" ; then
26244 cat >>confdefs.h <<\_ACEOF
26245 #define wxUSE_LIBTIFF 1
26246 _ACEOF
26247
26248
26249 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26250 if test "$wxUSE_LIBJPEG" = "sys"; then
26251 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26252 fi
26253 if test "$wxUSE_ZLIB" = "sys"; then
26254 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26255 fi
26256 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26257 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26258 if test "${ac_cv_header_tiffio_h+set}" = set; then
26259 echo $ECHO_N "(cached) $ECHO_C" >&6
26260 else
26261 cat >conftest.$ac_ext <<_ACEOF
26262 /* confdefs.h. */
26263 _ACEOF
26264 cat confdefs.h >>conftest.$ac_ext
26265 cat >>conftest.$ac_ext <<_ACEOF
26266 /* end confdefs.h. */
26267
26268
26269
26270 #include <tiffio.h>
26271 _ACEOF
26272 rm -f conftest.$ac_objext
26273 if { (ac_try="$ac_compile"
26274 case "(($ac_try" in
26275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26276 *) ac_try_echo=$ac_try;;
26277 esac
26278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26279 (eval "$ac_compile") 2>conftest.er1
26280 ac_status=$?
26281 grep -v '^ *+' conftest.er1 >conftest.err
26282 rm -f conftest.er1
26283 cat conftest.err >&5
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); } && {
26286 test -z "$ac_c_werror_flag" ||
26287 test ! -s conftest.err
26288 } && test -s conftest.$ac_objext; then
26289 ac_cv_header_tiffio_h=yes
26290 else
26291 echo "$as_me: failed program was:" >&5
26292 sed 's/^/| /' conftest.$ac_ext >&5
26293
26294 ac_cv_header_tiffio_h=no
26295 fi
26296
26297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26298 fi
26299 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26300 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26301 if test $ac_cv_header_tiffio_h = yes; then
26302
26303 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26304 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26305 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26307 else
26308 ac_check_lib_save_LIBS=$LIBS
26309 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26310 cat >conftest.$ac_ext <<_ACEOF
26311 /* confdefs.h. */
26312 _ACEOF
26313 cat confdefs.h >>conftest.$ac_ext
26314 cat >>conftest.$ac_ext <<_ACEOF
26315 /* end confdefs.h. */
26316
26317 /* Override any GCC internal prototype to avoid an error.
26318 Use char because int might match the return type of a GCC
26319 builtin and then its argument prototype would still apply. */
26320 #ifdef __cplusplus
26321 extern "C"
26322 #endif
26323 char TIFFError ();
26324 int
26325 main ()
26326 {
26327 return TIFFError ();
26328 ;
26329 return 0;
26330 }
26331 _ACEOF
26332 rm -f conftest.$ac_objext conftest$ac_exeext
26333 if { (ac_try="$ac_link"
26334 case "(($ac_try" in
26335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26336 *) ac_try_echo=$ac_try;;
26337 esac
26338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26339 (eval "$ac_link") 2>conftest.er1
26340 ac_status=$?
26341 grep -v '^ *+' conftest.er1 >conftest.err
26342 rm -f conftest.er1
26343 cat conftest.err >&5
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); } && {
26346 test -z "$ac_c_werror_flag" ||
26347 test ! -s conftest.err
26348 } && test -s conftest$ac_exeext &&
26349 $as_test_x conftest$ac_exeext; then
26350 ac_cv_lib_tiff_TIFFError=yes
26351 else
26352 echo "$as_me: failed program was:" >&5
26353 sed 's/^/| /' conftest.$ac_ext >&5
26354
26355 ac_cv_lib_tiff_TIFFError=no
26356 fi
26357
26358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26359 conftest$ac_exeext conftest.$ac_ext
26360 LIBS=$ac_check_lib_save_LIBS
26361 fi
26362 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26363 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26364 if test $ac_cv_lib_tiff_TIFFError = yes; then
26365 TIFF_LINK=" -ltiff"
26366 fi
26367
26368
26369 fi
26370
26371
26372
26373 if test "x$TIFF_LINK" = "x" ; then
26374 if test "$wxUSE_LIBTIFF" = "sys" ; then
26375 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26376 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26377 { (exit 1); exit 1; }; }
26378 else
26379 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26380 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26381 wxUSE_LIBTIFF=builtin
26382 fi
26383 else
26384 wxUSE_LIBTIFF=sys
26385 fi
26386 fi
26387 fi
26388
26389
26390 if test "$wxUSE_WCHAR_T" != "yes"; then
26391 if test "$wxUSE_EXPAT" != "no"; then
26392 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26393 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26394 wxUSE_EXPAT=no
26395 fi
26396 if test "$wxUSE_XML" != "no"; then
26397 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26398 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26399 wxUSE_XML=no
26400 fi
26401 fi
26402
26403 if test "$wxUSE_EXPAT" != "no"; then
26404 wxUSE_XML=yes
26405 cat >>confdefs.h <<\_ACEOF
26406 #define wxUSE_EXPAT 1
26407 _ACEOF
26408
26409 cat >>confdefs.h <<\_ACEOF
26410 #define wxUSE_XML 1
26411 _ACEOF
26412
26413
26414 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26415 { echo "$as_me:$LINENO: checking for expat.h" >&5
26416 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26417 if test "${ac_cv_header_expat_h+set}" = set; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26419 else
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
26428 #include <expat.h>
26429 _ACEOF
26430 rm -f conftest.$ac_objext
26431 if { (ac_try="$ac_compile"
26432 case "(($ac_try" in
26433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26434 *) ac_try_echo=$ac_try;;
26435 esac
26436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_compile") 2>conftest.er1
26438 ac_status=$?
26439 grep -v '^ *+' conftest.er1 >conftest.err
26440 rm -f conftest.er1
26441 cat conftest.err >&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && {
26444 test -z "$ac_c_werror_flag" ||
26445 test ! -s conftest.err
26446 } && test -s conftest.$ac_objext; then
26447 ac_cv_header_expat_h=yes
26448 else
26449 echo "$as_me: failed program was:" >&5
26450 sed 's/^/| /' conftest.$ac_ext >&5
26451
26452 ac_cv_header_expat_h=no
26453 fi
26454
26455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26456 fi
26457 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26458 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26459 if test $ac_cv_header_expat_h = yes; then
26460 found_expat_h=1
26461 fi
26462
26463
26464 if test "x$found_expat_h" = "x1"; then
26465 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26466 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26467 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26469 else
26470
26471 ac_ext=cpp
26472 ac_cpp='$CXXCPP $CPPFLAGS'
26473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26476
26477 cat >conftest.$ac_ext <<_ACEOF
26478 /* confdefs.h. */
26479 _ACEOF
26480 cat confdefs.h >>conftest.$ac_ext
26481 cat >>conftest.$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26483 #include <expat.h>
26484 int
26485 main ()
26486 {
26487
26488 ;
26489 return 0;
26490 }
26491 _ACEOF
26492 rm -f conftest.$ac_objext
26493 if { (ac_try="$ac_compile"
26494 case "(($ac_try" in
26495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26496 *) ac_try_echo=$ac_try;;
26497 esac
26498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26499 (eval "$ac_compile") 2>conftest.er1
26500 ac_status=$?
26501 grep -v '^ *+' conftest.er1 >conftest.err
26502 rm -f conftest.er1
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } && {
26506 test -z "$ac_cxx_werror_flag" ||
26507 test ! -s conftest.err
26508 } && test -s conftest.$ac_objext; then
26509 wx_cv_expat_is_not_broken=yes
26510 else
26511 echo "$as_me: failed program was:" >&5
26512 sed 's/^/| /' conftest.$ac_ext >&5
26513
26514 wx_cv_expat_is_not_broken=no
26515
26516 fi
26517
26518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26519 ac_ext=c
26520 ac_cpp='$CPP $CPPFLAGS'
26521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26524
26525
26526
26527 fi
26528 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26529 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26530 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26531 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26532 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26533 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26534 echo $ECHO_N "(cached) $ECHO_C" >&6
26535 else
26536 ac_check_lib_save_LIBS=$LIBS
26537 LIBS="-lexpat $LIBS"
26538 cat >conftest.$ac_ext <<_ACEOF
26539 /* confdefs.h. */
26540 _ACEOF
26541 cat confdefs.h >>conftest.$ac_ext
26542 cat >>conftest.$ac_ext <<_ACEOF
26543 /* end confdefs.h. */
26544
26545 /* Override any GCC internal prototype to avoid an error.
26546 Use char because int might match the return type of a GCC
26547 builtin and then its argument prototype would still apply. */
26548 #ifdef __cplusplus
26549 extern "C"
26550 #endif
26551 char XML_ParserCreate ();
26552 int
26553 main ()
26554 {
26555 return XML_ParserCreate ();
26556 ;
26557 return 0;
26558 }
26559 _ACEOF
26560 rm -f conftest.$ac_objext conftest$ac_exeext
26561 if { (ac_try="$ac_link"
26562 case "(($ac_try" in
26563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26564 *) ac_try_echo=$ac_try;;
26565 esac
26566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26567 (eval "$ac_link") 2>conftest.er1
26568 ac_status=$?
26569 grep -v '^ *+' conftest.er1 >conftest.err
26570 rm -f conftest.er1
26571 cat conftest.err >&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } && {
26574 test -z "$ac_c_werror_flag" ||
26575 test ! -s conftest.err
26576 } && test -s conftest$ac_exeext &&
26577 $as_test_x conftest$ac_exeext; then
26578 ac_cv_lib_expat_XML_ParserCreate=yes
26579 else
26580 echo "$as_me: failed program was:" >&5
26581 sed 's/^/| /' conftest.$ac_ext >&5
26582
26583 ac_cv_lib_expat_XML_ParserCreate=no
26584 fi
26585
26586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26587 conftest$ac_exeext conftest.$ac_ext
26588 LIBS=$ac_check_lib_save_LIBS
26589 fi
26590 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26591 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26592 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26593 EXPAT_LINK=" -lexpat"
26594 fi
26595
26596 fi
26597 fi
26598 if test "x$EXPAT_LINK" = "x" ; then
26599 if test "$wxUSE_EXPAT" = "sys" ; then
26600 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26601 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26602 { (exit 1); exit 1; }; }
26603 else
26604 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26605 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26606 wxUSE_EXPAT=builtin
26607 fi
26608 else
26609 wxUSE_EXPAT=sys
26610 fi
26611 fi
26612 if test "$wxUSE_EXPAT" = "builtin" ; then
26613 subdirs="$subdirs src/expat"
26614
26615 fi
26616 fi
26617
26618
26619
26620 if test "$wxUSE_LIBMSPACK" != "no"; then
26621 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26622 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26623 if test "${ac_cv_header_mspack_h+set}" = set; then
26624 echo $ECHO_N "(cached) $ECHO_C" >&6
26625 else
26626 cat >conftest.$ac_ext <<_ACEOF
26627 /* confdefs.h. */
26628 _ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26632
26633
26634 #include <mspack.h>
26635 _ACEOF
26636 rm -f conftest.$ac_objext
26637 if { (ac_try="$ac_compile"
26638 case "(($ac_try" in
26639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26640 *) ac_try_echo=$ac_try;;
26641 esac
26642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26643 (eval "$ac_compile") 2>conftest.er1
26644 ac_status=$?
26645 grep -v '^ *+' conftest.er1 >conftest.err
26646 rm -f conftest.er1
26647 cat conftest.err >&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); } && {
26650 test -z "$ac_c_werror_flag" ||
26651 test ! -s conftest.err
26652 } && test -s conftest.$ac_objext; then
26653 ac_cv_header_mspack_h=yes
26654 else
26655 echo "$as_me: failed program was:" >&5
26656 sed 's/^/| /' conftest.$ac_ext >&5
26657
26658 ac_cv_header_mspack_h=no
26659 fi
26660
26661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26662 fi
26663 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26664 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26665 if test $ac_cv_header_mspack_h = yes; then
26666 found_mspack_h=1
26667 fi
26668
26669
26670 if test "x$found_mspack_h" = "x1"; then
26671 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26672 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26673 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26674 echo $ECHO_N "(cached) $ECHO_C" >&6
26675 else
26676 ac_check_lib_save_LIBS=$LIBS
26677 LIBS="-lmspack $LIBS"
26678 cat >conftest.$ac_ext <<_ACEOF
26679 /* confdefs.h. */
26680 _ACEOF
26681 cat confdefs.h >>conftest.$ac_ext
26682 cat >>conftest.$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26684
26685 /* Override any GCC internal prototype to avoid an error.
26686 Use char because int might match the return type of a GCC
26687 builtin and then its argument prototype would still apply. */
26688 #ifdef __cplusplus
26689 extern "C"
26690 #endif
26691 char mspack_create_chm_decompressor ();
26692 int
26693 main ()
26694 {
26695 return mspack_create_chm_decompressor ();
26696 ;
26697 return 0;
26698 }
26699 _ACEOF
26700 rm -f conftest.$ac_objext conftest$ac_exeext
26701 if { (ac_try="$ac_link"
26702 case "(($ac_try" in
26703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26704 *) ac_try_echo=$ac_try;;
26705 esac
26706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26707 (eval "$ac_link") 2>conftest.er1
26708 ac_status=$?
26709 grep -v '^ *+' conftest.er1 >conftest.err
26710 rm -f conftest.er1
26711 cat conftest.err >&5
26712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26713 (exit $ac_status); } && {
26714 test -z "$ac_c_werror_flag" ||
26715 test ! -s conftest.err
26716 } && test -s conftest$ac_exeext &&
26717 $as_test_x conftest$ac_exeext; then
26718 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26719 else
26720 echo "$as_me: failed program was:" >&5
26721 sed 's/^/| /' conftest.$ac_ext >&5
26722
26723 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26724 fi
26725
26726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26727 conftest$ac_exeext conftest.$ac_ext
26728 LIBS=$ac_check_lib_save_LIBS
26729 fi
26730 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26731 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26732 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26733 MSPACK_LINK=" -lmspack"
26734 fi
26735
26736 fi
26737 if test "x$MSPACK_LINK" = "x" ; then
26738 wxUSE_LIBMSPACK=no
26739 fi
26740 fi
26741
26742 if test "$wxUSE_LIBMSPACK" != "no"; then
26743 cat >>confdefs.h <<\_ACEOF
26744 #define wxUSE_LIBMSPACK 1
26745 _ACEOF
26746
26747 fi
26748
26749
26750
26751 AFMINSTALL=
26752 WIN32INSTALL=
26753
26754 TOOLKIT=
26755 TOOLKIT_INCLUDE=
26756 WIDGET_SET=
26757
26758 if test "$USE_WIN32" = 1 ; then
26759 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26760 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26761 if test "${ac_cv_header_w32api_h+set}" = set; then
26762 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 else
26764 cat >conftest.$ac_ext <<_ACEOF
26765 /* confdefs.h. */
26766 _ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26770
26771
26772 #include <w32api.h>
26773 _ACEOF
26774 rm -f conftest.$ac_objext
26775 if { (ac_try="$ac_compile"
26776 case "(($ac_try" in
26777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26778 *) ac_try_echo=$ac_try;;
26779 esac
26780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26781 (eval "$ac_compile") 2>conftest.er1
26782 ac_status=$?
26783 grep -v '^ *+' conftest.er1 >conftest.err
26784 rm -f conftest.er1
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } && {
26788 test -z "$ac_c_werror_flag" ||
26789 test ! -s conftest.err
26790 } && test -s conftest.$ac_objext; then
26791 ac_cv_header_w32api_h=yes
26792 else
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.$ac_ext >&5
26795
26796 ac_cv_header_w32api_h=no
26797 fi
26798
26799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26800 fi
26801 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26802 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26803
26804
26805 { echo "$as_me:$LINENO: checking for windows.h" >&5
26806 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26807 if test "${ac_cv_header_windows_h+set}" = set; then
26808 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 else
26810 cat >conftest.$ac_ext <<_ACEOF
26811 /* confdefs.h. */
26812 _ACEOF
26813 cat confdefs.h >>conftest.$ac_ext
26814 cat >>conftest.$ac_ext <<_ACEOF
26815 /* end confdefs.h. */
26816
26817
26818 #include <windows.h>
26819 _ACEOF
26820 rm -f conftest.$ac_objext
26821 if { (ac_try="$ac_compile"
26822 case "(($ac_try" in
26823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26824 *) ac_try_echo=$ac_try;;
26825 esac
26826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26827 (eval "$ac_compile") 2>conftest.er1
26828 ac_status=$?
26829 grep -v '^ *+' conftest.er1 >conftest.err
26830 rm -f conftest.er1
26831 cat conftest.err >&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); } && {
26834 test -z "$ac_c_werror_flag" ||
26835 test ! -s conftest.err
26836 } && test -s conftest.$ac_objext; then
26837 ac_cv_header_windows_h=yes
26838 else
26839 echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.$ac_ext >&5
26841
26842 ac_cv_header_windows_h=no
26843 fi
26844
26845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26846 fi
26847 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26848 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26849 if test $ac_cv_header_windows_h = yes; then
26850 :
26851 else
26852
26853 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26854 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26855 { (exit 1); exit 1; }; }
26856
26857 fi
26858
26859
26860
26861 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26862
26863 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26864 LIBS="$LIBS -loleacc"
26865 fi
26866
26867 case "${host}" in
26868 *-*-cygwin* )
26869 LIBS="$LIBS -lkernel32 -luser32"
26870 esac
26871
26872 if test "$wxUSE_ODBC" = "sys" ; then
26873 wxUSE_ODBC = "yes"
26874 fi
26875 if test "$wxUSE_ODBC" = "yes" ; then
26876 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26877 cat >>confdefs.h <<\_ACEOF
26878 #define wxUSE_ODBC 1
26879 _ACEOF
26880
26881 fi
26882
26883 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26884 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26885
26886 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26887
26888 WIN32INSTALL=win32install
26889
26890 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26891 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26892 if test "${ac_cv_header_pbt_h+set}" = set; then
26893 echo $ECHO_N "(cached) $ECHO_C" >&6
26894 else
26895 cat >conftest.$ac_ext <<_ACEOF
26896 /* confdefs.h. */
26897 _ACEOF
26898 cat confdefs.h >>conftest.$ac_ext
26899 cat >>conftest.$ac_ext <<_ACEOF
26900 /* end confdefs.h. */
26901
26902
26903 #include <pbt.h>
26904 _ACEOF
26905 rm -f conftest.$ac_objext
26906 if { (ac_try="$ac_compile"
26907 case "(($ac_try" in
26908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26909 *) ac_try_echo=$ac_try;;
26910 esac
26911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26912 (eval "$ac_compile") 2>conftest.er1
26913 ac_status=$?
26914 grep -v '^ *+' conftest.er1 >conftest.err
26915 rm -f conftest.er1
26916 cat conftest.err >&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); } && {
26919 test -z "$ac_c_werror_flag" ||
26920 test ! -s conftest.err
26921 } && test -s conftest.$ac_objext; then
26922 ac_cv_header_pbt_h=yes
26923 else
26924 echo "$as_me: failed program was:" >&5
26925 sed 's/^/| /' conftest.$ac_ext >&5
26926
26927 ac_cv_header_pbt_h=no
26928 fi
26929
26930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26931 fi
26932 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26933 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26934 if test $ac_cv_header_pbt_h = yes; then
26935 :
26936 else
26937 cat >>confdefs.h <<\_ACEOF
26938 #define NEED_PBT_H 1
26939 _ACEOF
26940
26941 fi
26942
26943
26944 fi
26945
26946 if test "$wxUSE_GUI" = "yes"; then
26947 USE_GUI=1
26948
26949 GUI_TK_LIBRARY=
26950
26951 WXGTK12=
26952 WXGTK127=
26953 WXGTK20=
26954 WXGPE=
26955
26956 if test "$wxUSE_COCOA" = 1 ; then
26957 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26958 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26959 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26960 wxUSE_PRINTING_ARCHITECTURE=no
26961 fi
26962 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26963 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26964 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26965 wxUSE_DRAG_AND_DROP=no
26966 fi
26967 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26968 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26969 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26970 wxUSE_DRAGIMAGE=no
26971 fi
26972 fi
26973
26974 if test "$wxUSE_MSW" = 1 ; then
26975 TOOLKIT=MSW
26976 GUIDIST=MSW_DIST
26977
26978 case "${host}" in
26979 *-*-mingw32* )
26980 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26981 esac
26982 fi
26983
26984 if test "$wxUSE_GTK" = 1; then
26985 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26986 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26987
26988 gtk_version_cached=1
26989 if test "${wx_cv_lib_gtk+set}" = set; then
26990 echo $ECHO_N "(cached) $ECHO_C" >&6
26991 else
26992
26993 gtk_version_cached=0
26994 { echo "$as_me:$LINENO: result: " >&5
26995 echo "${ECHO_T}" >&6; }
26996
26997 GTK_MODULES=
26998 if test "$wxUSE_THREADS" = "yes"; then
26999 GTK_MODULES=gthread
27000 fi
27001
27002 wx_cv_lib_gtk=
27003 if test "x$wxGTK_VERSION" != "x1"
27004 then
27005 case "${host}" in
27006 *-*-solaris2* )
27007 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27008 enable_gtktest=no
27009 fi
27010 esac
27011
27012 # Check whether --enable-gtktest was given.
27013 if test "${enable_gtktest+set}" = set; then
27014 enableval=$enable_gtktest;
27015 else
27016 enable_gtktest=yes
27017 fi
27018
27019
27020 pkg_config_args=gtk+-2.0
27021 for module in . $GTK_MODULES
27022 do
27023 case "$module" in
27024 gthread)
27025 pkg_config_args="$pkg_config_args gthread-2.0"
27026 ;;
27027 esac
27028 done
27029
27030 no_gtk=""
27031
27032 # Extract the first word of "pkg-config", so it can be a program name with args.
27033 set dummy pkg-config; ac_word=$2
27034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27036 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27037 echo $ECHO_N "(cached) $ECHO_C" >&6
27038 else
27039 case $PKG_CONFIG in
27040 [\\/]* | ?:[\\/]*)
27041 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27042 ;;
27043 *)
27044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27045 for as_dir in $PATH
27046 do
27047 IFS=$as_save_IFS
27048 test -z "$as_dir" && as_dir=.
27049 for ac_exec_ext in '' $ac_executable_extensions; do
27050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27051 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27053 break 2
27054 fi
27055 done
27056 done
27057 IFS=$as_save_IFS
27058
27059 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27060 ;;
27061 esac
27062 fi
27063 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27064 if test -n "$PKG_CONFIG"; then
27065 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27066 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27067 else
27068 { echo "$as_me:$LINENO: result: no" >&5
27069 echo "${ECHO_T}no" >&6; }
27070 fi
27071
27072
27073
27074 if test x$PKG_CONFIG != xno ; then
27075 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27076 :
27077 else
27078 echo "*** pkg-config too old; version 0.7 or better required."
27079 no_gtk=yes
27080 PKG_CONFIG=no
27081 fi
27082 else
27083 no_gtk=yes
27084 fi
27085
27086 min_gtk_version=2.0.0
27087 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27088 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27089
27090 if test x$PKG_CONFIG != xno ; then
27091 ## don't try to run the test against uninstalled libtool libs
27092 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27093 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27094 enable_gtktest=no
27095 fi
27096
27097 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27098 :
27099 else
27100 no_gtk=yes
27101 fi
27102 fi
27103
27104 if test x"$no_gtk" = x ; then
27105 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27106 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27107 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27108 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27109 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27110 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27111 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27112 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27113 if test "x$enable_gtktest" = "xyes" ; then
27114 ac_save_CFLAGS="$CFLAGS"
27115 ac_save_LIBS="$LIBS"
27116 CFLAGS="$CFLAGS $GTK_CFLAGS"
27117 LIBS="$GTK_LIBS $LIBS"
27118 rm -f conf.gtktest
27119 if test "$cross_compiling" = yes; then
27120 echo $ac_n "cross compiling; assumed OK... $ac_c"
27121 else
27122 cat >conftest.$ac_ext <<_ACEOF
27123 /* confdefs.h. */
27124 _ACEOF
27125 cat confdefs.h >>conftest.$ac_ext
27126 cat >>conftest.$ac_ext <<_ACEOF
27127 /* end confdefs.h. */
27128
27129 #include <gtk/gtk.h>
27130 #include <stdio.h>
27131 #include <stdlib.h>
27132
27133 int
27134 main ()
27135 {
27136 int major, minor, micro;
27137 char *tmp_version;
27138
27139 system ("touch conf.gtktest");
27140
27141 /* HP/UX 9 (%@#!) writes to sscanf strings */
27142 tmp_version = g_strdup("$min_gtk_version");
27143 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27144 printf("%s, bad version string\n", "$min_gtk_version");
27145 exit(1);
27146 }
27147
27148 if ((gtk_major_version != $gtk_config_major_version) ||
27149 (gtk_minor_version != $gtk_config_minor_version) ||
27150 (gtk_micro_version != $gtk_config_micro_version))
27151 {
27152 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27153 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27154 gtk_major_version, gtk_minor_version, gtk_micro_version);
27155 printf ("*** was found! If pkg-config was correct, then it is best\n");
27156 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27157 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27158 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27159 printf("*** required on your system.\n");
27160 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27161 printf("*** to point to the correct configuration files\n");
27162 }
27163 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27164 (gtk_minor_version != GTK_MINOR_VERSION) ||
27165 (gtk_micro_version != GTK_MICRO_VERSION))
27166 {
27167 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27168 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27169 printf("*** library (version %d.%d.%d)\n",
27170 gtk_major_version, gtk_minor_version, gtk_micro_version);
27171 }
27172 else
27173 {
27174 if ((gtk_major_version > major) ||
27175 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27176 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27177 {
27178 return 0;
27179 }
27180 else
27181 {
27182 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27183 gtk_major_version, gtk_minor_version, gtk_micro_version);
27184 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27185 major, minor, micro);
27186 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27187 printf("***\n");
27188 printf("*** If you have already installed a sufficiently new version, this error\n");
27189 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27190 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27191 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27192 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27193 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27194 printf("*** so that the correct libraries are found at run-time))\n");
27195 }
27196 }
27197 return 1;
27198 }
27199
27200 _ACEOF
27201 rm -f conftest$ac_exeext
27202 if { (ac_try="$ac_link"
27203 case "(($ac_try" in
27204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27205 *) ac_try_echo=$ac_try;;
27206 esac
27207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27208 (eval "$ac_link") 2>&5
27209 ac_status=$?
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27212 { (case "(($ac_try" in
27213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27214 *) ac_try_echo=$ac_try;;
27215 esac
27216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27217 (eval "$ac_try") 2>&5
27218 ac_status=$?
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; }; then
27221 :
27222 else
27223 echo "$as_me: program exited with status $ac_status" >&5
27224 echo "$as_me: failed program was:" >&5
27225 sed 's/^/| /' conftest.$ac_ext >&5
27226
27227 ( exit $ac_status )
27228 no_gtk=yes
27229 fi
27230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27231 fi
27232
27233
27234 CFLAGS="$ac_save_CFLAGS"
27235 LIBS="$ac_save_LIBS"
27236 fi
27237 fi
27238 if test "x$no_gtk" = x ; then
27239 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27240 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27241 wx_cv_lib_gtk=2.0
27242 else
27243 { echo "$as_me:$LINENO: result: no" >&5
27244 echo "${ECHO_T}no" >&6; }
27245 if test "$PKG_CONFIG" = "no" ; then
27246 echo "*** A new enough version of pkg-config was not found."
27247 echo "*** See http://pkgconfig.sourceforge.net"
27248 else
27249 if test -f conf.gtktest ; then
27250 :
27251 else
27252 echo "*** Could not run GTK+ test program, checking why..."
27253 ac_save_CFLAGS="$CFLAGS"
27254 ac_save_LIBS="$LIBS"
27255 CFLAGS="$CFLAGS $GTK_CFLAGS"
27256 LIBS="$LIBS $GTK_LIBS"
27257 cat >conftest.$ac_ext <<_ACEOF
27258 /* confdefs.h. */
27259 _ACEOF
27260 cat confdefs.h >>conftest.$ac_ext
27261 cat >>conftest.$ac_ext <<_ACEOF
27262 /* end confdefs.h. */
27263
27264 #include <gtk/gtk.h>
27265 #include <stdio.h>
27266
27267 int
27268 main ()
27269 {
27270 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27271 ;
27272 return 0;
27273 }
27274 _ACEOF
27275 rm -f conftest.$ac_objext conftest$ac_exeext
27276 if { (ac_try="$ac_link"
27277 case "(($ac_try" in
27278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27279 *) ac_try_echo=$ac_try;;
27280 esac
27281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27282 (eval "$ac_link") 2>conftest.er1
27283 ac_status=$?
27284 grep -v '^ *+' conftest.er1 >conftest.err
27285 rm -f conftest.er1
27286 cat conftest.err >&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); } && {
27289 test -z "$ac_c_werror_flag" ||
27290 test ! -s conftest.err
27291 } && test -s conftest$ac_exeext &&
27292 $as_test_x conftest$ac_exeext; then
27293 echo "*** The test program compiled, but did not run. This usually means"
27294 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27295 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27296 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27297 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27298 echo "*** is required on your system"
27299 echo "***"
27300 echo "*** If you have an old version installed, it is best to remove it, although"
27301 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27302 else
27303 echo "$as_me: failed program was:" >&5
27304 sed 's/^/| /' conftest.$ac_ext >&5
27305
27306 echo "*** The test program failed to compile or link. See the file config.log for the"
27307 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27308 fi
27309
27310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27311 conftest$ac_exeext conftest.$ac_ext
27312 CFLAGS="$ac_save_CFLAGS"
27313 LIBS="$ac_save_LIBS"
27314 fi
27315 fi
27316 GTK_CFLAGS=""
27317 GTK_LIBS=""
27318 :
27319 fi
27320
27321
27322 rm -f conf.gtktest
27323
27324
27325 case "${host}" in
27326 *-*-solaris2* )
27327 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27328 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27329 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27330 fi
27331 if test "$wxUSE_SHARED" != "yes"; then
27332 GTK_LIBS="$GTK_LIBS -lX11"
27333 fi
27334 esac
27335 fi
27336
27337 if test -z "$wx_cv_lib_gtk"; then
27338 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27339
27340 # Check whether --with-gtk-prefix was given.
27341 if test "${with_gtk_prefix+set}" = set; then
27342 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27343 else
27344 gtk_config_prefix=""
27345 fi
27346
27347
27348 # Check whether --with-gtk-exec-prefix was given.
27349 if test "${with_gtk_exec_prefix+set}" = set; then
27350 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27351 else
27352 gtk_config_exec_prefix=""
27353 fi
27354
27355 # Check whether --enable-gtktest was given.
27356 if test "${enable_gtktest+set}" = set; then
27357 enableval=$enable_gtktest;
27358 else
27359 enable_gtktest=yes
27360 fi
27361
27362
27363 for module in . $GTK_MODULES
27364 do
27365 case "$module" in
27366 gthread)
27367 gtk_config_args="$gtk_config_args gthread"
27368 ;;
27369 esac
27370 done
27371
27372 if test x$gtk_config_exec_prefix != x ; then
27373 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27374 if test x${GTK_CONFIG+set} != xset ; then
27375 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27376 fi
27377 fi
27378 if test x$gtk_config_prefix != x ; then
27379 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27380 if test x${GTK_CONFIG+set} != xset ; then
27381 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27382 fi
27383 fi
27384
27385 # Extract the first word of "gtk-config", so it can be a program name with args.
27386 set dummy gtk-config; ac_word=$2
27387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27389 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27390 echo $ECHO_N "(cached) $ECHO_C" >&6
27391 else
27392 case $GTK_CONFIG in
27393 [\\/]* | ?:[\\/]*)
27394 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27395 ;;
27396 *)
27397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27398 for as_dir in $PATH
27399 do
27400 IFS=$as_save_IFS
27401 test -z "$as_dir" && as_dir=.
27402 for ac_exec_ext in '' $ac_executable_extensions; do
27403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27404 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27406 break 2
27407 fi
27408 done
27409 done
27410 IFS=$as_save_IFS
27411
27412 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27413 ;;
27414 esac
27415 fi
27416 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27417 if test -n "$GTK_CONFIG"; then
27418 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27419 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27420 else
27421 { echo "$as_me:$LINENO: result: no" >&5
27422 echo "${ECHO_T}no" >&6; }
27423 fi
27424
27425
27426 min_gtk_version=1.2.7
27427 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27428 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27429 no_gtk=""
27430 if test "$GTK_CONFIG" = "no" ; then
27431 no_gtk=yes
27432 else
27433 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27434 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27435 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27437 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27439 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27441 if test "x$enable_gtktest" = "xyes" ; then
27442 ac_save_CFLAGS="$CFLAGS"
27443 ac_save_LIBS="$LIBS"
27444 CFLAGS="$CFLAGS $GTK_CFLAGS"
27445 LIBS="$GTK_LIBS $LIBS"
27446 rm -f conf.gtktest
27447 if test "$cross_compiling" = yes; then
27448 echo $ac_n "cross compiling; assumed OK... $ac_c"
27449 else
27450 cat >conftest.$ac_ext <<_ACEOF
27451 /* confdefs.h. */
27452 _ACEOF
27453 cat confdefs.h >>conftest.$ac_ext
27454 cat >>conftest.$ac_ext <<_ACEOF
27455 /* end confdefs.h. */
27456
27457 #include <gtk/gtk.h>
27458 #include <stdio.h>
27459 #include <stdlib.h>
27460
27461 int
27462 main ()
27463 {
27464 int major, minor, micro;
27465 char *tmp_version;
27466
27467 system ("touch conf.gtktest");
27468
27469 /* HP/UX 9 (%@#!) writes to sscanf strings */
27470 tmp_version = g_strdup("$min_gtk_version");
27471 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27472 printf("%s, bad version string\n", "$min_gtk_version");
27473 exit(1);
27474 }
27475
27476 if ((gtk_major_version != $gtk_config_major_version) ||
27477 (gtk_minor_version != $gtk_config_minor_version) ||
27478 (gtk_micro_version != $gtk_config_micro_version))
27479 {
27480 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27481 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27482 gtk_major_version, gtk_minor_version, gtk_micro_version);
27483 printf ("*** was found! If gtk-config was correct, then it is best\n");
27484 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27485 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27486 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27487 printf("*** required on your system.\n");
27488 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27489 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27490 printf("*** before re-running configure\n");
27491 }
27492 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27493 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27494 (gtk_minor_version != GTK_MINOR_VERSION) ||
27495 (gtk_micro_version != GTK_MICRO_VERSION))
27496 {
27497 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27498 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27499 printf("*** library (version %d.%d.%d)\n",
27500 gtk_major_version, gtk_minor_version, gtk_micro_version);
27501 }
27502 #endif /* defined (GTK_MAJOR_VERSION) ... */
27503 else
27504 {
27505 if ((gtk_major_version > major) ||
27506 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27507 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27508 {
27509 return 0;
27510 }
27511 else
27512 {
27513 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27514 gtk_major_version, gtk_minor_version, gtk_micro_version);
27515 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27516 major, minor, micro);
27517 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27518 printf("***\n");
27519 printf("*** If you have already installed a sufficiently new version, this error\n");
27520 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27521 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27522 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27523 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27524 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27525 printf("*** so that the correct libraries are found at run-time))\n");
27526 }
27527 }
27528 return 1;
27529 }
27530
27531 _ACEOF
27532 rm -f conftest$ac_exeext
27533 if { (ac_try="$ac_link"
27534 case "(($ac_try" in
27535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27536 *) ac_try_echo=$ac_try;;
27537 esac
27538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27539 (eval "$ac_link") 2>&5
27540 ac_status=$?
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27543 { (case "(($ac_try" in
27544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27545 *) ac_try_echo=$ac_try;;
27546 esac
27547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27548 (eval "$ac_try") 2>&5
27549 ac_status=$?
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27552 :
27553 else
27554 echo "$as_me: program exited with status $ac_status" >&5
27555 echo "$as_me: failed program was:" >&5
27556 sed 's/^/| /' conftest.$ac_ext >&5
27557
27558 ( exit $ac_status )
27559 no_gtk=yes
27560 fi
27561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27562 fi
27563
27564
27565 CFLAGS="$ac_save_CFLAGS"
27566 LIBS="$ac_save_LIBS"
27567 fi
27568 fi
27569 if test "x$no_gtk" = x ; then
27570 { echo "$as_me:$LINENO: result: yes" >&5
27571 echo "${ECHO_T}yes" >&6; }
27572 wx_cv_lib_gtk=1.2.7
27573 else
27574 { echo "$as_me:$LINENO: result: no" >&5
27575 echo "${ECHO_T}no" >&6; }
27576 if test "$GTK_CONFIG" = "no" ; then
27577 echo "*** The gtk-config script installed by GTK could not be found"
27578 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27579 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27580 echo "*** full path to gtk-config."
27581 else
27582 if test -f conf.gtktest ; then
27583 :
27584 else
27585 echo "*** Could not run GTK test program, checking why..."
27586 CFLAGS="$CFLAGS $GTK_CFLAGS"
27587 LIBS="$LIBS $GTK_LIBS"
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594
27595 #include <gtk/gtk.h>
27596 #include <stdio.h>
27597
27598 int
27599 main ()
27600 {
27601 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27602 ;
27603 return 0;
27604 }
27605 _ACEOF
27606 rm -f conftest.$ac_objext conftest$ac_exeext
27607 if { (ac_try="$ac_link"
27608 case "(($ac_try" in
27609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27610 *) ac_try_echo=$ac_try;;
27611 esac
27612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27613 (eval "$ac_link") 2>conftest.er1
27614 ac_status=$?
27615 grep -v '^ *+' conftest.er1 >conftest.err
27616 rm -f conftest.er1
27617 cat conftest.err >&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); } && {
27620 test -z "$ac_c_werror_flag" ||
27621 test ! -s conftest.err
27622 } && test -s conftest$ac_exeext &&
27623 $as_test_x conftest$ac_exeext; then
27624 echo "*** The test program compiled, but did not run. This usually means"
27625 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27626 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27627 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27628 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27629 echo "*** is required on your system"
27630 echo "***"
27631 echo "*** If you have an old version installed, it is best to remove it, although"
27632 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27633 echo "***"
27634 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27635 echo "*** came with the system with the command"
27636 echo "***"
27637 echo "*** rpm --erase --nodeps gtk gtk-devel"
27638 else
27639 echo "$as_me: failed program was:" >&5
27640 sed 's/^/| /' conftest.$ac_ext >&5
27641
27642 echo "*** The test program failed to compile or link. See the file config.log for the"
27643 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27644 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27645 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27646 fi
27647
27648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27649 conftest$ac_exeext conftest.$ac_ext
27650 CFLAGS="$ac_save_CFLAGS"
27651 LIBS="$ac_save_LIBS"
27652 fi
27653 fi
27654 GTK_CFLAGS=""
27655 GTK_LIBS=""
27656 :
27657 fi
27658
27659
27660 rm -f conf.gtktest
27661
27662
27663 if test -z "$wx_cv_lib_gtk"; then
27664
27665 # Check whether --with-gtk-prefix was given.
27666 if test "${with_gtk_prefix+set}" = set; then
27667 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27668 else
27669 gtk_config_prefix=""
27670 fi
27671
27672
27673 # Check whether --with-gtk-exec-prefix was given.
27674 if test "${with_gtk_exec_prefix+set}" = set; then
27675 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27676 else
27677 gtk_config_exec_prefix=""
27678 fi
27679
27680 # Check whether --enable-gtktest was given.
27681 if test "${enable_gtktest+set}" = set; then
27682 enableval=$enable_gtktest;
27683 else
27684 enable_gtktest=yes
27685 fi
27686
27687
27688 for module in . $GTK_MODULES
27689 do
27690 case "$module" in
27691 gthread)
27692 gtk_config_args="$gtk_config_args gthread"
27693 ;;
27694 esac
27695 done
27696
27697 if test x$gtk_config_exec_prefix != x ; then
27698 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27699 if test x${GTK_CONFIG+set} != xset ; then
27700 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27701 fi
27702 fi
27703 if test x$gtk_config_prefix != x ; then
27704 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27705 if test x${GTK_CONFIG+set} != xset ; then
27706 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27707 fi
27708 fi
27709
27710 # Extract the first word of "gtk-config", so it can be a program name with args.
27711 set dummy gtk-config; ac_word=$2
27712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27714 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27715 echo $ECHO_N "(cached) $ECHO_C" >&6
27716 else
27717 case $GTK_CONFIG in
27718 [\\/]* | ?:[\\/]*)
27719 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27720 ;;
27721 *)
27722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27723 for as_dir in $PATH
27724 do
27725 IFS=$as_save_IFS
27726 test -z "$as_dir" && as_dir=.
27727 for ac_exec_ext in '' $ac_executable_extensions; do
27728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27729 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27731 break 2
27732 fi
27733 done
27734 done
27735 IFS=$as_save_IFS
27736
27737 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27738 ;;
27739 esac
27740 fi
27741 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27742 if test -n "$GTK_CONFIG"; then
27743 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27744 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27745 else
27746 { echo "$as_me:$LINENO: result: no" >&5
27747 echo "${ECHO_T}no" >&6; }
27748 fi
27749
27750
27751 min_gtk_version=1.2.3
27752 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27753 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27754 no_gtk=""
27755 if test "$GTK_CONFIG" = "no" ; then
27756 no_gtk=yes
27757 else
27758 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27759 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27760 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27762 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27764 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27766 if test "x$enable_gtktest" = "xyes" ; then
27767 ac_save_CFLAGS="$CFLAGS"
27768 ac_save_LIBS="$LIBS"
27769 CFLAGS="$CFLAGS $GTK_CFLAGS"
27770 LIBS="$GTK_LIBS $LIBS"
27771 rm -f conf.gtktest
27772 if test "$cross_compiling" = yes; then
27773 echo $ac_n "cross compiling; assumed OK... $ac_c"
27774 else
27775 cat >conftest.$ac_ext <<_ACEOF
27776 /* confdefs.h. */
27777 _ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27781
27782 #include <gtk/gtk.h>
27783 #include <stdio.h>
27784 #include <stdlib.h>
27785
27786 int
27787 main ()
27788 {
27789 int major, minor, micro;
27790 char *tmp_version;
27791
27792 system ("touch conf.gtktest");
27793
27794 /* HP/UX 9 (%@#!) writes to sscanf strings */
27795 tmp_version = g_strdup("$min_gtk_version");
27796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27797 printf("%s, bad version string\n", "$min_gtk_version");
27798 exit(1);
27799 }
27800
27801 if ((gtk_major_version != $gtk_config_major_version) ||
27802 (gtk_minor_version != $gtk_config_minor_version) ||
27803 (gtk_micro_version != $gtk_config_micro_version))
27804 {
27805 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27807 gtk_major_version, gtk_minor_version, gtk_micro_version);
27808 printf ("*** was found! If gtk-config was correct, then it is best\n");
27809 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27810 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27811 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27812 printf("*** required on your system.\n");
27813 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27814 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27815 printf("*** before re-running configure\n");
27816 }
27817 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27818 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27819 (gtk_minor_version != GTK_MINOR_VERSION) ||
27820 (gtk_micro_version != GTK_MICRO_VERSION))
27821 {
27822 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27823 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27824 printf("*** library (version %d.%d.%d)\n",
27825 gtk_major_version, gtk_minor_version, gtk_micro_version);
27826 }
27827 #endif /* defined (GTK_MAJOR_VERSION) ... */
27828 else
27829 {
27830 if ((gtk_major_version > major) ||
27831 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27832 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27833 {
27834 return 0;
27835 }
27836 else
27837 {
27838 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27839 gtk_major_version, gtk_minor_version, gtk_micro_version);
27840 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27841 major, minor, micro);
27842 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27843 printf("***\n");
27844 printf("*** If you have already installed a sufficiently new version, this error\n");
27845 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27846 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27847 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27848 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27849 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27850 printf("*** so that the correct libraries are found at run-time))\n");
27851 }
27852 }
27853 return 1;
27854 }
27855
27856 _ACEOF
27857 rm -f conftest$ac_exeext
27858 if { (ac_try="$ac_link"
27859 case "(($ac_try" in
27860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27861 *) ac_try_echo=$ac_try;;
27862 esac
27863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27864 (eval "$ac_link") 2>&5
27865 ac_status=$?
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27868 { (case "(($ac_try" in
27869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27870 *) ac_try_echo=$ac_try;;
27871 esac
27872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27873 (eval "$ac_try") 2>&5
27874 ac_status=$?
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); }; }; then
27877 :
27878 else
27879 echo "$as_me: program exited with status $ac_status" >&5
27880 echo "$as_me: failed program was:" >&5
27881 sed 's/^/| /' conftest.$ac_ext >&5
27882
27883 ( exit $ac_status )
27884 no_gtk=yes
27885 fi
27886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27887 fi
27888
27889
27890 CFLAGS="$ac_save_CFLAGS"
27891 LIBS="$ac_save_LIBS"
27892 fi
27893 fi
27894 if test "x$no_gtk" = x ; then
27895 { echo "$as_me:$LINENO: result: yes" >&5
27896 echo "${ECHO_T}yes" >&6; }
27897 wx_cv_lib_gtk=1.2.3
27898 else
27899 { echo "$as_me:$LINENO: result: no" >&5
27900 echo "${ECHO_T}no" >&6; }
27901 if test "$GTK_CONFIG" = "no" ; then
27902 echo "*** The gtk-config script installed by GTK could not be found"
27903 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27904 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27905 echo "*** full path to gtk-config."
27906 else
27907 if test -f conf.gtktest ; then
27908 :
27909 else
27910 echo "*** Could not run GTK test program, checking why..."
27911 CFLAGS="$CFLAGS $GTK_CFLAGS"
27912 LIBS="$LIBS $GTK_LIBS"
27913 cat >conftest.$ac_ext <<_ACEOF
27914 /* confdefs.h. */
27915 _ACEOF
27916 cat confdefs.h >>conftest.$ac_ext
27917 cat >>conftest.$ac_ext <<_ACEOF
27918 /* end confdefs.h. */
27919
27920 #include <gtk/gtk.h>
27921 #include <stdio.h>
27922
27923 int
27924 main ()
27925 {
27926 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27927 ;
27928 return 0;
27929 }
27930 _ACEOF
27931 rm -f conftest.$ac_objext conftest$ac_exeext
27932 if { (ac_try="$ac_link"
27933 case "(($ac_try" in
27934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27935 *) ac_try_echo=$ac_try;;
27936 esac
27937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27938 (eval "$ac_link") 2>conftest.er1
27939 ac_status=$?
27940 grep -v '^ *+' conftest.er1 >conftest.err
27941 rm -f conftest.er1
27942 cat conftest.err >&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); } && {
27945 test -z "$ac_c_werror_flag" ||
27946 test ! -s conftest.err
27947 } && test -s conftest$ac_exeext &&
27948 $as_test_x conftest$ac_exeext; then
27949 echo "*** The test program compiled, but did not run. This usually means"
27950 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27951 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27952 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27953 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27954 echo "*** is required on your system"
27955 echo "***"
27956 echo "*** If you have an old version installed, it is best to remove it, although"
27957 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27958 echo "***"
27959 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27960 echo "*** came with the system with the command"
27961 echo "***"
27962 echo "*** rpm --erase --nodeps gtk gtk-devel"
27963 else
27964 echo "$as_me: failed program was:" >&5
27965 sed 's/^/| /' conftest.$ac_ext >&5
27966
27967 echo "*** The test program failed to compile or link. See the file config.log for the"
27968 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27969 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27970 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27971 fi
27972
27973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27974 conftest$ac_exeext conftest.$ac_ext
27975 CFLAGS="$ac_save_CFLAGS"
27976 LIBS="$ac_save_LIBS"
27977 fi
27978 fi
27979 GTK_CFLAGS=""
27980 GTK_LIBS=""
27981 :
27982 fi
27983
27984
27985 rm -f conf.gtktest
27986
27987 fi
27988 fi
27989 fi
27990
27991 if test -z "$wx_cv_lib_gtk"; then
27992 wx_cv_lib_gtk=none
27993 else
27994 wx_cv_cflags_gtk=$GTK_CFLAGS
27995 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27996 fi
27997
27998
27999 fi
28000
28001
28002 if test "$gtk_version_cached" = 1; then
28003 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28004 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28005 fi
28006
28007 case "$wx_cv_lib_gtk" in
28008 2.0) WXGTK20=1
28009 TOOLKIT_VERSION=2
28010 ;;
28011 1.2.7) WXGTK127=1
28012 WXGTK12=1
28013 ;;
28014 1.2.3) WXGTK12=1
28015 ;;
28016 *) { { echo "$as_me:$LINENO: error:
28017 The development files for GTK+ were not found. For GTK+ 2, please
28018 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28019 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28020 and that the version is 1.2.3 or above. Also check that the
28021 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28022 --libs' are in the LD_LIBRARY_PATH or equivalent.
28023 " >&5
28024 echo "$as_me: error:
28025 The development files for GTK+ were not found. For GTK+ 2, please
28026 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28027 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28028 and that the version is 1.2.3 or above. Also check that the
28029 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28030 --libs' are in the LD_LIBRARY_PATH or equivalent.
28031 " >&2;}
28032 { (exit 1); exit 1; }; }
28033 ;;
28034 esac
28035
28036 if test "$WXGTK20" = 1; then
28037 save_CFLAGS="$CFLAGS"
28038 save_LIBS="$LIBS"
28039 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28040 LIBS="$LIBS $wx_cv_libs_gtk"
28041
28042 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28043 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28044 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28045 echo $ECHO_N "(cached) $ECHO_C" >&6
28046 else
28047 cat >conftest.$ac_ext <<_ACEOF
28048 /* confdefs.h. */
28049 _ACEOF
28050 cat confdefs.h >>conftest.$ac_ext
28051 cat >>conftest.$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28053 #include <gtk/gtk.h>
28054
28055 int
28056 main ()
28057 {
28058 #ifndef gtk_icon_size_lookup
28059 (void) gtk_icon_size_lookup;
28060 #endif
28061
28062 ;
28063 return 0;
28064 }
28065 _ACEOF
28066 rm -f conftest.$ac_objext
28067 if { (ac_try="$ac_compile"
28068 case "(($ac_try" in
28069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28070 *) ac_try_echo=$ac_try;;
28071 esac
28072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_compile") 2>conftest.er1
28074 ac_status=$?
28075 grep -v '^ *+' conftest.er1 >conftest.err
28076 rm -f conftest.er1
28077 cat conftest.err >&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); } && {
28080 test -z "$ac_c_werror_flag" ||
28081 test ! -s conftest.err
28082 } && test -s conftest.$ac_objext; then
28083 ac_cv_have_decl_gtk_icon_size_lookup=yes
28084 else
28085 echo "$as_me: failed program was:" >&5
28086 sed 's/^/| /' conftest.$ac_ext >&5
28087
28088 ac_cv_have_decl_gtk_icon_size_lookup=no
28089 fi
28090
28091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28092 fi
28093 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28094 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28095 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28096
28097 cat >>confdefs.h <<_ACEOF
28098 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28099 _ACEOF
28100
28101
28102 else
28103 cat >>confdefs.h <<_ACEOF
28104 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28105 _ACEOF
28106
28107 cat >>confdefs.h <<\_ACEOF
28108 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28109 _ACEOF
28110
28111 fi
28112
28113
28114
28115
28116 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28117 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28118 cat >conftest.$ac_ext <<_ACEOF
28119 /* confdefs.h. */
28120 _ACEOF
28121 cat confdefs.h >>conftest.$ac_ext
28122 cat >>conftest.$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28124
28125 #include <gtk/gtk.h>
28126
28127 int
28128 main ()
28129 {
28130
28131 #if !GTK_CHECK_VERSION(2,10,0)
28132 Not GTK+ 2.10
28133 #endif
28134
28135 ;
28136 return 0;
28137 }
28138 _ACEOF
28139 rm -f conftest.$ac_objext
28140 if { (ac_try="$ac_compile"
28141 case "(($ac_try" in
28142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28143 *) ac_try_echo=$ac_try;;
28144 esac
28145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28146 (eval "$ac_compile") 2>conftest.er1
28147 ac_status=$?
28148 grep -v '^ *+' conftest.er1 >conftest.err
28149 rm -f conftest.er1
28150 cat conftest.err >&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } && {
28153 test -z "$ac_c_werror_flag" ||
28154 test ! -s conftest.err
28155 } && test -s conftest.$ac_objext; then
28156
28157 cat >>confdefs.h <<\_ACEOF
28158 #define __WXGTK210__ 1
28159 _ACEOF
28160
28161 cat >>confdefs.h <<\_ACEOF
28162 #define __WXGTK26__ 1
28163 _ACEOF
28164
28165 cat >>confdefs.h <<\_ACEOF
28166 #define __WXGTK24__ 1
28167 _ACEOF
28168
28169 { echo "$as_me:$LINENO: result: yes" >&5
28170 echo "${ECHO_T}yes" >&6; }
28171 ac_wxgtk210=1
28172
28173 else
28174 echo "$as_me: failed program was:" >&5
28175 sed 's/^/| /' conftest.$ac_ext >&5
28176
28177
28178 { echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6; }
28180 ac_wxgtk210=0
28181
28182 fi
28183
28184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28185
28186 if test "$ac_wxgtk210" = 0; then
28187 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28188 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28189 cat >conftest.$ac_ext <<_ACEOF
28190 /* confdefs.h. */
28191 _ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28195
28196 #include <gtk/gtk.h>
28197
28198 int
28199 main ()
28200 {
28201
28202 #if !GTK_CHECK_VERSION(2,6,0)
28203 Not GTK+ 2.6
28204 #endif
28205
28206 ;
28207 return 0;
28208 }
28209 _ACEOF
28210 rm -f conftest.$ac_objext
28211 if { (ac_try="$ac_compile"
28212 case "(($ac_try" in
28213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214 *) ac_try_echo=$ac_try;;
28215 esac
28216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28217 (eval "$ac_compile") 2>conftest.er1
28218 ac_status=$?
28219 grep -v '^ *+' conftest.er1 >conftest.err
28220 rm -f conftest.er1
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } && {
28224 test -z "$ac_c_werror_flag" ||
28225 test ! -s conftest.err
28226 } && test -s conftest.$ac_objext; then
28227
28228 cat >>confdefs.h <<\_ACEOF
28229 #define __WXGTK26__ 1
28230 _ACEOF
28231
28232 cat >>confdefs.h <<\_ACEOF
28233 #define __WXGTK24__ 1
28234 _ACEOF
28235
28236 { echo "$as_me:$LINENO: result: yes" >&5
28237 echo "${ECHO_T}yes" >&6; }
28238 ac_wxgtk26=1
28239
28240 else
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28243
28244
28245 { echo "$as_me:$LINENO: result: no" >&5
28246 echo "${ECHO_T}no" >&6; }
28247 ac_wxgtk26=0
28248
28249 fi
28250
28251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28252 fi
28253
28254 if test "$ac_wxgtk26" = 0; then
28255 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28256 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28257 cat >conftest.$ac_ext <<_ACEOF
28258 /* confdefs.h. */
28259 _ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28263
28264 #include <gtk/gtk.h>
28265
28266 int
28267 main ()
28268 {
28269
28270 #if !GTK_CHECK_VERSION(2,4,0)
28271 Not GTK+ 2.4
28272 #endif
28273
28274 ;
28275 return 0;
28276 }
28277 _ACEOF
28278 rm -f conftest.$ac_objext
28279 if { (ac_try="$ac_compile"
28280 case "(($ac_try" in
28281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 *) ac_try_echo=$ac_try;;
28283 esac
28284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28285 (eval "$ac_compile") 2>conftest.er1
28286 ac_status=$?
28287 grep -v '^ *+' conftest.er1 >conftest.err
28288 rm -f conftest.er1
28289 cat conftest.err >&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); } && {
28292 test -z "$ac_c_werror_flag" ||
28293 test ! -s conftest.err
28294 } && test -s conftest.$ac_objext; then
28295
28296 cat >>confdefs.h <<\_ACEOF
28297 #define __WXGTK24__ 1
28298 _ACEOF
28299
28300 { echo "$as_me:$LINENO: result: yes" >&5
28301 echo "${ECHO_T}yes" >&6; }
28302
28303 else
28304 echo "$as_me: failed program was:" >&5
28305 sed 's/^/| /' conftest.$ac_ext >&5
28306
28307
28308 { echo "$as_me:$LINENO: result: no" >&5
28309 echo "${ECHO_T}no" >&6; }
28310
28311 fi
28312
28313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28314 fi
28315
28316 CFLAGS="$save_CFLAGS"
28317 LIBS="$save_LIBS"
28318 else
28319 if test "$wxUSE_UNICODE" = "yes"; then
28320 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28321 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28322 wxUSE_UNICODE=no
28323 fi
28324
28325 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28326 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28327 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 else
28330 ac_check_lib_save_LIBS=$LIBS
28331 LIBS="-lgdk $LIBS"
28332 cat >conftest.$ac_ext <<_ACEOF
28333 /* confdefs.h. */
28334 _ACEOF
28335 cat confdefs.h >>conftest.$ac_ext
28336 cat >>conftest.$ac_ext <<_ACEOF
28337 /* end confdefs.h. */
28338
28339 /* Override any GCC internal prototype to avoid an error.
28340 Use char because int might match the return type of a GCC
28341 builtin and then its argument prototype would still apply. */
28342 #ifdef __cplusplus
28343 extern "C"
28344 #endif
28345 char gdk_im_open ();
28346 int
28347 main ()
28348 {
28349 return gdk_im_open ();
28350 ;
28351 return 0;
28352 }
28353 _ACEOF
28354 rm -f conftest.$ac_objext conftest$ac_exeext
28355 if { (ac_try="$ac_link"
28356 case "(($ac_try" in
28357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28358 *) ac_try_echo=$ac_try;;
28359 esac
28360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28361 (eval "$ac_link") 2>conftest.er1
28362 ac_status=$?
28363 grep -v '^ *+' conftest.er1 >conftest.err
28364 rm -f conftest.er1
28365 cat conftest.err >&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); } && {
28368 test -z "$ac_c_werror_flag" ||
28369 test ! -s conftest.err
28370 } && test -s conftest$ac_exeext &&
28371 $as_test_x conftest$ac_exeext; then
28372 ac_cv_lib_gdk_gdk_im_open=yes
28373 else
28374 echo "$as_me: failed program was:" >&5
28375 sed 's/^/| /' conftest.$ac_ext >&5
28376
28377 ac_cv_lib_gdk_gdk_im_open=no
28378 fi
28379
28380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28381 conftest$ac_exeext conftest.$ac_ext
28382 LIBS=$ac_check_lib_save_LIBS
28383 fi
28384 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28385 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28386 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28387 cat >>confdefs.h <<\_ACEOF
28388 #define HAVE_XIM 1
28389 _ACEOF
28390
28391 fi
28392
28393
28394 if test "$USE_DARWIN" != 1; then
28395
28396 for ac_func in poll
28397 do
28398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28399 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28401 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28402 echo $ECHO_N "(cached) $ECHO_C" >&6
28403 else
28404 cat >conftest.$ac_ext <<_ACEOF
28405 /* confdefs.h. */
28406 _ACEOF
28407 cat confdefs.h >>conftest.$ac_ext
28408 cat >>conftest.$ac_ext <<_ACEOF
28409 /* end confdefs.h. */
28410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28412 #define $ac_func innocuous_$ac_func
28413
28414 /* System header to define __stub macros and hopefully few prototypes,
28415 which can conflict with char $ac_func (); below.
28416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28417 <limits.h> exists even on freestanding compilers. */
28418
28419 #ifdef __STDC__
28420 # include <limits.h>
28421 #else
28422 # include <assert.h>
28423 #endif
28424
28425 #undef $ac_func
28426
28427 /* Override any GCC internal prototype to avoid an error.
28428 Use char because int might match the return type of a GCC
28429 builtin and then its argument prototype would still apply. */
28430 #ifdef __cplusplus
28431 extern "C"
28432 #endif
28433 char $ac_func ();
28434 /* The GNU C library defines this for functions which it implements
28435 to always fail with ENOSYS. Some functions are actually named
28436 something starting with __ and the normal name is an alias. */
28437 #if defined __stub_$ac_func || defined __stub___$ac_func
28438 choke me
28439 #endif
28440
28441 int
28442 main ()
28443 {
28444 return $ac_func ();
28445 ;
28446 return 0;
28447 }
28448 _ACEOF
28449 rm -f conftest.$ac_objext conftest$ac_exeext
28450 if { (ac_try="$ac_link"
28451 case "(($ac_try" in
28452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28453 *) ac_try_echo=$ac_try;;
28454 esac
28455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28456 (eval "$ac_link") 2>conftest.er1
28457 ac_status=$?
28458 grep -v '^ *+' conftest.er1 >conftest.err
28459 rm -f conftest.er1
28460 cat conftest.err >&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } && {
28463 test -z "$ac_c_werror_flag" ||
28464 test ! -s conftest.err
28465 } && test -s conftest$ac_exeext &&
28466 $as_test_x conftest$ac_exeext; then
28467 eval "$as_ac_var=yes"
28468 else
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 eval "$as_ac_var=no"
28473 fi
28474
28475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28476 conftest$ac_exeext conftest.$ac_ext
28477 fi
28478 ac_res=`eval echo '${'$as_ac_var'}'`
28479 { echo "$as_me:$LINENO: result: $ac_res" >&5
28480 echo "${ECHO_T}$ac_res" >&6; }
28481 if test `eval echo '${'$as_ac_var'}'` = yes; then
28482 cat >>confdefs.h <<_ACEOF
28483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28484 _ACEOF
28485
28486 fi
28487 done
28488
28489 fi
28490 fi
28491
28492 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28493 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28494
28495 AFMINSTALL=afminstall
28496 TOOLKIT=GTK
28497 GUIDIST=GTK_DIST
28498
28499 if test "$wxUSE_GPE" = "yes"; then
28500 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28501 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28502
28503 ac_find_libraries=
28504 for ac_dir in $SEARCH_LIB;
28505 do
28506 for ac_extension in a so sl dylib dll.a; do
28507 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28508 ac_find_libraries=$ac_dir
28509 break 2
28510 fi
28511 done
28512 done
28513
28514 if test "$ac_find_libraries" != "" ; then
28515
28516 if test "$ac_find_libraries" = "default location"; then
28517 ac_path_to_link=""
28518 else
28519 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28520 result=$?
28521 if test $result = 0; then
28522 ac_path_to_link=""
28523 else
28524 ac_path_to_link=" -L$ac_find_libraries"
28525 fi
28526 fi
28527
28528 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28529 WXGPE=1
28530 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28531 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28532 else
28533 { echo "$as_me:$LINENO: result: not found" >&5
28534 echo "${ECHO_T}not found" >&6; }
28535 fi
28536
28537 fi
28538 fi
28539
28540 if test "$wxUSE_MGL" = 1; then
28541 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28542 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28543 if test "x$MGL_ROOT" = x ; then
28544 { echo "$as_me:$LINENO: result: not found" >&5
28545 echo "${ECHO_T}not found" >&6; }
28546 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28547 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28548 { (exit 1); exit 1; }; }
28549 else
28550 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28551 echo "${ECHO_T}$MGL_ROOT" >&6; }
28552 fi
28553
28554 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28555 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28556 case "${host}" in
28557 *-*-linux* )
28558 if test "x$wxUSE_SHARED" = xyes ; then
28559 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28560 else
28561 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28562 fi
28563 ;;
28564 *-pc-msdosdjgpp )
28565 mgl_os_candidates="dos32/dj2"
28566 ;;
28567 *)
28568 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28569 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28570 { (exit 1); exit 1; }; }
28571 esac
28572
28573 mgl_lib_type=""
28574 mgl_os=""
28575
28576 for mgl_os_i in $mgl_os_candidates ; do
28577 if test "x$mgl_os" = x ; then
28578 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28579 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28580 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28581 mgl_lib_type=debug
28582 mgl_os=$mgl_os_i
28583 fi
28584 fi
28585 if test "x$mgl_lib_type" = x ; then
28586 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28587 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28588 mgl_lib_type=release
28589 mgl_os=$mgl_os_i
28590 fi
28591 fi
28592 fi
28593 done
28594
28595 if test "x$mgl_os" = x ; then
28596 { echo "$as_me:$LINENO: result: not found" >&5
28597 echo "${ECHO_T}not found" >&6; }
28598 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28599 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28600 { (exit 1); exit 1; }; }
28601 fi
28602 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28603 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28604
28605 wxUSE_UNIVERSAL="yes"
28606
28607 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28608 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28609
28610 AFMINSTALL=afminstall
28611 TOOLKIT=MGL
28612 GUIDIST=MGL_DIST
28613 fi
28614
28615 if test "$wxUSE_DFB" = 1; then
28616
28617
28618 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28619 if test -n "$ac_tool_prefix"; then
28620 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28621 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28624 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28626 else
28627 case $PKG_CONFIG in
28628 [\\/]* | ?:[\\/]*)
28629 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28630 ;;
28631 *)
28632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28633 for as_dir in $PATH
28634 do
28635 IFS=$as_save_IFS
28636 test -z "$as_dir" && as_dir=.
28637 for ac_exec_ext in '' $ac_executable_extensions; do
28638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28639 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28641 break 2
28642 fi
28643 done
28644 done
28645 IFS=$as_save_IFS
28646
28647 ;;
28648 esac
28649 fi
28650 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28651 if test -n "$PKG_CONFIG"; then
28652 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28653 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28654 else
28655 { echo "$as_me:$LINENO: result: no" >&5
28656 echo "${ECHO_T}no" >&6; }
28657 fi
28658
28659
28660 fi
28661 if test -z "$ac_cv_path_PKG_CONFIG"; then
28662 ac_pt_PKG_CONFIG=$PKG_CONFIG
28663 # Extract the first word of "pkg-config", so it can be a program name with args.
28664 set dummy pkg-config; ac_word=$2
28665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28667 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28668 echo $ECHO_N "(cached) $ECHO_C" >&6
28669 else
28670 case $ac_pt_PKG_CONFIG in
28671 [\\/]* | ?:[\\/]*)
28672 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28673 ;;
28674 *)
28675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28676 for as_dir in $PATH
28677 do
28678 IFS=$as_save_IFS
28679 test -z "$as_dir" && as_dir=.
28680 for ac_exec_ext in '' $ac_executable_extensions; do
28681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28682 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28684 break 2
28685 fi
28686 done
28687 done
28688 IFS=$as_save_IFS
28689
28690 ;;
28691 esac
28692 fi
28693 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28694 if test -n "$ac_pt_PKG_CONFIG"; then
28695 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28696 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28697 else
28698 { echo "$as_me:$LINENO: result: no" >&5
28699 echo "${ECHO_T}no" >&6; }
28700 fi
28701
28702 if test "x$ac_pt_PKG_CONFIG" = x; then
28703 PKG_CONFIG=""
28704 else
28705 case $cross_compiling:$ac_tool_warned in
28706 yes:)
28707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28708 whose name does not start with the host triplet. If you think this
28709 configuration is useful to you, please write to autoconf@gnu.org." >&5
28710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28711 whose name does not start with the host triplet. If you think this
28712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28713 ac_tool_warned=yes ;;
28714 esac
28715 PKG_CONFIG=$ac_pt_PKG_CONFIG
28716 fi
28717 else
28718 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28719 fi
28720
28721 fi
28722 if test -n "$PKG_CONFIG"; then
28723 _pkg_min_version=0.9.0
28724 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28725 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28726 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28727 { echo "$as_me:$LINENO: result: yes" >&5
28728 echo "${ECHO_T}yes" >&6; }
28729 else
28730 { echo "$as_me:$LINENO: result: no" >&5
28731 echo "${ECHO_T}no" >&6; }
28732 PKG_CONFIG=""
28733 fi
28734
28735 fi
28736
28737
28738 pkg_failed=no
28739 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28740 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28741
28742 if test -n "$PKG_CONFIG"; then
28743 if test -n "$DIRECTFB_CFLAGS"; then
28744 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28745 else
28746 if test -n "$PKG_CONFIG" && \
28747 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28748 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28749 ac_status=$?
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); }; then
28752 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28753 else
28754 pkg_failed=yes
28755 fi
28756 fi
28757 else
28758 pkg_failed=untried
28759 fi
28760 if test -n "$PKG_CONFIG"; then
28761 if test -n "$DIRECTFB_LIBS"; then
28762 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28763 else
28764 if test -n "$PKG_CONFIG" && \
28765 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28766 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28767 ac_status=$?
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; then
28770 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28771 else
28772 pkg_failed=yes
28773 fi
28774 fi
28775 else
28776 pkg_failed=untried
28777 fi
28778
28779
28780
28781 if test $pkg_failed = yes; then
28782
28783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28784 _pkg_short_errors_supported=yes
28785 else
28786 _pkg_short_errors_supported=no
28787 fi
28788 if test $_pkg_short_errors_supported = yes; then
28789 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28790 else
28791 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28792 fi
28793 # Put the nasty error message in config.log where it belongs
28794 echo "$DIRECTFB_PKG_ERRORS" >&5
28795
28796
28797 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28798 echo "$as_me: error: DirectFB not found." >&2;}
28799 { (exit 1); exit 1; }; }
28800
28801
28802 elif test $pkg_failed = untried; then
28803
28804 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28805 echo "$as_me: error: DirectFB not found." >&2;}
28806 { (exit 1); exit 1; }; }
28807
28808
28809 else
28810 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28811 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28812 { echo "$as_me:$LINENO: result: yes" >&5
28813 echo "${ECHO_T}yes" >&6; }
28814
28815 wxUSE_UNIVERSAL="yes"
28816 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28817 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28818 TOOLKIT=DFB
28819 GUIDIST=DFB_DIST
28820
28821 fi
28822 fi
28823
28824 if test "$wxUSE_MICROWIN" = 1; then
28825 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28826 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28827 if test "x$MICROWINDOWS" = x ; then
28828 { echo "$as_me:$LINENO: result: not found" >&5
28829 echo "${ECHO_T}not found" >&6; }
28830 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28831 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28832 { (exit 1); exit 1; }; }
28833 else
28834 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28835 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28836 fi
28837
28838 if test -f $MICROWINDOWS/lib/libmwin.a; then
28839 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28840 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28841 else
28842 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28843 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28844 { (exit 1); exit 1; }; }
28845 fi
28846
28847 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28848 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28849
28850 wxUSE_UNIVERSAL="yes"
28851
28852 AFMINSTALL=afminstall
28853 TOOLKIT=MICROWIN
28854 GUIDIST=MICROWIN_DIST
28855
28856 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28857 fi
28858
28859 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28860 { echo "$as_me:$LINENO: checking for X" >&5
28861 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28862
28863
28864 # Check whether --with-x was given.
28865 if test "${with_x+set}" = set; then
28866 withval=$with_x;
28867 fi
28868
28869 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28870 if test "x$with_x" = xno; then
28871 # The user explicitly disabled X.
28872 have_x=disabled
28873 else
28874 case $x_includes,$x_libraries in #(
28875 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28876 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28877 { (exit 1); exit 1; }; };; #(
28878 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28879 echo $ECHO_N "(cached) $ECHO_C" >&6
28880 else
28881 # One or both of the vars are not set, and there is no cached value.
28882 ac_x_includes=no ac_x_libraries=no
28883 rm -f -r conftest.dir
28884 if mkdir conftest.dir; then
28885 cd conftest.dir
28886 cat >Imakefile <<'_ACEOF'
28887 incroot:
28888 @echo incroot='${INCROOT}'
28889 usrlibdir:
28890 @echo usrlibdir='${USRLIBDIR}'
28891 libdir:
28892 @echo libdir='${LIBDIR}'
28893 _ACEOF
28894 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28895 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28896 for ac_var in incroot usrlibdir libdir; do
28897 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28898 done
28899 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28900 for ac_extension in a so sl; do
28901 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28902 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28903 ac_im_usrlibdir=$ac_im_libdir; break
28904 fi
28905 done
28906 # Screen out bogus values from the imake configuration. They are
28907 # bogus both because they are the default anyway, and because
28908 # using them would break gcc on systems where it needs fixed includes.
28909 case $ac_im_incroot in
28910 /usr/include) ac_x_includes= ;;
28911 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28912 esac
28913 case $ac_im_usrlibdir in
28914 /usr/lib | /lib) ;;
28915 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28916 esac
28917 fi
28918 cd ..
28919 rm -f -r conftest.dir
28920 fi
28921
28922 # Standard set of common directories for X headers.
28923 # Check X11 before X11Rn because it is often a symlink to the current release.
28924 ac_x_header_dirs='
28925 /usr/X11/include
28926 /usr/X11R6/include
28927 /usr/X11R5/include
28928 /usr/X11R4/include
28929
28930 /usr/include/X11
28931 /usr/include/X11R6
28932 /usr/include/X11R5
28933 /usr/include/X11R4
28934
28935 /usr/local/X11/include
28936 /usr/local/X11R6/include
28937 /usr/local/X11R5/include
28938 /usr/local/X11R4/include
28939
28940 /usr/local/include/X11
28941 /usr/local/include/X11R6
28942 /usr/local/include/X11R5
28943 /usr/local/include/X11R4
28944
28945 /usr/X386/include
28946 /usr/x386/include
28947 /usr/XFree86/include/X11
28948
28949 /usr/include
28950 /usr/local/include
28951 /usr/unsupported/include
28952 /usr/athena/include
28953 /usr/local/x11r5/include
28954 /usr/lpp/Xamples/include
28955
28956 /usr/openwin/include
28957 /usr/openwin/share/include'
28958
28959 if test "$ac_x_includes" = no; then
28960 # Guess where to find include files, by looking for Xlib.h.
28961 # First, try using that file with no special directory specified.
28962 cat >conftest.$ac_ext <<_ACEOF
28963 /* confdefs.h. */
28964 _ACEOF
28965 cat confdefs.h >>conftest.$ac_ext
28966 cat >>conftest.$ac_ext <<_ACEOF
28967 /* end confdefs.h. */
28968 #include <X11/Xlib.h>
28969 _ACEOF
28970 if { (ac_try="$ac_cpp conftest.$ac_ext"
28971 case "(($ac_try" in
28972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28973 *) ac_try_echo=$ac_try;;
28974 esac
28975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28977 ac_status=$?
28978 grep -v '^ *+' conftest.er1 >conftest.err
28979 rm -f conftest.er1
28980 cat conftest.err >&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } >/dev/null && {
28983 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28984 test ! -s conftest.err
28985 }; then
28986 # We can compile using X headers with no special include directory.
28987 ac_x_includes=
28988 else
28989 echo "$as_me: failed program was:" >&5
28990 sed 's/^/| /' conftest.$ac_ext >&5
28991
28992 for ac_dir in $ac_x_header_dirs; do
28993 if test -r "$ac_dir/X11/Xlib.h"; then
28994 ac_x_includes=$ac_dir
28995 break
28996 fi
28997 done
28998 fi
28999
29000 rm -f conftest.err conftest.$ac_ext
29001 fi # $ac_x_includes = no
29002
29003 if test "$ac_x_libraries" = no; then
29004 # Check for the libraries.
29005 # See if we find them without any special options.
29006 # Don't add to $LIBS permanently.
29007 ac_save_LIBS=$LIBS
29008 LIBS="-lX11 $LIBS"
29009 cat >conftest.$ac_ext <<_ACEOF
29010 /* confdefs.h. */
29011 _ACEOF
29012 cat confdefs.h >>conftest.$ac_ext
29013 cat >>conftest.$ac_ext <<_ACEOF
29014 /* end confdefs.h. */
29015 #include <X11/Xlib.h>
29016 int
29017 main ()
29018 {
29019 XrmInitialize ()
29020 ;
29021 return 0;
29022 }
29023 _ACEOF
29024 rm -f conftest.$ac_objext conftest$ac_exeext
29025 if { (ac_try="$ac_link"
29026 case "(($ac_try" in
29027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29029 esac
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_link") 2>conftest.er1
29032 ac_status=$?
29033 grep -v '^ *+' conftest.er1 >conftest.err
29034 rm -f conftest.er1
29035 cat conftest.err >&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } && {
29038 test -z "$ac_c_werror_flag" ||
29039 test ! -s conftest.err
29040 } && test -s conftest$ac_exeext &&
29041 $as_test_x conftest$ac_exeext; then
29042 LIBS=$ac_save_LIBS
29043 # We can link X programs with no special library path.
29044 ac_x_libraries=
29045 else
29046 echo "$as_me: failed program was:" >&5
29047 sed 's/^/| /' conftest.$ac_ext >&5
29048
29049 LIBS=$ac_save_LIBS
29050 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29051 do
29052 # Don't even attempt the hair of trying to link an X program!
29053 for ac_extension in a so sl; do
29054 if test -r "$ac_dir/libX11.$ac_extension"; then
29055 ac_x_libraries=$ac_dir
29056 break 2
29057 fi
29058 done
29059 done
29060 fi
29061
29062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29063 conftest$ac_exeext conftest.$ac_ext
29064 fi # $ac_x_libraries = no
29065
29066 case $ac_x_includes,$ac_x_libraries in #(
29067 no,* | *,no | *\'*)
29068 # Didn't find X, or a directory has "'" in its name.
29069 ac_cv_have_x="have_x=no";; #(
29070 *)
29071 # Record where we found X for the cache.
29072 ac_cv_have_x="have_x=yes\
29073 ac_x_includes='$ac_x_includes'\
29074 ac_x_libraries='$ac_x_libraries'"
29075 esac
29076 fi
29077 ;; #(
29078 *) have_x=yes;;
29079 esac
29080 eval "$ac_cv_have_x"
29081 fi # $with_x != no
29082
29083 if test "$have_x" != yes; then
29084 { echo "$as_me:$LINENO: result: $have_x" >&5
29085 echo "${ECHO_T}$have_x" >&6; }
29086 no_x=yes
29087 else
29088 # If each of the values was on the command line, it overrides each guess.
29089 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29090 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29091 # Update the cache value to reflect the command line values.
29092 ac_cv_have_x="have_x=yes\
29093 ac_x_includes='$x_includes'\
29094 ac_x_libraries='$x_libraries'"
29095 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29096 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29097 fi
29098
29099 if test "$no_x" = yes; then
29100 # Not all programs may use this symbol, but it does not hurt to define it.
29101
29102 cat >>confdefs.h <<\_ACEOF
29103 #define X_DISPLAY_MISSING 1
29104 _ACEOF
29105
29106 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29107 else
29108 if test -n "$x_includes"; then
29109 X_CFLAGS="$X_CFLAGS -I$x_includes"
29110 fi
29111
29112 # It would also be nice to do this for all -L options, not just this one.
29113 if test -n "$x_libraries"; then
29114 X_LIBS="$X_LIBS -L$x_libraries"
29115 # For Solaris; some versions of Sun CC require a space after -R and
29116 # others require no space. Words are not sufficient . . . .
29117 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29118 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29119 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29120 ac_xsave_c_werror_flag=$ac_c_werror_flag
29121 ac_c_werror_flag=yes
29122 cat >conftest.$ac_ext <<_ACEOF
29123 /* confdefs.h. */
29124 _ACEOF
29125 cat confdefs.h >>conftest.$ac_ext
29126 cat >>conftest.$ac_ext <<_ACEOF
29127 /* end confdefs.h. */
29128
29129 int
29130 main ()
29131 {
29132
29133 ;
29134 return 0;
29135 }
29136 _ACEOF
29137 rm -f conftest.$ac_objext conftest$ac_exeext
29138 if { (ac_try="$ac_link"
29139 case "(($ac_try" in
29140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29141 *) ac_try_echo=$ac_try;;
29142 esac
29143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29144 (eval "$ac_link") 2>conftest.er1
29145 ac_status=$?
29146 grep -v '^ *+' conftest.er1 >conftest.err
29147 rm -f conftest.er1
29148 cat conftest.err >&5
29149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150 (exit $ac_status); } && {
29151 test -z "$ac_c_werror_flag" ||
29152 test ! -s conftest.err
29153 } && test -s conftest$ac_exeext &&
29154 $as_test_x conftest$ac_exeext; then
29155 { echo "$as_me:$LINENO: result: no" >&5
29156 echo "${ECHO_T}no" >&6; }
29157 X_LIBS="$X_LIBS -R$x_libraries"
29158 else
29159 echo "$as_me: failed program was:" >&5
29160 sed 's/^/| /' conftest.$ac_ext >&5
29161
29162 LIBS="$ac_xsave_LIBS -R $x_libraries"
29163 cat >conftest.$ac_ext <<_ACEOF
29164 /* confdefs.h. */
29165 _ACEOF
29166 cat confdefs.h >>conftest.$ac_ext
29167 cat >>conftest.$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29169
29170 int
29171 main ()
29172 {
29173
29174 ;
29175 return 0;
29176 }
29177 _ACEOF
29178 rm -f conftest.$ac_objext conftest$ac_exeext
29179 if { (ac_try="$ac_link"
29180 case "(($ac_try" in
29181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29182 *) ac_try_echo=$ac_try;;
29183 esac
29184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29185 (eval "$ac_link") 2>conftest.er1
29186 ac_status=$?
29187 grep -v '^ *+' conftest.er1 >conftest.err
29188 rm -f conftest.er1
29189 cat conftest.err >&5
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); } && {
29192 test -z "$ac_c_werror_flag" ||
29193 test ! -s conftest.err
29194 } && test -s conftest$ac_exeext &&
29195 $as_test_x conftest$ac_exeext; then
29196 { echo "$as_me:$LINENO: result: yes" >&5
29197 echo "${ECHO_T}yes" >&6; }
29198 X_LIBS="$X_LIBS -R $x_libraries"
29199 else
29200 echo "$as_me: failed program was:" >&5
29201 sed 's/^/| /' conftest.$ac_ext >&5
29202
29203 { echo "$as_me:$LINENO: result: neither works" >&5
29204 echo "${ECHO_T}neither works" >&6; }
29205 fi
29206
29207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29208 conftest$ac_exeext conftest.$ac_ext
29209 fi
29210
29211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29212 conftest$ac_exeext conftest.$ac_ext
29213 ac_c_werror_flag=$ac_xsave_c_werror_flag
29214 LIBS=$ac_xsave_LIBS
29215 fi
29216
29217 # Check for system-dependent libraries X programs must link with.
29218 # Do this before checking for the system-independent R6 libraries
29219 # (-lICE), since we may need -lsocket or whatever for X linking.
29220
29221 if test "$ISC" = yes; then
29222 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29223 else
29224 # Martyn Johnson says this is needed for Ultrix, if the X
29225 # libraries were built with DECnet support. And Karl Berry says
29226 # the Alpha needs dnet_stub (dnet does not exist).
29227 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29228 cat >conftest.$ac_ext <<_ACEOF
29229 /* confdefs.h. */
29230 _ACEOF
29231 cat confdefs.h >>conftest.$ac_ext
29232 cat >>conftest.$ac_ext <<_ACEOF
29233 /* end confdefs.h. */
29234
29235 /* Override any GCC internal prototype to avoid an error.
29236 Use char because int might match the return type of a GCC
29237 builtin and then its argument prototype would still apply. */
29238 #ifdef __cplusplus
29239 extern "C"
29240 #endif
29241 char XOpenDisplay ();
29242 int
29243 main ()
29244 {
29245 return XOpenDisplay ();
29246 ;
29247 return 0;
29248 }
29249 _ACEOF
29250 rm -f conftest.$ac_objext conftest$ac_exeext
29251 if { (ac_try="$ac_link"
29252 case "(($ac_try" in
29253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29254 *) ac_try_echo=$ac_try;;
29255 esac
29256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29257 (eval "$ac_link") 2>conftest.er1
29258 ac_status=$?
29259 grep -v '^ *+' conftest.er1 >conftest.err
29260 rm -f conftest.er1
29261 cat conftest.err >&5
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); } && {
29264 test -z "$ac_c_werror_flag" ||
29265 test ! -s conftest.err
29266 } && test -s conftest$ac_exeext &&
29267 $as_test_x conftest$ac_exeext; then
29268 :
29269 else
29270 echo "$as_me: failed program was:" >&5
29271 sed 's/^/| /' conftest.$ac_ext >&5
29272
29273 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29274 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29275 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29276 echo $ECHO_N "(cached) $ECHO_C" >&6
29277 else
29278 ac_check_lib_save_LIBS=$LIBS
29279 LIBS="-ldnet $LIBS"
29280 cat >conftest.$ac_ext <<_ACEOF
29281 /* confdefs.h. */
29282 _ACEOF
29283 cat confdefs.h >>conftest.$ac_ext
29284 cat >>conftest.$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29286
29287 /* Override any GCC internal prototype to avoid an error.
29288 Use char because int might match the return type of a GCC
29289 builtin and then its argument prototype would still apply. */
29290 #ifdef __cplusplus
29291 extern "C"
29292 #endif
29293 char dnet_ntoa ();
29294 int
29295 main ()
29296 {
29297 return dnet_ntoa ();
29298 ;
29299 return 0;
29300 }
29301 _ACEOF
29302 rm -f conftest.$ac_objext conftest$ac_exeext
29303 if { (ac_try="$ac_link"
29304 case "(($ac_try" in
29305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29306 *) ac_try_echo=$ac_try;;
29307 esac
29308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29309 (eval "$ac_link") 2>conftest.er1
29310 ac_status=$?
29311 grep -v '^ *+' conftest.er1 >conftest.err
29312 rm -f conftest.er1
29313 cat conftest.err >&5
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); } && {
29316 test -z "$ac_c_werror_flag" ||
29317 test ! -s conftest.err
29318 } && test -s conftest$ac_exeext &&
29319 $as_test_x conftest$ac_exeext; then
29320 ac_cv_lib_dnet_dnet_ntoa=yes
29321 else
29322 echo "$as_me: failed program was:" >&5
29323 sed 's/^/| /' conftest.$ac_ext >&5
29324
29325 ac_cv_lib_dnet_dnet_ntoa=no
29326 fi
29327
29328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29329 conftest$ac_exeext conftest.$ac_ext
29330 LIBS=$ac_check_lib_save_LIBS
29331 fi
29332 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29333 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29334 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29335 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29336 fi
29337
29338 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29339 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29340 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29341 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29342 echo $ECHO_N "(cached) $ECHO_C" >&6
29343 else
29344 ac_check_lib_save_LIBS=$LIBS
29345 LIBS="-ldnet_stub $LIBS"
29346 cat >conftest.$ac_ext <<_ACEOF
29347 /* confdefs.h. */
29348 _ACEOF
29349 cat confdefs.h >>conftest.$ac_ext
29350 cat >>conftest.$ac_ext <<_ACEOF
29351 /* end confdefs.h. */
29352
29353 /* Override any GCC internal prototype to avoid an error.
29354 Use char because int might match the return type of a GCC
29355 builtin and then its argument prototype would still apply. */
29356 #ifdef __cplusplus
29357 extern "C"
29358 #endif
29359 char dnet_ntoa ();
29360 int
29361 main ()
29362 {
29363 return dnet_ntoa ();
29364 ;
29365 return 0;
29366 }
29367 _ACEOF
29368 rm -f conftest.$ac_objext conftest$ac_exeext
29369 if { (ac_try="$ac_link"
29370 case "(($ac_try" in
29371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29372 *) ac_try_echo=$ac_try;;
29373 esac
29374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29375 (eval "$ac_link") 2>conftest.er1
29376 ac_status=$?
29377 grep -v '^ *+' conftest.er1 >conftest.err
29378 rm -f conftest.er1
29379 cat conftest.err >&5
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); } && {
29382 test -z "$ac_c_werror_flag" ||
29383 test ! -s conftest.err
29384 } && test -s conftest$ac_exeext &&
29385 $as_test_x conftest$ac_exeext; then
29386 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29387 else
29388 echo "$as_me: failed program was:" >&5
29389 sed 's/^/| /' conftest.$ac_ext >&5
29390
29391 ac_cv_lib_dnet_stub_dnet_ntoa=no
29392 fi
29393
29394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29395 conftest$ac_exeext conftest.$ac_ext
29396 LIBS=$ac_check_lib_save_LIBS
29397 fi
29398 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29399 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29400 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29401 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29402 fi
29403
29404 fi
29405 fi
29406
29407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29408 conftest$ac_exeext conftest.$ac_ext
29409 LIBS="$ac_xsave_LIBS"
29410
29411 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29412 # to get the SysV transport functions.
29413 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29414 # needs -lnsl.
29415 # The nsl library prevents programs from opening the X display
29416 # on Irix 5.2, according to T.E. Dickey.
29417 # The functions gethostbyname, getservbyname, and inet_addr are
29418 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29419 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29420 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29421 if test "${ac_cv_func_gethostbyname+set}" = set; then
29422 echo $ECHO_N "(cached) $ECHO_C" >&6
29423 else
29424 cat >conftest.$ac_ext <<_ACEOF
29425 /* confdefs.h. */
29426 _ACEOF
29427 cat confdefs.h >>conftest.$ac_ext
29428 cat >>conftest.$ac_ext <<_ACEOF
29429 /* end confdefs.h. */
29430 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29432 #define gethostbyname innocuous_gethostbyname
29433
29434 /* System header to define __stub macros and hopefully few prototypes,
29435 which can conflict with char gethostbyname (); below.
29436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29437 <limits.h> exists even on freestanding compilers. */
29438
29439 #ifdef __STDC__
29440 # include <limits.h>
29441 #else
29442 # include <assert.h>
29443 #endif
29444
29445 #undef gethostbyname
29446
29447 /* Override any GCC internal prototype to avoid an error.
29448 Use char because int might match the return type of a GCC
29449 builtin and then its argument prototype would still apply. */
29450 #ifdef __cplusplus
29451 extern "C"
29452 #endif
29453 char gethostbyname ();
29454 /* The GNU C library defines this for functions which it implements
29455 to always fail with ENOSYS. Some functions are actually named
29456 something starting with __ and the normal name is an alias. */
29457 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29458 choke me
29459 #endif
29460
29461 int
29462 main ()
29463 {
29464 return gethostbyname ();
29465 ;
29466 return 0;
29467 }
29468 _ACEOF
29469 rm -f conftest.$ac_objext conftest$ac_exeext
29470 if { (ac_try="$ac_link"
29471 case "(($ac_try" in
29472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29473 *) ac_try_echo=$ac_try;;
29474 esac
29475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29476 (eval "$ac_link") 2>conftest.er1
29477 ac_status=$?
29478 grep -v '^ *+' conftest.er1 >conftest.err
29479 rm -f conftest.er1
29480 cat conftest.err >&5
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); } && {
29483 test -z "$ac_c_werror_flag" ||
29484 test ! -s conftest.err
29485 } && test -s conftest$ac_exeext &&
29486 $as_test_x conftest$ac_exeext; then
29487 ac_cv_func_gethostbyname=yes
29488 else
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29491
29492 ac_cv_func_gethostbyname=no
29493 fi
29494
29495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29496 conftest$ac_exeext conftest.$ac_ext
29497 fi
29498 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29499 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29500
29501 if test $ac_cv_func_gethostbyname = no; then
29502 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29503 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29504 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29505 echo $ECHO_N "(cached) $ECHO_C" >&6
29506 else
29507 ac_check_lib_save_LIBS=$LIBS
29508 LIBS="-lnsl $LIBS"
29509 cat >conftest.$ac_ext <<_ACEOF
29510 /* confdefs.h. */
29511 _ACEOF
29512 cat confdefs.h >>conftest.$ac_ext
29513 cat >>conftest.$ac_ext <<_ACEOF
29514 /* end confdefs.h. */
29515
29516 /* Override any GCC internal prototype to avoid an error.
29517 Use char because int might match the return type of a GCC
29518 builtin and then its argument prototype would still apply. */
29519 #ifdef __cplusplus
29520 extern "C"
29521 #endif
29522 char gethostbyname ();
29523 int
29524 main ()
29525 {
29526 return gethostbyname ();
29527 ;
29528 return 0;
29529 }
29530 _ACEOF
29531 rm -f conftest.$ac_objext conftest$ac_exeext
29532 if { (ac_try="$ac_link"
29533 case "(($ac_try" in
29534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29535 *) ac_try_echo=$ac_try;;
29536 esac
29537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29538 (eval "$ac_link") 2>conftest.er1
29539 ac_status=$?
29540 grep -v '^ *+' conftest.er1 >conftest.err
29541 rm -f conftest.er1
29542 cat conftest.err >&5
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); } && {
29545 test -z "$ac_c_werror_flag" ||
29546 test ! -s conftest.err
29547 } && test -s conftest$ac_exeext &&
29548 $as_test_x conftest$ac_exeext; then
29549 ac_cv_lib_nsl_gethostbyname=yes
29550 else
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554 ac_cv_lib_nsl_gethostbyname=no
29555 fi
29556
29557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29558 conftest$ac_exeext conftest.$ac_ext
29559 LIBS=$ac_check_lib_save_LIBS
29560 fi
29561 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29562 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29563 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29564 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29565 fi
29566
29567 if test $ac_cv_lib_nsl_gethostbyname = no; then
29568 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29569 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29570 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29571 echo $ECHO_N "(cached) $ECHO_C" >&6
29572 else
29573 ac_check_lib_save_LIBS=$LIBS
29574 LIBS="-lbsd $LIBS"
29575 cat >conftest.$ac_ext <<_ACEOF
29576 /* confdefs.h. */
29577 _ACEOF
29578 cat confdefs.h >>conftest.$ac_ext
29579 cat >>conftest.$ac_ext <<_ACEOF
29580 /* end confdefs.h. */
29581
29582 /* Override any GCC internal prototype to avoid an error.
29583 Use char because int might match the return type of a GCC
29584 builtin and then its argument prototype would still apply. */
29585 #ifdef __cplusplus
29586 extern "C"
29587 #endif
29588 char gethostbyname ();
29589 int
29590 main ()
29591 {
29592 return gethostbyname ();
29593 ;
29594 return 0;
29595 }
29596 _ACEOF
29597 rm -f conftest.$ac_objext conftest$ac_exeext
29598 if { (ac_try="$ac_link"
29599 case "(($ac_try" in
29600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29601 *) ac_try_echo=$ac_try;;
29602 esac
29603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29604 (eval "$ac_link") 2>conftest.er1
29605 ac_status=$?
29606 grep -v '^ *+' conftest.er1 >conftest.err
29607 rm -f conftest.er1
29608 cat conftest.err >&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } && {
29611 test -z "$ac_c_werror_flag" ||
29612 test ! -s conftest.err
29613 } && test -s conftest$ac_exeext &&
29614 $as_test_x conftest$ac_exeext; then
29615 ac_cv_lib_bsd_gethostbyname=yes
29616 else
29617 echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.$ac_ext >&5
29619
29620 ac_cv_lib_bsd_gethostbyname=no
29621 fi
29622
29623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29624 conftest$ac_exeext conftest.$ac_ext
29625 LIBS=$ac_check_lib_save_LIBS
29626 fi
29627 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29628 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29629 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29630 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29631 fi
29632
29633 fi
29634 fi
29635
29636 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29637 # socket/setsockopt and other routines are undefined under SCO ODT
29638 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29639 # on later versions), says Simon Leinen: it contains gethostby*
29640 # variants that don't use the name server (or something). -lsocket
29641 # must be given before -lnsl if both are needed. We assume that
29642 # if connect needs -lnsl, so does gethostbyname.
29643 { echo "$as_me:$LINENO: checking for connect" >&5
29644 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29645 if test "${ac_cv_func_connect+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 else
29648 cat >conftest.$ac_ext <<_ACEOF
29649 /* confdefs.h. */
29650 _ACEOF
29651 cat confdefs.h >>conftest.$ac_ext
29652 cat >>conftest.$ac_ext <<_ACEOF
29653 /* end confdefs.h. */
29654 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29656 #define connect innocuous_connect
29657
29658 /* System header to define __stub macros and hopefully few prototypes,
29659 which can conflict with char connect (); below.
29660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29661 <limits.h> exists even on freestanding compilers. */
29662
29663 #ifdef __STDC__
29664 # include <limits.h>
29665 #else
29666 # include <assert.h>
29667 #endif
29668
29669 #undef connect
29670
29671 /* Override any GCC internal prototype to avoid an error.
29672 Use char because int might match the return type of a GCC
29673 builtin and then its argument prototype would still apply. */
29674 #ifdef __cplusplus
29675 extern "C"
29676 #endif
29677 char connect ();
29678 /* The GNU C library defines this for functions which it implements
29679 to always fail with ENOSYS. Some functions are actually named
29680 something starting with __ and the normal name is an alias. */
29681 #if defined __stub_connect || defined __stub___connect
29682 choke me
29683 #endif
29684
29685 int
29686 main ()
29687 {
29688 return connect ();
29689 ;
29690 return 0;
29691 }
29692 _ACEOF
29693 rm -f conftest.$ac_objext conftest$ac_exeext
29694 if { (ac_try="$ac_link"
29695 case "(($ac_try" in
29696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29697 *) ac_try_echo=$ac_try;;
29698 esac
29699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29700 (eval "$ac_link") 2>conftest.er1
29701 ac_status=$?
29702 grep -v '^ *+' conftest.er1 >conftest.err
29703 rm -f conftest.er1
29704 cat conftest.err >&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); } && {
29707 test -z "$ac_c_werror_flag" ||
29708 test ! -s conftest.err
29709 } && test -s conftest$ac_exeext &&
29710 $as_test_x conftest$ac_exeext; then
29711 ac_cv_func_connect=yes
29712 else
29713 echo "$as_me: failed program was:" >&5
29714 sed 's/^/| /' conftest.$ac_ext >&5
29715
29716 ac_cv_func_connect=no
29717 fi
29718
29719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29720 conftest$ac_exeext conftest.$ac_ext
29721 fi
29722 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29723 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29724
29725 if test $ac_cv_func_connect = no; then
29726 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29727 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29728 if test "${ac_cv_lib_socket_connect+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29730 else
29731 ac_check_lib_save_LIBS=$LIBS
29732 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29733 cat >conftest.$ac_ext <<_ACEOF
29734 /* confdefs.h. */
29735 _ACEOF
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29739
29740 /* Override any GCC internal prototype to avoid an error.
29741 Use char because int might match the return type of a GCC
29742 builtin and then its argument prototype would still apply. */
29743 #ifdef __cplusplus
29744 extern "C"
29745 #endif
29746 char connect ();
29747 int
29748 main ()
29749 {
29750 return connect ();
29751 ;
29752 return 0;
29753 }
29754 _ACEOF
29755 rm -f conftest.$ac_objext conftest$ac_exeext
29756 if { (ac_try="$ac_link"
29757 case "(($ac_try" in
29758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29759 *) ac_try_echo=$ac_try;;
29760 esac
29761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29762 (eval "$ac_link") 2>conftest.er1
29763 ac_status=$?
29764 grep -v '^ *+' conftest.er1 >conftest.err
29765 rm -f conftest.er1
29766 cat conftest.err >&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); } && {
29769 test -z "$ac_c_werror_flag" ||
29770 test ! -s conftest.err
29771 } && test -s conftest$ac_exeext &&
29772 $as_test_x conftest$ac_exeext; then
29773 ac_cv_lib_socket_connect=yes
29774 else
29775 echo "$as_me: failed program was:" >&5
29776 sed 's/^/| /' conftest.$ac_ext >&5
29777
29778 ac_cv_lib_socket_connect=no
29779 fi
29780
29781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29782 conftest$ac_exeext conftest.$ac_ext
29783 LIBS=$ac_check_lib_save_LIBS
29784 fi
29785 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29786 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29787 if test $ac_cv_lib_socket_connect = yes; then
29788 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29789 fi
29790
29791 fi
29792
29793 # Guillermo Gomez says -lposix is necessary on A/UX.
29794 { echo "$as_me:$LINENO: checking for remove" >&5
29795 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29796 if test "${ac_cv_func_remove+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 else
29799 cat >conftest.$ac_ext <<_ACEOF
29800 /* confdefs.h. */
29801 _ACEOF
29802 cat confdefs.h >>conftest.$ac_ext
29803 cat >>conftest.$ac_ext <<_ACEOF
29804 /* end confdefs.h. */
29805 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29807 #define remove innocuous_remove
29808
29809 /* System header to define __stub macros and hopefully few prototypes,
29810 which can conflict with char remove (); below.
29811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29812 <limits.h> exists even on freestanding compilers. */
29813
29814 #ifdef __STDC__
29815 # include <limits.h>
29816 #else
29817 # include <assert.h>
29818 #endif
29819
29820 #undef remove
29821
29822 /* Override any GCC internal prototype to avoid an error.
29823 Use char because int might match the return type of a GCC
29824 builtin and then its argument prototype would still apply. */
29825 #ifdef __cplusplus
29826 extern "C"
29827 #endif
29828 char remove ();
29829 /* The GNU C library defines this for functions which it implements
29830 to always fail with ENOSYS. Some functions are actually named
29831 something starting with __ and the normal name is an alias. */
29832 #if defined __stub_remove || defined __stub___remove
29833 choke me
29834 #endif
29835
29836 int
29837 main ()
29838 {
29839 return remove ();
29840 ;
29841 return 0;
29842 }
29843 _ACEOF
29844 rm -f conftest.$ac_objext conftest$ac_exeext
29845 if { (ac_try="$ac_link"
29846 case "(($ac_try" in
29847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29848 *) ac_try_echo=$ac_try;;
29849 esac
29850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29851 (eval "$ac_link") 2>conftest.er1
29852 ac_status=$?
29853 grep -v '^ *+' conftest.er1 >conftest.err
29854 rm -f conftest.er1
29855 cat conftest.err >&5
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); } && {
29858 test -z "$ac_c_werror_flag" ||
29859 test ! -s conftest.err
29860 } && test -s conftest$ac_exeext &&
29861 $as_test_x conftest$ac_exeext; then
29862 ac_cv_func_remove=yes
29863 else
29864 echo "$as_me: failed program was:" >&5
29865 sed 's/^/| /' conftest.$ac_ext >&5
29866
29867 ac_cv_func_remove=no
29868 fi
29869
29870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29871 conftest$ac_exeext conftest.$ac_ext
29872 fi
29873 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29874 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29875
29876 if test $ac_cv_func_remove = no; then
29877 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29878 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29879 if test "${ac_cv_lib_posix_remove+set}" = set; then
29880 echo $ECHO_N "(cached) $ECHO_C" >&6
29881 else
29882 ac_check_lib_save_LIBS=$LIBS
29883 LIBS="-lposix $LIBS"
29884 cat >conftest.$ac_ext <<_ACEOF
29885 /* confdefs.h. */
29886 _ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890
29891 /* Override any GCC internal prototype to avoid an error.
29892 Use char because int might match the return type of a GCC
29893 builtin and then its argument prototype would still apply. */
29894 #ifdef __cplusplus
29895 extern "C"
29896 #endif
29897 char remove ();
29898 int
29899 main ()
29900 {
29901 return remove ();
29902 ;
29903 return 0;
29904 }
29905 _ACEOF
29906 rm -f conftest.$ac_objext conftest$ac_exeext
29907 if { (ac_try="$ac_link"
29908 case "(($ac_try" in
29909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29910 *) ac_try_echo=$ac_try;;
29911 esac
29912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29913 (eval "$ac_link") 2>conftest.er1
29914 ac_status=$?
29915 grep -v '^ *+' conftest.er1 >conftest.err
29916 rm -f conftest.er1
29917 cat conftest.err >&5
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); } && {
29920 test -z "$ac_c_werror_flag" ||
29921 test ! -s conftest.err
29922 } && test -s conftest$ac_exeext &&
29923 $as_test_x conftest$ac_exeext; then
29924 ac_cv_lib_posix_remove=yes
29925 else
29926 echo "$as_me: failed program was:" >&5
29927 sed 's/^/| /' conftest.$ac_ext >&5
29928
29929 ac_cv_lib_posix_remove=no
29930 fi
29931
29932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29933 conftest$ac_exeext conftest.$ac_ext
29934 LIBS=$ac_check_lib_save_LIBS
29935 fi
29936 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29937 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29938 if test $ac_cv_lib_posix_remove = yes; then
29939 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29940 fi
29941
29942 fi
29943
29944 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29945 { echo "$as_me:$LINENO: checking for shmat" >&5
29946 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29947 if test "${ac_cv_func_shmat+set}" = set; then
29948 echo $ECHO_N "(cached) $ECHO_C" >&6
29949 else
29950 cat >conftest.$ac_ext <<_ACEOF
29951 /* confdefs.h. */
29952 _ACEOF
29953 cat confdefs.h >>conftest.$ac_ext
29954 cat >>conftest.$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29956 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29958 #define shmat innocuous_shmat
29959
29960 /* System header to define __stub macros and hopefully few prototypes,
29961 which can conflict with char shmat (); below.
29962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29963 <limits.h> exists even on freestanding compilers. */
29964
29965 #ifdef __STDC__
29966 # include <limits.h>
29967 #else
29968 # include <assert.h>
29969 #endif
29970
29971 #undef shmat
29972
29973 /* Override any GCC internal prototype to avoid an error.
29974 Use char because int might match the return type of a GCC
29975 builtin and then its argument prototype would still apply. */
29976 #ifdef __cplusplus
29977 extern "C"
29978 #endif
29979 char shmat ();
29980 /* The GNU C library defines this for functions which it implements
29981 to always fail with ENOSYS. Some functions are actually named
29982 something starting with __ and the normal name is an alias. */
29983 #if defined __stub_shmat || defined __stub___shmat
29984 choke me
29985 #endif
29986
29987 int
29988 main ()
29989 {
29990 return shmat ();
29991 ;
29992 return 0;
29993 }
29994 _ACEOF
29995 rm -f conftest.$ac_objext conftest$ac_exeext
29996 if { (ac_try="$ac_link"
29997 case "(($ac_try" in
29998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29999 *) ac_try_echo=$ac_try;;
30000 esac
30001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30002 (eval "$ac_link") 2>conftest.er1
30003 ac_status=$?
30004 grep -v '^ *+' conftest.er1 >conftest.err
30005 rm -f conftest.er1
30006 cat conftest.err >&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); } && {
30009 test -z "$ac_c_werror_flag" ||
30010 test ! -s conftest.err
30011 } && test -s conftest$ac_exeext &&
30012 $as_test_x conftest$ac_exeext; then
30013 ac_cv_func_shmat=yes
30014 else
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.$ac_ext >&5
30017
30018 ac_cv_func_shmat=no
30019 fi
30020
30021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30022 conftest$ac_exeext conftest.$ac_ext
30023 fi
30024 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30025 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30026
30027 if test $ac_cv_func_shmat = no; then
30028 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30029 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30030 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30031 echo $ECHO_N "(cached) $ECHO_C" >&6
30032 else
30033 ac_check_lib_save_LIBS=$LIBS
30034 LIBS="-lipc $LIBS"
30035 cat >conftest.$ac_ext <<_ACEOF
30036 /* confdefs.h. */
30037 _ACEOF
30038 cat confdefs.h >>conftest.$ac_ext
30039 cat >>conftest.$ac_ext <<_ACEOF
30040 /* end confdefs.h. */
30041
30042 /* Override any GCC internal prototype to avoid an error.
30043 Use char because int might match the return type of a GCC
30044 builtin and then its argument prototype would still apply. */
30045 #ifdef __cplusplus
30046 extern "C"
30047 #endif
30048 char shmat ();
30049 int
30050 main ()
30051 {
30052 return shmat ();
30053 ;
30054 return 0;
30055 }
30056 _ACEOF
30057 rm -f conftest.$ac_objext conftest$ac_exeext
30058 if { (ac_try="$ac_link"
30059 case "(($ac_try" in
30060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30061 *) ac_try_echo=$ac_try;;
30062 esac
30063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30064 (eval "$ac_link") 2>conftest.er1
30065 ac_status=$?
30066 grep -v '^ *+' conftest.er1 >conftest.err
30067 rm -f conftest.er1
30068 cat conftest.err >&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); } && {
30071 test -z "$ac_c_werror_flag" ||
30072 test ! -s conftest.err
30073 } && test -s conftest$ac_exeext &&
30074 $as_test_x conftest$ac_exeext; then
30075 ac_cv_lib_ipc_shmat=yes
30076 else
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.$ac_ext >&5
30079
30080 ac_cv_lib_ipc_shmat=no
30081 fi
30082
30083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30084 conftest$ac_exeext conftest.$ac_ext
30085 LIBS=$ac_check_lib_save_LIBS
30086 fi
30087 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30088 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30089 if test $ac_cv_lib_ipc_shmat = yes; then
30090 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30091 fi
30092
30093 fi
30094 fi
30095
30096 # Check for libraries that X11R6 Xt/Xaw programs need.
30097 ac_save_LDFLAGS=$LDFLAGS
30098 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30099 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30100 # check for ICE first), but we must link in the order -lSM -lICE or
30101 # we get undefined symbols. So assume we have SM if we have ICE.
30102 # These have to be linked with before -lX11, unlike the other
30103 # libraries we check for below, so use a different variable.
30104 # John Interrante, Karl Berry
30105 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30106 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30107 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30108 echo $ECHO_N "(cached) $ECHO_C" >&6
30109 else
30110 ac_check_lib_save_LIBS=$LIBS
30111 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30112 cat >conftest.$ac_ext <<_ACEOF
30113 /* confdefs.h. */
30114 _ACEOF
30115 cat confdefs.h >>conftest.$ac_ext
30116 cat >>conftest.$ac_ext <<_ACEOF
30117 /* end confdefs.h. */
30118
30119 /* Override any GCC internal prototype to avoid an error.
30120 Use char because int might match the return type of a GCC
30121 builtin and then its argument prototype would still apply. */
30122 #ifdef __cplusplus
30123 extern "C"
30124 #endif
30125 char IceConnectionNumber ();
30126 int
30127 main ()
30128 {
30129 return IceConnectionNumber ();
30130 ;
30131 return 0;
30132 }
30133 _ACEOF
30134 rm -f conftest.$ac_objext conftest$ac_exeext
30135 if { (ac_try="$ac_link"
30136 case "(($ac_try" in
30137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30138 *) ac_try_echo=$ac_try;;
30139 esac
30140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30141 (eval "$ac_link") 2>conftest.er1
30142 ac_status=$?
30143 grep -v '^ *+' conftest.er1 >conftest.err
30144 rm -f conftest.er1
30145 cat conftest.err >&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } && {
30148 test -z "$ac_c_werror_flag" ||
30149 test ! -s conftest.err
30150 } && test -s conftest$ac_exeext &&
30151 $as_test_x conftest$ac_exeext; then
30152 ac_cv_lib_ICE_IceConnectionNumber=yes
30153 else
30154 echo "$as_me: failed program was:" >&5
30155 sed 's/^/| /' conftest.$ac_ext >&5
30156
30157 ac_cv_lib_ICE_IceConnectionNumber=no
30158 fi
30159
30160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30161 conftest$ac_exeext conftest.$ac_ext
30162 LIBS=$ac_check_lib_save_LIBS
30163 fi
30164 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30165 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30166 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30167 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30168 fi
30169
30170 LDFLAGS=$ac_save_LDFLAGS
30171
30172 fi
30173
30174
30175 if test "$no_x" = "yes"; then
30176 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30177 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30178 { (exit 1); exit 1; }; }
30179 fi
30180
30181 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30182 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30183 AFMINSTALL=afminstall
30184 COMPILED_X_PROGRAM=0
30185
30186 fi
30187
30188 if test "$wxUSE_X11" = 1; then
30189 if test "$wxUSE_NANOX" = "yes"; then
30190 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30191 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30192 if test "x$MICROWIN" = x ; then
30193 { echo "$as_me:$LINENO: result: not found" >&5
30194 echo "${ECHO_T}not found" >&6; }
30195 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30196 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30197 { (exit 1); exit 1; }; }
30198 else
30199 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30200 echo "${ECHO_T}$MICROWIN" >&6; }
30201 cat >>confdefs.h <<\_ACEOF
30202 #define wxUSE_NANOX 1
30203 _ACEOF
30204
30205 fi
30206 fi
30207
30208 if test "$wxUSE_UNICODE" = "yes"; then
30209
30210
30211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30212 if test -n "$ac_tool_prefix"; then
30213 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30214 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30217 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30218 echo $ECHO_N "(cached) $ECHO_C" >&6
30219 else
30220 case $PKG_CONFIG in
30221 [\\/]* | ?:[\\/]*)
30222 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30223 ;;
30224 *)
30225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30226 for as_dir in $PATH
30227 do
30228 IFS=$as_save_IFS
30229 test -z "$as_dir" && as_dir=.
30230 for ac_exec_ext in '' $ac_executable_extensions; do
30231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30232 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30234 break 2
30235 fi
30236 done
30237 done
30238 IFS=$as_save_IFS
30239
30240 ;;
30241 esac
30242 fi
30243 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30244 if test -n "$PKG_CONFIG"; then
30245 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30246 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30247 else
30248 { echo "$as_me:$LINENO: result: no" >&5
30249 echo "${ECHO_T}no" >&6; }
30250 fi
30251
30252
30253 fi
30254 if test -z "$ac_cv_path_PKG_CONFIG"; then
30255 ac_pt_PKG_CONFIG=$PKG_CONFIG
30256 # Extract the first word of "pkg-config", so it can be a program name with args.
30257 set dummy pkg-config; ac_word=$2
30258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30260 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30261 echo $ECHO_N "(cached) $ECHO_C" >&6
30262 else
30263 case $ac_pt_PKG_CONFIG in
30264 [\\/]* | ?:[\\/]*)
30265 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30266 ;;
30267 *)
30268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30269 for as_dir in $PATH
30270 do
30271 IFS=$as_save_IFS
30272 test -z "$as_dir" && as_dir=.
30273 for ac_exec_ext in '' $ac_executable_extensions; do
30274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30275 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30277 break 2
30278 fi
30279 done
30280 done
30281 IFS=$as_save_IFS
30282
30283 ;;
30284 esac
30285 fi
30286 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30287 if test -n "$ac_pt_PKG_CONFIG"; then
30288 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30289 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30290 else
30291 { echo "$as_me:$LINENO: result: no" >&5
30292 echo "${ECHO_T}no" >&6; }
30293 fi
30294
30295 if test "x$ac_pt_PKG_CONFIG" = x; then
30296 PKG_CONFIG=""
30297 else
30298 case $cross_compiling:$ac_tool_warned in
30299 yes:)
30300 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30301 whose name does not start with the host triplet. If you think this
30302 configuration is useful to you, please write to autoconf@gnu.org." >&5
30303 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30304 whose name does not start with the host triplet. If you think this
30305 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30306 ac_tool_warned=yes ;;
30307 esac
30308 PKG_CONFIG=$ac_pt_PKG_CONFIG
30309 fi
30310 else
30311 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30312 fi
30313
30314 fi
30315 if test -n "$PKG_CONFIG"; then
30316 _pkg_min_version=0.9.0
30317 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30318 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30319 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30320 { echo "$as_me:$LINENO: result: yes" >&5
30321 echo "${ECHO_T}yes" >&6; }
30322 else
30323 { echo "$as_me:$LINENO: result: no" >&5
30324 echo "${ECHO_T}no" >&6; }
30325 PKG_CONFIG=""
30326 fi
30327
30328 fi
30329
30330
30331 pkg_failed=no
30332 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30333 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30334
30335 if test -n "$PKG_CONFIG"; then
30336 if test -n "$PANGOX_CFLAGS"; then
30337 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30338 else
30339 if test -n "$PKG_CONFIG" && \
30340 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30341 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30342 ac_status=$?
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; then
30345 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30346 else
30347 pkg_failed=yes
30348 fi
30349 fi
30350 else
30351 pkg_failed=untried
30352 fi
30353 if test -n "$PKG_CONFIG"; then
30354 if test -n "$PANGOX_LIBS"; then
30355 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30356 else
30357 if test -n "$PKG_CONFIG" && \
30358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30359 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30360 ac_status=$?
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; then
30363 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30364 else
30365 pkg_failed=yes
30366 fi
30367 fi
30368 else
30369 pkg_failed=untried
30370 fi
30371
30372
30373
30374 if test $pkg_failed = yes; then
30375
30376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30377 _pkg_short_errors_supported=yes
30378 else
30379 _pkg_short_errors_supported=no
30380 fi
30381 if test $_pkg_short_errors_supported = yes; then
30382 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30383 else
30384 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30385 fi
30386 # Put the nasty error message in config.log where it belongs
30387 echo "$PANGOX_PKG_ERRORS" >&5
30388
30389
30390 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30391 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30392 { (exit 1); exit 1; }; }
30393
30394
30395 elif test $pkg_failed = untried; then
30396
30397 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30398 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30399 { (exit 1); exit 1; }; }
30400
30401
30402 else
30403 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30404 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30405 { echo "$as_me:$LINENO: result: yes" >&5
30406 echo "${ECHO_T}yes" >&6; }
30407
30408 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30409 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30410 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30411
30412 fi
30413
30414 pkg_failed=no
30415 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30416 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30417
30418 if test -n "$PKG_CONFIG"; then
30419 if test -n "$PANGOFT2_CFLAGS"; then
30420 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30421 else
30422 if test -n "$PKG_CONFIG" && \
30423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30424 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30425 ac_status=$?
30426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427 (exit $ac_status); }; then
30428 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30429 else
30430 pkg_failed=yes
30431 fi
30432 fi
30433 else
30434 pkg_failed=untried
30435 fi
30436 if test -n "$PKG_CONFIG"; then
30437 if test -n "$PANGOFT2_LIBS"; then
30438 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30439 else
30440 if test -n "$PKG_CONFIG" && \
30441 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30442 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30443 ac_status=$?
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; then
30446 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30447 else
30448 pkg_failed=yes
30449 fi
30450 fi
30451 else
30452 pkg_failed=untried
30453 fi
30454
30455
30456
30457 if test $pkg_failed = yes; then
30458
30459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30460 _pkg_short_errors_supported=yes
30461 else
30462 _pkg_short_errors_supported=no
30463 fi
30464 if test $_pkg_short_errors_supported = yes; then
30465 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30466 else
30467 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30468 fi
30469 # Put the nasty error message in config.log where it belongs
30470 echo "$PANGOFT2_PKG_ERRORS" >&5
30471
30472
30473 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30474 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30475 wxUSE_PRINTING_ARCHITECTURE="no"
30476
30477
30478 elif test $pkg_failed = untried; then
30479
30480 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30481 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30482 wxUSE_PRINTING_ARCHITECTURE="no"
30483
30484
30485 else
30486 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30487 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30488 { echo "$as_me:$LINENO: result: yes" >&5
30489 echo "${ECHO_T}yes" >&6; }
30490
30491 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30492 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30493 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30494
30495 fi
30496
30497 pkg_failed=no
30498 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30499 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30500
30501 if test -n "$PKG_CONFIG"; then
30502 if test -n "$PANGOXFT_CFLAGS"; then
30503 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30504 else
30505 if test -n "$PKG_CONFIG" && \
30506 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30507 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30508 ac_status=$?
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; then
30511 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30512 else
30513 pkg_failed=yes
30514 fi
30515 fi
30516 else
30517 pkg_failed=untried
30518 fi
30519 if test -n "$PKG_CONFIG"; then
30520 if test -n "$PANGOXFT_LIBS"; then
30521 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30522 else
30523 if test -n "$PKG_CONFIG" && \
30524 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30525 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30526 ac_status=$?
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); }; then
30529 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30530 else
30531 pkg_failed=yes
30532 fi
30533 fi
30534 else
30535 pkg_failed=untried
30536 fi
30537
30538
30539
30540 if test $pkg_failed = yes; then
30541
30542 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30543 _pkg_short_errors_supported=yes
30544 else
30545 _pkg_short_errors_supported=no
30546 fi
30547 if test $_pkg_short_errors_supported = yes; then
30548 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30549 else
30550 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30551 fi
30552 # Put the nasty error message in config.log where it belongs
30553 echo "$PANGOXFT_PKG_ERRORS" >&5
30554
30555
30556 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30557 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30558
30559
30560 elif test $pkg_failed = untried; then
30561
30562 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30563 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30564
30565
30566 else
30567 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30568 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30569 { echo "$as_me:$LINENO: result: yes" >&5
30570 echo "${ECHO_T}yes" >&6; }
30571
30572 cat >>confdefs.h <<\_ACEOF
30573 #define HAVE_PANGO_XFT 1
30574 _ACEOF
30575
30576 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30577 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30578 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30579
30580 fi
30581 save_LIBS="$LIBS"
30582 LIBS="$LIBS $PANGOX_LIBS"
30583
30584 for ac_func in pango_font_family_is_monospace
30585 do
30586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30587 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30589 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30590 echo $ECHO_N "(cached) $ECHO_C" >&6
30591 else
30592 cat >conftest.$ac_ext <<_ACEOF
30593 /* confdefs.h. */
30594 _ACEOF
30595 cat confdefs.h >>conftest.$ac_ext
30596 cat >>conftest.$ac_ext <<_ACEOF
30597 /* end confdefs.h. */
30598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30600 #define $ac_func innocuous_$ac_func
30601
30602 /* System header to define __stub macros and hopefully few prototypes,
30603 which can conflict with char $ac_func (); below.
30604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30605 <limits.h> exists even on freestanding compilers. */
30606
30607 #ifdef __STDC__
30608 # include <limits.h>
30609 #else
30610 # include <assert.h>
30611 #endif
30612
30613 #undef $ac_func
30614
30615 /* Override any GCC internal prototype to avoid an error.
30616 Use char because int might match the return type of a GCC
30617 builtin and then its argument prototype would still apply. */
30618 #ifdef __cplusplus
30619 extern "C"
30620 #endif
30621 char $ac_func ();
30622 /* The GNU C library defines this for functions which it implements
30623 to always fail with ENOSYS. Some functions are actually named
30624 something starting with __ and the normal name is an alias. */
30625 #if defined __stub_$ac_func || defined __stub___$ac_func
30626 choke me
30627 #endif
30628
30629 int
30630 main ()
30631 {
30632 return $ac_func ();
30633 ;
30634 return 0;
30635 }
30636 _ACEOF
30637 rm -f conftest.$ac_objext conftest$ac_exeext
30638 if { (ac_try="$ac_link"
30639 case "(($ac_try" in
30640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30641 *) ac_try_echo=$ac_try;;
30642 esac
30643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30644 (eval "$ac_link") 2>conftest.er1
30645 ac_status=$?
30646 grep -v '^ *+' conftest.er1 >conftest.err
30647 rm -f conftest.er1
30648 cat conftest.err >&5
30649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30650 (exit $ac_status); } && {
30651 test -z "$ac_c_werror_flag" ||
30652 test ! -s conftest.err
30653 } && test -s conftest$ac_exeext &&
30654 $as_test_x conftest$ac_exeext; then
30655 eval "$as_ac_var=yes"
30656 else
30657 echo "$as_me: failed program was:" >&5
30658 sed 's/^/| /' conftest.$ac_ext >&5
30659
30660 eval "$as_ac_var=no"
30661 fi
30662
30663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30664 conftest$ac_exeext conftest.$ac_ext
30665 fi
30666 ac_res=`eval echo '${'$as_ac_var'}'`
30667 { echo "$as_me:$LINENO: result: $ac_res" >&5
30668 echo "${ECHO_T}$ac_res" >&6; }
30669 if test `eval echo '${'$as_ac_var'}'` = yes; then
30670 cat >>confdefs.h <<_ACEOF
30671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30672 _ACEOF
30673
30674 fi
30675 done
30676
30677 LIBS="$save_LIBS"
30678 fi
30679
30680 wxUSE_UNIVERSAL="yes"
30681
30682 if test "$wxUSE_NANOX" = "yes"; then
30683 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30684 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"
30685 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30686 else
30687 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30688 fi
30689
30690 TOOLKIT=X11
30691 GUIDIST=X11_DIST
30692 fi
30693
30694 if test "$wxUSE_MOTIF" = 1; then
30695 if test "$wxUSE_UNICODE" = "yes"; then
30696 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30697 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30698 { (exit 1); exit 1; }; }
30699 fi
30700
30701 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30702 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30703
30704 ac_find_includes=
30705 for ac_dir in $SEARCH_INCLUDE /usr/include;
30706 do
30707 if test -f "$ac_dir/Xm/Xm.h"; then
30708 ac_find_includes=$ac_dir
30709 break
30710 fi
30711 done
30712
30713 if test "$ac_find_includes" != "" ; then
30714 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30715 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30716
30717 if test "x$ac_find_includes" = "x/usr/include"; then
30718 ac_path_to_include=""
30719 else
30720 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30721 result=$?
30722 if test $result = 0; then
30723 ac_path_to_include=""
30724 else
30725 ac_path_to_include=" -I$ac_find_includes"
30726 fi
30727 fi
30728
30729 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30730 else
30731 save_CFLAGS=$CFLAGS
30732 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30733
30734 cat >conftest.$ac_ext <<_ACEOF
30735 /* confdefs.h. */
30736 _ACEOF
30737 cat confdefs.h >>conftest.$ac_ext
30738 cat >>conftest.$ac_ext <<_ACEOF
30739 /* end confdefs.h. */
30740
30741 #include <Xm/Xm.h>
30742
30743 int
30744 main ()
30745 {
30746
30747 int version;
30748 version = xmUseVersion;
30749
30750 ;
30751 return 0;
30752 }
30753 _ACEOF
30754 rm -f conftest.$ac_objext
30755 if { (ac_try="$ac_compile"
30756 case "(($ac_try" in
30757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30758 *) ac_try_echo=$ac_try;;
30759 esac
30760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30761 (eval "$ac_compile") 2>conftest.er1
30762 ac_status=$?
30763 grep -v '^ *+' conftest.er1 >conftest.err
30764 rm -f conftest.er1
30765 cat conftest.err >&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } && {
30768 test -z "$ac_c_werror_flag" ||
30769 test ! -s conftest.err
30770 } && test -s conftest.$ac_objext; then
30771
30772 { echo "$as_me:$LINENO: result: found in default search path" >&5
30773 echo "${ECHO_T}found in default search path" >&6; }
30774 COMPILED_X_PROGRAM=1
30775
30776 else
30777 echo "$as_me: failed program was:" >&5
30778 sed 's/^/| /' conftest.$ac_ext >&5
30779
30780
30781 { echo "$as_me:$LINENO: result: no" >&5
30782 echo "${ECHO_T}no" >&6; }
30783 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30784 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30785 { (exit 1); exit 1; }; }
30786
30787
30788 fi
30789
30790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30791
30792 CFLAGS=$save_CFLAGS
30793 fi
30794
30795
30796 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30797 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30798
30799 ac_find_libraries=
30800 for ac_dir in $SEARCH_LIB;
30801 do
30802 for ac_extension in a so sl dylib dll.a; do
30803 if test -f "$ac_dir/libXm.$ac_extension"; then
30804 ac_find_libraries=$ac_dir
30805 break 2
30806 fi
30807 done
30808 done
30809
30810
30811 if test "x$ac_find_libraries" != "x" ; then
30812 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30813 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30814
30815
30816 if test "$ac_find_libraries" = "default location"; then
30817 ac_path_to_link=""
30818 else
30819 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30820 result=$?
30821 if test $result = 0; then
30822 ac_path_to_link=""
30823 else
30824 ac_path_to_link=" -L$ac_find_libraries"
30825 fi
30826 fi
30827
30828 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30829 else
30830 save_CFLAGS=$CFLAGS
30831 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30832 save_LIBS="$LIBS"
30833 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30834
30835 cat >conftest.$ac_ext <<_ACEOF
30836 /* confdefs.h. */
30837 _ACEOF
30838 cat confdefs.h >>conftest.$ac_ext
30839 cat >>conftest.$ac_ext <<_ACEOF
30840 /* end confdefs.h. */
30841
30842 #include <Xm/Xm.h>
30843
30844 int
30845 main ()
30846 {
30847
30848 int version;
30849 version = xmUseVersion;
30850
30851 ;
30852 return 0;
30853 }
30854 _ACEOF
30855 rm -f conftest.$ac_objext conftest$ac_exeext
30856 if { (ac_try="$ac_link"
30857 case "(($ac_try" in
30858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30859 *) ac_try_echo=$ac_try;;
30860 esac
30861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30862 (eval "$ac_link") 2>conftest.er1
30863 ac_status=$?
30864 grep -v '^ *+' conftest.er1 >conftest.err
30865 rm -f conftest.er1
30866 cat conftest.err >&5
30867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30868 (exit $ac_status); } && {
30869 test -z "$ac_c_werror_flag" ||
30870 test ! -s conftest.err
30871 } && test -s conftest$ac_exeext &&
30872 $as_test_x conftest$ac_exeext; then
30873
30874 { echo "$as_me:$LINENO: result: found in default search path" >&5
30875 echo "${ECHO_T}found in default search path" >&6; }
30876 COMPILED_X_PROGRAM=1
30877
30878 else
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30881
30882
30883 { echo "$as_me:$LINENO: result: no" >&5
30884 echo "${ECHO_T}no" >&6; }
30885 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30886 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30887 { (exit 1); exit 1; }; }
30888
30889
30890 fi
30891
30892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30893 conftest$ac_exeext conftest.$ac_ext
30894
30895 CFLAGS=$save_CFLAGS
30896 LIBS="$save_LIBS"
30897 fi
30898
30899 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30900 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30901 libp_link=""
30902 libsm_ice_link=""
30903 libs_found=0
30904 for libp in "" " -lXp"; do
30905 if test "$libs_found" = "0"; then
30906 for libsm_ice in "" " -lSM -lICE"; do
30907 if test "$libs_found" = "0"; then
30908 save_LIBS="$LIBS"
30909 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30910 save_CFLAGS=$CFLAGS
30911 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30912
30913 cat >conftest.$ac_ext <<_ACEOF
30914 /* confdefs.h. */
30915 _ACEOF
30916 cat confdefs.h >>conftest.$ac_ext
30917 cat >>conftest.$ac_ext <<_ACEOF
30918 /* end confdefs.h. */
30919
30920 #include <Xm/Xm.h>
30921 #include <Xm/List.h>
30922
30923 int
30924 main ()
30925 {
30926
30927 XmString string = NULL;
30928 Widget w = NULL;
30929 int position = 0;
30930 XmListAddItem(w, string, position);
30931
30932 ;
30933 return 0;
30934 }
30935 _ACEOF
30936 rm -f conftest.$ac_objext conftest$ac_exeext
30937 if { (ac_try="$ac_link"
30938 case "(($ac_try" in
30939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30940 *) ac_try_echo=$ac_try;;
30941 esac
30942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30943 (eval "$ac_link") 2>conftest.er1
30944 ac_status=$?
30945 grep -v '^ *+' conftest.er1 >conftest.err
30946 rm -f conftest.er1
30947 cat conftest.err >&5
30948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 (exit $ac_status); } && {
30950 test -z "$ac_c_werror_flag" ||
30951 test ! -s conftest.err
30952 } && test -s conftest$ac_exeext &&
30953 $as_test_x conftest$ac_exeext; then
30954
30955 libp_link="$libp"
30956 libsm_ice_link="$libsm_ice"
30957 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30958 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30959 libs_found=1
30960
30961 else
30962 echo "$as_me: failed program was:" >&5
30963 sed 's/^/| /' conftest.$ac_ext >&5
30964
30965
30966
30967 fi
30968
30969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30970 conftest$ac_exeext conftest.$ac_ext
30971
30972 LIBS="$save_LIBS"
30973 CFLAGS=$save_CFLAGS
30974 fi
30975 done
30976 fi
30977 done
30978
30979 if test "$libs_found" = "0"; then
30980 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30981 echo "${ECHO_T}can't find the right libraries" >&6; }
30982 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30983 echo "$as_me: error: can't link a simple motif program" >&2;}
30984 { (exit 1); exit 1; }; }
30985 fi
30986
30987 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30988 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30989 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 else
30992 ac_check_lib_save_LIBS=$LIBS
30993 LIBS="-lSgm $LIBS"
30994 cat >conftest.$ac_ext <<_ACEOF
30995 /* confdefs.h. */
30996 _ACEOF
30997 cat confdefs.h >>conftest.$ac_ext
30998 cat >>conftest.$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31000
31001 /* Override any GCC internal prototype to avoid an error.
31002 Use char because int might match the return type of a GCC
31003 builtin and then its argument prototype would still apply. */
31004 #ifdef __cplusplus
31005 extern "C"
31006 #endif
31007 char SgCreateList ();
31008 int
31009 main ()
31010 {
31011 return SgCreateList ();
31012 ;
31013 return 0;
31014 }
31015 _ACEOF
31016 rm -f conftest.$ac_objext conftest$ac_exeext
31017 if { (ac_try="$ac_link"
31018 case "(($ac_try" in
31019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31020 *) ac_try_echo=$ac_try;;
31021 esac
31022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31023 (eval "$ac_link") 2>conftest.er1
31024 ac_status=$?
31025 grep -v '^ *+' conftest.er1 >conftest.err
31026 rm -f conftest.er1
31027 cat conftest.err >&5
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); } && {
31030 test -z "$ac_c_werror_flag" ||
31031 test ! -s conftest.err
31032 } && test -s conftest$ac_exeext &&
31033 $as_test_x conftest$ac_exeext; then
31034 ac_cv_lib_Sgm_SgCreateList=yes
31035 else
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.$ac_ext >&5
31038
31039 ac_cv_lib_Sgm_SgCreateList=no
31040 fi
31041
31042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31043 conftest$ac_exeext conftest.$ac_ext
31044 LIBS=$ac_check_lib_save_LIBS
31045 fi
31046 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31047 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31048 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31049 libsgm_link=" -lSgm"
31050 fi
31051
31052
31053 save_CFLAGS=$CFLAGS
31054 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31055
31056 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31057 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31058 if test "${wx_cv_lib_motif2+set}" = set; then
31059 echo $ECHO_N "(cached) $ECHO_C" >&6
31060 else
31061 cat >conftest.$ac_ext <<_ACEOF
31062 /* confdefs.h. */
31063 _ACEOF
31064 cat confdefs.h >>conftest.$ac_ext
31065 cat >>conftest.$ac_ext <<_ACEOF
31066 /* end confdefs.h. */
31067
31068 #include <Xm/Xm.h>
31069
31070 int
31071 main ()
31072 {
31073
31074 #if XmVersion < 2000
31075 Not Motif 2
31076 #endif
31077
31078 ;
31079 return 0;
31080 }
31081 _ACEOF
31082 rm -f conftest.$ac_objext
31083 if { (ac_try="$ac_compile"
31084 case "(($ac_try" in
31085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31086 *) ac_try_echo=$ac_try;;
31087 esac
31088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31089 (eval "$ac_compile") 2>conftest.er1
31090 ac_status=$?
31091 grep -v '^ *+' conftest.er1 >conftest.err
31092 rm -f conftest.er1
31093 cat conftest.err >&5
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); } && {
31096 test -z "$ac_c_werror_flag" ||
31097 test ! -s conftest.err
31098 } && test -s conftest.$ac_objext; then
31099 wx_cv_lib_motif2="yes"
31100 else
31101 echo "$as_me: failed program was:" >&5
31102 sed 's/^/| /' conftest.$ac_ext >&5
31103
31104 wx_cv_lib_motif2="no"
31105 fi
31106
31107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31108 fi
31109 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31110 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31111 if test "$wx_cv_lib_motif2" = "yes"; then
31112 cat >>confdefs.h <<\_ACEOF
31113 #define __WXMOTIF20__ 1
31114 _ACEOF
31115
31116 else
31117 cat >>confdefs.h <<\_ACEOF
31118 #define __WXMOTIF20__ 0
31119 _ACEOF
31120
31121 fi
31122
31123 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31124 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31125 if test "${wx_cv_lib_lesstif+set}" = set; then
31126 echo $ECHO_N "(cached) $ECHO_C" >&6
31127 else
31128 cat >conftest.$ac_ext <<_ACEOF
31129 /* confdefs.h. */
31130 _ACEOF
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31134
31135 #include <Xm/Xm.h>
31136
31137 int
31138 main ()
31139 {
31140
31141 #if !defined(LesstifVersion) || LesstifVersion <= 0
31142 Not Lesstif
31143 #endif
31144
31145 ;
31146 return 0;
31147 }
31148 _ACEOF
31149 rm -f conftest.$ac_objext
31150 if { (ac_try="$ac_compile"
31151 case "(($ac_try" in
31152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31153 *) ac_try_echo=$ac_try;;
31154 esac
31155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31156 (eval "$ac_compile") 2>conftest.er1
31157 ac_status=$?
31158 grep -v '^ *+' conftest.er1 >conftest.err
31159 rm -f conftest.er1
31160 cat conftest.err >&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); } && {
31163 test -z "$ac_c_werror_flag" ||
31164 test ! -s conftest.err
31165 } && test -s conftest.$ac_objext; then
31166 wx_cv_lib_lesstif="yes"
31167 else
31168 echo "$as_me: failed program was:" >&5
31169 sed 's/^/| /' conftest.$ac_ext >&5
31170
31171 wx_cv_lib_lesstif="no"
31172 fi
31173
31174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31175
31176 fi
31177 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31178 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31179 if test "$wx_cv_lib_lesstif" = "yes"; then
31180 cat >>confdefs.h <<\_ACEOF
31181 #define __WXLESSTIF__ 1
31182 _ACEOF
31183
31184 else
31185 cat >>confdefs.h <<\_ACEOF
31186 #define __WXLESSTIF__ 0
31187 _ACEOF
31188
31189 fi
31190
31191 CFLAGS=$save_CFLAGS
31192
31193 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31194 TOOLKIT=MOTIF
31195 GUIDIST=MOTIF_DIST
31196 fi
31197
31198 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31199 if test "$wxUSE_LIBXPM" = "sys"; then
31200 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31201 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31202
31203 ac_find_libraries=
31204 for ac_dir in $SEARCH_LIB;
31205 do
31206 for ac_extension in a so sl dylib dll.a; do
31207 if test -f "$ac_dir/libXpm.$ac_extension"; then
31208 ac_find_libraries=$ac_dir
31209 break 2
31210 fi
31211 done
31212 done
31213
31214 if test "$ac_find_libraries" != "" ; then
31215
31216 if test "$ac_find_libraries" = "default location"; then
31217 ac_path_to_link=""
31218 else
31219 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31220 result=$?
31221 if test $result = 0; then
31222 ac_path_to_link=""
31223 else
31224 ac_path_to_link=" -L$ac_find_libraries"
31225 fi
31226 fi
31227
31228 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31229 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31230 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31231
31232 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31233 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31234 if test "${wx_cv_x11_xpm_h+set}" = set; then
31235 echo $ECHO_N "(cached) $ECHO_C" >&6
31236 else
31237
31238 save_CFLAGS=$CFLAGS
31239 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31240
31241 cat >conftest.$ac_ext <<_ACEOF
31242 /* confdefs.h. */
31243 _ACEOF
31244 cat confdefs.h >>conftest.$ac_ext
31245 cat >>conftest.$ac_ext <<_ACEOF
31246 /* end confdefs.h. */
31247
31248 #include <X11/xpm.h>
31249
31250 int
31251 main ()
31252 {
31253
31254 int version;
31255 version = XpmLibraryVersion();
31256
31257 ;
31258 return 0;
31259 }
31260 _ACEOF
31261 rm -f conftest.$ac_objext
31262 if { (ac_try="$ac_compile"
31263 case "(($ac_try" in
31264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31265 *) ac_try_echo=$ac_try;;
31266 esac
31267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31268 (eval "$ac_compile") 2>conftest.er1
31269 ac_status=$?
31270 grep -v '^ *+' conftest.er1 >conftest.err
31271 rm -f conftest.er1
31272 cat conftest.err >&5
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); } && {
31275 test -z "$ac_c_werror_flag" ||
31276 test ! -s conftest.err
31277 } && test -s conftest.$ac_objext; then
31278 wx_cv_x11_xpm_h=yes
31279 else
31280 echo "$as_me: failed program was:" >&5
31281 sed 's/^/| /' conftest.$ac_ext >&5
31282
31283 wx_cv_x11_xpm_h=no
31284
31285 fi
31286
31287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31288
31289 CFLAGS=$save_CFLAGS
31290
31291
31292 fi
31293 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31294 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31295
31296 if test $wx_cv_x11_xpm_h = "yes"; then
31297 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31298 cat >>confdefs.h <<\_ACEOF
31299 #define wxHAVE_LIB_XPM 1
31300 _ACEOF
31301
31302 else
31303 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31304 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31305 fi
31306 fi
31307
31308 fi
31309
31310 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31311 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31312 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31313 echo $ECHO_N "(cached) $ECHO_C" >&6
31314 else
31315 ac_check_lib_save_LIBS=$LIBS
31316 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31317 cat >conftest.$ac_ext <<_ACEOF
31318 /* confdefs.h. */
31319 _ACEOF
31320 cat confdefs.h >>conftest.$ac_ext
31321 cat >>conftest.$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31323
31324 /* Override any GCC internal prototype to avoid an error.
31325 Use char because int might match the return type of a GCC
31326 builtin and then its argument prototype would still apply. */
31327 #ifdef __cplusplus
31328 extern "C"
31329 #endif
31330 char XShapeQueryExtension ();
31331 int
31332 main ()
31333 {
31334 return XShapeQueryExtension ();
31335 ;
31336 return 0;
31337 }
31338 _ACEOF
31339 rm -f conftest.$ac_objext conftest$ac_exeext
31340 if { (ac_try="$ac_link"
31341 case "(($ac_try" in
31342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31343 *) ac_try_echo=$ac_try;;
31344 esac
31345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31346 (eval "$ac_link") 2>conftest.er1
31347 ac_status=$?
31348 grep -v '^ *+' conftest.er1 >conftest.err
31349 rm -f conftest.er1
31350 cat conftest.err >&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); } && {
31353 test -z "$ac_c_werror_flag" ||
31354 test ! -s conftest.err
31355 } && test -s conftest$ac_exeext &&
31356 $as_test_x conftest$ac_exeext; then
31357 ac_cv_lib_Xext_XShapeQueryExtension=yes
31358 else
31359 echo "$as_me: failed program was:" >&5
31360 sed 's/^/| /' conftest.$ac_ext >&5
31361
31362 ac_cv_lib_Xext_XShapeQueryExtension=no
31363 fi
31364
31365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31366 conftest$ac_exeext conftest.$ac_ext
31367 LIBS=$ac_check_lib_save_LIBS
31368 fi
31369 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31370 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31371 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31372
31373 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31374 wxHAVE_XEXT_LIB=1
31375
31376 fi
31377
31378
31379 if test "$wxHAVE_XEXT_LIB" = 1; then
31380 save_CFLAGS="$CFLAGS"
31381 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31382
31383 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31384 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31385 cat >conftest.$ac_ext <<_ACEOF
31386 /* confdefs.h. */
31387 _ACEOF
31388 cat confdefs.h >>conftest.$ac_ext
31389 cat >>conftest.$ac_ext <<_ACEOF
31390 /* end confdefs.h. */
31391
31392 #include <X11/Xlib.h>
31393 #include <X11/extensions/shape.h>
31394
31395 int
31396 main ()
31397 {
31398
31399 int dummy1, dummy2;
31400 XShapeQueryExtension((Display*)NULL,
31401 (int*)NULL, (int*)NULL);
31402
31403 ;
31404 return 0;
31405 }
31406 _ACEOF
31407 rm -f conftest.$ac_objext
31408 if { (ac_try="$ac_compile"
31409 case "(($ac_try" in
31410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31411 *) ac_try_echo=$ac_try;;
31412 esac
31413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31414 (eval "$ac_compile") 2>conftest.er1
31415 ac_status=$?
31416 grep -v '^ *+' conftest.er1 >conftest.err
31417 rm -f conftest.er1
31418 cat conftest.err >&5
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); } && {
31421 test -z "$ac_c_werror_flag" ||
31422 test ! -s conftest.err
31423 } && test -s conftest.$ac_objext; then
31424
31425 cat >>confdefs.h <<\_ACEOF
31426 #define HAVE_XSHAPE 1
31427 _ACEOF
31428
31429 { echo "$as_me:$LINENO: result: found" >&5
31430 echo "${ECHO_T}found" >&6; }
31431
31432 else
31433 echo "$as_me: failed program was:" >&5
31434 sed 's/^/| /' conftest.$ac_ext >&5
31435
31436
31437 { echo "$as_me:$LINENO: result: not found" >&5
31438 echo "${ECHO_T}not found" >&6; }
31439
31440 fi
31441
31442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31443 CFLAGS="$save_CFLAGS"
31444
31445 fi
31446 fi
31447
31448 if test "$wxUSE_MAC" = 1; then
31449 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31450 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31451 if test "$GCC" = yes; then
31452 { echo "$as_me:$LINENO: result: gcc" >&5
31453 echo "${ECHO_T}gcc" >&6; }
31454 CPPFLAGS_PASCAL="-fpascal-strings"
31455 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31456 { echo "$as_me:$LINENO: result: xlc" >&5
31457 echo "${ECHO_T}xlc" >&6; }
31458 CPPFLAGS_PASCAL="-qmacpstr"
31459 else
31460 { echo "$as_me:$LINENO: result: none" >&5
31461 echo "${ECHO_T}none" >&6; }
31462 fi
31463
31464 if test "x$wxUSE_UNIX" = "xyes"; then
31465 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31466 else
31467 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31468 fi
31469
31470 TOOLKIT=MAC
31471 GUIDIST=MACX_DIST
31472 WXBASEPORT="_carbon"
31473 fi
31474
31475 if test "$wxUSE_COCOA" = 1; then
31476 TOOLKIT=COCOA
31477 GUIDIST=COCOA_DIST
31478 fi
31479
31480 if test "$wxUSE_PM" = 1; then
31481 TOOLKIT=PM
31482 GUIDIST=PM_DIST
31483 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31484 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31485 if test "${wx_cv_spbcdata+set}" = set; then
31486 echo $ECHO_N "(cached) $ECHO_C" >&6
31487 else
31488
31489 cat >conftest.$ac_ext <<_ACEOF
31490 /* confdefs.h. */
31491 _ACEOF
31492 cat confdefs.h >>conftest.$ac_ext
31493 cat >>conftest.$ac_ext <<_ACEOF
31494 /* end confdefs.h. */
31495
31496 #define INCL_PM
31497 #include <os2.h>
31498
31499 int
31500 main ()
31501 {
31502
31503 SPBCDATA test;
31504
31505 ;
31506 return 0;
31507 }
31508 _ACEOF
31509 rm -f conftest.$ac_objext
31510 if { (ac_try="$ac_compile"
31511 case "(($ac_try" in
31512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31513 *) ac_try_echo=$ac_try;;
31514 esac
31515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31516 (eval "$ac_compile") 2>conftest.er1
31517 ac_status=$?
31518 grep -v '^ *+' conftest.er1 >conftest.err
31519 rm -f conftest.er1
31520 cat conftest.err >&5
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); } && {
31523 test -z "$ac_c_werror_flag" ||
31524 test ! -s conftest.err
31525 } && test -s conftest.$ac_objext; then
31526 wx_cv_spbcdata=yes
31527 else
31528 echo "$as_me: failed program was:" >&5
31529 sed 's/^/| /' conftest.$ac_ext >&5
31530
31531 wx_cv_spbcdata=no
31532
31533 fi
31534
31535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31536
31537
31538 fi
31539 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31540 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31541
31542 if test $wx_cv_spbcdata = "yes"; then
31543 cat >>confdefs.h <<\_ACEOF
31544 #define HAVE_SPBCDATA 1
31545 _ACEOF
31546
31547 fi
31548 fi
31549
31550 if test "$TOOLKIT" = "PM" ; then
31551 TOOLKIT_DIR="os2"
31552 else
31553 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31554 fi
31555
31556 if test "$wxUSE_UNIVERSAL" = "yes"; then
31557 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31558 WIDGET_SET=univ
31559 fi
31560
31561 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31562 DISTDIR="wx\$(TOOLKIT)"
31563 else
31564 USE_GUI=0
31565
31566 TOOLKIT_DIR="base"
31567
31568 if test "$USE_WIN32" = 1 ; then
31569 TOOLKIT="MSW"
31570 fi
31571
31572 GUIDIST="BASE_DIST"
31573 DISTDIR="wxBase"
31574 fi
31575
31576
31577
31578 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31579 if test "$TOOLKIT" = "DFB" ; then
31580 wxUSE_UNICODE_UTF8=yes
31581 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31582 wxUSE_UNICODE_UTF8=yes
31583 else
31584 wxUSE_UNICODE_UTF8=no
31585 fi
31586 fi
31587
31588
31589 if test "$wxUSE_GUI" = "yes"; then
31590 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31591 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31592 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31593 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31594 echo $ECHO_N "(cached) $ECHO_C" >&6
31595 else
31596 cat >conftest.$ac_ext <<_ACEOF
31597 /* confdefs.h. */
31598 _ACEOF
31599 cat confdefs.h >>conftest.$ac_ext
31600 cat >>conftest.$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31602
31603
31604 #include <X11/Xlib.h>
31605 _ACEOF
31606 rm -f conftest.$ac_objext
31607 if { (ac_try="$ac_compile"
31608 case "(($ac_try" in
31609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31610 *) ac_try_echo=$ac_try;;
31611 esac
31612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31613 (eval "$ac_compile") 2>conftest.er1
31614 ac_status=$?
31615 grep -v '^ *+' conftest.er1 >conftest.err
31616 rm -f conftest.er1
31617 cat conftest.err >&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); } && {
31620 test -z "$ac_c_werror_flag" ||
31621 test ! -s conftest.err
31622 } && test -s conftest.$ac_objext; then
31623 ac_cv_header_X11_Xlib_h=yes
31624 else
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.$ac_ext >&5
31627
31628 ac_cv_header_X11_Xlib_h=no
31629 fi
31630
31631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31632 fi
31633 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31634 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31635
31636
31637 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31638 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31639 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31640 echo $ECHO_N "(cached) $ECHO_C" >&6
31641 else
31642 cat >conftest.$ac_ext <<_ACEOF
31643 /* confdefs.h. */
31644 _ACEOF
31645 cat confdefs.h >>conftest.$ac_ext
31646 cat >>conftest.$ac_ext <<_ACEOF
31647 /* end confdefs.h. */
31648
31649 #if HAVE_X11_XLIB_H
31650 #include <X11/Xlib.h>
31651 #endif
31652
31653
31654 #include <X11/XKBlib.h>
31655 _ACEOF
31656 rm -f conftest.$ac_objext
31657 if { (ac_try="$ac_compile"
31658 case "(($ac_try" in
31659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31660 *) ac_try_echo=$ac_try;;
31661 esac
31662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31663 (eval "$ac_compile") 2>conftest.er1
31664 ac_status=$?
31665 grep -v '^ *+' conftest.er1 >conftest.err
31666 rm -f conftest.er1
31667 cat conftest.err >&5
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); } && {
31670 test -z "$ac_c_werror_flag" ||
31671 test ! -s conftest.err
31672 } && test -s conftest.$ac_objext; then
31673 ac_cv_header_X11_XKBlib_h=yes
31674 else
31675 echo "$as_me: failed program was:" >&5
31676 sed 's/^/| /' conftest.$ac_ext >&5
31677
31678 ac_cv_header_X11_XKBlib_h=no
31679 fi
31680
31681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31682 fi
31683 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31684 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31685
31686
31687 fi
31688 fi
31689
31690
31691
31692 IODBC_C_SRC=""
31693
31694
31695 if test "$TOOLKIT" != "MSW" ; then
31696
31697 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31698
31699 { echo "$as_me:$LINENO: checking for sql.h" >&5
31700 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31701 if test "${ac_cv_header_sql_h+set}" = set; then
31702 echo $ECHO_N "(cached) $ECHO_C" >&6
31703 else
31704 cat >conftest.$ac_ext <<_ACEOF
31705 /* confdefs.h. */
31706 _ACEOF
31707 cat confdefs.h >>conftest.$ac_ext
31708 cat >>conftest.$ac_ext <<_ACEOF
31709 /* end confdefs.h. */
31710
31711
31712 #include <sql.h>
31713 _ACEOF
31714 rm -f conftest.$ac_objext
31715 if { (ac_try="$ac_compile"
31716 case "(($ac_try" in
31717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31718 *) ac_try_echo=$ac_try;;
31719 esac
31720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31721 (eval "$ac_compile") 2>conftest.er1
31722 ac_status=$?
31723 grep -v '^ *+' conftest.er1 >conftest.err
31724 rm -f conftest.er1
31725 cat conftest.err >&5
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); } && {
31728 test -z "$ac_c_werror_flag" ||
31729 test ! -s conftest.err
31730 } && test -s conftest.$ac_objext; then
31731 ac_cv_header_sql_h=yes
31732 else
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.$ac_ext >&5
31735
31736 ac_cv_header_sql_h=no
31737 fi
31738
31739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31740 fi
31741 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31742 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31743 if test $ac_cv_header_sql_h = yes; then
31744 found_sql_h=1
31745 fi
31746
31747
31748 if test "x$found_sql_h" = "x1" ; then
31749 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31750 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31751 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31752 echo $ECHO_N "(cached) $ECHO_C" >&6
31753 else
31754 ac_check_lib_save_LIBS=$LIBS
31755 LIBS="-liodbc $LIBS"
31756 cat >conftest.$ac_ext <<_ACEOF
31757 /* confdefs.h. */
31758 _ACEOF
31759 cat confdefs.h >>conftest.$ac_ext
31760 cat >>conftest.$ac_ext <<_ACEOF
31761 /* end confdefs.h. */
31762
31763 /* Override any GCC internal prototype to avoid an error.
31764 Use char because int might match the return type of a GCC
31765 builtin and then its argument prototype would still apply. */
31766 #ifdef __cplusplus
31767 extern "C"
31768 #endif
31769 char SQLAllocEnv ();
31770 int
31771 main ()
31772 {
31773 return SQLAllocEnv ();
31774 ;
31775 return 0;
31776 }
31777 _ACEOF
31778 rm -f conftest.$ac_objext conftest$ac_exeext
31779 if { (ac_try="$ac_link"
31780 case "(($ac_try" in
31781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31782 *) ac_try_echo=$ac_try;;
31783 esac
31784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31785 (eval "$ac_link") 2>conftest.er1
31786 ac_status=$?
31787 grep -v '^ *+' conftest.er1 >conftest.err
31788 rm -f conftest.er1
31789 cat conftest.err >&5
31790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31791 (exit $ac_status); } && {
31792 test -z "$ac_c_werror_flag" ||
31793 test ! -s conftest.err
31794 } && test -s conftest$ac_exeext &&
31795 $as_test_x conftest$ac_exeext; then
31796 ac_cv_lib_iodbc_SQLAllocEnv=yes
31797 else
31798 echo "$as_me: failed program was:" >&5
31799 sed 's/^/| /' conftest.$ac_ext >&5
31800
31801 ac_cv_lib_iodbc_SQLAllocEnv=no
31802 fi
31803
31804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31805 conftest$ac_exeext conftest.$ac_ext
31806 LIBS=$ac_check_lib_save_LIBS
31807 fi
31808 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31809 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31810 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31811 ODBC_LINK=" -liodbc"
31812 else
31813
31814 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31815 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31816 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31817 echo $ECHO_N "(cached) $ECHO_C" >&6
31818 else
31819 ac_check_lib_save_LIBS=$LIBS
31820 LIBS="-lunixodbc $LIBS"
31821 cat >conftest.$ac_ext <<_ACEOF
31822 /* confdefs.h. */
31823 _ACEOF
31824 cat confdefs.h >>conftest.$ac_ext
31825 cat >>conftest.$ac_ext <<_ACEOF
31826 /* end confdefs.h. */
31827
31828 /* Override any GCC internal prototype to avoid an error.
31829 Use char because int might match the return type of a GCC
31830 builtin and then its argument prototype would still apply. */
31831 #ifdef __cplusplus
31832 extern "C"
31833 #endif
31834 char SQLAllocEnv ();
31835 int
31836 main ()
31837 {
31838 return SQLAllocEnv ();
31839 ;
31840 return 0;
31841 }
31842 _ACEOF
31843 rm -f conftest.$ac_objext conftest$ac_exeext
31844 if { (ac_try="$ac_link"
31845 case "(($ac_try" in
31846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31847 *) ac_try_echo=$ac_try;;
31848 esac
31849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31850 (eval "$ac_link") 2>conftest.er1
31851 ac_status=$?
31852 grep -v '^ *+' conftest.er1 >conftest.err
31853 rm -f conftest.er1
31854 cat conftest.err >&5
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); } && {
31857 test -z "$ac_c_werror_flag" ||
31858 test ! -s conftest.err
31859 } && test -s conftest$ac_exeext &&
31860 $as_test_x conftest$ac_exeext; then
31861 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31862 else
31863 echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.$ac_ext >&5
31865
31866 ac_cv_lib_unixodbc_SQLAllocEnv=no
31867 fi
31868
31869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31870 conftest$ac_exeext conftest.$ac_ext
31871 LIBS=$ac_check_lib_save_LIBS
31872 fi
31873 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31874 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31875 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31876 ODBC_LINK=" -lunixodbc"
31877 else
31878
31879 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31880 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31881 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31882 echo $ECHO_N "(cached) $ECHO_C" >&6
31883 else
31884 ac_check_lib_save_LIBS=$LIBS
31885 LIBS="-lodbc $LIBS"
31886 cat >conftest.$ac_ext <<_ACEOF
31887 /* confdefs.h. */
31888 _ACEOF
31889 cat confdefs.h >>conftest.$ac_ext
31890 cat >>conftest.$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31892
31893 /* Override any GCC internal prototype to avoid an error.
31894 Use char because int might match the return type of a GCC
31895 builtin and then its argument prototype would still apply. */
31896 #ifdef __cplusplus
31897 extern "C"
31898 #endif
31899 char SQLAllocEnv ();
31900 int
31901 main ()
31902 {
31903 return SQLAllocEnv ();
31904 ;
31905 return 0;
31906 }
31907 _ACEOF
31908 rm -f conftest.$ac_objext conftest$ac_exeext
31909 if { (ac_try="$ac_link"
31910 case "(($ac_try" in
31911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31912 *) ac_try_echo=$ac_try;;
31913 esac
31914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31915 (eval "$ac_link") 2>conftest.er1
31916 ac_status=$?
31917 grep -v '^ *+' conftest.er1 >conftest.err
31918 rm -f conftest.er1
31919 cat conftest.err >&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); } && {
31922 test -z "$ac_c_werror_flag" ||
31923 test ! -s conftest.err
31924 } && test -s conftest$ac_exeext &&
31925 $as_test_x conftest$ac_exeext; then
31926 ac_cv_lib_odbc_SQLAllocEnv=yes
31927 else
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.$ac_ext >&5
31930
31931 ac_cv_lib_odbc_SQLAllocEnv=no
31932 fi
31933
31934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31935 conftest$ac_exeext conftest.$ac_ext
31936 LIBS=$ac_check_lib_save_LIBS
31937 fi
31938 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31939 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31940 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31941 ODBC_LINK=" -lodbc"
31942 fi
31943
31944
31945 fi
31946
31947
31948 fi
31949
31950 fi
31951 if test "x$ODBC_LINK" = "x" ; then
31952 if test "$wxUSE_ODBC" = "sys" ; then
31953 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31954 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31955 { (exit 1); exit 1; }; }
31956 else
31957 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31958 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31959 wxUSE_ODBC=builtin
31960 fi
31961 else
31962 wxUSE_ODBC=sys
31963 fi
31964 fi
31965
31966 if test "$wxUSE_ODBC" = "builtin" ; then
31967 cat >>confdefs.h <<\_ACEOF
31968 #define wxUSE_BUILTIN_IODBC 1
31969 _ACEOF
31970
31971 fi
31972 fi
31973
31974 if test "$wxUSE_ODBC" != "no" ; then
31975 cat >>confdefs.h <<\_ACEOF
31976 #define wxUSE_ODBC 1
31977 _ACEOF
31978
31979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31980
31981 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31982 fi
31983
31984
31985 if test "$wxUSE_DISPLAY" = "yes"; then
31986 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31987 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31988 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31989
31990 ac_find_libraries=
31991 for ac_dir in $SEARCH_LIB;
31992 do
31993 for ac_extension in a so sl dylib dll.a; do
31994 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31995 ac_find_libraries=$ac_dir
31996 break 2
31997 fi
31998 done
31999 done
32000
32001 if test "$ac_find_libraries" != "" ; then
32002
32003 if test "$ac_find_libraries" = "default location"; then
32004 ac_path_to_link=""
32005 else
32006 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32007 result=$?
32008 if test $result = 0; then
32009 ac_path_to_link=""
32010 else
32011 ac_path_to_link=" -L$ac_find_libraries"
32012 fi
32013 fi
32014
32015 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32016 LDFLAGS="$LDFLAGS $ac_path_to_link"
32017 fi
32018 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32019 { echo "$as_me:$LINENO: result: yes" >&5
32020 echo "${ECHO_T}yes" >&6; }
32021
32022 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32023 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32024
32025 ac_find_libraries=
32026 for ac_dir in $SEARCH_LIB;
32027 do
32028 for ac_extension in a so sl dylib dll.a; do
32029 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32030 ac_find_libraries=$ac_dir
32031 break 2
32032 fi
32033 done
32034 done
32035
32036 if test "$ac_find_libraries" != "" ; then
32037 { echo "$as_me:$LINENO: result: yes" >&5
32038 echo "${ECHO_T}yes" >&6; }
32039 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32040 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32041 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32042 echo $ECHO_N "(cached) $ECHO_C" >&6
32043 else
32044 cat >conftest.$ac_ext <<_ACEOF
32045 /* confdefs.h. */
32046 _ACEOF
32047 cat confdefs.h >>conftest.$ac_ext
32048 cat >>conftest.$ac_ext <<_ACEOF
32049 /* end confdefs.h. */
32050
32051 #if HAVE_X11_XLIB_H
32052 #include <X11/Xlib.h>
32053 #endif
32054
32055
32056 #include <X11/extensions/xf86vmode.h>
32057 _ACEOF
32058 rm -f conftest.$ac_objext
32059 if { (ac_try="$ac_compile"
32060 case "(($ac_try" in
32061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32062 *) ac_try_echo=$ac_try;;
32063 esac
32064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32065 (eval "$ac_compile") 2>conftest.er1
32066 ac_status=$?
32067 grep -v '^ *+' conftest.er1 >conftest.err
32068 rm -f conftest.er1
32069 cat conftest.err >&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); } && {
32072 test -z "$ac_c_werror_flag" ||
32073 test ! -s conftest.err
32074 } && test -s conftest.$ac_objext; then
32075 ac_cv_header_X11_extensions_xf86vmode_h=yes
32076 else
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.$ac_ext >&5
32079
32080 ac_cv_header_X11_extensions_xf86vmode_h=no
32081 fi
32082
32083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32084 fi
32085 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32086 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32087 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32088
32089 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32090
32091 fi
32092
32093
32094 else
32095 { echo "$as_me:$LINENO: result: no" >&5
32096 echo "${ECHO_T}no" >&6; }
32097 fi
32098
32099 else
32100 { echo "$as_me:$LINENO: result: no" >&5
32101 echo "${ECHO_T}no" >&6; }
32102 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32103 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32104 wxUSE_DISPLAY="no"
32105 fi
32106 elif test "$wxUSE_MSW" = 1; then
32107 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32108 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32109 if test "${ac_cv_header_ddraw_h+set}" = set; then
32110 echo $ECHO_N "(cached) $ECHO_C" >&6
32111 else
32112 cat >conftest.$ac_ext <<_ACEOF
32113 /* confdefs.h. */
32114 _ACEOF
32115 cat confdefs.h >>conftest.$ac_ext
32116 cat >>conftest.$ac_ext <<_ACEOF
32117 /* end confdefs.h. */
32118 #include <windows.h>
32119
32120 #include <ddraw.h>
32121 _ACEOF
32122 rm -f conftest.$ac_objext
32123 if { (ac_try="$ac_compile"
32124 case "(($ac_try" in
32125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32126 *) ac_try_echo=$ac_try;;
32127 esac
32128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32129 (eval "$ac_compile") 2>conftest.er1
32130 ac_status=$?
32131 grep -v '^ *+' conftest.er1 >conftest.err
32132 rm -f conftest.er1
32133 cat conftest.err >&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); } && {
32136 test -z "$ac_c_werror_flag" ||
32137 test ! -s conftest.err
32138 } && test -s conftest.$ac_objext; then
32139 ac_cv_header_ddraw_h=yes
32140 else
32141 echo "$as_me: failed program was:" >&5
32142 sed 's/^/| /' conftest.$ac_ext >&5
32143
32144 ac_cv_header_ddraw_h=no
32145 fi
32146
32147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32148 fi
32149 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32150 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32151
32152
32153 fi
32154 fi
32155
32156 if test "$wxUSE_DETECT_SM" = "yes"; then
32157 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32158 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32159 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32160
32161 ac_find_libraries=
32162 for ac_dir in $SEARCH_LIB;
32163 do
32164 for ac_extension in a so sl dylib dll.a; do
32165 if test -f "$ac_dir/libSM.$ac_extension"; then
32166 ac_find_libraries=$ac_dir
32167 break 2
32168 fi
32169 done
32170 done
32171
32172 if test "$ac_find_libraries" != "" ; then
32173
32174 if test "$ac_find_libraries" = "default location"; then
32175 ac_path_to_link=""
32176 else
32177 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32178 result=$?
32179 if test $result = 0; then
32180 ac_path_to_link=""
32181 else
32182 ac_path_to_link=" -L$ac_find_libraries"
32183 fi
32184 fi
32185
32186 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32187 LDFLAGS="$LDFLAGS $ac_path_to_link"
32188 fi
32189 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32190 { echo "$as_me:$LINENO: result: yes" >&5
32191 echo "${ECHO_T}yes" >&6; }
32192 else
32193 { echo "$as_me:$LINENO: result: no" >&5
32194 echo "${ECHO_T}no" >&6; }
32195 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32196 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32197 wxUSE_DETECT_SM="no"
32198 fi
32199 else
32200 wxUSE_DETECT_SM="no"
32201 fi
32202 fi
32203
32204
32205
32206 USE_OPENGL=0
32207 if test "$wxUSE_OPENGL" = "yes"; then
32208 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32209 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32210 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32211 wxUSE_OPENGL="no"
32212 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32213 OPENGL_LIBS="-framework OpenGL -framework AGL"
32214 elif test "$wxUSE_MSW" = 1; then
32215 OPENGL_LIBS="-lopengl32 -lglu32"
32216 else
32217 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32218 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32219
32220 ac_find_includes=
32221 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32222 do
32223 if test -f "$ac_dir/GL/gl.h"; then
32224 ac_find_includes=$ac_dir
32225 break
32226 fi
32227 done
32228
32229 if test "$ac_find_includes" != "" ; then
32230 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32231 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32232
32233 if test "x$ac_find_includes" = "x/usr/include"; then
32234 ac_path_to_include=""
32235 else
32236 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32237 result=$?
32238 if test $result = 0; then
32239 ac_path_to_include=""
32240 else
32241 ac_path_to_include=" -I$ac_find_includes"
32242 fi
32243 fi
32244
32245 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32246 else
32247 { echo "$as_me:$LINENO: result: not found" >&5
32248 echo "${ECHO_T}not found" >&6; }
32249 fi
32250
32251 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32252 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32253 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32255 else
32256 cat >conftest.$ac_ext <<_ACEOF
32257 /* confdefs.h. */
32258 _ACEOF
32259 cat confdefs.h >>conftest.$ac_ext
32260 cat >>conftest.$ac_ext <<_ACEOF
32261 /* end confdefs.h. */
32262
32263
32264 #include <GL/gl.h>
32265 _ACEOF
32266 rm -f conftest.$ac_objext
32267 if { (ac_try="$ac_compile"
32268 case "(($ac_try" in
32269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32270 *) ac_try_echo=$ac_try;;
32271 esac
32272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32273 (eval "$ac_compile") 2>conftest.er1
32274 ac_status=$?
32275 grep -v '^ *+' conftest.er1 >conftest.err
32276 rm -f conftest.er1
32277 cat conftest.err >&5
32278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279 (exit $ac_status); } && {
32280 test -z "$ac_c_werror_flag" ||
32281 test ! -s conftest.err
32282 } && test -s conftest.$ac_objext; then
32283 ac_cv_header_GL_gl_h=yes
32284 else
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.$ac_ext >&5
32287
32288 ac_cv_header_GL_gl_h=no
32289 fi
32290
32291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32292 fi
32293 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32294 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32295 if test $ac_cv_header_GL_gl_h = yes; then
32296
32297 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32298 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32299 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32300 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32301 echo $ECHO_N "(cached) $ECHO_C" >&6
32302 fi
32303 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32304 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32305 else
32306 # Is the header compilable?
32307 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32308 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32309 cat >conftest.$ac_ext <<_ACEOF
32310 /* confdefs.h. */
32311 _ACEOF
32312 cat confdefs.h >>conftest.$ac_ext
32313 cat >>conftest.$ac_ext <<_ACEOF
32314 /* end confdefs.h. */
32315 $ac_includes_default
32316 #include <GL/glu.h>
32317 _ACEOF
32318 rm -f conftest.$ac_objext
32319 if { (ac_try="$ac_compile"
32320 case "(($ac_try" in
32321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32322 *) ac_try_echo=$ac_try;;
32323 esac
32324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32325 (eval "$ac_compile") 2>conftest.er1
32326 ac_status=$?
32327 grep -v '^ *+' conftest.er1 >conftest.err
32328 rm -f conftest.er1
32329 cat conftest.err >&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); } && {
32332 test -z "$ac_c_werror_flag" ||
32333 test ! -s conftest.err
32334 } && test -s conftest.$ac_objext; then
32335 ac_header_compiler=yes
32336 else
32337 echo "$as_me: failed program was:" >&5
32338 sed 's/^/| /' conftest.$ac_ext >&5
32339
32340 ac_header_compiler=no
32341 fi
32342
32343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32344 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32345 echo "${ECHO_T}$ac_header_compiler" >&6; }
32346
32347 # Is the header present?
32348 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32349 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32350 cat >conftest.$ac_ext <<_ACEOF
32351 /* confdefs.h. */
32352 _ACEOF
32353 cat confdefs.h >>conftest.$ac_ext
32354 cat >>conftest.$ac_ext <<_ACEOF
32355 /* end confdefs.h. */
32356 #include <GL/glu.h>
32357 _ACEOF
32358 if { (ac_try="$ac_cpp conftest.$ac_ext"
32359 case "(($ac_try" in
32360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32361 *) ac_try_echo=$ac_try;;
32362 esac
32363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32365 ac_status=$?
32366 grep -v '^ *+' conftest.er1 >conftest.err
32367 rm -f conftest.er1
32368 cat conftest.err >&5
32369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370 (exit $ac_status); } >/dev/null && {
32371 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32372 test ! -s conftest.err
32373 }; then
32374 ac_header_preproc=yes
32375 else
32376 echo "$as_me: failed program was:" >&5
32377 sed 's/^/| /' conftest.$ac_ext >&5
32378
32379 ac_header_preproc=no
32380 fi
32381
32382 rm -f conftest.err conftest.$ac_ext
32383 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32384 echo "${ECHO_T}$ac_header_preproc" >&6; }
32385
32386 # So? What about this header?
32387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32388 yes:no: )
32389 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32390 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32391 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32392 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32393 ac_header_preproc=yes
32394 ;;
32395 no:yes:* )
32396 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32397 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32398 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32399 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32400 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32401 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32402 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32403 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32405 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32406 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32407 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32408 ( cat <<\_ASBOX
32409 ## ----------------------------------------- ##
32410 ## Report this to wx-dev@lists.wxwidgets.org ##
32411 ## ----------------------------------------- ##
32412 _ASBOX
32413 ) | sed "s/^/$as_me: WARNING: /" >&2
32414 ;;
32415 esac
32416 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32417 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32418 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32419 echo $ECHO_N "(cached) $ECHO_C" >&6
32420 else
32421 ac_cv_header_GL_glu_h=$ac_header_preproc
32422 fi
32423 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32424 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32425
32426 fi
32427 if test $ac_cv_header_GL_glu_h = yes; then
32428
32429 found_gl=0
32430
32431 { echo "$as_me:$LINENO: checking for -lGL" >&5
32432 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32433
32434 ac_find_libraries=
32435 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32436 do
32437 for ac_extension in a so sl dylib dll.a; do
32438 if test -f "$ac_dir/libGL.$ac_extension"; then
32439 ac_find_libraries=$ac_dir
32440 break 2
32441 fi
32442 done
32443 done
32444
32445 if test "$ac_find_libraries" != "" ; then
32446 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32447 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32448
32449
32450 if test "$ac_find_libraries" = "default location"; then
32451 ac_path_to_link=""
32452 else
32453 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32454 result=$?
32455 if test $result = 0; then
32456 ac_path_to_link=""
32457 else
32458 ac_path_to_link=" -L$ac_find_libraries"
32459 fi
32460 fi
32461
32462 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32463 LDFLAGS_GL="$ac_path_to_link"
32464 fi
32465
32466 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32467 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32468
32469 ac_find_libraries=
32470 for ac_dir in $SEARCH_LIB;
32471 do
32472 for ac_extension in a so sl dylib dll.a; do
32473 if test -f "$ac_dir/libGLU.$ac_extension"; then
32474 ac_find_libraries=$ac_dir
32475 break 2
32476 fi
32477 done
32478 done
32479
32480 if test "$ac_find_libraries" != "" ; then
32481
32482 if test "$ac_find_libraries" = "default location"; then
32483 ac_path_to_link=""
32484 else
32485 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32486 result=$?
32487 if test $result = 0; then
32488 ac_path_to_link=""
32489 else
32490 ac_path_to_link=" -L$ac_find_libraries"
32491 fi
32492 fi
32493
32494 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32495 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32496 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32497 fi
32498
32499 found_gl=1
32500 OPENGL_LIBS="-lGL -lGLU"
32501 { echo "$as_me:$LINENO: result: yes" >&5
32502 echo "${ECHO_T}yes" >&6; }
32503 else
32504 { echo "$as_me:$LINENO: result: no" >&5
32505 echo "${ECHO_T}no" >&6; }
32506 fi
32507 else
32508 { echo "$as_me:$LINENO: result: no" >&5
32509 echo "${ECHO_T}no" >&6; }
32510 fi
32511
32512 if test "$found_gl" != 1; then
32513 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32514 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32515
32516 ac_find_libraries=
32517 for ac_dir in $SEARCH_LIB;
32518 do
32519 for ac_extension in a so sl dylib dll.a; do
32520 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32521 ac_find_libraries=$ac_dir
32522 break 2
32523 fi
32524 done
32525 done
32526
32527 if test "$ac_find_libraries" != "" ; then
32528
32529 if test "$ac_find_libraries" = "default location"; then
32530 ac_path_to_link=""
32531 else
32532 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32533 result=$?
32534 if test $result = 0; then
32535 ac_path_to_link=""
32536 else
32537 ac_path_to_link=" -L$ac_find_libraries"
32538 fi
32539 fi
32540
32541 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32542 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32543 { echo "$as_me:$LINENO: result: yes" >&5
32544 echo "${ECHO_T}yes" >&6; }
32545 else
32546 { echo "$as_me:$LINENO: result: no" >&5
32547 echo "${ECHO_T}no" >&6; }
32548 fi
32549 fi
32550
32551 fi
32552
32553
32554
32555 fi
32556
32557
32558
32559 if test "x$OPENGL_LIBS" = "x"; then
32560 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32561 echo "$as_me: error: OpenGL libraries not available" >&2;}
32562 { (exit 1); exit 1; }; }
32563 fi
32564 fi
32565
32566 if test "$wxUSE_OPENGL" = "yes"; then
32567 USE_OPENGL=1
32568 cat >>confdefs.h <<\_ACEOF
32569 #define wxUSE_OPENGL 1
32570 _ACEOF
32571
32572 cat >>confdefs.h <<\_ACEOF
32573 #define wxUSE_GLCANVAS 1
32574 _ACEOF
32575
32576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32577 fi
32578 fi
32579
32580
32581 if test -n "$TOOLKIT" ; then
32582 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32583 fi
32584
32585
32586
32587 if test "$wxUSE_SHARED" = "yes"; then
32588 case "${host}" in
32589 *-pc-msdosdjgpp )
32590 wxUSE_SHARED=no
32591 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32592 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32593 ;;
32594 esac
32595 fi
32596
32597 if test "$wxUSE_SHARED" = "yes"; then
32598
32599
32600 case "${host}" in
32601 *-*-cygwin* | *-*-mingw* )
32602 wx_cv_version_script=no
32603 ;;
32604
32605 *)
32606 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32607 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32608 if test "${wx_cv_version_script+set}" = set; then
32609 echo $ECHO_N "(cached) $ECHO_C" >&6
32610 else
32611
32612 echo "VER_1 { *; };" >conftest.sym
32613 echo "int main() { return 0; }" >conftest.cpp
32614
32615 if { ac_try='
32616 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32617 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32619 (eval $ac_try) 2>&5
32620 ac_status=$?
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); }; } ; then
32623 if test -s conftest.stderr ; then
32624 wx_cv_version_script=no
32625 else
32626 wx_cv_version_script=yes
32627 fi
32628 else
32629 wx_cv_version_script=no
32630 fi
32631
32632 if test $wx_cv_version_script = yes
32633 then
32634 echo "struct B { virtual ~B() { } }; \
32635 struct D : public B { }; \
32636 void F() { D d; }" > conftest.cpp
32637
32638 if { ac_try='
32639 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32640 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32643 ac_status=$?
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; } &&
32646 { ac_try='
32647 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32648 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32650 (eval $ac_try) 2>&5
32651 ac_status=$?
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); }; }
32654 then
32655 if { ac_try='
32656 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32657 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659 (eval $ac_try) 2>&5
32660 ac_status=$?
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); }; }
32663 then
32664 wx_cv_version_script=yes
32665 else
32666 wx_cv_version_script=no
32667 fi
32668 fi
32669 fi
32670
32671 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32672 rm -f conftest1.output conftest2.output conftest3.output
32673
32674 fi
32675 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32676 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32677
32678 if test $wx_cv_version_script = yes ; then
32679 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32680 fi
32681 ;;
32682 esac
32683
32684
32685 case "${host}" in
32686 *-*-linux* | *-*-gnu* )
32687 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32688 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32689 ;;
32690
32691 *-*-solaris2* )
32692 if test "$GCC" = yes ; then
32693 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32694
32695 saveLdflags="$LDFLAGS"
32696 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32697 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32698 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32699 cat >conftest.$ac_ext <<_ACEOF
32700 /* confdefs.h. */
32701 _ACEOF
32702 cat confdefs.h >>conftest.$ac_ext
32703 cat >>conftest.$ac_ext <<_ACEOF
32704 /* end confdefs.h. */
32705
32706 int
32707 main ()
32708 {
32709
32710 ;
32711 return 0;
32712 }
32713 _ACEOF
32714 rm -f conftest.$ac_objext conftest$ac_exeext
32715 if { (ac_try="$ac_link"
32716 case "(($ac_try" in
32717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32718 *) ac_try_echo=$ac_try;;
32719 esac
32720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32721 (eval "$ac_link") 2>conftest.er1
32722 ac_status=$?
32723 grep -v '^ *+' conftest.er1 >conftest.err
32724 rm -f conftest.er1
32725 cat conftest.err >&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } && {
32728 test -z "$ac_c_werror_flag" ||
32729 test ! -s conftest.err
32730 } && test -s conftest$ac_exeext &&
32731 $as_test_x conftest$ac_exeext; then
32732
32733 { echo "$as_me:$LINENO: result: yes" >&5
32734 echo "${ECHO_T}yes" >&6; }
32735 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32736 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32737
32738 else
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.$ac_ext >&5
32741
32742
32743 { echo "$as_me:$LINENO: result: no" >&5
32744 echo "${ECHO_T}no" >&6; }
32745 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32746 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32747 LDFLAGS="$saveLdflags -Wl,-R,/"
32748 cat >conftest.$ac_ext <<_ACEOF
32749 /* confdefs.h. */
32750 _ACEOF
32751 cat confdefs.h >>conftest.$ac_ext
32752 cat >>conftest.$ac_ext <<_ACEOF
32753 /* end confdefs.h. */
32754
32755 int
32756 main ()
32757 {
32758
32759 ;
32760 return 0;
32761 }
32762 _ACEOF
32763 rm -f conftest.$ac_objext conftest$ac_exeext
32764 if { (ac_try="$ac_link"
32765 case "(($ac_try" in
32766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32767 *) ac_try_echo=$ac_try;;
32768 esac
32769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32770 (eval "$ac_link") 2>conftest.er1
32771 ac_status=$?
32772 grep -v '^ *+' conftest.er1 >conftest.err
32773 rm -f conftest.er1
32774 cat conftest.err >&5
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); } && {
32777 test -z "$ac_c_werror_flag" ||
32778 test ! -s conftest.err
32779 } && test -s conftest$ac_exeext &&
32780 $as_test_x conftest$ac_exeext; then
32781
32782 { echo "$as_me:$LINENO: result: yes" >&5
32783 echo "${ECHO_T}yes" >&6; }
32784 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32785 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32786
32787 else
32788 echo "$as_me: failed program was:" >&5
32789 sed 's/^/| /' conftest.$ac_ext >&5
32790
32791
32792 { echo "$as_me:$LINENO: result: no" >&5
32793 echo "${ECHO_T}no" >&6; }
32794
32795 fi
32796
32797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32798 conftest$ac_exeext conftest.$ac_ext
32799
32800 fi
32801
32802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32803 conftest$ac_exeext conftest.$ac_ext
32804 LDFLAGS="$saveLdflags"
32805 else
32806 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32807 WXCONFIG_RPATH="-R\$libdir"
32808 fi
32809 ;;
32810
32811 *-*-darwin* )
32812 install_name_tool=`which install_name_tool`
32813 if test "$install_name_tool" -a -x "$install_name_tool"; then
32814 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32815 cat <<EOF >change-install-names
32816 #!/bin/sh
32817 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32818 inst_cmd="install_name_tool "
32819 for i in \${libnames} ; do
32820 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32821 done
32822 \${inst_cmd} \${3}
32823 EOF
32824 chmod +x change-install-names
32825 fi
32826 ;;
32827
32828 *-*-cygwin* | *-*-mingw32* )
32829 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32830 ;;
32831
32832 *-*-hpux* )
32833 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32834 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32835 ;;
32836
32837 esac
32838
32839 if test $wxUSE_RPATH = "no"; then
32840 SAMPLES_RPATH_FLAG=''
32841 SAMPLES_RPATH_POSTLINK=''
32842 WXCONFIG_RPATH=''
32843 fi
32844
32845 SHARED=1
32846
32847 else
32848
32849 config_linkage_component="-static"
32850 SHARED=0
32851
32852 fi
32853
32854
32855 UNICODE=0
32856 lib_unicode_suffix=
32857 WX_CHARTYPE="ansi"
32858 if test "$wxUSE_UNICODE" = "yes"; then
32859 lib_unicode_suffix=u
32860 WX_CHARTYPE="unicode"
32861 UNICODE=1
32862 fi
32863
32864 lib_debug_suffix=
32865 WX_DEBUGTYPE="release"
32866 DEBUG_FLAG=0
32867 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32868 lib_debug_suffix=d
32869 WX_DEBUGTYPE="debug"
32870 DEBUG_FLAG=1
32871 fi
32872
32873 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32874 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32875
32876 DEBUG_INFO=0
32877 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32878 DEBUG_INFO=1
32879 fi
32880
32881 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32882
32883 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32884
32885 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32886
32887 if test "$cross_compiling" = "yes"; then
32888 HOST_SUFFIX="-$host_alias"
32889 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32890 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32891 fi
32892
32893 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32894 if test "${TOOLKIT_DIR}" = "os2"; then
32895 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32896 else
32897 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32898 fi
32899
32900
32901
32902 if test "$wxUSE_COCOA" = 1; then
32903
32904 ac_ext=c
32905 ac_cpp='$CPP $CPPFLAGS'
32906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32909
32910 ac_ext=m
32911
32912 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32913 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32914 cat >conftest.$ac_ext <<_ACEOF
32915 /* confdefs.h. */
32916 _ACEOF
32917 cat confdefs.h >>conftest.$ac_ext
32918 cat >>conftest.$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32920 #include <AppKit/NSEvent.h>
32921 #include <CoreFoundation/CoreFoundation.h>
32922
32923 int
32924 main ()
32925 {
32926
32927 ;
32928 return 0;
32929 }
32930 _ACEOF
32931 rm -f conftest.$ac_objext
32932 if { (ac_try="$ac_compile"
32933 case "(($ac_try" in
32934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32935 *) ac_try_echo=$ac_try;;
32936 esac
32937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32938 (eval "$ac_compile") 2>conftest.er1
32939 ac_status=$?
32940 grep -v '^ *+' conftest.er1 >conftest.err
32941 rm -f conftest.er1
32942 cat conftest.err >&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); } && {
32945 test -z "$ac_c_werror_flag" ||
32946 test ! -s conftest.err
32947 } && test -s conftest.$ac_objext; then
32948 { echo "$as_me:$LINENO: result: no" >&5
32949 echo "${ECHO_T}no" >&6; }
32950 else
32951 echo "$as_me: failed program was:" >&5
32952 sed 's/^/| /' conftest.$ac_ext >&5
32953
32954 { echo "$as_me:$LINENO: result: yes" >&5
32955 echo "${ECHO_T}yes" >&6; }
32956 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32957 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32958 cat >conftest.$ac_ext <<_ACEOF
32959 /* confdefs.h. */
32960 _ACEOF
32961 cat confdefs.h >>conftest.$ac_ext
32962 cat >>conftest.$ac_ext <<_ACEOF
32963 /* end confdefs.h. */
32964 #define __Point__ 1
32965 #include <AppKit/NSEvent.h>
32966 #include <CoreFoundation/CoreFoundation.h>
32967
32968 int
32969 main ()
32970 {
32971
32972 ;
32973 return 0;
32974 }
32975 _ACEOF
32976 rm -f conftest.$ac_objext
32977 if { (ac_try="$ac_compile"
32978 case "(($ac_try" in
32979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32980 *) ac_try_echo=$ac_try;;
32981 esac
32982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32983 (eval "$ac_compile") 2>conftest.er1
32984 ac_status=$?
32985 grep -v '^ *+' conftest.er1 >conftest.err
32986 rm -f conftest.er1
32987 cat conftest.err >&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } && {
32990 test -z "$ac_c_werror_flag" ||
32991 test ! -s conftest.err
32992 } && test -s conftest.$ac_objext; then
32993 { echo "$as_me:$LINENO: result: yes" >&5
32994 echo "${ECHO_T}yes" >&6; }
32995 cat >>confdefs.h <<\_ACEOF
32996 #define __Point__ 1
32997 _ACEOF
32998
32999
33000 else
33001 echo "$as_me: failed program was:" >&5
33002 sed 's/^/| /' conftest.$ac_ext >&5
33003
33004 { { echo "$as_me:$LINENO: error: no
33005 See \`config.log' for more details." >&5
33006 echo "$as_me: error: no
33007 See \`config.log' for more details." >&2;}
33008 { (exit 1); exit 1; }; }
33009
33010 fi
33011
33012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33013
33014 fi
33015
33016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33017 ac_ext=c
33018 ac_cpp='$CPP $CPPFLAGS'
33019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33022
33023 fi
33024
33025 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33026 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33027 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33028
33029 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33030
33031 # Extract the first word of "Rez", so it can be a program name with args.
33032 set dummy Rez; ac_word=$2
33033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33035 if test "${ac_cv_prog_REZ+set}" = set; then
33036 echo $ECHO_N "(cached) $ECHO_C" >&6
33037 else
33038 if test -n "$REZ"; then
33039 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33040 else
33041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33042 for as_dir in $PATH
33043 do
33044 IFS=$as_save_IFS
33045 test -z "$as_dir" && as_dir=.
33046 for ac_exec_ext in '' $ac_executable_extensions; do
33047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33048 ac_cv_prog_REZ="Rez"
33049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33050 break 2
33051 fi
33052 done
33053 done
33054 IFS=$as_save_IFS
33055
33056 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33057 fi
33058 fi
33059 REZ=$ac_cv_prog_REZ
33060 if test -n "$REZ"; then
33061 { echo "$as_me:$LINENO: result: $REZ" >&5
33062 echo "${ECHO_T}$REZ" >&6; }
33063 else
33064 { echo "$as_me:$LINENO: result: no" >&5
33065 echo "${ECHO_T}no" >&6; }
33066 fi
33067
33068
33069 # Extract the first word of "DeRez", so it can be a program name with args.
33070 set dummy DeRez; ac_word=$2
33071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33073 if test "${ac_cv_prog_DEREZ+set}" = set; then
33074 echo $ECHO_N "(cached) $ECHO_C" >&6
33075 else
33076 if test -n "$DEREZ"; then
33077 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33078 else
33079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33080 for as_dir in $PATH
33081 do
33082 IFS=$as_save_IFS
33083 test -z "$as_dir" && as_dir=.
33084 for ac_exec_ext in '' $ac_executable_extensions; do
33085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33086 ac_cv_prog_DEREZ="DeRez"
33087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33088 break 2
33089 fi
33090 done
33091 done
33092 IFS=$as_save_IFS
33093
33094 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33095 fi
33096 fi
33097 DEREZ=$ac_cv_prog_DEREZ
33098 if test -n "$DEREZ"; then
33099 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33100 echo "${ECHO_T}$DEREZ" >&6; }
33101 else
33102 { echo "$as_me:$LINENO: result: no" >&5
33103 echo "${ECHO_T}no" >&6; }
33104 fi
33105
33106
33107 # Extract the first word of "SetFile", so it can be a program name with args.
33108 set dummy SetFile; ac_word=$2
33109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33111 if test "${ac_cv_prog_SETFILE+set}" = set; then
33112 echo $ECHO_N "(cached) $ECHO_C" >&6
33113 else
33114 if test -n "$SETFILE"; then
33115 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33116 else
33117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33118 for as_dir in $PATH
33119 do
33120 IFS=$as_save_IFS
33121 test -z "$as_dir" && as_dir=.
33122 for ac_exec_ext in '' $ac_executable_extensions; do
33123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33124 ac_cv_prog_SETFILE="SetFile"
33125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33126 break 2
33127 fi
33128 done
33129 done
33130 IFS=$as_save_IFS
33131
33132 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33133 fi
33134 fi
33135 SETFILE=$ac_cv_prog_SETFILE
33136 if test -n "$SETFILE"; then
33137 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33138 echo "${ECHO_T}$SETFILE" >&6; }
33139 else
33140 { echo "$as_me:$LINENO: result: no" >&5
33141 echo "${ECHO_T}no" >&6; }
33142 fi
33143
33144
33145
33146 MACSETFILE="\$(SETFILE)"
33147
33148 if test "$wxUSE_MAC" = 1; then
33149 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33150 RESCOMP="$REZ"
33151 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33152 else
33153 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33154 RESCOMP="echo -n \| $REZ"
33155 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33156 fi
33157
33158 else
33159 MACSETFILE="@true"
33160
33161 if test "$wxUSE_PM" = 1; then
33162 RESCOMP="emxbind"
33163 WXCONFIG_RESFLAGS="-ep"
33164
33165 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33166 else
33167 POSTLINK_COMMAND="@true"
33168 fi
33169
33170 fi
33171
33172
33173
33174 { echo "$as_me:$LINENO: checking for mode_t" >&5
33175 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33176 if test "${ac_cv_type_mode_t+set}" = set; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 else
33179 cat >conftest.$ac_ext <<_ACEOF
33180 /* confdefs.h. */
33181 _ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 $ac_includes_default
33186 typedef mode_t ac__type_new_;
33187 int
33188 main ()
33189 {
33190 if ((ac__type_new_ *) 0)
33191 return 0;
33192 if (sizeof (ac__type_new_))
33193 return 0;
33194 ;
33195 return 0;
33196 }
33197 _ACEOF
33198 rm -f conftest.$ac_objext
33199 if { (ac_try="$ac_compile"
33200 case "(($ac_try" in
33201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33202 *) ac_try_echo=$ac_try;;
33203 esac
33204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33205 (eval "$ac_compile") 2>conftest.er1
33206 ac_status=$?
33207 grep -v '^ *+' conftest.er1 >conftest.err
33208 rm -f conftest.er1
33209 cat conftest.err >&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } && {
33212 test -z "$ac_c_werror_flag" ||
33213 test ! -s conftest.err
33214 } && test -s conftest.$ac_objext; then
33215 ac_cv_type_mode_t=yes
33216 else
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33219
33220 ac_cv_type_mode_t=no
33221 fi
33222
33223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33224 fi
33225 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33226 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33227 if test $ac_cv_type_mode_t = yes; then
33228 :
33229 else
33230
33231 cat >>confdefs.h <<_ACEOF
33232 #define mode_t int
33233 _ACEOF
33234
33235 fi
33236
33237 { echo "$as_me:$LINENO: checking for off_t" >&5
33238 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33239 if test "${ac_cv_type_off_t+set}" = set; then
33240 echo $ECHO_N "(cached) $ECHO_C" >&6
33241 else
33242 cat >conftest.$ac_ext <<_ACEOF
33243 /* confdefs.h. */
33244 _ACEOF
33245 cat confdefs.h >>conftest.$ac_ext
33246 cat >>conftest.$ac_ext <<_ACEOF
33247 /* end confdefs.h. */
33248 $ac_includes_default
33249 typedef off_t ac__type_new_;
33250 int
33251 main ()
33252 {
33253 if ((ac__type_new_ *) 0)
33254 return 0;
33255 if (sizeof (ac__type_new_))
33256 return 0;
33257 ;
33258 return 0;
33259 }
33260 _ACEOF
33261 rm -f conftest.$ac_objext
33262 if { (ac_try="$ac_compile"
33263 case "(($ac_try" in
33264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33265 *) ac_try_echo=$ac_try;;
33266 esac
33267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33268 (eval "$ac_compile") 2>conftest.er1
33269 ac_status=$?
33270 grep -v '^ *+' conftest.er1 >conftest.err
33271 rm -f conftest.er1
33272 cat conftest.err >&5
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); } && {
33275 test -z "$ac_c_werror_flag" ||
33276 test ! -s conftest.err
33277 } && test -s conftest.$ac_objext; then
33278 ac_cv_type_off_t=yes
33279 else
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.$ac_ext >&5
33282
33283 ac_cv_type_off_t=no
33284 fi
33285
33286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33287 fi
33288 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33289 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33290 if test $ac_cv_type_off_t = yes; then
33291 :
33292 else
33293
33294 cat >>confdefs.h <<_ACEOF
33295 #define off_t long int
33296 _ACEOF
33297
33298 fi
33299
33300 { echo "$as_me:$LINENO: checking for pid_t" >&5
33301 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33302 if test "${ac_cv_type_pid_t+set}" = set; then
33303 echo $ECHO_N "(cached) $ECHO_C" >&6
33304 else
33305 cat >conftest.$ac_ext <<_ACEOF
33306 /* confdefs.h. */
33307 _ACEOF
33308 cat confdefs.h >>conftest.$ac_ext
33309 cat >>conftest.$ac_ext <<_ACEOF
33310 /* end confdefs.h. */
33311 $ac_includes_default
33312 typedef pid_t ac__type_new_;
33313 int
33314 main ()
33315 {
33316 if ((ac__type_new_ *) 0)
33317 return 0;
33318 if (sizeof (ac__type_new_))
33319 return 0;
33320 ;
33321 return 0;
33322 }
33323 _ACEOF
33324 rm -f conftest.$ac_objext
33325 if { (ac_try="$ac_compile"
33326 case "(($ac_try" in
33327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33328 *) ac_try_echo=$ac_try;;
33329 esac
33330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33331 (eval "$ac_compile") 2>conftest.er1
33332 ac_status=$?
33333 grep -v '^ *+' conftest.er1 >conftest.err
33334 rm -f conftest.er1
33335 cat conftest.err >&5
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); } && {
33338 test -z "$ac_c_werror_flag" ||
33339 test ! -s conftest.err
33340 } && test -s conftest.$ac_objext; then
33341 ac_cv_type_pid_t=yes
33342 else
33343 echo "$as_me: failed program was:" >&5
33344 sed 's/^/| /' conftest.$ac_ext >&5
33345
33346 ac_cv_type_pid_t=no
33347 fi
33348
33349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33350 fi
33351 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33352 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33353 if test $ac_cv_type_pid_t = yes; then
33354 :
33355 else
33356
33357 cat >>confdefs.h <<_ACEOF
33358 #define pid_t int
33359 _ACEOF
33360
33361 fi
33362
33363 { echo "$as_me:$LINENO: checking for size_t" >&5
33364 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33365 if test "${ac_cv_type_size_t+set}" = set; then
33366 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 else
33368 cat >conftest.$ac_ext <<_ACEOF
33369 /* confdefs.h. */
33370 _ACEOF
33371 cat confdefs.h >>conftest.$ac_ext
33372 cat >>conftest.$ac_ext <<_ACEOF
33373 /* end confdefs.h. */
33374 $ac_includes_default
33375 typedef size_t ac__type_new_;
33376 int
33377 main ()
33378 {
33379 if ((ac__type_new_ *) 0)
33380 return 0;
33381 if (sizeof (ac__type_new_))
33382 return 0;
33383 ;
33384 return 0;
33385 }
33386 _ACEOF
33387 rm -f conftest.$ac_objext
33388 if { (ac_try="$ac_compile"
33389 case "(($ac_try" in
33390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33391 *) ac_try_echo=$ac_try;;
33392 esac
33393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33394 (eval "$ac_compile") 2>conftest.er1
33395 ac_status=$?
33396 grep -v '^ *+' conftest.er1 >conftest.err
33397 rm -f conftest.er1
33398 cat conftest.err >&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); } && {
33401 test -z "$ac_c_werror_flag" ||
33402 test ! -s conftest.err
33403 } && test -s conftest.$ac_objext; then
33404 ac_cv_type_size_t=yes
33405 else
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.$ac_ext >&5
33408
33409 ac_cv_type_size_t=no
33410 fi
33411
33412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33413 fi
33414 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33415 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33416 if test $ac_cv_type_size_t = yes; then
33417 :
33418 else
33419
33420 cat >>confdefs.h <<_ACEOF
33421 #define size_t unsigned int
33422 _ACEOF
33423
33424 fi
33425
33426 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33427 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33428 if test "${ac_cv_type_uid_t+set}" = set; then
33429 echo $ECHO_N "(cached) $ECHO_C" >&6
33430 else
33431 cat >conftest.$ac_ext <<_ACEOF
33432 /* confdefs.h. */
33433 _ACEOF
33434 cat confdefs.h >>conftest.$ac_ext
33435 cat >>conftest.$ac_ext <<_ACEOF
33436 /* end confdefs.h. */
33437 #include <sys/types.h>
33438
33439 _ACEOF
33440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33441 $EGREP "uid_t" >/dev/null 2>&1; then
33442 ac_cv_type_uid_t=yes
33443 else
33444 ac_cv_type_uid_t=no
33445 fi
33446 rm -f conftest*
33447
33448 fi
33449 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33450 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33451 if test $ac_cv_type_uid_t = no; then
33452
33453 cat >>confdefs.h <<\_ACEOF
33454 #define uid_t int
33455 _ACEOF
33456
33457
33458 cat >>confdefs.h <<\_ACEOF
33459 #define gid_t int
33460 _ACEOF
33461
33462 fi
33463
33464
33465 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33466 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33467 if test "${ac_cv_type_ssize_t+set}" = set; then
33468 echo $ECHO_N "(cached) $ECHO_C" >&6
33469 else
33470 cat >conftest.$ac_ext <<_ACEOF
33471 /* confdefs.h. */
33472 _ACEOF
33473 cat confdefs.h >>conftest.$ac_ext
33474 cat >>conftest.$ac_ext <<_ACEOF
33475 /* end confdefs.h. */
33476 $ac_includes_default
33477 typedef ssize_t ac__type_new_;
33478 int
33479 main ()
33480 {
33481 if ((ac__type_new_ *) 0)
33482 return 0;
33483 if (sizeof (ac__type_new_))
33484 return 0;
33485 ;
33486 return 0;
33487 }
33488 _ACEOF
33489 rm -f conftest.$ac_objext
33490 if { (ac_try="$ac_compile"
33491 case "(($ac_try" in
33492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33493 *) ac_try_echo=$ac_try;;
33494 esac
33495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33496 (eval "$ac_compile") 2>conftest.er1
33497 ac_status=$?
33498 grep -v '^ *+' conftest.er1 >conftest.err
33499 rm -f conftest.er1
33500 cat conftest.err >&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); } && {
33503 test -z "$ac_c_werror_flag" ||
33504 test ! -s conftest.err
33505 } && test -s conftest.$ac_objext; then
33506 ac_cv_type_ssize_t=yes
33507 else
33508 echo "$as_me: failed program was:" >&5
33509 sed 's/^/| /' conftest.$ac_ext >&5
33510
33511 ac_cv_type_ssize_t=no
33512 fi
33513
33514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33515 fi
33516 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33517 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33518 if test $ac_cv_type_ssize_t = yes; then
33519
33520 cat >>confdefs.h <<_ACEOF
33521 #define HAVE_SSIZE_T 1
33522 _ACEOF
33523
33524
33525 fi
33526
33527
33528 ac_ext=cpp
33529 ac_cpp='$CXXCPP $CPPFLAGS'
33530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33533 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33534 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33535 if test "${wx_cv_size_t_is_uint+set}" = set; then
33536 echo $ECHO_N "(cached) $ECHO_C" >&6
33537 else
33538
33539 cat >conftest.$ac_ext <<_ACEOF
33540 /* confdefs.h. */
33541 _ACEOF
33542 cat confdefs.h >>conftest.$ac_ext
33543 cat >>conftest.$ac_ext <<_ACEOF
33544 /* end confdefs.h. */
33545 #include <stddef.h>
33546 int
33547 main ()
33548 {
33549
33550 return 0; }
33551
33552 struct Foo { void foo(size_t); void foo(unsigned int); };
33553
33554 int bar() {
33555
33556 ;
33557 return 0;
33558 }
33559 _ACEOF
33560 rm -f conftest.$ac_objext
33561 if { (ac_try="$ac_compile"
33562 case "(($ac_try" in
33563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33564 *) ac_try_echo=$ac_try;;
33565 esac
33566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33567 (eval "$ac_compile") 2>conftest.er1
33568 ac_status=$?
33569 grep -v '^ *+' conftest.er1 >conftest.err
33570 rm -f conftest.er1
33571 cat conftest.err >&5
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); } && {
33574 test -z "$ac_cxx_werror_flag" ||
33575 test ! -s conftest.err
33576 } && test -s conftest.$ac_objext; then
33577 wx_cv_size_t_is_uint=no
33578 else
33579 echo "$as_me: failed program was:" >&5
33580 sed 's/^/| /' conftest.$ac_ext >&5
33581
33582 wx_cv_size_t_is_uint=yes
33583
33584 fi
33585
33586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33587
33588
33589 fi
33590 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33591 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33592
33593 if test "$wx_cv_size_t_is_uint" = "yes"; then
33594 cat >>confdefs.h <<\_ACEOF
33595 #define wxSIZE_T_IS_UINT 1
33596 _ACEOF
33597
33598 else
33599 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33600 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33601 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33602 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 else
33604 cat >conftest.$ac_ext <<_ACEOF
33605 /* confdefs.h. */
33606 _ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 #include <stddef.h>
33611 int
33612 main ()
33613 {
33614
33615 return 0; }
33616
33617 struct Foo { void foo(size_t); void foo(unsigned long); };
33618
33619 int bar() {
33620
33621 ;
33622 return 0;
33623 }
33624 _ACEOF
33625 rm -f conftest.$ac_objext
33626 if { (ac_try="$ac_compile"
33627 case "(($ac_try" in
33628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33629 *) ac_try_echo=$ac_try;;
33630 esac
33631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33632 (eval "$ac_compile") 2>conftest.er1
33633 ac_status=$?
33634 grep -v '^ *+' conftest.er1 >conftest.err
33635 rm -f conftest.er1
33636 cat conftest.err >&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } && {
33639 test -z "$ac_cxx_werror_flag" ||
33640 test ! -s conftest.err
33641 } && test -s conftest.$ac_objext; then
33642 wx_cv_size_t_is_ulong=no
33643 else
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33646
33647 wx_cv_size_t_is_ulong=yes
33648
33649 fi
33650
33651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33652
33653 fi
33654 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33655 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33656
33657 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33658 cat >>confdefs.h <<\_ACEOF
33659 #define wxSIZE_T_IS_ULONG 1
33660 _ACEOF
33661
33662 fi
33663 fi
33664
33665 ac_ext=c
33666 ac_cpp='$CPP $CPPFLAGS'
33667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33670
33671
33672 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33673 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33674 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33675 echo $ECHO_N "(cached) $ECHO_C" >&6
33676 else
33677
33678 cat >conftest.$ac_ext <<_ACEOF
33679 /* confdefs.h. */
33680 _ACEOF
33681 cat confdefs.h >>conftest.$ac_ext
33682 cat >>conftest.$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33684 #include <pwd.h>
33685 int
33686 main ()
33687 {
33688
33689 char *p;
33690 struct passwd *pw;
33691 p = pw->pw_gecos;
33692
33693 ;
33694 return 0;
33695 }
33696 _ACEOF
33697 rm -f conftest.$ac_objext
33698 if { (ac_try="$ac_compile"
33699 case "(($ac_try" in
33700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33701 *) ac_try_echo=$ac_try;;
33702 esac
33703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33704 (eval "$ac_compile") 2>conftest.er1
33705 ac_status=$?
33706 grep -v '^ *+' conftest.er1 >conftest.err
33707 rm -f conftest.er1
33708 cat conftest.err >&5
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); } && {
33711 test -z "$ac_c_werror_flag" ||
33712 test ! -s conftest.err
33713 } && test -s conftest.$ac_objext; then
33714
33715 wx_cv_struct_pw_gecos=yes
33716
33717 else
33718 echo "$as_me: failed program was:" >&5
33719 sed 's/^/| /' conftest.$ac_ext >&5
33720
33721
33722 wx_cv_struct_pw_gecos=no
33723
33724
33725 fi
33726
33727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33728
33729
33730 fi
33731 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33732 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33733
33734 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33735 cat >>confdefs.h <<\_ACEOF
33736 #define HAVE_PW_GECOS 1
33737 _ACEOF
33738
33739 fi
33740
33741
33742 if test "$wxUSE_WCHAR_T" = "yes"; then
33743 cat >>confdefs.h <<\_ACEOF
33744 #define wxUSE_WCHAR_T 1
33745 _ACEOF
33746
33747
33748 WCSLEN_FOUND=0
33749 WCHAR_LINK=
33750
33751 for ac_func in wcslen
33752 do
33753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33754 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33756 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33757 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 else
33759 cat >conftest.$ac_ext <<_ACEOF
33760 /* confdefs.h. */
33761 _ACEOF
33762 cat confdefs.h >>conftest.$ac_ext
33763 cat >>conftest.$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33767 #define $ac_func innocuous_$ac_func
33768
33769 /* System header to define __stub macros and hopefully few prototypes,
33770 which can conflict with char $ac_func (); below.
33771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33772 <limits.h> exists even on freestanding compilers. */
33773
33774 #ifdef __STDC__
33775 # include <limits.h>
33776 #else
33777 # include <assert.h>
33778 #endif
33779
33780 #undef $ac_func
33781
33782 /* Override any GCC internal prototype to avoid an error.
33783 Use char because int might match the return type of a GCC
33784 builtin and then its argument prototype would still apply. */
33785 #ifdef __cplusplus
33786 extern "C"
33787 #endif
33788 char $ac_func ();
33789 /* The GNU C library defines this for functions which it implements
33790 to always fail with ENOSYS. Some functions are actually named
33791 something starting with __ and the normal name is an alias. */
33792 #if defined __stub_$ac_func || defined __stub___$ac_func
33793 choke me
33794 #endif
33795
33796 int
33797 main ()
33798 {
33799 return $ac_func ();
33800 ;
33801 return 0;
33802 }
33803 _ACEOF
33804 rm -f conftest.$ac_objext conftest$ac_exeext
33805 if { (ac_try="$ac_link"
33806 case "(($ac_try" in
33807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33808 *) ac_try_echo=$ac_try;;
33809 esac
33810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33811 (eval "$ac_link") 2>conftest.er1
33812 ac_status=$?
33813 grep -v '^ *+' conftest.er1 >conftest.err
33814 rm -f conftest.er1
33815 cat conftest.err >&5
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); } && {
33818 test -z "$ac_c_werror_flag" ||
33819 test ! -s conftest.err
33820 } && test -s conftest$ac_exeext &&
33821 $as_test_x conftest$ac_exeext; then
33822 eval "$as_ac_var=yes"
33823 else
33824 echo "$as_me: failed program was:" >&5
33825 sed 's/^/| /' conftest.$ac_ext >&5
33826
33827 eval "$as_ac_var=no"
33828 fi
33829
33830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33831 conftest$ac_exeext conftest.$ac_ext
33832 fi
33833 ac_res=`eval echo '${'$as_ac_var'}'`
33834 { echo "$as_me:$LINENO: result: $ac_res" >&5
33835 echo "${ECHO_T}$ac_res" >&6; }
33836 if test `eval echo '${'$as_ac_var'}'` = yes; then
33837 cat >>confdefs.h <<_ACEOF
33838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33839 _ACEOF
33840 WCSLEN_FOUND=1
33841 fi
33842 done
33843
33844
33845 if test "$WCSLEN_FOUND" = 0; then
33846 if test "$TOOLKIT" = "MSW"; then
33847 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33848 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33849 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33850 echo $ECHO_N "(cached) $ECHO_C" >&6
33851 else
33852 ac_check_lib_save_LIBS=$LIBS
33853 LIBS="-lmsvcrt $LIBS"
33854 cat >conftest.$ac_ext <<_ACEOF
33855 /* confdefs.h. */
33856 _ACEOF
33857 cat confdefs.h >>conftest.$ac_ext
33858 cat >>conftest.$ac_ext <<_ACEOF
33859 /* end confdefs.h. */
33860
33861 /* Override any GCC internal prototype to avoid an error.
33862 Use char because int might match the return type of a GCC
33863 builtin and then its argument prototype would still apply. */
33864 #ifdef __cplusplus
33865 extern "C"
33866 #endif
33867 char wcslen ();
33868 int
33869 main ()
33870 {
33871 return wcslen ();
33872 ;
33873 return 0;
33874 }
33875 _ACEOF
33876 rm -f conftest.$ac_objext conftest$ac_exeext
33877 if { (ac_try="$ac_link"
33878 case "(($ac_try" in
33879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33880 *) ac_try_echo=$ac_try;;
33881 esac
33882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33883 (eval "$ac_link") 2>conftest.er1
33884 ac_status=$?
33885 grep -v '^ *+' conftest.er1 >conftest.err
33886 rm -f conftest.er1
33887 cat conftest.err >&5
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); } && {
33890 test -z "$ac_c_werror_flag" ||
33891 test ! -s conftest.err
33892 } && test -s conftest$ac_exeext &&
33893 $as_test_x conftest$ac_exeext; then
33894 ac_cv_lib_msvcrt_wcslen=yes
33895 else
33896 echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.$ac_ext >&5
33898
33899 ac_cv_lib_msvcrt_wcslen=no
33900 fi
33901
33902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33903 conftest$ac_exeext conftest.$ac_ext
33904 LIBS=$ac_check_lib_save_LIBS
33905 fi
33906 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33907 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33908 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33909 WCHAR_OK=1
33910 fi
33911
33912 else
33913 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33914 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33915 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33916 echo $ECHO_N "(cached) $ECHO_C" >&6
33917 else
33918 ac_check_lib_save_LIBS=$LIBS
33919 LIBS="-lw $LIBS"
33920 cat >conftest.$ac_ext <<_ACEOF
33921 /* confdefs.h. */
33922 _ACEOF
33923 cat confdefs.h >>conftest.$ac_ext
33924 cat >>conftest.$ac_ext <<_ACEOF
33925 /* end confdefs.h. */
33926
33927 /* Override any GCC internal prototype to avoid an error.
33928 Use char because int might match the return type of a GCC
33929 builtin and then its argument prototype would still apply. */
33930 #ifdef __cplusplus
33931 extern "C"
33932 #endif
33933 char wcslen ();
33934 int
33935 main ()
33936 {
33937 return wcslen ();
33938 ;
33939 return 0;
33940 }
33941 _ACEOF
33942 rm -f conftest.$ac_objext conftest$ac_exeext
33943 if { (ac_try="$ac_link"
33944 case "(($ac_try" in
33945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33946 *) ac_try_echo=$ac_try;;
33947 esac
33948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33949 (eval "$ac_link") 2>conftest.er1
33950 ac_status=$?
33951 grep -v '^ *+' conftest.er1 >conftest.err
33952 rm -f conftest.er1
33953 cat conftest.err >&5
33954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33955 (exit $ac_status); } && {
33956 test -z "$ac_c_werror_flag" ||
33957 test ! -s conftest.err
33958 } && test -s conftest$ac_exeext &&
33959 $as_test_x conftest$ac_exeext; then
33960 ac_cv_lib_w_wcslen=yes
33961 else
33962 echo "$as_me: failed program was:" >&5
33963 sed 's/^/| /' conftest.$ac_ext >&5
33964
33965 ac_cv_lib_w_wcslen=no
33966 fi
33967
33968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33969 conftest$ac_exeext conftest.$ac_ext
33970 LIBS=$ac_check_lib_save_LIBS
33971 fi
33972 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33973 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33974 if test $ac_cv_lib_w_wcslen = yes; then
33975
33976 WCHAR_LINK=" -lw"
33977 WCSLEN_FOUND=1
33978
33979 fi
33980
33981 fi
33982 fi
33983
33984 if test "$WCSLEN_FOUND" = 1; then
33985 cat >>confdefs.h <<\_ACEOF
33986 #define HAVE_WCSLEN 1
33987 _ACEOF
33988
33989 fi
33990
33991 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33992 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33993 fi
33994
33995 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33996 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33997 if test "${ac_cv_type_mbstate_t+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 else
34000 cat >conftest.$ac_ext <<_ACEOF
34001 /* confdefs.h. */
34002 _ACEOF
34003 cat confdefs.h >>conftest.$ac_ext
34004 cat >>conftest.$ac_ext <<_ACEOF
34005 /* end confdefs.h. */
34006 #include <wchar.h>
34007
34008 typedef mbstate_t ac__type_new_;
34009 int
34010 main ()
34011 {
34012 if ((ac__type_new_ *) 0)
34013 return 0;
34014 if (sizeof (ac__type_new_))
34015 return 0;
34016 ;
34017 return 0;
34018 }
34019 _ACEOF
34020 rm -f conftest.$ac_objext
34021 if { (ac_try="$ac_compile"
34022 case "(($ac_try" in
34023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34024 *) ac_try_echo=$ac_try;;
34025 esac
34026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 (eval "$ac_compile") 2>conftest.er1
34028 ac_status=$?
34029 grep -v '^ *+' conftest.er1 >conftest.err
34030 rm -f conftest.er1
34031 cat conftest.err >&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } && {
34034 test -z "$ac_c_werror_flag" ||
34035 test ! -s conftest.err
34036 } && test -s conftest.$ac_objext; then
34037 ac_cv_type_mbstate_t=yes
34038 else
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34041
34042 ac_cv_type_mbstate_t=no
34043 fi
34044
34045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34046 fi
34047 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34048 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34049 if test $ac_cv_type_mbstate_t = yes; then
34050
34051 cat >>confdefs.h <<_ACEOF
34052 #define HAVE_MBSTATE_T 1
34053 _ACEOF
34054
34055
34056 for ac_func in wcsrtombs
34057 do
34058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 else
34064 cat >conftest.$ac_ext <<_ACEOF
34065 /* confdefs.h. */
34066 _ACEOF
34067 cat confdefs.h >>conftest.$ac_ext
34068 cat >>conftest.$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34072 #define $ac_func innocuous_$ac_func
34073
34074 /* System header to define __stub macros and hopefully few prototypes,
34075 which can conflict with char $ac_func (); below.
34076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34077 <limits.h> exists even on freestanding compilers. */
34078
34079 #ifdef __STDC__
34080 # include <limits.h>
34081 #else
34082 # include <assert.h>
34083 #endif
34084
34085 #undef $ac_func
34086
34087 /* Override any GCC internal prototype to avoid an error.
34088 Use char because int might match the return type of a GCC
34089 builtin and then its argument prototype would still apply. */
34090 #ifdef __cplusplus
34091 extern "C"
34092 #endif
34093 char $ac_func ();
34094 /* The GNU C library defines this for functions which it implements
34095 to always fail with ENOSYS. Some functions are actually named
34096 something starting with __ and the normal name is an alias. */
34097 #if defined __stub_$ac_func || defined __stub___$ac_func
34098 choke me
34099 #endif
34100
34101 int
34102 main ()
34103 {
34104 return $ac_func ();
34105 ;
34106 return 0;
34107 }
34108 _ACEOF
34109 rm -f conftest.$ac_objext conftest$ac_exeext
34110 if { (ac_try="$ac_link"
34111 case "(($ac_try" in
34112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34113 *) ac_try_echo=$ac_try;;
34114 esac
34115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34116 (eval "$ac_link") 2>conftest.er1
34117 ac_status=$?
34118 grep -v '^ *+' conftest.er1 >conftest.err
34119 rm -f conftest.er1
34120 cat conftest.err >&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); } && {
34123 test -z "$ac_c_werror_flag" ||
34124 test ! -s conftest.err
34125 } && test -s conftest$ac_exeext &&
34126 $as_test_x conftest$ac_exeext; then
34127 eval "$as_ac_var=yes"
34128 else
34129 echo "$as_me: failed program was:" >&5
34130 sed 's/^/| /' conftest.$ac_ext >&5
34131
34132 eval "$as_ac_var=no"
34133 fi
34134
34135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34136 conftest$ac_exeext conftest.$ac_ext
34137 fi
34138 ac_res=`eval echo '${'$as_ac_var'}'`
34139 { echo "$as_me:$LINENO: result: $ac_res" >&5
34140 echo "${ECHO_T}$ac_res" >&6; }
34141 if test `eval echo '${'$as_ac_var'}'` = yes; then
34142 cat >>confdefs.h <<_ACEOF
34143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34144 _ACEOF
34145
34146 fi
34147 done
34148
34149 fi
34150
34151 else
34152 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34153 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34154 fi
34155
34156
34157
34158 for ac_func in snprintf vsnprintf
34159 do
34160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34164 echo $ECHO_N "(cached) $ECHO_C" >&6
34165 else
34166 cat >conftest.$ac_ext <<_ACEOF
34167 /* confdefs.h. */
34168 _ACEOF
34169 cat confdefs.h >>conftest.$ac_ext
34170 cat >>conftest.$ac_ext <<_ACEOF
34171 /* end confdefs.h. */
34172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34174 #define $ac_func innocuous_$ac_func
34175
34176 /* System header to define __stub macros and hopefully few prototypes,
34177 which can conflict with char $ac_func (); below.
34178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34179 <limits.h> exists even on freestanding compilers. */
34180
34181 #ifdef __STDC__
34182 # include <limits.h>
34183 #else
34184 # include <assert.h>
34185 #endif
34186
34187 #undef $ac_func
34188
34189 /* Override any GCC internal prototype to avoid an error.
34190 Use char because int might match the return type of a GCC
34191 builtin and then its argument prototype would still apply. */
34192 #ifdef __cplusplus
34193 extern "C"
34194 #endif
34195 char $ac_func ();
34196 /* The GNU C library defines this for functions which it implements
34197 to always fail with ENOSYS. Some functions are actually named
34198 something starting with __ and the normal name is an alias. */
34199 #if defined __stub_$ac_func || defined __stub___$ac_func
34200 choke me
34201 #endif
34202
34203 int
34204 main ()
34205 {
34206 return $ac_func ();
34207 ;
34208 return 0;
34209 }
34210 _ACEOF
34211 rm -f conftest.$ac_objext conftest$ac_exeext
34212 if { (ac_try="$ac_link"
34213 case "(($ac_try" in
34214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34215 *) ac_try_echo=$ac_try;;
34216 esac
34217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34218 (eval "$ac_link") 2>conftest.er1
34219 ac_status=$?
34220 grep -v '^ *+' conftest.er1 >conftest.err
34221 rm -f conftest.er1
34222 cat conftest.err >&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } && {
34225 test -z "$ac_c_werror_flag" ||
34226 test ! -s conftest.err
34227 } && test -s conftest$ac_exeext &&
34228 $as_test_x conftest$ac_exeext; then
34229 eval "$as_ac_var=yes"
34230 else
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.$ac_ext >&5
34233
34234 eval "$as_ac_var=no"
34235 fi
34236
34237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34238 conftest$ac_exeext conftest.$ac_ext
34239 fi
34240 ac_res=`eval echo '${'$as_ac_var'}'`
34241 { echo "$as_me:$LINENO: result: $ac_res" >&5
34242 echo "${ECHO_T}$ac_res" >&6; }
34243 if test `eval echo '${'$as_ac_var'}'` = yes; then
34244 cat >>confdefs.h <<_ACEOF
34245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34246 _ACEOF
34247
34248 fi
34249 done
34250
34251
34252 if test "$ac_cv_func_vsnprintf" = "yes"; then
34253 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34254 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34255 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 else
34258
34259 cat >conftest.$ac_ext <<_ACEOF
34260 /* confdefs.h. */
34261 _ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34265
34266 #include <stdio.h>
34267 #include <stdarg.h>
34268 #ifdef __MSL__
34269 #if __MSL__ >= 0x6000
34270 namespace std {}
34271 using namespace std;
34272 #endif
34273 #endif
34274
34275 int
34276 main ()
34277 {
34278
34279 char *buf;
34280 va_list ap;
34281 vsnprintf(buf, 10u, "%s", ap);
34282
34283 ;
34284 return 0;
34285 }
34286 _ACEOF
34287 rm -f conftest.$ac_objext
34288 if { (ac_try="$ac_compile"
34289 case "(($ac_try" in
34290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34291 *) ac_try_echo=$ac_try;;
34292 esac
34293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34294 (eval "$ac_compile") 2>conftest.er1
34295 ac_status=$?
34296 grep -v '^ *+' conftest.er1 >conftest.err
34297 rm -f conftest.er1
34298 cat conftest.err >&5
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); } && {
34301 test -z "$ac_c_werror_flag" ||
34302 test ! -s conftest.err
34303 } && test -s conftest.$ac_objext; then
34304 wx_cv_func_vsnprintf_decl=yes
34305 else
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34308
34309 wx_cv_func_vsnprintf_decl=no
34310
34311 fi
34312
34313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34314
34315
34316 fi
34317 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34318 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34319
34320 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34321 cat >>confdefs.h <<\_ACEOF
34322 #define HAVE_VSNPRINTF_DECL 1
34323 _ACEOF
34324
34325
34326 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34327 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34328 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34329 echo $ECHO_N "(cached) $ECHO_C" >&6
34330 else
34331
34332 cat >conftest.$ac_ext <<_ACEOF
34333 /* confdefs.h. */
34334 _ACEOF
34335 cat confdefs.h >>conftest.$ac_ext
34336 cat >>conftest.$ac_ext <<_ACEOF
34337 /* end confdefs.h. */
34338
34339 #include <stdio.h>
34340 #include <stdarg.h>
34341 #ifdef __MSL__
34342 #if __MSL__ >= 0x6000
34343 namespace std {}
34344 using namespace std;
34345 #endif
34346 #endif
34347
34348 int
34349 main ()
34350 {
34351
34352 char *buf;
34353 va_list ap;
34354 const char *fmt = "%s";
34355 vsnprintf(buf, 10u, fmt, ap);
34356
34357 ;
34358 return 0;
34359 }
34360 _ACEOF
34361 rm -f conftest.$ac_objext
34362 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
34378 wx_cv_func_broken_vsnprintf_decl=no
34379 else
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34382
34383 wx_cv_func_broken_vsnprintf_decl=yes
34384
34385 fi
34386
34387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34388
34389
34390 fi
34391 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34392 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34393
34394 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34395 cat >>confdefs.h <<\_ACEOF
34396 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34397 _ACEOF
34398
34399 fi
34400 fi
34401 fi
34402
34403 if test "$ac_cv_func_snprintf" = "yes"; then
34404 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34405 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34406 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34407 echo $ECHO_N "(cached) $ECHO_C" >&6
34408 else
34409
34410 cat >conftest.$ac_ext <<_ACEOF
34411 /* confdefs.h. */
34412 _ACEOF
34413 cat confdefs.h >>conftest.$ac_ext
34414 cat >>conftest.$ac_ext <<_ACEOF
34415 /* end confdefs.h. */
34416
34417 #include <stdio.h>
34418 #include <stdarg.h>
34419 #ifdef __MSL__
34420 #if __MSL__ >= 0x6000
34421 namespace std {}
34422 using namespace std;
34423 #endif
34424 #endif
34425
34426 int
34427 main ()
34428 {
34429
34430 char *buf;
34431 snprintf(buf, 10u, "%s", "wx");
34432
34433 ;
34434 return 0;
34435 }
34436 _ACEOF
34437 rm -f conftest.$ac_objext
34438 if { (ac_try="$ac_compile"
34439 case "(($ac_try" in
34440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34441 *) ac_try_echo=$ac_try;;
34442 esac
34443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34444 (eval "$ac_compile") 2>conftest.er1
34445 ac_status=$?
34446 grep -v '^ *+' conftest.er1 >conftest.err
34447 rm -f conftest.er1
34448 cat conftest.err >&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } && {
34451 test -z "$ac_c_werror_flag" ||
34452 test ! -s conftest.err
34453 } && test -s conftest.$ac_objext; then
34454 wx_cv_func_snprintf_decl=yes
34455 else
34456 echo "$as_me: failed program was:" >&5
34457 sed 's/^/| /' conftest.$ac_ext >&5
34458
34459 wx_cv_func_snprintf_decl=no
34460
34461 fi
34462
34463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34464
34465
34466 fi
34467 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34468 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34469
34470 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34471 cat >>confdefs.h <<\_ACEOF
34472 #define HAVE_SNPRINTF_DECL 1
34473 _ACEOF
34474
34475
34476 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34477 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34478 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34480 else
34481
34482 cat >conftest.$ac_ext <<_ACEOF
34483 /* confdefs.h. */
34484 _ACEOF
34485 cat confdefs.h >>conftest.$ac_ext
34486 cat >>conftest.$ac_ext <<_ACEOF
34487 /* end confdefs.h. */
34488
34489 #include <stdio.h>
34490 #include <stdarg.h>
34491 #ifdef __MSL__
34492 #if __MSL__ >= 0x6000
34493 namespace std {}
34494 using namespace std;
34495 #endif
34496 #endif
34497
34498 int
34499 main ()
34500 {
34501
34502 char *buf;
34503 const char *fmt = "%s";
34504 snprintf(buf, 10u, fmt, "wx");
34505
34506 ;
34507 return 0;
34508 }
34509 _ACEOF
34510 rm -f conftest.$ac_objext
34511 if { (ac_try="$ac_compile"
34512 case "(($ac_try" in
34513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34514 *) ac_try_echo=$ac_try;;
34515 esac
34516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34517 (eval "$ac_compile") 2>conftest.er1
34518 ac_status=$?
34519 grep -v '^ *+' conftest.er1 >conftest.err
34520 rm -f conftest.er1
34521 cat conftest.err >&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); } && {
34524 test -z "$ac_c_werror_flag" ||
34525 test ! -s conftest.err
34526 } && test -s conftest.$ac_objext; then
34527 wx_cv_func_broken_snprintf_decl=no
34528 else
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34531
34532 wx_cv_func_broken_snprintf_decl=yes
34533
34534 fi
34535
34536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34537
34538
34539 fi
34540 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34541 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34542
34543 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34544 cat >>confdefs.h <<\_ACEOF
34545 #define HAVE_BROKEN_SNPRINTF_DECL 1
34546 _ACEOF
34547
34548 fi
34549 fi
34550
34551 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34552
34553 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34554 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34555 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34556 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 else
34558
34559 if test "$cross_compiling" = yes; then
34560
34561 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34562 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34563 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34564 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34565 wx_cv_func_snprintf_pos_params=no
34566
34567
34568 else
34569 cat >conftest.$ac_ext <<_ACEOF
34570 /* confdefs.h. */
34571 _ACEOF
34572 cat confdefs.h >>conftest.$ac_ext
34573 cat >>conftest.$ac_ext <<_ACEOF
34574 /* end confdefs.h. */
34575
34576 #include <stdio.h>
34577
34578 int main (void)
34579 {
34580 char buffer[128];
34581 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34582 if (strcmp ("2 3 1", buffer) == 0)
34583 exit (0);
34584 exit (1);
34585 }
34586
34587 _ACEOF
34588 rm -f conftest$ac_exeext
34589 if { (ac_try="$ac_link"
34590 case "(($ac_try" in
34591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34592 *) ac_try_echo=$ac_try;;
34593 esac
34594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34595 (eval "$ac_link") 2>&5
34596 ac_status=$?
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34599 { (case "(($ac_try" in
34600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34601 *) ac_try_echo=$ac_try;;
34602 esac
34603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34604 (eval "$ac_try") 2>&5
34605 ac_status=$?
34606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34607 (exit $ac_status); }; }; then
34608 wx_cv_func_snprintf_pos_params=no
34609 else
34610 echo "$as_me: program exited with status $ac_status" >&5
34611 echo "$as_me: failed program was:" >&5
34612 sed 's/^/| /' conftest.$ac_ext >&5
34613
34614 ( exit $ac_status )
34615 wx_cv_func_snprintf_pos_params=yes
34616 fi
34617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34618 fi
34619
34620
34621
34622
34623 fi
34624 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34625 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34626
34627 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34628 cat >>confdefs.h <<\_ACEOF
34629 #define HAVE_UNIX98_PRINTF 1
34630 _ACEOF
34631
34632 fi
34633 fi
34634 fi
34635
34636 if test "$wxUSE_UNICODE" = yes; then
34637
34638
34639 for ac_func in swprintf
34640 do
34641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34645 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 else
34647 cat >conftest.$ac_ext <<_ACEOF
34648 /* confdefs.h. */
34649 _ACEOF
34650 cat confdefs.h >>conftest.$ac_ext
34651 cat >>conftest.$ac_ext <<_ACEOF
34652 /* end confdefs.h. */
34653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34655 #define $ac_func innocuous_$ac_func
34656
34657 /* System header to define __stub macros and hopefully few prototypes,
34658 which can conflict with char $ac_func (); below.
34659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34660 <limits.h> exists even on freestanding compilers. */
34661
34662 #ifdef __STDC__
34663 # include <limits.h>
34664 #else
34665 # include <assert.h>
34666 #endif
34667
34668 #undef $ac_func
34669
34670 /* Override any GCC internal prototype to avoid an error.
34671 Use char because int might match the return type of a GCC
34672 builtin and then its argument prototype would still apply. */
34673 #ifdef __cplusplus
34674 extern "C"
34675 #endif
34676 char $ac_func ();
34677 /* The GNU C library defines this for functions which it implements
34678 to always fail with ENOSYS. Some functions are actually named
34679 something starting with __ and the normal name is an alias. */
34680 #if defined __stub_$ac_func || defined __stub___$ac_func
34681 choke me
34682 #endif
34683
34684 int
34685 main ()
34686 {
34687 return $ac_func ();
34688 ;
34689 return 0;
34690 }
34691 _ACEOF
34692 rm -f conftest.$ac_objext conftest$ac_exeext
34693 if { (ac_try="$ac_link"
34694 case "(($ac_try" in
34695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34696 *) ac_try_echo=$ac_try;;
34697 esac
34698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34699 (eval "$ac_link") 2>conftest.er1
34700 ac_status=$?
34701 grep -v '^ *+' conftest.er1 >conftest.err
34702 rm -f conftest.er1
34703 cat conftest.err >&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } && {
34706 test -z "$ac_c_werror_flag" ||
34707 test ! -s conftest.err
34708 } && test -s conftest$ac_exeext &&
34709 $as_test_x conftest$ac_exeext; then
34710 eval "$as_ac_var=yes"
34711 else
34712 echo "$as_me: failed program was:" >&5
34713 sed 's/^/| /' conftest.$ac_ext >&5
34714
34715 eval "$as_ac_var=no"
34716 fi
34717
34718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34719 conftest$ac_exeext conftest.$ac_ext
34720 fi
34721 ac_res=`eval echo '${'$as_ac_var'}'`
34722 { echo "$as_me:$LINENO: result: $ac_res" >&5
34723 echo "${ECHO_T}$ac_res" >&6; }
34724 if test `eval echo '${'$as_ac_var'}'` = yes; then
34725 cat >>confdefs.h <<_ACEOF
34726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34727 _ACEOF
34728
34729 fi
34730 done
34731
34732
34733 if test "$ac_cv_func_swprintf" = "yes"; then
34734 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34735 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34736 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 else
34739
34740 cat >conftest.$ac_ext <<_ACEOF
34741 /* confdefs.h. */
34742 _ACEOF
34743 cat confdefs.h >>conftest.$ac_ext
34744 cat >>conftest.$ac_ext <<_ACEOF
34745 /* end confdefs.h. */
34746
34747 #include <stdio.h>
34748 #include <stdarg.h>
34749 #include <wchar.h>
34750
34751 int
34752 main ()
34753 {
34754
34755 wchar_t *buf;
34756 const wchar_t *fmt = L"test";
34757 swprintf(buf, 10u, fmt);
34758
34759 ;
34760 return 0;
34761 }
34762 _ACEOF
34763 rm -f conftest.$ac_objext
34764 if { (ac_try="$ac_compile"
34765 case "(($ac_try" in
34766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34767 *) ac_try_echo=$ac_try;;
34768 esac
34769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34770 (eval "$ac_compile") 2>conftest.er1
34771 ac_status=$?
34772 grep -v '^ *+' conftest.er1 >conftest.err
34773 rm -f conftest.er1
34774 cat conftest.err >&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); } && {
34777 test -z "$ac_c_werror_flag" ||
34778 test ! -s conftest.err
34779 } && test -s conftest.$ac_objext; then
34780 wx_cv_func_broken_swprintf_decl=no
34781 else
34782 echo "$as_me: failed program was:" >&5
34783 sed 's/^/| /' conftest.$ac_ext >&5
34784
34785 wx_cv_func_broken_swprintf_decl=yes
34786
34787 fi
34788
34789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34790
34791
34792 fi
34793 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34794 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34795
34796 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34797 cat >>confdefs.h <<\_ACEOF
34798 #define HAVE_BROKEN_SWPRINTF_DECL 1
34799 _ACEOF
34800
34801 fi
34802 fi
34803
34804 wchar_headers="#include <stdio.h>
34805 #include <wchar.h>"
34806 case "${host}" in
34807 *-*-solaris2* )
34808 { echo "$as_me:$LINENO: checking for widec.h" >&5
34809 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34810 if test "${ac_cv_header_widec_h+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34812 else
34813 cat >conftest.$ac_ext <<_ACEOF
34814 /* confdefs.h. */
34815 _ACEOF
34816 cat confdefs.h >>conftest.$ac_ext
34817 cat >>conftest.$ac_ext <<_ACEOF
34818 /* end confdefs.h. */
34819 $ac_includes_default
34820
34821 #include <widec.h>
34822 _ACEOF
34823 rm -f conftest.$ac_objext
34824 if { (ac_try="$ac_compile"
34825 case "(($ac_try" in
34826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34827 *) ac_try_echo=$ac_try;;
34828 esac
34829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34830 (eval "$ac_compile") 2>conftest.er1
34831 ac_status=$?
34832 grep -v '^ *+' conftest.er1 >conftest.err
34833 rm -f conftest.er1
34834 cat conftest.err >&5
34835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34836 (exit $ac_status); } && {
34837 test -z "$ac_c_werror_flag" ||
34838 test ! -s conftest.err
34839 } && test -s conftest.$ac_objext; then
34840 ac_cv_header_widec_h=yes
34841 else
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34844
34845 ac_cv_header_widec_h=no
34846 fi
34847
34848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34849 fi
34850 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34851 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34852
34853
34854 if test "$ac_cv_header_widec_h" = "yes"; then
34855 wchar_headers="$wchar_headers
34856 #include <widec.h>"
34857 fi
34858 esac
34859
34860
34861 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34862 do
34863 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34864 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34865 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34866 echo $ECHO_N "(cached) $ECHO_C" >&6
34867 else
34868
34869 cat >conftest.$ac_ext <<_ACEOF
34870
34871 /* confdefs.h. */
34872 _ACEOF
34873 cat confdefs.h >>conftest.$ac_ext
34874 cat >>conftest.$ac_ext <<_ACEOF
34875 /* end confdefs.h. */
34876
34877 $wchar_headers
34878 $ac_includes_default
34879
34880 int
34881 main ()
34882 {
34883
34884 #ifndef $wx_func
34885 &$wx_func;
34886 #endif
34887
34888
34889 ;
34890 return 0;
34891 }
34892
34893 _ACEOF
34894 rm -f conftest.$ac_objext conftest$ac_exeext
34895 if { (ac_try="$ac_link"
34896 case "(($ac_try" in
34897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34898 *) ac_try_echo=$ac_try;;
34899 esac
34900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34901 (eval "$ac_link") 2>conftest.er1
34902 ac_status=$?
34903 grep -v '^ *+' conftest.er1 >conftest.err
34904 rm -f conftest.er1
34905 cat conftest.err >&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); } && {
34908 test -z "$ac_c_werror_flag" ||
34909 test ! -s conftest.err
34910 } && test -s conftest$ac_exeext &&
34911 $as_test_x conftest$ac_exeext; then
34912 eval wx_cv_func_$wx_func=yes
34913 else
34914 echo "$as_me: failed program was:" >&5
34915 sed 's/^/| /' conftest.$ac_ext >&5
34916
34917 eval wx_cv_func_$wx_func=no
34918 fi
34919
34920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34921 conftest$ac_exeext conftest.$ac_ext
34922
34923 fi
34924 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34925 { echo "$as_me:$LINENO: result: $ac_res" >&5
34926 echo "${ECHO_T}$ac_res" >&6; }
34927
34928 if eval test \$wx_cv_func_$wx_func = yes
34929 then
34930 cat >>confdefs.h <<_ACEOF
34931 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34932 _ACEOF
34933
34934
34935 else
34936 :
34937
34938 fi
34939 done
34940
34941
34942 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34943 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34944 cat >conftest.$ac_ext <<_ACEOF
34945 /* confdefs.h. */
34946 _ACEOF
34947 cat confdefs.h >>conftest.$ac_ext
34948 cat >>conftest.$ac_ext <<_ACEOF
34949 /* end confdefs.h. */
34950 #include <wchar.h>
34951 int
34952 main ()
34953 {
34954 &_vsnwprintf;
34955 ;
34956 return 0;
34957 }
34958 _ACEOF
34959 rm -f conftest.$ac_objext
34960 if { (ac_try="$ac_compile"
34961 case "(($ac_try" in
34962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34963 *) ac_try_echo=$ac_try;;
34964 esac
34965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34966 (eval "$ac_compile") 2>conftest.er1
34967 ac_status=$?
34968 grep -v '^ *+' conftest.er1 >conftest.err
34969 rm -f conftest.er1
34970 cat conftest.err >&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); } && {
34973 test -z "$ac_c_werror_flag" ||
34974 test ! -s conftest.err
34975 } && test -s conftest.$ac_objext; then
34976 { echo "$as_me:$LINENO: result: yes" >&5
34977 echo "${ECHO_T}yes" >&6; }
34978 cat >>confdefs.h <<\_ACEOF
34979 #define HAVE__VSNWPRINTF 1
34980 _ACEOF
34981
34982 else
34983 echo "$as_me: failed program was:" >&5
34984 sed 's/^/| /' conftest.$ac_ext >&5
34985
34986 { echo "$as_me:$LINENO: result: no" >&5
34987 echo "${ECHO_T}no" >&6; }
34988 fi
34989
34990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34991 fi
34992
34993 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34994
34995 for wx_func in fnmatch
34996 do
34997 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34998 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34999 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35000 echo $ECHO_N "(cached) $ECHO_C" >&6
35001 else
35002
35003 cat >conftest.$ac_ext <<_ACEOF
35004
35005 /* confdefs.h. */
35006 _ACEOF
35007 cat confdefs.h >>conftest.$ac_ext
35008 cat >>conftest.$ac_ext <<_ACEOF
35009 /* end confdefs.h. */
35010
35011 #include <fnmatch.h>
35012 $ac_includes_default
35013
35014 int
35015 main ()
35016 {
35017
35018 #ifndef $wx_func
35019 &$wx_func;
35020 #endif
35021
35022
35023 ;
35024 return 0;
35025 }
35026
35027 _ACEOF
35028 rm -f conftest.$ac_objext conftest$ac_exeext
35029 if { (ac_try="$ac_link"
35030 case "(($ac_try" in
35031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35032 *) ac_try_echo=$ac_try;;
35033 esac
35034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35035 (eval "$ac_link") 2>conftest.er1
35036 ac_status=$?
35037 grep -v '^ *+' conftest.er1 >conftest.err
35038 rm -f conftest.er1
35039 cat conftest.err >&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); } && {
35042 test -z "$ac_c_werror_flag" ||
35043 test ! -s conftest.err
35044 } && test -s conftest$ac_exeext &&
35045 $as_test_x conftest$ac_exeext; then
35046 eval wx_cv_func_$wx_func=yes
35047 else
35048 echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.$ac_ext >&5
35050
35051 eval wx_cv_func_$wx_func=no
35052 fi
35053
35054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35055 conftest$ac_exeext conftest.$ac_ext
35056
35057 fi
35058 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35059 { echo "$as_me:$LINENO: result: $ac_res" >&5
35060 echo "${ECHO_T}$ac_res" >&6; }
35061
35062 if eval test \$wx_cv_func_$wx_func = yes
35063 then
35064 cat >>confdefs.h <<_ACEOF
35065 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35066 _ACEOF
35067
35068
35069 else
35070 :
35071
35072 fi
35073 done
35074
35075 fi
35076
35077 if test "$wxUSE_FILE" = "yes"; then
35078
35079 for wx_func in fsync
35080 do
35081 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35082 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35083 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35084 echo $ECHO_N "(cached) $ECHO_C" >&6
35085 else
35086
35087 cat >conftest.$ac_ext <<_ACEOF
35088
35089 /* confdefs.h. */
35090 _ACEOF
35091 cat confdefs.h >>conftest.$ac_ext
35092 cat >>conftest.$ac_ext <<_ACEOF
35093 /* end confdefs.h. */
35094
35095
35096 $ac_includes_default
35097
35098 int
35099 main ()
35100 {
35101
35102 #ifndef $wx_func
35103 &$wx_func;
35104 #endif
35105
35106
35107 ;
35108 return 0;
35109 }
35110
35111 _ACEOF
35112 rm -f conftest.$ac_objext conftest$ac_exeext
35113 if { (ac_try="$ac_link"
35114 case "(($ac_try" in
35115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35116 *) ac_try_echo=$ac_try;;
35117 esac
35118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35119 (eval "$ac_link") 2>conftest.er1
35120 ac_status=$?
35121 grep -v '^ *+' conftest.er1 >conftest.err
35122 rm -f conftest.er1
35123 cat conftest.err >&5
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); } && {
35126 test -z "$ac_c_werror_flag" ||
35127 test ! -s conftest.err
35128 } && test -s conftest$ac_exeext &&
35129 $as_test_x conftest$ac_exeext; then
35130 eval wx_cv_func_$wx_func=yes
35131 else
35132 echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.$ac_ext >&5
35134
35135 eval wx_cv_func_$wx_func=no
35136 fi
35137
35138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35139 conftest$ac_exeext conftest.$ac_ext
35140
35141 fi
35142 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35143 { echo "$as_me:$LINENO: result: $ac_res" >&5
35144 echo "${ECHO_T}$ac_res" >&6; }
35145
35146 if eval test \$wx_cv_func_$wx_func = yes
35147 then
35148 cat >>confdefs.h <<_ACEOF
35149 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35150 _ACEOF
35151
35152
35153 else
35154 :
35155
35156 fi
35157 done
35158
35159 fi
35160
35161
35162 for wx_func in round
35163 do
35164 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35165 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35166 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 else
35169
35170 cat >conftest.$ac_ext <<_ACEOF
35171
35172 /* confdefs.h. */
35173 _ACEOF
35174 cat confdefs.h >>conftest.$ac_ext
35175 cat >>conftest.$ac_ext <<_ACEOF
35176 /* end confdefs.h. */
35177
35178 #include <math.h>
35179 $ac_includes_default
35180
35181 int
35182 main ()
35183 {
35184
35185 #ifndef $wx_func
35186 &$wx_func;
35187 #endif
35188
35189
35190 ;
35191 return 0;
35192 }
35193
35194 _ACEOF
35195 rm -f conftest.$ac_objext conftest$ac_exeext
35196 if { (ac_try="$ac_link"
35197 case "(($ac_try" in
35198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35199 *) ac_try_echo=$ac_try;;
35200 esac
35201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35202 (eval "$ac_link") 2>conftest.er1
35203 ac_status=$?
35204 grep -v '^ *+' conftest.er1 >conftest.err
35205 rm -f conftest.er1
35206 cat conftest.err >&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); } && {
35209 test -z "$ac_c_werror_flag" ||
35210 test ! -s conftest.err
35211 } && test -s conftest$ac_exeext &&
35212 $as_test_x conftest$ac_exeext; then
35213 eval wx_cv_func_$wx_func=yes
35214 else
35215 echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.$ac_ext >&5
35217
35218 eval wx_cv_func_$wx_func=no
35219 fi
35220
35221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35222 conftest$ac_exeext conftest.$ac_ext
35223
35224 fi
35225 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35226 { echo "$as_me:$LINENO: result: $ac_res" >&5
35227 echo "${ECHO_T}$ac_res" >&6; }
35228
35229 if eval test \$wx_cv_func_$wx_func = yes
35230 then
35231 cat >>confdefs.h <<_ACEOF
35232 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35233 _ACEOF
35234
35235
35236 else
35237 :
35238
35239 fi
35240 done
35241
35242
35243 if test "$TOOLKIT" != "MSW"; then
35244
35245
35246
35247
35248
35249 # Check whether --with-libiconv-prefix was given.
35250 if test "${with_libiconv_prefix+set}" = set; then
35251 withval=$with_libiconv_prefix;
35252 for dir in `echo "$withval" | tr : ' '`; do
35253 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35254 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35255 done
35256
35257 fi
35258
35259
35260 { echo "$as_me:$LINENO: checking for iconv" >&5
35261 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35262 if test "${am_cv_func_iconv+set}" = set; then
35263 echo $ECHO_N "(cached) $ECHO_C" >&6
35264 else
35265
35266 am_cv_func_iconv="no, consider installing GNU libiconv"
35267 am_cv_lib_iconv=no
35268 cat >conftest.$ac_ext <<_ACEOF
35269 /* confdefs.h. */
35270 _ACEOF
35271 cat confdefs.h >>conftest.$ac_ext
35272 cat >>conftest.$ac_ext <<_ACEOF
35273 /* end confdefs.h. */
35274 #include <stdlib.h>
35275 #include <iconv.h>
35276 int
35277 main ()
35278 {
35279 iconv_t cd = iconv_open("","");
35280 iconv(cd,NULL,NULL,NULL,NULL);
35281 iconv_close(cd);
35282 ;
35283 return 0;
35284 }
35285 _ACEOF
35286 rm -f conftest.$ac_objext conftest$ac_exeext
35287 if { (ac_try="$ac_link"
35288 case "(($ac_try" in
35289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35290 *) ac_try_echo=$ac_try;;
35291 esac
35292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35293 (eval "$ac_link") 2>conftest.er1
35294 ac_status=$?
35295 grep -v '^ *+' conftest.er1 >conftest.err
35296 rm -f conftest.er1
35297 cat conftest.err >&5
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); } && {
35300 test -z "$ac_c_werror_flag" ||
35301 test ! -s conftest.err
35302 } && test -s conftest$ac_exeext &&
35303 $as_test_x conftest$ac_exeext; then
35304 am_cv_func_iconv=yes
35305 else
35306 echo "$as_me: failed program was:" >&5
35307 sed 's/^/| /' conftest.$ac_ext >&5
35308
35309
35310 fi
35311
35312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35313 conftest$ac_exeext conftest.$ac_ext
35314 if test "$am_cv_func_iconv" != yes; then
35315 am_save_LIBS="$LIBS"
35316 LIBS="$LIBS -liconv"
35317 cat >conftest.$ac_ext <<_ACEOF
35318 /* confdefs.h. */
35319 _ACEOF
35320 cat confdefs.h >>conftest.$ac_ext
35321 cat >>conftest.$ac_ext <<_ACEOF
35322 /* end confdefs.h. */
35323 #include <stdlib.h>
35324 #include <iconv.h>
35325 int
35326 main ()
35327 {
35328 iconv_t cd = iconv_open("","");
35329 iconv(cd,NULL,NULL,NULL,NULL);
35330 iconv_close(cd);
35331 ;
35332 return 0;
35333 }
35334 _ACEOF
35335 rm -f conftest.$ac_objext conftest$ac_exeext
35336 if { (ac_try="$ac_link"
35337 case "(($ac_try" in
35338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35339 *) ac_try_echo=$ac_try;;
35340 esac
35341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35342 (eval "$ac_link") 2>conftest.er1
35343 ac_status=$?
35344 grep -v '^ *+' conftest.er1 >conftest.err
35345 rm -f conftest.er1
35346 cat conftest.err >&5
35347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35348 (exit $ac_status); } && {
35349 test -z "$ac_c_werror_flag" ||
35350 test ! -s conftest.err
35351 } && test -s conftest$ac_exeext &&
35352 $as_test_x conftest$ac_exeext; then
35353 am_cv_lib_iconv=yes
35354 am_cv_func_iconv=yes
35355 else
35356 echo "$as_me: failed program was:" >&5
35357 sed 's/^/| /' conftest.$ac_ext >&5
35358
35359
35360 fi
35361
35362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35363 conftest$ac_exeext conftest.$ac_ext
35364 LIBS="$am_save_LIBS"
35365 fi
35366
35367 fi
35368 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35369 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35370 if test "$am_cv_func_iconv" = yes; then
35371
35372 cat >>confdefs.h <<\_ACEOF
35373 #define HAVE_ICONV 1
35374 _ACEOF
35375
35376 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35377 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35378 if test "${wx_cv_func_iconv_const+set}" = set; then
35379 echo $ECHO_N "(cached) $ECHO_C" >&6
35380 else
35381 cat >conftest.$ac_ext <<_ACEOF
35382 /* confdefs.h. */
35383 _ACEOF
35384 cat confdefs.h >>conftest.$ac_ext
35385 cat >>conftest.$ac_ext <<_ACEOF
35386 /* end confdefs.h. */
35387
35388 #include <stdlib.h>
35389 #include <iconv.h>
35390 extern
35391 #ifdef __cplusplus
35392 "C"
35393 #endif
35394 #if defined(__STDC__) || defined(__cplusplus)
35395 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35396 #else
35397 size_t iconv();
35398 #endif
35399
35400 int
35401 main ()
35402 {
35403
35404 ;
35405 return 0;
35406 }
35407 _ACEOF
35408 rm -f conftest.$ac_objext
35409 if { (ac_try="$ac_compile"
35410 case "(($ac_try" in
35411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35412 *) ac_try_echo=$ac_try;;
35413 esac
35414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35415 (eval "$ac_compile") 2>conftest.er1
35416 ac_status=$?
35417 grep -v '^ *+' conftest.er1 >conftest.err
35418 rm -f conftest.er1
35419 cat conftest.err >&5
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); } && {
35422 test -z "$ac_c_werror_flag" ||
35423 test ! -s conftest.err
35424 } && test -s conftest.$ac_objext; then
35425 wx_cv_func_iconv_const="no"
35426 else
35427 echo "$as_me: failed program was:" >&5
35428 sed 's/^/| /' conftest.$ac_ext >&5
35429
35430 wx_cv_func_iconv_const="yes"
35431
35432 fi
35433
35434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35435
35436 fi
35437 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35438 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35439
35440 iconv_const=
35441 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35442 iconv_const="const"
35443 fi
35444
35445
35446 cat >>confdefs.h <<_ACEOF
35447 #define ICONV_CONST $iconv_const
35448 _ACEOF
35449
35450 fi
35451 LIBICONV=
35452 if test "$am_cv_lib_iconv" = yes; then
35453 LIBICONV="-liconv"
35454 fi
35455
35456
35457 LIBS="$LIBICONV $LIBS"
35458
35459 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35460
35461 for ac_func in sigaction
35462 do
35463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35464 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35466 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35467 echo $ECHO_N "(cached) $ECHO_C" >&6
35468 else
35469 cat >conftest.$ac_ext <<_ACEOF
35470 /* confdefs.h. */
35471 _ACEOF
35472 cat confdefs.h >>conftest.$ac_ext
35473 cat >>conftest.$ac_ext <<_ACEOF
35474 /* end confdefs.h. */
35475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35477 #define $ac_func innocuous_$ac_func
35478
35479 /* System header to define __stub macros and hopefully few prototypes,
35480 which can conflict with char $ac_func (); below.
35481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35482 <limits.h> exists even on freestanding compilers. */
35483
35484 #ifdef __STDC__
35485 # include <limits.h>
35486 #else
35487 # include <assert.h>
35488 #endif
35489
35490 #undef $ac_func
35491
35492 /* Override any GCC internal prototype to avoid an error.
35493 Use char because int might match the return type of a GCC
35494 builtin and then its argument prototype would still apply. */
35495 #ifdef __cplusplus
35496 extern "C"
35497 #endif
35498 char $ac_func ();
35499 /* The GNU C library defines this for functions which it implements
35500 to always fail with ENOSYS. Some functions are actually named
35501 something starting with __ and the normal name is an alias. */
35502 #if defined __stub_$ac_func || defined __stub___$ac_func
35503 choke me
35504 #endif
35505
35506 int
35507 main ()
35508 {
35509 return $ac_func ();
35510 ;
35511 return 0;
35512 }
35513 _ACEOF
35514 rm -f conftest.$ac_objext conftest$ac_exeext
35515 if { (ac_try="$ac_link"
35516 case "(($ac_try" in
35517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35518 *) ac_try_echo=$ac_try;;
35519 esac
35520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35521 (eval "$ac_link") 2>conftest.er1
35522 ac_status=$?
35523 grep -v '^ *+' conftest.er1 >conftest.err
35524 rm -f conftest.er1
35525 cat conftest.err >&5
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); } && {
35528 test -z "$ac_c_werror_flag" ||
35529 test ! -s conftest.err
35530 } && test -s conftest$ac_exeext &&
35531 $as_test_x conftest$ac_exeext; then
35532 eval "$as_ac_var=yes"
35533 else
35534 echo "$as_me: failed program was:" >&5
35535 sed 's/^/| /' conftest.$ac_ext >&5
35536
35537 eval "$as_ac_var=no"
35538 fi
35539
35540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35541 conftest$ac_exeext conftest.$ac_ext
35542 fi
35543 ac_res=`eval echo '${'$as_ac_var'}'`
35544 { echo "$as_me:$LINENO: result: $ac_res" >&5
35545 echo "${ECHO_T}$ac_res" >&6; }
35546 if test `eval echo '${'$as_ac_var'}'` = yes; then
35547 cat >>confdefs.h <<_ACEOF
35548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35549 _ACEOF
35550
35551 fi
35552 done
35553
35554
35555 if test "$ac_cv_func_sigaction" = "no"; then
35556 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35557 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35558 wxUSE_ON_FATAL_EXCEPTION=no
35559 fi
35560
35561 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35562 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35563 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35564 if test "${wx_cv_type_sa_handler+set}" = set; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35566 else
35567
35568 ac_ext=cpp
35569 ac_cpp='$CXXCPP $CPPFLAGS'
35570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35573
35574 cat >conftest.$ac_ext <<_ACEOF
35575 /* confdefs.h. */
35576 _ACEOF
35577 cat confdefs.h >>conftest.$ac_ext
35578 cat >>conftest.$ac_ext <<_ACEOF
35579 /* end confdefs.h. */
35580 #include <signal.h>
35581 int
35582 main ()
35583 {
35584
35585 extern void testSigHandler(int);
35586
35587 struct sigaction sa;
35588 sa.sa_handler = testSigHandler;
35589
35590 ;
35591 return 0;
35592 }
35593 _ACEOF
35594 rm -f conftest.$ac_objext
35595 if { (ac_try="$ac_compile"
35596 case "(($ac_try" in
35597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35598 *) ac_try_echo=$ac_try;;
35599 esac
35600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35601 (eval "$ac_compile") 2>conftest.er1
35602 ac_status=$?
35603 grep -v '^ *+' conftest.er1 >conftest.err
35604 rm -f conftest.er1
35605 cat conftest.err >&5
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); } && {
35608 test -z "$ac_cxx_werror_flag" ||
35609 test ! -s conftest.err
35610 } && test -s conftest.$ac_objext; then
35611
35612 wx_cv_type_sa_handler=int
35613
35614 else
35615 echo "$as_me: failed program was:" >&5
35616 sed 's/^/| /' conftest.$ac_ext >&5
35617
35618
35619 wx_cv_type_sa_handler=void
35620
35621 fi
35622
35623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35624 ac_ext=c
35625 ac_cpp='$CPP $CPPFLAGS'
35626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35629
35630
35631 fi
35632 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35633 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35634
35635 cat >>confdefs.h <<_ACEOF
35636 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35637 _ACEOF
35638
35639 fi
35640 fi
35641
35642 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35643 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35644 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35645 if test "${wx_cv_func_backtrace+set}" = set; then
35646 echo $ECHO_N "(cached) $ECHO_C" >&6
35647 else
35648
35649 ac_ext=cpp
35650 ac_cpp='$CXXCPP $CPPFLAGS'
35651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35654
35655 cat >conftest.$ac_ext <<_ACEOF
35656 /* confdefs.h. */
35657 _ACEOF
35658 cat confdefs.h >>conftest.$ac_ext
35659 cat >>conftest.$ac_ext <<_ACEOF
35660 /* end confdefs.h. */
35661 #include <execinfo.h>
35662 int
35663 main ()
35664 {
35665
35666 void *trace[1];
35667 char **messages;
35668
35669 backtrace(trace, 1);
35670 messages = backtrace_symbols(trace, 1);
35671
35672 ;
35673 return 0;
35674 }
35675 _ACEOF
35676 rm -f conftest.$ac_objext
35677 if { (ac_try="$ac_compile"
35678 case "(($ac_try" in
35679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35680 *) ac_try_echo=$ac_try;;
35681 esac
35682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35683 (eval "$ac_compile") 2>conftest.er1
35684 ac_status=$?
35685 grep -v '^ *+' conftest.er1 >conftest.err
35686 rm -f conftest.er1
35687 cat conftest.err >&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); } && {
35690 test -z "$ac_cxx_werror_flag" ||
35691 test ! -s conftest.err
35692 } && test -s conftest.$ac_objext; then
35693 wx_cv_func_backtrace=yes
35694 else
35695 echo "$as_me: failed program was:" >&5
35696 sed 's/^/| /' conftest.$ac_ext >&5
35697
35698 wx_cv_func_backtrace=no
35699
35700 fi
35701
35702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35703 ac_ext=c
35704 ac_cpp='$CPP $CPPFLAGS'
35705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35708
35709
35710
35711 fi
35712 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35713 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35714
35715
35716 if test "$wx_cv_func_backtrace" = "no"; then
35717 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35718 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35719 wxUSE_STACKWALKER=no
35720 else
35721 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35722 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35723 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35724 echo $ECHO_N "(cached) $ECHO_C" >&6
35725 else
35726
35727 ac_ext=cpp
35728 ac_cpp='$CXXCPP $CPPFLAGS'
35729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35732
35733 cat >conftest.$ac_ext <<_ACEOF
35734 /* confdefs.h. */
35735 _ACEOF
35736 cat confdefs.h >>conftest.$ac_ext
35737 cat >>conftest.$ac_ext <<_ACEOF
35738 /* end confdefs.h. */
35739 #include <cxxabi.h>
35740 int
35741 main ()
35742 {
35743
35744 int rc;
35745 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35746
35747 ;
35748 return 0;
35749 }
35750 _ACEOF
35751 rm -f conftest.$ac_objext conftest$ac_exeext
35752 if { (ac_try="$ac_link"
35753 case "(($ac_try" in
35754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35755 *) ac_try_echo=$ac_try;;
35756 esac
35757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35758 (eval "$ac_link") 2>conftest.er1
35759 ac_status=$?
35760 grep -v '^ *+' conftest.er1 >conftest.err
35761 rm -f conftest.er1
35762 cat conftest.err >&5
35763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764 (exit $ac_status); } && {
35765 test -z "$ac_cxx_werror_flag" ||
35766 test ! -s conftest.err
35767 } && test -s conftest$ac_exeext &&
35768 $as_test_x conftest$ac_exeext; then
35769 wx_cv_func_cxa_demangle=yes
35770 else
35771 echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.$ac_ext >&5
35773
35774 wx_cv_func_cxa_demangle=no
35775
35776 fi
35777
35778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35779 conftest$ac_exeext conftest.$ac_ext
35780 ac_ext=c
35781 ac_cpp='$CPP $CPPFLAGS'
35782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35785
35786
35787
35788 fi
35789 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35790 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35791
35792 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35793 cat >>confdefs.h <<\_ACEOF
35794 #define HAVE_CXA_DEMANGLE 1
35795 _ACEOF
35796
35797 fi
35798 fi
35799 fi
35800
35801 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35802 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35803 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35804 wxUSE_STACKWALKER=no
35805 fi
35806
35807
35808
35809
35810 for ac_func in mkstemp mktemp
35811 do
35812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35813 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35815 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35816 echo $ECHO_N "(cached) $ECHO_C" >&6
35817 else
35818 cat >conftest.$ac_ext <<_ACEOF
35819 /* confdefs.h. */
35820 _ACEOF
35821 cat confdefs.h >>conftest.$ac_ext
35822 cat >>conftest.$ac_ext <<_ACEOF
35823 /* end confdefs.h. */
35824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35826 #define $ac_func innocuous_$ac_func
35827
35828 /* System header to define __stub macros and hopefully few prototypes,
35829 which can conflict with char $ac_func (); below.
35830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35831 <limits.h> exists even on freestanding compilers. */
35832
35833 #ifdef __STDC__
35834 # include <limits.h>
35835 #else
35836 # include <assert.h>
35837 #endif
35838
35839 #undef $ac_func
35840
35841 /* Override any GCC internal prototype to avoid an error.
35842 Use char because int might match the return type of a GCC
35843 builtin and then its argument prototype would still apply. */
35844 #ifdef __cplusplus
35845 extern "C"
35846 #endif
35847 char $ac_func ();
35848 /* The GNU C library defines this for functions which it implements
35849 to always fail with ENOSYS. Some functions are actually named
35850 something starting with __ and the normal name is an alias. */
35851 #if defined __stub_$ac_func || defined __stub___$ac_func
35852 choke me
35853 #endif
35854
35855 int
35856 main ()
35857 {
35858 return $ac_func ();
35859 ;
35860 return 0;
35861 }
35862 _ACEOF
35863 rm -f conftest.$ac_objext conftest$ac_exeext
35864 if { (ac_try="$ac_link"
35865 case "(($ac_try" in
35866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35867 *) ac_try_echo=$ac_try;;
35868 esac
35869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35870 (eval "$ac_link") 2>conftest.er1
35871 ac_status=$?
35872 grep -v '^ *+' conftest.er1 >conftest.err
35873 rm -f conftest.er1
35874 cat conftest.err >&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } && {
35877 test -z "$ac_c_werror_flag" ||
35878 test ! -s conftest.err
35879 } && test -s conftest$ac_exeext &&
35880 $as_test_x conftest$ac_exeext; then
35881 eval "$as_ac_var=yes"
35882 else
35883 echo "$as_me: failed program was:" >&5
35884 sed 's/^/| /' conftest.$ac_ext >&5
35885
35886 eval "$as_ac_var=no"
35887 fi
35888
35889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35890 conftest$ac_exeext conftest.$ac_ext
35891 fi
35892 ac_res=`eval echo '${'$as_ac_var'}'`
35893 { echo "$as_me:$LINENO: result: $ac_res" >&5
35894 echo "${ECHO_T}$ac_res" >&6; }
35895 if test `eval echo '${'$as_ac_var'}'` = yes; then
35896 cat >>confdefs.h <<_ACEOF
35897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35898 _ACEOF
35899 break
35900 fi
35901 done
35902
35903
35904 { echo "$as_me:$LINENO: checking for statfs" >&5
35905 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35906 if test "${wx_cv_func_statfs+set}" = set; then
35907 echo $ECHO_N "(cached) $ECHO_C" >&6
35908 else
35909 cat >conftest.$ac_ext <<_ACEOF
35910 /* confdefs.h. */
35911 _ACEOF
35912 cat confdefs.h >>conftest.$ac_ext
35913 cat >>conftest.$ac_ext <<_ACEOF
35914 /* end confdefs.h. */
35915
35916 #if defined(__BSD__)
35917 #include <sys/param.h>
35918 #include <sys/mount.h>
35919 #else
35920 #include <sys/vfs.h>
35921 #endif
35922
35923 int
35924 main ()
35925 {
35926
35927 long l;
35928 struct statfs fs;
35929 statfs("/", &fs);
35930 l = fs.f_bsize;
35931 l += fs.f_blocks;
35932 l += fs.f_bavail;
35933
35934 ;
35935 return 0;
35936 }
35937 _ACEOF
35938 rm -f conftest.$ac_objext
35939 if { (ac_try="$ac_compile"
35940 case "(($ac_try" in
35941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35942 *) ac_try_echo=$ac_try;;
35943 esac
35944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35945 (eval "$ac_compile") 2>conftest.er1
35946 ac_status=$?
35947 grep -v '^ *+' conftest.er1 >conftest.err
35948 rm -f conftest.er1
35949 cat conftest.err >&5
35950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951 (exit $ac_status); } && {
35952 test -z "$ac_c_werror_flag" ||
35953 test ! -s conftest.err
35954 } && test -s conftest.$ac_objext; then
35955 wx_cv_func_statfs=yes
35956 else
35957 echo "$as_me: failed program was:" >&5
35958 sed 's/^/| /' conftest.$ac_ext >&5
35959
35960 wx_cv_func_statfs=no
35961
35962 fi
35963
35964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35965
35966 fi
35967 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35968 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35969
35970 if test "$wx_cv_func_statfs" = "yes"; then
35971 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35972 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35973 if test "${wx_cv_func_statfs_decl+set}" = set; then
35974 echo $ECHO_N "(cached) $ECHO_C" >&6
35975 else
35976 ac_ext=cpp
35977 ac_cpp='$CXXCPP $CPPFLAGS'
35978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35981
35982 cat >conftest.$ac_ext <<_ACEOF
35983 /* confdefs.h. */
35984 _ACEOF
35985 cat confdefs.h >>conftest.$ac_ext
35986 cat >>conftest.$ac_ext <<_ACEOF
35987 /* end confdefs.h. */
35988
35989 #if defined(__BSD__)
35990 #include <sys/param.h>
35991 #include <sys/mount.h>
35992 #else
35993 #include <sys/vfs.h>
35994 #endif
35995
35996 int
35997 main ()
35998 {
35999
36000 struct statfs fs;
36001 statfs("", &fs);
36002
36003 ;
36004 return 0;
36005 }
36006 _ACEOF
36007 rm -f conftest.$ac_objext
36008 if { (ac_try="$ac_compile"
36009 case "(($ac_try" in
36010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36011 *) ac_try_echo=$ac_try;;
36012 esac
36013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36014 (eval "$ac_compile") 2>conftest.er1
36015 ac_status=$?
36016 grep -v '^ *+' conftest.er1 >conftest.err
36017 rm -f conftest.er1
36018 cat conftest.err >&5
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); } && {
36021 test -z "$ac_cxx_werror_flag" ||
36022 test ! -s conftest.err
36023 } && test -s conftest.$ac_objext; then
36024 wx_cv_func_statfs_decl=yes
36025 else
36026 echo "$as_me: failed program was:" >&5
36027 sed 's/^/| /' conftest.$ac_ext >&5
36028
36029 wx_cv_func_statfs_decl=no
36030
36031 fi
36032
36033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36034 ac_ext=c
36035 ac_cpp='$CPP $CPPFLAGS'
36036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36039
36040
36041 fi
36042 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36043 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36044
36045 if test "$wx_cv_func_statfs_decl" = "yes"; then
36046 cat >>confdefs.h <<\_ACEOF
36047 #define HAVE_STATFS_DECL 1
36048 _ACEOF
36049
36050 fi
36051
36052 wx_cv_type_statvfs_t="struct statfs"
36053 cat >>confdefs.h <<\_ACEOF
36054 #define HAVE_STATFS 1
36055 _ACEOF
36056
36057 else
36058 { echo "$as_me:$LINENO: checking for statvfs" >&5
36059 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36060 if test "${wx_cv_func_statvfs+set}" = set; then
36061 echo $ECHO_N "(cached) $ECHO_C" >&6
36062 else
36063 cat >conftest.$ac_ext <<_ACEOF
36064 /* confdefs.h. */
36065 _ACEOF
36066 cat confdefs.h >>conftest.$ac_ext
36067 cat >>conftest.$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36069
36070 #include <stddef.h>
36071 #include <sys/statvfs.h>
36072
36073 int
36074 main ()
36075 {
36076
36077 statvfs("/", NULL);
36078
36079 ;
36080 return 0;
36081 }
36082 _ACEOF
36083 rm -f conftest.$ac_objext
36084 if { (ac_try="$ac_compile"
36085 case "(($ac_try" in
36086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36087 *) ac_try_echo=$ac_try;;
36088 esac
36089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36090 (eval "$ac_compile") 2>conftest.er1
36091 ac_status=$?
36092 grep -v '^ *+' conftest.er1 >conftest.err
36093 rm -f conftest.er1
36094 cat conftest.err >&5
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); } && {
36097 test -z "$ac_c_werror_flag" ||
36098 test ! -s conftest.err
36099 } && test -s conftest.$ac_objext; then
36100 wx_cv_func_statvfs=yes
36101 else
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.$ac_ext >&5
36104
36105 wx_cv_func_statvfs=no
36106
36107 fi
36108
36109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36110
36111 fi
36112 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36113 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36114
36115 if test "$wx_cv_func_statvfs" = "yes"; then
36116 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36117 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36118 if test "${wx_cv_type_statvfs_t+set}" = set; then
36119 echo $ECHO_N "(cached) $ECHO_C" >&6
36120 else
36121 ac_ext=cpp
36122 ac_cpp='$CXXCPP $CPPFLAGS'
36123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36126
36127 cat >conftest.$ac_ext <<_ACEOF
36128 /* confdefs.h. */
36129 _ACEOF
36130 cat confdefs.h >>conftest.$ac_ext
36131 cat >>conftest.$ac_ext <<_ACEOF
36132 /* end confdefs.h. */
36133
36134 #include <sys/statvfs.h>
36135
36136 int
36137 main ()
36138 {
36139
36140 long l;
36141 statvfs_t fs;
36142 statvfs("/", &fs);
36143 l = fs.f_bsize;
36144 l += fs.f_blocks;
36145 l += fs.f_bavail;
36146
36147 ;
36148 return 0;
36149 }
36150 _ACEOF
36151 rm -f conftest.$ac_objext
36152 if { (ac_try="$ac_compile"
36153 case "(($ac_try" in
36154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36155 *) ac_try_echo=$ac_try;;
36156 esac
36157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36158 (eval "$ac_compile") 2>conftest.er1
36159 ac_status=$?
36160 grep -v '^ *+' conftest.er1 >conftest.err
36161 rm -f conftest.er1
36162 cat conftest.err >&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } && {
36165 test -z "$ac_cxx_werror_flag" ||
36166 test ! -s conftest.err
36167 } && test -s conftest.$ac_objext; then
36168 wx_cv_type_statvfs_t=statvfs_t
36169 else
36170 echo "$as_me: failed program was:" >&5
36171 sed 's/^/| /' conftest.$ac_ext >&5
36172
36173
36174 cat >conftest.$ac_ext <<_ACEOF
36175 /* confdefs.h. */
36176 _ACEOF
36177 cat confdefs.h >>conftest.$ac_ext
36178 cat >>conftest.$ac_ext <<_ACEOF
36179 /* end confdefs.h. */
36180
36181 #include <sys/statvfs.h>
36182
36183 int
36184 main ()
36185 {
36186
36187 long l;
36188 struct statvfs fs;
36189 statvfs("/", &fs);
36190 l = fs.f_bsize;
36191 l += fs.f_blocks;
36192 l += fs.f_bavail;
36193
36194 ;
36195 return 0;
36196 }
36197 _ACEOF
36198 rm -f conftest.$ac_objext
36199 if { (ac_try="$ac_compile"
36200 case "(($ac_try" in
36201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36202 *) ac_try_echo=$ac_try;;
36203 esac
36204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36205 (eval "$ac_compile") 2>conftest.er1
36206 ac_status=$?
36207 grep -v '^ *+' conftest.er1 >conftest.err
36208 rm -f conftest.er1
36209 cat conftest.err >&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); } && {
36212 test -z "$ac_cxx_werror_flag" ||
36213 test ! -s conftest.err
36214 } && test -s conftest.$ac_objext; then
36215 wx_cv_type_statvfs_t="struct statvfs"
36216 else
36217 echo "$as_me: failed program was:" >&5
36218 sed 's/^/| /' conftest.$ac_ext >&5
36219
36220 wx_cv_type_statvfs_t="unknown"
36221
36222 fi
36223
36224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36225
36226
36227 fi
36228
36229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36230 ac_ext=c
36231 ac_cpp='$CPP $CPPFLAGS'
36232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36235
36236
36237 fi
36238 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36239 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36240
36241 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36242 cat >>confdefs.h <<\_ACEOF
36243 #define HAVE_STATVFS 1
36244 _ACEOF
36245
36246 fi
36247 else
36248 wx_cv_type_statvfs_t="unknown"
36249 fi
36250 fi
36251
36252 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36253 cat >>confdefs.h <<_ACEOF
36254 #define WX_STATFS_T $wx_cv_type_statvfs_t
36255 _ACEOF
36256
36257 else
36258 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36259 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36260 fi
36261
36262 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36263
36264
36265 for ac_func in fcntl flock
36266 do
36267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36268 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36270 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36271 echo $ECHO_N "(cached) $ECHO_C" >&6
36272 else
36273 cat >conftest.$ac_ext <<_ACEOF
36274 /* confdefs.h. */
36275 _ACEOF
36276 cat confdefs.h >>conftest.$ac_ext
36277 cat >>conftest.$ac_ext <<_ACEOF
36278 /* end confdefs.h. */
36279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36281 #define $ac_func innocuous_$ac_func
36282
36283 /* System header to define __stub macros and hopefully few prototypes,
36284 which can conflict with char $ac_func (); below.
36285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36286 <limits.h> exists even on freestanding compilers. */
36287
36288 #ifdef __STDC__
36289 # include <limits.h>
36290 #else
36291 # include <assert.h>
36292 #endif
36293
36294 #undef $ac_func
36295
36296 /* Override any GCC internal prototype to avoid an error.
36297 Use char because int might match the return type of a GCC
36298 builtin and then its argument prototype would still apply. */
36299 #ifdef __cplusplus
36300 extern "C"
36301 #endif
36302 char $ac_func ();
36303 /* The GNU C library defines this for functions which it implements
36304 to always fail with ENOSYS. Some functions are actually named
36305 something starting with __ and the normal name is an alias. */
36306 #if defined __stub_$ac_func || defined __stub___$ac_func
36307 choke me
36308 #endif
36309
36310 int
36311 main ()
36312 {
36313 return $ac_func ();
36314 ;
36315 return 0;
36316 }
36317 _ACEOF
36318 rm -f conftest.$ac_objext conftest$ac_exeext
36319 if { (ac_try="$ac_link"
36320 case "(($ac_try" in
36321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36322 *) ac_try_echo=$ac_try;;
36323 esac
36324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36325 (eval "$ac_link") 2>conftest.er1
36326 ac_status=$?
36327 grep -v '^ *+' conftest.er1 >conftest.err
36328 rm -f conftest.er1
36329 cat conftest.err >&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); } && {
36332 test -z "$ac_c_werror_flag" ||
36333 test ! -s conftest.err
36334 } && test -s conftest$ac_exeext &&
36335 $as_test_x conftest$ac_exeext; then
36336 eval "$as_ac_var=yes"
36337 else
36338 echo "$as_me: failed program was:" >&5
36339 sed 's/^/| /' conftest.$ac_ext >&5
36340
36341 eval "$as_ac_var=no"
36342 fi
36343
36344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36345 conftest$ac_exeext conftest.$ac_ext
36346 fi
36347 ac_res=`eval echo '${'$as_ac_var'}'`
36348 { echo "$as_me:$LINENO: result: $ac_res" >&5
36349 echo "${ECHO_T}$ac_res" >&6; }
36350 if test `eval echo '${'$as_ac_var'}'` = yes; then
36351 cat >>confdefs.h <<_ACEOF
36352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36353 _ACEOF
36354 break
36355 fi
36356 done
36357
36358
36359 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36360 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36361 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36362 wxUSE_SNGLINST_CHECKER=no
36363 fi
36364 fi
36365
36366
36367 for ac_func in timegm
36368 do
36369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36372 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36373 echo $ECHO_N "(cached) $ECHO_C" >&6
36374 else
36375 cat >conftest.$ac_ext <<_ACEOF
36376 /* confdefs.h. */
36377 _ACEOF
36378 cat confdefs.h >>conftest.$ac_ext
36379 cat >>conftest.$ac_ext <<_ACEOF
36380 /* end confdefs.h. */
36381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36383 #define $ac_func innocuous_$ac_func
36384
36385 /* System header to define __stub macros and hopefully few prototypes,
36386 which can conflict with char $ac_func (); below.
36387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36388 <limits.h> exists even on freestanding compilers. */
36389
36390 #ifdef __STDC__
36391 # include <limits.h>
36392 #else
36393 # include <assert.h>
36394 #endif
36395
36396 #undef $ac_func
36397
36398 /* Override any GCC internal prototype to avoid an error.
36399 Use char because int might match the return type of a GCC
36400 builtin and then its argument prototype would still apply. */
36401 #ifdef __cplusplus
36402 extern "C"
36403 #endif
36404 char $ac_func ();
36405 /* The GNU C library defines this for functions which it implements
36406 to always fail with ENOSYS. Some functions are actually named
36407 something starting with __ and the normal name is an alias. */
36408 #if defined __stub_$ac_func || defined __stub___$ac_func
36409 choke me
36410 #endif
36411
36412 int
36413 main ()
36414 {
36415 return $ac_func ();
36416 ;
36417 return 0;
36418 }
36419 _ACEOF
36420 rm -f conftest.$ac_objext conftest$ac_exeext
36421 if { (ac_try="$ac_link"
36422 case "(($ac_try" in
36423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36424 *) ac_try_echo=$ac_try;;
36425 esac
36426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36427 (eval "$ac_link") 2>conftest.er1
36428 ac_status=$?
36429 grep -v '^ *+' conftest.er1 >conftest.err
36430 rm -f conftest.er1
36431 cat conftest.err >&5
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); } && {
36434 test -z "$ac_c_werror_flag" ||
36435 test ! -s conftest.err
36436 } && test -s conftest$ac_exeext &&
36437 $as_test_x conftest$ac_exeext; then
36438 eval "$as_ac_var=yes"
36439 else
36440 echo "$as_me: failed program was:" >&5
36441 sed 's/^/| /' conftest.$ac_ext >&5
36442
36443 eval "$as_ac_var=no"
36444 fi
36445
36446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36447 conftest$ac_exeext conftest.$ac_ext
36448 fi
36449 ac_res=`eval echo '${'$as_ac_var'}'`
36450 { echo "$as_me:$LINENO: result: $ac_res" >&5
36451 echo "${ECHO_T}$ac_res" >&6; }
36452 if test `eval echo '${'$as_ac_var'}'` = yes; then
36453 cat >>confdefs.h <<_ACEOF
36454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36455 _ACEOF
36456
36457 fi
36458 done
36459
36460
36461
36462
36463 for ac_func in putenv setenv
36464 do
36465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36466 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36468 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36469 echo $ECHO_N "(cached) $ECHO_C" >&6
36470 else
36471 cat >conftest.$ac_ext <<_ACEOF
36472 /* confdefs.h. */
36473 _ACEOF
36474 cat confdefs.h >>conftest.$ac_ext
36475 cat >>conftest.$ac_ext <<_ACEOF
36476 /* end confdefs.h. */
36477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36479 #define $ac_func innocuous_$ac_func
36480
36481 /* System header to define __stub macros and hopefully few prototypes,
36482 which can conflict with char $ac_func (); below.
36483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36484 <limits.h> exists even on freestanding compilers. */
36485
36486 #ifdef __STDC__
36487 # include <limits.h>
36488 #else
36489 # include <assert.h>
36490 #endif
36491
36492 #undef $ac_func
36493
36494 /* Override any GCC internal prototype to avoid an error.
36495 Use char because int might match the return type of a GCC
36496 builtin and then its argument prototype would still apply. */
36497 #ifdef __cplusplus
36498 extern "C"
36499 #endif
36500 char $ac_func ();
36501 /* The GNU C library defines this for functions which it implements
36502 to always fail with ENOSYS. Some functions are actually named
36503 something starting with __ and the normal name is an alias. */
36504 #if defined __stub_$ac_func || defined __stub___$ac_func
36505 choke me
36506 #endif
36507
36508 int
36509 main ()
36510 {
36511 return $ac_func ();
36512 ;
36513 return 0;
36514 }
36515 _ACEOF
36516 rm -f conftest.$ac_objext conftest$ac_exeext
36517 if { (ac_try="$ac_link"
36518 case "(($ac_try" in
36519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36520 *) ac_try_echo=$ac_try;;
36521 esac
36522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36523 (eval "$ac_link") 2>conftest.er1
36524 ac_status=$?
36525 grep -v '^ *+' conftest.er1 >conftest.err
36526 rm -f conftest.er1
36527 cat conftest.err >&5
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); } && {
36530 test -z "$ac_c_werror_flag" ||
36531 test ! -s conftest.err
36532 } && test -s conftest$ac_exeext &&
36533 $as_test_x conftest$ac_exeext; then
36534 eval "$as_ac_var=yes"
36535 else
36536 echo "$as_me: failed program was:" >&5
36537 sed 's/^/| /' conftest.$ac_ext >&5
36538
36539 eval "$as_ac_var=no"
36540 fi
36541
36542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36543 conftest$ac_exeext conftest.$ac_ext
36544 fi
36545 ac_res=`eval echo '${'$as_ac_var'}'`
36546 { echo "$as_me:$LINENO: result: $ac_res" >&5
36547 echo "${ECHO_T}$ac_res" >&6; }
36548 if test `eval echo '${'$as_ac_var'}'` = yes; then
36549 cat >>confdefs.h <<_ACEOF
36550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36551 _ACEOF
36552 break
36553 fi
36554 done
36555
36556
36557 HAVE_SOME_SLEEP_FUNC=0
36558 if test "$USE_BEOS" = 1; then
36559 cat >>confdefs.h <<\_ACEOF
36560 #define HAVE_SLEEP 1
36561 _ACEOF
36562
36563 HAVE_SOME_SLEEP_FUNC=1
36564 fi
36565
36566 if test "$USE_DARWIN" = 1; then
36567 cat >>confdefs.h <<\_ACEOF
36568 #define HAVE_USLEEP 1
36569 _ACEOF
36570
36571 HAVE_SOME_SLEEP_FUNC=1
36572 fi
36573
36574 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36575 POSIX4_LINK=
36576
36577 for ac_func in nanosleep
36578 do
36579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36583 echo $ECHO_N "(cached) $ECHO_C" >&6
36584 else
36585 cat >conftest.$ac_ext <<_ACEOF
36586 /* confdefs.h. */
36587 _ACEOF
36588 cat confdefs.h >>conftest.$ac_ext
36589 cat >>conftest.$ac_ext <<_ACEOF
36590 /* end confdefs.h. */
36591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36593 #define $ac_func innocuous_$ac_func
36594
36595 /* System header to define __stub macros and hopefully few prototypes,
36596 which can conflict with char $ac_func (); below.
36597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36598 <limits.h> exists even on freestanding compilers. */
36599
36600 #ifdef __STDC__
36601 # include <limits.h>
36602 #else
36603 # include <assert.h>
36604 #endif
36605
36606 #undef $ac_func
36607
36608 /* Override any GCC internal prototype to avoid an error.
36609 Use char because int might match the return type of a GCC
36610 builtin and then its argument prototype would still apply. */
36611 #ifdef __cplusplus
36612 extern "C"
36613 #endif
36614 char $ac_func ();
36615 /* The GNU C library defines this for functions which it implements
36616 to always fail with ENOSYS. Some functions are actually named
36617 something starting with __ and the normal name is an alias. */
36618 #if defined __stub_$ac_func || defined __stub___$ac_func
36619 choke me
36620 #endif
36621
36622 int
36623 main ()
36624 {
36625 return $ac_func ();
36626 ;
36627 return 0;
36628 }
36629 _ACEOF
36630 rm -f conftest.$ac_objext conftest$ac_exeext
36631 if { (ac_try="$ac_link"
36632 case "(($ac_try" in
36633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36634 *) ac_try_echo=$ac_try;;
36635 esac
36636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36637 (eval "$ac_link") 2>conftest.er1
36638 ac_status=$?
36639 grep -v '^ *+' conftest.er1 >conftest.err
36640 rm -f conftest.er1
36641 cat conftest.err >&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } && {
36644 test -z "$ac_c_werror_flag" ||
36645 test ! -s conftest.err
36646 } && test -s conftest$ac_exeext &&
36647 $as_test_x conftest$ac_exeext; then
36648 eval "$as_ac_var=yes"
36649 else
36650 echo "$as_me: failed program was:" >&5
36651 sed 's/^/| /' conftest.$ac_ext >&5
36652
36653 eval "$as_ac_var=no"
36654 fi
36655
36656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36657 conftest$ac_exeext conftest.$ac_ext
36658 fi
36659 ac_res=`eval echo '${'$as_ac_var'}'`
36660 { echo "$as_me:$LINENO: result: $ac_res" >&5
36661 echo "${ECHO_T}$ac_res" >&6; }
36662 if test `eval echo '${'$as_ac_var'}'` = yes; then
36663 cat >>confdefs.h <<_ACEOF
36664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36665 _ACEOF
36666 cat >>confdefs.h <<\_ACEOF
36667 #define HAVE_NANOSLEEP 1
36668 _ACEOF
36669
36670 else
36671
36672 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36673 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36674 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36676 else
36677 ac_check_lib_save_LIBS=$LIBS
36678 LIBS="-lposix4 $LIBS"
36679 cat >conftest.$ac_ext <<_ACEOF
36680 /* confdefs.h. */
36681 _ACEOF
36682 cat confdefs.h >>conftest.$ac_ext
36683 cat >>conftest.$ac_ext <<_ACEOF
36684 /* end confdefs.h. */
36685
36686 /* Override any GCC internal prototype to avoid an error.
36687 Use char because int might match the return type of a GCC
36688 builtin and then its argument prototype would still apply. */
36689 #ifdef __cplusplus
36690 extern "C"
36691 #endif
36692 char nanosleep ();
36693 int
36694 main ()
36695 {
36696 return nanosleep ();
36697 ;
36698 return 0;
36699 }
36700 _ACEOF
36701 rm -f conftest.$ac_objext conftest$ac_exeext
36702 if { (ac_try="$ac_link"
36703 case "(($ac_try" in
36704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36705 *) ac_try_echo=$ac_try;;
36706 esac
36707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36708 (eval "$ac_link") 2>conftest.er1
36709 ac_status=$?
36710 grep -v '^ *+' conftest.er1 >conftest.err
36711 rm -f conftest.er1
36712 cat conftest.err >&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); } && {
36715 test -z "$ac_c_werror_flag" ||
36716 test ! -s conftest.err
36717 } && test -s conftest$ac_exeext &&
36718 $as_test_x conftest$ac_exeext; then
36719 ac_cv_lib_posix4_nanosleep=yes
36720 else
36721 echo "$as_me: failed program was:" >&5
36722 sed 's/^/| /' conftest.$ac_ext >&5
36723
36724 ac_cv_lib_posix4_nanosleep=no
36725 fi
36726
36727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36728 conftest$ac_exeext conftest.$ac_ext
36729 LIBS=$ac_check_lib_save_LIBS
36730 fi
36731 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36732 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36733 if test $ac_cv_lib_posix4_nanosleep = yes; then
36734
36735 cat >>confdefs.h <<\_ACEOF
36736 #define HAVE_NANOSLEEP 1
36737 _ACEOF
36738
36739 POSIX4_LINK=" -lposix4"
36740
36741 else
36742
36743
36744 for wx_func in usleep
36745 do
36746 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36747 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36748 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36749 echo $ECHO_N "(cached) $ECHO_C" >&6
36750 else
36751
36752 cat >conftest.$ac_ext <<_ACEOF
36753
36754 /* confdefs.h. */
36755 _ACEOF
36756 cat confdefs.h >>conftest.$ac_ext
36757 cat >>conftest.$ac_ext <<_ACEOF
36758 /* end confdefs.h. */
36759
36760
36761 $ac_includes_default
36762
36763 int
36764 main ()
36765 {
36766
36767 #ifndef $wx_func
36768 &$wx_func;
36769 #endif
36770
36771
36772 ;
36773 return 0;
36774 }
36775
36776 _ACEOF
36777 rm -f conftest.$ac_objext conftest$ac_exeext
36778 if { (ac_try="$ac_link"
36779 case "(($ac_try" in
36780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36781 *) ac_try_echo=$ac_try;;
36782 esac
36783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36784 (eval "$ac_link") 2>conftest.er1
36785 ac_status=$?
36786 grep -v '^ *+' conftest.er1 >conftest.err
36787 rm -f conftest.er1
36788 cat conftest.err >&5
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); } && {
36791 test -z "$ac_c_werror_flag" ||
36792 test ! -s conftest.err
36793 } && test -s conftest$ac_exeext &&
36794 $as_test_x conftest$ac_exeext; then
36795 eval wx_cv_func_$wx_func=yes
36796 else
36797 echo "$as_me: failed program was:" >&5
36798 sed 's/^/| /' conftest.$ac_ext >&5
36799
36800 eval wx_cv_func_$wx_func=no
36801 fi
36802
36803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36804 conftest$ac_exeext conftest.$ac_ext
36805
36806 fi
36807 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36808 { echo "$as_me:$LINENO: result: $ac_res" >&5
36809 echo "${ECHO_T}$ac_res" >&6; }
36810
36811 if eval test \$wx_cv_func_$wx_func = yes
36812 then
36813 cat >>confdefs.h <<_ACEOF
36814 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36815 _ACEOF
36816
36817
36818 else
36819 :
36820 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36821 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36822
36823 fi
36824 done
36825
36826
36827
36828 fi
36829
36830
36831
36832 fi
36833 done
36834
36835 fi
36836
36837
36838 for wx_func in uname
36839 do
36840 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36841 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36842 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36843 echo $ECHO_N "(cached) $ECHO_C" >&6
36844 else
36845
36846 cat >conftest.$ac_ext <<_ACEOF
36847
36848 /* confdefs.h. */
36849 _ACEOF
36850 cat confdefs.h >>conftest.$ac_ext
36851 cat >>conftest.$ac_ext <<_ACEOF
36852 /* end confdefs.h. */
36853
36854 #include <sys/utsname.h>
36855 $ac_includes_default
36856
36857 int
36858 main ()
36859 {
36860
36861 #ifndef $wx_func
36862 &$wx_func;
36863 #endif
36864
36865
36866 ;
36867 return 0;
36868 }
36869
36870 _ACEOF
36871 rm -f conftest.$ac_objext conftest$ac_exeext
36872 if { (ac_try="$ac_link"
36873 case "(($ac_try" in
36874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36875 *) ac_try_echo=$ac_try;;
36876 esac
36877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36878 (eval "$ac_link") 2>conftest.er1
36879 ac_status=$?
36880 grep -v '^ *+' conftest.er1 >conftest.err
36881 rm -f conftest.er1
36882 cat conftest.err >&5
36883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36884 (exit $ac_status); } && {
36885 test -z "$ac_c_werror_flag" ||
36886 test ! -s conftest.err
36887 } && test -s conftest$ac_exeext &&
36888 $as_test_x conftest$ac_exeext; then
36889 eval wx_cv_func_$wx_func=yes
36890 else
36891 echo "$as_me: failed program was:" >&5
36892 sed 's/^/| /' conftest.$ac_ext >&5
36893
36894 eval wx_cv_func_$wx_func=no
36895 fi
36896
36897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36898 conftest$ac_exeext conftest.$ac_ext
36899
36900 fi
36901 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36902 { echo "$as_me:$LINENO: result: $ac_res" >&5
36903 echo "${ECHO_T}$ac_res" >&6; }
36904
36905 if eval test \$wx_cv_func_$wx_func = yes
36906 then
36907 cat >>confdefs.h <<_ACEOF
36908 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36909 _ACEOF
36910
36911
36912 else
36913 :
36914
36915 fi
36916 done
36917
36918 if test "$wx_cv_func_uname" != yes; then
36919
36920 for wx_func in gethostname
36921 do
36922 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36923 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36924 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36925 echo $ECHO_N "(cached) $ECHO_C" >&6
36926 else
36927
36928 cat >conftest.$ac_ext <<_ACEOF
36929
36930 /* confdefs.h. */
36931 _ACEOF
36932 cat confdefs.h >>conftest.$ac_ext
36933 cat >>conftest.$ac_ext <<_ACEOF
36934 /* end confdefs.h. */
36935
36936
36937 $ac_includes_default
36938
36939 int
36940 main ()
36941 {
36942
36943 #ifndef $wx_func
36944 &$wx_func;
36945 #endif
36946
36947
36948 ;
36949 return 0;
36950 }
36951
36952 _ACEOF
36953 rm -f conftest.$ac_objext conftest$ac_exeext
36954 if { (ac_try="$ac_link"
36955 case "(($ac_try" in
36956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36957 *) ac_try_echo=$ac_try;;
36958 esac
36959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36960 (eval "$ac_link") 2>conftest.er1
36961 ac_status=$?
36962 grep -v '^ *+' conftest.er1 >conftest.err
36963 rm -f conftest.er1
36964 cat conftest.err >&5
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); } && {
36967 test -z "$ac_c_werror_flag" ||
36968 test ! -s conftest.err
36969 } && test -s conftest$ac_exeext &&
36970 $as_test_x conftest$ac_exeext; then
36971 eval wx_cv_func_$wx_func=yes
36972 else
36973 echo "$as_me: failed program was:" >&5
36974 sed 's/^/| /' conftest.$ac_ext >&5
36975
36976 eval wx_cv_func_$wx_func=no
36977 fi
36978
36979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36980 conftest$ac_exeext conftest.$ac_ext
36981
36982 fi
36983 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36984 { echo "$as_me:$LINENO: result: $ac_res" >&5
36985 echo "${ECHO_T}$ac_res" >&6; }
36986
36987 if eval test \$wx_cv_func_$wx_func = yes
36988 then
36989 cat >>confdefs.h <<_ACEOF
36990 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36991 _ACEOF
36992
36993
36994 else
36995 :
36996
36997 fi
36998 done
36999
37000 fi
37001
37002
37003 for wx_func in strtok_r
37004 do
37005 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37006 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37007 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37008 echo $ECHO_N "(cached) $ECHO_C" >&6
37009 else
37010
37011 cat >conftest.$ac_ext <<_ACEOF
37012
37013 /* confdefs.h. */
37014 _ACEOF
37015 cat confdefs.h >>conftest.$ac_ext
37016 cat >>conftest.$ac_ext <<_ACEOF
37017 /* end confdefs.h. */
37018
37019 #define _REENTRANT
37020 $ac_includes_default
37021
37022 int
37023 main ()
37024 {
37025
37026 #ifndef $wx_func
37027 &$wx_func;
37028 #endif
37029
37030
37031 ;
37032 return 0;
37033 }
37034
37035 _ACEOF
37036 rm -f conftest.$ac_objext conftest$ac_exeext
37037 if { (ac_try="$ac_link"
37038 case "(($ac_try" in
37039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37040 *) ac_try_echo=$ac_try;;
37041 esac
37042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37043 (eval "$ac_link") 2>conftest.er1
37044 ac_status=$?
37045 grep -v '^ *+' conftest.er1 >conftest.err
37046 rm -f conftest.er1
37047 cat conftest.err >&5
37048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049 (exit $ac_status); } && {
37050 test -z "$ac_c_werror_flag" ||
37051 test ! -s conftest.err
37052 } && test -s conftest$ac_exeext &&
37053 $as_test_x conftest$ac_exeext; then
37054 eval wx_cv_func_$wx_func=yes
37055 else
37056 echo "$as_me: failed program was:" >&5
37057 sed 's/^/| /' conftest.$ac_ext >&5
37058
37059 eval wx_cv_func_$wx_func=no
37060 fi
37061
37062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37063 conftest$ac_exeext conftest.$ac_ext
37064
37065 fi
37066 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37067 { echo "$as_me:$LINENO: result: $ac_res" >&5
37068 echo "${ECHO_T}$ac_res" >&6; }
37069
37070 if eval test \$wx_cv_func_$wx_func = yes
37071 then
37072 cat >>confdefs.h <<_ACEOF
37073 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37074 _ACEOF
37075
37076
37077 else
37078 :
37079
37080 fi
37081 done
37082
37083
37084 INET_LINK=
37085
37086 for ac_func in inet_addr
37087 do
37088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37089 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37091 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37092 echo $ECHO_N "(cached) $ECHO_C" >&6
37093 else
37094 cat >conftest.$ac_ext <<_ACEOF
37095 /* confdefs.h. */
37096 _ACEOF
37097 cat confdefs.h >>conftest.$ac_ext
37098 cat >>conftest.$ac_ext <<_ACEOF
37099 /* end confdefs.h. */
37100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37102 #define $ac_func innocuous_$ac_func
37103
37104 /* System header to define __stub macros and hopefully few prototypes,
37105 which can conflict with char $ac_func (); below.
37106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37107 <limits.h> exists even on freestanding compilers. */
37108
37109 #ifdef __STDC__
37110 # include <limits.h>
37111 #else
37112 # include <assert.h>
37113 #endif
37114
37115 #undef $ac_func
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 $ac_func ();
37124 /* The GNU C library defines this for functions which it implements
37125 to always fail with ENOSYS. Some functions are actually named
37126 something starting with __ and the normal name is an alias. */
37127 #if defined __stub_$ac_func || defined __stub___$ac_func
37128 choke me
37129 #endif
37130
37131 int
37132 main ()
37133 {
37134 return $ac_func ();
37135 ;
37136 return 0;
37137 }
37138 _ACEOF
37139 rm -f conftest.$ac_objext conftest$ac_exeext
37140 if { (ac_try="$ac_link"
37141 case "(($ac_try" in
37142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37143 *) ac_try_echo=$ac_try;;
37144 esac
37145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37146 (eval "$ac_link") 2>conftest.er1
37147 ac_status=$?
37148 grep -v '^ *+' conftest.er1 >conftest.err
37149 rm -f conftest.er1
37150 cat conftest.err >&5
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); } && {
37153 test -z "$ac_c_werror_flag" ||
37154 test ! -s conftest.err
37155 } && test -s conftest$ac_exeext &&
37156 $as_test_x conftest$ac_exeext; then
37157 eval "$as_ac_var=yes"
37158 else
37159 echo "$as_me: failed program was:" >&5
37160 sed 's/^/| /' conftest.$ac_ext >&5
37161
37162 eval "$as_ac_var=no"
37163 fi
37164
37165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37166 conftest$ac_exeext conftest.$ac_ext
37167 fi
37168 ac_res=`eval echo '${'$as_ac_var'}'`
37169 { echo "$as_me:$LINENO: result: $ac_res" >&5
37170 echo "${ECHO_T}$ac_res" >&6; }
37171 if test `eval echo '${'$as_ac_var'}'` = yes; then
37172 cat >>confdefs.h <<_ACEOF
37173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37174 _ACEOF
37175 cat >>confdefs.h <<\_ACEOF
37176 #define HAVE_INET_ADDR 1
37177 _ACEOF
37178
37179 else
37180
37181 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37182 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37183 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37184 echo $ECHO_N "(cached) $ECHO_C" >&6
37185 else
37186 ac_check_lib_save_LIBS=$LIBS
37187 LIBS="-lnsl $LIBS"
37188 cat >conftest.$ac_ext <<_ACEOF
37189 /* confdefs.h. */
37190 _ACEOF
37191 cat confdefs.h >>conftest.$ac_ext
37192 cat >>conftest.$ac_ext <<_ACEOF
37193 /* end confdefs.h. */
37194
37195 /* Override any GCC internal prototype to avoid an error.
37196 Use char because int might match the return type of a GCC
37197 builtin and then its argument prototype would still apply. */
37198 #ifdef __cplusplus
37199 extern "C"
37200 #endif
37201 char inet_addr ();
37202 int
37203 main ()
37204 {
37205 return inet_addr ();
37206 ;
37207 return 0;
37208 }
37209 _ACEOF
37210 rm -f conftest.$ac_objext conftest$ac_exeext
37211 if { (ac_try="$ac_link"
37212 case "(($ac_try" in
37213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37214 *) ac_try_echo=$ac_try;;
37215 esac
37216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37217 (eval "$ac_link") 2>conftest.er1
37218 ac_status=$?
37219 grep -v '^ *+' conftest.er1 >conftest.err
37220 rm -f conftest.er1
37221 cat conftest.err >&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); } && {
37224 test -z "$ac_c_werror_flag" ||
37225 test ! -s conftest.err
37226 } && test -s conftest$ac_exeext &&
37227 $as_test_x conftest$ac_exeext; then
37228 ac_cv_lib_nsl_inet_addr=yes
37229 else
37230 echo "$as_me: failed program was:" >&5
37231 sed 's/^/| /' conftest.$ac_ext >&5
37232
37233 ac_cv_lib_nsl_inet_addr=no
37234 fi
37235
37236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37237 conftest$ac_exeext conftest.$ac_ext
37238 LIBS=$ac_check_lib_save_LIBS
37239 fi
37240 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37241 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37242 if test $ac_cv_lib_nsl_inet_addr = yes; then
37243 INET_LINK="nsl"
37244 else
37245
37246 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37247 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37248 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37249 echo $ECHO_N "(cached) $ECHO_C" >&6
37250 else
37251 ac_check_lib_save_LIBS=$LIBS
37252 LIBS="-lresolv $LIBS"
37253 cat >conftest.$ac_ext <<_ACEOF
37254 /* confdefs.h. */
37255 _ACEOF
37256 cat confdefs.h >>conftest.$ac_ext
37257 cat >>conftest.$ac_ext <<_ACEOF
37258 /* end confdefs.h. */
37259
37260 /* Override any GCC internal prototype to avoid an error.
37261 Use char because int might match the return type of a GCC
37262 builtin and then its argument prototype would still apply. */
37263 #ifdef __cplusplus
37264 extern "C"
37265 #endif
37266 char inet_addr ();
37267 int
37268 main ()
37269 {
37270 return inet_addr ();
37271 ;
37272 return 0;
37273 }
37274 _ACEOF
37275 rm -f conftest.$ac_objext conftest$ac_exeext
37276 if { (ac_try="$ac_link"
37277 case "(($ac_try" in
37278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37279 *) ac_try_echo=$ac_try;;
37280 esac
37281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37282 (eval "$ac_link") 2>conftest.er1
37283 ac_status=$?
37284 grep -v '^ *+' conftest.er1 >conftest.err
37285 rm -f conftest.er1
37286 cat conftest.err >&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); } && {
37289 test -z "$ac_c_werror_flag" ||
37290 test ! -s conftest.err
37291 } && test -s conftest$ac_exeext &&
37292 $as_test_x conftest$ac_exeext; then
37293 ac_cv_lib_resolv_inet_addr=yes
37294 else
37295 echo "$as_me: failed program was:" >&5
37296 sed 's/^/| /' conftest.$ac_ext >&5
37297
37298 ac_cv_lib_resolv_inet_addr=no
37299 fi
37300
37301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37302 conftest$ac_exeext conftest.$ac_ext
37303 LIBS=$ac_check_lib_save_LIBS
37304 fi
37305 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37306 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37307 if test $ac_cv_lib_resolv_inet_addr = yes; then
37308 INET_LINK="resolv"
37309 else
37310
37311 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37312 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37313 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37314 echo $ECHO_N "(cached) $ECHO_C" >&6
37315 else
37316 ac_check_lib_save_LIBS=$LIBS
37317 LIBS="-lsocket $LIBS"
37318 cat >conftest.$ac_ext <<_ACEOF
37319 /* confdefs.h. */
37320 _ACEOF
37321 cat confdefs.h >>conftest.$ac_ext
37322 cat >>conftest.$ac_ext <<_ACEOF
37323 /* end confdefs.h. */
37324
37325 /* Override any GCC internal prototype to avoid an error.
37326 Use char because int might match the return type of a GCC
37327 builtin and then its argument prototype would still apply. */
37328 #ifdef __cplusplus
37329 extern "C"
37330 #endif
37331 char inet_addr ();
37332 int
37333 main ()
37334 {
37335 return inet_addr ();
37336 ;
37337 return 0;
37338 }
37339 _ACEOF
37340 rm -f conftest.$ac_objext conftest$ac_exeext
37341 if { (ac_try="$ac_link"
37342 case "(($ac_try" in
37343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37344 *) ac_try_echo=$ac_try;;
37345 esac
37346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37347 (eval "$ac_link") 2>conftest.er1
37348 ac_status=$?
37349 grep -v '^ *+' conftest.er1 >conftest.err
37350 rm -f conftest.er1
37351 cat conftest.err >&5
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); } && {
37354 test -z "$ac_c_werror_flag" ||
37355 test ! -s conftest.err
37356 } && test -s conftest$ac_exeext &&
37357 $as_test_x conftest$ac_exeext; then
37358 ac_cv_lib_socket_inet_addr=yes
37359 else
37360 echo "$as_me: failed program was:" >&5
37361 sed 's/^/| /' conftest.$ac_ext >&5
37362
37363 ac_cv_lib_socket_inet_addr=no
37364 fi
37365
37366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37367 conftest$ac_exeext conftest.$ac_ext
37368 LIBS=$ac_check_lib_save_LIBS
37369 fi
37370 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37371 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37372 if test $ac_cv_lib_socket_inet_addr = yes; then
37373 INET_LINK="socket"
37374
37375 fi
37376
37377
37378
37379 fi
37380
37381
37382
37383 fi
37384
37385
37386
37387 fi
37388 done
37389
37390
37391
37392 for ac_func in inet_aton
37393 do
37394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37395 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37397 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37398 echo $ECHO_N "(cached) $ECHO_C" >&6
37399 else
37400 cat >conftest.$ac_ext <<_ACEOF
37401 /* confdefs.h. */
37402 _ACEOF
37403 cat confdefs.h >>conftest.$ac_ext
37404 cat >>conftest.$ac_ext <<_ACEOF
37405 /* end confdefs.h. */
37406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37408 #define $ac_func innocuous_$ac_func
37409
37410 /* System header to define __stub macros and hopefully few prototypes,
37411 which can conflict with char $ac_func (); below.
37412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37413 <limits.h> exists even on freestanding compilers. */
37414
37415 #ifdef __STDC__
37416 # include <limits.h>
37417 #else
37418 # include <assert.h>
37419 #endif
37420
37421 #undef $ac_func
37422
37423 /* Override any GCC internal prototype to avoid an error.
37424 Use char because int might match the return type of a GCC
37425 builtin and then its argument prototype would still apply. */
37426 #ifdef __cplusplus
37427 extern "C"
37428 #endif
37429 char $ac_func ();
37430 /* The GNU C library defines this for functions which it implements
37431 to always fail with ENOSYS. Some functions are actually named
37432 something starting with __ and the normal name is an alias. */
37433 #if defined __stub_$ac_func || defined __stub___$ac_func
37434 choke me
37435 #endif
37436
37437 int
37438 main ()
37439 {
37440 return $ac_func ();
37441 ;
37442 return 0;
37443 }
37444 _ACEOF
37445 rm -f conftest.$ac_objext conftest$ac_exeext
37446 if { (ac_try="$ac_link"
37447 case "(($ac_try" in
37448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37449 *) ac_try_echo=$ac_try;;
37450 esac
37451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37452 (eval "$ac_link") 2>conftest.er1
37453 ac_status=$?
37454 grep -v '^ *+' conftest.er1 >conftest.err
37455 rm -f conftest.er1
37456 cat conftest.err >&5
37457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37458 (exit $ac_status); } && {
37459 test -z "$ac_c_werror_flag" ||
37460 test ! -s conftest.err
37461 } && test -s conftest$ac_exeext &&
37462 $as_test_x conftest$ac_exeext; then
37463 eval "$as_ac_var=yes"
37464 else
37465 echo "$as_me: failed program was:" >&5
37466 sed 's/^/| /' conftest.$ac_ext >&5
37467
37468 eval "$as_ac_var=no"
37469 fi
37470
37471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37472 conftest$ac_exeext conftest.$ac_ext
37473 fi
37474 ac_res=`eval echo '${'$as_ac_var'}'`
37475 { echo "$as_me:$LINENO: result: $ac_res" >&5
37476 echo "${ECHO_T}$ac_res" >&6; }
37477 if test `eval echo '${'$as_ac_var'}'` = yes; then
37478 cat >>confdefs.h <<_ACEOF
37479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37480 _ACEOF
37481 cat >>confdefs.h <<\_ACEOF
37482 #define HAVE_INET_ATON 1
37483 _ACEOF
37484
37485 else
37486
37487 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37488 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37489 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37490 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37491 echo $ECHO_N "(cached) $ECHO_C" >&6
37492 else
37493 ac_check_lib_save_LIBS=$LIBS
37494 LIBS="-l$INET_LINK $LIBS"
37495 cat >conftest.$ac_ext <<_ACEOF
37496 /* confdefs.h. */
37497 _ACEOF
37498 cat confdefs.h >>conftest.$ac_ext
37499 cat >>conftest.$ac_ext <<_ACEOF
37500 /* end confdefs.h. */
37501
37502 /* Override any GCC internal prototype to avoid an error.
37503 Use char because int might match the return type of a GCC
37504 builtin and then its argument prototype would still apply. */
37505 #ifdef __cplusplus
37506 extern "C"
37507 #endif
37508 char inet_aton ();
37509 int
37510 main ()
37511 {
37512 return inet_aton ();
37513 ;
37514 return 0;
37515 }
37516 _ACEOF
37517 rm -f conftest.$ac_objext conftest$ac_exeext
37518 if { (ac_try="$ac_link"
37519 case "(($ac_try" in
37520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37521 *) ac_try_echo=$ac_try;;
37522 esac
37523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37524 (eval "$ac_link") 2>conftest.er1
37525 ac_status=$?
37526 grep -v '^ *+' conftest.er1 >conftest.err
37527 rm -f conftest.er1
37528 cat conftest.err >&5
37529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37530 (exit $ac_status); } && {
37531 test -z "$ac_c_werror_flag" ||
37532 test ! -s conftest.err
37533 } && test -s conftest$ac_exeext &&
37534 $as_test_x conftest$ac_exeext; then
37535 eval "$as_ac_Lib=yes"
37536 else
37537 echo "$as_me: failed program was:" >&5
37538 sed 's/^/| /' conftest.$ac_ext >&5
37539
37540 eval "$as_ac_Lib=no"
37541 fi
37542
37543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37544 conftest$ac_exeext conftest.$ac_ext
37545 LIBS=$ac_check_lib_save_LIBS
37546 fi
37547 ac_res=`eval echo '${'$as_ac_Lib'}'`
37548 { echo "$as_me:$LINENO: result: $ac_res" >&5
37549 echo "${ECHO_T}$ac_res" >&6; }
37550 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37551 cat >>confdefs.h <<\_ACEOF
37552 #define HAVE_INET_ATON 1
37553 _ACEOF
37554
37555 fi
37556
37557
37558 fi
37559 done
37560
37561
37562 if test "x$INET_LINK" != "x"; then
37563 cat >>confdefs.h <<\_ACEOF
37564 #define HAVE_INET_ADDR 1
37565 _ACEOF
37566
37567 INET_LINK=" -l$INET_LINK"
37568 fi
37569
37570
37571 for wx_func in fdopen
37572 do
37573 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37574 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37575 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37576 echo $ECHO_N "(cached) $ECHO_C" >&6
37577 else
37578
37579 cat >conftest.$ac_ext <<_ACEOF
37580
37581 /* confdefs.h. */
37582 _ACEOF
37583 cat confdefs.h >>conftest.$ac_ext
37584 cat >>conftest.$ac_ext <<_ACEOF
37585 /* end confdefs.h. */
37586
37587
37588 $ac_includes_default
37589
37590 int
37591 main ()
37592 {
37593
37594 #ifndef $wx_func
37595 &$wx_func;
37596 #endif
37597
37598
37599 ;
37600 return 0;
37601 }
37602
37603 _ACEOF
37604 rm -f conftest.$ac_objext conftest$ac_exeext
37605 if { (ac_try="$ac_link"
37606 case "(($ac_try" in
37607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37608 *) ac_try_echo=$ac_try;;
37609 esac
37610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37611 (eval "$ac_link") 2>conftest.er1
37612 ac_status=$?
37613 grep -v '^ *+' conftest.er1 >conftest.err
37614 rm -f conftest.er1
37615 cat conftest.err >&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } && {
37618 test -z "$ac_c_werror_flag" ||
37619 test ! -s conftest.err
37620 } && test -s conftest$ac_exeext &&
37621 $as_test_x conftest$ac_exeext; then
37622 eval wx_cv_func_$wx_func=yes
37623 else
37624 echo "$as_me: failed program was:" >&5
37625 sed 's/^/| /' conftest.$ac_ext >&5
37626
37627 eval wx_cv_func_$wx_func=no
37628 fi
37629
37630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37631 conftest$ac_exeext conftest.$ac_ext
37632
37633 fi
37634 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37635 { echo "$as_me:$LINENO: result: $ac_res" >&5
37636 echo "${ECHO_T}$ac_res" >&6; }
37637
37638 if eval test \$wx_cv_func_$wx_func = yes
37639 then
37640 cat >>confdefs.h <<_ACEOF
37641 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37642 _ACEOF
37643
37644
37645 else
37646 :
37647
37648 fi
37649 done
37650
37651
37652 fi
37653
37654
37655
37656 cat >confcache <<\_ACEOF
37657 # This file is a shell script that caches the results of configure
37658 # tests run on this system so they can be shared between configure
37659 # scripts and configure runs, see configure's option --config-cache.
37660 # It is not useful on other systems. If it contains results you don't
37661 # want to keep, you may remove or edit it.
37662 #
37663 # config.status only pays attention to the cache file if you give it
37664 # the --recheck option to rerun configure.
37665 #
37666 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37667 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37668 # following values.
37669
37670 _ACEOF
37671
37672 # The following way of writing the cache mishandles newlines in values,
37673 # but we know of no workaround that is simple, portable, and efficient.
37674 # So, we kill variables containing newlines.
37675 # Ultrix sh set writes to stderr and can't be redirected directly,
37676 # and sets the high bit in the cache file unless we assign to the vars.
37677 (
37678 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37679 eval ac_val=\$$ac_var
37680 case $ac_val in #(
37681 *${as_nl}*)
37682 case $ac_var in #(
37683 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37684 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37685 esac
37686 case $ac_var in #(
37687 _ | IFS | as_nl) ;; #(
37688 *) $as_unset $ac_var ;;
37689 esac ;;
37690 esac
37691 done
37692
37693 (set) 2>&1 |
37694 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37695 *${as_nl}ac_space=\ *)
37696 # `set' does not quote correctly, so add quotes (double-quote
37697 # substitution turns \\\\ into \\, and sed turns \\ into \).
37698 sed -n \
37699 "s/'/'\\\\''/g;
37700 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37701 ;; #(
37702 *)
37703 # `set' quotes correctly as required by POSIX, so do not add quotes.
37704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37705 ;;
37706 esac |
37707 sort
37708 ) |
37709 sed '
37710 /^ac_cv_env_/b end
37711 t clear
37712 :clear
37713 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37714 t end
37715 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37716 :end' >>confcache
37717 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37718 if test -w "$cache_file"; then
37719 test "x$cache_file" != "x/dev/null" &&
37720 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37721 echo "$as_me: updating cache $cache_file" >&6;}
37722 cat confcache >$cache_file
37723 else
37724 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37725 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37726 fi
37727 fi
37728 rm -f confcache
37729
37730
37731 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37732
37733
37734 THREADS_LINK=
37735 THREADS_CFLAGS=
37736
37737 if test "$wxUSE_THREADS" = "yes" ; then
37738 if test "$USE_BEOS" = 1; then
37739 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37740 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37741 wxUSE_THREADS="no"
37742 fi
37743 fi
37744
37745 if test "$wxUSE_THREADS" = "yes" ; then
37746
37747
37748 THREAD_OPTS="-pthread"
37749 case "${host}" in
37750 *-*-solaris2* | *-*-sunos4* )
37751 if test "x$GCC" = "xyes"; then
37752 THREAD_OPTS="-pthreads $THREAD_OPTS"
37753 else
37754 THREAD_OPTS="-mt $THREAD_OPTS"
37755 fi
37756 ;;
37757 *-*-freebsd*)
37758 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37759 ;;
37760 *-*-darwin* | *-*-cygwin* )
37761 THREAD_OPTS=""
37762 ;;
37763 *-*-aix*)
37764 THREAD_OPTS="pthreads"
37765 ;;
37766 *-hp-hpux* )
37767 if test "x$GCC" = "xyes"; then
37768 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37769 THREAD_OPTS=""
37770 else
37771 THREAD_OPTS="-mt"
37772 fi
37773 ;;
37774
37775 *-*-irix* )
37776 if test "x$GCC" = "xyes"; then
37777 THREAD_OPTS=""
37778 fi
37779 ;;
37780
37781 *-*-*UnixWare*)
37782 if test "x$GCC" != "xyes"; then
37783 THREAD_OPTS="-Ethread"
37784 fi
37785 ;;
37786 esac
37787
37788 THREAD_OPTS="$THREAD_OPTS pthread none"
37789
37790 THREADS_OK=no
37791 for flag in $THREAD_OPTS; do
37792 case $flag in
37793 none)
37794 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37795 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37796 ;;
37797
37798 -*)
37799 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37800 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37801 THREADS_CFLAGS="$flag"
37802 ;;
37803
37804 *)
37805 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37806 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37807 THREADS_LINK="-l$flag"
37808 ;;
37809 esac
37810
37811 save_LIBS="$LIBS"
37812 save_CFLAGS="$CFLAGS"
37813 LIBS="$THREADS_LINK $LIBS"
37814 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37815
37816 cat >conftest.$ac_ext <<_ACEOF
37817 /* confdefs.h. */
37818 _ACEOF
37819 cat confdefs.h >>conftest.$ac_ext
37820 cat >>conftest.$ac_ext <<_ACEOF
37821 /* end confdefs.h. */
37822 #include <pthread.h>
37823 int
37824 main ()
37825 {
37826 pthread_create(0,0,0,0);
37827 ;
37828 return 0;
37829 }
37830 _ACEOF
37831 rm -f conftest.$ac_objext conftest$ac_exeext
37832 if { (ac_try="$ac_link"
37833 case "(($ac_try" in
37834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37835 *) ac_try_echo=$ac_try;;
37836 esac
37837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37838 (eval "$ac_link") 2>conftest.er1
37839 ac_status=$?
37840 grep -v '^ *+' conftest.er1 >conftest.err
37841 rm -f conftest.er1
37842 cat conftest.err >&5
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); } && {
37845 test -z "$ac_c_werror_flag" ||
37846 test ! -s conftest.err
37847 } && test -s conftest$ac_exeext &&
37848 $as_test_x conftest$ac_exeext; then
37849 THREADS_OK=yes
37850 else
37851 echo "$as_me: failed program was:" >&5
37852 sed 's/^/| /' conftest.$ac_ext >&5
37853
37854
37855 fi
37856
37857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37858 conftest$ac_exeext conftest.$ac_ext
37859
37860 LIBS="$save_LIBS"
37861 CFLAGS="$save_CFLAGS"
37862
37863 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37864 echo "${ECHO_T}$THREADS_OK" >&6; }
37865 if test "x$THREADS_OK" = "xyes"; then
37866 break;
37867 fi
37868
37869 THREADS_LINK=""
37870 THREADS_CFLAGS=""
37871 done
37872
37873 if test "x$THREADS_OK" != "xyes"; then
37874 wxUSE_THREADS=no
37875 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37876 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37877 else
37878 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37879 LIBS="$THREADS_LINK $LIBS"
37880
37881 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37882 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37883 flag=no
37884 case "${host}" in
37885 *-aix*)
37886 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37887 flag="-D_THREAD_SAFE"
37888 ;;
37889 *-freebsd*)
37890 flag="-D_THREAD_SAFE"
37891 ;;
37892 *-hp-hpux* )
37893 flag="-D_REENTRANT"
37894 if test "x$GCC" != "xyes"; then
37895 flag="$flag -D_RWSTD_MULTI_THREAD"
37896 fi
37897 ;;
37898 *solaris* | alpha*-osf*)
37899 flag="-D_REENTRANT"
37900 ;;
37901 esac
37902 { echo "$as_me:$LINENO: result: ${flag}" >&5
37903 echo "${ECHO_T}${flag}" >&6; }
37904 if test "x$flag" != xno; then
37905 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37906 fi
37907
37908 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37909 fi
37910 fi
37911
37912 if test "$wxUSE_THREADS" = "yes" ; then
37913
37914 for ac_func in thr_setconcurrency
37915 do
37916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37917 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37919 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37920 echo $ECHO_N "(cached) $ECHO_C" >&6
37921 else
37922 cat >conftest.$ac_ext <<_ACEOF
37923 /* confdefs.h. */
37924 _ACEOF
37925 cat confdefs.h >>conftest.$ac_ext
37926 cat >>conftest.$ac_ext <<_ACEOF
37927 /* end confdefs.h. */
37928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37930 #define $ac_func innocuous_$ac_func
37931
37932 /* System header to define __stub macros and hopefully few prototypes,
37933 which can conflict with char $ac_func (); below.
37934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37935 <limits.h> exists even on freestanding compilers. */
37936
37937 #ifdef __STDC__
37938 # include <limits.h>
37939 #else
37940 # include <assert.h>
37941 #endif
37942
37943 #undef $ac_func
37944
37945 /* Override any GCC internal prototype to avoid an error.
37946 Use char because int might match the return type of a GCC
37947 builtin and then its argument prototype would still apply. */
37948 #ifdef __cplusplus
37949 extern "C"
37950 #endif
37951 char $ac_func ();
37952 /* The GNU C library defines this for functions which it implements
37953 to always fail with ENOSYS. Some functions are actually named
37954 something starting with __ and the normal name is an alias. */
37955 #if defined __stub_$ac_func || defined __stub___$ac_func
37956 choke me
37957 #endif
37958
37959 int
37960 main ()
37961 {
37962 return $ac_func ();
37963 ;
37964 return 0;
37965 }
37966 _ACEOF
37967 rm -f conftest.$ac_objext conftest$ac_exeext
37968 if { (ac_try="$ac_link"
37969 case "(($ac_try" in
37970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37971 *) ac_try_echo=$ac_try;;
37972 esac
37973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37974 (eval "$ac_link") 2>conftest.er1
37975 ac_status=$?
37976 grep -v '^ *+' conftest.er1 >conftest.err
37977 rm -f conftest.er1
37978 cat conftest.err >&5
37979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980 (exit $ac_status); } && {
37981 test -z "$ac_c_werror_flag" ||
37982 test ! -s conftest.err
37983 } && test -s conftest$ac_exeext &&
37984 $as_test_x conftest$ac_exeext; then
37985 eval "$as_ac_var=yes"
37986 else
37987 echo "$as_me: failed program was:" >&5
37988 sed 's/^/| /' conftest.$ac_ext >&5
37989
37990 eval "$as_ac_var=no"
37991 fi
37992
37993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37994 conftest$ac_exeext conftest.$ac_ext
37995 fi
37996 ac_res=`eval echo '${'$as_ac_var'}'`
37997 { echo "$as_me:$LINENO: result: $ac_res" >&5
37998 echo "${ECHO_T}$ac_res" >&6; }
37999 if test `eval echo '${'$as_ac_var'}'` = yes; then
38000 cat >>confdefs.h <<_ACEOF
38001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38002 _ACEOF
38003
38004 fi
38005 done
38006
38007
38008 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38009 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38010 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38011 echo $ECHO_N "(cached) $ECHO_C" >&6
38012 else
38013
38014 cat >conftest.$ac_ext <<_ACEOF
38015 /* confdefs.h. */
38016 _ACEOF
38017 cat confdefs.h >>conftest.$ac_ext
38018 cat >>conftest.$ac_ext <<_ACEOF
38019 /* end confdefs.h. */
38020 #include <pthread.h>
38021 void ThreadCleanupFunc(void *p);
38022
38023 int
38024 main ()
38025 {
38026
38027 void *p;
38028 pthread_cleanup_push(ThreadCleanupFunc, p);
38029 pthread_cleanup_pop(0);
38030
38031 ;
38032 return 0;
38033 }
38034 _ACEOF
38035 rm -f conftest.$ac_objext
38036 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
38052
38053 wx_cv_func_pthread_cleanup=yes
38054
38055 else
38056 echo "$as_me: failed program was:" >&5
38057 sed 's/^/| /' conftest.$ac_ext >&5
38058
38059
38060 wx_cv_func_pthread_cleanup=no
38061
38062
38063 fi
38064
38065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38066
38067 fi
38068 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38069 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38070 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38071 cat >>confdefs.h <<\_ACEOF
38072 #define wxHAVE_PTHREAD_CLEANUP 1
38073 _ACEOF
38074
38075 fi
38076
38077 { echo "$as_me:$LINENO: checking for sched.h" >&5
38078 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38079 if test "${ac_cv_header_sched_h+set}" = set; then
38080 echo $ECHO_N "(cached) $ECHO_C" >&6
38081 else
38082 cat >conftest.$ac_ext <<_ACEOF
38083 /* confdefs.h. */
38084 _ACEOF
38085 cat confdefs.h >>conftest.$ac_ext
38086 cat >>conftest.$ac_ext <<_ACEOF
38087 /* end confdefs.h. */
38088 $ac_includes_default
38089
38090 #include <sched.h>
38091 _ACEOF
38092 rm -f conftest.$ac_objext
38093 if { (ac_try="$ac_compile"
38094 case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38096 *) ac_try_echo=$ac_try;;
38097 esac
38098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_compile") 2>conftest.er1
38100 ac_status=$?
38101 grep -v '^ *+' conftest.er1 >conftest.err
38102 rm -f conftest.er1
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); } && {
38106 test -z "$ac_c_werror_flag" ||
38107 test ! -s conftest.err
38108 } && test -s conftest.$ac_objext; then
38109 ac_cv_header_sched_h=yes
38110 else
38111 echo "$as_me: failed program was:" >&5
38112 sed 's/^/| /' conftest.$ac_ext >&5
38113
38114 ac_cv_header_sched_h=no
38115 fi
38116
38117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38118 fi
38119 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38120 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38121
38122
38123 if test "$ac_cv_header_sched_h" = "yes"; then
38124 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38125 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38126 if test "${ac_cv_func_sched_yield+set}" = set; then
38127 echo $ECHO_N "(cached) $ECHO_C" >&6
38128 else
38129 cat >conftest.$ac_ext <<_ACEOF
38130 /* confdefs.h. */
38131 _ACEOF
38132 cat confdefs.h >>conftest.$ac_ext
38133 cat >>conftest.$ac_ext <<_ACEOF
38134 /* end confdefs.h. */
38135 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38137 #define sched_yield innocuous_sched_yield
38138
38139 /* System header to define __stub macros and hopefully few prototypes,
38140 which can conflict with char sched_yield (); below.
38141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38142 <limits.h> exists even on freestanding compilers. */
38143
38144 #ifdef __STDC__
38145 # include <limits.h>
38146 #else
38147 # include <assert.h>
38148 #endif
38149
38150 #undef sched_yield
38151
38152 /* Override any GCC internal prototype to avoid an error.
38153 Use char because int might match the return type of a GCC
38154 builtin and then its argument prototype would still apply. */
38155 #ifdef __cplusplus
38156 extern "C"
38157 #endif
38158 char sched_yield ();
38159 /* The GNU C library defines this for functions which it implements
38160 to always fail with ENOSYS. Some functions are actually named
38161 something starting with __ and the normal name is an alias. */
38162 #if defined __stub_sched_yield || defined __stub___sched_yield
38163 choke me
38164 #endif
38165
38166 int
38167 main ()
38168 {
38169 return sched_yield ();
38170 ;
38171 return 0;
38172 }
38173 _ACEOF
38174 rm -f conftest.$ac_objext conftest$ac_exeext
38175 if { (ac_try="$ac_link"
38176 case "(($ac_try" in
38177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38178 *) ac_try_echo=$ac_try;;
38179 esac
38180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38181 (eval "$ac_link") 2>conftest.er1
38182 ac_status=$?
38183 grep -v '^ *+' conftest.er1 >conftest.err
38184 rm -f conftest.er1
38185 cat conftest.err >&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); } && {
38188 test -z "$ac_c_werror_flag" ||
38189 test ! -s conftest.err
38190 } && test -s conftest$ac_exeext &&
38191 $as_test_x conftest$ac_exeext; then
38192 ac_cv_func_sched_yield=yes
38193 else
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.$ac_ext >&5
38196
38197 ac_cv_func_sched_yield=no
38198 fi
38199
38200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38201 conftest$ac_exeext conftest.$ac_ext
38202 fi
38203 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38204 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38205 if test $ac_cv_func_sched_yield = yes; then
38206 cat >>confdefs.h <<\_ACEOF
38207 #define HAVE_SCHED_YIELD 1
38208 _ACEOF
38209
38210 else
38211
38212 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38213 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38214 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38215 echo $ECHO_N "(cached) $ECHO_C" >&6
38216 else
38217 ac_check_lib_save_LIBS=$LIBS
38218 LIBS="-lposix4 $LIBS"
38219 cat >conftest.$ac_ext <<_ACEOF
38220 /* confdefs.h. */
38221 _ACEOF
38222 cat confdefs.h >>conftest.$ac_ext
38223 cat >>conftest.$ac_ext <<_ACEOF
38224 /* end confdefs.h. */
38225
38226 /* Override any GCC internal prototype to avoid an error.
38227 Use char because int might match the return type of a GCC
38228 builtin and then its argument prototype would still apply. */
38229 #ifdef __cplusplus
38230 extern "C"
38231 #endif
38232 char sched_yield ();
38233 int
38234 main ()
38235 {
38236 return sched_yield ();
38237 ;
38238 return 0;
38239 }
38240 _ACEOF
38241 rm -f conftest.$ac_objext conftest$ac_exeext
38242 if { (ac_try="$ac_link"
38243 case "(($ac_try" in
38244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38245 *) ac_try_echo=$ac_try;;
38246 esac
38247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38248 (eval "$ac_link") 2>conftest.er1
38249 ac_status=$?
38250 grep -v '^ *+' conftest.er1 >conftest.err
38251 rm -f conftest.er1
38252 cat conftest.err >&5
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); } && {
38255 test -z "$ac_c_werror_flag" ||
38256 test ! -s conftest.err
38257 } && test -s conftest$ac_exeext &&
38258 $as_test_x conftest$ac_exeext; then
38259 ac_cv_lib_posix4_sched_yield=yes
38260 else
38261 echo "$as_me: failed program was:" >&5
38262 sed 's/^/| /' conftest.$ac_ext >&5
38263
38264 ac_cv_lib_posix4_sched_yield=no
38265 fi
38266
38267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38268 conftest$ac_exeext conftest.$ac_ext
38269 LIBS=$ac_check_lib_save_LIBS
38270 fi
38271 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38272 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38273 if test $ac_cv_lib_posix4_sched_yield = yes; then
38274 cat >>confdefs.h <<\_ACEOF
38275 #define HAVE_SCHED_YIELD 1
38276 _ACEOF
38277 POSIX4_LINK=" -lposix4"
38278 else
38279 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38280 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38281
38282 fi
38283
38284
38285
38286 fi
38287
38288 fi
38289
38290 HAVE_PRIOR_FUNCS=0
38291 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38292 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38293 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38294 echo $ECHO_N "(cached) $ECHO_C" >&6
38295 else
38296 cat >conftest.$ac_ext <<_ACEOF
38297 /* confdefs.h. */
38298 _ACEOF
38299 cat confdefs.h >>conftest.$ac_ext
38300 cat >>conftest.$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38302 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38304 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38305
38306 /* System header to define __stub macros and hopefully few prototypes,
38307 which can conflict with char pthread_attr_getschedpolicy (); below.
38308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38309 <limits.h> exists even on freestanding compilers. */
38310
38311 #ifdef __STDC__
38312 # include <limits.h>
38313 #else
38314 # include <assert.h>
38315 #endif
38316
38317 #undef pthread_attr_getschedpolicy
38318
38319 /* Override any GCC internal prototype to avoid an error.
38320 Use char because int might match the return type of a GCC
38321 builtin and then its argument prototype would still apply. */
38322 #ifdef __cplusplus
38323 extern "C"
38324 #endif
38325 char pthread_attr_getschedpolicy ();
38326 /* The GNU C library defines this for functions which it implements
38327 to always fail with ENOSYS. Some functions are actually named
38328 something starting with __ and the normal name is an alias. */
38329 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38330 choke me
38331 #endif
38332
38333 int
38334 main ()
38335 {
38336 return pthread_attr_getschedpolicy ();
38337 ;
38338 return 0;
38339 }
38340 _ACEOF
38341 rm -f conftest.$ac_objext conftest$ac_exeext
38342 if { (ac_try="$ac_link"
38343 case "(($ac_try" in
38344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38345 *) ac_try_echo=$ac_try;;
38346 esac
38347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38348 (eval "$ac_link") 2>conftest.er1
38349 ac_status=$?
38350 grep -v '^ *+' conftest.er1 >conftest.err
38351 rm -f conftest.er1
38352 cat conftest.err >&5
38353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38354 (exit $ac_status); } && {
38355 test -z "$ac_c_werror_flag" ||
38356 test ! -s conftest.err
38357 } && test -s conftest$ac_exeext &&
38358 $as_test_x conftest$ac_exeext; then
38359 ac_cv_func_pthread_attr_getschedpolicy=yes
38360 else
38361 echo "$as_me: failed program was:" >&5
38362 sed 's/^/| /' conftest.$ac_ext >&5
38363
38364 ac_cv_func_pthread_attr_getschedpolicy=no
38365 fi
38366
38367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38368 conftest$ac_exeext conftest.$ac_ext
38369 fi
38370 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38371 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38372 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38373 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38374 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38375 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38376 echo $ECHO_N "(cached) $ECHO_C" >&6
38377 else
38378 cat >conftest.$ac_ext <<_ACEOF
38379 /* confdefs.h. */
38380 _ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38384 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38386 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38387
38388 /* System header to define __stub macros and hopefully few prototypes,
38389 which can conflict with char pthread_attr_setschedparam (); below.
38390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38391 <limits.h> exists even on freestanding compilers. */
38392
38393 #ifdef __STDC__
38394 # include <limits.h>
38395 #else
38396 # include <assert.h>
38397 #endif
38398
38399 #undef pthread_attr_setschedparam
38400
38401 /* Override any GCC internal prototype to avoid an error.
38402 Use char because int might match the return type of a GCC
38403 builtin and then its argument prototype would still apply. */
38404 #ifdef __cplusplus
38405 extern "C"
38406 #endif
38407 char pthread_attr_setschedparam ();
38408 /* The GNU C library defines this for functions which it implements
38409 to always fail with ENOSYS. Some functions are actually named
38410 something starting with __ and the normal name is an alias. */
38411 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38412 choke me
38413 #endif
38414
38415 int
38416 main ()
38417 {
38418 return pthread_attr_setschedparam ();
38419 ;
38420 return 0;
38421 }
38422 _ACEOF
38423 rm -f conftest.$ac_objext conftest$ac_exeext
38424 if { (ac_try="$ac_link"
38425 case "(($ac_try" in
38426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38427 *) ac_try_echo=$ac_try;;
38428 esac
38429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38430 (eval "$ac_link") 2>conftest.er1
38431 ac_status=$?
38432 grep -v '^ *+' conftest.er1 >conftest.err
38433 rm -f conftest.er1
38434 cat conftest.err >&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); } && {
38437 test -z "$ac_c_werror_flag" ||
38438 test ! -s conftest.err
38439 } && test -s conftest$ac_exeext &&
38440 $as_test_x conftest$ac_exeext; then
38441 ac_cv_func_pthread_attr_setschedparam=yes
38442 else
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38445
38446 ac_cv_func_pthread_attr_setschedparam=no
38447 fi
38448
38449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38450 conftest$ac_exeext conftest.$ac_ext
38451 fi
38452 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38453 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38454 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38455 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38456 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38457 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38458 echo $ECHO_N "(cached) $ECHO_C" >&6
38459 else
38460 cat >conftest.$ac_ext <<_ACEOF
38461 /* confdefs.h. */
38462 _ACEOF
38463 cat confdefs.h >>conftest.$ac_ext
38464 cat >>conftest.$ac_ext <<_ACEOF
38465 /* end confdefs.h. */
38466 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38468 #define sched_get_priority_max innocuous_sched_get_priority_max
38469
38470 /* System header to define __stub macros and hopefully few prototypes,
38471 which can conflict with char sched_get_priority_max (); below.
38472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38473 <limits.h> exists even on freestanding compilers. */
38474
38475 #ifdef __STDC__
38476 # include <limits.h>
38477 #else
38478 # include <assert.h>
38479 #endif
38480
38481 #undef sched_get_priority_max
38482
38483 /* Override any GCC internal prototype to avoid an error.
38484 Use char because int might match the return type of a GCC
38485 builtin and then its argument prototype would still apply. */
38486 #ifdef __cplusplus
38487 extern "C"
38488 #endif
38489 char sched_get_priority_max ();
38490 /* The GNU C library defines this for functions which it implements
38491 to always fail with ENOSYS. Some functions are actually named
38492 something starting with __ and the normal name is an alias. */
38493 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38494 choke me
38495 #endif
38496
38497 int
38498 main ()
38499 {
38500 return sched_get_priority_max ();
38501 ;
38502 return 0;
38503 }
38504 _ACEOF
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (ac_try="$ac_link"
38507 case "(($ac_try" in
38508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38509 *) ac_try_echo=$ac_try;;
38510 esac
38511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38512 (eval "$ac_link") 2>conftest.er1
38513 ac_status=$?
38514 grep -v '^ *+' conftest.er1 >conftest.err
38515 rm -f conftest.er1
38516 cat conftest.err >&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); } && {
38519 test -z "$ac_c_werror_flag" ||
38520 test ! -s conftest.err
38521 } && test -s conftest$ac_exeext &&
38522 $as_test_x conftest$ac_exeext; then
38523 ac_cv_func_sched_get_priority_max=yes
38524 else
38525 echo "$as_me: failed program was:" >&5
38526 sed 's/^/| /' conftest.$ac_ext >&5
38527
38528 ac_cv_func_sched_get_priority_max=no
38529 fi
38530
38531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38532 conftest$ac_exeext conftest.$ac_ext
38533 fi
38534 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38535 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38536 if test $ac_cv_func_sched_get_priority_max = yes; then
38537 HAVE_PRIOR_FUNCS=1
38538 else
38539 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38540 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38541 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 else
38544 ac_check_lib_save_LIBS=$LIBS
38545 LIBS="-lposix4 $LIBS"
38546 cat >conftest.$ac_ext <<_ACEOF
38547 /* confdefs.h. */
38548 _ACEOF
38549 cat confdefs.h >>conftest.$ac_ext
38550 cat >>conftest.$ac_ext <<_ACEOF
38551 /* end confdefs.h. */
38552
38553 /* Override any GCC internal prototype to avoid an error.
38554 Use char because int might match the return type of a GCC
38555 builtin and then its argument prototype would still apply. */
38556 #ifdef __cplusplus
38557 extern "C"
38558 #endif
38559 char sched_get_priority_max ();
38560 int
38561 main ()
38562 {
38563 return sched_get_priority_max ();
38564 ;
38565 return 0;
38566 }
38567 _ACEOF
38568 rm -f conftest.$ac_objext conftest$ac_exeext
38569 if { (ac_try="$ac_link"
38570 case "(($ac_try" in
38571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38572 *) ac_try_echo=$ac_try;;
38573 esac
38574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38575 (eval "$ac_link") 2>conftest.er1
38576 ac_status=$?
38577 grep -v '^ *+' conftest.er1 >conftest.err
38578 rm -f conftest.er1
38579 cat conftest.err >&5
38580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38581 (exit $ac_status); } && {
38582 test -z "$ac_c_werror_flag" ||
38583 test ! -s conftest.err
38584 } && test -s conftest$ac_exeext &&
38585 $as_test_x conftest$ac_exeext; then
38586 ac_cv_lib_posix4_sched_get_priority_max=yes
38587 else
38588 echo "$as_me: failed program was:" >&5
38589 sed 's/^/| /' conftest.$ac_ext >&5
38590
38591 ac_cv_lib_posix4_sched_get_priority_max=no
38592 fi
38593
38594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38595 conftest$ac_exeext conftest.$ac_ext
38596 LIBS=$ac_check_lib_save_LIBS
38597 fi
38598 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38599 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38600 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38601
38602 HAVE_PRIOR_FUNCS=1
38603 POSIX4_LINK=" -lposix4"
38604
38605 fi
38606
38607
38608 fi
38609
38610
38611 fi
38612
38613
38614 fi
38615
38616
38617 if test "$HAVE_PRIOR_FUNCS" = 1; then
38618 cat >>confdefs.h <<\_ACEOF
38619 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38620 _ACEOF
38621
38622 else
38623 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38624 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38625 fi
38626
38627 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38628 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38629 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38630 echo $ECHO_N "(cached) $ECHO_C" >&6
38631 else
38632 cat >conftest.$ac_ext <<_ACEOF
38633 /* confdefs.h. */
38634 _ACEOF
38635 cat confdefs.h >>conftest.$ac_ext
38636 cat >>conftest.$ac_ext <<_ACEOF
38637 /* end confdefs.h. */
38638 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38640 #define pthread_cancel innocuous_pthread_cancel
38641
38642 /* System header to define __stub macros and hopefully few prototypes,
38643 which can conflict with char pthread_cancel (); below.
38644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38645 <limits.h> exists even on freestanding compilers. */
38646
38647 #ifdef __STDC__
38648 # include <limits.h>
38649 #else
38650 # include <assert.h>
38651 #endif
38652
38653 #undef pthread_cancel
38654
38655 /* Override any GCC internal prototype to avoid an error.
38656 Use char because int might match the return type of a GCC
38657 builtin and then its argument prototype would still apply. */
38658 #ifdef __cplusplus
38659 extern "C"
38660 #endif
38661 char pthread_cancel ();
38662 /* The GNU C library defines this for functions which it implements
38663 to always fail with ENOSYS. Some functions are actually named
38664 something starting with __ and the normal name is an alias. */
38665 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38666 choke me
38667 #endif
38668
38669 int
38670 main ()
38671 {
38672 return pthread_cancel ();
38673 ;
38674 return 0;
38675 }
38676 _ACEOF
38677 rm -f conftest.$ac_objext conftest$ac_exeext
38678 if { (ac_try="$ac_link"
38679 case "(($ac_try" in
38680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38681 *) ac_try_echo=$ac_try;;
38682 esac
38683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38684 (eval "$ac_link") 2>conftest.er1
38685 ac_status=$?
38686 grep -v '^ *+' conftest.er1 >conftest.err
38687 rm -f conftest.er1
38688 cat conftest.err >&5
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); } && {
38691 test -z "$ac_c_werror_flag" ||
38692 test ! -s conftest.err
38693 } && test -s conftest$ac_exeext &&
38694 $as_test_x conftest$ac_exeext; then
38695 ac_cv_func_pthread_cancel=yes
38696 else
38697 echo "$as_me: failed program was:" >&5
38698 sed 's/^/| /' conftest.$ac_ext >&5
38699
38700 ac_cv_func_pthread_cancel=no
38701 fi
38702
38703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38704 conftest$ac_exeext conftest.$ac_ext
38705 fi
38706 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38707 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38708 if test $ac_cv_func_pthread_cancel = yes; then
38709 cat >>confdefs.h <<\_ACEOF
38710 #define HAVE_PTHREAD_CANCEL 1
38711 _ACEOF
38712
38713 else
38714 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38715 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38716 fi
38717
38718
38719 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38720 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38721 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38722 echo $ECHO_N "(cached) $ECHO_C" >&6
38723 else
38724 cat >conftest.$ac_ext <<_ACEOF
38725 /* confdefs.h. */
38726 _ACEOF
38727 cat confdefs.h >>conftest.$ac_ext
38728 cat >>conftest.$ac_ext <<_ACEOF
38729 /* end confdefs.h. */
38730 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38732 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38733
38734 /* System header to define __stub macros and hopefully few prototypes,
38735 which can conflict with char pthread_mutex_timedlock (); below.
38736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38737 <limits.h> exists even on freestanding compilers. */
38738
38739 #ifdef __STDC__
38740 # include <limits.h>
38741 #else
38742 # include <assert.h>
38743 #endif
38744
38745 #undef pthread_mutex_timedlock
38746
38747 /* Override any GCC internal prototype to avoid an error.
38748 Use char because int might match the return type of a GCC
38749 builtin and then its argument prototype would still apply. */
38750 #ifdef __cplusplus
38751 extern "C"
38752 #endif
38753 char pthread_mutex_timedlock ();
38754 /* The GNU C library defines this for functions which it implements
38755 to always fail with ENOSYS. Some functions are actually named
38756 something starting with __ and the normal name is an alias. */
38757 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38758 choke me
38759 #endif
38760
38761 int
38762 main ()
38763 {
38764 return pthread_mutex_timedlock ();
38765 ;
38766 return 0;
38767 }
38768 _ACEOF
38769 rm -f conftest.$ac_objext conftest$ac_exeext
38770 if { (ac_try="$ac_link"
38771 case "(($ac_try" in
38772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38773 *) ac_try_echo=$ac_try;;
38774 esac
38775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38776 (eval "$ac_link") 2>conftest.er1
38777 ac_status=$?
38778 grep -v '^ *+' conftest.er1 >conftest.err
38779 rm -f conftest.er1
38780 cat conftest.err >&5
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); } && {
38783 test -z "$ac_c_werror_flag" ||
38784 test ! -s conftest.err
38785 } && test -s conftest$ac_exeext &&
38786 $as_test_x conftest$ac_exeext; then
38787 ac_cv_func_pthread_mutex_timedlock=yes
38788 else
38789 echo "$as_me: failed program was:" >&5
38790 sed 's/^/| /' conftest.$ac_ext >&5
38791
38792 ac_cv_func_pthread_mutex_timedlock=no
38793 fi
38794
38795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38796 conftest$ac_exeext conftest.$ac_ext
38797 fi
38798 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38799 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38800 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38801 cat >>confdefs.h <<\_ACEOF
38802 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38803 _ACEOF
38804
38805 else
38806 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38807 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38808 fi
38809
38810
38811 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38812 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38813 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38814 echo $ECHO_N "(cached) $ECHO_C" >&6
38815 else
38816 cat >conftest.$ac_ext <<_ACEOF
38817 /* confdefs.h. */
38818 _ACEOF
38819 cat confdefs.h >>conftest.$ac_ext
38820 cat >>conftest.$ac_ext <<_ACEOF
38821 /* end confdefs.h. */
38822 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38824 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38825
38826 /* System header to define __stub macros and hopefully few prototypes,
38827 which can conflict with char pthread_attr_setstacksize (); below.
38828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38829 <limits.h> exists even on freestanding compilers. */
38830
38831 #ifdef __STDC__
38832 # include <limits.h>
38833 #else
38834 # include <assert.h>
38835 #endif
38836
38837 #undef pthread_attr_setstacksize
38838
38839 /* Override any GCC internal prototype to avoid an error.
38840 Use char because int might match the return type of a GCC
38841 builtin and then its argument prototype would still apply. */
38842 #ifdef __cplusplus
38843 extern "C"
38844 #endif
38845 char pthread_attr_setstacksize ();
38846 /* The GNU C library defines this for functions which it implements
38847 to always fail with ENOSYS. Some functions are actually named
38848 something starting with __ and the normal name is an alias. */
38849 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38850 choke me
38851 #endif
38852
38853 int
38854 main ()
38855 {
38856 return pthread_attr_setstacksize ();
38857 ;
38858 return 0;
38859 }
38860 _ACEOF
38861 rm -f conftest.$ac_objext conftest$ac_exeext
38862 if { (ac_try="$ac_link"
38863 case "(($ac_try" in
38864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38865 *) ac_try_echo=$ac_try;;
38866 esac
38867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38868 (eval "$ac_link") 2>conftest.er1
38869 ac_status=$?
38870 grep -v '^ *+' conftest.er1 >conftest.err
38871 rm -f conftest.er1
38872 cat conftest.err >&5
38873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38874 (exit $ac_status); } && {
38875 test -z "$ac_c_werror_flag" ||
38876 test ! -s conftest.err
38877 } && test -s conftest$ac_exeext &&
38878 $as_test_x conftest$ac_exeext; then
38879 ac_cv_func_pthread_attr_setstacksize=yes
38880 else
38881 echo "$as_me: failed program was:" >&5
38882 sed 's/^/| /' conftest.$ac_ext >&5
38883
38884 ac_cv_func_pthread_attr_setstacksize=no
38885 fi
38886
38887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38888 conftest$ac_exeext conftest.$ac_ext
38889 fi
38890 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38891 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38892 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38893 cat >>confdefs.h <<\_ACEOF
38894 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38895 _ACEOF
38896
38897 fi
38898
38899
38900
38901 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38902 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38903 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38904 echo $ECHO_N "(cached) $ECHO_C" >&6
38905 else
38906
38907 cat >conftest.$ac_ext <<_ACEOF
38908 /* confdefs.h. */
38909 _ACEOF
38910 cat confdefs.h >>conftest.$ac_ext
38911 cat >>conftest.$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 #include <pthread.h>
38914 int
38915 main ()
38916 {
38917
38918 pthread_mutexattr_t attr;
38919 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38920
38921 ;
38922 return 0;
38923 }
38924 _ACEOF
38925 rm -f conftest.$ac_objext
38926 if { (ac_try="$ac_compile"
38927 case "(($ac_try" in
38928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38929 *) ac_try_echo=$ac_try;;
38930 esac
38931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38932 (eval "$ac_compile") 2>conftest.er1
38933 ac_status=$?
38934 grep -v '^ *+' conftest.er1 >conftest.err
38935 rm -f conftest.er1
38936 cat conftest.err >&5
38937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938 (exit $ac_status); } && {
38939 test -z "$ac_c_werror_flag" ||
38940 test ! -s conftest.err
38941 } && test -s conftest.$ac_objext; then
38942 wx_cv_type_pthread_mutexattr_t=yes
38943 else
38944 echo "$as_me: failed program was:" >&5
38945 sed 's/^/| /' conftest.$ac_ext >&5
38946
38947 wx_cv_type_pthread_mutexattr_t=no
38948
38949 fi
38950
38951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38952
38953 fi
38954 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38955 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38956
38957 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38958 cat >>confdefs.h <<\_ACEOF
38959 #define HAVE_PTHREAD_MUTEXATTR_T 1
38960 _ACEOF
38961
38962
38963 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38964 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38965 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38966 echo $ECHO_N "(cached) $ECHO_C" >&6
38967 else
38968
38969 cat >conftest.$ac_ext <<_ACEOF
38970 /* confdefs.h. */
38971 _ACEOF
38972 cat confdefs.h >>conftest.$ac_ext
38973 cat >>conftest.$ac_ext <<_ACEOF
38974 /* end confdefs.h. */
38975 #include <pthread.h>
38976 int
38977 main ()
38978 {
38979
38980 pthread_mutexattr_t attr;
38981 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38982
38983 ;
38984 return 0;
38985 }
38986 _ACEOF
38987 rm -f conftest.$ac_objext
38988 if { (ac_try="$ac_compile"
38989 case "(($ac_try" in
38990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38991 *) ac_try_echo=$ac_try;;
38992 esac
38993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38994 (eval "$ac_compile") 2>conftest.er1
38995 ac_status=$?
38996 grep -v '^ *+' conftest.er1 >conftest.err
38997 rm -f conftest.er1
38998 cat conftest.err >&5
38999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39000 (exit $ac_status); } && {
39001 test -z "$ac_c_werror_flag" ||
39002 test ! -s conftest.err
39003 } && test -s conftest.$ac_objext; then
39004 wx_cv_func_pthread_mutexattr_settype_decl=yes
39005 else
39006 echo "$as_me: failed program was:" >&5
39007 sed 's/^/| /' conftest.$ac_ext >&5
39008
39009 wx_cv_func_pthread_mutexattr_settype_decl=no
39010
39011 fi
39012
39013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39014
39015 fi
39016 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39017 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39018 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39019 cat >>confdefs.h <<\_ACEOF
39020 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39021 _ACEOF
39022
39023 fi
39024 else
39025 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39026 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39027 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39028 echo $ECHO_N "(cached) $ECHO_C" >&6
39029 else
39030
39031 cat >conftest.$ac_ext <<_ACEOF
39032 /* confdefs.h. */
39033 _ACEOF
39034 cat confdefs.h >>conftest.$ac_ext
39035 cat >>conftest.$ac_ext <<_ACEOF
39036 /* end confdefs.h. */
39037 #include <pthread.h>
39038 int
39039 main ()
39040 {
39041
39042 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39043
39044 ;
39045 return 0;
39046 }
39047 _ACEOF
39048 rm -f conftest.$ac_objext
39049 if { (ac_try="$ac_compile"
39050 case "(($ac_try" in
39051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39052 *) ac_try_echo=$ac_try;;
39053 esac
39054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39055 (eval "$ac_compile") 2>conftest.er1
39056 ac_status=$?
39057 grep -v '^ *+' conftest.er1 >conftest.err
39058 rm -f conftest.er1
39059 cat conftest.err >&5
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); } && {
39062 test -z "$ac_c_werror_flag" ||
39063 test ! -s conftest.err
39064 } && test -s conftest.$ac_objext; then
39065
39066 wx_cv_type_pthread_rec_mutex_init=yes
39067
39068 else
39069 echo "$as_me: failed program was:" >&5
39070 sed 's/^/| /' conftest.$ac_ext >&5
39071
39072
39073 wx_cv_type_pthread_rec_mutex_init=no
39074
39075
39076 fi
39077
39078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39079
39080 fi
39081 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39082 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39083 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39084 cat >>confdefs.h <<\_ACEOF
39085 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39086 _ACEOF
39087
39088 else
39089 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39090 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39091 fi
39092 fi
39093 fi
39094
39095 else
39096 if test "$wxUSE_THREADS" = "yes" ; then
39097 case "${host}" in
39098 *-*-mingw32* )
39099 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39100 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39101 if test "${wx_cv_cflags_mthread+set}" = set; then
39102 echo $ECHO_N "(cached) $ECHO_C" >&6
39103 else
39104
39105 CFLAGS_OLD="$CFLAGS"
39106 CFLAGS="-mthreads $CFLAGS"
39107 cat >conftest.$ac_ext <<_ACEOF
39108 /* confdefs.h. */
39109 _ACEOF
39110 cat confdefs.h >>conftest.$ac_ext
39111 cat >>conftest.$ac_ext <<_ACEOF
39112 /* end confdefs.h. */
39113
39114 int
39115 main ()
39116 {
39117
39118 ;
39119 return 0;
39120 }
39121 _ACEOF
39122 rm -f conftest.$ac_objext
39123 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
39139 wx_cv_cflags_mthread=yes
39140 else
39141 echo "$as_me: failed program was:" >&5
39142 sed 's/^/| /' conftest.$ac_ext >&5
39143
39144 wx_cv_cflags_mthread=no
39145
39146 fi
39147
39148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39149
39150
39151 fi
39152 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39153 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39154
39155 if test "$wx_cv_cflags_mthread" = "yes"; then
39156 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39157 LDFLAGS="$LDFLAGS -mthreads"
39158 else
39159 CFLAGS="$CFLAGS_OLD"
39160 fi
39161 ;;
39162 *-pc-os2*emx )
39163 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39164 LDFLAGS="$LDFLAGS -Zmt"
39165 ;;
39166 esac
39167 fi
39168 fi
39169
39170 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39171 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39172 if test "${ac_cv_func_localtime_r+set}" = set; then
39173 echo $ECHO_N "(cached) $ECHO_C" >&6
39174 else
39175 cat >conftest.$ac_ext <<_ACEOF
39176 /* confdefs.h. */
39177 _ACEOF
39178 cat confdefs.h >>conftest.$ac_ext
39179 cat >>conftest.$ac_ext <<_ACEOF
39180 /* end confdefs.h. */
39181 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39183 #define localtime_r innocuous_localtime_r
39184
39185 /* System header to define __stub macros and hopefully few prototypes,
39186 which can conflict with char localtime_r (); below.
39187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39188 <limits.h> exists even on freestanding compilers. */
39189
39190 #ifdef __STDC__
39191 # include <limits.h>
39192 #else
39193 # include <assert.h>
39194 #endif
39195
39196 #undef localtime_r
39197
39198 /* Override any GCC internal prototype to avoid an error.
39199 Use char because int might match the return type of a GCC
39200 builtin and then its argument prototype would still apply. */
39201 #ifdef __cplusplus
39202 extern "C"
39203 #endif
39204 char localtime_r ();
39205 /* The GNU C library defines this for functions which it implements
39206 to always fail with ENOSYS. Some functions are actually named
39207 something starting with __ and the normal name is an alias. */
39208 #if defined __stub_localtime_r || defined __stub___localtime_r
39209 choke me
39210 #endif
39211
39212 int
39213 main ()
39214 {
39215 return localtime_r ();
39216 ;
39217 return 0;
39218 }
39219 _ACEOF
39220 rm -f conftest.$ac_objext conftest$ac_exeext
39221 if { (ac_try="$ac_link"
39222 case "(($ac_try" in
39223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39224 *) ac_try_echo=$ac_try;;
39225 esac
39226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39227 (eval "$ac_link") 2>conftest.er1
39228 ac_status=$?
39229 grep -v '^ *+' conftest.er1 >conftest.err
39230 rm -f conftest.er1
39231 cat conftest.err >&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); } && {
39234 test -z "$ac_c_werror_flag" ||
39235 test ! -s conftest.err
39236 } && test -s conftest$ac_exeext &&
39237 $as_test_x conftest$ac_exeext; then
39238 ac_cv_func_localtime_r=yes
39239 else
39240 echo "$as_me: failed program was:" >&5
39241 sed 's/^/| /' conftest.$ac_ext >&5
39242
39243 ac_cv_func_localtime_r=no
39244 fi
39245
39246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39247 conftest$ac_exeext conftest.$ac_ext
39248 fi
39249 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39250 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39251 if test $ac_cv_func_localtime_r = yes; then
39252 cat >>confdefs.h <<\_ACEOF
39253 #define HAVE_LOCALTIME_R 1
39254 _ACEOF
39255
39256 fi
39257
39258 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39259 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39260 if test "${ac_cv_func_gmtime_r+set}" = set; then
39261 echo $ECHO_N "(cached) $ECHO_C" >&6
39262 else
39263 cat >conftest.$ac_ext <<_ACEOF
39264 /* confdefs.h. */
39265 _ACEOF
39266 cat confdefs.h >>conftest.$ac_ext
39267 cat >>conftest.$ac_ext <<_ACEOF
39268 /* end confdefs.h. */
39269 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39271 #define gmtime_r innocuous_gmtime_r
39272
39273 /* System header to define __stub macros and hopefully few prototypes,
39274 which can conflict with char gmtime_r (); below.
39275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39276 <limits.h> exists even on freestanding compilers. */
39277
39278 #ifdef __STDC__
39279 # include <limits.h>
39280 #else
39281 # include <assert.h>
39282 #endif
39283
39284 #undef gmtime_r
39285
39286 /* Override any GCC internal prototype to avoid an error.
39287 Use char because int might match the return type of a GCC
39288 builtin and then its argument prototype would still apply. */
39289 #ifdef __cplusplus
39290 extern "C"
39291 #endif
39292 char gmtime_r ();
39293 /* The GNU C library defines this for functions which it implements
39294 to always fail with ENOSYS. Some functions are actually named
39295 something starting with __ and the normal name is an alias. */
39296 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39297 choke me
39298 #endif
39299
39300 int
39301 main ()
39302 {
39303 return gmtime_r ();
39304 ;
39305 return 0;
39306 }
39307 _ACEOF
39308 rm -f conftest.$ac_objext conftest$ac_exeext
39309 if { (ac_try="$ac_link"
39310 case "(($ac_try" in
39311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39312 *) ac_try_echo=$ac_try;;
39313 esac
39314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39315 (eval "$ac_link") 2>conftest.er1
39316 ac_status=$?
39317 grep -v '^ *+' conftest.er1 >conftest.err
39318 rm -f conftest.er1
39319 cat conftest.err >&5
39320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39321 (exit $ac_status); } && {
39322 test -z "$ac_c_werror_flag" ||
39323 test ! -s conftest.err
39324 } && test -s conftest$ac_exeext &&
39325 $as_test_x conftest$ac_exeext; then
39326 ac_cv_func_gmtime_r=yes
39327 else
39328 echo "$as_me: failed program was:" >&5
39329 sed 's/^/| /' conftest.$ac_ext >&5
39330
39331 ac_cv_func_gmtime_r=no
39332 fi
39333
39334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39335 conftest$ac_exeext conftest.$ac_ext
39336 fi
39337 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39338 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39339 if test $ac_cv_func_gmtime_r = yes; then
39340 cat >>confdefs.h <<\_ACEOF
39341 #define HAVE_GMTIME_R 1
39342 _ACEOF
39343
39344 fi
39345
39346 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39347 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39348 if test "${ac_cv_func_readdir_r+set}" = set; then
39349 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 else
39351 cat >conftest.$ac_ext <<_ACEOF
39352 /* confdefs.h. */
39353 _ACEOF
39354 cat confdefs.h >>conftest.$ac_ext
39355 cat >>conftest.$ac_ext <<_ACEOF
39356 /* end confdefs.h. */
39357 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39359 #define readdir_r innocuous_readdir_r
39360
39361 /* System header to define __stub macros and hopefully few prototypes,
39362 which can conflict with char readdir_r (); below.
39363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39364 <limits.h> exists even on freestanding compilers. */
39365
39366 #ifdef __STDC__
39367 # include <limits.h>
39368 #else
39369 # include <assert.h>
39370 #endif
39371
39372 #undef readdir_r
39373
39374 /* Override any GCC internal prototype to avoid an error.
39375 Use char because int might match the return type of a GCC
39376 builtin and then its argument prototype would still apply. */
39377 #ifdef __cplusplus
39378 extern "C"
39379 #endif
39380 char readdir_r ();
39381 /* The GNU C library defines this for functions which it implements
39382 to always fail with ENOSYS. Some functions are actually named
39383 something starting with __ and the normal name is an alias. */
39384 #if defined __stub_readdir_r || defined __stub___readdir_r
39385 choke me
39386 #endif
39387
39388 int
39389 main ()
39390 {
39391 return readdir_r ();
39392 ;
39393 return 0;
39394 }
39395 _ACEOF
39396 rm -f conftest.$ac_objext conftest$ac_exeext
39397 if { (ac_try="$ac_link"
39398 case "(($ac_try" in
39399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39400 *) ac_try_echo=$ac_try;;
39401 esac
39402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39403 (eval "$ac_link") 2>conftest.er1
39404 ac_status=$?
39405 grep -v '^ *+' conftest.er1 >conftest.err
39406 rm -f conftest.er1
39407 cat conftest.err >&5
39408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39409 (exit $ac_status); } && {
39410 test -z "$ac_c_werror_flag" ||
39411 test ! -s conftest.err
39412 } && test -s conftest$ac_exeext &&
39413 $as_test_x conftest$ac_exeext; then
39414 ac_cv_func_readdir_r=yes
39415 else
39416 echo "$as_me: failed program was:" >&5
39417 sed 's/^/| /' conftest.$ac_ext >&5
39418
39419 ac_cv_func_readdir_r=no
39420 fi
39421
39422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39423 conftest$ac_exeext conftest.$ac_ext
39424 fi
39425 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39426 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39427 if test $ac_cv_func_readdir_r = yes; then
39428 cat >>confdefs.h <<\_ACEOF
39429 #define HAVE_READDIR_R 1
39430 _ACEOF
39431
39432 fi
39433
39434
39435
39436
39437 ac_ext=c
39438 ac_cpp='$CPP $CPPFLAGS'
39439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39442
39443 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39444 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39445
39446 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39447 echo $ECHO_N "(cached) $ECHO_C" >&6
39448 else
39449
39450
39451 ################################################################
39452
39453 ac_cv_func_which_gethostbyname_r=unknown
39454
39455 #
39456 # ONE ARGUMENT (sanity check)
39457 #
39458
39459 # This should fail, as there is no variant of gethostbyname_r() that takes
39460 # a single argument. If it actually compiles, then we can assume that
39461 # netdb.h is not declaring the function, and the compiler is thereby
39462 # assuming an implicit prototype. In which case, we're out of luck.
39463 #
39464 cat >conftest.$ac_ext <<_ACEOF
39465 /* confdefs.h. */
39466 _ACEOF
39467 cat confdefs.h >>conftest.$ac_ext
39468 cat >>conftest.$ac_ext <<_ACEOF
39469 /* end confdefs.h. */
39470 #include <netdb.h>
39471 int
39472 main ()
39473 {
39474
39475 char *name = "www.gnu.org";
39476 (void)gethostbyname_r(name) /* ; */
39477
39478 ;
39479 return 0;
39480 }
39481 _ACEOF
39482 rm -f conftest.$ac_objext
39483 if { (ac_try="$ac_compile"
39484 case "(($ac_try" in
39485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39486 *) ac_try_echo=$ac_try;;
39487 esac
39488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39489 (eval "$ac_compile") 2>conftest.er1
39490 ac_status=$?
39491 grep -v '^ *+' conftest.er1 >conftest.err
39492 rm -f conftest.er1
39493 cat conftest.err >&5
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); } && {
39496 test -z "$ac_c_werror_flag" ||
39497 test ! -s conftest.err
39498 } && test -s conftest.$ac_objext; then
39499 ac_cv_func_which_gethostbyname_r=no
39500 else
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.$ac_ext >&5
39503
39504
39505 fi
39506
39507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39508
39509 #
39510 # SIX ARGUMENTS
39511 # (e.g. Linux)
39512 #
39513
39514 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39515
39516 cat >conftest.$ac_ext <<_ACEOF
39517 /* confdefs.h. */
39518 _ACEOF
39519 cat confdefs.h >>conftest.$ac_ext
39520 cat >>conftest.$ac_ext <<_ACEOF
39521 /* end confdefs.h. */
39522 #include <netdb.h>
39523 int
39524 main ()
39525 {
39526
39527 char *name = "www.gnu.org";
39528 struct hostent ret, *retp;
39529 char buf[1024];
39530 int buflen = 1024;
39531 int my_h_errno;
39532 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39533
39534 ;
39535 return 0;
39536 }
39537 _ACEOF
39538 rm -f conftest.$ac_objext
39539 if { (ac_try="$ac_compile"
39540 case "(($ac_try" in
39541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39542 *) ac_try_echo=$ac_try;;
39543 esac
39544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39545 (eval "$ac_compile") 2>conftest.er1
39546 ac_status=$?
39547 grep -v '^ *+' conftest.er1 >conftest.err
39548 rm -f conftest.er1
39549 cat conftest.err >&5
39550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 (exit $ac_status); } && {
39552 test -z "$ac_c_werror_flag" ||
39553 test ! -s conftest.err
39554 } && test -s conftest.$ac_objext; then
39555 ac_cv_func_which_gethostbyname_r=six
39556 else
39557 echo "$as_me: failed program was:" >&5
39558 sed 's/^/| /' conftest.$ac_ext >&5
39559
39560
39561 fi
39562
39563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39564
39565 fi
39566
39567 #
39568 # FIVE ARGUMENTS
39569 # (e.g. Solaris)
39570 #
39571
39572 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39573
39574 cat >conftest.$ac_ext <<_ACEOF
39575 /* confdefs.h. */
39576 _ACEOF
39577 cat confdefs.h >>conftest.$ac_ext
39578 cat >>conftest.$ac_ext <<_ACEOF
39579 /* end confdefs.h. */
39580 #include <netdb.h>
39581 int
39582 main ()
39583 {
39584
39585 char *name = "www.gnu.org";
39586 struct hostent ret;
39587 char buf[1024];
39588 int buflen = 1024;
39589 int my_h_errno;
39590 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39591
39592 ;
39593 return 0;
39594 }
39595 _ACEOF
39596 rm -f conftest.$ac_objext
39597 if { (ac_try="$ac_compile"
39598 case "(($ac_try" in
39599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39600 *) ac_try_echo=$ac_try;;
39601 esac
39602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39603 (eval "$ac_compile") 2>conftest.er1
39604 ac_status=$?
39605 grep -v '^ *+' conftest.er1 >conftest.err
39606 rm -f conftest.er1
39607 cat conftest.err >&5
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); } && {
39610 test -z "$ac_c_werror_flag" ||
39611 test ! -s conftest.err
39612 } && test -s conftest.$ac_objext; then
39613 ac_cv_func_which_gethostbyname_r=five
39614 else
39615 echo "$as_me: failed program was:" >&5
39616 sed 's/^/| /' conftest.$ac_ext >&5
39617
39618
39619 fi
39620
39621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39622
39623 fi
39624
39625 #
39626 # THREE ARGUMENTS
39627 # (e.g. AIX, HP-UX, Tru64)
39628 #
39629
39630 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39631
39632 cat >conftest.$ac_ext <<_ACEOF
39633 /* confdefs.h. */
39634 _ACEOF
39635 cat confdefs.h >>conftest.$ac_ext
39636 cat >>conftest.$ac_ext <<_ACEOF
39637 /* end confdefs.h. */
39638 #include <netdb.h>
39639 int
39640 main ()
39641 {
39642
39643 char *name = "www.gnu.org";
39644 struct hostent ret;
39645 struct hostent_data data;
39646 (void)gethostbyname_r(name, &ret, &data) /* ; */
39647
39648 ;
39649 return 0;
39650 }
39651 _ACEOF
39652 rm -f conftest.$ac_objext
39653 if { (ac_try="$ac_compile"
39654 case "(($ac_try" in
39655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39656 *) ac_try_echo=$ac_try;;
39657 esac
39658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39659 (eval "$ac_compile") 2>conftest.er1
39660 ac_status=$?
39661 grep -v '^ *+' conftest.er1 >conftest.err
39662 rm -f conftest.er1
39663 cat conftest.err >&5
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); } && {
39666 test -z "$ac_c_werror_flag" ||
39667 test ! -s conftest.err
39668 } && test -s conftest.$ac_objext; then
39669 ac_cv_func_which_gethostbyname_r=three
39670 else
39671 echo "$as_me: failed program was:" >&5
39672 sed 's/^/| /' conftest.$ac_ext >&5
39673
39674
39675 fi
39676
39677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39678
39679 fi
39680
39681 ################################################################
39682
39683
39684 fi
39685
39686 case "$ac_cv_func_which_gethostbyname_r" in
39687 three)
39688 { echo "$as_me:$LINENO: result: three" >&5
39689 echo "${ECHO_T}three" >&6; }
39690 cat >>confdefs.h <<\_ACEOF
39691 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39692 _ACEOF
39693
39694 ;;
39695
39696 five)
39697 { echo "$as_me:$LINENO: result: five" >&5
39698 echo "${ECHO_T}five" >&6; }
39699 cat >>confdefs.h <<\_ACEOF
39700 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39701 _ACEOF
39702
39703 ;;
39704
39705 six)
39706 { echo "$as_me:$LINENO: result: six" >&5
39707 echo "${ECHO_T}six" >&6; }
39708 cat >>confdefs.h <<\_ACEOF
39709 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39710 _ACEOF
39711
39712 ;;
39713
39714 no)
39715 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39716 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39717 ;;
39718
39719 unknown)
39720 { echo "$as_me:$LINENO: result: can't tell" >&5
39721 echo "${ECHO_T}can't tell" >&6; }
39722 ;;
39723
39724 *)
39725 { { echo "$as_me:$LINENO: error: internal error" >&5
39726 echo "$as_me: error: internal error" >&2;}
39727 { (exit 1); exit 1; }; }
39728 ;;
39729 esac
39730
39731 ac_ext=c
39732 ac_cpp='$CPP $CPPFLAGS'
39733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39736
39737
39738
39739 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39740 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39741 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39742 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39743 if test "${ac_cv_func_gethostbyname+set}" = set; then
39744 echo $ECHO_N "(cached) $ECHO_C" >&6
39745 else
39746 cat >conftest.$ac_ext <<_ACEOF
39747 /* confdefs.h. */
39748 _ACEOF
39749 cat confdefs.h >>conftest.$ac_ext
39750 cat >>conftest.$ac_ext <<_ACEOF
39751 /* end confdefs.h. */
39752 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39754 #define gethostbyname innocuous_gethostbyname
39755
39756 /* System header to define __stub macros and hopefully few prototypes,
39757 which can conflict with char gethostbyname (); below.
39758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39759 <limits.h> exists even on freestanding compilers. */
39760
39761 #ifdef __STDC__
39762 # include <limits.h>
39763 #else
39764 # include <assert.h>
39765 #endif
39766
39767 #undef gethostbyname
39768
39769 /* Override any GCC internal prototype to avoid an error.
39770 Use char because int might match the return type of a GCC
39771 builtin and then its argument prototype would still apply. */
39772 #ifdef __cplusplus
39773 extern "C"
39774 #endif
39775 char gethostbyname ();
39776 /* The GNU C library defines this for functions which it implements
39777 to always fail with ENOSYS. Some functions are actually named
39778 something starting with __ and the normal name is an alias. */
39779 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39780 choke me
39781 #endif
39782
39783 int
39784 main ()
39785 {
39786 return gethostbyname ();
39787 ;
39788 return 0;
39789 }
39790 _ACEOF
39791 rm -f conftest.$ac_objext conftest$ac_exeext
39792 if { (ac_try="$ac_link"
39793 case "(($ac_try" in
39794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39795 *) ac_try_echo=$ac_try;;
39796 esac
39797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39798 (eval "$ac_link") 2>conftest.er1
39799 ac_status=$?
39800 grep -v '^ *+' conftest.er1 >conftest.err
39801 rm -f conftest.er1
39802 cat conftest.err >&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); } && {
39805 test -z "$ac_c_werror_flag" ||
39806 test ! -s conftest.err
39807 } && test -s conftest$ac_exeext &&
39808 $as_test_x conftest$ac_exeext; then
39809 ac_cv_func_gethostbyname=yes
39810 else
39811 echo "$as_me: failed program was:" >&5
39812 sed 's/^/| /' conftest.$ac_ext >&5
39813
39814 ac_cv_func_gethostbyname=no
39815 fi
39816
39817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39818 conftest$ac_exeext conftest.$ac_ext
39819 fi
39820 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39821 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39822 if test $ac_cv_func_gethostbyname = yes; then
39823 cat >>confdefs.h <<\_ACEOF
39824 #define HAVE_GETHOSTBYNAME 1
39825 _ACEOF
39826
39827 fi
39828
39829 fi
39830
39831 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39832 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39833 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39834 echo $ECHO_N "(cached) $ECHO_C" >&6
39835 else
39836
39837 ac_ext=cpp
39838 ac_cpp='$CXXCPP $CPPFLAGS'
39839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39842
39843
39844 cat >conftest.$ac_ext <<_ACEOF
39845 /* confdefs.h. */
39846 _ACEOF
39847 cat confdefs.h >>conftest.$ac_ext
39848 cat >>conftest.$ac_ext <<_ACEOF
39849 /* end confdefs.h. */
39850 #include <netdb.h>
39851 int
39852 main ()
39853 {
39854
39855 char *name;
39856 char *proto;
39857 struct servent *se, *res;
39858 char buffer[2048];
39859 int buflen = 2048;
39860 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39861
39862 ;
39863 return 0;
39864 }
39865 _ACEOF
39866 rm -f conftest.$ac_objext
39867 if { (ac_try="$ac_compile"
39868 case "(($ac_try" in
39869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39870 *) ac_try_echo=$ac_try;;
39871 esac
39872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39873 (eval "$ac_compile") 2>conftest.er1
39874 ac_status=$?
39875 grep -v '^ *+' conftest.er1 >conftest.err
39876 rm -f conftest.er1
39877 cat conftest.err >&5
39878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39879 (exit $ac_status); } && {
39880 test -z "$ac_cxx_werror_flag" ||
39881 test ! -s conftest.err
39882 } && test -s conftest.$ac_objext; then
39883 ac_cv_func_which_getservbyname_r=six
39884 else
39885 echo "$as_me: failed program was:" >&5
39886 sed 's/^/| /' conftest.$ac_ext >&5
39887
39888
39889 cat >conftest.$ac_ext <<_ACEOF
39890 /* confdefs.h. */
39891 _ACEOF
39892 cat confdefs.h >>conftest.$ac_ext
39893 cat >>conftest.$ac_ext <<_ACEOF
39894 /* end confdefs.h. */
39895 #include <netdb.h>
39896 int
39897 main ()
39898 {
39899
39900 char *name;
39901 char *proto;
39902 struct servent *se;
39903 char buffer[2048];
39904 int buflen = 2048;
39905 (void) getservbyname_r(name, proto, se, buffer, buflen)
39906
39907 ;
39908 return 0;
39909 }
39910 _ACEOF
39911 rm -f conftest.$ac_objext
39912 if { (ac_try="$ac_compile"
39913 case "(($ac_try" in
39914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39915 *) ac_try_echo=$ac_try;;
39916 esac
39917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39918 (eval "$ac_compile") 2>conftest.er1
39919 ac_status=$?
39920 grep -v '^ *+' conftest.er1 >conftest.err
39921 rm -f conftest.er1
39922 cat conftest.err >&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); } && {
39925 test -z "$ac_cxx_werror_flag" ||
39926 test ! -s conftest.err
39927 } && test -s conftest.$ac_objext; then
39928 ac_cv_func_which_getservbyname_r=five
39929 else
39930 echo "$as_me: failed program was:" >&5
39931 sed 's/^/| /' conftest.$ac_ext >&5
39932
39933
39934 cat >conftest.$ac_ext <<_ACEOF
39935 /* confdefs.h. */
39936 _ACEOF
39937 cat confdefs.h >>conftest.$ac_ext
39938 cat >>conftest.$ac_ext <<_ACEOF
39939 /* end confdefs.h. */
39940 #include <netdb.h>
39941 int
39942 main ()
39943 {
39944
39945 char *name;
39946 char *proto;
39947 struct servent *se;
39948 struct servent_data data;
39949 (void) getservbyname_r(name, proto, se, &data);
39950
39951 ;
39952 return 0;
39953 }
39954 _ACEOF
39955 rm -f conftest.$ac_objext
39956 if { (ac_try="$ac_compile"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39959 *) ac_try_echo=$ac_try;;
39960 esac
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_compile") 2>conftest.er1
39963 ac_status=$?
39964 grep -v '^ *+' conftest.er1 >conftest.err
39965 rm -f conftest.er1
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } && {
39969 test -z "$ac_cxx_werror_flag" ||
39970 test ! -s conftest.err
39971 } && test -s conftest.$ac_objext; then
39972 ac_cv_func_which_getservbyname_r=four
39973 else
39974 echo "$as_me: failed program was:" >&5
39975 sed 's/^/| /' conftest.$ac_ext >&5
39976
39977 ac_cv_func_which_getservbyname_r=no
39978
39979 fi
39980
39981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39982
39983
39984 fi
39985
39986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39987
39988
39989 fi
39990
39991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39992 ac_ext=c
39993 ac_cpp='$CPP $CPPFLAGS'
39994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39997
39998
39999
40000 fi
40001 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40002 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40003
40004 if test $ac_cv_func_which_getservbyname_r = six; then
40005 cat >>confdefs.h <<\_ACEOF
40006 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40007 _ACEOF
40008
40009 elif test $ac_cv_func_which_getservbyname_r = five; then
40010 cat >>confdefs.h <<\_ACEOF
40011 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40012 _ACEOF
40013
40014 elif test $ac_cv_func_which_getservbyname_r = four; then
40015 cat >>confdefs.h <<\_ACEOF
40016 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40017 _ACEOF
40018
40019 fi
40020
40021
40022 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40023 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40024
40025 for ac_func in getservbyname
40026 do
40027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40028 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40030 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40031 echo $ECHO_N "(cached) $ECHO_C" >&6
40032 else
40033 cat >conftest.$ac_ext <<_ACEOF
40034 /* confdefs.h. */
40035 _ACEOF
40036 cat confdefs.h >>conftest.$ac_ext
40037 cat >>conftest.$ac_ext <<_ACEOF
40038 /* end confdefs.h. */
40039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40041 #define $ac_func innocuous_$ac_func
40042
40043 /* System header to define __stub macros and hopefully few prototypes,
40044 which can conflict with char $ac_func (); below.
40045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40046 <limits.h> exists even on freestanding compilers. */
40047
40048 #ifdef __STDC__
40049 # include <limits.h>
40050 #else
40051 # include <assert.h>
40052 #endif
40053
40054 #undef $ac_func
40055
40056 /* Override any GCC internal prototype to avoid an error.
40057 Use char because int might match the return type of a GCC
40058 builtin and then its argument prototype would still apply. */
40059 #ifdef __cplusplus
40060 extern "C"
40061 #endif
40062 char $ac_func ();
40063 /* The GNU C library defines this for functions which it implements
40064 to always fail with ENOSYS. Some functions are actually named
40065 something starting with __ and the normal name is an alias. */
40066 #if defined __stub_$ac_func || defined __stub___$ac_func
40067 choke me
40068 #endif
40069
40070 int
40071 main ()
40072 {
40073 return $ac_func ();
40074 ;
40075 return 0;
40076 }
40077 _ACEOF
40078 rm -f conftest.$ac_objext conftest$ac_exeext
40079 if { (ac_try="$ac_link"
40080 case "(($ac_try" in
40081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40082 *) ac_try_echo=$ac_try;;
40083 esac
40084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40085 (eval "$ac_link") 2>conftest.er1
40086 ac_status=$?
40087 grep -v '^ *+' conftest.er1 >conftest.err
40088 rm -f conftest.er1
40089 cat conftest.err >&5
40090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40091 (exit $ac_status); } && {
40092 test -z "$ac_c_werror_flag" ||
40093 test ! -s conftest.err
40094 } && test -s conftest$ac_exeext &&
40095 $as_test_x conftest$ac_exeext; then
40096 eval "$as_ac_var=yes"
40097 else
40098 echo "$as_me: failed program was:" >&5
40099 sed 's/^/| /' conftest.$ac_ext >&5
40100
40101 eval "$as_ac_var=no"
40102 fi
40103
40104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40105 conftest$ac_exeext conftest.$ac_ext
40106 fi
40107 ac_res=`eval echo '${'$as_ac_var'}'`
40108 { echo "$as_me:$LINENO: result: $ac_res" >&5
40109 echo "${ECHO_T}$ac_res" >&6; }
40110 if test `eval echo '${'$as_ac_var'}'` = yes; then
40111 cat >>confdefs.h <<_ACEOF
40112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40113 _ACEOF
40114 cat >>confdefs.h <<\_ACEOF
40115 #define HAVE_GETSERVBYNAME 1
40116 _ACEOF
40117
40118 fi
40119 done
40120
40121 fi
40122
40123 if test "$wxUSE_THREADS" = "yes"; then
40124 cat >>confdefs.h <<\_ACEOF
40125 #define wxUSE_THREADS 1
40126 _ACEOF
40127
40128
40129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40130 else
40131 if test "$wx_cv_func_strtok_r" = "yes"; then
40132 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40133 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40134 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40135 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40136 { echo "$as_me:$LINENO: result: yes" >&5
40137 echo "${ECHO_T}yes" >&6; }
40138 else
40139 { echo "$as_me:$LINENO: result: no" >&5
40140 echo "${ECHO_T}no" >&6; }
40141 fi
40142 fi
40143 fi
40144
40145 if test "$WXGTK20" = 1 ; then
40146 cat >>confdefs.h <<_ACEOF
40147 #define __WXGTK20__ $WXGTK20
40148 _ACEOF
40149
40150 WXGTK12=1
40151 fi
40152
40153 if test "$WXGTK12" = 1 ; then
40154 cat >>confdefs.h <<_ACEOF
40155 #define __WXGTK12__ $WXGTK12
40156 _ACEOF
40157
40158 fi
40159
40160 if test "$WXGTK127" = 1 ; then
40161 cat >>confdefs.h <<_ACEOF
40162 #define __WXGTK127__ $WXGTK127
40163 _ACEOF
40164
40165 fi
40166
40167 if test "$WXGPE" = 1 ; then
40168 cat >>confdefs.h <<_ACEOF
40169 #define __WXGPE__ $WXGPE
40170 _ACEOF
40171
40172 fi
40173
40174 DEBUG_CFLAGS=
40175 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40176 DEBUG_CFLAGS="-g"
40177 wxUSE_OPTIMISE=no
40178 fi
40179
40180 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40181 wxUSE_DEBUG_INFO=yes
40182 if test "$GCC" = yes; then
40183 DEBUG_CFLAGS="-ggdb"
40184 fi
40185 fi
40186
40187 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40188 cat >>confdefs.h <<\_ACEOF
40189 #define WXDEBUG 1
40190 _ACEOF
40191
40192 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40193 else
40194 if test "$wxUSE_GTK" = 1 ; then
40195 if test "x$wxGTK_VERSION" = "x1" ; then
40196 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40197 fi
40198 fi
40199 fi
40200
40201 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40202 cat >>confdefs.h <<\_ACEOF
40203 #define wxUSE_MEMORY_TRACING 1
40204 _ACEOF
40205
40206 cat >>confdefs.h <<\_ACEOF
40207 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40208 _ACEOF
40209
40210 cat >>confdefs.h <<\_ACEOF
40211 #define wxUSE_DEBUG_NEW_ALWAYS 1
40212 _ACEOF
40213
40214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40215 fi
40216
40217 if test "$wxUSE_DMALLOC" = "yes" ; then
40218 DMALLOC_LIBS="-ldmallocthcxx"
40219 fi
40220
40221 PROFILE_FLAGS=
40222 if test "$wxUSE_PROFILE" = "yes" ; then
40223 PROFILE_FLAGS=" -pg"
40224 fi
40225
40226 if test "$GCC" = "yes" ; then
40227 if test "$wxUSE_NO_RTTI" = "yes" ; then
40228 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40229 fi
40230 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40231 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40232 fi
40233 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40234 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40235 fi
40236
40237 case "${host}" in
40238 powerpc*-*-aix* )
40239 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40240 ;;
40241 *-hppa* )
40242 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40243 ;;
40244 esac
40245 fi
40246
40247 OPTIMISE_CFLAGS=
40248 if test "$wxUSE_OPTIMISE" = "no" ; then
40249 if test "$GCC" = yes ; then
40250 OPTIMISE_CFLAGS="-O0"
40251 fi
40252 else
40253 if test "$GCC" = yes ; then
40254 case "${host}" in
40255 *-pc-os2_emx | *-pc-os2-emx )
40256 OPTIMISE_CFLAGS="-O2"
40257 ;;
40258 *)
40259 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40260 ;;
40261 esac
40262 else
40263 OPTIMISE_CFLAGS="-O"
40264 fi
40265 fi
40266
40267
40268 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40269 cat >>confdefs.h <<\_ACEOF
40270 #define WXWIN_COMPATIBILITY_2_6 1
40271 _ACEOF
40272
40273
40274 WXWIN_COMPATIBILITY_2_8="yes"
40275 fi
40276
40277 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40278 cat >>confdefs.h <<\_ACEOF
40279 #define WXWIN_COMPATIBILITY_2_8 1
40280 _ACEOF
40281
40282 fi
40283
40284
40285 if test "$wxUSE_GUI" = "yes"; then
40286 cat >>confdefs.h <<\_ACEOF
40287 #define wxUSE_GUI 1
40288 _ACEOF
40289
40290
40291 fi
40292
40293
40294 if test "$wxUSE_UNIX" = "yes"; then
40295 cat >>confdefs.h <<\_ACEOF
40296 #define wxUSE_UNIX 1
40297 _ACEOF
40298
40299 fi
40300
40301
40302 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40303
40304 HAVE_DL_FUNCS=0
40305 HAVE_SHL_FUNCS=0
40306 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40307 if test "$USE_DARWIN" = 1; then
40308 HAVE_DL_FUNCS=1
40309 elif test "$USE_DOS" = 1; then
40310 HAVE_DL_FUNCS=0
40311 else
40312
40313 for ac_func in dlopen
40314 do
40315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40319 echo $ECHO_N "(cached) $ECHO_C" >&6
40320 else
40321 cat >conftest.$ac_ext <<_ACEOF
40322 /* confdefs.h. */
40323 _ACEOF
40324 cat confdefs.h >>conftest.$ac_ext
40325 cat >>conftest.$ac_ext <<_ACEOF
40326 /* end confdefs.h. */
40327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40329 #define $ac_func innocuous_$ac_func
40330
40331 /* System header to define __stub macros and hopefully few prototypes,
40332 which can conflict with char $ac_func (); below.
40333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40334 <limits.h> exists even on freestanding compilers. */
40335
40336 #ifdef __STDC__
40337 # include <limits.h>
40338 #else
40339 # include <assert.h>
40340 #endif
40341
40342 #undef $ac_func
40343
40344 /* Override any GCC internal prototype to avoid an error.
40345 Use char because int might match the return type of a GCC
40346 builtin and then its argument prototype would still apply. */
40347 #ifdef __cplusplus
40348 extern "C"
40349 #endif
40350 char $ac_func ();
40351 /* The GNU C library defines this for functions which it implements
40352 to always fail with ENOSYS. Some functions are actually named
40353 something starting with __ and the normal name is an alias. */
40354 #if defined __stub_$ac_func || defined __stub___$ac_func
40355 choke me
40356 #endif
40357
40358 int
40359 main ()
40360 {
40361 return $ac_func ();
40362 ;
40363 return 0;
40364 }
40365 _ACEOF
40366 rm -f conftest.$ac_objext conftest$ac_exeext
40367 if { (ac_try="$ac_link"
40368 case "(($ac_try" in
40369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40370 *) ac_try_echo=$ac_try;;
40371 esac
40372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40373 (eval "$ac_link") 2>conftest.er1
40374 ac_status=$?
40375 grep -v '^ *+' conftest.er1 >conftest.err
40376 rm -f conftest.er1
40377 cat conftest.err >&5
40378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40379 (exit $ac_status); } && {
40380 test -z "$ac_c_werror_flag" ||
40381 test ! -s conftest.err
40382 } && test -s conftest$ac_exeext &&
40383 $as_test_x conftest$ac_exeext; then
40384 eval "$as_ac_var=yes"
40385 else
40386 echo "$as_me: failed program was:" >&5
40387 sed 's/^/| /' conftest.$ac_ext >&5
40388
40389 eval "$as_ac_var=no"
40390 fi
40391
40392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40393 conftest$ac_exeext conftest.$ac_ext
40394 fi
40395 ac_res=`eval echo '${'$as_ac_var'}'`
40396 { echo "$as_me:$LINENO: result: $ac_res" >&5
40397 echo "${ECHO_T}$ac_res" >&6; }
40398 if test `eval echo '${'$as_ac_var'}'` = yes; then
40399 cat >>confdefs.h <<_ACEOF
40400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40401 _ACEOF
40402
40403 cat >>confdefs.h <<\_ACEOF
40404 #define HAVE_DLOPEN 1
40405 _ACEOF
40406
40407 HAVE_DL_FUNCS=1
40408
40409 else
40410
40411 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40412 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40413 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40414 echo $ECHO_N "(cached) $ECHO_C" >&6
40415 else
40416 ac_check_lib_save_LIBS=$LIBS
40417 LIBS="-ldl $LIBS"
40418 cat >conftest.$ac_ext <<_ACEOF
40419 /* confdefs.h. */
40420 _ACEOF
40421 cat confdefs.h >>conftest.$ac_ext
40422 cat >>conftest.$ac_ext <<_ACEOF
40423 /* end confdefs.h. */
40424
40425 /* Override any GCC internal prototype to avoid an error.
40426 Use char because int might match the return type of a GCC
40427 builtin and then its argument prototype would still apply. */
40428 #ifdef __cplusplus
40429 extern "C"
40430 #endif
40431 char dlopen ();
40432 int
40433 main ()
40434 {
40435 return dlopen ();
40436 ;
40437 return 0;
40438 }
40439 _ACEOF
40440 rm -f conftest.$ac_objext conftest$ac_exeext
40441 if { (ac_try="$ac_link"
40442 case "(($ac_try" in
40443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40444 *) ac_try_echo=$ac_try;;
40445 esac
40446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40447 (eval "$ac_link") 2>conftest.er1
40448 ac_status=$?
40449 grep -v '^ *+' conftest.er1 >conftest.err
40450 rm -f conftest.er1
40451 cat conftest.err >&5
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); } && {
40454 test -z "$ac_c_werror_flag" ||
40455 test ! -s conftest.err
40456 } && test -s conftest$ac_exeext &&
40457 $as_test_x conftest$ac_exeext; then
40458 ac_cv_lib_dl_dlopen=yes
40459 else
40460 echo "$as_me: failed program was:" >&5
40461 sed 's/^/| /' conftest.$ac_ext >&5
40462
40463 ac_cv_lib_dl_dlopen=no
40464 fi
40465
40466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40467 conftest$ac_exeext conftest.$ac_ext
40468 LIBS=$ac_check_lib_save_LIBS
40469 fi
40470 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40471 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40472 if test $ac_cv_lib_dl_dlopen = yes; then
40473
40474 cat >>confdefs.h <<\_ACEOF
40475 #define HAVE_DLOPEN 1
40476 _ACEOF
40477
40478 HAVE_DL_FUNCS=1
40479 DL_LINK=" -ldl$DL_LINK"
40480
40481 else
40482
40483
40484 for ac_func in shl_load
40485 do
40486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40490 echo $ECHO_N "(cached) $ECHO_C" >&6
40491 else
40492 cat >conftest.$ac_ext <<_ACEOF
40493 /* confdefs.h. */
40494 _ACEOF
40495 cat confdefs.h >>conftest.$ac_ext
40496 cat >>conftest.$ac_ext <<_ACEOF
40497 /* end confdefs.h. */
40498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40500 #define $ac_func innocuous_$ac_func
40501
40502 /* System header to define __stub macros and hopefully few prototypes,
40503 which can conflict with char $ac_func (); below.
40504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40505 <limits.h> exists even on freestanding compilers. */
40506
40507 #ifdef __STDC__
40508 # include <limits.h>
40509 #else
40510 # include <assert.h>
40511 #endif
40512
40513 #undef $ac_func
40514
40515 /* Override any GCC internal prototype to avoid an error.
40516 Use char because int might match the return type of a GCC
40517 builtin and then its argument prototype would still apply. */
40518 #ifdef __cplusplus
40519 extern "C"
40520 #endif
40521 char $ac_func ();
40522 /* The GNU C library defines this for functions which it implements
40523 to always fail with ENOSYS. Some functions are actually named
40524 something starting with __ and the normal name is an alias. */
40525 #if defined __stub_$ac_func || defined __stub___$ac_func
40526 choke me
40527 #endif
40528
40529 int
40530 main ()
40531 {
40532 return $ac_func ();
40533 ;
40534 return 0;
40535 }
40536 _ACEOF
40537 rm -f conftest.$ac_objext conftest$ac_exeext
40538 if { (ac_try="$ac_link"
40539 case "(($ac_try" in
40540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40541 *) ac_try_echo=$ac_try;;
40542 esac
40543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40544 (eval "$ac_link") 2>conftest.er1
40545 ac_status=$?
40546 grep -v '^ *+' conftest.er1 >conftest.err
40547 rm -f conftest.er1
40548 cat conftest.err >&5
40549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40550 (exit $ac_status); } && {
40551 test -z "$ac_c_werror_flag" ||
40552 test ! -s conftest.err
40553 } && test -s conftest$ac_exeext &&
40554 $as_test_x conftest$ac_exeext; then
40555 eval "$as_ac_var=yes"
40556 else
40557 echo "$as_me: failed program was:" >&5
40558 sed 's/^/| /' conftest.$ac_ext >&5
40559
40560 eval "$as_ac_var=no"
40561 fi
40562
40563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40564 conftest$ac_exeext conftest.$ac_ext
40565 fi
40566 ac_res=`eval echo '${'$as_ac_var'}'`
40567 { echo "$as_me:$LINENO: result: $ac_res" >&5
40568 echo "${ECHO_T}$ac_res" >&6; }
40569 if test `eval echo '${'$as_ac_var'}'` = yes; then
40570 cat >>confdefs.h <<_ACEOF
40571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40572 _ACEOF
40573
40574 cat >>confdefs.h <<\_ACEOF
40575 #define HAVE_SHL_LOAD 1
40576 _ACEOF
40577
40578 HAVE_SHL_FUNCS=1
40579
40580 else
40581
40582 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40583 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40584 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40585 echo $ECHO_N "(cached) $ECHO_C" >&6
40586 else
40587 ac_check_lib_save_LIBS=$LIBS
40588 LIBS="-lshl_load $LIBS"
40589 cat >conftest.$ac_ext <<_ACEOF
40590 /* confdefs.h. */
40591 _ACEOF
40592 cat confdefs.h >>conftest.$ac_ext
40593 cat >>conftest.$ac_ext <<_ACEOF
40594 /* end confdefs.h. */
40595
40596 /* Override any GCC internal prototype to avoid an error.
40597 Use char because int might match the return type of a GCC
40598 builtin and then its argument prototype would still apply. */
40599 #ifdef __cplusplus
40600 extern "C"
40601 #endif
40602 char dld ();
40603 int
40604 main ()
40605 {
40606 return dld ();
40607 ;
40608 return 0;
40609 }
40610 _ACEOF
40611 rm -f conftest.$ac_objext conftest$ac_exeext
40612 if { (ac_try="$ac_link"
40613 case "(($ac_try" in
40614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40615 *) ac_try_echo=$ac_try;;
40616 esac
40617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40618 (eval "$ac_link") 2>conftest.er1
40619 ac_status=$?
40620 grep -v '^ *+' conftest.er1 >conftest.err
40621 rm -f conftest.er1
40622 cat conftest.err >&5
40623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40624 (exit $ac_status); } && {
40625 test -z "$ac_c_werror_flag" ||
40626 test ! -s conftest.err
40627 } && test -s conftest$ac_exeext &&
40628 $as_test_x conftest$ac_exeext; then
40629 ac_cv_lib_shl_load_dld=yes
40630 else
40631 echo "$as_me: failed program was:" >&5
40632 sed 's/^/| /' conftest.$ac_ext >&5
40633
40634 ac_cv_lib_shl_load_dld=no
40635 fi
40636
40637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40638 conftest$ac_exeext conftest.$ac_ext
40639 LIBS=$ac_check_lib_save_LIBS
40640 fi
40641 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40642 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40643 if test $ac_cv_lib_shl_load_dld = yes; then
40644
40645 HAVE_SHL_FUNCS=1
40646 DL_LINK=" -ldld$DL_LINK"
40647
40648 fi
40649
40650
40651 fi
40652 done
40653
40654
40655 fi
40656
40657
40658 fi
40659 done
40660
40661
40662 if test "$HAVE_DL_FUNCS" = 1; then
40663
40664 for ac_func in dlerror
40665 do
40666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40670 echo $ECHO_N "(cached) $ECHO_C" >&6
40671 else
40672 cat >conftest.$ac_ext <<_ACEOF
40673 /* confdefs.h. */
40674 _ACEOF
40675 cat confdefs.h >>conftest.$ac_ext
40676 cat >>conftest.$ac_ext <<_ACEOF
40677 /* end confdefs.h. */
40678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40680 #define $ac_func innocuous_$ac_func
40681
40682 /* System header to define __stub macros and hopefully few prototypes,
40683 which can conflict with char $ac_func (); below.
40684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40685 <limits.h> exists even on freestanding compilers. */
40686
40687 #ifdef __STDC__
40688 # include <limits.h>
40689 #else
40690 # include <assert.h>
40691 #endif
40692
40693 #undef $ac_func
40694
40695 /* Override any GCC internal prototype to avoid an error.
40696 Use char because int might match the return type of a GCC
40697 builtin and then its argument prototype would still apply. */
40698 #ifdef __cplusplus
40699 extern "C"
40700 #endif
40701 char $ac_func ();
40702 /* The GNU C library defines this for functions which it implements
40703 to always fail with ENOSYS. Some functions are actually named
40704 something starting with __ and the normal name is an alias. */
40705 #if defined __stub_$ac_func || defined __stub___$ac_func
40706 choke me
40707 #endif
40708
40709 int
40710 main ()
40711 {
40712 return $ac_func ();
40713 ;
40714 return 0;
40715 }
40716 _ACEOF
40717 rm -f conftest.$ac_objext conftest$ac_exeext
40718 if { (ac_try="$ac_link"
40719 case "(($ac_try" in
40720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40721 *) ac_try_echo=$ac_try;;
40722 esac
40723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40724 (eval "$ac_link") 2>conftest.er1
40725 ac_status=$?
40726 grep -v '^ *+' conftest.er1 >conftest.err
40727 rm -f conftest.er1
40728 cat conftest.err >&5
40729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40730 (exit $ac_status); } && {
40731 test -z "$ac_c_werror_flag" ||
40732 test ! -s conftest.err
40733 } && test -s conftest$ac_exeext &&
40734 $as_test_x conftest$ac_exeext; then
40735 eval "$as_ac_var=yes"
40736 else
40737 echo "$as_me: failed program was:" >&5
40738 sed 's/^/| /' conftest.$ac_ext >&5
40739
40740 eval "$as_ac_var=no"
40741 fi
40742
40743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40744 conftest$ac_exeext conftest.$ac_ext
40745 fi
40746 ac_res=`eval echo '${'$as_ac_var'}'`
40747 { echo "$as_me:$LINENO: result: $ac_res" >&5
40748 echo "${ECHO_T}$ac_res" >&6; }
40749 if test `eval echo '${'$as_ac_var'}'` = yes; then
40750 cat >>confdefs.h <<_ACEOF
40751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40752 _ACEOF
40753 cat >>confdefs.h <<\_ACEOF
40754 #define HAVE_DLERROR 1
40755 _ACEOF
40756
40757 else
40758
40759 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40760 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40761 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40762 echo $ECHO_N "(cached) $ECHO_C" >&6
40763 else
40764 ac_check_lib_save_LIBS=$LIBS
40765 LIBS="-ldl $LIBS"
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
40773 /* Override any GCC internal prototype to avoid an error.
40774 Use char because int might match the return type of a GCC
40775 builtin and then its argument prototype would still apply. */
40776 #ifdef __cplusplus
40777 extern "C"
40778 #endif
40779 char dlerror ();
40780 int
40781 main ()
40782 {
40783 return dlerror ();
40784 ;
40785 return 0;
40786 }
40787 _ACEOF
40788 rm -f conftest.$ac_objext conftest$ac_exeext
40789 if { (ac_try="$ac_link"
40790 case "(($ac_try" in
40791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40792 *) ac_try_echo=$ac_try;;
40793 esac
40794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40795 (eval "$ac_link") 2>conftest.er1
40796 ac_status=$?
40797 grep -v '^ *+' conftest.er1 >conftest.err
40798 rm -f conftest.er1
40799 cat conftest.err >&5
40800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40801 (exit $ac_status); } && {
40802 test -z "$ac_c_werror_flag" ||
40803 test ! -s conftest.err
40804 } && test -s conftest$ac_exeext &&
40805 $as_test_x conftest$ac_exeext; then
40806 ac_cv_lib_dl_dlerror=yes
40807 else
40808 echo "$as_me: failed program was:" >&5
40809 sed 's/^/| /' conftest.$ac_ext >&5
40810
40811 ac_cv_lib_dl_dlerror=no
40812 fi
40813
40814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40815 conftest$ac_exeext conftest.$ac_ext
40816 LIBS=$ac_check_lib_save_LIBS
40817 fi
40818 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40819 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40820 if test $ac_cv_lib_dl_dlerror = yes; then
40821 cat >>confdefs.h <<\_ACEOF
40822 #define HAVE_DLERROR 1
40823 _ACEOF
40824
40825 fi
40826
40827
40828
40829 fi
40830 done
40831
40832 fi
40833 fi
40834
40835 if test "$HAVE_DL_FUNCS" = 0; then
40836 if test "$HAVE_SHL_FUNCS" = 0; then
40837 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40838 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40839 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40840 wxUSE_DYNAMIC_LOADER=no
40841 wxUSE_DYNLIB_CLASS=no
40842 else
40843 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40844 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40845 fi
40846 fi
40847 fi
40848 fi
40849 fi
40850
40851 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40852 cat >>confdefs.h <<\_ACEOF
40853 #define wxUSE_DYNAMIC_LOADER 1
40854 _ACEOF
40855
40856 fi
40857 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40858 cat >>confdefs.h <<\_ACEOF
40859 #define wxUSE_DYNLIB_CLASS 1
40860 _ACEOF
40861
40862 fi
40863
40864
40865
40866 if test "$wxUSE_PLUGINS" = "yes" ; then
40867 if test "$wxUSE_SHARED" = "no" ; then
40868 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40869 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40870 wxUSE_PLUGINS=no
40871 fi
40872 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40873 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40874 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40875 wxUSE_PLUGINS=no
40876 fi
40877 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40878 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40879 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40880 wxUSE_PLUGINS=no
40881 fi
40882 if test "$wxUSE_PLUGINS" = "yes" ; then
40883 cat >>confdefs.h <<\_ACEOF
40884 #define wxUSE_PLUGINS 1
40885 _ACEOF
40886
40887 fi
40888 fi
40889
40890
40891 if test "$wxUSE_STL" = "yes"; then
40892 cat >>confdefs.h <<\_ACEOF
40893 #define wxUSE_STL 1
40894 _ACEOF
40895
40896 fi
40897
40898 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40899 cat >>confdefs.h <<\_ACEOF
40900 #define wxUSE_EXTENDED_RTTI 1
40901 _ACEOF
40902
40903 fi
40904
40905 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40906 cat >>confdefs.h <<\_ACEOF
40907 #define wxUSE_APPLE_IEEE 1
40908 _ACEOF
40909
40910 fi
40911
40912 if test "$wxUSE_TIMER" = "yes"; then
40913 cat >>confdefs.h <<\_ACEOF
40914 #define wxUSE_TIMER 1
40915 _ACEOF
40916
40917 fi
40918
40919 if test "$USE_UNIX" = "1" ; then
40920 if test "$wxUSE_MGL" != 1; then
40921 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40922 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40923 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40924 echo $ECHO_N "(cached) $ECHO_C" >&6
40925 else
40926
40927 cat >conftest.$ac_ext <<_ACEOF
40928 /* confdefs.h. */
40929 _ACEOF
40930 cat confdefs.h >>conftest.$ac_ext
40931 cat >>conftest.$ac_ext <<_ACEOF
40932 /* end confdefs.h. */
40933
40934 #include <sys/ioctl.h>
40935 #include <sys/soundcard.h>
40936
40937 int
40938 main ()
40939 {
40940
40941 ioctl(0, SNDCTL_DSP_SPEED, 0);
40942
40943 ;
40944 return 0;
40945 }
40946 _ACEOF
40947 rm -f conftest.$ac_objext conftest$ac_exeext
40948 if { (ac_try="$ac_link"
40949 case "(($ac_try" in
40950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40951 *) ac_try_echo=$ac_try;;
40952 esac
40953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40954 (eval "$ac_link") 2>conftest.er1
40955 ac_status=$?
40956 grep -v '^ *+' conftest.er1 >conftest.err
40957 rm -f conftest.er1
40958 cat conftest.err >&5
40959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40960 (exit $ac_status); } && {
40961 test -z "$ac_c_werror_flag" ||
40962 test ! -s conftest.err
40963 } && test -s conftest$ac_exeext &&
40964 $as_test_x conftest$ac_exeext; then
40965 ac_cv_header_sys_soundcard=yes
40966 else
40967 echo "$as_me: failed program was:" >&5
40968 sed 's/^/| /' conftest.$ac_ext >&5
40969
40970
40971 saveLibs="$LIBS"
40972 LIBS="$saveLibs -lossaudio"
40973 cat >conftest.$ac_ext <<_ACEOF
40974 /* confdefs.h. */
40975 _ACEOF
40976 cat confdefs.h >>conftest.$ac_ext
40977 cat >>conftest.$ac_ext <<_ACEOF
40978 /* end confdefs.h. */
40979
40980 #include <sys/ioctl.h>
40981 #include <sys/soundcard.h>
40982
40983 int
40984 main ()
40985 {
40986
40987 ioctl(0, SNDCTL_DSP_SPEED, 0);
40988
40989 ;
40990 return 0;
40991 }
40992 _ACEOF
40993 rm -f conftest.$ac_objext conftest$ac_exeext
40994 if { (ac_try="$ac_link"
40995 case "(($ac_try" in
40996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40997 *) ac_try_echo=$ac_try;;
40998 esac
40999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41000 (eval "$ac_link") 2>conftest.er1
41001 ac_status=$?
41002 grep -v '^ *+' conftest.er1 >conftest.err
41003 rm -f conftest.er1
41004 cat conftest.err >&5
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); } && {
41007 test -z "$ac_c_werror_flag" ||
41008 test ! -s conftest.err
41009 } && test -s conftest$ac_exeext &&
41010 $as_test_x conftest$ac_exeext; then
41011 ac_cv_header_sys_soundcard=yes
41012 else
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41015
41016
41017 LIBS="$saveLibs"
41018 ac_cv_header_sys_soundcard=no
41019
41020
41021 fi
41022
41023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41024 conftest$ac_exeext conftest.$ac_ext
41025
41026
41027 fi
41028
41029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41030 conftest$ac_exeext conftest.$ac_ext
41031
41032 fi
41033 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41034 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41035 fi
41036
41037 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41038 cat >>confdefs.h <<\_ACEOF
41039 #define HAVE_SYS_SOUNDCARD_H 1
41040 _ACEOF
41041
41042 fi
41043 fi
41044
41045 WITH_PLUGIN_SDL=0
41046 if test "$wxUSE_SOUND" = "yes"; then
41047 if test "$USE_UNIX" = "1" ; then
41048 if test "$wxUSE_LIBSDL" != "no"; then
41049
41050 # Check whether --with-sdl-prefix was given.
41051 if test "${with_sdl_prefix+set}" = set; then
41052 withval=$with_sdl_prefix; sdl_prefix="$withval"
41053 else
41054 sdl_prefix=""
41055 fi
41056
41057
41058 # Check whether --with-sdl-exec-prefix was given.
41059 if test "${with_sdl_exec_prefix+set}" = set; then
41060 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41061 else
41062 sdl_exec_prefix=""
41063 fi
41064
41065 # Check whether --enable-sdltest was given.
41066 if test "${enable_sdltest+set}" = set; then
41067 enableval=$enable_sdltest;
41068 else
41069 enable_sdltest=yes
41070 fi
41071
41072
41073 if test x$sdl_exec_prefix != x ; then
41074 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41075 if test x${SDL_CONFIG+set} != xset ; then
41076 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41077 fi
41078 fi
41079 if test x$sdl_prefix != x ; then
41080 sdl_args="$sdl_args --prefix=$sdl_prefix"
41081 if test x${SDL_CONFIG+set} != xset ; then
41082 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41083 fi
41084 fi
41085
41086 if test "x$prefix" != xNONE; then
41087 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41088 fi
41089 # Extract the first word of "sdl-config", so it can be a program name with args.
41090 set dummy sdl-config; ac_word=$2
41091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41093 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41094 echo $ECHO_N "(cached) $ECHO_C" >&6
41095 else
41096 case $SDL_CONFIG in
41097 [\\/]* | ?:[\\/]*)
41098 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41099 ;;
41100 *)
41101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41102 for as_dir in $PATH
41103 do
41104 IFS=$as_save_IFS
41105 test -z "$as_dir" && as_dir=.
41106 for ac_exec_ext in '' $ac_executable_extensions; do
41107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41108 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41110 break 2
41111 fi
41112 done
41113 done
41114 IFS=$as_save_IFS
41115
41116 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41117 ;;
41118 esac
41119 fi
41120 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41121 if test -n "$SDL_CONFIG"; then
41122 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41123 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41124 else
41125 { echo "$as_me:$LINENO: result: no" >&5
41126 echo "${ECHO_T}no" >&6; }
41127 fi
41128
41129
41130 min_sdl_version=1.2.0
41131 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41132 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41133 no_sdl=""
41134 if test "$SDL_CONFIG" = "no" ; then
41135 no_sdl=yes
41136 else
41137 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41138 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41139
41140 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41141 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41142 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41144 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41146 if test "x$enable_sdltest" = "xyes" ; then
41147 ac_save_CFLAGS="$CFLAGS"
41148 ac_save_CXXFLAGS="$CXXFLAGS"
41149 ac_save_LIBS="$LIBS"
41150 CFLAGS="$CFLAGS $SDL_CFLAGS"
41151 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41152 LIBS="$LIBS $SDL_LIBS"
41153 rm -f conf.sdltest
41154 if test "$cross_compiling" = yes; then
41155 echo $ac_n "cross compiling; assumed OK... $ac_c"
41156 else
41157 cat >conftest.$ac_ext <<_ACEOF
41158 /* confdefs.h. */
41159 _ACEOF
41160 cat confdefs.h >>conftest.$ac_ext
41161 cat >>conftest.$ac_ext <<_ACEOF
41162 /* end confdefs.h. */
41163
41164 #include <stdio.h>
41165 #include <stdlib.h>
41166 #include <string.h>
41167 #include "SDL.h"
41168
41169 char*
41170 my_strdup (char *str)
41171 {
41172 char *new_str;
41173
41174 if (str)
41175 {
41176 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41177 strcpy (new_str, str);
41178 }
41179 else
41180 new_str = NULL;
41181
41182 return new_str;
41183 }
41184
41185 int main (int argc, char *argv[])
41186 {
41187 int major, minor, micro;
41188 char *tmp_version;
41189
41190 /* This hangs on some systems (?)
41191 system ("touch conf.sdltest");
41192 */
41193 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41194
41195 /* HP/UX 9 (%@#!) writes to sscanf strings */
41196 tmp_version = my_strdup("$min_sdl_version");
41197 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41198 printf("%s, bad version string\n", "$min_sdl_version");
41199 exit(1);
41200 }
41201
41202 if (($sdl_major_version > major) ||
41203 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41204 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41205 {
41206 return 0;
41207 }
41208 else
41209 {
41210 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41211 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41212 printf("*** best to upgrade to the required version.\n");
41213 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41214 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41215 printf("*** config.cache before re-running configure\n");
41216 return 1;
41217 }
41218 }
41219
41220
41221 _ACEOF
41222 rm -f conftest$ac_exeext
41223 if { (ac_try="$ac_link"
41224 case "(($ac_try" in
41225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41226 *) ac_try_echo=$ac_try;;
41227 esac
41228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41229 (eval "$ac_link") 2>&5
41230 ac_status=$?
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41233 { (case "(($ac_try" in
41234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41235 *) ac_try_echo=$ac_try;;
41236 esac
41237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41238 (eval "$ac_try") 2>&5
41239 ac_status=$?
41240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41241 (exit $ac_status); }; }; then
41242 :
41243 else
41244 echo "$as_me: program exited with status $ac_status" >&5
41245 echo "$as_me: failed program was:" >&5
41246 sed 's/^/| /' conftest.$ac_ext >&5
41247
41248 ( exit $ac_status )
41249 no_sdl=yes
41250 fi
41251 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41252 fi
41253
41254
41255 CFLAGS="$ac_save_CFLAGS"
41256 CXXFLAGS="$ac_save_CXXFLAGS"
41257 LIBS="$ac_save_LIBS"
41258 fi
41259 fi
41260 if test "x$no_sdl" = x ; then
41261 { echo "$as_me:$LINENO: result: yes" >&5
41262 echo "${ECHO_T}yes" >&6; }
41263
41264 EXTRALIBS_SDL="$SDL_LIBS"
41265 CFLAGS="$SDL_CFLAGS $CFLAGS"
41266 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41267 cat >>confdefs.h <<\_ACEOF
41268 #define wxUSE_LIBSDL 1
41269 _ACEOF
41270
41271
41272 else
41273 { echo "$as_me:$LINENO: result: no" >&5
41274 echo "${ECHO_T}no" >&6; }
41275 if test "$SDL_CONFIG" = "no" ; then
41276 echo "*** The sdl-config script installed by SDL could not be found"
41277 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41278 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41279 echo "*** full path to sdl-config."
41280 else
41281 if test -f conf.sdltest ; then
41282 :
41283 else
41284 echo "*** Could not run SDL test program, checking why..."
41285 CFLAGS="$CFLAGS $SDL_CFLAGS"
41286 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41287 LIBS="$LIBS $SDL_LIBS"
41288 cat >conftest.$ac_ext <<_ACEOF
41289 /* confdefs.h. */
41290 _ACEOF
41291 cat confdefs.h >>conftest.$ac_ext
41292 cat >>conftest.$ac_ext <<_ACEOF
41293 /* end confdefs.h. */
41294
41295 #include <stdio.h>
41296 #include "SDL.h"
41297
41298 int main(int argc, char *argv[])
41299 { return 0; }
41300 #undef main
41301 #define main K_and_R_C_main
41302
41303 int
41304 main ()
41305 {
41306 return 0;
41307 ;
41308 return 0;
41309 }
41310 _ACEOF
41311 rm -f conftest.$ac_objext conftest$ac_exeext
41312 if { (ac_try="$ac_link"
41313 case "(($ac_try" in
41314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41315 *) ac_try_echo=$ac_try;;
41316 esac
41317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41318 (eval "$ac_link") 2>conftest.er1
41319 ac_status=$?
41320 grep -v '^ *+' conftest.er1 >conftest.err
41321 rm -f conftest.er1
41322 cat conftest.err >&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); } && {
41325 test -z "$ac_c_werror_flag" ||
41326 test ! -s conftest.err
41327 } && test -s conftest$ac_exeext &&
41328 $as_test_x conftest$ac_exeext; then
41329 echo "*** The test program compiled, but did not run. This usually means"
41330 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41331 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41332 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41333 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41334 echo "*** is required on your system"
41335 echo "***"
41336 echo "*** If you have an old version installed, it is best to remove it, although"
41337 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41338 else
41339 echo "$as_me: failed program was:" >&5
41340 sed 's/^/| /' conftest.$ac_ext >&5
41341
41342 echo "*** The test program failed to compile or link. See the file config.log for the"
41343 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41344 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41345 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41346 fi
41347
41348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41349 conftest$ac_exeext conftest.$ac_ext
41350 CFLAGS="$ac_save_CFLAGS"
41351 CXXFLAGS="$ac_save_CXXFLAGS"
41352 LIBS="$ac_save_LIBS"
41353 fi
41354 fi
41355 SDL_CFLAGS=""
41356 SDL_LIBS=""
41357 wxUSE_LIBSDL="no"
41358 fi
41359
41360
41361 rm -f conf.sdltest
41362
41363 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41364 WITH_PLUGIN_SDL=1
41365 fi
41366 fi
41367 else
41368 if test "$wxUSE_MGL" = 1; then
41369 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41370 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41371 wxUSE_SOUND="no"
41372 fi
41373 fi
41374 fi
41375
41376 if test "$wxUSE_SOUND" = "yes"; then
41377 cat >>confdefs.h <<\_ACEOF
41378 #define wxUSE_SOUND 1
41379 _ACEOF
41380
41381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41382 fi
41383
41384 if test "$WXGTK20" = 1; then
41385
41386
41387 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41388 if test -n "$ac_tool_prefix"; then
41389 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41390 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41393 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41394 echo $ECHO_N "(cached) $ECHO_C" >&6
41395 else
41396 case $PKG_CONFIG in
41397 [\\/]* | ?:[\\/]*)
41398 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41399 ;;
41400 *)
41401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41402 for as_dir in $PATH
41403 do
41404 IFS=$as_save_IFS
41405 test -z "$as_dir" && as_dir=.
41406 for ac_exec_ext in '' $ac_executable_extensions; do
41407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41408 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41410 break 2
41411 fi
41412 done
41413 done
41414 IFS=$as_save_IFS
41415
41416 ;;
41417 esac
41418 fi
41419 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41420 if test -n "$PKG_CONFIG"; then
41421 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41422 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41423 else
41424 { echo "$as_me:$LINENO: result: no" >&5
41425 echo "${ECHO_T}no" >&6; }
41426 fi
41427
41428
41429 fi
41430 if test -z "$ac_cv_path_PKG_CONFIG"; then
41431 ac_pt_PKG_CONFIG=$PKG_CONFIG
41432 # Extract the first word of "pkg-config", so it can be a program name with args.
41433 set dummy pkg-config; ac_word=$2
41434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41436 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41438 else
41439 case $ac_pt_PKG_CONFIG in
41440 [\\/]* | ?:[\\/]*)
41441 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41442 ;;
41443 *)
41444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41445 for as_dir in $PATH
41446 do
41447 IFS=$as_save_IFS
41448 test -z "$as_dir" && as_dir=.
41449 for ac_exec_ext in '' $ac_executable_extensions; do
41450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41451 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41453 break 2
41454 fi
41455 done
41456 done
41457 IFS=$as_save_IFS
41458
41459 ;;
41460 esac
41461 fi
41462 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41463 if test -n "$ac_pt_PKG_CONFIG"; then
41464 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41465 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41466 else
41467 { echo "$as_me:$LINENO: result: no" >&5
41468 echo "${ECHO_T}no" >&6; }
41469 fi
41470
41471 if test "x$ac_pt_PKG_CONFIG" = x; then
41472 PKG_CONFIG=""
41473 else
41474 case $cross_compiling:$ac_tool_warned in
41475 yes:)
41476 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41477 whose name does not start with the host triplet. If you think this
41478 configuration is useful to you, please write to autoconf@gnu.org." >&5
41479 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41480 whose name does not start with the host triplet. If you think this
41481 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41482 ac_tool_warned=yes ;;
41483 esac
41484 PKG_CONFIG=$ac_pt_PKG_CONFIG
41485 fi
41486 else
41487 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41488 fi
41489
41490 fi
41491 if test -n "$PKG_CONFIG"; then
41492 _pkg_min_version=0.9.0
41493 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41494 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41495 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41496 { echo "$as_me:$LINENO: result: yes" >&5
41497 echo "${ECHO_T}yes" >&6; }
41498 else
41499 { echo "$as_me:$LINENO: result: no" >&5
41500 echo "${ECHO_T}no" >&6; }
41501 PKG_CONFIG=""
41502 fi
41503
41504 fi
41505
41506 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41507 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41508
41509
41510 pkg_failed=no
41511 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41512 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41513
41514 if test -n "$PKG_CONFIG"; then
41515 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41516 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41517 else
41518 if test -n "$PKG_CONFIG" && \
41519 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41520 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41521 ac_status=$?
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); }; then
41524 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41525 else
41526 pkg_failed=yes
41527 fi
41528 fi
41529 else
41530 pkg_failed=untried
41531 fi
41532 if test -n "$PKG_CONFIG"; then
41533 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41534 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41535 else
41536 if test -n "$PKG_CONFIG" && \
41537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41538 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41539 ac_status=$?
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); }; then
41542 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41543 else
41544 pkg_failed=yes
41545 fi
41546 fi
41547 else
41548 pkg_failed=untried
41549 fi
41550
41551
41552
41553 if test $pkg_failed = yes; then
41554
41555 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41556 _pkg_short_errors_supported=yes
41557 else
41558 _pkg_short_errors_supported=no
41559 fi
41560 if test $_pkg_short_errors_supported = yes; then
41561 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41562 else
41563 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41564 fi
41565 # Put the nasty error message in config.log where it belongs
41566 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41567
41568
41569 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41570 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41571 wxUSE_LIBGNOMEPRINT="no"
41572
41573
41574 elif test $pkg_failed = untried; then
41575
41576 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41577 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41578 wxUSE_LIBGNOMEPRINT="no"
41579
41580
41581 else
41582 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41583 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41584 { echo "$as_me:$LINENO: result: yes" >&5
41585 echo "${ECHO_T}yes" >&6; }
41586
41587 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41588 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41589 cat >>confdefs.h <<\_ACEOF
41590 #define wxUSE_LIBGNOMEPRINT 1
41591 _ACEOF
41592
41593
41594 fi
41595 fi
41596 fi
41597
41598 if test "$wxUSE_MIMETYPE" = "yes" ; then
41599 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41600
41601
41602 pkg_failed=no
41603 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41604 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41605
41606 if test -n "$PKG_CONFIG"; then
41607 if test -n "$GNOMEVFS_CFLAGS"; then
41608 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41609 else
41610 if test -n "$PKG_CONFIG" && \
41611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41612 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41613 ac_status=$?
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); }; then
41616 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41617 else
41618 pkg_failed=yes
41619 fi
41620 fi
41621 else
41622 pkg_failed=untried
41623 fi
41624 if test -n "$PKG_CONFIG"; then
41625 if test -n "$GNOMEVFS_LIBS"; then
41626 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41627 else
41628 if test -n "$PKG_CONFIG" && \
41629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41630 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41631 ac_status=$?
41632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41633 (exit $ac_status); }; then
41634 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41635 else
41636 pkg_failed=yes
41637 fi
41638 fi
41639 else
41640 pkg_failed=untried
41641 fi
41642
41643
41644
41645 if test $pkg_failed = yes; then
41646
41647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41648 _pkg_short_errors_supported=yes
41649 else
41650 _pkg_short_errors_supported=no
41651 fi
41652 if test $_pkg_short_errors_supported = yes; then
41653 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41654 else
41655 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41656 fi
41657 # Put the nasty error message in config.log where it belongs
41658 echo "$GNOMEVFS_PKG_ERRORS" >&5
41659
41660
41661 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41662 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41663 wxUSE_LIBGNOMEVFS="no"
41664
41665
41666 elif test $pkg_failed = untried; then
41667
41668 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41669 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41670 wxUSE_LIBGNOMEVFS="no"
41671
41672
41673 else
41674 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41675 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41676 { echo "$as_me:$LINENO: result: yes" >&5
41677 echo "${ECHO_T}yes" >&6; }
41678
41679 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41680 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41681 cat >>confdefs.h <<\_ACEOF
41682 #define wxUSE_LIBGNOMEVFS 1
41683 _ACEOF
41684
41685
41686 fi
41687 fi
41688 fi
41689
41690 if test "$wxUSE_LIBHILDON" = "yes" ; then
41691
41692 pkg_failed=no
41693 { echo "$as_me:$LINENO: checking for HILDON" >&5
41694 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41695
41696 if test -n "$PKG_CONFIG"; then
41697 if test -n "$HILDON_CFLAGS"; then
41698 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41699 else
41700 if test -n "$PKG_CONFIG" && \
41701 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41702 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41703 ac_status=$?
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); }; then
41706 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41707 else
41708 pkg_failed=yes
41709 fi
41710 fi
41711 else
41712 pkg_failed=untried
41713 fi
41714 if test -n "$PKG_CONFIG"; then
41715 if test -n "$HILDON_LIBS"; then
41716 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41717 else
41718 if test -n "$PKG_CONFIG" && \
41719 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41720 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41721 ac_status=$?
41722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41723 (exit $ac_status); }; then
41724 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41725 else
41726 pkg_failed=yes
41727 fi
41728 fi
41729 else
41730 pkg_failed=untried
41731 fi
41732
41733
41734
41735 if test $pkg_failed = yes; then
41736
41737 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41738 _pkg_short_errors_supported=yes
41739 else
41740 _pkg_short_errors_supported=no
41741 fi
41742 if test $_pkg_short_errors_supported = yes; then
41743 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41744 else
41745 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41746 fi
41747 # Put the nasty error message in config.log where it belongs
41748 echo "$HILDON_PKG_ERRORS" >&5
41749
41750
41751 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41752 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41753 wxUSE_LIBHILDON="no"
41754
41755
41756 elif test $pkg_failed = untried; then
41757
41758 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41759 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41760 wxUSE_LIBHILDON="no"
41761
41762
41763 else
41764 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41765 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41766 { echo "$as_me:$LINENO: result: yes" >&5
41767 echo "${ECHO_T}yes" >&6; }
41768
41769 EXTRALIBS_HILDON="$HILDON_LIBS"
41770 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41771 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41772 cat >>confdefs.h <<\_ACEOF
41773 #define wxUSE_LIBHILDON 1
41774 _ACEOF
41775
41776
41777 fi
41778 fi
41779 fi
41780
41781 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41782 cat >>confdefs.h <<\_ACEOF
41783 #define wxUSE_CMDLINE_PARSER 1
41784 _ACEOF
41785
41786 fi
41787
41788 if test "$wxUSE_STOPWATCH" = "yes"; then
41789 cat >>confdefs.h <<\_ACEOF
41790 #define wxUSE_STOPWATCH 1
41791 _ACEOF
41792
41793 fi
41794
41795 if test "$wxUSE_DATETIME" = "yes"; then
41796 cat >>confdefs.h <<\_ACEOF
41797 #define wxUSE_DATETIME 1
41798 _ACEOF
41799
41800 fi
41801
41802 if test "$wxUSE_FILE" = "yes"; then
41803 cat >>confdefs.h <<\_ACEOF
41804 #define wxUSE_FILE 1
41805 _ACEOF
41806
41807 fi
41808
41809 if test "$wxUSE_FFILE" = "yes"; then
41810 cat >>confdefs.h <<\_ACEOF
41811 #define wxUSE_FFILE 1
41812 _ACEOF
41813
41814 fi
41815
41816 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41817 if test "$wxUSE_STREAMS" != yes; then
41818 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41819 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41820 wxUSE_ARCHIVE_STREAMS=no
41821 else
41822 cat >>confdefs.h <<\_ACEOF
41823 #define wxUSE_ARCHIVE_STREAMS 1
41824 _ACEOF
41825
41826 fi
41827 fi
41828
41829 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41830 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41831 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41832 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41833 elif test "$wxUSE_ZLIB" = "no"; then
41834 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41835 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41836 else
41837 cat >>confdefs.h <<\_ACEOF
41838 #define wxUSE_ZIPSTREAM 1
41839 _ACEOF
41840
41841 fi
41842 fi
41843
41844 if test "$wxUSE_TARSTREAM" = "yes"; then
41845 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41846 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41847 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41848 else
41849 cat >>confdefs.h <<\_ACEOF
41850 #define wxUSE_TARSTREAM 1
41851 _ACEOF
41852
41853 fi
41854 fi
41855
41856 if test "$wxUSE_FILESYSTEM" = "yes"; then
41857 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41858 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41859 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41860 wxUSE_FILESYSTEM=no
41861 else
41862 cat >>confdefs.h <<\_ACEOF
41863 #define wxUSE_FILESYSTEM 1
41864 _ACEOF
41865
41866 fi
41867 fi
41868
41869 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41870 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41871 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41872 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41873 else
41874 cat >>confdefs.h <<\_ACEOF
41875 #define wxUSE_FS_ARCHIVE 1
41876 _ACEOF
41877
41878 fi
41879 fi
41880
41881 if test "$wxUSE_FS_ZIP" = "yes"; then
41882 if test "$wxUSE_FS_ARCHIVE" != yes; then
41883 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41884 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41885 else
41886 cat >>confdefs.h <<\_ACEOF
41887 #define wxUSE_FS_ZIP 1
41888 _ACEOF
41889
41890 fi
41891 fi
41892
41893 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41894 if test "$USE_UNIX" != 1; then
41895 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41896 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41897 wxUSE_ON_FATAL_EXCEPTION=no
41898 else
41899 cat >>confdefs.h <<\_ACEOF
41900 #define wxUSE_ON_FATAL_EXCEPTION 1
41901 _ACEOF
41902
41903 fi
41904 fi
41905
41906 if test "$wxUSE_STACKWALKER" = "yes"; then
41907 cat >>confdefs.h <<\_ACEOF
41908 #define wxUSE_STACKWALKER 1
41909 _ACEOF
41910
41911 fi
41912
41913 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41914 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41915 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41916 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41917 wxUSE_DEBUGREPORT=no
41918 else
41919 cat >>confdefs.h <<\_ACEOF
41920 #define wxUSE_DEBUGREPORT 1
41921 _ACEOF
41922
41923 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41925 fi
41926 fi
41927 fi
41928
41929 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41930 cat >>confdefs.h <<\_ACEOF
41931 #define wxUSE_SNGLINST_CHECKER 1
41932 _ACEOF
41933
41934 fi
41935
41936 if test "$wxUSE_BUSYINFO" = "yes"; then
41937 cat >>confdefs.h <<\_ACEOF
41938 #define wxUSE_BUSYINFO 1
41939 _ACEOF
41940
41941 fi
41942
41943 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41944 cat >>confdefs.h <<\_ACEOF
41945 #define wxUSE_STD_IOSTREAM 1
41946 _ACEOF
41947
41948 fi
41949
41950 if test "$wxUSE_STD_STRING" = "yes"; then
41951 cat >>confdefs.h <<\_ACEOF
41952 #define wxUSE_STD_STRING 1
41953 _ACEOF
41954
41955 fi
41956
41957 if test "$wxUSE_STDPATHS" = "yes"; then
41958 cat >>confdefs.h <<\_ACEOF
41959 #define wxUSE_STDPATHS 1
41960 _ACEOF
41961
41962 fi
41963
41964 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41965 cat >>confdefs.h <<\_ACEOF
41966 #define wxUSE_TEXTBUFFER 1
41967 _ACEOF
41968
41969 fi
41970
41971 if test "$wxUSE_TEXTFILE" = "yes"; then
41972 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41973 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41974 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41975 else
41976 cat >>confdefs.h <<\_ACEOF
41977 #define wxUSE_TEXTFILE 1
41978 _ACEOF
41979
41980 fi
41981 fi
41982
41983 if test "$wxUSE_CONFIG" = "yes" ; then
41984 if test "$wxUSE_TEXTFILE" != "yes"; then
41985 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41986 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41987 else
41988 cat >>confdefs.h <<\_ACEOF
41989 #define wxUSE_CONFIG 1
41990 _ACEOF
41991
41992 cat >>confdefs.h <<\_ACEOF
41993 #define wxUSE_CONFIG_NATIVE 1
41994 _ACEOF
41995
41996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41997 fi
41998 fi
41999
42000 if test "$wxUSE_INTL" = "yes" ; then
42001 if test "$wxUSE_FILE" != "yes"; then
42002 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42003 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42004 else
42005 cat >>confdefs.h <<\_ACEOF
42006 #define wxUSE_INTL 1
42007 _ACEOF
42008
42009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42010 GUIDIST="$GUIDIST INTL_DIST"
42011 fi
42012 fi
42013
42014 if test "$wxUSE_LOG" = "yes"; then
42015 cat >>confdefs.h <<\_ACEOF
42016 #define wxUSE_LOG 1
42017 _ACEOF
42018
42019
42020 if test "$wxUSE_LOGGUI" = "yes"; then
42021 cat >>confdefs.h <<\_ACEOF
42022 #define wxUSE_LOGGUI 1
42023 _ACEOF
42024
42025 fi
42026
42027 if test "$wxUSE_LOGWINDOW" = "yes"; then
42028 cat >>confdefs.h <<\_ACEOF
42029 #define wxUSE_LOGWINDOW 1
42030 _ACEOF
42031
42032 fi
42033
42034 if test "$wxUSE_LOGDIALOG" = "yes"; then
42035 cat >>confdefs.h <<\_ACEOF
42036 #define wxUSE_LOG_DIALOG 1
42037 _ACEOF
42038
42039 fi
42040
42041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42042 fi
42043
42044 if test "$wxUSE_LONGLONG" = "yes"; then
42045 cat >>confdefs.h <<\_ACEOF
42046 #define wxUSE_LONGLONG 1
42047 _ACEOF
42048
42049 fi
42050
42051 if test "$wxUSE_GEOMETRY" = "yes"; then
42052 cat >>confdefs.h <<\_ACEOF
42053 #define wxUSE_GEOMETRY 1
42054 _ACEOF
42055
42056 fi
42057
42058 if test "$wxUSE_STREAMS" = "yes" ; then
42059 cat >>confdefs.h <<\_ACEOF
42060 #define wxUSE_STREAMS 1
42061 _ACEOF
42062
42063 fi
42064
42065 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42066 cat >>confdefs.h <<\_ACEOF
42067 #define wxUSE_PRINTF_POS_PARAMS 1
42068 _ACEOF
42069
42070 fi
42071
42072
42073
42074 if test "$wxUSE_DATETIME" = "yes"; then
42075
42076 for ac_func in strptime
42077 do
42078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42079 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42081 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42082 echo $ECHO_N "(cached) $ECHO_C" >&6
42083 else
42084 cat >conftest.$ac_ext <<_ACEOF
42085 /* confdefs.h. */
42086 _ACEOF
42087 cat confdefs.h >>conftest.$ac_ext
42088 cat >>conftest.$ac_ext <<_ACEOF
42089 /* end confdefs.h. */
42090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42092 #define $ac_func innocuous_$ac_func
42093
42094 /* System header to define __stub macros and hopefully few prototypes,
42095 which can conflict with char $ac_func (); below.
42096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42097 <limits.h> exists even on freestanding compilers. */
42098
42099 #ifdef __STDC__
42100 # include <limits.h>
42101 #else
42102 # include <assert.h>
42103 #endif
42104
42105 #undef $ac_func
42106
42107 /* Override any GCC internal prototype to avoid an error.
42108 Use char because int might match the return type of a GCC
42109 builtin and then its argument prototype would still apply. */
42110 #ifdef __cplusplus
42111 extern "C"
42112 #endif
42113 char $ac_func ();
42114 /* The GNU C library defines this for functions which it implements
42115 to always fail with ENOSYS. Some functions are actually named
42116 something starting with __ and the normal name is an alias. */
42117 #if defined __stub_$ac_func || defined __stub___$ac_func
42118 choke me
42119 #endif
42120
42121 int
42122 main ()
42123 {
42124 return $ac_func ();
42125 ;
42126 return 0;
42127 }
42128 _ACEOF
42129 rm -f conftest.$ac_objext conftest$ac_exeext
42130 if { (ac_try="$ac_link"
42131 case "(($ac_try" in
42132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42133 *) ac_try_echo=$ac_try;;
42134 esac
42135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42136 (eval "$ac_link") 2>conftest.er1
42137 ac_status=$?
42138 grep -v '^ *+' conftest.er1 >conftest.err
42139 rm -f conftest.er1
42140 cat conftest.err >&5
42141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42142 (exit $ac_status); } && {
42143 test -z "$ac_c_werror_flag" ||
42144 test ! -s conftest.err
42145 } && test -s conftest$ac_exeext &&
42146 $as_test_x conftest$ac_exeext; then
42147 eval "$as_ac_var=yes"
42148 else
42149 echo "$as_me: failed program was:" >&5
42150 sed 's/^/| /' conftest.$ac_ext >&5
42151
42152 eval "$as_ac_var=no"
42153 fi
42154
42155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42156 conftest$ac_exeext conftest.$ac_ext
42157 fi
42158 ac_res=`eval echo '${'$as_ac_var'}'`
42159 { echo "$as_me:$LINENO: result: $ac_res" >&5
42160 echo "${ECHO_T}$ac_res" >&6; }
42161 if test `eval echo '${'$as_ac_var'}'` = yes; then
42162 cat >>confdefs.h <<_ACEOF
42163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42164 _ACEOF
42165
42166 fi
42167 done
42168
42169 if test "$ac_cv_func_strptime" = "yes"; then
42170 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42171 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42172 if test "${wx_cv_func_strptime_decl+set}" = set; then
42173 echo $ECHO_N "(cached) $ECHO_C" >&6
42174 else
42175
42176 ac_ext=cpp
42177 ac_cpp='$CXXCPP $CPPFLAGS'
42178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42181
42182 cat >conftest.$ac_ext <<_ACEOF
42183 /* confdefs.h. */
42184 _ACEOF
42185 cat confdefs.h >>conftest.$ac_ext
42186 cat >>conftest.$ac_ext <<_ACEOF
42187 /* end confdefs.h. */
42188
42189 #include <time.h>
42190
42191 int
42192 main ()
42193 {
42194
42195 struct tm t;
42196 strptime("foo", "bar", &t);
42197
42198 ;
42199 return 0;
42200 }
42201 _ACEOF
42202 rm -f conftest.$ac_objext
42203 if { (ac_try="$ac_compile"
42204 case "(($ac_try" in
42205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42206 *) ac_try_echo=$ac_try;;
42207 esac
42208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42209 (eval "$ac_compile") 2>conftest.er1
42210 ac_status=$?
42211 grep -v '^ *+' conftest.er1 >conftest.err
42212 rm -f conftest.er1
42213 cat conftest.err >&5
42214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42215 (exit $ac_status); } && {
42216 test -z "$ac_cxx_werror_flag" ||
42217 test ! -s conftest.err
42218 } && test -s conftest.$ac_objext; then
42219 wx_cv_func_strptime_decl=yes
42220 else
42221 echo "$as_me: failed program was:" >&5
42222 sed 's/^/| /' conftest.$ac_ext >&5
42223
42224 wx_cv_func_strptime_decl=no
42225
42226 fi
42227
42228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42229 ac_ext=c
42230 ac_cpp='$CPP $CPPFLAGS'
42231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42234
42235
42236
42237 fi
42238 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42239 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42240 fi
42241 if test "$wx_cv_func_strptime_decl" = "yes"; then
42242 cat >>confdefs.h <<\_ACEOF
42243 #define HAVE_STRPTIME_DECL 1
42244 _ACEOF
42245
42246 fi
42247
42248 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42249 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42250 if test "${wx_cv_var_timezone+set}" = set; then
42251 echo $ECHO_N "(cached) $ECHO_C" >&6
42252 else
42253
42254 ac_ext=cpp
42255 ac_cpp='$CXXCPP $CPPFLAGS'
42256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42259
42260 cat >conftest.$ac_ext <<_ACEOF
42261 /* confdefs.h. */
42262 _ACEOF
42263 cat confdefs.h >>conftest.$ac_ext
42264 cat >>conftest.$ac_ext <<_ACEOF
42265 /* end confdefs.h. */
42266
42267 #include <time.h>
42268
42269 int
42270 main ()
42271 {
42272
42273 int tz;
42274 tz = timezone;
42275
42276 ;
42277 return 0;
42278 }
42279 _ACEOF
42280 rm -f conftest.$ac_objext
42281 if { (ac_try="$ac_compile"
42282 case "(($ac_try" in
42283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42284 *) ac_try_echo=$ac_try;;
42285 esac
42286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42287 (eval "$ac_compile") 2>conftest.er1
42288 ac_status=$?
42289 grep -v '^ *+' conftest.er1 >conftest.err
42290 rm -f conftest.er1
42291 cat conftest.err >&5
42292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42293 (exit $ac_status); } && {
42294 test -z "$ac_cxx_werror_flag" ||
42295 test ! -s conftest.err
42296 } && test -s conftest.$ac_objext; then
42297
42298 wx_cv_var_timezone=timezone
42299
42300 else
42301 echo "$as_me: failed program was:" >&5
42302 sed 's/^/| /' conftest.$ac_ext >&5
42303
42304
42305 cat >conftest.$ac_ext <<_ACEOF
42306 /* confdefs.h. */
42307 _ACEOF
42308 cat confdefs.h >>conftest.$ac_ext
42309 cat >>conftest.$ac_ext <<_ACEOF
42310 /* end confdefs.h. */
42311
42312 #include <time.h>
42313
42314 int
42315 main ()
42316 {
42317
42318 int tz;
42319 tz = _timezone;
42320
42321 ;
42322 return 0;
42323 }
42324 _ACEOF
42325 rm -f conftest.$ac_objext
42326 if { (ac_try="$ac_compile"
42327 case "(($ac_try" in
42328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42329 *) ac_try_echo=$ac_try;;
42330 esac
42331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42332 (eval "$ac_compile") 2>conftest.er1
42333 ac_status=$?
42334 grep -v '^ *+' conftest.er1 >conftest.err
42335 rm -f conftest.er1
42336 cat conftest.err >&5
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); } && {
42339 test -z "$ac_cxx_werror_flag" ||
42340 test ! -s conftest.err
42341 } && test -s conftest.$ac_objext; then
42342
42343 wx_cv_var_timezone=_timezone
42344
42345 else
42346 echo "$as_me: failed program was:" >&5
42347 sed 's/^/| /' conftest.$ac_ext >&5
42348
42349
42350 cat >conftest.$ac_ext <<_ACEOF
42351 /* confdefs.h. */
42352 _ACEOF
42353 cat confdefs.h >>conftest.$ac_ext
42354 cat >>conftest.$ac_ext <<_ACEOF
42355 /* end confdefs.h. */
42356
42357 #include <time.h>
42358
42359 int
42360 main ()
42361 {
42362
42363 int tz;
42364 tz = __timezone;
42365
42366 ;
42367 return 0;
42368 }
42369 _ACEOF
42370 rm -f conftest.$ac_objext
42371 if { (ac_try="$ac_compile"
42372 case "(($ac_try" in
42373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42374 *) ac_try_echo=$ac_try;;
42375 esac
42376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42377 (eval "$ac_compile") 2>conftest.er1
42378 ac_status=$?
42379 grep -v '^ *+' conftest.er1 >conftest.err
42380 rm -f conftest.er1
42381 cat conftest.err >&5
42382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42383 (exit $ac_status); } && {
42384 test -z "$ac_cxx_werror_flag" ||
42385 test ! -s conftest.err
42386 } && test -s conftest.$ac_objext; then
42387
42388 wx_cv_var_timezone=__timezone
42389
42390 else
42391 echo "$as_me: failed program was:" >&5
42392 sed 's/^/| /' conftest.$ac_ext >&5
42393
42394
42395 if test "$USE_DOS" = 0 ; then
42396 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42397 echo "$as_me: WARNING: no timezone variable" >&2;}
42398 fi
42399
42400
42401 fi
42402
42403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42404
42405
42406 fi
42407
42408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42409
42410
42411 fi
42412
42413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42414 ac_ext=c
42415 ac_cpp='$CPP $CPPFLAGS'
42416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42419
42420
42421
42422 fi
42423 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42424 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42425
42426 if test "x$wx_cv_var_timezone" != x ; then
42427 cat >>confdefs.h <<_ACEOF
42428 #define WX_TIMEZONE $wx_cv_var_timezone
42429 _ACEOF
42430
42431 fi
42432
42433
42434 for ac_func in localtime
42435 do
42436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42437 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42439 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42440 echo $ECHO_N "(cached) $ECHO_C" >&6
42441 else
42442 cat >conftest.$ac_ext <<_ACEOF
42443 /* confdefs.h. */
42444 _ACEOF
42445 cat confdefs.h >>conftest.$ac_ext
42446 cat >>conftest.$ac_ext <<_ACEOF
42447 /* end confdefs.h. */
42448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42450 #define $ac_func innocuous_$ac_func
42451
42452 /* System header to define __stub macros and hopefully few prototypes,
42453 which can conflict with char $ac_func (); below.
42454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42455 <limits.h> exists even on freestanding compilers. */
42456
42457 #ifdef __STDC__
42458 # include <limits.h>
42459 #else
42460 # include <assert.h>
42461 #endif
42462
42463 #undef $ac_func
42464
42465 /* Override any GCC internal prototype to avoid an error.
42466 Use char because int might match the return type of a GCC
42467 builtin and then its argument prototype would still apply. */
42468 #ifdef __cplusplus
42469 extern "C"
42470 #endif
42471 char $ac_func ();
42472 /* The GNU C library defines this for functions which it implements
42473 to always fail with ENOSYS. Some functions are actually named
42474 something starting with __ and the normal name is an alias. */
42475 #if defined __stub_$ac_func || defined __stub___$ac_func
42476 choke me
42477 #endif
42478
42479 int
42480 main ()
42481 {
42482 return $ac_func ();
42483 ;
42484 return 0;
42485 }
42486 _ACEOF
42487 rm -f conftest.$ac_objext conftest$ac_exeext
42488 if { (ac_try="$ac_link"
42489 case "(($ac_try" in
42490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42491 *) ac_try_echo=$ac_try;;
42492 esac
42493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42494 (eval "$ac_link") 2>conftest.er1
42495 ac_status=$?
42496 grep -v '^ *+' conftest.er1 >conftest.err
42497 rm -f conftest.er1
42498 cat conftest.err >&5
42499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42500 (exit $ac_status); } && {
42501 test -z "$ac_c_werror_flag" ||
42502 test ! -s conftest.err
42503 } && test -s conftest$ac_exeext &&
42504 $as_test_x conftest$ac_exeext; then
42505 eval "$as_ac_var=yes"
42506 else
42507 echo "$as_me: failed program was:" >&5
42508 sed 's/^/| /' conftest.$ac_ext >&5
42509
42510 eval "$as_ac_var=no"
42511 fi
42512
42513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42514 conftest$ac_exeext conftest.$ac_ext
42515 fi
42516 ac_res=`eval echo '${'$as_ac_var'}'`
42517 { echo "$as_me:$LINENO: result: $ac_res" >&5
42518 echo "${ECHO_T}$ac_res" >&6; }
42519 if test `eval echo '${'$as_ac_var'}'` = yes; then
42520 cat >>confdefs.h <<_ACEOF
42521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42522 _ACEOF
42523
42524 fi
42525 done
42526
42527
42528 if test "$ac_cv_func_localtime" = "yes"; then
42529 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42530 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42531 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42532 echo $ECHO_N "(cached) $ECHO_C" >&6
42533 else
42534
42535 cat >conftest.$ac_ext <<_ACEOF
42536 /* confdefs.h. */
42537 _ACEOF
42538 cat confdefs.h >>conftest.$ac_ext
42539 cat >>conftest.$ac_ext <<_ACEOF
42540 /* end confdefs.h. */
42541
42542 #include <time.h>
42543
42544 int
42545 main ()
42546 {
42547
42548 struct tm tm;
42549 tm.tm_gmtoff++;
42550
42551 ;
42552 return 0;
42553 }
42554 _ACEOF
42555 rm -f conftest.$ac_objext
42556 if { (ac_try="$ac_compile"
42557 case "(($ac_try" in
42558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42559 *) ac_try_echo=$ac_try;;
42560 esac
42561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42562 (eval "$ac_compile") 2>conftest.er1
42563 ac_status=$?
42564 grep -v '^ *+' conftest.er1 >conftest.err
42565 rm -f conftest.er1
42566 cat conftest.err >&5
42567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42568 (exit $ac_status); } && {
42569 test -z "$ac_c_werror_flag" ||
42570 test ! -s conftest.err
42571 } && test -s conftest.$ac_objext; then
42572
42573 wx_cv_struct_tm_has_gmtoff=yes
42574
42575 else
42576 echo "$as_me: failed program was:" >&5
42577 sed 's/^/| /' conftest.$ac_ext >&5
42578
42579 wx_cv_struct_tm_has_gmtoff=no
42580
42581 fi
42582
42583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42584
42585 fi
42586 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42587 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42588 fi
42589
42590 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42591 cat >>confdefs.h <<\_ACEOF
42592 #define WX_GMTOFF_IN_TM 1
42593 _ACEOF
42594
42595 fi
42596
42597
42598
42599 for ac_func in gettimeofday ftime
42600 do
42601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42602 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42604 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42605 echo $ECHO_N "(cached) $ECHO_C" >&6
42606 else
42607 cat >conftest.$ac_ext <<_ACEOF
42608 /* confdefs.h. */
42609 _ACEOF
42610 cat confdefs.h >>conftest.$ac_ext
42611 cat >>conftest.$ac_ext <<_ACEOF
42612 /* end confdefs.h. */
42613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42615 #define $ac_func innocuous_$ac_func
42616
42617 /* System header to define __stub macros and hopefully few prototypes,
42618 which can conflict with char $ac_func (); below.
42619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42620 <limits.h> exists even on freestanding compilers. */
42621
42622 #ifdef __STDC__
42623 # include <limits.h>
42624 #else
42625 # include <assert.h>
42626 #endif
42627
42628 #undef $ac_func
42629
42630 /* Override any GCC internal prototype to avoid an error.
42631 Use char because int might match the return type of a GCC
42632 builtin and then its argument prototype would still apply. */
42633 #ifdef __cplusplus
42634 extern "C"
42635 #endif
42636 char $ac_func ();
42637 /* The GNU C library defines this for functions which it implements
42638 to always fail with ENOSYS. Some functions are actually named
42639 something starting with __ and the normal name is an alias. */
42640 #if defined __stub_$ac_func || defined __stub___$ac_func
42641 choke me
42642 #endif
42643
42644 int
42645 main ()
42646 {
42647 return $ac_func ();
42648 ;
42649 return 0;
42650 }
42651 _ACEOF
42652 rm -f conftest.$ac_objext conftest$ac_exeext
42653 if { (ac_try="$ac_link"
42654 case "(($ac_try" in
42655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42656 *) ac_try_echo=$ac_try;;
42657 esac
42658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42659 (eval "$ac_link") 2>conftest.er1
42660 ac_status=$?
42661 grep -v '^ *+' conftest.er1 >conftest.err
42662 rm -f conftest.er1
42663 cat conftest.err >&5
42664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42665 (exit $ac_status); } && {
42666 test -z "$ac_c_werror_flag" ||
42667 test ! -s conftest.err
42668 } && test -s conftest$ac_exeext &&
42669 $as_test_x conftest$ac_exeext; then
42670 eval "$as_ac_var=yes"
42671 else
42672 echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42674
42675 eval "$as_ac_var=no"
42676 fi
42677
42678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42679 conftest$ac_exeext conftest.$ac_ext
42680 fi
42681 ac_res=`eval echo '${'$as_ac_var'}'`
42682 { echo "$as_me:$LINENO: result: $ac_res" >&5
42683 echo "${ECHO_T}$ac_res" >&6; }
42684 if test `eval echo '${'$as_ac_var'}'` = yes; then
42685 cat >>confdefs.h <<_ACEOF
42686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42687 _ACEOF
42688 break
42689 fi
42690 done
42691
42692
42693 if test "$ac_cv_func_gettimeofday" = "yes"; then
42694 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42695 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42696 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42697 echo $ECHO_N "(cached) $ECHO_C" >&6
42698 else
42699
42700 cat >conftest.$ac_ext <<_ACEOF
42701 /* confdefs.h. */
42702 _ACEOF
42703 cat confdefs.h >>conftest.$ac_ext
42704 cat >>conftest.$ac_ext <<_ACEOF
42705 /* end confdefs.h. */
42706
42707 #include <sys/time.h>
42708 #include <unistd.h>
42709
42710 int
42711 main ()
42712 {
42713
42714 struct timeval tv;
42715 gettimeofday(&tv, NULL);
42716
42717 ;
42718 return 0;
42719 }
42720 _ACEOF
42721 rm -f conftest.$ac_objext
42722 if { (ac_try="$ac_compile"
42723 case "(($ac_try" in
42724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42725 *) ac_try_echo=$ac_try;;
42726 esac
42727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42728 (eval "$ac_compile") 2>conftest.er1
42729 ac_status=$?
42730 grep -v '^ *+' conftest.er1 >conftest.err
42731 rm -f conftest.er1
42732 cat conftest.err >&5
42733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42734 (exit $ac_status); } && {
42735 test -z "$ac_c_werror_flag" ||
42736 test ! -s conftest.err
42737 } && test -s conftest.$ac_objext; then
42738 wx_cv_func_gettimeofday_has_2_args=yes
42739 else
42740 echo "$as_me: failed program was:" >&5
42741 sed 's/^/| /' conftest.$ac_ext >&5
42742
42743 cat >conftest.$ac_ext <<_ACEOF
42744 /* confdefs.h. */
42745 _ACEOF
42746 cat confdefs.h >>conftest.$ac_ext
42747 cat >>conftest.$ac_ext <<_ACEOF
42748 /* end confdefs.h. */
42749
42750 #include <sys/time.h>
42751 #include <unistd.h>
42752
42753 int
42754 main ()
42755 {
42756
42757 struct timeval tv;
42758 gettimeofday(&tv);
42759
42760 ;
42761 return 0;
42762 }
42763 _ACEOF
42764 rm -f conftest.$ac_objext
42765 if { (ac_try="$ac_compile"
42766 case "(($ac_try" in
42767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42768 *) ac_try_echo=$ac_try;;
42769 esac
42770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42771 (eval "$ac_compile") 2>conftest.er1
42772 ac_status=$?
42773 grep -v '^ *+' conftest.er1 >conftest.err
42774 rm -f conftest.er1
42775 cat conftest.err >&5
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); } && {
42778 test -z "$ac_c_werror_flag" ||
42779 test ! -s conftest.err
42780 } && test -s conftest.$ac_objext; then
42781 wx_cv_func_gettimeofday_has_2_args=no
42782 else
42783 echo "$as_me: failed program was:" >&5
42784 sed 's/^/| /' conftest.$ac_ext >&5
42785
42786
42787 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42788 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42789 wx_cv_func_gettimeofday_has_2_args=unknown
42790
42791
42792 fi
42793
42794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42795
42796 fi
42797
42798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42799
42800 fi
42801 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42802 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42803
42804 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42805 cat >>confdefs.h <<\_ACEOF
42806 #define WX_GETTIMEOFDAY_NO_TZ 1
42807 _ACEOF
42808
42809 fi
42810 fi
42811
42812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42813 fi
42814
42815
42816 if test "$wxUSE_SOCKETS" = "yes"; then
42817 if test "$wxUSE_MGL" = "1"; then
42818 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42819 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42820 wxUSE_SOCKETS="no"
42821 fi
42822 fi
42823
42824 if test "$wxUSE_SOCKETS" = "yes"; then
42825 if test "$TOOLKIT" != "MSW"; then
42826 { echo "$as_me:$LINENO: checking for socket" >&5
42827 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42828 if test "${ac_cv_func_socket+set}" = set; then
42829 echo $ECHO_N "(cached) $ECHO_C" >&6
42830 else
42831 cat >conftest.$ac_ext <<_ACEOF
42832 /* confdefs.h. */
42833 _ACEOF
42834 cat confdefs.h >>conftest.$ac_ext
42835 cat >>conftest.$ac_ext <<_ACEOF
42836 /* end confdefs.h. */
42837 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42839 #define socket innocuous_socket
42840
42841 /* System header to define __stub macros and hopefully few prototypes,
42842 which can conflict with char socket (); below.
42843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42844 <limits.h> exists even on freestanding compilers. */
42845
42846 #ifdef __STDC__
42847 # include <limits.h>
42848 #else
42849 # include <assert.h>
42850 #endif
42851
42852 #undef socket
42853
42854 /* Override any GCC internal prototype to avoid an error.
42855 Use char because int might match the return type of a GCC
42856 builtin and then its argument prototype would still apply. */
42857 #ifdef __cplusplus
42858 extern "C"
42859 #endif
42860 char socket ();
42861 /* The GNU C library defines this for functions which it implements
42862 to always fail with ENOSYS. Some functions are actually named
42863 something starting with __ and the normal name is an alias. */
42864 #if defined __stub_socket || defined __stub___socket
42865 choke me
42866 #endif
42867
42868 int
42869 main ()
42870 {
42871 return socket ();
42872 ;
42873 return 0;
42874 }
42875 _ACEOF
42876 rm -f conftest.$ac_objext conftest$ac_exeext
42877 if { (ac_try="$ac_link"
42878 case "(($ac_try" in
42879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42880 *) ac_try_echo=$ac_try;;
42881 esac
42882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42883 (eval "$ac_link") 2>conftest.er1
42884 ac_status=$?
42885 grep -v '^ *+' conftest.er1 >conftest.err
42886 rm -f conftest.er1
42887 cat conftest.err >&5
42888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42889 (exit $ac_status); } && {
42890 test -z "$ac_c_werror_flag" ||
42891 test ! -s conftest.err
42892 } && test -s conftest$ac_exeext &&
42893 $as_test_x conftest$ac_exeext; then
42894 ac_cv_func_socket=yes
42895 else
42896 echo "$as_me: failed program was:" >&5
42897 sed 's/^/| /' conftest.$ac_ext >&5
42898
42899 ac_cv_func_socket=no
42900 fi
42901
42902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42903 conftest$ac_exeext conftest.$ac_ext
42904 fi
42905 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42906 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42907 if test $ac_cv_func_socket = yes; then
42908 :
42909 else
42910
42911 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42912 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42913 if test "${ac_cv_lib_socket_socket+set}" = set; then
42914 echo $ECHO_N "(cached) $ECHO_C" >&6
42915 else
42916 ac_check_lib_save_LIBS=$LIBS
42917 LIBS="-lsocket $LIBS"
42918 cat >conftest.$ac_ext <<_ACEOF
42919 /* confdefs.h. */
42920 _ACEOF
42921 cat confdefs.h >>conftest.$ac_ext
42922 cat >>conftest.$ac_ext <<_ACEOF
42923 /* end confdefs.h. */
42924
42925 /* Override any GCC internal prototype to avoid an error.
42926 Use char because int might match the return type of a GCC
42927 builtin and then its argument prototype would still apply. */
42928 #ifdef __cplusplus
42929 extern "C"
42930 #endif
42931 char socket ();
42932 int
42933 main ()
42934 {
42935 return socket ();
42936 ;
42937 return 0;
42938 }
42939 _ACEOF
42940 rm -f conftest.$ac_objext conftest$ac_exeext
42941 if { (ac_try="$ac_link"
42942 case "(($ac_try" in
42943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42944 *) ac_try_echo=$ac_try;;
42945 esac
42946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42947 (eval "$ac_link") 2>conftest.er1
42948 ac_status=$?
42949 grep -v '^ *+' conftest.er1 >conftest.err
42950 rm -f conftest.er1
42951 cat conftest.err >&5
42952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42953 (exit $ac_status); } && {
42954 test -z "$ac_c_werror_flag" ||
42955 test ! -s conftest.err
42956 } && test -s conftest$ac_exeext &&
42957 $as_test_x conftest$ac_exeext; then
42958 ac_cv_lib_socket_socket=yes
42959 else
42960 echo "$as_me: failed program was:" >&5
42961 sed 's/^/| /' conftest.$ac_ext >&5
42962
42963 ac_cv_lib_socket_socket=no
42964 fi
42965
42966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42967 conftest$ac_exeext conftest.$ac_ext
42968 LIBS=$ac_check_lib_save_LIBS
42969 fi
42970 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42971 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42972 if test $ac_cv_lib_socket_socket = yes; then
42973 if test "$INET_LINK" != " -lsocket"; then
42974 INET_LINK="$INET_LINK -lsocket"
42975 fi
42976 else
42977
42978 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42979 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42980 wxUSE_SOCKETS=no
42981
42982
42983 fi
42984
42985
42986
42987 fi
42988
42989 fi
42990 fi
42991
42992 if test "$wxUSE_SOCKETS" = "yes" ; then
42993 if test "$TOOLKIT" != "MSW"; then
42994 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42995 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42996 if test "${wx_cv_type_getsockname3+set}" = set; then
42997 echo $ECHO_N "(cached) $ECHO_C" >&6
42998 else
42999
43000 ac_ext=cpp
43001 ac_cpp='$CXXCPP $CPPFLAGS'
43002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43005
43006 cat >conftest.$ac_ext <<_ACEOF
43007 /* confdefs.h. */
43008 _ACEOF
43009 cat confdefs.h >>conftest.$ac_ext
43010 cat >>conftest.$ac_ext <<_ACEOF
43011 /* end confdefs.h. */
43012
43013 #include <sys/types.h>
43014 #include <sys/socket.h>
43015
43016 int
43017 main ()
43018 {
43019
43020 socklen_t len;
43021 getsockname(0, 0, &len);
43022
43023 ;
43024 return 0;
43025 }
43026 _ACEOF
43027 rm -f conftest.$ac_objext
43028 if { (ac_try="$ac_compile"
43029 case "(($ac_try" in
43030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43031 *) ac_try_echo=$ac_try;;
43032 esac
43033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43034 (eval "$ac_compile") 2>conftest.er1
43035 ac_status=$?
43036 grep -v '^ *+' conftest.er1 >conftest.err
43037 rm -f conftest.er1
43038 cat conftest.err >&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } && {
43041 test -z "$ac_cxx_werror_flag" ||
43042 test ! -s conftest.err
43043 } && test -s conftest.$ac_objext; then
43044 wx_cv_type_getsockname3=socklen_t
43045 else
43046 echo "$as_me: failed program was:" >&5
43047 sed 's/^/| /' conftest.$ac_ext >&5
43048
43049
43050 CFLAGS_OLD="$CFLAGS"
43051 if test "$GCC" = yes ; then
43052 CFLAGS="-Werror $CFLAGS"
43053 fi
43054
43055 cat >conftest.$ac_ext <<_ACEOF
43056 /* confdefs.h. */
43057 _ACEOF
43058 cat confdefs.h >>conftest.$ac_ext
43059 cat >>conftest.$ac_ext <<_ACEOF
43060 /* end confdefs.h. */
43061
43062 #include <sys/types.h>
43063 #include <sys/socket.h>
43064
43065 int
43066 main ()
43067 {
43068
43069 size_t len;
43070 getsockname(0, 0, &len);
43071
43072 ;
43073 return 0;
43074 }
43075 _ACEOF
43076 rm -f conftest.$ac_objext
43077 if { (ac_try="$ac_compile"
43078 case "(($ac_try" in
43079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43080 *) ac_try_echo=$ac_try;;
43081 esac
43082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43083 (eval "$ac_compile") 2>conftest.er1
43084 ac_status=$?
43085 grep -v '^ *+' conftest.er1 >conftest.err
43086 rm -f conftest.er1
43087 cat conftest.err >&5
43088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43089 (exit $ac_status); } && {
43090 test -z "$ac_cxx_werror_flag" ||
43091 test ! -s conftest.err
43092 } && test -s conftest.$ac_objext; then
43093 wx_cv_type_getsockname3=size_t
43094 else
43095 echo "$as_me: failed program was:" >&5
43096 sed 's/^/| /' conftest.$ac_ext >&5
43097
43098 cat >conftest.$ac_ext <<_ACEOF
43099 /* confdefs.h. */
43100 _ACEOF
43101 cat confdefs.h >>conftest.$ac_ext
43102 cat >>conftest.$ac_ext <<_ACEOF
43103 /* end confdefs.h. */
43104
43105 #include <sys/types.h>
43106 #include <sys/socket.h>
43107
43108 int
43109 main ()
43110 {
43111
43112 int len;
43113 getsockname(0, 0, &len);
43114
43115 ;
43116 return 0;
43117 }
43118 _ACEOF
43119 rm -f conftest.$ac_objext
43120 if { (ac_try="$ac_compile"
43121 case "(($ac_try" in
43122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43123 *) ac_try_echo=$ac_try;;
43124 esac
43125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43126 (eval "$ac_compile") 2>conftest.er1
43127 ac_status=$?
43128 grep -v '^ *+' conftest.er1 >conftest.err
43129 rm -f conftest.er1
43130 cat conftest.err >&5
43131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43132 (exit $ac_status); } && {
43133 test -z "$ac_cxx_werror_flag" ||
43134 test ! -s conftest.err
43135 } && test -s conftest.$ac_objext; then
43136 wx_cv_type_getsockname3=int
43137 else
43138 echo "$as_me: failed program was:" >&5
43139 sed 's/^/| /' conftest.$ac_ext >&5
43140
43141 wx_cv_type_getsockname3=unknown
43142
43143 fi
43144
43145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43146
43147 fi
43148
43149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43150
43151 CFLAGS="$CFLAGS_OLD"
43152
43153
43154 fi
43155
43156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43157 ac_ext=c
43158 ac_cpp='$CPP $CPPFLAGS'
43159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43162
43163
43164 fi
43165 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43166 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43167
43168 if test "$wx_cv_type_getsockname3" = "unknown"; then
43169 wxUSE_SOCKETS=no
43170 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43171 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43172 else
43173 cat >>confdefs.h <<_ACEOF
43174 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43175 _ACEOF
43176
43177 fi
43178 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43179 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43180 if test "${wx_cv_type_getsockopt5+set}" = set; then
43181 echo $ECHO_N "(cached) $ECHO_C" >&6
43182 else
43183
43184 ac_ext=cpp
43185 ac_cpp='$CXXCPP $CPPFLAGS'
43186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43189
43190 cat >conftest.$ac_ext <<_ACEOF
43191 /* confdefs.h. */
43192 _ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h. */
43196
43197 #include <sys/types.h>
43198 #include <sys/socket.h>
43199
43200 int
43201 main ()
43202 {
43203
43204 socklen_t len;
43205 getsockopt(0, 0, 0, 0, &len);
43206
43207 ;
43208 return 0;
43209 }
43210 _ACEOF
43211 rm -f conftest.$ac_objext
43212 if { (ac_try="$ac_compile"
43213 case "(($ac_try" in
43214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43215 *) ac_try_echo=$ac_try;;
43216 esac
43217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43218 (eval "$ac_compile") 2>conftest.er1
43219 ac_status=$?
43220 grep -v '^ *+' conftest.er1 >conftest.err
43221 rm -f conftest.er1
43222 cat conftest.err >&5
43223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43224 (exit $ac_status); } && {
43225 test -z "$ac_cxx_werror_flag" ||
43226 test ! -s conftest.err
43227 } && test -s conftest.$ac_objext; then
43228 wx_cv_type_getsockopt5=socklen_t
43229 else
43230 echo "$as_me: failed program was:" >&5
43231 sed 's/^/| /' conftest.$ac_ext >&5
43232
43233
43234 cat >conftest.$ac_ext <<_ACEOF
43235 /* confdefs.h. */
43236 _ACEOF
43237 cat confdefs.h >>conftest.$ac_ext
43238 cat >>conftest.$ac_ext <<_ACEOF
43239 /* end confdefs.h. */
43240
43241 #include <sys/types.h>
43242 #include <sys/socket.h>
43243
43244 int
43245 main ()
43246 {
43247
43248 size_t len;
43249 getsockopt(0, 0, 0, 0, &len);
43250
43251 ;
43252 return 0;
43253 }
43254 _ACEOF
43255 rm -f conftest.$ac_objext
43256 if { (ac_try="$ac_compile"
43257 case "(($ac_try" in
43258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43259 *) ac_try_echo=$ac_try;;
43260 esac
43261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43262 (eval "$ac_compile") 2>conftest.er1
43263 ac_status=$?
43264 grep -v '^ *+' conftest.er1 >conftest.err
43265 rm -f conftest.er1
43266 cat conftest.err >&5
43267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43268 (exit $ac_status); } && {
43269 test -z "$ac_cxx_werror_flag" ||
43270 test ! -s conftest.err
43271 } && test -s conftest.$ac_objext; then
43272 wx_cv_type_getsockopt5=size_t
43273 else
43274 echo "$as_me: failed program was:" >&5
43275 sed 's/^/| /' conftest.$ac_ext >&5
43276
43277 cat >conftest.$ac_ext <<_ACEOF
43278 /* confdefs.h. */
43279 _ACEOF
43280 cat confdefs.h >>conftest.$ac_ext
43281 cat >>conftest.$ac_ext <<_ACEOF
43282 /* end confdefs.h. */
43283
43284 #include <sys/types.h>
43285 #include <sys/socket.h>
43286
43287 int
43288 main ()
43289 {
43290
43291 int len;
43292 getsockopt(0, 0, 0, 0, &len);
43293
43294 ;
43295 return 0;
43296 }
43297 _ACEOF
43298 rm -f conftest.$ac_objext
43299 if { (ac_try="$ac_compile"
43300 case "(($ac_try" in
43301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43302 *) ac_try_echo=$ac_try;;
43303 esac
43304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43305 (eval "$ac_compile") 2>conftest.er1
43306 ac_status=$?
43307 grep -v '^ *+' conftest.er1 >conftest.err
43308 rm -f conftest.er1
43309 cat conftest.err >&5
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); } && {
43312 test -z "$ac_cxx_werror_flag" ||
43313 test ! -s conftest.err
43314 } && test -s conftest.$ac_objext; then
43315 wx_cv_type_getsockopt5=int
43316 else
43317 echo "$as_me: failed program was:" >&5
43318 sed 's/^/| /' conftest.$ac_ext >&5
43319
43320 wx_cv_type_getsockopt5=unknown
43321
43322 fi
43323
43324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43325
43326 fi
43327
43328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43329
43330
43331 fi
43332
43333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43334 ac_ext=c
43335 ac_cpp='$CPP $CPPFLAGS'
43336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43339
43340
43341 fi
43342 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43343 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43344
43345 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43346 wxUSE_SOCKETS=no
43347 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43348 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43349 else
43350 cat >>confdefs.h <<_ACEOF
43351 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43352 _ACEOF
43353
43354 fi
43355 fi
43356 fi
43357
43358 if test "$wxUSE_SOCKETS" = "yes" ; then
43359 cat >>confdefs.h <<\_ACEOF
43360 #define wxUSE_SOCKETS 1
43361 _ACEOF
43362
43363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43364 fi
43365
43366 if test "$wxUSE_PROTOCOL" = "yes"; then
43367 if test "$wxUSE_SOCKETS" != "yes"; then
43368 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43369 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43370 wxUSE_PROTOCOL=no
43371 fi
43372 fi
43373
43374 if test "$wxUSE_PROTOCOL" = "yes"; then
43375 cat >>confdefs.h <<\_ACEOF
43376 #define wxUSE_PROTOCOL 1
43377 _ACEOF
43378
43379
43380 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43381 cat >>confdefs.h <<\_ACEOF
43382 #define wxUSE_PROTOCOL_HTTP 1
43383 _ACEOF
43384
43385 fi
43386 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43387 cat >>confdefs.h <<\_ACEOF
43388 #define wxUSE_PROTOCOL_FTP 1
43389 _ACEOF
43390
43391 fi
43392 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43393 cat >>confdefs.h <<\_ACEOF
43394 #define wxUSE_PROTOCOL_FILE 1
43395 _ACEOF
43396
43397 fi
43398 else
43399 if test "$wxUSE_FS_INET" = "yes"; then
43400 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43401 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43402 wxUSE_FS_INET="no"
43403 fi
43404 fi
43405
43406 if test "$wxUSE_URL" = "yes"; then
43407 if test "$wxUSE_PROTOCOL" != "yes"; then
43408 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43409 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43410 wxUSE_URL=no
43411 fi
43412 if test "$wxUSE_URL" = "yes"; then
43413 cat >>confdefs.h <<\_ACEOF
43414 #define wxUSE_URL 1
43415 _ACEOF
43416
43417 fi
43418 fi
43419
43420 if test "$wxUSE_VARIANT" = "yes"; then
43421 cat >>confdefs.h <<\_ACEOF
43422 #define wxUSE_VARIANT 1
43423 _ACEOF
43424
43425 fi
43426
43427 if test "$wxUSE_FS_INET" = "yes"; then
43428 cat >>confdefs.h <<\_ACEOF
43429 #define wxUSE_FS_INET 1
43430 _ACEOF
43431
43432 fi
43433
43434
43435 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43436 wxUSE_JOYSTICK=no
43437
43438 if test "$TOOLKIT" = "MSW"; then
43439 wxUSE_JOYSTICK=yes
43440
43441 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43442 if test "$USE_DARWIN" = 1; then
43443 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43444 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43445 ac_ext=cpp
43446 ac_cpp='$CXXCPP $CPPFLAGS'
43447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43450
43451 cat >conftest.$ac_ext <<_ACEOF
43452 /* confdefs.h. */
43453 _ACEOF
43454 cat confdefs.h >>conftest.$ac_ext
43455 cat >>conftest.$ac_ext <<_ACEOF
43456 /* end confdefs.h. */
43457 #include <IOKit/hid/IOHIDLib.h>
43458 int
43459 main ()
43460 {
43461 IOHIDQueueInterface *qi = NULL;
43462 IOHIDCallbackFunction cb = NULL;
43463 qi->setEventCallout(NULL, cb, NULL, NULL);
43464 ;
43465 return 0;
43466 }
43467 _ACEOF
43468 rm -f conftest.$ac_objext
43469 if { (ac_try="$ac_compile"
43470 case "(($ac_try" in
43471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43472 *) ac_try_echo=$ac_try;;
43473 esac
43474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43475 (eval "$ac_compile") 2>conftest.er1
43476 ac_status=$?
43477 grep -v '^ *+' conftest.er1 >conftest.err
43478 rm -f conftest.er1
43479 cat conftest.err >&5
43480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43481 (exit $ac_status); } && {
43482 test -z "$ac_cxx_werror_flag" ||
43483 test ! -s conftest.err
43484 } && test -s conftest.$ac_objext; then
43485 wxUSE_JOYSTICK=yes
43486
43487 else
43488 echo "$as_me: failed program was:" >&5
43489 sed 's/^/| /' conftest.$ac_ext >&5
43490
43491
43492 fi
43493
43494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43495 ac_ext=c
43496 ac_cpp='$CPP $CPPFLAGS'
43497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43500
43501 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43502 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43503 fi
43504
43505 else
43506 if test "$wxUSE_MGL" != "1"; then
43507 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43508 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43509 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43510 echo $ECHO_N "(cached) $ECHO_C" >&6
43511 else
43512 cat >conftest.$ac_ext <<_ACEOF
43513 /* confdefs.h. */
43514 _ACEOF
43515 cat confdefs.h >>conftest.$ac_ext
43516 cat >>conftest.$ac_ext <<_ACEOF
43517 /* end confdefs.h. */
43518 $ac_includes_default
43519
43520 #include <linux/joystick.h>
43521 _ACEOF
43522 rm -f conftest.$ac_objext
43523 if { (ac_try="$ac_compile"
43524 case "(($ac_try" in
43525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43526 *) ac_try_echo=$ac_try;;
43527 esac
43528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43529 (eval "$ac_compile") 2>conftest.er1
43530 ac_status=$?
43531 grep -v '^ *+' conftest.er1 >conftest.err
43532 rm -f conftest.er1
43533 cat conftest.err >&5
43534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535 (exit $ac_status); } && {
43536 test -z "$ac_c_werror_flag" ||
43537 test ! -s conftest.err
43538 } && test -s conftest.$ac_objext; then
43539 ac_cv_header_linux_joystick_h=yes
43540 else
43541 echo "$as_me: failed program was:" >&5
43542 sed 's/^/| /' conftest.$ac_ext >&5
43543
43544 ac_cv_header_linux_joystick_h=no
43545 fi
43546
43547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43548 fi
43549 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43550 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43551 if test $ac_cv_header_linux_joystick_h = yes; then
43552 wxUSE_JOYSTICK=yes
43553 fi
43554
43555
43556 fi
43557 fi
43558
43559 if test "$wxUSE_JOYSTICK" = "yes"; then
43560 cat >>confdefs.h <<\_ACEOF
43561 #define wxUSE_JOYSTICK 1
43562 _ACEOF
43563
43564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43565 else
43566 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43567 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43568 fi
43569 fi
43570
43571
43572
43573 if test "$wxUSE_FONTMAP" = "yes" ; then
43574 cat >>confdefs.h <<\_ACEOF
43575 #define wxUSE_FONTMAP 1
43576 _ACEOF
43577
43578 fi
43579
43580 if test "$wxUSE_UNICODE" = "yes" ; then
43581 cat >>confdefs.h <<\_ACEOF
43582 #define wxUSE_UNICODE 1
43583 _ACEOF
43584
43585
43586 if test "$USE_WIN32" != 1; then
43587 wxUSE_UNICODE_MSLU=no
43588 fi
43589
43590 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43591 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43592 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43593 if test "${ac_cv_lib_unicows_main+set}" = set; then
43594 echo $ECHO_N "(cached) $ECHO_C" >&6
43595 else
43596 ac_check_lib_save_LIBS=$LIBS
43597 LIBS="-lunicows $LIBS"
43598 cat >conftest.$ac_ext <<_ACEOF
43599 /* confdefs.h. */
43600 _ACEOF
43601 cat confdefs.h >>conftest.$ac_ext
43602 cat >>conftest.$ac_ext <<_ACEOF
43603 /* end confdefs.h. */
43604
43605
43606 int
43607 main ()
43608 {
43609 return main ();
43610 ;
43611 return 0;
43612 }
43613 _ACEOF
43614 rm -f conftest.$ac_objext conftest$ac_exeext
43615 if { (ac_try="$ac_link"
43616 case "(($ac_try" in
43617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43618 *) ac_try_echo=$ac_try;;
43619 esac
43620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43621 (eval "$ac_link") 2>conftest.er1
43622 ac_status=$?
43623 grep -v '^ *+' conftest.er1 >conftest.err
43624 rm -f conftest.er1
43625 cat conftest.err >&5
43626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43627 (exit $ac_status); } && {
43628 test -z "$ac_c_werror_flag" ||
43629 test ! -s conftest.err
43630 } && test -s conftest$ac_exeext &&
43631 $as_test_x conftest$ac_exeext; then
43632 ac_cv_lib_unicows_main=yes
43633 else
43634 echo "$as_me: failed program was:" >&5
43635 sed 's/^/| /' conftest.$ac_ext >&5
43636
43637 ac_cv_lib_unicows_main=no
43638 fi
43639
43640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43641 conftest$ac_exeext conftest.$ac_ext
43642 LIBS=$ac_check_lib_save_LIBS
43643 fi
43644 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43645 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43646 if test $ac_cv_lib_unicows_main = yes; then
43647
43648 cat >>confdefs.h <<\_ACEOF
43649 #define wxUSE_UNICODE_MSLU 1
43650 _ACEOF
43651
43652
43653 else
43654
43655 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43656 Applications will only run on Windows NT/2000/XP!" >&5
43657 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43658 Applications will only run on Windows NT/2000/XP!" >&2;}
43659 wxUSE_UNICODE_MSLU=no
43660
43661 fi
43662
43663 fi
43664 fi
43665
43666 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43667 cat >>confdefs.h <<\_ACEOF
43668 #define wxUSE_UNICODE_UTF8 1
43669 _ACEOF
43670
43671
43672 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43673 cat >>confdefs.h <<\_ACEOF
43674 #define wxUSE_UTF8_LOCALE_ONLY 1
43675 _ACEOF
43676
43677 fi
43678 fi
43679
43680 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43681 cat >>confdefs.h <<\_ACEOF
43682 #define wxUSE_EXPERIMENTAL_PRINTF 1
43683 _ACEOF
43684
43685 fi
43686
43687
43688 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43689 cat >>confdefs.h <<\_ACEOF
43690 #define wxUSE_POSTSCRIPT 1
43691 _ACEOF
43692
43693 fi
43694
43695 cat >>confdefs.h <<\_ACEOF
43696 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43697 _ACEOF
43698
43699
43700 cat >>confdefs.h <<\_ACEOF
43701 #define wxUSE_NORMALIZED_PS_FONTS 1
43702 _ACEOF
43703
43704
43705
43706 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_CONSTRAINTS 1
43709 _ACEOF
43710
43711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43712 fi
43713
43714 if test "$wxUSE_MDI" = "yes"; then
43715 cat >>confdefs.h <<\_ACEOF
43716 #define wxUSE_MDI 1
43717 _ACEOF
43718
43719
43720 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43721 cat >>confdefs.h <<\_ACEOF
43722 #define wxUSE_MDI_ARCHITECTURE 1
43723 _ACEOF
43724
43725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43726 fi
43727 fi
43728
43729 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43730 cat >>confdefs.h <<\_ACEOF
43731 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43732 _ACEOF
43733
43734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43735 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43737 fi
43738 fi
43739
43740 if test "$wxUSE_HELP" = "yes"; then
43741 cat >>confdefs.h <<\_ACEOF
43742 #define wxUSE_HELP 1
43743 _ACEOF
43744
43745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43746
43747 if test "$wxUSE_MSW" = 1; then
43748 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43749 cat >>confdefs.h <<\_ACEOF
43750 #define wxUSE_MS_HTML_HELP 1
43751 _ACEOF
43752
43753 fi
43754 fi
43755
43756 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43757 if test "$wxUSE_HTML" = "yes"; then
43758 cat >>confdefs.h <<\_ACEOF
43759 #define wxUSE_WXHTML_HELP 1
43760 _ACEOF
43761
43762 else
43763 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43764 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43765 wxUSE_WXHTML_HELP=no
43766 fi
43767 fi
43768 fi
43769
43770 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43771 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43772 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43773 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43774 else
43775 cat >>confdefs.h <<\_ACEOF
43776 #define wxUSE_PRINTING_ARCHITECTURE 1
43777 _ACEOF
43778
43779 fi
43780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43781 fi
43782
43783
43784
43785 if test "$wxUSE_METAFILE" = "yes"; then
43786 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43787 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43788 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43789 wxUSE_METAFILE=no
43790 fi
43791 fi
43792
43793
43794 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43795 -o "$wxUSE_CLIPBOARD" = "yes" \
43796 -o "$wxUSE_OLE" = "yes" \
43797 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43798 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43799 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43800 if test "${ac_cv_header_ole2_h+set}" = set; then
43801 echo $ECHO_N "(cached) $ECHO_C" >&6
43802 else
43803 cat >conftest.$ac_ext <<_ACEOF
43804 /* confdefs.h. */
43805 _ACEOF
43806 cat confdefs.h >>conftest.$ac_ext
43807 cat >>conftest.$ac_ext <<_ACEOF
43808 /* end confdefs.h. */
43809
43810
43811 #include <ole2.h>
43812 _ACEOF
43813 rm -f conftest.$ac_objext
43814 if { (ac_try="$ac_compile"
43815 case "(($ac_try" in
43816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43817 *) ac_try_echo=$ac_try;;
43818 esac
43819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43820 (eval "$ac_compile") 2>conftest.er1
43821 ac_status=$?
43822 grep -v '^ *+' conftest.er1 >conftest.err
43823 rm -f conftest.er1
43824 cat conftest.err >&5
43825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43826 (exit $ac_status); } && {
43827 test -z "$ac_c_werror_flag" ||
43828 test ! -s conftest.err
43829 } && test -s conftest.$ac_objext; then
43830 ac_cv_header_ole2_h=yes
43831 else
43832 echo "$as_me: failed program was:" >&5
43833 sed 's/^/| /' conftest.$ac_ext >&5
43834
43835 ac_cv_header_ole2_h=no
43836 fi
43837
43838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43839 fi
43840 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43841 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43842
43843
43844
43845 if test "$ac_cv_header_ole2_h" = "yes" ; then
43846 if test "$GCC" = yes ; then
43847 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43848 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43849 cat >conftest.$ac_ext <<_ACEOF
43850 /* confdefs.h. */
43851 _ACEOF
43852 cat confdefs.h >>conftest.$ac_ext
43853 cat >>conftest.$ac_ext <<_ACEOF
43854 /* end confdefs.h. */
43855 #include <windows.h>
43856 #include <ole2.h>
43857 int
43858 main ()
43859 {
43860
43861 ;
43862 return 0;
43863 }
43864 _ACEOF
43865 rm -f conftest.$ac_objext
43866 if { (ac_try="$ac_compile"
43867 case "(($ac_try" in
43868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43869 *) ac_try_echo=$ac_try;;
43870 esac
43871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43872 (eval "$ac_compile") 2>conftest.er1
43873 ac_status=$?
43874 grep -v '^ *+' conftest.er1 >conftest.err
43875 rm -f conftest.er1
43876 cat conftest.err >&5
43877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43878 (exit $ac_status); } && {
43879 test -z "$ac_c_werror_flag" ||
43880 test ! -s conftest.err
43881 } && test -s conftest.$ac_objext; then
43882 { echo "$as_me:$LINENO: result: no" >&5
43883 echo "${ECHO_T}no" >&6; }
43884 else
43885 echo "$as_me: failed program was:" >&5
43886 sed 's/^/| /' conftest.$ac_ext >&5
43887
43888 { echo "$as_me:$LINENO: result: yes" >&5
43889 echo "${ECHO_T}yes" >&6; }
43890 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43891 fi
43892
43893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43894 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43895 if test "$wxUSE_OLE" = "yes" ; then
43896 cat >>confdefs.h <<\_ACEOF
43897 #define wxUSE_OLE 1
43898 _ACEOF
43899
43900 cat >>confdefs.h <<\_ACEOF
43901 #define wxUSE_OLE_AUTOMATION 1
43902 _ACEOF
43903
43904 cat >>confdefs.h <<\_ACEOF
43905 #define wxUSE_ACTIVEX 1
43906 _ACEOF
43907
43908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43909 fi
43910 fi
43911
43912 if test "$wxUSE_DATAOBJ" = "yes" ; then
43913 cat >>confdefs.h <<\_ACEOF
43914 #define wxUSE_DATAOBJ 1
43915 _ACEOF
43916
43917 fi
43918 else
43919 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43920 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43921
43922 wxUSE_CLIPBOARD=no
43923 wxUSE_DRAG_AND_DROP=no
43924 wxUSE_DATAOBJ=no
43925 wxUSE_OLE=no
43926 fi
43927
43928 if test "$wxUSE_METAFILE" = "yes"; then
43929 cat >>confdefs.h <<\_ACEOF
43930 #define wxUSE_METAFILE 1
43931 _ACEOF
43932
43933
43934 cat >>confdefs.h <<\_ACEOF
43935 #define wxUSE_ENH_METAFILE 1
43936 _ACEOF
43937
43938 fi
43939 fi
43940
43941 if test "$wxUSE_IPC" = "yes"; then
43942 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43943 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43944 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43945 wxUSE_IPC=no
43946 fi
43947
43948 if test "$wxUSE_IPC" = "yes"; then
43949 cat >>confdefs.h <<\_ACEOF
43950 #define wxUSE_IPC 1
43951 _ACEOF
43952
43953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43954 fi
43955 fi
43956
43957 if test "$wxUSE_DATAOBJ" = "yes"; then
43958 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43959 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43960 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43961 wxUSE_DATAOBJ=no
43962 else
43963 cat >>confdefs.h <<\_ACEOF
43964 #define wxUSE_DATAOBJ 1
43965 _ACEOF
43966
43967 fi
43968 else
43969 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43970 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43971 wxUSE_CLIPBOARD=no
43972 wxUSE_DRAG_AND_DROP=no
43973 fi
43974
43975 if test "$wxUSE_CLIPBOARD" = "yes"; then
43976 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43977 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43978 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43979 wxUSE_CLIPBOARD=no
43980 fi
43981
43982 if test "$wxUSE_CLIPBOARD" = "yes"; then
43983 cat >>confdefs.h <<\_ACEOF
43984 #define wxUSE_CLIPBOARD 1
43985 _ACEOF
43986
43987 fi
43988 fi
43989
43990 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43991 if test "$wxUSE_GTK" = 1; then
43992 if test "$WXGTK12" != 1; then
43993 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43994 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43995 wxUSE_DRAG_AND_DROP=no
43996 fi
43997 fi
43998
43999 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44000 "$wxUSE_DFB" = 1; then
44001 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44002 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44003 wxUSE_DRAG_AND_DROP=no
44004 fi
44005
44006 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44007 cat >>confdefs.h <<\_ACEOF
44008 #define wxUSE_DRAG_AND_DROP 1
44009 _ACEOF
44010
44011 fi
44012
44013 fi
44014
44015 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44017 fi
44018
44019 if test "$wxUSE_SPLINES" = "yes" ; then
44020 cat >>confdefs.h <<\_ACEOF
44021 #define wxUSE_SPLINES 1
44022 _ACEOF
44023
44024 fi
44025
44026 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44027 cat >>confdefs.h <<\_ACEOF
44028 #define wxUSE_MOUSEWHEEL 1
44029 _ACEOF
44030
44031 fi
44032
44033
44034 USES_CONTROLS=0
44035 if test "$wxUSE_CONTROLS" = "yes"; then
44036 USES_CONTROLS=1
44037 fi
44038
44039 if test "$wxUSE_ACCEL" = "yes"; then
44040 cat >>confdefs.h <<\_ACEOF
44041 #define wxUSE_ACCEL 1
44042 _ACEOF
44043
44044 USES_CONTROLS=1
44045 fi
44046
44047 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44048 cat >>confdefs.h <<\_ACEOF
44049 #define wxUSE_ANIMATIONCTRL 1
44050 _ACEOF
44051
44052 USES_CONTROLS=1
44053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44054 fi
44055
44056 if test "$wxUSE_BUTTON" = "yes"; then
44057 cat >>confdefs.h <<\_ACEOF
44058 #define wxUSE_BUTTON 1
44059 _ACEOF
44060
44061 USES_CONTROLS=1
44062 fi
44063
44064 if test "$wxUSE_BMPBUTTON" = "yes"; then
44065 cat >>confdefs.h <<\_ACEOF
44066 #define wxUSE_BMPBUTTON 1
44067 _ACEOF
44068
44069 USES_CONTROLS=1
44070 fi
44071
44072 if test "$wxUSE_CALCTRL" = "yes"; then
44073 cat >>confdefs.h <<\_ACEOF
44074 #define wxUSE_CALENDARCTRL 1
44075 _ACEOF
44076
44077 USES_CONTROLS=1
44078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44079 fi
44080
44081 if test "$wxUSE_CARET" = "yes"; then
44082 cat >>confdefs.h <<\_ACEOF
44083 #define wxUSE_CARET 1
44084 _ACEOF
44085
44086 USES_CONTROLS=1
44087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44088 fi
44089
44090 if test "$wxUSE_COLLPANE" = "yes"; then
44091 cat >>confdefs.h <<\_ACEOF
44092 #define wxUSE_COLLPANE 1
44093 _ACEOF
44094
44095 USES_CONTROLS=1
44096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44097 fi
44098
44099 if test "$wxUSE_COMBOBOX" = "yes"; then
44100 cat >>confdefs.h <<\_ACEOF
44101 #define wxUSE_COMBOBOX 1
44102 _ACEOF
44103
44104 USES_CONTROLS=1
44105 fi
44106
44107 if test "$wxUSE_COMBOCTRL" = "yes"; then
44108 cat >>confdefs.h <<\_ACEOF
44109 #define wxUSE_COMBOCTRL 1
44110 _ACEOF
44111
44112 USES_CONTROLS=1
44113 fi
44114
44115 if test "$wxUSE_CHOICE" = "yes"; then
44116 cat >>confdefs.h <<\_ACEOF
44117 #define wxUSE_CHOICE 1
44118 _ACEOF
44119
44120 USES_CONTROLS=1
44121 fi
44122
44123 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44124 cat >>confdefs.h <<\_ACEOF
44125 #define wxUSE_CHOICEBOOK 1
44126 _ACEOF
44127
44128 USES_CONTROLS=1
44129 fi
44130
44131 if test "$wxUSE_CHECKBOX" = "yes"; then
44132 cat >>confdefs.h <<\_ACEOF
44133 #define wxUSE_CHECKBOX 1
44134 _ACEOF
44135
44136 USES_CONTROLS=1
44137 fi
44138
44139 if test "$wxUSE_CHECKLST" = "yes"; then
44140 cat >>confdefs.h <<\_ACEOF
44141 #define wxUSE_CHECKLISTBOX 1
44142 _ACEOF
44143
44144 USES_CONTROLS=1
44145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44146 fi
44147
44148 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44149 cat >>confdefs.h <<\_ACEOF
44150 #define wxUSE_COLOURPICKERCTRL 1
44151 _ACEOF
44152
44153 USES_CONTROLS=1
44154 fi
44155
44156 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44157 cat >>confdefs.h <<\_ACEOF
44158 #define wxUSE_DATEPICKCTRL 1
44159 _ACEOF
44160
44161 USES_CONTROLS=1
44162 fi
44163
44164 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44165 cat >>confdefs.h <<\_ACEOF
44166 #define wxUSE_DIRPICKERCTRL 1
44167 _ACEOF
44168
44169 USES_CONTROLS=1
44170 fi
44171
44172 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44173 cat >>confdefs.h <<\_ACEOF
44174 #define wxUSE_FILEPICKERCTRL 1
44175 _ACEOF
44176
44177 USES_CONTROLS=1
44178 fi
44179
44180 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44181 cat >>confdefs.h <<\_ACEOF
44182 #define wxUSE_FONTPICKERCTRL 1
44183 _ACEOF
44184
44185 USES_CONTROLS=1
44186 fi
44187
44188 if test "$wxUSE_DISPLAY" = "yes"; then
44189 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44190 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44191 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44192 wxUSE_DISPLAY=no
44193 else
44194 cat >>confdefs.h <<\_ACEOF
44195 #define wxUSE_DISPLAY 1
44196 _ACEOF
44197
44198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44199 fi
44200 fi
44201
44202 if test "$wxUSE_DETECT_SM" = "yes"; then
44203 cat >>confdefs.h <<\_ACEOF
44204 #define wxUSE_DETECT_SM 1
44205 _ACEOF
44206
44207 fi
44208
44209 if test "$wxUSE_GAUGE" = "yes"; then
44210 cat >>confdefs.h <<\_ACEOF
44211 #define wxUSE_GAUGE 1
44212 _ACEOF
44213
44214 USES_CONTROLS=1
44215 fi
44216
44217 if test "$wxUSE_GRID" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_GRID 1
44220 _ACEOF
44221
44222 USES_CONTROLS=1
44223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44224 fi
44225
44226 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44227 cat >>confdefs.h <<\_ACEOF
44228 #define wxUSE_HYPERLINKCTRL 1
44229 _ACEOF
44230
44231 USES_CONTROLS=1
44232 fi
44233
44234 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44235 cat >>confdefs.h <<\_ACEOF
44236 #define wxUSE_BITMAPCOMBOBOX 1
44237 _ACEOF
44238
44239 USES_CONTROLS=1
44240 fi
44241
44242 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44243 cat >>confdefs.h <<\_ACEOF
44244 #define wxUSE_DATAVIEWCTRL 1
44245 _ACEOF
44246
44247 USES_CONTROLS=1
44248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44249 fi
44250
44251 if test "$wxUSE_IMAGLIST" = "yes"; then
44252 cat >>confdefs.h <<\_ACEOF
44253 #define wxUSE_IMAGLIST 1
44254 _ACEOF
44255
44256 fi
44257
44258 if test "$wxUSE_LISTBOOK" = "yes"; then
44259 cat >>confdefs.h <<\_ACEOF
44260 #define wxUSE_LISTBOOK 1
44261 _ACEOF
44262
44263 USES_CONTROLS=1
44264 fi
44265
44266 if test "$wxUSE_LISTBOX" = "yes"; then
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_LISTBOX 1
44269 _ACEOF
44270
44271 USES_CONTROLS=1
44272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44273 fi
44274
44275 if test "$wxUSE_LISTCTRL" = "yes"; then
44276 if test "$wxUSE_IMAGLIST" = "yes"; then
44277 cat >>confdefs.h <<\_ACEOF
44278 #define wxUSE_LISTCTRL 1
44279 _ACEOF
44280
44281 USES_CONTROLS=1
44282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44283 else
44284 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44285 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44286 fi
44287 fi
44288
44289 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44290 cat >>confdefs.h <<\_ACEOF
44291 #define wxUSE_EDITABLELISTBOX 1
44292 _ACEOF
44293
44294 USES_CONTROLS=1
44295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44296 fi
44297
44298 if test "$wxUSE_NOTEBOOK" = "yes"; then
44299 cat >>confdefs.h <<\_ACEOF
44300 #define wxUSE_NOTEBOOK 1
44301 _ACEOF
44302
44303 USES_CONTROLS=1
44304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44305 fi
44306
44307 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44308 cat >>confdefs.h <<\_ACEOF
44309 #define wxUSE_ODCOMBOBOX 1
44310 _ACEOF
44311
44312 USES_CONTROLS=1
44313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44314 fi
44315
44316
44317 if test "$wxUSE_RADIOBOX" = "yes"; then
44318 cat >>confdefs.h <<\_ACEOF
44319 #define wxUSE_RADIOBOX 1
44320 _ACEOF
44321
44322 USES_CONTROLS=1
44323 fi
44324
44325 if test "$wxUSE_RADIOBTN" = "yes"; then
44326 cat >>confdefs.h <<\_ACEOF
44327 #define wxUSE_RADIOBTN 1
44328 _ACEOF
44329
44330 USES_CONTROLS=1
44331 fi
44332
44333 if test "$wxUSE_SASH" = "yes"; then
44334 cat >>confdefs.h <<\_ACEOF
44335 #define wxUSE_SASH 1
44336 _ACEOF
44337
44338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44339 fi
44340
44341 if test "$wxUSE_SCROLLBAR" = "yes"; then
44342 cat >>confdefs.h <<\_ACEOF
44343 #define wxUSE_SCROLLBAR 1
44344 _ACEOF
44345
44346 USES_CONTROLS=1
44347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44348 fi
44349
44350 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44351 cat >>confdefs.h <<\_ACEOF
44352 #define wxUSE_SEARCHCTRL 1
44353 _ACEOF
44354
44355 USES_CONTROLS=1
44356 fi
44357
44358 if test "$wxUSE_SLIDER" = "yes"; then
44359 cat >>confdefs.h <<\_ACEOF
44360 #define wxUSE_SLIDER 1
44361 _ACEOF
44362
44363 USES_CONTROLS=1
44364 fi
44365
44366 if test "$wxUSE_SPINBTN" = "yes"; then
44367 cat >>confdefs.h <<\_ACEOF
44368 #define wxUSE_SPINBTN 1
44369 _ACEOF
44370
44371 USES_CONTROLS=1
44372 fi
44373
44374 if test "$wxUSE_SPINCTRL" = "yes"; then
44375 cat >>confdefs.h <<\_ACEOF
44376 #define wxUSE_SPINCTRL 1
44377 _ACEOF
44378
44379 USES_CONTROLS=1
44380 fi
44381
44382 if test "$wxUSE_SPLITTER" = "yes"; then
44383 cat >>confdefs.h <<\_ACEOF
44384 #define wxUSE_SPLITTER 1
44385 _ACEOF
44386
44387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44388 fi
44389
44390 if test "$wxUSE_STATBMP" = "yes"; then
44391 cat >>confdefs.h <<\_ACEOF
44392 #define wxUSE_STATBMP 1
44393 _ACEOF
44394
44395 USES_CONTROLS=1
44396 fi
44397
44398 if test "$wxUSE_STATBOX" = "yes"; then
44399 cat >>confdefs.h <<\_ACEOF
44400 #define wxUSE_STATBOX 1
44401 _ACEOF
44402
44403 USES_CONTROLS=1
44404 fi
44405
44406 if test "$wxUSE_STATTEXT" = "yes"; then
44407 cat >>confdefs.h <<\_ACEOF
44408 #define wxUSE_STATTEXT 1
44409 _ACEOF
44410
44411 USES_CONTROLS=1
44412 fi
44413
44414 if test "$wxUSE_STATLINE" = "yes"; then
44415 cat >>confdefs.h <<\_ACEOF
44416 #define wxUSE_STATLINE 1
44417 _ACEOF
44418
44419 USES_CONTROLS=1
44420 fi
44421
44422 if test "$wxUSE_STATUSBAR" = "yes"; then
44423 cat >>confdefs.h <<\_ACEOF
44424 #define wxUSE_NATIVE_STATUSBAR 1
44425 _ACEOF
44426
44427 cat >>confdefs.h <<\_ACEOF
44428 #define wxUSE_STATUSBAR 1
44429 _ACEOF
44430
44431 USES_CONTROLS=1
44432
44433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44434 fi
44435
44436 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_TAB_DIALOG 1
44439 _ACEOF
44440
44441 fi
44442
44443 if test "$wxUSE_TEXTCTRL" = "yes"; then
44444 cat >>confdefs.h <<\_ACEOF
44445 #define wxUSE_TEXTCTRL 1
44446 _ACEOF
44447
44448 USES_CONTROLS=1
44449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44450 fi
44451
44452 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44453 if test "$wxUSE_COCOA" = 1 ; then
44454 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44455 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44456 wxUSE_TOGGLEBTN=no
44457 fi
44458
44459 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44460 cat >>confdefs.h <<\_ACEOF
44461 #define wxUSE_TOGGLEBTN 1
44462 _ACEOF
44463
44464 USES_CONTROLS=1
44465 fi
44466 fi
44467
44468 if test "$wxUSE_TOOLBAR" = "yes"; then
44469 cat >>confdefs.h <<\_ACEOF
44470 #define wxUSE_TOOLBAR 1
44471 _ACEOF
44472
44473 USES_CONTROLS=1
44474
44475 if test "$wxUSE_UNIVERSAL" = "yes"; then
44476 wxUSE_TOOLBAR_NATIVE="no"
44477 else
44478 wxUSE_TOOLBAR_NATIVE="yes"
44479 cat >>confdefs.h <<\_ACEOF
44480 #define wxUSE_TOOLBAR_NATIVE 1
44481 _ACEOF
44482
44483 fi
44484
44485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44486 fi
44487
44488 if test "$wxUSE_TOOLTIPS" = "yes"; then
44489 if test "$wxUSE_MOTIF" = 1; then
44490 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44491 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44492 else
44493 if test "$wxUSE_UNIVERSAL" = "yes"; then
44494 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44495 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44496 else
44497 cat >>confdefs.h <<\_ACEOF
44498 #define wxUSE_TOOLTIPS 1
44499 _ACEOF
44500
44501 fi
44502 fi
44503 fi
44504
44505 if test "$wxUSE_TREEBOOK" = "yes"; then
44506 cat >>confdefs.h <<\_ACEOF
44507 #define wxUSE_TREEBOOK 1
44508 _ACEOF
44509
44510 USES_CONTROLS=1
44511 fi
44512
44513 if test "$wxUSE_TOOLBOOK" = "yes"; then
44514 cat >>confdefs.h <<\_ACEOF
44515 #define wxUSE_TOOLBOOK 1
44516 _ACEOF
44517
44518 USES_CONTROLS=1
44519 fi
44520
44521 if test "$wxUSE_TREECTRL" = "yes"; then
44522 if test "$wxUSE_IMAGLIST" = "yes"; then
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_TREECTRL 1
44525 _ACEOF
44526
44527 USES_CONTROLS=1
44528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44529 else
44530 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44531 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44532 fi
44533 fi
44534
44535 if test "$wxUSE_POPUPWIN" = "yes"; then
44536 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44537 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44538 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44539 else
44540 if test "$wxUSE_PM" = 1; then
44541 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44542 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44543 else
44544 cat >>confdefs.h <<\_ACEOF
44545 #define wxUSE_POPUPWIN 1
44546 _ACEOF
44547
44548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44549
44550 USES_CONTROLS=1
44551 fi
44552 fi
44553 fi
44554
44555 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44556 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44557 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44558 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44559 else
44560 cat >>confdefs.h <<\_ACEOF
44561 #define wxUSE_DIALUP_MANAGER 1
44562 _ACEOF
44563
44564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44565 fi
44566 fi
44567
44568 if test "$wxUSE_TIPWINDOW" = "yes"; then
44569 if test "$wxUSE_PM" = 1; then
44570 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44571 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44572 else
44573 cat >>confdefs.h <<\_ACEOF
44574 #define wxUSE_TIPWINDOW 1
44575 _ACEOF
44576
44577 fi
44578 fi
44579
44580 if test "$USES_CONTROLS" = 1; then
44581 cat >>confdefs.h <<\_ACEOF
44582 #define wxUSE_CONTROLS 1
44583 _ACEOF
44584
44585 fi
44586
44587
44588 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44589 cat >>confdefs.h <<\_ACEOF
44590 #define wxUSE_ACCESSIBILITY 1
44591 _ACEOF
44592
44593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44594 fi
44595
44596 if test "$wxUSE_DC_CACHEING" = "yes"; then
44597 cat >>confdefs.h <<\_ACEOF
44598 #define wxUSE_DC_CACHEING 1
44599 _ACEOF
44600
44601 fi
44602
44603 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44604 cat >>confdefs.h <<\_ACEOF
44605 #define wxUSE_DRAGIMAGE 1
44606 _ACEOF
44607
44608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44609 fi
44610
44611 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44612 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44613 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44614 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44615 else
44616 cat >>confdefs.h <<\_ACEOF
44617 #define wxUSE_EXCEPTIONS 1
44618 _ACEOF
44619
44620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44621 fi
44622 fi
44623
44624 USE_HTML=0
44625 if test "$wxUSE_HTML" = "yes"; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_HTML 1
44628 _ACEOF
44629
44630 USE_HTML=1
44631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44632 if test "$wxUSE_MAC" = 1; then
44633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44634 fi
44635 fi
44636 if test "$wxUSE_WEBKIT" = "yes"; then
44637 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44638 old_CPPFLAGS="$CPPFLAGS"
44639 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44640 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44641 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44642 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44643 echo $ECHO_N "(cached) $ECHO_C" >&6
44644 else
44645 cat >conftest.$ac_ext <<_ACEOF
44646 /* confdefs.h. */
44647 _ACEOF
44648 cat confdefs.h >>conftest.$ac_ext
44649 cat >>conftest.$ac_ext <<_ACEOF
44650 /* end confdefs.h. */
44651
44652 #include <Carbon/Carbon.h>
44653 #include <WebKit/WebKit.h>
44654
44655
44656 #include <WebKit/HIWebView.h>
44657 _ACEOF
44658 rm -f conftest.$ac_objext
44659 if { (ac_try="$ac_compile"
44660 case "(($ac_try" in
44661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44662 *) ac_try_echo=$ac_try;;
44663 esac
44664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44665 (eval "$ac_compile") 2>conftest.er1
44666 ac_status=$?
44667 grep -v '^ *+' conftest.er1 >conftest.err
44668 rm -f conftest.er1
44669 cat conftest.err >&5
44670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44671 (exit $ac_status); } && {
44672 test -z "$ac_c_werror_flag" ||
44673 test ! -s conftest.err
44674 } && test -s conftest.$ac_objext; then
44675 ac_cv_header_WebKit_HIWebView_h=yes
44676 else
44677 echo "$as_me: failed program was:" >&5
44678 sed 's/^/| /' conftest.$ac_ext >&5
44679
44680 ac_cv_header_WebKit_HIWebView_h=no
44681 fi
44682
44683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44684 fi
44685 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44686 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44687 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44688
44689 cat >>confdefs.h <<\_ACEOF
44690 #define wxUSE_WEBKIT 1
44691 _ACEOF
44692
44693 WEBKIT_LINK="-framework WebKit"
44694
44695 else
44696
44697 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44698 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44699 wxUSE_WEBKIT=no
44700
44701 fi
44702
44703
44704 CPPFLAGS="$old_CPPFLAGS"
44705 elif test "$wxUSE_COCOA" = 1; then
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_WEBKIT 1
44708 _ACEOF
44709
44710 else
44711 wxUSE_WEBKIT=no
44712 fi
44713 fi
44714
44715 USE_XRC=0
44716 if test "$wxUSE_XRC" = "yes"; then
44717 if test "$wxUSE_XML" != "yes"; then
44718 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44719 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44720 wxUSE_XRC=no
44721 else
44722 cat >>confdefs.h <<\_ACEOF
44723 #define wxUSE_XRC 1
44724 _ACEOF
44725
44726 USE_XRC=1
44727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44728 fi
44729 fi
44730
44731 USE_AUI=0
44732 if test "$wxUSE_AUI" = "yes"; then
44733 cat >>confdefs.h <<\_ACEOF
44734 #define wxUSE_AUI 1
44735 _ACEOF
44736
44737 USE_AUI=1
44738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44739 fi
44740
44741 USE_STC=0
44742 if test "$wxUSE_STC" = "yes"; then
44743 cat >>confdefs.h <<\_ACEOF
44744 #define wxUSE_STC 1
44745 _ACEOF
44746
44747 USE_STC=1
44748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44749 fi
44750
44751 if test "$wxUSE_MENUS" = "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define wxUSE_MENUS 1
44754 _ACEOF
44755
44756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44757 fi
44758
44759 if test "$wxUSE_METAFILE" = "yes"; then
44760 cat >>confdefs.h <<\_ACEOF
44761 #define wxUSE_METAFILE 1
44762 _ACEOF
44763
44764 fi
44765
44766 if test "$wxUSE_MIMETYPE" = "yes"; then
44767 cat >>confdefs.h <<\_ACEOF
44768 #define wxUSE_MIMETYPE 1
44769 _ACEOF
44770
44771 fi
44772
44773 if test "$wxUSE_MINIFRAME" = "yes"; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_MINIFRAME 1
44776 _ACEOF
44777
44778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44779 fi
44780
44781 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44782 cat >>confdefs.h <<\_ACEOF
44783 #define wxUSE_SYSTEM_OPTIONS 1
44784 _ACEOF
44785
44786 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44787 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44789 fi
44790 fi
44791
44792
44793 if test "$wxUSE_VALIDATORS" = "yes"; then
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_VALIDATORS 1
44796 _ACEOF
44797
44798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44799 fi
44800
44801 if test "$wxUSE_PALETTE" = "yes" ; then
44802 if test "$wxUSE_DFB" = 1; then
44803 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44804 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44805 wxUSE_PALETTE=no
44806 else
44807 cat >>confdefs.h <<\_ACEOF
44808 #define wxUSE_PALETTE 1
44809 _ACEOF
44810
44811 fi
44812 fi
44813
44814 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44815 LIBS=" -lunicows $LIBS"
44816 fi
44817
44818 USE_RICHTEXT=0
44819 if test "$wxUSE_RICHTEXT" = "yes"; then
44820 cat >>confdefs.h <<\_ACEOF
44821 #define wxUSE_RICHTEXT 1
44822 _ACEOF
44823
44824 USE_RICHTEXT=1
44825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44826 fi
44827
44828
44829 if test "$wxUSE_IMAGE" = "yes" ; then
44830 cat >>confdefs.h <<\_ACEOF
44831 #define wxUSE_IMAGE 1
44832 _ACEOF
44833
44834
44835 if test "$wxUSE_GIF" = "yes" ; then
44836 cat >>confdefs.h <<\_ACEOF
44837 #define wxUSE_GIF 1
44838 _ACEOF
44839
44840 fi
44841
44842 if test "$wxUSE_PCX" = "yes" ; then
44843 cat >>confdefs.h <<\_ACEOF
44844 #define wxUSE_PCX 1
44845 _ACEOF
44846
44847 fi
44848
44849 if test "$wxUSE_TGA" = "yes" ; then
44850 cat >>confdefs.h <<\_ACEOF
44851 #define wxUSE_TGA 1
44852 _ACEOF
44853
44854 fi
44855
44856 if test "$wxUSE_IFF" = "yes" ; then
44857 cat >>confdefs.h <<\_ACEOF
44858 #define wxUSE_IFF 1
44859 _ACEOF
44860
44861 fi
44862
44863 if test "$wxUSE_PNM" = "yes" ; then
44864 cat >>confdefs.h <<\_ACEOF
44865 #define wxUSE_PNM 1
44866 _ACEOF
44867
44868 fi
44869
44870 if test "$wxUSE_XPM" = "yes" ; then
44871 cat >>confdefs.h <<\_ACEOF
44872 #define wxUSE_XPM 1
44873 _ACEOF
44874
44875 fi
44876
44877 if test "$wxUSE_ICO_CUR" = "yes" ; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_ICO_CUR 1
44880 _ACEOF
44881
44882 fi
44883 fi
44884
44885
44886 if test "$wxUSE_ABOUTDLG" = "yes"; then
44887 cat >>confdefs.h <<\_ACEOF
44888 #define wxUSE_ABOUTDLG 1
44889 _ACEOF
44890
44891 fi
44892
44893 if test "$wxUSE_CHOICEDLG" = "yes"; then
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_CHOICEDLG 1
44896 _ACEOF
44897
44898 fi
44899
44900 if test "$wxUSE_COLOURDLG" = "yes"; then
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_COLOURDLG 1
44903 _ACEOF
44904
44905 fi
44906
44907 if test "$wxUSE_FILEDLG" = "yes"; then
44908 cat >>confdefs.h <<\_ACEOF
44909 #define wxUSE_FILEDLG 1
44910 _ACEOF
44911
44912 fi
44913
44914 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44915 cat >>confdefs.h <<\_ACEOF
44916 #define wxUSE_FINDREPLDLG 1
44917 _ACEOF
44918
44919 fi
44920
44921 if test "$wxUSE_FONTDLG" = "yes"; then
44922 cat >>confdefs.h <<\_ACEOF
44923 #define wxUSE_FONTDLG 1
44924 _ACEOF
44925
44926 fi
44927
44928 if test "$wxUSE_DIRDLG" = "yes"; then
44929 if test "$wxUSE_TREECTRL" != "yes"; then
44930 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44931 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44932 else
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_DIRDLG 1
44935 _ACEOF
44936
44937 fi
44938 fi
44939
44940 if test "$wxUSE_MSGDLG" = "yes"; then
44941 cat >>confdefs.h <<\_ACEOF
44942 #define wxUSE_MSGDLG 1
44943 _ACEOF
44944
44945 fi
44946
44947 if test "$wxUSE_NUMBERDLG" = "yes"; then
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_NUMBERDLG 1
44950 _ACEOF
44951
44952 fi
44953
44954 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44955 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44956 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44957 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44958 else
44959 cat >>confdefs.h <<\_ACEOF
44960 #define wxUSE_PROGRESSDLG 1
44961 _ACEOF
44962
44963 fi
44964 fi
44965
44966 if test "$wxUSE_SPLASH" = "yes"; then
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_SPLASH 1
44969 _ACEOF
44970
44971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44972 fi
44973
44974 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44975 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44976 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44977 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44978 else
44979 cat >>confdefs.h <<\_ACEOF
44980 #define wxUSE_STARTUP_TIPS 1
44981 _ACEOF
44982
44983 fi
44984 fi
44985
44986 if test "$wxUSE_TEXTDLG" = "yes"; then
44987 cat >>confdefs.h <<\_ACEOF
44988 #define wxUSE_TEXTDLG 1
44989 _ACEOF
44990
44991 fi
44992
44993 if test "$wxUSE_WIZARDDLG" = "yes"; then
44994 cat >>confdefs.h <<\_ACEOF
44995 #define wxUSE_WIZARDDLG 1
44996 _ACEOF
44997
44998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44999 fi
45000
45001
45002 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45003 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_GRAPHICS_CONTEXT 1
45006 _ACEOF
45007
45008 elif test "$wxUSE_GTK" != 1; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_GRAPHICS_CONTEXT 1
45011 _ACEOF
45012
45013 else
45014
45015 pkg_failed=no
45016 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45017 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45018
45019 if test -n "$PKG_CONFIG"; then
45020 if test -n "$CAIRO_CFLAGS"; then
45021 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45022 else
45023 if test -n "$PKG_CONFIG" && \
45024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45025 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45026 ac_status=$?
45027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45028 (exit $ac_status); }; then
45029 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45030 else
45031 pkg_failed=yes
45032 fi
45033 fi
45034 else
45035 pkg_failed=untried
45036 fi
45037 if test -n "$PKG_CONFIG"; then
45038 if test -n "$CAIRO_LIBS"; then
45039 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45040 else
45041 if test -n "$PKG_CONFIG" && \
45042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45043 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45044 ac_status=$?
45045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046 (exit $ac_status); }; then
45047 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45048 else
45049 pkg_failed=yes
45050 fi
45051 fi
45052 else
45053 pkg_failed=untried
45054 fi
45055
45056
45057
45058 if test $pkg_failed = yes; then
45059
45060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45061 _pkg_short_errors_supported=yes
45062 else
45063 _pkg_short_errors_supported=no
45064 fi
45065 if test $_pkg_short_errors_supported = yes; then
45066 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45067 else
45068 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45069 fi
45070 # Put the nasty error message in config.log where it belongs
45071 echo "$CAIRO_PKG_ERRORS" >&5
45072
45073 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45074 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45075
45076 elif test $pkg_failed = untried; then
45077 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45078 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45079
45080 else
45081 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45082 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45083 { echo "$as_me:$LINENO: result: yes" >&5
45084 echo "${ECHO_T}yes" >&6; }
45085 cat >>confdefs.h <<\_ACEOF
45086 #define wxUSE_GRAPHICS_CONTEXT 1
45087 _ACEOF
45088
45089 fi
45090 fi
45091 fi
45092
45093
45094 USE_MEDIA=0
45095
45096 if test "$wxUSE_MEDIACTRL" = "yes"; then
45097 USE_MEDIA=1
45098
45099 if test "$wxUSE_GTK" = 1; then
45100 wxUSE_GSTREAMER="no"
45101
45102 GST_VERSION_MAJOR=0
45103 GST_VERSION_MINOR=10
45104 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45105
45106 if test "$wxUSE_GSTREAMER8" = "no"; then
45107
45108 pkg_failed=no
45109 { echo "$as_me:$LINENO: checking for GST" >&5
45110 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45111
45112 if test -n "$PKG_CONFIG"; then
45113 if test -n "$GST_CFLAGS"; then
45114 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45115 else
45116 if test -n "$PKG_CONFIG" && \
45117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45118 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45119 ac_status=$?
45120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45121 (exit $ac_status); }; then
45122 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45123 else
45124 pkg_failed=yes
45125 fi
45126 fi
45127 else
45128 pkg_failed=untried
45129 fi
45130 if test -n "$PKG_CONFIG"; then
45131 if test -n "$GST_LIBS"; then
45132 pkg_cv_GST_LIBS="$GST_LIBS"
45133 else
45134 if test -n "$PKG_CONFIG" && \
45135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45136 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45137 ac_status=$?
45138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45139 (exit $ac_status); }; then
45140 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45141 else
45142 pkg_failed=yes
45143 fi
45144 fi
45145 else
45146 pkg_failed=untried
45147 fi
45148
45149
45150
45151 if test $pkg_failed = yes; then
45152
45153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45154 _pkg_short_errors_supported=yes
45155 else
45156 _pkg_short_errors_supported=no
45157 fi
45158 if test $_pkg_short_errors_supported = yes; then
45159 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45160 else
45161 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45162 fi
45163 # Put the nasty error message in config.log where it belongs
45164 echo "$GST_PKG_ERRORS" >&5
45165
45166
45167 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45168 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45169 GST_VERSION_MINOR=8
45170
45171
45172 elif test $pkg_failed = untried; then
45173
45174 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45175 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45176 GST_VERSION_MINOR=8
45177
45178
45179 else
45180 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45181 GST_LIBS=$pkg_cv_GST_LIBS
45182 { echo "$as_me:$LINENO: result: yes" >&5
45183 echo "${ECHO_T}yes" >&6; }
45184
45185 wxUSE_GSTREAMER="yes"
45186 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45187
45188 fi
45189 else
45190 GST_VERSION_MINOR=8
45191 fi
45192
45193 if test $GST_VERSION_MINOR = "8"; then
45194 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45195
45196 pkg_failed=no
45197 { echo "$as_me:$LINENO: checking for GST" >&5
45198 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45199
45200 if test -n "$PKG_CONFIG"; then
45201 if test -n "$GST_CFLAGS"; then
45202 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45203 else
45204 if test -n "$PKG_CONFIG" && \
45205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45206 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45207 ac_status=$?
45208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45209 (exit $ac_status); }; then
45210 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45211 else
45212 pkg_failed=yes
45213 fi
45214 fi
45215 else
45216 pkg_failed=untried
45217 fi
45218 if test -n "$PKG_CONFIG"; then
45219 if test -n "$GST_LIBS"; then
45220 pkg_cv_GST_LIBS="$GST_LIBS"
45221 else
45222 if test -n "$PKG_CONFIG" && \
45223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45224 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45225 ac_status=$?
45226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45227 (exit $ac_status); }; then
45228 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45229 else
45230 pkg_failed=yes
45231 fi
45232 fi
45233 else
45234 pkg_failed=untried
45235 fi
45236
45237
45238
45239 if test $pkg_failed = yes; then
45240
45241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45242 _pkg_short_errors_supported=yes
45243 else
45244 _pkg_short_errors_supported=no
45245 fi
45246 if test $_pkg_short_errors_supported = yes; then
45247 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45248 else
45249 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45250 fi
45251 # Put the nasty error message in config.log where it belongs
45252 echo "$GST_PKG_ERRORS" >&5
45253
45254
45255 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45256 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45257
45258 elif test $pkg_failed = untried; then
45259
45260 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45261 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45262
45263 else
45264 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45265 GST_LIBS=$pkg_cv_GST_LIBS
45266 { echo "$as_me:$LINENO: result: yes" >&5
45267 echo "${ECHO_T}yes" >&6; }
45268 wxUSE_GSTREAMER="yes"
45269 fi
45270 fi
45271
45272
45273 if test "$wxUSE_GSTREAMER" = "yes"; then
45274 case "${host}" in
45275 *-*-solaris2* )
45276 if "$GCC" = yes; then
45277 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45278 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45279 fi
45280 esac
45281
45282 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45283 LIBS="$GST_LIBS $LIBS"
45284
45285 cat >>confdefs.h <<\_ACEOF
45286 #define wxUSE_GSTREAMER 1
45287 _ACEOF
45288
45289 else
45290 USE_MEDIA=0
45291 fi
45292 fi
45293
45294 if test $USE_MEDIA = 1; then
45295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_MEDIACTRL 1
45298 _ACEOF
45299
45300 fi
45301 fi
45302
45303
45304 if test "$cross_compiling" = "yes"; then
45305 OSINFO="\"$host\""
45306 else
45307 OSINFO=`uname -s -r -m`
45308 OSINFO="\"$OSINFO\""
45309 fi
45310
45311 cat >>confdefs.h <<_ACEOF
45312 #define WXWIN_OS_DESCRIPTION $OSINFO
45313 _ACEOF
45314
45315
45316
45317 if test "x$prefix" != "xNONE"; then
45318 wxPREFIX=$prefix
45319 else
45320 wxPREFIX=$ac_default_prefix
45321 fi
45322
45323 cat >>confdefs.h <<_ACEOF
45324 #define wxINSTALL_PREFIX "$wxPREFIX"
45325 _ACEOF
45326
45327
45328
45329
45330 CORE_BASE_LIBS="net base"
45331 CORE_GUI_LIBS="adv core"
45332
45333 if test "$wxUSE_XML" = "yes" ; then
45334 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45335 fi
45336 if test "$wxUSE_ODBC" != "no" ; then
45337 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45338 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45339 fi
45340 if test "$wxUSE_HTML" = "yes" ; then
45341 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45342 fi
45343 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45344 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45345 fi
45346 if test "$wxUSE_XRC" = "yes" ; then
45347 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45348 fi
45349 if test "$wxUSE_AUI" = "yes" ; then
45350 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45351 fi
45352 if test "$wxUSE_STC" = "yes" ; then
45353 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45354 fi
45355
45356 if test "$wxUSE_GUI" != "yes"; then
45357 CORE_GUI_LIBS=""
45358 fi
45359
45360
45361
45362
45363
45364
45365 if test "$wxUSE_MAC" = 1 ; then
45366 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45367 if test "$USE_DARWIN" = 1; then
45368 LDFLAGS="$LDFLAGS -framework QuickTime"
45369 else
45370 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45371 fi
45372 fi
45373 if test "$USE_DARWIN" = 1; then
45374 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45375 else
45376 LDFLAGS="$LDFLAGS -lCarbonLib"
45377 fi
45378 fi
45379 if test "$wxUSE_COCOA" = 1 ; then
45380 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45381 if test "$wxUSE_MEDIACTRL" = "yes"; then
45382 LDFLAGS="$LDFLAGS -framework QuickTime"
45383 fi
45384 fi
45385 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45386 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45387 fi
45388
45389 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45390
45391 if test "$wxUSE_GUI" = "yes"; then
45392
45393
45394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45395 dynamic erase event exec font image minimal mobile \
45396 mobile/wxedit mobile/styles propsize render \
45397 rotate shaped svg taborder vscroll widgets"
45398
45399 if test "$wxUSE_MONOLITHIC" != "yes"; then
45400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45401 fi
45402 if test "$TOOLKIT" = "MSW"; then
45403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45404 if test "$wxUSE_UNIVERSAL" != "yes"; then
45405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45406 fi
45407 fi
45408 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45410 fi
45411 else
45412 SAMPLES_SUBDIRS="console"
45413 fi
45414
45415
45416 if test "x$INTELCC" = "xyes" ; then
45417 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45418 elif test "$GCC" = yes ; then
45419 CWARNINGS="-Wall -Wundef"
45420 fi
45421
45422 if test "x$INTELCXX" = "xyes" ; then
45423 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45424 elif test "$GXX" = yes ; then
45425 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45426 fi
45427
45428
45429 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45430 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45431
45432
45433 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45434 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45435 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45436 $CPPFLAGS `
45437
45438 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45439 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45440 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45441
45442 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45443
45444
45445 if test "x$MWCC" = "xyes"; then
45446
45447 CC="$CC -cwd source -I-"
45448 CXX="$CXX -cwd source -I-"
45449 fi
45450
45451
45452 LIBS=`echo $LIBS`
45453 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45454 EXTRALIBS_XML="$EXPAT_LINK"
45455 EXTRALIBS_HTML="$MSPACK_LINK"
45456 EXTRALIBS_ODBC="$ODBC_LINK"
45457 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45458 if test "$wxUSE_GUI" = "yes"; then
45459 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45460 fi
45461 if test "$wxUSE_OPENGL" = "yes"; then
45462 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45463 fi
45464
45465 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45466
45467 WXCONFIG_LIBS="$LIBS"
45468
45469 if test "$wxUSE_REGEX" = "builtin" ; then
45470 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45471 fi
45472 if test "$wxUSE_EXPAT" = "builtin" ; then
45473 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45474 fi
45475 if test "$wxUSE_ODBC" = "builtin" ; then
45476 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45477 fi
45478 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45479 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45480 fi
45481 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45482 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45483 fi
45484 if test "$wxUSE_LIBPNG" = "builtin" ; then
45485 wxconfig_3rdparty="png $wxconfig_3rdparty"
45486 fi
45487 if test "$wxUSE_ZLIB" = "builtin" ; then
45488 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45489 fi
45490
45491 for i in $wxconfig_3rdparty ; do
45492 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45493 done
45494
45495
45496 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45497 WXUNIV=1
45498
45499 case "$wxUNIV_THEMES" in
45500 ''|all)
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_ALL_THEMES 1
45503 _ACEOF
45504
45505 ;;
45506
45507 *)
45508 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45509 cat >>confdefs.h <<_ACEOF
45510 #define wxUSE_THEME_$t 1
45511 _ACEOF
45512
45513 done
45514 esac
45515 else
45516 WXUNIV=0
45517 fi
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527 if test $wxUSE_MONOLITHIC = "yes" ; then
45528 MONOLITHIC=1
45529 else
45530 MONOLITHIC=0
45531 fi
45532
45533 if test $wxUSE_PLUGINS = "yes" ; then
45534 USE_PLUGINS=1
45535 else
45536 USE_PLUGINS=0
45537 fi
45538
45539 if test $wxUSE_ODBC != "no" ; then
45540 USE_ODBC=1
45541 else
45542 USE_ODBC=0
45543 fi
45544
45545 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45546 USE_QA=1
45547 else
45548 USE_QA=0
45549 fi
45550
45551 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45552 OFFICIAL_BUILD=1
45553 else
45554 OFFICIAL_BUILD=0
45555 fi
45556
45557
45558
45559
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573
45574
45575
45576
45577
45578
45579
45580
45581
45582 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45583
45584
45585
45586
45587
45588
45589
45590
45591 case "$TOOLKIT" in
45592 GTK)
45593 TOOLKIT_DESC="GTK+"
45594 if test "$WXGTK20" = 1; then
45595 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45596 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45597 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45598 fi
45599 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45600 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45601 fi
45602 if test "$wxUSE_LIBHILDON" = "yes"; then
45603 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45604 fi
45605
45606 if test "$TOOLKIT_EXTRA" != ""; then
45607 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45608 fi
45609 fi
45610 ;;
45611
45612 ?*)
45613 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45614 ;;
45615
45616 *)
45617 TOOLKIT_DESC="base only"
45618 ;;
45619 esac
45620
45621 if test "$wxUSE_WINE" = "yes"; then
45622 BAKEFILE_FORCE_PLATFORM=win32
45623 fi
45624
45625 if test "$wxUSE_MAC" = 1 ; then
45626 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45627 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45628 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45629 else
45630 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45631 fi
45632 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45633 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45634 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45635 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45636 bk_use_pch=no
45637 fi
45638 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45639 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45640 fi
45641
45642 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45643 then
45644 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45645 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45646 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45647 echo $ECHO_N "(cached) $ECHO_C" >&6
45648 else
45649
45650 echo '#include <stdio.h>
45651 const wchar_t test_var[] = L"awidetest";' > conftest.h
45652
45653 echo '#include "conftest.h"
45654 int main()
45655 {
45656 printf("%ls", test_var);
45657 return 0;
45658 }' > conftest.cpp
45659
45660 wx_cv_gcc_pch_bug="pch not supported"
45661
45662 if $CXX conftest.h >/dev/null 2>&1
45663 then
45664 wx_cv_gcc_pch_bug=
45665
45666 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45667 then
45668 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45669 grep awidetest >/dev/null
45670 then
45671 wx_cv_gcc_pch_bug=no
45672 else
45673 wx_cv_gcc_pch_bug=yes
45674 fi
45675 fi
45676 fi
45677
45678 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45679
45680 fi
45681 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45682 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45683
45684 if test "$wx_cv_gcc_pch_bug" = yes; then
45685 bk_use_pch=no
45686 fi
45687 fi
45688
45689
45690
45691
45692 if test "x$BAKEFILE_HOST" = "x"; then
45693 if test "x${host}" = "x" ; then
45694 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45695 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45696 { (exit 1); exit 1; }; }
45697 fi
45698
45699 BAKEFILE_HOST="${host}"
45700 fi
45701
45702 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45703
45704 if test -n "$ac_tool_prefix"; then
45705 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45706 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45709 if test "${ac_cv_prog_RANLIB+set}" = set; then
45710 echo $ECHO_N "(cached) $ECHO_C" >&6
45711 else
45712 if test -n "$RANLIB"; then
45713 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45714 else
45715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45716 for as_dir in $PATH
45717 do
45718 IFS=$as_save_IFS
45719 test -z "$as_dir" && as_dir=.
45720 for ac_exec_ext in '' $ac_executable_extensions; do
45721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45722 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45724 break 2
45725 fi
45726 done
45727 done
45728 IFS=$as_save_IFS
45729
45730 fi
45731 fi
45732 RANLIB=$ac_cv_prog_RANLIB
45733 if test -n "$RANLIB"; then
45734 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45735 echo "${ECHO_T}$RANLIB" >&6; }
45736 else
45737 { echo "$as_me:$LINENO: result: no" >&5
45738 echo "${ECHO_T}no" >&6; }
45739 fi
45740
45741
45742 fi
45743 if test -z "$ac_cv_prog_RANLIB"; then
45744 ac_ct_RANLIB=$RANLIB
45745 # Extract the first word of "ranlib", so it can be a program name with args.
45746 set dummy ranlib; ac_word=$2
45747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45749 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45750 echo $ECHO_N "(cached) $ECHO_C" >&6
45751 else
45752 if test -n "$ac_ct_RANLIB"; then
45753 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45754 else
45755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45756 for as_dir in $PATH
45757 do
45758 IFS=$as_save_IFS
45759 test -z "$as_dir" && as_dir=.
45760 for ac_exec_ext in '' $ac_executable_extensions; do
45761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45762 ac_cv_prog_ac_ct_RANLIB="ranlib"
45763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45764 break 2
45765 fi
45766 done
45767 done
45768 IFS=$as_save_IFS
45769
45770 fi
45771 fi
45772 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45773 if test -n "$ac_ct_RANLIB"; then
45774 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45775 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45776 else
45777 { echo "$as_me:$LINENO: result: no" >&5
45778 echo "${ECHO_T}no" >&6; }
45779 fi
45780
45781 if test "x$ac_ct_RANLIB" = x; then
45782 RANLIB=":"
45783 else
45784 case $cross_compiling:$ac_tool_warned in
45785 yes:)
45786 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45787 whose name does not start with the host triplet. If you think this
45788 configuration is useful to you, please write to autoconf@gnu.org." >&5
45789 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45790 whose name does not start with the host triplet. If you think this
45791 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45792 ac_tool_warned=yes ;;
45793 esac
45794 RANLIB=$ac_ct_RANLIB
45795 fi
45796 else
45797 RANLIB="$ac_cv_prog_RANLIB"
45798 fi
45799
45800 # Find a good install program. We prefer a C program (faster),
45801 # so one script is as good as another. But avoid the broken or
45802 # incompatible versions:
45803 # SysV /etc/install, /usr/sbin/install
45804 # SunOS /usr/etc/install
45805 # IRIX /sbin/install
45806 # AIX /bin/install
45807 # AmigaOS /C/install, which installs bootblocks on floppy discs
45808 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45809 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45810 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45811 # OS/2's system install, which has a completely different semantic
45812 # ./install, which can be erroneously created by make from ./install.sh.
45813 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45814 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45815 if test -z "$INSTALL"; then
45816 if test "${ac_cv_path_install+set}" = set; then
45817 echo $ECHO_N "(cached) $ECHO_C" >&6
45818 else
45819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45820 for as_dir in $PATH
45821 do
45822 IFS=$as_save_IFS
45823 test -z "$as_dir" && as_dir=.
45824 # Account for people who put trailing slashes in PATH elements.
45825 case $as_dir/ in
45826 ./ | .// | /cC/* | \
45827 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45828 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45829 /usr/ucb/* ) ;;
45830 *)
45831 # OSF1 and SCO ODT 3.0 have their own names for install.
45832 # Don't use installbsd from OSF since it installs stuff as root
45833 # by default.
45834 for ac_prog in ginstall scoinst install; do
45835 for ac_exec_ext in '' $ac_executable_extensions; do
45836 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45837 if test $ac_prog = install &&
45838 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45839 # AIX install. It has an incompatible calling convention.
45840 :
45841 elif test $ac_prog = install &&
45842 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45843 # program-specific install script used by HP pwplus--don't use.
45844 :
45845 else
45846 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45847 break 3
45848 fi
45849 fi
45850 done
45851 done
45852 ;;
45853 esac
45854 done
45855 IFS=$as_save_IFS
45856
45857
45858 fi
45859 if test "${ac_cv_path_install+set}" = set; then
45860 INSTALL=$ac_cv_path_install
45861 else
45862 # As a last resort, use the slow shell script. Don't cache a
45863 # value for INSTALL within a source directory, because that will
45864 # break other packages using the cache if that directory is
45865 # removed, or if the value is a relative name.
45866 INSTALL=$ac_install_sh
45867 fi
45868 fi
45869 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45870 echo "${ECHO_T}$INSTALL" >&6; }
45871
45872 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45873 # It thinks the first close brace ends the variable substitution.
45874 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45875
45876 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45877
45878 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45879
45880 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45881 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45882 LN_S=$as_ln_s
45883 if test "$LN_S" = "ln -s"; then
45884 { echo "$as_me:$LINENO: result: yes" >&5
45885 echo "${ECHO_T}yes" >&6; }
45886 else
45887 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45888 echo "${ECHO_T}no, using $LN_S" >&6; }
45889 fi
45890
45891
45892 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45893 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45894 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45895 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45896 echo $ECHO_N "(cached) $ECHO_C" >&6
45897 else
45898 cat >conftest.make <<\_ACEOF
45899 SHELL = /bin/sh
45900 all:
45901 @echo '@@@%%%=$(MAKE)=@@@%%%'
45902 _ACEOF
45903 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45904 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45905 *@@@%%%=?*=@@@%%%*)
45906 eval ac_cv_prog_make_${ac_make}_set=yes;;
45907 *)
45908 eval ac_cv_prog_make_${ac_make}_set=no;;
45909 esac
45910 rm -f conftest.make
45911 fi
45912 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45913 { echo "$as_me:$LINENO: result: yes" >&5
45914 echo "${ECHO_T}yes" >&6; }
45915 SET_MAKE=
45916 else
45917 { echo "$as_me:$LINENO: result: no" >&5
45918 echo "${ECHO_T}no" >&6; }
45919 SET_MAKE="MAKE=${MAKE-make}"
45920 fi
45921
45922
45923
45924 if test "x$SUNCXX" = "xyes"; then
45925 AR=$CXX
45926 AROPTIONS="-xar -o"
45927
45928 elif test "x$SGICC" = "xyes"; then
45929 AR=$CXX
45930 AROPTIONS="-ar -o"
45931
45932 else
45933 if test -n "$ac_tool_prefix"; then
45934 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45935 set dummy ${ac_tool_prefix}ar; ac_word=$2
45936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45938 if test "${ac_cv_prog_AR+set}" = set; then
45939 echo $ECHO_N "(cached) $ECHO_C" >&6
45940 else
45941 if test -n "$AR"; then
45942 ac_cv_prog_AR="$AR" # Let the user override the test.
45943 else
45944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45945 for as_dir in $PATH
45946 do
45947 IFS=$as_save_IFS
45948 test -z "$as_dir" && as_dir=.
45949 for ac_exec_ext in '' $ac_executable_extensions; do
45950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45951 ac_cv_prog_AR="${ac_tool_prefix}ar"
45952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45953 break 2
45954 fi
45955 done
45956 done
45957 IFS=$as_save_IFS
45958
45959 fi
45960 fi
45961 AR=$ac_cv_prog_AR
45962 if test -n "$AR"; then
45963 { echo "$as_me:$LINENO: result: $AR" >&5
45964 echo "${ECHO_T}$AR" >&6; }
45965 else
45966 { echo "$as_me:$LINENO: result: no" >&5
45967 echo "${ECHO_T}no" >&6; }
45968 fi
45969
45970
45971 fi
45972 if test -z "$ac_cv_prog_AR"; then
45973 ac_ct_AR=$AR
45974 # Extract the first word of "ar", so it can be a program name with args.
45975 set dummy ar; ac_word=$2
45976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45978 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45979 echo $ECHO_N "(cached) $ECHO_C" >&6
45980 else
45981 if test -n "$ac_ct_AR"; then
45982 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45983 else
45984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45985 for as_dir in $PATH
45986 do
45987 IFS=$as_save_IFS
45988 test -z "$as_dir" && as_dir=.
45989 for ac_exec_ext in '' $ac_executable_extensions; do
45990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45991 ac_cv_prog_ac_ct_AR="ar"
45992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45993 break 2
45994 fi
45995 done
45996 done
45997 IFS=$as_save_IFS
45998
45999 fi
46000 fi
46001 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46002 if test -n "$ac_ct_AR"; then
46003 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46004 echo "${ECHO_T}$ac_ct_AR" >&6; }
46005 else
46006 { echo "$as_me:$LINENO: result: no" >&5
46007 echo "${ECHO_T}no" >&6; }
46008 fi
46009
46010 if test "x$ac_ct_AR" = x; then
46011 AR="ar"
46012 else
46013 case $cross_compiling:$ac_tool_warned in
46014 yes:)
46015 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46016 whose name does not start with the host triplet. If you think this
46017 configuration is useful to you, please write to autoconf@gnu.org." >&5
46018 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46019 whose name does not start with the host triplet. If you think this
46020 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46021 ac_tool_warned=yes ;;
46022 esac
46023 AR=$ac_ct_AR
46024 fi
46025 else
46026 AR="$ac_cv_prog_AR"
46027 fi
46028
46029 AROPTIONS=rcu
46030 fi
46031
46032
46033 if test -n "$ac_tool_prefix"; then
46034 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46035 set dummy ${ac_tool_prefix}strip; ac_word=$2
46036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46038 if test "${ac_cv_prog_STRIP+set}" = set; then
46039 echo $ECHO_N "(cached) $ECHO_C" >&6
46040 else
46041 if test -n "$STRIP"; then
46042 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46043 else
46044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46045 for as_dir in $PATH
46046 do
46047 IFS=$as_save_IFS
46048 test -z "$as_dir" && as_dir=.
46049 for ac_exec_ext in '' $ac_executable_extensions; do
46050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46051 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46053 break 2
46054 fi
46055 done
46056 done
46057 IFS=$as_save_IFS
46058
46059 fi
46060 fi
46061 STRIP=$ac_cv_prog_STRIP
46062 if test -n "$STRIP"; then
46063 { echo "$as_me:$LINENO: result: $STRIP" >&5
46064 echo "${ECHO_T}$STRIP" >&6; }
46065 else
46066 { echo "$as_me:$LINENO: result: no" >&5
46067 echo "${ECHO_T}no" >&6; }
46068 fi
46069
46070
46071 fi
46072 if test -z "$ac_cv_prog_STRIP"; then
46073 ac_ct_STRIP=$STRIP
46074 # Extract the first word of "strip", so it can be a program name with args.
46075 set dummy strip; ac_word=$2
46076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46078 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46079 echo $ECHO_N "(cached) $ECHO_C" >&6
46080 else
46081 if test -n "$ac_ct_STRIP"; then
46082 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46083 else
46084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46085 for as_dir in $PATH
46086 do
46087 IFS=$as_save_IFS
46088 test -z "$as_dir" && as_dir=.
46089 for ac_exec_ext in '' $ac_executable_extensions; do
46090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46091 ac_cv_prog_ac_ct_STRIP="strip"
46092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46093 break 2
46094 fi
46095 done
46096 done
46097 IFS=$as_save_IFS
46098
46099 fi
46100 fi
46101 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46102 if test -n "$ac_ct_STRIP"; then
46103 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46104 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46105 else
46106 { echo "$as_me:$LINENO: result: no" >&5
46107 echo "${ECHO_T}no" >&6; }
46108 fi
46109
46110 if test "x$ac_ct_STRIP" = x; then
46111 STRIP=":"
46112 else
46113 case $cross_compiling:$ac_tool_warned in
46114 yes:)
46115 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46116 whose name does not start with the host triplet. If you think this
46117 configuration is useful to you, please write to autoconf@gnu.org." >&5
46118 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46119 whose name does not start with the host triplet. If you think this
46120 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46121 ac_tool_warned=yes ;;
46122 esac
46123 STRIP=$ac_ct_STRIP
46124 fi
46125 else
46126 STRIP="$ac_cv_prog_STRIP"
46127 fi
46128
46129 if test -n "$ac_tool_prefix"; then
46130 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46131 set dummy ${ac_tool_prefix}nm; ac_word=$2
46132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46134 if test "${ac_cv_prog_NM+set}" = set; then
46135 echo $ECHO_N "(cached) $ECHO_C" >&6
46136 else
46137 if test -n "$NM"; then
46138 ac_cv_prog_NM="$NM" # Let the user override the test.
46139 else
46140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46141 for as_dir in $PATH
46142 do
46143 IFS=$as_save_IFS
46144 test -z "$as_dir" && as_dir=.
46145 for ac_exec_ext in '' $ac_executable_extensions; do
46146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46147 ac_cv_prog_NM="${ac_tool_prefix}nm"
46148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46149 break 2
46150 fi
46151 done
46152 done
46153 IFS=$as_save_IFS
46154
46155 fi
46156 fi
46157 NM=$ac_cv_prog_NM
46158 if test -n "$NM"; then
46159 { echo "$as_me:$LINENO: result: $NM" >&5
46160 echo "${ECHO_T}$NM" >&6; }
46161 else
46162 { echo "$as_me:$LINENO: result: no" >&5
46163 echo "${ECHO_T}no" >&6; }
46164 fi
46165
46166
46167 fi
46168 if test -z "$ac_cv_prog_NM"; then
46169 ac_ct_NM=$NM
46170 # Extract the first word of "nm", so it can be a program name with args.
46171 set dummy nm; ac_word=$2
46172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46174 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46175 echo $ECHO_N "(cached) $ECHO_C" >&6
46176 else
46177 if test -n "$ac_ct_NM"; then
46178 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46179 else
46180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46181 for as_dir in $PATH
46182 do
46183 IFS=$as_save_IFS
46184 test -z "$as_dir" && as_dir=.
46185 for ac_exec_ext in '' $ac_executable_extensions; do
46186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46187 ac_cv_prog_ac_ct_NM="nm"
46188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46189 break 2
46190 fi
46191 done
46192 done
46193 IFS=$as_save_IFS
46194
46195 fi
46196 fi
46197 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46198 if test -n "$ac_ct_NM"; then
46199 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46200 echo "${ECHO_T}$ac_ct_NM" >&6; }
46201 else
46202 { echo "$as_me:$LINENO: result: no" >&5
46203 echo "${ECHO_T}no" >&6; }
46204 fi
46205
46206 if test "x$ac_ct_NM" = x; then
46207 NM=":"
46208 else
46209 case $cross_compiling:$ac_tool_warned in
46210 yes:)
46211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46212 whose name does not start with the host triplet. If you think this
46213 configuration is useful to you, please write to autoconf@gnu.org." >&5
46214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46215 whose name does not start with the host triplet. If you think this
46216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46217 ac_tool_warned=yes ;;
46218 esac
46219 NM=$ac_ct_NM
46220 fi
46221 else
46222 NM="$ac_cv_prog_NM"
46223 fi
46224
46225
46226 case ${BAKEFILE_HOST} in
46227 *-hp-hpux* )
46228 INSTALL_DIR="mkdir -p"
46229 ;;
46230 * )
46231 INSTALL_DIR='$(INSTALL) -d'
46232 ;;
46233 esac
46234
46235
46236 LDFLAGS_GUI=
46237 case ${BAKEFILE_HOST} in
46238 *-*-cygwin* | *-*-mingw32* )
46239 LDFLAGS_GUI="-mwindows"
46240 esac
46241
46242
46243 fi
46244
46245 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46246 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46247 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46248 echo $ECHO_N "(cached) $ECHO_C" >&6
46249 else
46250
46251 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46252 egrep -s GNU > /dev/null); then
46253 bakefile_cv_prog_makeisgnu="yes"
46254 else
46255 bakefile_cv_prog_makeisgnu="no"
46256 fi
46257
46258 fi
46259 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46260 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46261
46262 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46263 IF_GNU_MAKE=""
46264 else
46265 IF_GNU_MAKE="#"
46266 fi
46267
46268
46269
46270 PLATFORM_UNIX=0
46271 PLATFORM_WIN32=0
46272 PLATFORM_MSDOS=0
46273 PLATFORM_MAC=0
46274 PLATFORM_MACOS=0
46275 PLATFORM_MACOSX=0
46276 PLATFORM_OS2=0
46277 PLATFORM_BEOS=0
46278
46279 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46280 case "${BAKEFILE_HOST}" in
46281 *-*-mingw32* )
46282 PLATFORM_WIN32=1
46283 ;;
46284 *-pc-msdosdjgpp )
46285 PLATFORM_MSDOS=1
46286 ;;
46287 *-pc-os2_emx | *-pc-os2-emx )
46288 PLATFORM_OS2=1
46289 ;;
46290 *-*-darwin* )
46291 PLATFORM_MAC=1
46292 PLATFORM_MACOSX=1
46293 ;;
46294 *-*-beos* )
46295 PLATFORM_BEOS=1
46296 ;;
46297 powerpc-apple-macos* )
46298 PLATFORM_MAC=1
46299 PLATFORM_MACOS=1
46300 ;;
46301 * )
46302 PLATFORM_UNIX=1
46303 ;;
46304 esac
46305 else
46306 case "$BAKEFILE_FORCE_PLATFORM" in
46307 win32 )
46308 PLATFORM_WIN32=1
46309 ;;
46310 msdos )
46311 PLATFORM_MSDOS=1
46312 ;;
46313 os2 )
46314 PLATFORM_OS2=1
46315 ;;
46316 darwin )
46317 PLATFORM_MAC=1
46318 PLATFORM_MACOSX=1
46319 ;;
46320 unix )
46321 PLATFORM_UNIX=1
46322 ;;
46323 beos )
46324 PLATFORM_BEOS=1
46325 ;;
46326 * )
46327 ;;
46328 esac
46329 fi
46330
46331
46332
46333
46334
46335
46336
46337
46338
46339
46340
46341 # Check whether --enable-omf was given.
46342 if test "${enable_omf+set}" = set; then
46343 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46344 fi
46345
46346
46347 case "${BAKEFILE_HOST}" in
46348 *-*-darwin* )
46349 if test "x$GCC" = "xyes"; then
46350 CFLAGS="$CFLAGS -fno-common"
46351 CXXFLAGS="$CXXFLAGS -fno-common"
46352 fi
46353 if test "x$XLCC" = "xyes"; then
46354 CFLAGS="$CFLAGS -qnocommon"
46355 CXXFLAGS="$CXXFLAGS -qnocommon"
46356 fi
46357 ;;
46358
46359 *-pc-os2_emx | *-pc-os2-emx )
46360 if test "x$bk_os2_use_omf" = "xyes" ; then
46361 AR=emxomfar
46362 RANLIB=:
46363 LDFLAGS="-Zomf $LDFLAGS"
46364 CFLAGS="-Zomf $CFLAGS"
46365 CXXFLAGS="-Zomf $CXXFLAGS"
46366 OS2_LIBEXT="lib"
46367 else
46368 OS2_LIBEXT="a"
46369 fi
46370 ;;
46371
46372 i*86-*-beos* )
46373 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46374 ;;
46375 esac
46376
46377
46378 SO_SUFFIX="so"
46379 SO_SUFFIX_MODULE="so"
46380 EXEEXT=""
46381 LIBPREFIX="lib"
46382 LIBEXT=".a"
46383 DLLPREFIX="lib"
46384 DLLPREFIX_MODULE=""
46385 DLLIMP_SUFFIX=""
46386 dlldir="$libdir"
46387
46388 case "${BAKEFILE_HOST}" in
46389 *-hp-hpux* )
46390 SO_SUFFIX="sl"
46391 SO_SUFFIX_MODULE="sl"
46392 ;;
46393 *-*-aix* )
46394 SO_SUFFIX="a"
46395 SO_SUFFIX_MODULE="a"
46396 ;;
46397 *-*-cygwin* )
46398 SO_SUFFIX="dll"
46399 SO_SUFFIX_MODULE="dll"
46400 DLLIMP_SUFFIX="dll.a"
46401 EXEEXT=".exe"
46402 DLLPREFIX="cyg"
46403 dlldir="$bindir"
46404 ;;
46405 *-*-mingw32* )
46406 SO_SUFFIX="dll"
46407 SO_SUFFIX_MODULE="dll"
46408 DLLIMP_SUFFIX="dll.a"
46409 EXEEXT=".exe"
46410 DLLPREFIX=""
46411 dlldir="$bindir"
46412 ;;
46413 *-pc-msdosdjgpp )
46414 EXEEXT=".exe"
46415 DLLPREFIX=""
46416 dlldir="$bindir"
46417 ;;
46418 *-pc-os2_emx | *-pc-os2-emx )
46419 SO_SUFFIX="dll"
46420 SO_SUFFIX_MODULE="dll"
46421 DLLIMP_SUFFIX=$OS2_LIBEXT
46422 EXEEXT=".exe"
46423 DLLPREFIX=""
46424 LIBPREFIX=""
46425 LIBEXT=".$OS2_LIBEXT"
46426 dlldir="$bindir"
46427 ;;
46428 *-*-darwin* )
46429 SO_SUFFIX="dylib"
46430 SO_SUFFIX_MODULE="bundle"
46431 ;;
46432 esac
46433
46434 if test "x$DLLIMP_SUFFIX" = "x" ; then
46435 DLLIMP_SUFFIX="$SO_SUFFIX"
46436 fi
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448
46449 PIC_FLAG=""
46450 if test "x$GCC" = "xyes"; then
46451 PIC_FLAG="-fPIC"
46452 fi
46453
46454 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46455 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46456 WINDOWS_IMPLIB=0
46457
46458 case "${BAKEFILE_HOST}" in
46459 *-hp-hpux* )
46460 if test "x$GCC" != "xyes"; then
46461 LDFLAGS="$LDFLAGS -L/usr/lib"
46462
46463 SHARED_LD_CC="${CC} -b -o"
46464 SHARED_LD_CXX="${CXX} -b -o"
46465 PIC_FLAG="+Z"
46466 fi
46467 ;;
46468
46469 *-*-linux* )
46470 if test "x$GCC" != "xyes"; then
46471 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46472 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46473 if test "${bakefile_cv_prog_icc+set}" = set; then
46474 echo $ECHO_N "(cached) $ECHO_C" >&6
46475 else
46476
46477 cat >conftest.$ac_ext <<_ACEOF
46478 /* confdefs.h. */
46479 _ACEOF
46480 cat confdefs.h >>conftest.$ac_ext
46481 cat >>conftest.$ac_ext <<_ACEOF
46482 /* end confdefs.h. */
46483
46484 int
46485 main ()
46486 {
46487
46488 #ifndef __INTEL_COMPILER
46489 This is not ICC
46490 #endif
46491
46492 ;
46493 return 0;
46494 }
46495 _ACEOF
46496 rm -f conftest.$ac_objext
46497 if { (ac_try="$ac_compile"
46498 case "(($ac_try" in
46499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46500 *) ac_try_echo=$ac_try;;
46501 esac
46502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46503 (eval "$ac_compile") 2>conftest.er1
46504 ac_status=$?
46505 grep -v '^ *+' conftest.er1 >conftest.err
46506 rm -f conftest.er1
46507 cat conftest.err >&5
46508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46509 (exit $ac_status); } && {
46510 test -z "$ac_c_werror_flag" ||
46511 test ! -s conftest.err
46512 } && test -s conftest.$ac_objext; then
46513 bakefile_cv_prog_icc=yes
46514 else
46515 echo "$as_me: failed program was:" >&5
46516 sed 's/^/| /' conftest.$ac_ext >&5
46517
46518 bakefile_cv_prog_icc=no
46519
46520 fi
46521
46522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46523
46524 fi
46525 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46526 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46527 if test "$bakefile_cv_prog_icc" = "yes"; then
46528 PIC_FLAG="-KPIC"
46529 fi
46530 fi
46531 ;;
46532
46533 *-*-solaris2* )
46534 if test "x$GCC" != xyes ; then
46535 SHARED_LD_CC="${CC} -G -o"
46536 SHARED_LD_CXX="${CXX} -G -o"
46537 PIC_FLAG="-KPIC"
46538 fi
46539 ;;
46540
46541 *-*-darwin* )
46542
46543 D='$'
46544 cat <<EOF >shared-ld-sh
46545 #!/bin/sh
46546 #-----------------------------------------------------------------------------
46547 #-- Name: distrib/mac/shared-ld-sh
46548 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46549 #-- Author: Gilles Depeyrot
46550 #-- Copyright: (c) 2002 Gilles Depeyrot
46551 #-- Licence: any use permitted
46552 #-----------------------------------------------------------------------------
46553
46554 verbose=0
46555 args=""
46556 objects=""
46557 linking_flag="-dynamiclib"
46558 ldargs="-r -keep_private_externs -nostdlib"
46559
46560 while test ${D}# -gt 0; do
46561 case ${D}1 in
46562
46563 -v)
46564 verbose=1
46565 ;;
46566
46567 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46568 # collect these options and values
46569 args="${D}{args} ${D}1 ${D}2"
46570 shift
46571 ;;
46572
46573 -s|-Wl,*)
46574 # collect these load args
46575 ldargs="${D}{ldargs} ${D}1"
46576 ;;
46577
46578 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46579 # collect these options
46580 args="${D}{args} ${D}1"
46581 ;;
46582
46583 -dynamiclib|-bundle)
46584 linking_flag="${D}1"
46585 ;;
46586
46587 -*)
46588 echo "shared-ld: unhandled option '${D}1'"
46589 exit 1
46590 ;;
46591
46592 *.o | *.a | *.dylib)
46593 # collect object files
46594 objects="${D}{objects} ${D}1"
46595 ;;
46596
46597 *)
46598 echo "shared-ld: unhandled argument '${D}1'"
46599 exit 1
46600 ;;
46601
46602 esac
46603 shift
46604 done
46605
46606 status=0
46607
46608 #
46609 # Link one module containing all the others
46610 #
46611 if test ${D}{verbose} = 1; then
46612 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46613 fi
46614 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46615 status=${D}?
46616
46617 #
46618 # Link the shared library from the single module created, but only if the
46619 # previous command didn't fail:
46620 #
46621 if test ${D}{status} = 0; then
46622 if test ${D}{verbose} = 1; then
46623 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46624 fi
46625 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46626 status=${D}?
46627 fi
46628
46629 #
46630 # Remove intermediate module
46631 #
46632 rm -f master.${D}${D}.o
46633
46634 exit ${D}status
46635 EOF
46636
46637 chmod +x shared-ld-sh
46638
46639 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46640 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46641
46642
46643 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46644 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46645 if test "${bakefile_cv_gcc31+set}" = set; then
46646 echo $ECHO_N "(cached) $ECHO_C" >&6
46647 else
46648
46649 cat >conftest.$ac_ext <<_ACEOF
46650 /* confdefs.h. */
46651 _ACEOF
46652 cat confdefs.h >>conftest.$ac_ext
46653 cat >>conftest.$ac_ext <<_ACEOF
46654 /* end confdefs.h. */
46655
46656 int
46657 main ()
46658 {
46659
46660 #if (__GNUC__ < 3) || \
46661 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46662 This is old gcc
46663 #endif
46664
46665 ;
46666 return 0;
46667 }
46668 _ACEOF
46669 rm -f conftest.$ac_objext
46670 if { (ac_try="$ac_compile"
46671 case "(($ac_try" in
46672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46673 *) ac_try_echo=$ac_try;;
46674 esac
46675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46676 (eval "$ac_compile") 2>conftest.er1
46677 ac_status=$?
46678 grep -v '^ *+' conftest.er1 >conftest.err
46679 rm -f conftest.er1
46680 cat conftest.err >&5
46681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46682 (exit $ac_status); } && {
46683 test -z "$ac_c_werror_flag" ||
46684 test ! -s conftest.err
46685 } && test -s conftest.$ac_objext; then
46686
46687 bakefile_cv_gcc31=yes
46688
46689 else
46690 echo "$as_me: failed program was:" >&5
46691 sed 's/^/| /' conftest.$ac_ext >&5
46692
46693
46694 bakefile_cv_gcc31=no
46695
46696
46697 fi
46698
46699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46700
46701 fi
46702 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46703 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46704 if test "$bakefile_cv_gcc31" = "no"; then
46705 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46706 SHARED_LD_CXX="$SHARED_LD_CC"
46707 else
46708 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46709 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46710 fi
46711
46712 if test "x$GCC" == "xyes"; then
46713 PIC_FLAG="-dynamic -fPIC"
46714 fi
46715 if test "x$XLCC" = "xyes"; then
46716 PIC_FLAG="-dynamic -DPIC"
46717 fi
46718 ;;
46719
46720 *-*-aix* )
46721 if test "x$GCC" = "xyes"; then
46722 PIC_FLAG=""
46723
46724 case "${BAKEFILE_HOST}" in
46725 *-*-aix5* )
46726 LD_EXPFULL="-Wl,-bexpfull"
46727 ;;
46728 esac
46729
46730 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46731 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46732 else
46733 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46734 set dummy makeC++SharedLib; ac_word=$2
46735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46737 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46738 echo $ECHO_N "(cached) $ECHO_C" >&6
46739 else
46740 if test -n "$AIX_CXX_LD"; then
46741 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46742 else
46743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46744 for as_dir in $PATH
46745 do
46746 IFS=$as_save_IFS
46747 test -z "$as_dir" && as_dir=.
46748 for ac_exec_ext in '' $ac_executable_extensions; do
46749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46750 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46752 break 2
46753 fi
46754 done
46755 done
46756 IFS=$as_save_IFS
46757
46758 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46759 fi
46760 fi
46761 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46762 if test -n "$AIX_CXX_LD"; then
46763 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46764 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46765 else
46766 { echo "$as_me:$LINENO: result: no" >&5
46767 echo "${ECHO_T}no" >&6; }
46768 fi
46769
46770
46771 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46772 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46773 fi
46774 ;;
46775
46776 *-*-beos* )
46777 SHARED_LD_CC="${LD} -nostart -o"
46778 SHARED_LD_CXX="${LD} -nostart -o"
46779 ;;
46780
46781 *-*-irix* )
46782 if test "x$GCC" != "xyes"; then
46783 PIC_FLAG="-KPIC"
46784 fi
46785 ;;
46786
46787 *-*-cygwin* | *-*-mingw32* )
46788 PIC_FLAG=""
46789 SHARED_LD_CC="\$(CC) -shared -o"
46790 SHARED_LD_CXX="\$(CXX) -shared -o"
46791 WINDOWS_IMPLIB=1
46792 ;;
46793
46794 *-pc-os2_emx | *-pc-os2-emx )
46795 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46796 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46797 PIC_FLAG=""
46798
46799 D='$'
46800 cat <<EOF >dllar.sh
46801 #!/bin/sh
46802 #
46803 # dllar - a tool to build both a .dll and an .a file
46804 # from a set of object (.o) files for EMX/OS2.
46805 #
46806 # Written by Andrew Zabolotny, bit@freya.etu.ru
46807 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46808 #
46809 # This script will accept a set of files on the command line.
46810 # All the public symbols from the .o files will be exported into
46811 # a .DEF file, then linker will be run (through gcc) against them to
46812 # build a shared library consisting of all given .o files. All libraries
46813 # (.a) will be first decompressed into component .o files then act as
46814 # described above. You can optionally give a description (-d "description")
46815 # which will be put into .DLL. To see the list of accepted options (as well
46816 # as command-line format) simply run this program without options. The .DLL
46817 # is built to be imported by name (there is no guarantee that new versions
46818 # of the library you build will have same ordinals for same symbols).
46819 #
46820 # dllar is free software; you can redistribute it and/or modify
46821 # it under the terms of the GNU General Public License as published by
46822 # the Free Software Foundation; either version 2, or (at your option)
46823 # any later version.
46824 #
46825 # dllar is distributed in the hope that it will be useful,
46826 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46827 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46828 # GNU General Public License for more details.
46829 #
46830 # You should have received a copy of the GNU General Public License
46831 # along with dllar; see the file COPYING. If not, write to the Free
46832 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46833 # 02111-1307, USA.
46834
46835 # To successfuly run this program you will need:
46836 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46837 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46838 # - gcc
46839 # (used to build the .dll)
46840 # - emxexp
46841 # (used to create .def file from .o files)
46842 # - emximp
46843 # (used to create .a file from .def file)
46844 # - GNU text utilites (cat, sort, uniq)
46845 # used to process emxexp output
46846 # - GNU file utilities (mv, rm)
46847 # - GNU sed
46848 # - lxlite (optional, see flag below)
46849 # (used for general .dll cleanup)
46850 #
46851
46852 flag_USE_LXLITE=1;
46853
46854 #
46855 # helper functions
46856 # basnam, variant of basename, which does _not_ remove the path, _iff_
46857 # second argument (suffix to remove) is given
46858 basnam(){
46859 case ${D}# in
46860 1)
46861 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46862 ;;
46863 2)
46864 echo ${D}1 | sed 's/'${D}2'${D}//'
46865 ;;
46866 *)
46867 echo "error in basnam ${D}*"
46868 exit 8
46869 ;;
46870 esac
46871 }
46872
46873 # Cleanup temporary files and output
46874 CleanUp() {
46875 cd ${D}curDir
46876 for i in ${D}inputFiles ; do
46877 case ${D}i in
46878 *!)
46879 rm -rf \`basnam ${D}i !\`
46880 ;;
46881 *)
46882 ;;
46883 esac
46884 done
46885
46886 # Kill result in case of failure as there is just to many stupid make/nmake
46887 # things out there which doesn't do this.
46888 if [ ${D}# -eq 0 ]; then
46889 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46890 fi
46891 }
46892
46893 # Print usage and exit script with rc=1.
46894 PrintHelp() {
46895 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46896 echo ' [-name-mangler-script script.sh]'
46897 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46898 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46899 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46900 echo ' [*.o] [*.a]'
46901 echo '*> "output_file" should have no extension.'
46902 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46903 echo ' The import library name is derived from this and is set to "name".a,'
46904 echo ' unless overridden by -import'
46905 echo '*> "importlib_name" should have no extension.'
46906 echo ' If it has the .o, or .a extension, it is automatically removed.'
46907 echo ' This name is used as the import library name and may be longer and'
46908 echo ' more descriptive than the DLL name which has to follow the old '
46909 echo ' 8.3 convention of FAT.'
46910 echo '*> "script.sh may be given to override the output_file name by a'
46911 echo ' different name. It is mainly useful if the regular make process'
46912 echo ' of some package does not take into account OS/2 restriction of'
46913 echo ' DLL name lengths. It takes the importlib name as input and is'
46914 echo ' supposed to procude a shorter name as output. The script should'
46915 echo ' expect to get importlib_name without extension and should produce'
46916 echo ' a (max.) 8 letter name without extension.'
46917 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46918 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46919 echo ' These flags will be put at the start of GCC command line.'
46920 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46921 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46922 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46923 echo ' If the last character of a symbol is "*", all symbols beginning'
46924 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46925 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46926 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46927 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46928 echo ' C runtime DLLs.'
46929 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46930 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46931 echo ' unchanged to GCC at the end of command line.'
46932 echo '*> If you create a DLL from a library and you do not specify -o,'
46933 echo ' the basename for DLL and import library will be set to library name,'
46934 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46935 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46936 echo ' library will be renamed into gcc_s.a.'
46937 echo '--------'
46938 echo 'Example:'
46939 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46940 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46941 CleanUp
46942 exit 1
46943 }
46944
46945 # Execute a command.
46946 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46947 # @Uses Whatever CleanUp() uses.
46948 doCommand() {
46949 echo "${D}*"
46950 eval ${D}*
46951 rcCmd=${D}?
46952
46953 if [ ${D}rcCmd -ne 0 ]; then
46954 echo "command failed, exit code="${D}rcCmd
46955 CleanUp
46956 exit ${D}rcCmd
46957 fi
46958 }
46959
46960 # main routine
46961 # setup globals
46962 cmdLine=${D}*
46963 outFile=""
46964 outimpFile=""
46965 inputFiles=""
46966 renameScript=""
46967 description=""
46968 CC=gcc.exe
46969 CFLAGS="-s -Zcrtdll"
46970 EXTRA_CFLAGS=""
46971 EXPORT_BY_ORDINALS=0
46972 exclude_symbols=""
46973 library_flags=""
46974 curDir=\`pwd\`
46975 curDirS=curDir
46976 case ${D}curDirS in
46977 */)
46978 ;;
46979 *)
46980 curDirS=${D}{curDirS}"/"
46981 ;;
46982 esac
46983 # Parse commandline
46984 libsToLink=0
46985 omfLinking=0
46986 while [ ${D}1 ]; do
46987 case ${D}1 in
46988 -ord*)
46989 EXPORT_BY_ORDINALS=1;
46990 ;;
46991 -o*)
46992 shift
46993 outFile=${D}1
46994 ;;
46995 -i*)
46996 shift
46997 outimpFile=${D}1
46998 ;;
46999 -name-mangler-script)
47000 shift
47001 renameScript=${D}1
47002 ;;
47003 -d*)
47004 shift
47005 description=${D}1
47006 ;;
47007 -f*)
47008 shift
47009 CFLAGS=${D}1
47010 ;;
47011 -c*)
47012 shift
47013 CC=${D}1
47014 ;;
47015 -h*)
47016 PrintHelp
47017 ;;
47018 -ex*)
47019 shift
47020 exclude_symbols=${D}{exclude_symbols}${D}1" "
47021 ;;
47022 -libf*)
47023 shift
47024 library_flags=${D}{library_flags}${D}1" "
47025 ;;
47026 -nocrt*)
47027 CFLAGS="-s"
47028 ;;
47029 -nolxl*)
47030 flag_USE_LXLITE=0
47031 ;;
47032 -* | /*)
47033 case ${D}1 in
47034 -L* | -l*)
47035 libsToLink=1
47036 ;;
47037 -Zomf)
47038 omfLinking=1
47039 ;;
47040 *)
47041 ;;
47042 esac
47043 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47044 ;;
47045 *.dll)
47046 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47047 if [ ${D}omfLinking -eq 1 ]; then
47048 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47049 else
47050 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47051 fi
47052 ;;
47053 *)
47054 found=0;
47055 if [ ${D}libsToLink -ne 0 ]; then
47056 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47057 else
47058 for file in ${D}1 ; do
47059 if [ -f ${D}file ]; then
47060 inputFiles="${D}{inputFiles} ${D}file"
47061 found=1
47062 fi
47063 done
47064 if [ ${D}found -eq 0 ]; then
47065 echo "ERROR: No file(s) found: "${D}1
47066 exit 8
47067 fi
47068 fi
47069 ;;
47070 esac
47071 shift
47072 done # iterate cmdline words
47073
47074 #
47075 if [ -z "${D}inputFiles" ]; then
47076 echo "dllar: no input files"
47077 PrintHelp
47078 fi
47079
47080 # Now extract all .o files from .a files
47081 newInputFiles=""
47082 for file in ${D}inputFiles ; do
47083 case ${D}file in
47084 *.a | *.lib)
47085 case ${D}file in
47086 *.a)
47087 suffix=".a"
47088 AR="ar"
47089 ;;
47090 *.lib)
47091 suffix=".lib"
47092 AR="emxomfar"
47093 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47094 ;;
47095 *)
47096 ;;
47097 esac
47098 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47099 mkdir ${D}dirname
47100 if [ ${D}? -ne 0 ]; then
47101 echo "Failed to create subdirectory ./${D}dirname"
47102 CleanUp
47103 exit 8;
47104 fi
47105 # Append '!' to indicate archive
47106 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47107 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47108 cd ${D}curDir
47109 found=0;
47110 for subfile in ${D}dirname/*.o* ; do
47111 if [ -f ${D}subfile ]; then
47112 found=1
47113 if [ -s ${D}subfile ]; then
47114 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47115 newInputFiles="${D}newInputFiles ${D}subfile"
47116 fi
47117 fi
47118 done
47119 if [ ${D}found -eq 0 ]; then
47120 echo "WARNING: there are no files in archive \\'${D}file\\'"
47121 fi
47122 ;;
47123 *)
47124 newInputFiles="${D}{newInputFiles} ${D}file"
47125 ;;
47126 esac
47127 done
47128 inputFiles="${D}newInputFiles"
47129
47130 # Output filename(s).
47131 do_backup=0;
47132 if [ -z ${D}outFile ]; then
47133 do_backup=1;
47134 set outFile ${D}inputFiles; outFile=${D}2
47135 fi
47136
47137 # If it is an archive, remove the '!' and the '_%' suffixes
47138 case ${D}outFile in
47139 *_%!)
47140 outFile=\`basnam ${D}outFile _%!\`
47141 ;;
47142 *)
47143 ;;
47144 esac
47145 case ${D}outFile in
47146 *.dll)
47147 outFile=\`basnam ${D}outFile .dll\`
47148 ;;
47149 *.DLL)
47150 outFile=\`basnam ${D}outFile .DLL\`
47151 ;;
47152 *.o)
47153 outFile=\`basnam ${D}outFile .o\`
47154 ;;
47155 *.obj)
47156 outFile=\`basnam ${D}outFile .obj\`
47157 ;;
47158 *.a)
47159 outFile=\`basnam ${D}outFile .a\`
47160 ;;
47161 *.lib)
47162 outFile=\`basnam ${D}outFile .lib\`
47163 ;;
47164 *)
47165 ;;
47166 esac
47167 case ${D}outimpFile in
47168 *.a)
47169 outimpFile=\`basnam ${D}outimpFile .a\`
47170 ;;
47171 *.lib)
47172 outimpFile=\`basnam ${D}outimpFile .lib\`
47173 ;;
47174 *)
47175 ;;
47176 esac
47177 if [ -z ${D}outimpFile ]; then
47178 outimpFile=${D}outFile
47179 fi
47180 defFile="${D}{outFile}.def"
47181 arcFile="${D}{outimpFile}.a"
47182 arcFile2="${D}{outimpFile}.lib"
47183
47184 #create ${D}dllFile as something matching 8.3 restrictions,
47185 if [ -z ${D}renameScript ] ; then
47186 dllFile="${D}outFile"
47187 else
47188 dllFile=\`${D}renameScript ${D}outimpFile\`
47189 fi
47190
47191 if [ ${D}do_backup -ne 0 ] ; then
47192 if [ -f ${D}arcFile ] ; then
47193 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47194 fi
47195 if [ -f ${D}arcFile2 ] ; then
47196 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47197 fi
47198 fi
47199
47200 # Extract public symbols from all the object files.
47201 tmpdefFile=${D}{defFile}_%
47202 rm -f ${D}tmpdefFile
47203 for file in ${D}inputFiles ; do
47204 case ${D}file in
47205 *!)
47206 ;;
47207 *)
47208 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47209 ;;
47210 esac
47211 done
47212
47213 # Create the def file.
47214 rm -f ${D}defFile
47215 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47216 dllFile="${D}{dllFile}.dll"
47217 if [ ! -z ${D}description ]; then
47218 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47219 fi
47220 echo "EXPORTS" >> ${D}defFile
47221
47222 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47223 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47224
47225 # Checks if the export is ok or not.
47226 for word in ${D}exclude_symbols; do
47227 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47228 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47229 done
47230
47231
47232 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47233 sed "=" < ${D}tmpdefFile | \\
47234 sed '
47235 N
47236 : loop
47237 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47238 t loop
47239 ' > ${D}{tmpdefFile}%
47240 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47241 else
47242 rm -f ${D}{tmpdefFile}%
47243 fi
47244 cat ${D}tmpdefFile >> ${D}defFile
47245 rm -f ${D}tmpdefFile
47246
47247 # Do linking, create implib, and apply lxlite.
47248 gccCmdl="";
47249 for file in ${D}inputFiles ; do
47250 case ${D}file in
47251 *!)
47252 ;;
47253 *)
47254 gccCmdl="${D}gccCmdl ${D}file"
47255 ;;
47256 esac
47257 done
47258 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47259 touch "${D}{outFile}.dll"
47260
47261 doCommand "emximp -o ${D}arcFile ${D}defFile"
47262 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47263 add_flags="";
47264 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47265 add_flags="-ynd"
47266 fi
47267 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47268 fi
47269 doCommand "emxomf -s -l ${D}arcFile"
47270
47271 # Successful exit.
47272 CleanUp 1
47273 exit 0
47274 EOF
47275
47276 chmod +x dllar.sh
47277 ;;
47278
47279 powerpc-apple-macos* | \
47280 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47281 *-*-mirbsd* | \
47282 *-*-sunos4* | \
47283 *-*-osf* | \
47284 *-*-dgux5* | \
47285 *-*-sysv5* | \
47286 *-pc-msdosdjgpp )
47287 ;;
47288
47289 *)
47290 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47291 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47292 { (exit 1); exit 1; }; }
47293 esac
47294
47295 if test "x$PIC_FLAG" != "x" ; then
47296 PIC_FLAG="$PIC_FLAG -DPIC"
47297 fi
47298
47299 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47300 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47301 fi
47302 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47303 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47304 fi
47305
47306
47307
47308
47309
47310
47311
47312
47313
47314 USE_SOVERSION=0
47315 USE_SOVERLINUX=0
47316 USE_SOVERSOLARIS=0
47317 USE_SOVERCYGWIN=0
47318 USE_SOSYMLINKS=0
47319 USE_MACVERSION=0
47320 SONAME_FLAG=
47321
47322 case "${BAKEFILE_HOST}" in
47323 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47324 SONAME_FLAG="-Wl,-soname,"
47325 USE_SOVERSION=1
47326 USE_SOVERLINUX=1
47327 USE_SOSYMLINKS=1
47328 ;;
47329
47330 *-*-solaris2* )
47331 SONAME_FLAG="-h "
47332 USE_SOVERSION=1
47333 USE_SOVERSOLARIS=1
47334 USE_SOSYMLINKS=1
47335 ;;
47336
47337 *-*-darwin* )
47338 USE_MACVERSION=1
47339 USE_SOVERSION=1
47340 USE_SOSYMLINKS=1
47341 ;;
47342
47343 *-*-cygwin* )
47344 USE_SOVERSION=1
47345 USE_SOVERCYGWIN=1
47346 ;;
47347 esac
47348
47349
47350
47351
47352
47353
47354
47355
47356
47357
47358 # Check whether --enable-dependency-tracking was given.
47359 if test "${enable_dependency_tracking+set}" = set; then
47360 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47361 fi
47362
47363
47364 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47365 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47366
47367 BK_DEPS=""
47368 if test "x$bk_use_trackdeps" = "xno" ; then
47369 DEPS_TRACKING=0
47370 { echo "$as_me:$LINENO: result: disabled" >&5
47371 echo "${ECHO_T}disabled" >&6; }
47372 else
47373 DEPS_TRACKING=1
47374
47375 if test "x$GCC" = "xyes"; then
47376 DEPSMODE=gcc
47377 case "${BAKEFILE_HOST}" in
47378 *-*-darwin* )
47379 DEPSFLAG="-no-cpp-precomp -MMD"
47380 ;;
47381 * )
47382 DEPSFLAG="-MMD"
47383 ;;
47384 esac
47385 { echo "$as_me:$LINENO: result: gcc" >&5
47386 echo "${ECHO_T}gcc" >&6; }
47387 elif test "x$MWCC" = "xyes"; then
47388 DEPSMODE=mwcc
47389 DEPSFLAG="-MM"
47390 { echo "$as_me:$LINENO: result: mwcc" >&5
47391 echo "${ECHO_T}mwcc" >&6; }
47392 elif test "x$SUNCC" = "xyes"; then
47393 DEPSMODE=unixcc
47394 DEPSFLAG="-xM1"
47395 { echo "$as_me:$LINENO: result: Sun cc" >&5
47396 echo "${ECHO_T}Sun cc" >&6; }
47397 elif test "x$SGICC" = "xyes"; then
47398 DEPSMODE=unixcc
47399 DEPSFLAG="-M"
47400 { echo "$as_me:$LINENO: result: SGI cc" >&5
47401 echo "${ECHO_T}SGI cc" >&6; }
47402 elif test "x$HPCC" = "xyes"; then
47403 DEPSMODE=unixcc
47404 DEPSFLAG="+make"
47405 { echo "$as_me:$LINENO: result: HP cc" >&5
47406 echo "${ECHO_T}HP cc" >&6; }
47407 elif test "x$COMPAQCC" = "xyes"; then
47408 DEPSMODE=gcc
47409 DEPSFLAG="-MD"
47410 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47411 echo "${ECHO_T}Compaq cc" >&6; }
47412 else
47413 DEPS_TRACKING=0
47414 { echo "$as_me:$LINENO: result: none" >&5
47415 echo "${ECHO_T}none" >&6; }
47416 fi
47417
47418 if test $DEPS_TRACKING = 1 ; then
47419
47420 D='$'
47421 cat <<EOF >bk-deps
47422 #!/bin/sh
47423
47424 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47425 # script. It is used to track C/C++ files dependencies in portable way.
47426 #
47427 # Permission is given to use this file in any way.
47428
47429 DEPSMODE=${DEPSMODE}
47430 DEPSDIR=.deps
47431 DEPSFLAG="${DEPSFLAG}"
47432
47433 mkdir -p ${D}DEPSDIR
47434
47435 if test ${D}DEPSMODE = gcc ; then
47436 ${D}* ${D}{DEPSFLAG}
47437 status=${D}?
47438 if test ${D}{status} != 0 ; then
47439 exit ${D}{status}
47440 fi
47441 # move created file to the location we want it in:
47442 while test ${D}# -gt 0; do
47443 case "${D}1" in
47444 -o )
47445 shift
47446 objfile=${D}1
47447 ;;
47448 -* )
47449 ;;
47450 * )
47451 srcfile=${D}1
47452 ;;
47453 esac
47454 shift
47455 done
47456 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47457 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47458 if test -f ${D}depfile ; then
47459 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47460 rm -f ${D}depfile
47461 else
47462 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47463 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47464 if test ! -f ${D}depfile ; then
47465 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47466 depfile="${D}objfile.d"
47467 fi
47468 if test -f ${D}depfile ; then
47469 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47470 rm -f ${D}depfile
47471 fi
47472 fi
47473 exit 0
47474 elif test ${D}DEPSMODE = mwcc ; then
47475 ${D}* || exit ${D}?
47476 # Run mwcc again with -MM and redirect into the dep file we want
47477 # NOTE: We can't use shift here because we need ${D}* to be valid
47478 prevarg=
47479 for arg in ${D}* ; do
47480 if test "${D}prevarg" = "-o"; then
47481 objfile=${D}arg
47482 else
47483 case "${D}arg" in
47484 -* )
47485 ;;
47486 * )
47487 srcfile=${D}arg
47488 ;;
47489 esac
47490 fi
47491 prevarg="${D}arg"
47492 done
47493 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47494 exit 0
47495 elif test ${D}DEPSMODE = unixcc; then
47496 ${D}* || exit ${D}?
47497 # Run compiler again with deps flag and redirect into the dep file.
47498 # It doesn't work if the '-o FILE' option is used, but without it the
47499 # dependency file will contain the wrong name for the object. So it is
47500 # removed from the command line, and the dep file is fixed with sed.
47501 cmd=""
47502 while test ${D}# -gt 0; do
47503 case "${D}1" in
47504 -o )
47505 shift
47506 objfile=${D}1
47507 ;;
47508 * )
47509 eval arg${D}#=\\${D}1
47510 cmd="${D}cmd \\${D}arg${D}#"
47511 ;;
47512 esac
47513 shift
47514 done
47515 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47516 exit 0
47517 else
47518 ${D}*
47519 exit ${D}?
47520 fi
47521 EOF
47522
47523 chmod +x bk-deps
47524 BK_DEPS="`pwd`/bk-deps"
47525 fi
47526 fi
47527
47528
47529
47530
47531
47532 case ${BAKEFILE_HOST} in
47533 *-*-cygwin* | *-*-mingw32* )
47534 if test -n "$ac_tool_prefix"; then
47535 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47536 set dummy ${ac_tool_prefix}windres; ac_word=$2
47537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47539 if test "${ac_cv_prog_WINDRES+set}" = set; then
47540 echo $ECHO_N "(cached) $ECHO_C" >&6
47541 else
47542 if test -n "$WINDRES"; then
47543 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47544 else
47545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47546 for as_dir in $PATH
47547 do
47548 IFS=$as_save_IFS
47549 test -z "$as_dir" && as_dir=.
47550 for ac_exec_ext in '' $ac_executable_extensions; do
47551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47552 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47554 break 2
47555 fi
47556 done
47557 done
47558 IFS=$as_save_IFS
47559
47560 fi
47561 fi
47562 WINDRES=$ac_cv_prog_WINDRES
47563 if test -n "$WINDRES"; then
47564 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47565 echo "${ECHO_T}$WINDRES" >&6; }
47566 else
47567 { echo "$as_me:$LINENO: result: no" >&5
47568 echo "${ECHO_T}no" >&6; }
47569 fi
47570
47571
47572 fi
47573 if test -z "$ac_cv_prog_WINDRES"; then
47574 ac_ct_WINDRES=$WINDRES
47575 # Extract the first word of "windres", so it can be a program name with args.
47576 set dummy windres; ac_word=$2
47577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47579 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47580 echo $ECHO_N "(cached) $ECHO_C" >&6
47581 else
47582 if test -n "$ac_ct_WINDRES"; then
47583 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47584 else
47585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47586 for as_dir in $PATH
47587 do
47588 IFS=$as_save_IFS
47589 test -z "$as_dir" && as_dir=.
47590 for ac_exec_ext in '' $ac_executable_extensions; do
47591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47592 ac_cv_prog_ac_ct_WINDRES="windres"
47593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47594 break 2
47595 fi
47596 done
47597 done
47598 IFS=$as_save_IFS
47599
47600 fi
47601 fi
47602 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47603 if test -n "$ac_ct_WINDRES"; then
47604 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47605 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47606 else
47607 { echo "$as_me:$LINENO: result: no" >&5
47608 echo "${ECHO_T}no" >&6; }
47609 fi
47610
47611 if test "x$ac_ct_WINDRES" = x; then
47612 WINDRES=""
47613 else
47614 case $cross_compiling:$ac_tool_warned in
47615 yes:)
47616 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47617 whose name does not start with the host triplet. If you think this
47618 configuration is useful to you, please write to autoconf@gnu.org." >&5
47619 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47620 whose name does not start with the host triplet. If you think this
47621 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47622 ac_tool_warned=yes ;;
47623 esac
47624 WINDRES=$ac_ct_WINDRES
47625 fi
47626 else
47627 WINDRES="$ac_cv_prog_WINDRES"
47628 fi
47629
47630 ;;
47631
47632 *-*-darwin* | powerpc-apple-macos* )
47633 # Extract the first word of "Rez", so it can be a program name with args.
47634 set dummy Rez; ac_word=$2
47635 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47637 if test "${ac_cv_prog_REZ+set}" = set; then
47638 echo $ECHO_N "(cached) $ECHO_C" >&6
47639 else
47640 if test -n "$REZ"; then
47641 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47642 else
47643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47644 for as_dir in $PATH
47645 do
47646 IFS=$as_save_IFS
47647 test -z "$as_dir" && as_dir=.
47648 for ac_exec_ext in '' $ac_executable_extensions; do
47649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47650 ac_cv_prog_REZ="Rez"
47651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47652 break 2
47653 fi
47654 done
47655 done
47656 IFS=$as_save_IFS
47657
47658 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47659 fi
47660 fi
47661 REZ=$ac_cv_prog_REZ
47662 if test -n "$REZ"; then
47663 { echo "$as_me:$LINENO: result: $REZ" >&5
47664 echo "${ECHO_T}$REZ" >&6; }
47665 else
47666 { echo "$as_me:$LINENO: result: no" >&5
47667 echo "${ECHO_T}no" >&6; }
47668 fi
47669
47670
47671 # Extract the first word of "SetFile", so it can be a program name with args.
47672 set dummy SetFile; ac_word=$2
47673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47675 if test "${ac_cv_prog_SETFILE+set}" = set; then
47676 echo $ECHO_N "(cached) $ECHO_C" >&6
47677 else
47678 if test -n "$SETFILE"; then
47679 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47680 else
47681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47682 for as_dir in $PATH
47683 do
47684 IFS=$as_save_IFS
47685 test -z "$as_dir" && as_dir=.
47686 for ac_exec_ext in '' $ac_executable_extensions; do
47687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47688 ac_cv_prog_SETFILE="SetFile"
47689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47690 break 2
47691 fi
47692 done
47693 done
47694 IFS=$as_save_IFS
47695
47696 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47697 fi
47698 fi
47699 SETFILE=$ac_cv_prog_SETFILE
47700 if test -n "$SETFILE"; then
47701 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47702 echo "${ECHO_T}$SETFILE" >&6; }
47703 else
47704 { echo "$as_me:$LINENO: result: no" >&5
47705 echo "${ECHO_T}no" >&6; }
47706 fi
47707
47708
47709 ;;
47710 esac
47711
47712
47713
47714
47715
47716
47717 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47718
47719
47720 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47721
47722
47723
47724 # Check whether --enable-precomp-headers was given.
47725 if test "${enable_precomp_headers+set}" = set; then
47726 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47727 fi
47728
47729
47730 GCC_PCH=0
47731 ICC_PCH=0
47732 USE_PCH=0
47733 BK_MAKE_PCH=""
47734
47735 case ${BAKEFILE_HOST} in
47736 *-*-cygwin* )
47737 bk_use_pch="no"
47738 ;;
47739 esac
47740
47741 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47742 if test "x$GCC" = "xyes"; then
47743 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47744 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47745 cat >conftest.$ac_ext <<_ACEOF
47746 /* confdefs.h. */
47747 _ACEOF
47748 cat confdefs.h >>conftest.$ac_ext
47749 cat >>conftest.$ac_ext <<_ACEOF
47750 /* end confdefs.h. */
47751
47752 int
47753 main ()
47754 {
47755
47756 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47757 There is no PCH support
47758 #endif
47759 #if (__GNUC__ < 3)
47760 There is no PCH support
47761 #endif
47762 #if (__GNUC__ == 3) && \
47763 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47764 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47765 ( defined(__INTEL_COMPILER) )
47766 There is no PCH support
47767 #endif
47768
47769 ;
47770 return 0;
47771 }
47772 _ACEOF
47773 rm -f conftest.$ac_objext
47774 if { (ac_try="$ac_compile"
47775 case "(($ac_try" in
47776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47777 *) ac_try_echo=$ac_try;;
47778 esac
47779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47780 (eval "$ac_compile") 2>conftest.er1
47781 ac_status=$?
47782 grep -v '^ *+' conftest.er1 >conftest.err
47783 rm -f conftest.er1
47784 cat conftest.err >&5
47785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47786 (exit $ac_status); } && {
47787 test -z "$ac_c_werror_flag" ||
47788 test ! -s conftest.err
47789 } && test -s conftest.$ac_objext; then
47790
47791 { echo "$as_me:$LINENO: result: yes" >&5
47792 echo "${ECHO_T}yes" >&6; }
47793 GCC_PCH=1
47794
47795 else
47796 echo "$as_me: failed program was:" >&5
47797 sed 's/^/| /' conftest.$ac_ext >&5
47798
47799
47800 cat >conftest.$ac_ext <<_ACEOF
47801 /* confdefs.h. */
47802 _ACEOF
47803 cat confdefs.h >>conftest.$ac_ext
47804 cat >>conftest.$ac_ext <<_ACEOF
47805 /* end confdefs.h. */
47806
47807 int
47808 main ()
47809 {
47810
47811 #if !defined(__INTEL_COMPILER) || \
47812 (__INTEL_COMPILER < 800)
47813 There is no PCH support
47814 #endif
47815
47816 ;
47817 return 0;
47818 }
47819 _ACEOF
47820 rm -f conftest.$ac_objext
47821 if { (ac_try="$ac_compile"
47822 case "(($ac_try" in
47823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47824 *) ac_try_echo=$ac_try;;
47825 esac
47826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47827 (eval "$ac_compile") 2>conftest.er1
47828 ac_status=$?
47829 grep -v '^ *+' conftest.er1 >conftest.err
47830 rm -f conftest.er1
47831 cat conftest.err >&5
47832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47833 (exit $ac_status); } && {
47834 test -z "$ac_c_werror_flag" ||
47835 test ! -s conftest.err
47836 } && test -s conftest.$ac_objext; then
47837
47838 { echo "$as_me:$LINENO: result: yes" >&5
47839 echo "${ECHO_T}yes" >&6; }
47840 ICC_PCH=1
47841
47842 else
47843 echo "$as_me: failed program was:" >&5
47844 sed 's/^/| /' conftest.$ac_ext >&5
47845
47846
47847 { echo "$as_me:$LINENO: result: no" >&5
47848 echo "${ECHO_T}no" >&6; }
47849
47850 fi
47851
47852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47853
47854 fi
47855
47856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47857 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47858 USE_PCH=1
47859
47860 D='$'
47861 cat <<EOF >bk-make-pch
47862 #!/bin/sh
47863
47864 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47865 # script. It is used to generated precompiled headers.
47866 #
47867 # Permission is given to use this file in any way.
47868
47869 outfile="${D}{1}"
47870 header="${D}{2}"
47871 shift
47872 shift
47873
47874 compiler=""
47875 headerfile=""
47876
47877 while test ${D}{#} -gt 0; do
47878 add_to_cmdline=1
47879 case "${D}{1}" in
47880 -I* )
47881 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47882 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47883 headerfile="${D}{incdir}/${D}{header}"
47884 fi
47885 ;;
47886 -use-pch|-use_pch )
47887 shift
47888 add_to_cmdline=0
47889 ;;
47890 esac
47891 if test ${D}add_to_cmdline = 1 ; then
47892 compiler="${D}{compiler} ${D}{1}"
47893 fi
47894 shift
47895 done
47896
47897 if test "x${D}{headerfile}" = "x" ; then
47898 echo "error: can't find header ${D}{header} in include paths" >&2
47899 else
47900 if test -f ${D}{outfile} ; then
47901 rm -f ${D}{outfile}
47902 else
47903 mkdir -p \`dirname ${D}{outfile}\`
47904 fi
47905 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47906 mkdir -p .deps
47907 if test "x${GCC_PCH}" = "x1" ; then
47908 # can do this because gcc is >= 3.4:
47909 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47910 elif test "x${ICC_PCH}" = "x1" ; then
47911 filename=pch_gen-${D}${D}
47912 file=${D}{filename}.c
47913 dfile=${D}{filename}.d
47914 cat > ${D}file <<EOT
47915 #include "${D}header"
47916 EOT
47917 # using -MF icc complains about differing command lines in creation/use
47918 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47919 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47920 rm -f ${D}file ${D}dfile ${D}{filename}.o
47921 fi
47922 exit ${D}{?}
47923 fi
47924 EOF
47925
47926 chmod +x bk-make-pch
47927 BK_MAKE_PCH="`pwd`/bk-make-pch"
47928 fi
47929 fi
47930 fi
47931
47932
47933
47934
47935
47936 COND_BUILD_DEBUG="#"
47937 if test "x$BUILD" = "xdebug" ; then
47938 COND_BUILD_DEBUG=""
47939 fi
47940
47941 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47942 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47943 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47944 fi
47945
47946 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47947 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47948 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47949 fi
47950
47951 COND_BUILD_DEBUG_UNICODE_0="#"
47952 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47953 COND_BUILD_DEBUG_UNICODE_0=""
47954 fi
47955
47956 COND_BUILD_DEBUG_UNICODE_1="#"
47957 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47958 COND_BUILD_DEBUG_UNICODE_1=""
47959 fi
47960
47961 COND_BUILD_RELEASE="#"
47962 if test "x$BUILD" = "xrelease" ; then
47963 COND_BUILD_RELEASE=""
47964 fi
47965
47966 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47967 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47968 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47969 fi
47970
47971 COND_BUILD_RELEASE_UNICODE_0="#"
47972 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47973 COND_BUILD_RELEASE_UNICODE_0=""
47974 fi
47975
47976 COND_BUILD_RELEASE_UNICODE_1="#"
47977 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47978 COND_BUILD_RELEASE_UNICODE_1=""
47979 fi
47980
47981 COND_DEBUG_FLAG_1="#"
47982 if test "x$DEBUG_FLAG" = "x1" ; then
47983 COND_DEBUG_FLAG_1=""
47984 fi
47985
47986 COND_DEBUG_INFO_0="#"
47987 if test "x$DEBUG_INFO" = "x0" ; then
47988 COND_DEBUG_INFO_0=""
47989 fi
47990
47991 COND_DEBUG_INFO_1="#"
47992 if test "x$DEBUG_INFO" = "x1" ; then
47993 COND_DEBUG_INFO_1=""
47994 fi
47995
47996 COND_DEPS_TRACKING_0="#"
47997 if test "x$DEPS_TRACKING" = "x0" ; then
47998 COND_DEPS_TRACKING_0=""
47999 fi
48000
48001 COND_DEPS_TRACKING_1="#"
48002 if test "x$DEPS_TRACKING" = "x1" ; then
48003 COND_DEPS_TRACKING_1=""
48004 fi
48005
48006 COND_GCC_PCH_1="#"
48007 if test "x$GCC_PCH" = "x1" ; then
48008 COND_GCC_PCH_1=""
48009 fi
48010
48011 COND_ICC_PCH_1="#"
48012 if test "x$ICC_PCH" = "x1" ; then
48013 COND_ICC_PCH_1=""
48014 fi
48015
48016 COND_MONOLITHIC_0="#"
48017 if test "x$MONOLITHIC" = "x0" ; then
48018 COND_MONOLITHIC_0=""
48019 fi
48020
48021 COND_MONOLITHIC_0_SHARED_0="#"
48022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48023 COND_MONOLITHIC_0_SHARED_0=""
48024 fi
48025
48026 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48028 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48029 fi
48030
48031 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48032 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48033 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48034 fi
48035
48036 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48038 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48039 fi
48040
48041 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48043 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48044 fi
48045
48046 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48048 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48049 fi
48050
48051 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48054 fi
48055
48056 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48058 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48059 fi
48060
48061 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48063 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48064 fi
48065
48066 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48068 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48069 fi
48070
48071 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48073 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48074 fi
48075
48076 COND_MONOLITHIC_0_SHARED_1="#"
48077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48078 COND_MONOLITHIC_0_SHARED_1=""
48079 fi
48080
48081 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48083 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48084 fi
48085
48086 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48088 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48089 fi
48090
48091 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48093 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48094 fi
48095
48096 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48098 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48099 fi
48100
48101 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48103 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48104 fi
48105
48106 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48107 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48109 fi
48110
48111 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48113 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48114 fi
48115
48116 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48118 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48119 fi
48120
48121 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48123 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48124 fi
48125
48126 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48128 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48129 fi
48130
48131 COND_MONOLITHIC_0_USE_AUI_1="#"
48132 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48133 COND_MONOLITHIC_0_USE_AUI_1=""
48134 fi
48135
48136 COND_MONOLITHIC_0_USE_GUI_1="#"
48137 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48138 COND_MONOLITHIC_0_USE_GUI_1=""
48139 fi
48140
48141 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48142 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48143 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48144 fi
48145
48146 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48147 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48148 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48149 fi
48150
48151 COND_MONOLITHIC_0_USE_HTML_1="#"
48152 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48153 COND_MONOLITHIC_0_USE_HTML_1=""
48154 fi
48155
48156 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48157 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48158 COND_MONOLITHIC_0_USE_MEDIA_1=""
48159 fi
48160
48161 COND_MONOLITHIC_0_USE_ODBC_1="#"
48162 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48163 COND_MONOLITHIC_0_USE_ODBC_1=""
48164 fi
48165
48166 COND_MONOLITHIC_0_USE_QA_1="#"
48167 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48168 COND_MONOLITHIC_0_USE_QA_1=""
48169 fi
48170
48171 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48172 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48173 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48174 fi
48175
48176 COND_MONOLITHIC_0_USE_STC_1="#"
48177 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48178 COND_MONOLITHIC_0_USE_STC_1=""
48179 fi
48180
48181 COND_MONOLITHIC_0_USE_XRC_1="#"
48182 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48183 COND_MONOLITHIC_0_USE_XRC_1=""
48184 fi
48185
48186 COND_MONOLITHIC_1="#"
48187 if test "x$MONOLITHIC" = "x1" ; then
48188 COND_MONOLITHIC_1=""
48189 fi
48190
48191 COND_MONOLITHIC_1_SHARED_0="#"
48192 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48193 COND_MONOLITHIC_1_SHARED_0=""
48194 fi
48195
48196 COND_MONOLITHIC_1_SHARED_1="#"
48197 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48198 COND_MONOLITHIC_1_SHARED_1=""
48199 fi
48200
48201 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48202 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48203 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48204 fi
48205
48206 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48207 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48208 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48209 fi
48210
48211 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48212 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48213 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48214 fi
48215
48216 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48217 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48218 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48219 fi
48220
48221 COND_PLATFORM_MACOSX_1="#"
48222 if test "x$PLATFORM_MACOSX" = "x1" ; then
48223 COND_PLATFORM_MACOSX_1=""
48224 fi
48225
48226 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48227 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48228 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48229 fi
48230
48231 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48232 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48233 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48234 fi
48235
48236 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48237 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48238 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48239 fi
48240
48241 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48242 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48243 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48244 fi
48245
48246 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48247 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48248 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48249 fi
48250
48251 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48252 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48253 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48254 fi
48255
48256 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48257 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48258 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48259 fi
48260
48261 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48262 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48263 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48264 fi
48265
48266 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48267 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48268 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48269 fi
48270
48271 COND_PLATFORM_MACOS_1="#"
48272 if test "x$PLATFORM_MACOS" = "x1" ; then
48273 COND_PLATFORM_MACOS_1=""
48274 fi
48275
48276 COND_PLATFORM_MAC_1="#"
48277 if test "x$PLATFORM_MAC" = "x1" ; then
48278 COND_PLATFORM_MAC_1=""
48279 fi
48280
48281 COND_PLATFORM_MSDOS_0="#"
48282 if test "x$PLATFORM_MSDOS" = "x0" ; then
48283 COND_PLATFORM_MSDOS_0=""
48284 fi
48285
48286 COND_PLATFORM_MSDOS_1="#"
48287 if test "x$PLATFORM_MSDOS" = "x1" ; then
48288 COND_PLATFORM_MSDOS_1=""
48289 fi
48290
48291 COND_PLATFORM_OS2_1="#"
48292 if test "x$PLATFORM_OS2" = "x1" ; then
48293 COND_PLATFORM_OS2_1=""
48294 fi
48295
48296 COND_PLATFORM_UNIX_0="#"
48297 if test "x$PLATFORM_UNIX" = "x0" ; then
48298 COND_PLATFORM_UNIX_0=""
48299 fi
48300
48301 COND_PLATFORM_UNIX_1="#"
48302 if test "x$PLATFORM_UNIX" = "x1" ; then
48303 COND_PLATFORM_UNIX_1=""
48304 fi
48305
48306 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48307 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48308 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48309 fi
48310
48311 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48312 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48313 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48314 fi
48315
48316 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48317 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48318 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48319 fi
48320
48321 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48322 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48323 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48324 fi
48325
48326 COND_PLATFORM_WIN32_0="#"
48327 if test "x$PLATFORM_WIN32" = "x0" ; then
48328 COND_PLATFORM_WIN32_0=""
48329 fi
48330
48331 COND_PLATFORM_WIN32_1="#"
48332 if test "x$PLATFORM_WIN32" = "x1" ; then
48333 COND_PLATFORM_WIN32_1=""
48334 fi
48335
48336 COND_SHARED_0="#"
48337 if test "x$SHARED" = "x0" ; then
48338 COND_SHARED_0=""
48339 fi
48340
48341 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48342 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48343 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48344 fi
48345
48346 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48347 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48348 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48349 fi
48350
48351 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48352 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48353 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48354 fi
48355
48356 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48357 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48358 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48359 fi
48360
48361 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48362 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48363 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48364 fi
48365
48366 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48367 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48368 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48369 fi
48370
48371 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48372 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48373 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48374 fi
48375
48376 COND_SHARED_0_USE_STC_1="#"
48377 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48378 COND_SHARED_0_USE_STC_1=""
48379 fi
48380
48381 COND_SHARED_0_USE_XRC_1="#"
48382 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48383 COND_SHARED_0_USE_XRC_1=""
48384 fi
48385
48386 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48387 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48388 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48389 fi
48390
48391 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48392 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48393 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48394 fi
48395
48396 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48397 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48398 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48399 fi
48400
48401 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48402 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48403 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48404 fi
48405
48406 COND_SHARED_1="#"
48407 if test "x$SHARED" = "x1" ; then
48408 COND_SHARED_1=""
48409 fi
48410
48411 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48412 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48413 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48414 fi
48415
48416 COND_SHARED_1_USE_XRC_1="#"
48417 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48418 COND_SHARED_1_USE_XRC_1=""
48419 fi
48420
48421 COND_TOOLKIT_="#"
48422 if test "x$TOOLKIT" = "x" ; then
48423 COND_TOOLKIT_=""
48424 fi
48425
48426 COND_TOOLKIT_COCOA="#"
48427 if test "x$TOOLKIT" = "xCOCOA" ; then
48428 COND_TOOLKIT_COCOA=""
48429 fi
48430
48431 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48432 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48433 COND_TOOLKIT_COCOA_USE_GUI_1=""
48434 fi
48435
48436 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48437 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48438 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48439 fi
48440
48441 COND_TOOLKIT_DFB="#"
48442 if test "x$TOOLKIT" = "xDFB" ; then
48443 COND_TOOLKIT_DFB=""
48444 fi
48445
48446 COND_TOOLKIT_DFB_USE_GUI_1="#"
48447 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48448 COND_TOOLKIT_DFB_USE_GUI_1=""
48449 fi
48450
48451 COND_TOOLKIT_GTK="#"
48452 if test "x$TOOLKIT" = "xGTK" ; then
48453 COND_TOOLKIT_GTK=""
48454 fi
48455
48456 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48457 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48458 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48459 fi
48460
48461 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48462 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48463 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48464 fi
48465
48466 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48467 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48468 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48469 fi
48470
48471 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48472 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48473 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48474 fi
48475
48476 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48477 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48478 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48479 fi
48480
48481 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48482 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48483 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48484 fi
48485
48486 COND_TOOLKIT_GTK_USE_GUI_1="#"
48487 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48488 COND_TOOLKIT_GTK_USE_GUI_1=""
48489 fi
48490
48491 COND_TOOLKIT_MAC="#"
48492 if test "x$TOOLKIT" = "xMAC" ; then
48493 COND_TOOLKIT_MAC=""
48494 fi
48495
48496 COND_TOOLKIT_MAC_USE_GUI_1="#"
48497 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48498 COND_TOOLKIT_MAC_USE_GUI_1=""
48499 fi
48500
48501 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48502 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48503 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48504 fi
48505
48506 COND_TOOLKIT_MGL="#"
48507 if test "x$TOOLKIT" = "xMGL" ; then
48508 COND_TOOLKIT_MGL=""
48509 fi
48510
48511 COND_TOOLKIT_MGL_USE_GUI_1="#"
48512 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48513 COND_TOOLKIT_MGL_USE_GUI_1=""
48514 fi
48515
48516 COND_TOOLKIT_MOTIF="#"
48517 if test "x$TOOLKIT" = "xMOTIF" ; then
48518 COND_TOOLKIT_MOTIF=""
48519 fi
48520
48521 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48522 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48523 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48524 fi
48525
48526 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48527 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48528 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48529 fi
48530
48531 COND_TOOLKIT_MSW="#"
48532 if test "x$TOOLKIT" = "xMSW" ; then
48533 COND_TOOLKIT_MSW=""
48534 fi
48535
48536 COND_TOOLKIT_MSW_USE_GUI_1="#"
48537 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48538 COND_TOOLKIT_MSW_USE_GUI_1=""
48539 fi
48540
48541 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48542 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48543 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48544 fi
48545
48546 COND_TOOLKIT_MSW_WXUNIV_0="#"
48547 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48548 COND_TOOLKIT_MSW_WXUNIV_0=""
48549 fi
48550
48551 COND_TOOLKIT_PM="#"
48552 if test "x$TOOLKIT" = "xPM" ; then
48553 COND_TOOLKIT_PM=""
48554 fi
48555
48556 COND_TOOLKIT_PM_USE_GUI_1="#"
48557 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48558 COND_TOOLKIT_PM_USE_GUI_1=""
48559 fi
48560
48561 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48562 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48563 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48564 fi
48565
48566 COND_TOOLKIT_WINCE="#"
48567 if test "x$TOOLKIT" = "xWINCE" ; then
48568 COND_TOOLKIT_WINCE=""
48569 fi
48570
48571 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48572 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48573 COND_TOOLKIT_WINCE_USE_GUI_1=""
48574 fi
48575
48576 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48577 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48578 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48579 fi
48580
48581 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48582 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48583 COND_TOOLKIT_WINCE_WXUNIV_0=""
48584 fi
48585
48586 COND_TOOLKIT_X11="#"
48587 if test "x$TOOLKIT" = "xX11" ; then
48588 COND_TOOLKIT_X11=""
48589 fi
48590
48591 COND_TOOLKIT_X11_USE_GUI_1="#"
48592 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48593 COND_TOOLKIT_X11_USE_GUI_1=""
48594 fi
48595
48596 COND_UNICODE_1="#"
48597 if test "x$UNICODE" = "x1" ; then
48598 COND_UNICODE_1=""
48599 fi
48600
48601 COND_USE_EXCEPTIONS_0="#"
48602 if test "x$USE_EXCEPTIONS" = "x0" ; then
48603 COND_USE_EXCEPTIONS_0=""
48604 fi
48605
48606 COND_USE_EXCEPTIONS_1="#"
48607 if test "x$USE_EXCEPTIONS" = "x1" ; then
48608 COND_USE_EXCEPTIONS_1=""
48609 fi
48610
48611 COND_USE_GUI_0="#"
48612 if test "x$USE_GUI" = "x0" ; then
48613 COND_USE_GUI_0=""
48614 fi
48615
48616 COND_USE_GUI_1="#"
48617 if test "x$USE_GUI" = "x1" ; then
48618 COND_USE_GUI_1=""
48619 fi
48620
48621 COND_USE_GUI_1_USE_OPENGL_1="#"
48622 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48623 COND_USE_GUI_1_USE_OPENGL_1=""
48624 fi
48625
48626 COND_USE_GUI_1_WXUNIV_0="#"
48627 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48628 COND_USE_GUI_1_WXUNIV_0=""
48629 fi
48630
48631 COND_USE_GUI_1_WXUNIV_1="#"
48632 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48633 COND_USE_GUI_1_WXUNIV_1=""
48634 fi
48635
48636 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48637 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48638 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48639 fi
48640
48641 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48642 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48643 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48644 fi
48645
48646 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48647 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48648 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48649 fi
48650
48651 COND_USE_ODBC_1="#"
48652 if test "x$USE_ODBC" = "x1" ; then
48653 COND_USE_ODBC_1=""
48654 fi
48655
48656 COND_USE_OPENGL_1="#"
48657 if test "x$USE_OPENGL" = "x1" ; then
48658 COND_USE_OPENGL_1=""
48659 fi
48660
48661 COND_USE_PCH_1="#"
48662 if test "x$USE_PCH" = "x1" ; then
48663 COND_USE_PCH_1=""
48664 fi
48665
48666 COND_USE_PLUGINS_0="#"
48667 if test "x$USE_PLUGINS" = "x0" ; then
48668 COND_USE_PLUGINS_0=""
48669 fi
48670
48671 COND_USE_RTTI_0="#"
48672 if test "x$USE_RTTI" = "x0" ; then
48673 COND_USE_RTTI_0=""
48674 fi
48675
48676 COND_USE_RTTI_1="#"
48677 if test "x$USE_RTTI" = "x1" ; then
48678 COND_USE_RTTI_1=""
48679 fi
48680
48681 COND_USE_SOSYMLINKS_1="#"
48682 if test "x$USE_SOSYMLINKS" = "x1" ; then
48683 COND_USE_SOSYMLINKS_1=""
48684 fi
48685
48686 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48687 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48688 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48689 fi
48690
48691 COND_USE_SOVERLINUX_1="#"
48692 if test "x$USE_SOVERLINUX" = "x1" ; then
48693 COND_USE_SOVERLINUX_1=""
48694 fi
48695
48696 COND_USE_SOVERSION_0="#"
48697 if test "x$USE_SOVERSION" = "x0" ; then
48698 COND_USE_SOVERSION_0=""
48699 fi
48700
48701 COND_USE_SOVERSOLARIS_1="#"
48702 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48703 COND_USE_SOVERSOLARIS_1=""
48704 fi
48705
48706 COND_USE_STC_1="#"
48707 if test "x$USE_STC" = "x1" ; then
48708 COND_USE_STC_1=""
48709 fi
48710
48711 COND_USE_THREADS_0="#"
48712 if test "x$USE_THREADS" = "x0" ; then
48713 COND_USE_THREADS_0=""
48714 fi
48715
48716 COND_USE_THREADS_1="#"
48717 if test "x$USE_THREADS" = "x1" ; then
48718 COND_USE_THREADS_1=""
48719 fi
48720
48721 COND_USE_XRC_1="#"
48722 if test "x$USE_XRC" = "x1" ; then
48723 COND_USE_XRC_1=""
48724 fi
48725
48726 COND_WINDOWS_IMPLIB_1="#"
48727 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48728 COND_WINDOWS_IMPLIB_1=""
48729 fi
48730
48731 COND_WITH_PLUGIN_SDL_1="#"
48732 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48733 COND_WITH_PLUGIN_SDL_1=""
48734 fi
48735
48736 COND_WXUNIV_0="#"
48737 if test "x$WXUNIV" = "x0" ; then
48738 COND_WXUNIV_0=""
48739 fi
48740
48741 COND_WXUNIV_1="#"
48742 if test "x$WXUNIV" = "x1" ; then
48743 COND_WXUNIV_1=""
48744 fi
48745
48746 COND_WXUSE_EXPAT_BUILTIN="#"
48747 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48748 COND_WXUSE_EXPAT_BUILTIN=""
48749 fi
48750
48751 COND_WXUSE_LIBJPEG_BUILTIN="#"
48752 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48753 COND_WXUSE_LIBJPEG_BUILTIN=""
48754 fi
48755
48756 COND_WXUSE_LIBPNG_BUILTIN="#"
48757 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48758 COND_WXUSE_LIBPNG_BUILTIN=""
48759 fi
48760
48761 COND_WXUSE_LIBTIFF_BUILTIN="#"
48762 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48763 COND_WXUSE_LIBTIFF_BUILTIN=""
48764 fi
48765
48766 COND_WXUSE_ODBC_BUILTIN="#"
48767 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48768 COND_WXUSE_ODBC_BUILTIN=""
48769 fi
48770
48771 COND_WXUSE_REGEX_BUILTIN="#"
48772 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48773 COND_WXUSE_REGEX_BUILTIN=""
48774 fi
48775
48776 COND_WXUSE_ZLIB_BUILTIN="#"
48777 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48778 COND_WXUSE_ZLIB_BUILTIN=""
48779 fi
48780
48781
48782
48783 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48784 { { 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
48785 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;}
48786 { (exit 1); exit 1; }; }
48787 fi
48788
48789 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48790 { { 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
48791 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;}
48792 { (exit 1); exit 1; }; }
48793 fi
48794
48795
48796 if test $GCC_PCH = 1
48797 then
48798 if test "$wx_cv_gcc_pch_bug" = yes; then
48799 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48800 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48801 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48802 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48803 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48804 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48805 fi
48806
48807 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48808 fi
48809
48810
48811 if test "$wxUSE_MAC" = 1 ; then
48812 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48813 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48814 mv temp bk-deps
48815 chmod +x bk-deps
48816 fi
48817 fi
48818
48819 if test "$wxUSE_SHARED" = "yes"; then
48820
48821 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48822 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48823
48824 case "${host}" in
48825 *-pc-os2_emx | *-pc-os2-emx )
48826 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48827 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48828 cp -p ${srcdir}/src/os2/dllnames.sh .
48829 cp -p ${srcdir}/src/os2/dllar.sh .
48830 ;;
48831 esac
48832 else
48833
48834 EXE_LINKER="$CXX -o"
48835
48836 fi
48837 if test "$wxUSE_OMF" = "yes"; then
48838 case "${host}" in
48839 *-pc-os2_emx | *-pc-os2-emx )
48840 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48841 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48842 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48843 ;;
48844 esac
48845 fi
48846
48847 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48848
48849 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48850
48851
48852
48853
48854
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866
48867
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881
48882
48883
48884
48885
48886
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897
48898
48899
48900
48901
48902
48903
48904
48905
48906
48907
48908
48909
48910
48911 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48912 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48913 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48914 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48915 echo $ECHO_N "(cached) $ECHO_C" >&6
48916 else
48917 cat >conftest.make <<\_ACEOF
48918 SHELL = /bin/sh
48919 all:
48920 @echo '@@@%%%=$(MAKE)=@@@%%%'
48921 _ACEOF
48922 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48923 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48924 *@@@%%%=?*=@@@%%%*)
48925 eval ac_cv_prog_make_${ac_make}_set=yes;;
48926 *)
48927 eval ac_cv_prog_make_${ac_make}_set=no;;
48928 esac
48929 rm -f conftest.make
48930 fi
48931 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48932 { echo "$as_me:$LINENO: result: yes" >&5
48933 echo "${ECHO_T}yes" >&6; }
48934 SET_MAKE=
48935 else
48936 { echo "$as_me:$LINENO: result: no" >&5
48937 echo "${ECHO_T}no" >&6; }
48938 SET_MAKE="MAKE=${MAKE-make}"
48939 fi
48940
48941
48942
48943 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48944
48945
48946 if test "$USE_WIN32" = 1; then
48947 ac_config_commands="$ac_config_commands
48948 rcdefs.h
48949 "
48950
48951 fi
48952
48953 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48954
48955
48956 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48957
48958
48959 if test "$wx_cv_version_script" = "yes"; then
48960 ac_config_files="$ac_config_files version-script"
48961
48962 fi
48963 ac_config_files="$ac_config_files Makefile"
48964
48965
48966 ac_config_commands="$ac_config_commands wx-config"
48967
48968
48969
48970 if test "$wxWITH_SUBDIRS" != "no"; then
48971 if test "$wxUSE_GUI" = "yes"; then
48972 SUBDIRS="samples demos utils"
48973 else SUBDIRS="samples utils"
48974 fi
48975
48976
48977
48978 # Check whether --with-cppunit-prefix was given.
48979 if test "${with_cppunit_prefix+set}" = set; then
48980 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48981 else
48982 cppunit_config_prefix=""
48983 fi
48984
48985
48986 # Check whether --with-cppunit-exec-prefix was given.
48987 if test "${with_cppunit_exec_prefix+set}" = set; then
48988 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48989 else
48990 cppunit_config_exec_prefix=""
48991 fi
48992
48993
48994 if test x$cppunit_config_exec_prefix != x ; then
48995 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48996 if test x${CPPUNIT_CONFIG+set} != xset ; then
48997 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48998 fi
48999 fi
49000 if test x$cppunit_config_prefix != x ; then
49001 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49002 if test x${CPPUNIT_CONFIG+set} != xset ; then
49003 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49004 fi
49005 fi
49006
49007 # Extract the first word of "cppunit-config", so it can be a program name with args.
49008 set dummy cppunit-config; ac_word=$2
49009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49011 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49012 echo $ECHO_N "(cached) $ECHO_C" >&6
49013 else
49014 case $CPPUNIT_CONFIG in
49015 [\\/]* | ?:[\\/]*)
49016 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49017 ;;
49018 *)
49019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49020 for as_dir in $PATH
49021 do
49022 IFS=$as_save_IFS
49023 test -z "$as_dir" && as_dir=.
49024 for ac_exec_ext in '' $ac_executable_extensions; do
49025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49026 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49028 break 2
49029 fi
49030 done
49031 done
49032 IFS=$as_save_IFS
49033
49034 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49035 ;;
49036 esac
49037 fi
49038 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49039 if test -n "$CPPUNIT_CONFIG"; then
49040 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49041 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49042 else
49043 { echo "$as_me:$LINENO: result: no" >&5
49044 echo "${ECHO_T}no" >&6; }
49045 fi
49046
49047
49048 cppunit_version_min=1.8.0
49049
49050 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49051 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49052 no_cppunit=""
49053 if test "$CPPUNIT_CONFIG" = "no" ; then
49054 { echo "$as_me:$LINENO: result: no" >&5
49055 echo "${ECHO_T}no" >&6; }
49056 no_cppunit=yes
49057 else
49058 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49059 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49060 cppunit_version=`$CPPUNIT_CONFIG --version`
49061
49062 cppunit_major_version=`echo $cppunit_version | \
49063 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49064 cppunit_minor_version=`echo $cppunit_version | \
49065 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49066 cppunit_micro_version=`echo $cppunit_version | \
49067 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49068
49069 cppunit_major_min=`echo $cppunit_version_min | \
49070 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49071 cppunit_minor_min=`echo $cppunit_version_min | \
49072 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49073 cppunit_micro_min=`echo $cppunit_version_min | \
49074 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49075
49076 cppunit_version_proper=`expr \
49077 $cppunit_major_version \> $cppunit_major_min \| \
49078 $cppunit_major_version \= $cppunit_major_min \& \
49079 $cppunit_minor_version \> $cppunit_minor_min \| \
49080 $cppunit_major_version \= $cppunit_major_min \& \
49081 $cppunit_minor_version \= $cppunit_minor_min \& \
49082 $cppunit_micro_version \>= $cppunit_micro_min `
49083
49084 if test "$cppunit_version_proper" = "1" ; then
49085 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49086 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49087 else
49088 { echo "$as_me:$LINENO: result: no" >&5
49089 echo "${ECHO_T}no" >&6; }
49090 no_cppunit=yes
49091 fi
49092 fi
49093
49094 if test "x$no_cppunit" = x ; then
49095 SUBDIRS="$SUBDIRS tests"
49096 else
49097 CPPUNIT_CFLAGS=""
49098 CPPUNIT_LIBS=""
49099 :
49100 fi
49101
49102
49103
49104
49105
49106 for subdir in `echo $SUBDIRS`; do
49107 if test -d ${srcdir}/${subdir} ; then
49108 if test "$wxUSE_GUI" = "yes"; then
49109 if test ${subdir} = "samples"; then
49110 makefiles="samples/Makefile.in $makefiles"
49111 for sample in `echo $SAMPLES_SUBDIRS`; do
49112 if test -d $srcdir/samples/$sample; then
49113 makefiles="samples/$sample/Makefile.in $makefiles"
49114 fi
49115 done
49116 else
49117 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49118 eval "disabled=\$$disabled_var"
49119 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49120 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49121 fi
49122 else if test ${subdir} = "samples"; then
49123 makefiles="samples/Makefile.in samples/console/Makefile.in"
49124 elif test ${subdir} = "utils"; then
49125 makefiles=""
49126 for util in HelpGen tex2rtf ; do
49127 if test -d $srcdir/utils/$util ; then
49128 makefiles="utils/$util/Makefile.in \
49129 utils/$util/src/Makefile.in \
49130 $makefiles"
49131 fi
49132 done
49133 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49134 fi
49135 fi
49136
49137 for mkin in $makefiles ; do
49138 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49139 ac_config_files="$ac_config_files $mk"
49140
49141 done
49142 fi
49143 done
49144 fi
49145 cat >confcache <<\_ACEOF
49146 # This file is a shell script that caches the results of configure
49147 # tests run on this system so they can be shared between configure
49148 # scripts and configure runs, see configure's option --config-cache.
49149 # It is not useful on other systems. If it contains results you don't
49150 # want to keep, you may remove or edit it.
49151 #
49152 # config.status only pays attention to the cache file if you give it
49153 # the --recheck option to rerun configure.
49154 #
49155 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49156 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49157 # following values.
49158
49159 _ACEOF
49160
49161 # The following way of writing the cache mishandles newlines in values,
49162 # but we know of no workaround that is simple, portable, and efficient.
49163 # So, we kill variables containing newlines.
49164 # Ultrix sh set writes to stderr and can't be redirected directly,
49165 # and sets the high bit in the cache file unless we assign to the vars.
49166 (
49167 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49168 eval ac_val=\$$ac_var
49169 case $ac_val in #(
49170 *${as_nl}*)
49171 case $ac_var in #(
49172 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49173 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49174 esac
49175 case $ac_var in #(
49176 _ | IFS | as_nl) ;; #(
49177 *) $as_unset $ac_var ;;
49178 esac ;;
49179 esac
49180 done
49181
49182 (set) 2>&1 |
49183 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49184 *${as_nl}ac_space=\ *)
49185 # `set' does not quote correctly, so add quotes (double-quote
49186 # substitution turns \\\\ into \\, and sed turns \\ into \).
49187 sed -n \
49188 "s/'/'\\\\''/g;
49189 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49190 ;; #(
49191 *)
49192 # `set' quotes correctly as required by POSIX, so do not add quotes.
49193 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49194 ;;
49195 esac |
49196 sort
49197 ) |
49198 sed '
49199 /^ac_cv_env_/b end
49200 t clear
49201 :clear
49202 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49203 t end
49204 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49205 :end' >>confcache
49206 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49207 if test -w "$cache_file"; then
49208 test "x$cache_file" != "x/dev/null" &&
49209 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49210 echo "$as_me: updating cache $cache_file" >&6;}
49211 cat confcache >$cache_file
49212 else
49213 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49214 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49215 fi
49216 fi
49217 rm -f confcache
49218
49219 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49220 # Let make expand exec_prefix.
49221 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49222
49223 DEFS=-DHAVE_CONFIG_H
49224
49225 ac_libobjs=
49226 ac_ltlibobjs=
49227 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49228 # 1. Remove the extension, and $U if already installed.
49229 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49230 ac_i=`echo "$ac_i" | sed "$ac_script"`
49231 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49232 # will be set to the directory where LIBOBJS objects are built.
49233 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49234 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49235 done
49236 LIBOBJS=$ac_libobjs
49237
49238 LTLIBOBJS=$ac_ltlibobjs
49239
49240
49241
49242 : ${CONFIG_STATUS=./config.status}
49243 ac_clean_files_save=$ac_clean_files
49244 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49245 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49246 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49247 cat >$CONFIG_STATUS <<_ACEOF
49248 #! $SHELL
49249 # Generated by $as_me.
49250 # Run this file to recreate the current configuration.
49251 # Compiler output produced by configure, useful for debugging
49252 # configure, is in config.log if it exists.
49253
49254 debug=false
49255 ac_cs_recheck=false
49256 ac_cs_silent=false
49257 SHELL=\${CONFIG_SHELL-$SHELL}
49258 _ACEOF
49259
49260 cat >>$CONFIG_STATUS <<\_ACEOF
49261 ## --------------------- ##
49262 ## M4sh Initialization. ##
49263 ## --------------------- ##
49264
49265 # Be more Bourne compatible
49266 DUALCASE=1; export DUALCASE # for MKS sh
49267 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49268 emulate sh
49269 NULLCMD=:
49270 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49271 # is contrary to our usage. Disable this feature.
49272 alias -g '${1+"$@"}'='"$@"'
49273 setopt NO_GLOB_SUBST
49274 else
49275 case `(set -o) 2>/dev/null` in
49276 *posix*) set -o posix ;;
49277 esac
49278
49279 fi
49280
49281
49282
49283
49284 # PATH needs CR
49285 # Avoid depending upon Character Ranges.
49286 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49287 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49288 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49289 as_cr_digits='0123456789'
49290 as_cr_alnum=$as_cr_Letters$as_cr_digits
49291
49292 # The user is always right.
49293 if test "${PATH_SEPARATOR+set}" != set; then
49294 echo "#! /bin/sh" >conf$$.sh
49295 echo "exit 0" >>conf$$.sh
49296 chmod +x conf$$.sh
49297 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49298 PATH_SEPARATOR=';'
49299 else
49300 PATH_SEPARATOR=:
49301 fi
49302 rm -f conf$$.sh
49303 fi
49304
49305 # Support unset when possible.
49306 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49307 as_unset=unset
49308 else
49309 as_unset=false
49310 fi
49311
49312
49313 # IFS
49314 # We need space, tab and new line, in precisely that order. Quoting is
49315 # there to prevent editors from complaining about space-tab.
49316 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49317 # splitting by setting IFS to empty value.)
49318 as_nl='
49319 '
49320 IFS=" "" $as_nl"
49321
49322 # Find who we are. Look in the path if we contain no directory separator.
49323 case $0 in
49324 *[\\/]* ) as_myself=$0 ;;
49325 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49326 for as_dir in $PATH
49327 do
49328 IFS=$as_save_IFS
49329 test -z "$as_dir" && as_dir=.
49330 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49331 done
49332 IFS=$as_save_IFS
49333
49334 ;;
49335 esac
49336 # We did not find ourselves, most probably we were run as `sh COMMAND'
49337 # in which case we are not to be found in the path.
49338 if test "x$as_myself" = x; then
49339 as_myself=$0
49340 fi
49341 if test ! -f "$as_myself"; then
49342 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49343 { (exit 1); exit 1; }
49344 fi
49345
49346 # Work around bugs in pre-3.0 UWIN ksh.
49347 for as_var in ENV MAIL MAILPATH
49348 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49349 done
49350 PS1='$ '
49351 PS2='> '
49352 PS4='+ '
49353
49354 # NLS nuisances.
49355 for as_var in \
49356 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49357 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49358 LC_TELEPHONE LC_TIME
49359 do
49360 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49361 eval $as_var=C; export $as_var
49362 else
49363 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49364 fi
49365 done
49366
49367 # Required to use basename.
49368 if expr a : '\(a\)' >/dev/null 2>&1 &&
49369 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49370 as_expr=expr
49371 else
49372 as_expr=false
49373 fi
49374
49375 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49376 as_basename=basename
49377 else
49378 as_basename=false
49379 fi
49380
49381
49382 # Name of the executable.
49383 as_me=`$as_basename -- "$0" ||
49384 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49385 X"$0" : 'X\(//\)$' \| \
49386 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49387 echo X/"$0" |
49388 sed '/^.*\/\([^/][^/]*\)\/*$/{
49389 s//\1/
49390 q
49391 }
49392 /^X\/\(\/\/\)$/{
49393 s//\1/
49394 q
49395 }
49396 /^X\/\(\/\).*/{
49397 s//\1/
49398 q
49399 }
49400 s/.*/./; q'`
49401
49402 # CDPATH.
49403 $as_unset CDPATH
49404
49405
49406
49407 as_lineno_1=$LINENO
49408 as_lineno_2=$LINENO
49409 test "x$as_lineno_1" != "x$as_lineno_2" &&
49410 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49411
49412 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49413 # uniformly replaced by the line number. The first 'sed' inserts a
49414 # line-number line after each line using $LINENO; the second 'sed'
49415 # does the real work. The second script uses 'N' to pair each
49416 # line-number line with the line containing $LINENO, and appends
49417 # trailing '-' during substitution so that $LINENO is not a special
49418 # case at line end.
49419 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49420 # scripts with optimization help from Paolo Bonzini. Blame Lee
49421 # E. McMahon (1931-1989) for sed's syntax. :-)
49422 sed -n '
49423 p
49424 /[$]LINENO/=
49425 ' <$as_myself |
49426 sed '
49427 s/[$]LINENO.*/&-/
49428 t lineno
49429 b
49430 :lineno
49431 N
49432 :loop
49433 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49434 t loop
49435 s/-\n.*//
49436 ' >$as_me.lineno &&
49437 chmod +x "$as_me.lineno" ||
49438 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49439 { (exit 1); exit 1; }; }
49440
49441 # Don't try to exec as it changes $[0], causing all sort of problems
49442 # (the dirname of $[0] is not the place where we might find the
49443 # original and so on. Autoconf is especially sensitive to this).
49444 . "./$as_me.lineno"
49445 # Exit status is that of the last command.
49446 exit
49447 }
49448
49449
49450 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49451 as_dirname=dirname
49452 else
49453 as_dirname=false
49454 fi
49455
49456 ECHO_C= ECHO_N= ECHO_T=
49457 case `echo -n x` in
49458 -n*)
49459 case `echo 'x\c'` in
49460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49461 *) ECHO_C='\c';;
49462 esac;;
49463 *)
49464 ECHO_N='-n';;
49465 esac
49466
49467 if expr a : '\(a\)' >/dev/null 2>&1 &&
49468 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49469 as_expr=expr
49470 else
49471 as_expr=false
49472 fi
49473
49474 rm -f conf$$ conf$$.exe conf$$.file
49475 if test -d conf$$.dir; then
49476 rm -f conf$$.dir/conf$$.file
49477 else
49478 rm -f conf$$.dir
49479 mkdir conf$$.dir
49480 fi
49481 echo >conf$$.file
49482 if ln -s conf$$.file conf$$ 2>/dev/null; then
49483 as_ln_s='ln -s'
49484 # ... but there are two gotchas:
49485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49487 # In both cases, we have to default to `cp -p'.
49488 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49489 as_ln_s='cp -p'
49490 elif ln conf$$.file conf$$ 2>/dev/null; then
49491 as_ln_s=ln
49492 else
49493 as_ln_s='cp -p'
49494 fi
49495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49496 rmdir conf$$.dir 2>/dev/null
49497
49498 if mkdir -p . 2>/dev/null; then
49499 as_mkdir_p=:
49500 else
49501 test -d ./-p && rmdir ./-p
49502 as_mkdir_p=false
49503 fi
49504
49505 if test -x / >/dev/null 2>&1; then
49506 as_test_x='test -x'
49507 else
49508 if ls -dL / >/dev/null 2>&1; then
49509 as_ls_L_option=L
49510 else
49511 as_ls_L_option=
49512 fi
49513 as_test_x='
49514 eval sh -c '\''
49515 if test -d "$1"; then
49516 test -d "$1/.";
49517 else
49518 case $1 in
49519 -*)set "./$1";;
49520 esac;
49521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49522 ???[sx]*):;;*)false;;esac;fi
49523 '\'' sh
49524 '
49525 fi
49526 as_executable_p=$as_test_x
49527
49528 # Sed expression to map a string onto a valid CPP name.
49529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49530
49531 # Sed expression to map a string onto a valid variable name.
49532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49533
49534
49535 exec 6>&1
49536
49537 # Save the log message, to keep $[0] and so on meaningful, and to
49538 # report actual input values of CONFIG_FILES etc. instead of their
49539 # values after options handling.
49540 ac_log="
49541 This file was extended by wxWidgets $as_me 2.9.0, which was
49542 generated by GNU Autoconf 2.61. Invocation command line was
49543
49544 CONFIG_FILES = $CONFIG_FILES
49545 CONFIG_HEADERS = $CONFIG_HEADERS
49546 CONFIG_LINKS = $CONFIG_LINKS
49547 CONFIG_COMMANDS = $CONFIG_COMMANDS
49548 $ $0 $@
49549
49550 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49551 "
49552
49553 _ACEOF
49554
49555 cat >>$CONFIG_STATUS <<_ACEOF
49556 # Files that config.status was made for.
49557 config_files="$ac_config_files"
49558 config_headers="$ac_config_headers"
49559 config_commands="$ac_config_commands"
49560
49561 _ACEOF
49562
49563 cat >>$CONFIG_STATUS <<\_ACEOF
49564 ac_cs_usage="\
49565 \`$as_me' instantiates files from templates according to the
49566 current configuration.
49567
49568 Usage: $0 [OPTIONS] [FILE]...
49569
49570 -h, --help print this help, then exit
49571 -V, --version print version number and configuration settings, then exit
49572 -q, --quiet do not print progress messages
49573 -d, --debug don't remove temporary files
49574 --recheck update $as_me by reconfiguring in the same conditions
49575 --file=FILE[:TEMPLATE]
49576 instantiate the configuration file FILE
49577 --header=FILE[:TEMPLATE]
49578 instantiate the configuration header FILE
49579
49580 Configuration files:
49581 $config_files
49582
49583 Configuration headers:
49584 $config_headers
49585
49586 Configuration commands:
49587 $config_commands
49588
49589 Report bugs to <bug-autoconf@gnu.org>."
49590
49591 _ACEOF
49592 cat >>$CONFIG_STATUS <<_ACEOF
49593 ac_cs_version="\\
49594 wxWidgets config.status 2.9.0
49595 configured by $0, generated by GNU Autoconf 2.61,
49596 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49597
49598 Copyright (C) 2006 Free Software Foundation, Inc.
49599 This config.status script is free software; the Free Software Foundation
49600 gives unlimited permission to copy, distribute and modify it."
49601
49602 ac_pwd='$ac_pwd'
49603 srcdir='$srcdir'
49604 INSTALL='$INSTALL'
49605 _ACEOF
49606
49607 cat >>$CONFIG_STATUS <<\_ACEOF
49608 # If no file are specified by the user, then we need to provide default
49609 # value. By we need to know if files were specified by the user.
49610 ac_need_defaults=:
49611 while test $# != 0
49612 do
49613 case $1 in
49614 --*=*)
49615 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49616 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49617 ac_shift=:
49618 ;;
49619 *)
49620 ac_option=$1
49621 ac_optarg=$2
49622 ac_shift=shift
49623 ;;
49624 esac
49625
49626 case $ac_option in
49627 # Handling of the options.
49628 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49629 ac_cs_recheck=: ;;
49630 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49631 echo "$ac_cs_version"; exit ;;
49632 --debug | --debu | --deb | --de | --d | -d )
49633 debug=: ;;
49634 --file | --fil | --fi | --f )
49635 $ac_shift
49636 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49637 ac_need_defaults=false;;
49638 --header | --heade | --head | --hea )
49639 $ac_shift
49640 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49641 ac_need_defaults=false;;
49642 --he | --h)
49643 # Conflict between --help and --header
49644 { echo "$as_me: error: ambiguous option: $1
49645 Try \`$0 --help' for more information." >&2
49646 { (exit 1); exit 1; }; };;
49647 --help | --hel | -h )
49648 echo "$ac_cs_usage"; exit ;;
49649 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49650 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49651 ac_cs_silent=: ;;
49652
49653 # This is an error.
49654 -*) { echo "$as_me: error: unrecognized option: $1
49655 Try \`$0 --help' for more information." >&2
49656 { (exit 1); exit 1; }; } ;;
49657
49658 *) ac_config_targets="$ac_config_targets $1"
49659 ac_need_defaults=false ;;
49660
49661 esac
49662 shift
49663 done
49664
49665 ac_configure_extra_args=
49666
49667 if $ac_cs_silent; then
49668 exec 6>/dev/null
49669 ac_configure_extra_args="$ac_configure_extra_args --silent"
49670 fi
49671
49672 _ACEOF
49673 cat >>$CONFIG_STATUS <<_ACEOF
49674 if \$ac_cs_recheck; then
49675 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49676 CONFIG_SHELL=$SHELL
49677 export CONFIG_SHELL
49678 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49679 fi
49680
49681 _ACEOF
49682 cat >>$CONFIG_STATUS <<\_ACEOF
49683 exec 5>>config.log
49684 {
49685 echo
49686 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49687 ## Running $as_me. ##
49688 _ASBOX
49689 echo "$ac_log"
49690 } >&5
49691
49692 _ACEOF
49693 cat >>$CONFIG_STATUS <<_ACEOF
49694 #
49695 # INIT-COMMANDS
49696 #
49697
49698 CPP="$CPP"
49699 infile="$srcdir/include/wx/msw/genrcdefs.h"
49700 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49701
49702
49703 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49704 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49705 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49706 LN_S="${LN_S}"
49707
49708
49709 _ACEOF
49710
49711 cat >>$CONFIG_STATUS <<\_ACEOF
49712
49713 # Handling of arguments.
49714 for ac_config_target in $ac_config_targets
49715 do
49716 case $ac_config_target in
49717 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49718 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49719 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49720 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49721 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49722 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49723 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49724 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49725
49726 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49727 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49728 { (exit 1); exit 1; }; };;
49729 esac
49730 done
49731
49732
49733 # If the user did not use the arguments to specify the items to instantiate,
49734 # then the envvar interface is used. Set only those that are not.
49735 # We use the long form for the default assignment because of an extremely
49736 # bizarre bug on SunOS 4.1.3.
49737 if $ac_need_defaults; then
49738 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49739 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49740 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49741 fi
49742
49743 # Have a temporary directory for convenience. Make it in the build tree
49744 # simply because there is no reason against having it here, and in addition,
49745 # creating and moving files from /tmp can sometimes cause problems.
49746 # Hook for its removal unless debugging.
49747 # Note that there is a small window in which the directory will not be cleaned:
49748 # after its creation but before its name has been assigned to `$tmp'.
49749 $debug ||
49750 {
49751 tmp=
49752 trap 'exit_status=$?
49753 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49754 ' 0
49755 trap '{ (exit 1); exit 1; }' 1 2 13 15
49756 }
49757 # Create a (secure) tmp directory for tmp files.
49758
49759 {
49760 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49761 test -n "$tmp" && test -d "$tmp"
49762 } ||
49763 {
49764 tmp=./conf$$-$RANDOM
49765 (umask 077 && mkdir "$tmp")
49766 } ||
49767 {
49768 echo "$me: cannot create a temporary directory in ." >&2
49769 { (exit 1); exit 1; }
49770 }
49771
49772 #
49773 # Set up the sed scripts for CONFIG_FILES section.
49774 #
49775
49776 # No need to generate the scripts if there are no CONFIG_FILES.
49777 # This happens for instance when ./config.status config.h
49778 if test -n "$CONFIG_FILES"; then
49779
49780 _ACEOF
49781
49782
49783
49784 ac_delim='%!_!# '
49785 for ac_last_try in false false false false false :; do
49786 cat >conf$$subs.sed <<_ACEOF
49787 SHELL!$SHELL$ac_delim
49788 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49789 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49790 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49791 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49792 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49793 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49794 exec_prefix!$exec_prefix$ac_delim
49795 prefix!$prefix$ac_delim
49796 program_transform_name!$program_transform_name$ac_delim
49797 bindir!$bindir$ac_delim
49798 sbindir!$sbindir$ac_delim
49799 libexecdir!$libexecdir$ac_delim
49800 datarootdir!$datarootdir$ac_delim
49801 datadir!$datadir$ac_delim
49802 sysconfdir!$sysconfdir$ac_delim
49803 sharedstatedir!$sharedstatedir$ac_delim
49804 localstatedir!$localstatedir$ac_delim
49805 includedir!$includedir$ac_delim
49806 oldincludedir!$oldincludedir$ac_delim
49807 docdir!$docdir$ac_delim
49808 infodir!$infodir$ac_delim
49809 htmldir!$htmldir$ac_delim
49810 dvidir!$dvidir$ac_delim
49811 pdfdir!$pdfdir$ac_delim
49812 psdir!$psdir$ac_delim
49813 libdir!$libdir$ac_delim
49814 localedir!$localedir$ac_delim
49815 mandir!$mandir$ac_delim
49816 DEFS!$DEFS$ac_delim
49817 ECHO_C!$ECHO_C$ac_delim
49818 ECHO_N!$ECHO_N$ac_delim
49819 ECHO_T!$ECHO_T$ac_delim
49820 LIBS!$LIBS$ac_delim
49821 build_alias!$build_alias$ac_delim
49822 host_alias!$host_alias$ac_delim
49823 target_alias!$target_alias$ac_delim
49824 build!$build$ac_delim
49825 build_cpu!$build_cpu$ac_delim
49826 build_vendor!$build_vendor$ac_delim
49827 build_os!$build_os$ac_delim
49828 host!$host$ac_delim
49829 host_cpu!$host_cpu$ac_delim
49830 host_vendor!$host_vendor$ac_delim
49831 host_os!$host_os$ac_delim
49832 target!$target$ac_delim
49833 target_cpu!$target_cpu$ac_delim
49834 target_vendor!$target_vendor$ac_delim
49835 target_os!$target_os$ac_delim
49836 wx_top_builddir!$wx_top_builddir$ac_delim
49837 CC!$CC$ac_delim
49838 CFLAGS!$CFLAGS$ac_delim
49839 LDFLAGS!$LDFLAGS$ac_delim
49840 CPPFLAGS!$CPPFLAGS$ac_delim
49841 ac_ct_CC!$ac_ct_CC$ac_delim
49842 EXEEXT!$EXEEXT$ac_delim
49843 OBJEXT!$OBJEXT$ac_delim
49844 CPP!$CPP$ac_delim
49845 GREP!$GREP$ac_delim
49846 EGREP!$EGREP$ac_delim
49847 CXX!$CXX$ac_delim
49848 CXXFLAGS!$CXXFLAGS$ac_delim
49849 ac_ct_CXX!$ac_ct_CXX$ac_delim
49850 RANLIB!$RANLIB$ac_delim
49851 AR!$AR$ac_delim
49852 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49853 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49854 INSTALL_DATA!$INSTALL_DATA$ac_delim
49855 STRIP!$STRIP$ac_delim
49856 WINDRES!$WINDRES$ac_delim
49857 DLLTOOL!$DLLTOOL$ac_delim
49858 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49859 LN_S!$LN_S$ac_delim
49860 subdirs!$subdirs$ac_delim
49861 PKG_CONFIG!$PKG_CONFIG$ac_delim
49862 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49863 GTK_LIBS!$GTK_LIBS$ac_delim
49864 GTK_CONFIG!$GTK_CONFIG$ac_delim
49865 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49866 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49867 XMKMF!$XMKMF$ac_delim
49868 X_CFLAGS!$X_CFLAGS$ac_delim
49869 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49870 X_LIBS!$X_LIBS$ac_delim
49871 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49872 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49873 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49874 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49875 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49876 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49877 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49878 REZ!$REZ$ac_delim
49879 DEREZ!$DEREZ$ac_delim
49880 SETFILE!$SETFILE$ac_delim
49881 LIBICONV!$LIBICONV$ac_delim
49882 SDL_CONFIG!$SDL_CONFIG$ac_delim
49883 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49884 _ACEOF
49885
49886 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49887 break
49888 elif $ac_last_try; then
49889 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49890 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49891 { (exit 1); exit 1; }; }
49892 else
49893 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49894 fi
49895 done
49896
49897 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49898 if test -n "$ac_eof"; then
49899 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49900 ac_eof=`expr $ac_eof + 1`
49901 fi
49902
49903 cat >>$CONFIG_STATUS <<_ACEOF
49904 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49905 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49906 _ACEOF
49907 sed '
49908 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49909 s/^/s,@/; s/!/@,|#_!!_#|/
49910 :n
49911 t n
49912 s/'"$ac_delim"'$/,g/; t
49913 s/$/\\/; p
49914 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49915 ' >>$CONFIG_STATUS <conf$$subs.sed
49916 rm -f conf$$subs.sed
49917 cat >>$CONFIG_STATUS <<_ACEOF
49918 CEOF$ac_eof
49919 _ACEOF
49920
49921
49922 ac_delim='%!_!# '
49923 for ac_last_try in false false false false false :; do
49924 cat >conf$$subs.sed <<_ACEOF
49925 SDL_LIBS!$SDL_LIBS$ac_delim
49926 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49927 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49928 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49929 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49930 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49931 HILDON_LIBS!$HILDON_LIBS$ac_delim
49932 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49933 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49934 GST_CFLAGS!$GST_CFLAGS$ac_delim
49935 GST_LIBS!$GST_LIBS$ac_delim
49936 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49937 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49938 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49939 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49940 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49941 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49942 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49943 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49944 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49945 VENDOR!$VENDOR$ac_delim
49946 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49947 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49948 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49949 WXUNIV!$WXUNIV$ac_delim
49950 MONOLITHIC!$MONOLITHIC$ac_delim
49951 USE_PLUGINS!$USE_PLUGINS$ac_delim
49952 CXXWARNINGS!$CXXWARNINGS$ac_delim
49953 EXTRALIBS!$EXTRALIBS$ac_delim
49954 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49955 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49956 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49957 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49958 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49959 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49960 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49961 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49962 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49963 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49964 UNICODE!$UNICODE$ac_delim
49965 BUILD!$BUILD$ac_delim
49966 DEBUG_INFO!$DEBUG_INFO$ac_delim
49967 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49968 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49969 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49970 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49971 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49972 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49973 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49974 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49975 SET_MAKE!$SET_MAKE$ac_delim
49976 MAKE_SET!$MAKE_SET$ac_delim
49977 AROPTIONS!$AROPTIONS$ac_delim
49978 NM!$NM$ac_delim
49979 INSTALL_DIR!$INSTALL_DIR$ac_delim
49980 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49981 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49982 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49983 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49984 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49985 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49986 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49987 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49988 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49989 SO_SUFFIX!$SO_SUFFIX$ac_delim
49990 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49991 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49992 LIBPREFIX!$LIBPREFIX$ac_delim
49993 LIBEXT!$LIBEXT$ac_delim
49994 DLLPREFIX!$DLLPREFIX$ac_delim
49995 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49996 dlldir!$dlldir$ac_delim
49997 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49998 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49999 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50000 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50001 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50002 PIC_FLAG!$PIC_FLAG$ac_delim
50003 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50004 USE_SOVERSION!$USE_SOVERSION$ac_delim
50005 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50006 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50007 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50008 USE_MACVERSION!$USE_MACVERSION$ac_delim
50009 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50010 SONAME_FLAG!$SONAME_FLAG$ac_delim
50011 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50012 BK_DEPS!$BK_DEPS$ac_delim
50013 GCC_PCH!$GCC_PCH$ac_delim
50014 ICC_PCH!$ICC_PCH$ac_delim
50015 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50016 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50017 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50018 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50019 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50020 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50021 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50022 _ACEOF
50023
50024 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50025 break
50026 elif $ac_last_try; then
50027 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50028 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50029 { (exit 1); exit 1; }; }
50030 else
50031 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50032 fi
50033 done
50034
50035 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50036 if test -n "$ac_eof"; then
50037 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50038 ac_eof=`expr $ac_eof + 1`
50039 fi
50040
50041 cat >>$CONFIG_STATUS <<_ACEOF
50042 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50043 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50044 _ACEOF
50045 sed '
50046 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50047 s/^/s,@/; s/!/@,|#_!!_#|/
50048 :n
50049 t n
50050 s/'"$ac_delim"'$/,g/; t
50051 s/$/\\/; p
50052 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50053 ' >>$CONFIG_STATUS <conf$$subs.sed
50054 rm -f conf$$subs.sed
50055 cat >>$CONFIG_STATUS <<_ACEOF
50056 CEOF$ac_eof
50057 _ACEOF
50058
50059
50060 ac_delim='%!_!# '
50061 for ac_last_try in false false false false false :; do
50062 cat >conf$$subs.sed <<_ACEOF
50063 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50064 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50065 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50066 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50067 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50068 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50069 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50070 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50071 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50072 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50073 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50074 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50075 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50076 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50077 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50078 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50079 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50080 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50081 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50082 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50083 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50084 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50085 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50086 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50088 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50089 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50090 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50091 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50092 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50093 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50094 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50095 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50096 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50097 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50098 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50099 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50100 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50101 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50102 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50103 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50104 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50105 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50106 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50107 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50108 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50109 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50110 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50111 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50112 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50113 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50114 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50115 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50116 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50117 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50118 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50119 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50120 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50121 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50122 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50123 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50124 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50125 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50126 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50127 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50128 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50129 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50130 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50131 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50132 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50133 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50134 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50135 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50136 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50137 COND_SHARED_0!$COND_SHARED_0$ac_delim
50138 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50139 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50140 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50141 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50142 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50143 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50144 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50145 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50146 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50147 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50148 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50149 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50150 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50151 COND_SHARED_1!$COND_SHARED_1$ac_delim
50152 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50153 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50154 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50155 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50156 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50157 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50158 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50159 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50160 _ACEOF
50161
50162 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50163 break
50164 elif $ac_last_try; then
50165 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50166 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50167 { (exit 1); exit 1; }; }
50168 else
50169 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50170 fi
50171 done
50172
50173 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50174 if test -n "$ac_eof"; then
50175 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50176 ac_eof=`expr $ac_eof + 1`
50177 fi
50178
50179 cat >>$CONFIG_STATUS <<_ACEOF
50180 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50181 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50182 _ACEOF
50183 sed '
50184 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50185 s/^/s,@/; s/!/@,|#_!!_#|/
50186 :n
50187 t n
50188 s/'"$ac_delim"'$/,g/; t
50189 s/$/\\/; p
50190 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50191 ' >>$CONFIG_STATUS <conf$$subs.sed
50192 rm -f conf$$subs.sed
50193 cat >>$CONFIG_STATUS <<_ACEOF
50194 CEOF$ac_eof
50195 _ACEOF
50196
50197
50198 ac_delim='%!_!# '
50199 for ac_last_try in false false false false false :; do
50200 cat >conf$$subs.sed <<_ACEOF
50201 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50202 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50204 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50206 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50207 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50208 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50209 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50210 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50211 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50212 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50213 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50214 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50215 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50216 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50217 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50218 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50219 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50220 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50221 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50222 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50223 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50224 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50225 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50226 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50227 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50228 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50229 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50230 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50231 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50232 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50233 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50234 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50235 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50236 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50237 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50238 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50239 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50240 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50241 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50242 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50243 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50244 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50245 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50246 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50247 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50248 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50249 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50250 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50251 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50252 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50253 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50254 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50255 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50256 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50257 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50258 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50259 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50260 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50261 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50262 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50263 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50264 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50265 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50266 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50267 SHARED!$SHARED$ac_delim
50268 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50269 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50270 USE_GUI!$USE_GUI$ac_delim
50271 AFMINSTALL!$AFMINSTALL$ac_delim
50272 WIN32INSTALL!$WIN32INSTALL$ac_delim
50273 TOOLKIT!$TOOLKIT$ac_delim
50274 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50275 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50276 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50277 cross_compiling!$cross_compiling$ac_delim
50278 WIDGET_SET!$WIDGET_SET$ac_delim
50279 WX_RELEASE!$WX_RELEASE$ac_delim
50280 WX_VERSION!$WX_VERSION$ac_delim
50281 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50282 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50283 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50284 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50285 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50286 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50287 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50288 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50289 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50290 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50291 EXE_LINKER!$EXE_LINKER$ac_delim
50292 GUIDIST!$GUIDIST$ac_delim
50293 DISTDIR!$DISTDIR$ac_delim
50294 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50295 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50296 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50297 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50298 _ACEOF
50299
50300 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50301 break
50302 elif $ac_last_try; then
50303 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50304 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50305 { (exit 1); exit 1; }; }
50306 else
50307 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50308 fi
50309 done
50310
50311 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50312 if test -n "$ac_eof"; then
50313 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50314 ac_eof=`expr $ac_eof + 1`
50315 fi
50316
50317 cat >>$CONFIG_STATUS <<_ACEOF
50318 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50319 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50320 _ACEOF
50321 sed '
50322 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50323 s/^/s,@/; s/!/@,|#_!!_#|/
50324 :n
50325 t n
50326 s/'"$ac_delim"'$/,g/; t
50327 s/$/\\/; p
50328 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50329 ' >>$CONFIG_STATUS <conf$$subs.sed
50330 rm -f conf$$subs.sed
50331 cat >>$CONFIG_STATUS <<_ACEOF
50332 CEOF$ac_eof
50333 _ACEOF
50334
50335
50336 ac_delim='%!_!# '
50337 for ac_last_try in false false false false false :; do
50338 cat >conf$$subs.sed <<_ACEOF
50339 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50340 RESCOMP!$RESCOMP$ac_delim
50341 RESFLAGS!$RESFLAGS$ac_delim
50342 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50343 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50344 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50345 LIBWXMACRES!$LIBWXMACRES$ac_delim
50346 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50347 MACSETFILE!$MACSETFILE$ac_delim
50348 GCC!$GCC$ac_delim
50349 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50350 LIBOBJS!$LIBOBJS$ac_delim
50351 LTLIBOBJS!$LTLIBOBJS$ac_delim
50352 _ACEOF
50353
50354 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50355 break
50356 elif $ac_last_try; then
50357 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50358 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50359 { (exit 1); exit 1; }; }
50360 else
50361 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50362 fi
50363 done
50364
50365 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50366 if test -n "$ac_eof"; then
50367 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50368 ac_eof=`expr $ac_eof + 1`
50369 fi
50370
50371 cat >>$CONFIG_STATUS <<_ACEOF
50372 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50373 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50374 _ACEOF
50375 sed '
50376 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50377 s/^/s,@/; s/!/@,|#_!!_#|/
50378 :n
50379 t n
50380 s/'"$ac_delim"'$/,g/; t
50381 s/$/\\/; p
50382 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50383 ' >>$CONFIG_STATUS <conf$$subs.sed
50384 rm -f conf$$subs.sed
50385 cat >>$CONFIG_STATUS <<_ACEOF
50386 :end
50387 s/|#_!!_#|//g
50388 CEOF$ac_eof
50389 _ACEOF
50390
50391
50392 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50393 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50394 # trailing colons and then remove the whole line if VPATH becomes empty
50395 # (actually we leave an empty line to preserve line numbers).
50396 if test "x$srcdir" = x.; then
50397 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50398 s/:*\$(srcdir):*/:/
50399 s/:*\${srcdir}:*/:/
50400 s/:*@srcdir@:*/:/
50401 s/^\([^=]*=[ ]*\):*/\1/
50402 s/:*$//
50403 s/^[^=]*=[ ]*$//
50404 }'
50405 fi
50406
50407 cat >>$CONFIG_STATUS <<\_ACEOF
50408 fi # test -n "$CONFIG_FILES"
50409
50410
50411 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50412 do
50413 case $ac_tag in
50414 :[FHLC]) ac_mode=$ac_tag; continue;;
50415 esac
50416 case $ac_mode$ac_tag in
50417 :[FHL]*:*);;
50418 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50419 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50420 { (exit 1); exit 1; }; };;
50421 :[FH]-) ac_tag=-:-;;
50422 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50423 esac
50424 ac_save_IFS=$IFS
50425 IFS=:
50426 set x $ac_tag
50427 IFS=$ac_save_IFS
50428 shift
50429 ac_file=$1
50430 shift
50431
50432 case $ac_mode in
50433 :L) ac_source=$1;;
50434 :[FH])
50435 ac_file_inputs=
50436 for ac_f
50437 do
50438 case $ac_f in
50439 -) ac_f="$tmp/stdin";;
50440 *) # Look for the file first in the build tree, then in the source tree
50441 # (if the path is not absolute). The absolute path cannot be DOS-style,
50442 # because $ac_f cannot contain `:'.
50443 test -f "$ac_f" ||
50444 case $ac_f in
50445 [\\/$]*) false;;
50446 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50447 esac ||
50448 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50449 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50450 { (exit 1); exit 1; }; };;
50451 esac
50452 ac_file_inputs="$ac_file_inputs $ac_f"
50453 done
50454
50455 # Let's still pretend it is `configure' which instantiates (i.e., don't
50456 # use $as_me), people would be surprised to read:
50457 # /* config.h. Generated by config.status. */
50458 configure_input="Generated from "`IFS=:
50459 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50460 if test x"$ac_file" != x-; then
50461 configure_input="$ac_file. $configure_input"
50462 { echo "$as_me:$LINENO: creating $ac_file" >&5
50463 echo "$as_me: creating $ac_file" >&6;}
50464 fi
50465
50466 case $ac_tag in
50467 *:-:* | *:-) cat >"$tmp/stdin";;
50468 esac
50469 ;;
50470 esac
50471
50472 ac_dir=`$as_dirname -- "$ac_file" ||
50473 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50474 X"$ac_file" : 'X\(//\)[^/]' \| \
50475 X"$ac_file" : 'X\(//\)$' \| \
50476 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50477 echo X"$ac_file" |
50478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50479 s//\1/
50480 q
50481 }
50482 /^X\(\/\/\)[^/].*/{
50483 s//\1/
50484 q
50485 }
50486 /^X\(\/\/\)$/{
50487 s//\1/
50488 q
50489 }
50490 /^X\(\/\).*/{
50491 s//\1/
50492 q
50493 }
50494 s/.*/./; q'`
50495 { as_dir="$ac_dir"
50496 case $as_dir in #(
50497 -*) as_dir=./$as_dir;;
50498 esac
50499 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50500 as_dirs=
50501 while :; do
50502 case $as_dir in #(
50503 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50504 *) as_qdir=$as_dir;;
50505 esac
50506 as_dirs="'$as_qdir' $as_dirs"
50507 as_dir=`$as_dirname -- "$as_dir" ||
50508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50509 X"$as_dir" : 'X\(//\)[^/]' \| \
50510 X"$as_dir" : 'X\(//\)$' \| \
50511 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50512 echo X"$as_dir" |
50513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50514 s//\1/
50515 q
50516 }
50517 /^X\(\/\/\)[^/].*/{
50518 s//\1/
50519 q
50520 }
50521 /^X\(\/\/\)$/{
50522 s//\1/
50523 q
50524 }
50525 /^X\(\/\).*/{
50526 s//\1/
50527 q
50528 }
50529 s/.*/./; q'`
50530 test -d "$as_dir" && break
50531 done
50532 test -z "$as_dirs" || eval "mkdir $as_dirs"
50533 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50534 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50535 { (exit 1); exit 1; }; }; }
50536 ac_builddir=.
50537
50538 case "$ac_dir" in
50539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50540 *)
50541 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50542 # A ".." for each directory in $ac_dir_suffix.
50543 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50544 case $ac_top_builddir_sub in
50545 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50546 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50547 esac ;;
50548 esac
50549 ac_abs_top_builddir=$ac_pwd
50550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50551 # for backward compatibility:
50552 ac_top_builddir=$ac_top_build_prefix
50553
50554 case $srcdir in
50555 .) # We are building in place.
50556 ac_srcdir=.
50557 ac_top_srcdir=$ac_top_builddir_sub
50558 ac_abs_top_srcdir=$ac_pwd ;;
50559 [\\/]* | ?:[\\/]* ) # Absolute name.
50560 ac_srcdir=$srcdir$ac_dir_suffix;
50561 ac_top_srcdir=$srcdir
50562 ac_abs_top_srcdir=$srcdir ;;
50563 *) # Relative name.
50564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50565 ac_top_srcdir=$ac_top_build_prefix$srcdir
50566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50567 esac
50568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50569
50570
50571 case $ac_mode in
50572 :F)
50573 #
50574 # CONFIG_FILE
50575 #
50576
50577 case $INSTALL in
50578 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50579 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50580 esac
50581 _ACEOF
50582
50583 cat >>$CONFIG_STATUS <<\_ACEOF
50584 # If the template does not know about datarootdir, expand it.
50585 # FIXME: This hack should be removed a few years after 2.60.
50586 ac_datarootdir_hack=; ac_datarootdir_seen=
50587
50588 case `sed -n '/datarootdir/ {
50589 p
50590 q
50591 }
50592 /@datadir@/p
50593 /@docdir@/p
50594 /@infodir@/p
50595 /@localedir@/p
50596 /@mandir@/p
50597 ' $ac_file_inputs` in
50598 *datarootdir*) ac_datarootdir_seen=yes;;
50599 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50600 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50601 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50602 _ACEOF
50603 cat >>$CONFIG_STATUS <<_ACEOF
50604 ac_datarootdir_hack='
50605 s&@datadir@&$datadir&g
50606 s&@docdir@&$docdir&g
50607 s&@infodir@&$infodir&g
50608 s&@localedir@&$localedir&g
50609 s&@mandir@&$mandir&g
50610 s&\\\${datarootdir}&$datarootdir&g' ;;
50611 esac
50612 _ACEOF
50613
50614 # Neutralize VPATH when `$srcdir' = `.'.
50615 # Shell code in configure.ac might set extrasub.
50616 # FIXME: do we really want to maintain this feature?
50617 cat >>$CONFIG_STATUS <<_ACEOF
50618 sed "$ac_vpsub
50619 $extrasub
50620 _ACEOF
50621 cat >>$CONFIG_STATUS <<\_ACEOF
50622 :t
50623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50624 s&@configure_input@&$configure_input&;t t
50625 s&@top_builddir@&$ac_top_builddir_sub&;t t
50626 s&@srcdir@&$ac_srcdir&;t t
50627 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50628 s&@top_srcdir@&$ac_top_srcdir&;t t
50629 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50630 s&@builddir@&$ac_builddir&;t t
50631 s&@abs_builddir@&$ac_abs_builddir&;t t
50632 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50633 s&@INSTALL@&$ac_INSTALL&;t t
50634 $ac_datarootdir_hack
50635 " $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
50636
50637 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50638 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50639 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50640 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50641 which seems to be undefined. Please make sure it is defined." >&5
50642 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50643 which seems to be undefined. Please make sure it is defined." >&2;}
50644
50645 rm -f "$tmp/stdin"
50646 case $ac_file in
50647 -) cat "$tmp/out"; rm -f "$tmp/out";;
50648 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50649 esac
50650 ;;
50651 :H)
50652 #
50653 # CONFIG_HEADER
50654 #
50655 _ACEOF
50656
50657 # Transform confdefs.h into a sed script `conftest.defines', that
50658 # substitutes the proper values into config.h.in to produce config.h.
50659 rm -f conftest.defines conftest.tail
50660 # First, append a space to every undef/define line, to ease matching.
50661 echo 's/$/ /' >conftest.defines
50662 # Then, protect against being on the right side of a sed subst, or in
50663 # an unquoted here document, in config.status. If some macros were
50664 # called several times there might be several #defines for the same
50665 # symbol, which is useless. But do not sort them, since the last
50666 # AC_DEFINE must be honored.
50667 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50668 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50669 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50670 # PARAMS is the parameter list in the macro definition--in most cases, it's
50671 # just an empty string.
50672 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50673 ac_dB='\\)[ (].*,\\1define\\2'
50674 ac_dC=' '
50675 ac_dD=' ,'
50676
50677 uniq confdefs.h |
50678 sed -n '
50679 t rset
50680 :rset
50681 s/^[ ]*#[ ]*define[ ][ ]*//
50682 t ok
50683 d
50684 :ok
50685 s/[\\&,]/\\&/g
50686 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50687 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50688 ' >>conftest.defines
50689
50690 # Remove the space that was appended to ease matching.
50691 # Then replace #undef with comments. This is necessary, for
50692 # example, in the case of _POSIX_SOURCE, which is predefined and required
50693 # on some systems where configure will not decide to define it.
50694 # (The regexp can be short, since the line contains either #define or #undef.)
50695 echo 's/ $//
50696 s,^[ #]*u.*,/* & */,' >>conftest.defines
50697
50698 # Break up conftest.defines:
50699 ac_max_sed_lines=50
50700
50701 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50702 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50703 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50704 # et cetera.
50705 ac_in='$ac_file_inputs'
50706 ac_out='"$tmp/out1"'
50707 ac_nxt='"$tmp/out2"'
50708
50709 while :
50710 do
50711 # Write a here document:
50712 cat >>$CONFIG_STATUS <<_ACEOF
50713 # First, check the format of the line:
50714 cat >"\$tmp/defines.sed" <<\\CEOF
50715 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50716 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50717 b
50718 :def
50719 _ACEOF
50720 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50721 echo 'CEOF
50722 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50723 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50724 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50725 grep . conftest.tail >/dev/null || break
50726 rm -f conftest.defines
50727 mv conftest.tail conftest.defines
50728 done
50729 rm -f conftest.defines conftest.tail
50730
50731 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50732 cat >>$CONFIG_STATUS <<\_ACEOF
50733 if test x"$ac_file" != x-; then
50734 echo "/* $configure_input */" >"$tmp/config.h"
50735 cat "$ac_result" >>"$tmp/config.h"
50736 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50737 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50738 echo "$as_me: $ac_file is unchanged" >&6;}
50739 else
50740 rm -f $ac_file
50741 mv "$tmp/config.h" $ac_file
50742 fi
50743 else
50744 echo "/* $configure_input */"
50745 cat "$ac_result"
50746 fi
50747 rm -f "$tmp/out12"
50748 ;;
50749
50750 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50751 echo "$as_me: executing $ac_file commands" >&6;}
50752 ;;
50753 esac
50754
50755
50756 case $ac_file$ac_mode in
50757 "rcdefs.h":C)
50758 mkdir -p $outdir &&
50759 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50760 ;;
50761 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50762 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50763 "wx-config":C) rm -f wx-config
50764 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50765 ;;
50766
50767 esac
50768 done # for ac_tag
50769
50770
50771 { (exit 0); exit 0; }
50772 _ACEOF
50773 chmod +x $CONFIG_STATUS
50774 ac_clean_files=$ac_clean_files_save
50775
50776
50777 # configure is writing to config.log, and then calls config.status.
50778 # config.status does its own redirection, appending to config.log.
50779 # Unfortunately, on DOS this fails, as config.log is still kept open
50780 # by configure, so config.status won't be able to write to it; its
50781 # output is simply discarded. So we exec the FD to /dev/null,
50782 # effectively closing config.log, so it can be properly (re)opened and
50783 # appended to by config.status. When coming back to configure, we
50784 # need to make the FD available again.
50785 if test "$no_create" != yes; then
50786 ac_cs_success=:
50787 ac_config_status_args=
50788 test "$silent" = yes &&
50789 ac_config_status_args="$ac_config_status_args --quiet"
50790 exec 5>/dev/null
50791 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50792 exec 5>>config.log
50793 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50794 # would make configure fail if this is the last instruction.
50795 $ac_cs_success || { (exit 1); exit 1; }
50796 fi
50797
50798 #
50799 # CONFIG_SUBDIRS section.
50800 #
50801 if test "$no_recursion" != yes; then
50802
50803 # Remove --cache-file and --srcdir arguments so they do not pile up.
50804 ac_sub_configure_args=
50805 ac_prev=
50806 eval "set x $ac_configure_args"
50807 shift
50808 for ac_arg
50809 do
50810 if test -n "$ac_prev"; then
50811 ac_prev=
50812 continue
50813 fi
50814 case $ac_arg in
50815 -cache-file | --cache-file | --cache-fil | --cache-fi \
50816 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50817 ac_prev=cache_file ;;
50818 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50819 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50820 | --c=*)
50821 ;;
50822 --config-cache | -C)
50823 ;;
50824 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50825 ac_prev=srcdir ;;
50826 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50827 ;;
50828 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50829 ac_prev=prefix ;;
50830 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50831 ;;
50832 *)
50833 case $ac_arg in
50834 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50835 esac
50836 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50837 esac
50838 done
50839
50840 # Always prepend --prefix to ensure using the same prefix
50841 # in subdir configurations.
50842 ac_arg="--prefix=$prefix"
50843 case $ac_arg in
50844 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50845 esac
50846 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50847
50848 # Pass --silent
50849 if test "$silent" = yes; then
50850 ac_sub_configure_args="--silent $ac_sub_configure_args"
50851 fi
50852
50853 ac_popdir=`pwd`
50854 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50855
50856 # Do not complain, so a configure script can configure whichever
50857 # parts of a large source tree are present.
50858 test -d "$srcdir/$ac_dir" || continue
50859
50860 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50861 echo "$as_me:$LINENO: $ac_msg" >&5
50862 echo "$ac_msg" >&6
50863 { as_dir="$ac_dir"
50864 case $as_dir in #(
50865 -*) as_dir=./$as_dir;;
50866 esac
50867 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50868 as_dirs=
50869 while :; do
50870 case $as_dir in #(
50871 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50872 *) as_qdir=$as_dir;;
50873 esac
50874 as_dirs="'$as_qdir' $as_dirs"
50875 as_dir=`$as_dirname -- "$as_dir" ||
50876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50877 X"$as_dir" : 'X\(//\)[^/]' \| \
50878 X"$as_dir" : 'X\(//\)$' \| \
50879 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50880 echo X"$as_dir" |
50881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50882 s//\1/
50883 q
50884 }
50885 /^X\(\/\/\)[^/].*/{
50886 s//\1/
50887 q
50888 }
50889 /^X\(\/\/\)$/{
50890 s//\1/
50891 q
50892 }
50893 /^X\(\/\).*/{
50894 s//\1/
50895 q
50896 }
50897 s/.*/./; q'`
50898 test -d "$as_dir" && break
50899 done
50900 test -z "$as_dirs" || eval "mkdir $as_dirs"
50901 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50902 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50903 { (exit 1); exit 1; }; }; }
50904 ac_builddir=.
50905
50906 case "$ac_dir" in
50907 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50908 *)
50909 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50910 # A ".." for each directory in $ac_dir_suffix.
50911 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50912 case $ac_top_builddir_sub in
50913 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50914 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50915 esac ;;
50916 esac
50917 ac_abs_top_builddir=$ac_pwd
50918 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50919 # for backward compatibility:
50920 ac_top_builddir=$ac_top_build_prefix
50921
50922 case $srcdir in
50923 .) # We are building in place.
50924 ac_srcdir=.
50925 ac_top_srcdir=$ac_top_builddir_sub
50926 ac_abs_top_srcdir=$ac_pwd ;;
50927 [\\/]* | ?:[\\/]* ) # Absolute name.
50928 ac_srcdir=$srcdir$ac_dir_suffix;
50929 ac_top_srcdir=$srcdir
50930 ac_abs_top_srcdir=$srcdir ;;
50931 *) # Relative name.
50932 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50933 ac_top_srcdir=$ac_top_build_prefix$srcdir
50934 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50935 esac
50936 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50937
50938
50939 cd "$ac_dir"
50940
50941 # Check for guested configure; otherwise get Cygnus style configure.
50942 if test -f "$ac_srcdir/configure.gnu"; then
50943 ac_sub_configure=$ac_srcdir/configure.gnu
50944 elif test -f "$ac_srcdir/configure"; then
50945 ac_sub_configure=$ac_srcdir/configure
50946 elif test -f "$ac_srcdir/configure.in"; then
50947 # This should be Cygnus configure.
50948 ac_sub_configure=$ac_aux_dir/configure
50949 else
50950 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50951 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50952 ac_sub_configure=
50953 fi
50954
50955 # The recursion is here.
50956 if test -n "$ac_sub_configure"; then
50957 # Make the cache file name correct relative to the subdirectory.
50958 case $cache_file in
50959 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50960 *) # Relative name.
50961 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50962 esac
50963
50964 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50965 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50966 # The eval makes quoting arguments work.
50967 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50968 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50969 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50970 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50971 { (exit 1); exit 1; }; }
50972 fi
50973
50974 cd "$ac_popdir"
50975 done
50976 fi
50977
50978
50979 echo
50980 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50981 echo ""
50982 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50983 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50984
50985 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50986 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50987 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
50988 if test "$wxUSE_UNICODE" = "yes"; then
50989 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
50990 echo " (using UTF-8)"
50991 else
50992 echo " (using wchar_t)"
50993 fi
50994 else
50995 echo
50996 fi
50997
50998 echo " What level of wxWidgets compatibility should be enabled?"
50999 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51000 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51001
51002 echo " Which libraries should wxWidgets use?"
51003 echo " jpeg ${wxUSE_LIBJPEG-none}"
51004 echo " png ${wxUSE_LIBPNG-none}"
51005 echo " regex ${wxUSE_REGEX}"
51006 echo " tiff ${wxUSE_LIBTIFF-none}"
51007 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51008 echo " xpm ${wxUSE_LIBXPM-none}"
51009 fi
51010 echo " zlib ${wxUSE_ZLIB}"
51011 echo " odbc ${wxUSE_ODBC}"
51012 echo " expat ${wxUSE_EXPAT}"
51013 echo " libmspack ${wxUSE_LIBMSPACK}"
51014 echo " sdl ${wxUSE_LIBSDL}"
51015
51016 echo ""
51017