]> git.saurik.com Git - wxWidgets.git/blob - configure
removed broken and global GetLine() function from wx/protocol/protocol.h; there's...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47419 2007-07-13 09:13:55Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 CFLAGS_VISIBILITY
711 CXXFLAGS_VISIBILITY
712 REZ
713 DEREZ
714 SETFILE
715 LIBICONV
716 SDL_CONFIG
717 SDL_CFLAGS
718 SDL_LIBS
719 LIBGNOMEPRINTUI_CFLAGS
720 LIBGNOMEPRINTUI_LIBS
721 GNOMEVFS_CFLAGS
722 GNOMEVFS_LIBS
723 HILDON_CFLAGS
724 HILDON_LIBS
725 CAIRO_CFLAGS
726 CAIRO_LIBS
727 GST_CFLAGS
728 GST_LIBS
729 ALL_WX_LIBS
730 BUILT_WX_LIBS
731 STD_BASE_LIBS
732 STD_GUI_LIBS
733 wxUSE_ZLIB
734 wxUSE_REGEX
735 wxUSE_EXPAT
736 wxUSE_ODBC
737 wxUSE_LIBJPEG
738 wxUSE_LIBPNG
739 wxUSE_LIBTIFF
740 VENDOR
741 OFFICIAL_BUILD
742 WX_FLAVOUR
743 WX_LIB_FLAVOUR
744 WXUNIV
745 MONOLITHIC
746 USE_PLUGINS
747 CXXWARNINGS
748 EXTRALIBS
749 EXTRALIBS_XML
750 EXTRALIBS_HTML
751 EXTRALIBS_ODBC
752 EXTRALIBS_GUI
753 EXTRALIBS_OPENGL
754 EXTRALIBS_SDL
755 WITH_PLUGIN_SDL
756 EXTRALIBS_GNOMEPRINT
757 EXTRALIBS_GNOMEVFS
758 EXTRALIBS_HILDON
759 UNICODE
760 BUILD
761 DEBUG_INFO
762 DEBUG_FLAG
763 TOOLKIT_LOWERCASE
764 TOOLKIT_VERSION
765 SAMPLES_RPATH_FLAG
766 SAMPLES_RPATH_POSTLINK
767 HOST_SUFFIX
768 CPPUNIT_CFLAGS
769 CPPUNIT_LIBS
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
861 COND_MONOLITHIC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
879 COND_PLATFORM_MAC_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
882 COND_PLATFORM_OS2_1
883 COND_PLATFORM_UNIX_0
884 COND_PLATFORM_UNIX_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
891 COND_SHARED_0
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
905 COND_SHARED_1
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
908 COND_TOOLKIT_
909 COND_TOOLKIT_COCOA
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_DFB
913 COND_TOOLKIT_DFB_USE_GUI_1
914 COND_TOOLKIT_GTK
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
922 COND_TOOLKIT_MAC
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MGL
926 COND_TOOLKIT_MGL_USE_GUI_1
927 COND_TOOLKIT_MOTIF
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_MSW
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
934 COND_TOOLKIT_PM
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_WINCE
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
941 COND_TOOLKIT_X11
942 COND_TOOLKIT_X11_USE_GUI_1
943 COND_UNICODE_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_0
947 COND_USE_GUI_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
954 COND_USE_ODBC_1
955 COND_USE_OPENGL_1
956 COND_USE_PCH_1
957 COND_USE_PLUGINS_0
958 COND_USE_RTTI_0
959 COND_USE_RTTI_1
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
963 COND_USE_SOVERSION_0
964 COND_USE_SOVERSOLARIS_1
965 COND_USE_STC_1
966 COND_USE_THREADS_0
967 COND_USE_THREADS_1
968 COND_USE_XRC_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
971 COND_WXUNIV_0
972 COND_WXUNIV_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
980 SHARED
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
983 USE_GUI
984 AFMINSTALL
985 WIN32INSTALL
986 TOOLKIT
987 TOOLKIT_DIR
988 TOOLCHAIN_NAME
989 TOOLCHAIN_FULLNAME
990 cross_compiling
991 WIDGET_SET
992 WX_RELEASE
993 WX_VERSION
994 WX_SUBVERSION
995 WX_CHARTYPE
996 WX_DEBUGTYPE
997 WXCONFIG_CPPFLAGS
998 WXCONFIG_CFLAGS
999 WXCONFIG_CXXFLAGS
1000 WXCONFIG_LIBS
1001 WXCONFIG_RPATH
1002 WXCONFIG_LDFLAGS_GUI
1003 WXCONFIG_RESFLAGS
1004 EXE_LINKER
1005 GUIDIST
1006 DISTDIR
1007 SAMPLES_SUBDIRS
1008 LDFLAGS_GL
1009 OPENGL_LIBS
1010 DMALLOC_LIBS
1011 WX_VERSION_TAG
1012 RESCOMP
1013 RESFLAGS
1014 RESPROGRAMOBJ
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1017 LIBWXMACRES
1018 POSTLINK_COMMAND
1019 MACSETFILE
1020 GCC
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1049 GNOMEVFS_CFLAGS
1050 GNOMEVFS_LIBS
1051 HILDON_CFLAGS
1052 HILDON_LIBS
1053 CAIRO_CFLAGS
1054 CAIRO_LIBS
1055 GST_CFLAGS
1056 GST_LIBS'
1057 ac_subdirs_all='src/expat'
1058
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1065 exec_prefix=NONE
1066 no_create=
1067 no_recursion=
1068 prefix=NONE
1069 program_prefix=NONE
1070 program_suffix=NONE
1071 program_transform_name=s,x,x,
1072 silent=
1073 site=
1074 srcdir=
1075 verbose=
1076 x_includes=NONE
1077 x_libraries=NONE
1078
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1097 htmldir='${docdir}'
1098 dvidir='${docdir}'
1099 pdfdir='${docdir}'
1100 psdir='${docdir}'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1104
1105 ac_prev=
1106 ac_dashdash=
1107 for ac_option
1108 do
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1112 ac_prev=
1113 continue
1114 fi
1115
1116 case $ac_option in
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 *) ac_optarg=yes ;;
1119 esac
1120
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1122
1123 case $ac_dashdash$ac_option in
1124 --)
1125 ac_dashdash=yes ;;
1126
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 ac_prev=bindir ;;
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1131
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1136
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1143
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1146
1147 -datadir | --datadir | --datadi | --datad)
1148 ac_prev=datadir ;;
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1151
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1158
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1167
1168 -docdir | --docdir | --docdi | --doc | --do)
1169 ac_prev=docdir ;;
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1172
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 ac_prev=dvidir ;;
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1177
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1186
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1195
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1198 with_gas=yes ;;
1199
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1206
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1211
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 ac_prev=htmldir ;;
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 | --ht=*)
1216 htmldir=$ac_optarg ;;
1217
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1224
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 ac_prev=infodir ;;
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1229
1230 -libdir | --libdir | --libdi | --libd)
1231 ac_prev=libdir ;;
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1234
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1241
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1246
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1253
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 ac_prev=mandir ;;
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1258
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1261 with_fp=no ;;
1262
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1265 no_create=yes ;;
1266
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 no_recursion=yes ;;
1270
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1279
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 ac_prev=prefix ;;
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1284
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1291
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1298
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1315
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 ac_prev=pdfdir ;;
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1320
1321 -psdir | --psdir | --psdi | --psd | --ps)
1322 ac_prev=psdir ;;
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 psdir=$ac_optarg ;;
1325
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1328 silent=yes ;;
1329
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 ac_prev=sbindir ;;
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 | --sbi=* | --sb=*)
1334 sbindir=$ac_optarg ;;
1335
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1339 | --sha | --sh)
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 | --sha=* | --sh=*)
1345 sharedstatedir=$ac_optarg ;;
1346
1347 -site | --site | --sit)
1348 ac_prev=site ;;
1349 -site=* | --site=* | --sit=*)
1350 site=$ac_optarg ;;
1351
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 ac_prev=srcdir ;;
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1356
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1363
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1368
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 verbose=yes ;;
1371
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1374
1375 -with-* | --with-*)
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1383
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1392
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1396
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1403
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1410
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1414 ;;
1415
1416 *=*)
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1424
1425 *)
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 ;;
1432
1433 esac
1434 done
1435
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1440 fi
1441
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1447 do
1448 eval ac_val=\$$ac_var
1449 case $ac_val in
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 esac
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1455 done
1456
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1460 build=$build_alias
1461 host=$host_alias
1462 target=$target_alias
1463
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1489
1490
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 echo X"$0" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)[^/].*/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\/\)$/{
1510 s//\1/
1511 q
1512 }
1513 /^X\(\/\).*/{
1514 s//\1/
1515 q
1516 }
1517 s/.*/./; q'`
1518 srcdir=$ac_confdir
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 srcdir=..
1521 fi
1522 else
1523 ac_srcdir_defaulted=no
1524 fi
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1534 pwd)`
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 srcdir=.
1538 fi
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1542 case $srcdir in
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 esac
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 done
1551
1552 #
1553 # Report the --help message.
1554 #
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1558 cat <<_ACEOF
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1562
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1565
1566 Defaults for the options are specified in brackets.
1567
1568 Configuration:
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 [PREFIX]
1584
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1589
1590 For better control, use the options below.
1591
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1612 _ACEOF
1613
1614 cat <<\_ACEOF
1615
1616 X features:
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1619
1620 System types:
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1624 _ACEOF
1625 fi
1626
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 esac
1631 cat <<\_ACEOF
1632
1633 Optional Features:
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all_features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-apple_ieee use the Apple IEEE codec
1686 --enable-arcstream use wxArchive streams
1687 --enable-base64 use base64 encoding/decoding functions
1688 --enable-backtrace use wxStackWalker class for getting backtraces
1689 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1690 --enable-cmdline use wxCmdLineParser class
1691 --enable-datetime use wxDateTime class
1692 --enable-debugreport use wxDebugReport class
1693 --enable-dialupman use dialup network classes
1694 --enable-dynlib use wxLibrary class for DLL loading
1695 --enable-dynamicloader use (new) wxDynamicLibrary class
1696 --enable-exceptions build exception-safe library
1697 --enable-ffile use wxFFile class
1698 --enable-file use wxFile class
1699 --enable-filesystem use virtual file systems classes
1700 --enable-fontmap use font encodings conversion classes
1701 --enable-fs_archive use virtual archive filesystems
1702 --enable-fs_inet use virtual HTTP/FTP filesystems
1703 --enable-fs_zip now replaced by fs_archive
1704 --enable-geometry use geometry class
1705 --enable-log use logging system
1706 --enable-longlong use wxLongLong class
1707 --enable-mimetype use wxMimeTypesManager
1708 --enable-snglinst use wxSingleInstanceChecker class
1709 --enable-stdpaths use wxStandardPaths class
1710 --enable-stopwatch use wxStopWatch class
1711 --enable-streams use wxStream etc classes
1712 --enable-sysoptions use wxSystemOptions
1713 --enable-tarstream use wxTar streams
1714 --enable-textbuf use wxTextBuffer class
1715 --enable-textfile use wxTextFile class
1716 --enable-timer use wxTimer class
1717 --enable-sound use wxSound class
1718 --enable-mediactrl use wxMediaCtrl class
1719 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1720 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1721 --enable-zipstream use wxZip streams
1722 --enable-url use wxURL class
1723 --enable-variant use wxVariant class
1724 --enable-protocol use wxProtocol class
1725 --enable-protocol-http HTTP support in wxProtocol
1726 --enable-protocol-ftp FTP support in wxProtocol
1727 --enable-protocol-file FILE support in wxProtocol
1728 --enable-threads use threads
1729 --enable-docview use document view architecture
1730 --enable-help use help subsystem
1731 --enable-mshtmlhelp use MS HTML Help (win32)
1732 --enable-html use wxHTML sub-library
1733 --enable-htmlhelp use wxHTML-based help
1734 --enable-xrc use XRC resources sub-library
1735 --enable-aui use AUI docking library
1736 --enable-stc use wxStyledTextCtrl library
1737 --enable-constraints use layout-constraints system
1738 --enable-printarch use printing architecture
1739 --enable-mdi use multiple document interface architecture
1740 --enable-mdidoc use docview architecture with MDI
1741 --enable-loggui use standard GUI logger
1742 --enable-logwin use wxLogWindow
1743 --enable-logdialog use wxLogDialog
1744 --enable-webkit use wxWebKitCtrl (Mac)
1745 --enable-richtext use wxRichTextCtrl
1746 --enable-graphics_ctx use graphics context 2D drawing API
1747 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1748 --enable-svg use wxSVGFileDC device context
1749 --enable-clipboard use wxClipboard class
1750 --enable-dnd use Drag'n'Drop classes
1751 --enable-metafile use win32 metafiles
1752 --enable-controls use all usual controls
1753 --enable-accel use accelerators
1754 --enable-animatectrl use wxAnimationCtrl class
1755 --enable-button use wxButton class
1756 --enable-bmpbutton use wxBitmapButton class
1757 --enable-bmpcombobox use wxBitmapComboBox class
1758 --enable-calendar use wxCalendarCtrl class
1759 --enable-caret use wxCaret class
1760 --enable-checkbox use wxCheckBox class
1761 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1762 --enable-choice use wxChoice class
1763 --enable-choicebook use wxChoicebook class
1764 --enable-collpane use wxCollapsiblePane class
1765 --enable-colourpicker use wxColourPickerCtrl class
1766 --enable-combobox use wxComboBox class
1767 --enable-comboctrl use wxComboCtrl class
1768 --enable-datepick use wxDatePickerCtrl class
1769 --enable-dirpicker use wxDirPickerCtrl class
1770 --enable-display use wxDisplay class
1771 --enable-detect_sm use code to detect X11 session manager
1772 --enable-editablebox use wxEditableListBox class
1773 --enable-filepicker use wxFilePickerCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-odcombobox use wxOwnerDrawnComboBox class
1785 --enable-radiobox use wxRadioBox class
1786 --enable-radiobtn use wxRadioButton class
1787 --enable-sash use wxSashWindow class
1788 --enable-scrollbar use wxScrollBar class and scrollable windows
1789 --enable-searchctrl use wxSearchCtrl class
1790 --enable-slider use wxSlider class
1791 --enable-spinbtn use wxSpinButton class
1792 --enable-spinctrl use wxSpinCtrl class
1793 --enable-splitter use wxSplitterWindow class
1794 --enable-statbmp use wxStaticBitmap class
1795 --enable-statbox use wxStaticBox class
1796 --enable-statline use wxStaticLine class
1797 --enable-stattext use wxStaticText class
1798 --enable-statusbar use wxStatusBar class
1799 --enable-tabdialog use wxTabControl class
1800 --enable-textctrl use wxTextCtrl class
1801 --enable-togglebtn use wxToggleButton class
1802 --enable-toolbar use wxToolBar class
1803 --enable-tbarnative use native wxToolBar class
1804 --enable-treebook use wxTreebook class
1805 --enable-toolbook use wxToolbook class
1806 --enable-treectrl use wxTreeCtrl class
1807 --enable-tipwindow use wxTipWindow class
1808 --enable-popupwin use wxPopUpWindow class
1809 --enable-commondlg use all common dialogs
1810 --enable-aboutdlg use wxAboutBox
1811 --enable-choicedlg use wxChoiceDialog
1812 --enable-coldlg use wxColourDialog
1813 --enable-filedlg use wxFileDialog
1814 --enable-finddlg use wxFindReplaceDialog
1815 --enable-fontdlg use wxFontDialog
1816 --enable-dirdlg use wxDirDialog
1817 --enable-msgdlg use wxMessageDialog
1818 --enable-numberdlg use wxNumberEntryDialog
1819 --enable-splash use wxSplashScreen
1820 --enable-textdlg use wxTextDialog
1821 --enable-tipdlg use startup tips
1822 --enable-progressdlg use wxProgressDialog
1823 --enable-wizarddlg use wxWizard
1824 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1825 --enable-miniframe use wxMiniFrame class
1826 --enable-tooltips use wxToolTip class
1827 --enable-splines use spline drawing code
1828 --enable-mousewheel use mousewheel
1829 --enable-validators use wxValidator and derived classes
1830 --enable-busyinfo use wxBusyInfo
1831 --enable-joystick use wxJoystick
1832 --enable-metafiles use wxMetaFile (Win32 only)
1833 --enable-dragimage use wxDragImage
1834 --enable-accessibility enable accessibility support
1835 --enable-dccache cache temporary wxDC objects (Win32 only)
1836 --enable-palette use wxPalette class
1837 --enable-image use wxImage class
1838 --enable-gif use gif images (GIF file format)
1839 --enable-pcx use pcx images (PCX file format)
1840 --enable-tga use tga images (TGA file format)
1841 --enable-iff use iff images (IFF file format)
1842 --enable-pnm use pnm images (PNM file format)
1843 --enable-xpm use xpm images (XPM file format)
1844 --enable-icocur use Windows ICO and CUR formats
1845 --disable-largefile omit support for large files
1846 --disable-gtktest do not try to compile and run a test GTK+ program
1847 --disable-gtktest Do not try to compile and run a test GTK program
1848 --disable-sdltest Do not try to compile and run a test SDL program
1849 --enable-omf use OMF object format (OS/2)
1850 --disable-dependency-tracking
1851 don't use dependency tracking even if the compiler
1852 can
1853 --disable-precomp-headers
1854 don't use precompiled headers even if compiler can
1855
1856 Optional Packages:
1857 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1858 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1859 --without-subdirs don't generate makefiles for samples/demos/...
1860 --with-flavour=NAME specify a name to identify this build
1861 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1862 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1863 --with-motif use Motif/Lesstif
1864 --with-mac use Mac OS X
1865 --with-cocoa use Cocoa
1866 --with-wine use Wine
1867 --with-msw use MS-Windows
1868 --with-pm use OS/2 Presentation Manager
1869 --with-mgl use SciTech MGL
1870 --with-directfb use DirectFB
1871 --with-microwin use MicroWindows
1872 --with-x11 use X11
1873 --with-libpng use libpng (PNG image format)
1874 --with-libjpeg use libjpeg (JPEG file format)
1875 --with-libtiff use libtiff (TIFF file format)
1876 --with-libxpm use libxpm (XPM file format)
1877 --with-libmspack use libmspack (CHM help files loading)
1878 --without-gnomeprint don't use GNOME printing libraries
1879 --with-gnomevfs use GNOME VFS for associating MIME types
1880 --with-hildon use Hildon framework for Nokia 770
1881 --with-opengl use OpenGL (or Mesa)
1882 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1883 --with-sdl use SDL for audio on Unix
1884 --with-regex enable support for wxRegEx class
1885 --with-zlib use zlib for LZW compression
1886 --with-odbc use the IODBC and wxODBC classes
1887 --with-expat enable XML support using expat parser
1888 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1889 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1890 --with-x use the X Window System
1891 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1892 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1893 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1894 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1895 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1896
1897 Some influential environment variables:
1898 CC C compiler command
1899 CFLAGS C compiler flags
1900 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1901 nonstandard directory <lib dir>
1902 LIBS libraries to pass to the linker, e.g. -l<library>
1903 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1904 you have headers in a nonstandard directory <include dir>
1905 CPP C preprocessor
1906 CXX C++ compiler command
1907 CXXFLAGS C++ compiler flags
1908 PKG_CONFIG path to pkg-config utility
1909 DIRECTFB_CFLAGS
1910 C compiler flags for DIRECTFB, overriding pkg-config
1911 DIRECTFB_LIBS
1912 linker flags for DIRECTFB, overriding pkg-config
1913 XMKMF Path to xmkmf, Makefile generator for X Window System
1914 PANGOX_CFLAGS
1915 C compiler flags for PANGOX, overriding pkg-config
1916 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1917 PANGOFT2_CFLAGS
1918 C compiler flags for PANGOFT2, overriding pkg-config
1919 PANGOFT2_LIBS
1920 linker flags for PANGOFT2, overriding pkg-config
1921 PANGOXFT_CFLAGS
1922 C compiler flags for PANGOXFT, overriding pkg-config
1923 PANGOXFT_LIBS
1924 linker flags for PANGOXFT, overriding pkg-config
1925 LIBGNOMEPRINTUI_CFLAGS
1926 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1927 LIBGNOMEPRINTUI_LIBS
1928 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1929 GNOMEVFS_CFLAGS
1930 C compiler flags for GNOMEVFS, overriding pkg-config
1931 GNOMEVFS_LIBS
1932 linker flags for GNOMEVFS, overriding pkg-config
1933 HILDON_CFLAGS
1934 C compiler flags for HILDON, overriding pkg-config
1935 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1936 CAIRO_CFLAGS
1937 C compiler flags for CAIRO, overriding pkg-config
1938 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1939 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1940 GST_LIBS linker flags for GST, overriding pkg-config
1941
1942 Use these variables to override the choices made by `configure' or to help
1943 it to find libraries and programs with nonstandard names/locations.
1944
1945 Report bugs to <wx-dev@lists.wxwidgets.org>.
1946 _ACEOF
1947 ac_status=$?
1948 fi
1949
1950 if test "$ac_init_help" = "recursive"; then
1951 # If there are subdirs, report their specific --help.
1952 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1953 test -d "$ac_dir" || continue
1954 ac_builddir=.
1955
1956 case "$ac_dir" in
1957 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1958 *)
1959 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1960 # A ".." for each directory in $ac_dir_suffix.
1961 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1962 case $ac_top_builddir_sub in
1963 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1964 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1965 esac ;;
1966 esac
1967 ac_abs_top_builddir=$ac_pwd
1968 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1969 # for backward compatibility:
1970 ac_top_builddir=$ac_top_build_prefix
1971
1972 case $srcdir in
1973 .) # We are building in place.
1974 ac_srcdir=.
1975 ac_top_srcdir=$ac_top_builddir_sub
1976 ac_abs_top_srcdir=$ac_pwd ;;
1977 [\\/]* | ?:[\\/]* ) # Absolute name.
1978 ac_srcdir=$srcdir$ac_dir_suffix;
1979 ac_top_srcdir=$srcdir
1980 ac_abs_top_srcdir=$srcdir ;;
1981 *) # Relative name.
1982 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1983 ac_top_srcdir=$ac_top_build_prefix$srcdir
1984 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1985 esac
1986 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1987
1988 cd "$ac_dir" || { ac_status=$?; continue; }
1989 # Check for guested configure.
1990 if test -f "$ac_srcdir/configure.gnu"; then
1991 echo &&
1992 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1993 elif test -f "$ac_srcdir/configure"; then
1994 echo &&
1995 $SHELL "$ac_srcdir/configure" --help=recursive
1996 else
1997 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1998 fi || ac_status=$?
1999 cd "$ac_pwd" || { ac_status=$?; break; }
2000 done
2001 fi
2002
2003 test -n "$ac_init_help" && exit $ac_status
2004 if $ac_init_version; then
2005 cat <<\_ACEOF
2006 wxWidgets configure 2.9.0
2007 generated by GNU Autoconf 2.61
2008
2009 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2010 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2011 This configure script is free software; the Free Software Foundation
2012 gives unlimited permission to copy, distribute and modify it.
2013 _ACEOF
2014 exit
2015 fi
2016 cat >config.log <<_ACEOF
2017 This file contains any messages produced by compilers while
2018 running configure, to aid debugging if configure makes a mistake.
2019
2020 It was created by wxWidgets $as_me 2.9.0, which was
2021 generated by GNU Autoconf 2.61. Invocation command line was
2022
2023 $ $0 $@
2024
2025 _ACEOF
2026 exec 5>>config.log
2027 {
2028 cat <<_ASUNAME
2029 ## --------- ##
2030 ## Platform. ##
2031 ## --------- ##
2032
2033 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2034 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2035 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2036 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2037 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2038
2039 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2040 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2041
2042 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2043 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2044 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2045 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2046 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2047 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2048 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2049
2050 _ASUNAME
2051
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2054 do
2055 IFS=$as_save_IFS
2056 test -z "$as_dir" && as_dir=.
2057 echo "PATH: $as_dir"
2058 done
2059 IFS=$as_save_IFS
2060
2061 } >&5
2062
2063 cat >&5 <<_ACEOF
2064
2065
2066 ## ----------- ##
2067 ## Core tests. ##
2068 ## ----------- ##
2069
2070 _ACEOF
2071
2072
2073 # Keep a trace of the command line.
2074 # Strip out --no-create and --no-recursion so they do not pile up.
2075 # Strip out --silent because we don't want to record it for future runs.
2076 # Also quote any args containing shell meta-characters.
2077 # Make two passes to allow for proper duplicate-argument suppression.
2078 ac_configure_args=
2079 ac_configure_args0=
2080 ac_configure_args1=
2081 ac_must_keep_next=false
2082 for ac_pass in 1 2
2083 do
2084 for ac_arg
2085 do
2086 case $ac_arg in
2087 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2089 | -silent | --silent | --silen | --sile | --sil)
2090 continue ;;
2091 *\'*)
2092 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2093 esac
2094 case $ac_pass in
2095 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2096 2)
2097 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2098 if test $ac_must_keep_next = true; then
2099 ac_must_keep_next=false # Got value, back to normal.
2100 else
2101 case $ac_arg in
2102 *=* | --config-cache | -C | -disable-* | --disable-* \
2103 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2104 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2105 | -with-* | --with-* | -without-* | --without-* | --x)
2106 case "$ac_configure_args0 " in
2107 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2108 esac
2109 ;;
2110 -* ) ac_must_keep_next=true ;;
2111 esac
2112 fi
2113 ac_configure_args="$ac_configure_args '$ac_arg'"
2114 ;;
2115 esac
2116 done
2117 done
2118 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2119 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2120
2121 # When interrupted or exit'd, cleanup temporary files, and complete
2122 # config.log. We remove comments because anyway the quotes in there
2123 # would cause problems or look ugly.
2124 # WARNING: Use '\'' to represent an apostrophe within the trap.
2125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2126 trap 'exit_status=$?
2127 # Save into config.log some information that might help in debugging.
2128 {
2129 echo
2130
2131 cat <<\_ASBOX
2132 ## ---------------- ##
2133 ## Cache variables. ##
2134 ## ---------------- ##
2135 _ASBOX
2136 echo
2137 # The following way of writing the cache mishandles newlines in values,
2138 (
2139 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2140 eval ac_val=\$$ac_var
2141 case $ac_val in #(
2142 *${as_nl}*)
2143 case $ac_var in #(
2144 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2145 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2146 esac
2147 case $ac_var in #(
2148 _ | IFS | as_nl) ;; #(
2149 *) $as_unset $ac_var ;;
2150 esac ;;
2151 esac
2152 done
2153 (set) 2>&1 |
2154 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2155 *${as_nl}ac_space=\ *)
2156 sed -n \
2157 "s/'\''/'\''\\\\'\'''\''/g;
2158 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2159 ;; #(
2160 *)
2161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2162 ;;
2163 esac |
2164 sort
2165 )
2166 echo
2167
2168 cat <<\_ASBOX
2169 ## ----------------- ##
2170 ## Output variables. ##
2171 ## ----------------- ##
2172 _ASBOX
2173 echo
2174 for ac_var in $ac_subst_vars
2175 do
2176 eval ac_val=\$$ac_var
2177 case $ac_val in
2178 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2179 esac
2180 echo "$ac_var='\''$ac_val'\''"
2181 done | sort
2182 echo
2183
2184 if test -n "$ac_subst_files"; then
2185 cat <<\_ASBOX
2186 ## ------------------- ##
2187 ## File substitutions. ##
2188 ## ------------------- ##
2189 _ASBOX
2190 echo
2191 for ac_var in $ac_subst_files
2192 do
2193 eval ac_val=\$$ac_var
2194 case $ac_val in
2195 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2196 esac
2197 echo "$ac_var='\''$ac_val'\''"
2198 done | sort
2199 echo
2200 fi
2201
2202 if test -s confdefs.h; then
2203 cat <<\_ASBOX
2204 ## ----------- ##
2205 ## confdefs.h. ##
2206 ## ----------- ##
2207 _ASBOX
2208 echo
2209 cat confdefs.h
2210 echo
2211 fi
2212 test "$ac_signal" != 0 &&
2213 echo "$as_me: caught signal $ac_signal"
2214 echo "$as_me: exit $exit_status"
2215 } >&5
2216 rm -f core *.core core.conftest.* &&
2217 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2218 exit $exit_status
2219 ' 0
2220 for ac_signal in 1 2 13 15; do
2221 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2222 done
2223 ac_signal=0
2224
2225 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2226 rm -f -r conftest* confdefs.h
2227
2228 # Predefined preprocessor variables.
2229
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE_NAME "$PACKAGE_NAME"
2232 _ACEOF
2233
2234
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2237 _ACEOF
2238
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2242 _ACEOF
2243
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_STRING "$PACKAGE_STRING"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2252 _ACEOF
2253
2254
2255 # Let the site file select an alternate cache file if it wants to.
2256 # Prefer explicitly selected file to automatically selected ones.
2257 if test -n "$CONFIG_SITE"; then
2258 set x "$CONFIG_SITE"
2259 elif test "x$prefix" != xNONE; then
2260 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2261 else
2262 set x "$ac_default_prefix/share/config.site" \
2263 "$ac_default_prefix/etc/config.site"
2264 fi
2265 shift
2266 for ac_site_file
2267 do
2268 if test -r "$ac_site_file"; then
2269 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2270 echo "$as_me: loading site script $ac_site_file" >&6;}
2271 sed 's/^/| /' "$ac_site_file" >&5
2272 . "$ac_site_file"
2273 fi
2274 done
2275
2276 if test -r "$cache_file"; then
2277 # Some versions of bash will fail to source /dev/null (special
2278 # files actually), so we avoid doing that.
2279 if test -f "$cache_file"; then
2280 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2281 echo "$as_me: loading cache $cache_file" >&6;}
2282 case $cache_file in
2283 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2284 *) . "./$cache_file";;
2285 esac
2286 fi
2287 else
2288 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2289 echo "$as_me: creating cache $cache_file" >&6;}
2290 >$cache_file
2291 fi
2292
2293 # Check that the precious variables saved in the cache have kept the same
2294 # value.
2295 ac_cache_corrupted=false
2296 for ac_var in $ac_precious_vars; do
2297 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2298 eval ac_new_set=\$ac_env_${ac_var}_set
2299 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2300 eval ac_new_val=\$ac_env_${ac_var}_value
2301 case $ac_old_set,$ac_new_set in
2302 set,)
2303 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2304 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2305 ac_cache_corrupted=: ;;
2306 ,set)
2307 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2308 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2309 ac_cache_corrupted=: ;;
2310 ,);;
2311 *)
2312 if test "x$ac_old_val" != "x$ac_new_val"; then
2313 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2314 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2315 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2316 echo "$as_me: former value: $ac_old_val" >&2;}
2317 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2318 echo "$as_me: current value: $ac_new_val" >&2;}
2319 ac_cache_corrupted=:
2320 fi;;
2321 esac
2322 # Pass precious variables to config.status.
2323 if test "$ac_new_set" = set; then
2324 case $ac_new_val in
2325 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2326 *) ac_arg=$ac_var=$ac_new_val ;;
2327 esac
2328 case " $ac_configure_args " in
2329 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2330 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2331 esac
2332 fi
2333 done
2334 if $ac_cache_corrupted; then
2335 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2336 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2337 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2338 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2339 { (exit 1); exit 1; }; }
2340 fi
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366 ac_ext=c
2367 ac_cpp='$CPP $CPPFLAGS'
2368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2371
2372
2373
2374
2375
2376 ac_aux_dir=
2377 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2378 if test -f "$ac_dir/install-sh"; then
2379 ac_aux_dir=$ac_dir
2380 ac_install_sh="$ac_aux_dir/install-sh -c"
2381 break
2382 elif test -f "$ac_dir/install.sh"; then
2383 ac_aux_dir=$ac_dir
2384 ac_install_sh="$ac_aux_dir/install.sh -c"
2385 break
2386 elif test -f "$ac_dir/shtool"; then
2387 ac_aux_dir=$ac_dir
2388 ac_install_sh="$ac_aux_dir/shtool install -c"
2389 break
2390 fi
2391 done
2392 if test -z "$ac_aux_dir"; then
2393 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2394 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2395 { (exit 1); exit 1; }; }
2396 fi
2397
2398 # These three variables are undocumented and unsupported,
2399 # and are intended to be withdrawn in a future Autoconf release.
2400 # They can cause serious problems if a builder's source tree is in a directory
2401 # whose full name contains unusual characters.
2402 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2403 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2404 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2405
2406
2407 # Make sure we can run config.sub.
2408 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2409 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2410 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2411 { (exit 1); exit 1; }; }
2412
2413 { echo "$as_me:$LINENO: checking build system type" >&5
2414 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2415 if test "${ac_cv_build+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 else
2418 ac_build_alias=$build_alias
2419 test "x$ac_build_alias" = x &&
2420 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2421 test "x$ac_build_alias" = x &&
2422 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2423 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2424 { (exit 1); exit 1; }; }
2425 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2426 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2427 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2428 { (exit 1); exit 1; }; }
2429
2430 fi
2431 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2432 echo "${ECHO_T}$ac_cv_build" >&6; }
2433 case $ac_cv_build in
2434 *-*-*) ;;
2435 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2436 echo "$as_me: error: invalid value of canonical build" >&2;}
2437 { (exit 1); exit 1; }; };;
2438 esac
2439 build=$ac_cv_build
2440 ac_save_IFS=$IFS; IFS='-'
2441 set x $ac_cv_build
2442 shift
2443 build_cpu=$1
2444 build_vendor=$2
2445 shift; shift
2446 # Remember, the first character of IFS is used to create $*,
2447 # except with old shells:
2448 build_os=$*
2449 IFS=$ac_save_IFS
2450 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2451
2452
2453 { echo "$as_me:$LINENO: checking host system type" >&5
2454 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2455 if test "${ac_cv_host+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 else
2458 if test "x$host_alias" = x; then
2459 ac_cv_host=$ac_cv_build
2460 else
2461 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2462 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2463 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2464 { (exit 1); exit 1; }; }
2465 fi
2466
2467 fi
2468 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2469 echo "${ECHO_T}$ac_cv_host" >&6; }
2470 case $ac_cv_host in
2471 *-*-*) ;;
2472 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2473 echo "$as_me: error: invalid value of canonical host" >&2;}
2474 { (exit 1); exit 1; }; };;
2475 esac
2476 host=$ac_cv_host
2477 ac_save_IFS=$IFS; IFS='-'
2478 set x $ac_cv_host
2479 shift
2480 host_cpu=$1
2481 host_vendor=$2
2482 shift; shift
2483 # Remember, the first character of IFS is used to create $*,
2484 # except with old shells:
2485 host_os=$*
2486 IFS=$ac_save_IFS
2487 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2488
2489
2490 { echo "$as_me:$LINENO: checking target system type" >&5
2491 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2492 if test "${ac_cv_target+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test "x$target_alias" = x; then
2496 ac_cv_target=$ac_cv_host
2497 else
2498 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2499 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2500 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2501 { (exit 1); exit 1; }; }
2502 fi
2503
2504 fi
2505 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2506 echo "${ECHO_T}$ac_cv_target" >&6; }
2507 case $ac_cv_target in
2508 *-*-*) ;;
2509 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2510 echo "$as_me: error: invalid value of canonical target" >&2;}
2511 { (exit 1); exit 1; }; };;
2512 esac
2513 target=$ac_cv_target
2514 ac_save_IFS=$IFS; IFS='-'
2515 set x $ac_cv_target
2516 shift
2517 target_cpu=$1
2518 target_vendor=$2
2519 shift; shift
2520 # Remember, the first character of IFS is used to create $*,
2521 # except with old shells:
2522 target_os=$*
2523 IFS=$ac_save_IFS
2524 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2525
2526
2527 # The aliases save the names the user supplied, while $host etc.
2528 # will get canonicalized.
2529 test -n "$target_alias" &&
2530 test "$program_prefix$program_suffix$program_transform_name" = \
2531 NONENONEs,x,x, &&
2532 program_prefix=${target_alias}-
2533
2534
2535
2536 wx_major_version_number=2
2537 wx_minor_version_number=9
2538 wx_release_number=0
2539 wx_subrelease_number=0
2540
2541 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2542 WX_VERSION=$WX_RELEASE.$wx_release_number
2543 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2544
2545 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2546
2547
2548 wx_top_builddir="`pwd`"
2549
2550
2551
2552
2553 USE_UNIX=1
2554 USE_OS2=0
2555 USE_WIN32=0
2556 USE_DOS=0
2557 USE_BEOS=0
2558 USE_MAC=0
2559
2560 USE_AIX=
2561 USE_BSD= USE_DARWIN= USE_FREEBSD=
2562 USE_GNU= USE_HPUX=
2563 USE_LINUX=
2564 USE_NETBSD=
2565 USE_OPENBSD=
2566 USE_OSF= USE_SGI=
2567 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2568 USE_ULTRIX=
2569 USE_UNIXWARE=
2570
2571 USE_ALPHA=
2572
2573 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2574
2575 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2576
2577 DEFAULT_wxUSE_COCOA=0
2578 DEFAULT_wxUSE_GTK=0
2579 DEFAULT_wxUSE_MAC=0
2580 DEFAULT_wxUSE_MGL=0
2581 DEFAULT_wxUSE_MICROWIN=0
2582 DEFAULT_wxUSE_MOTIF=0
2583 DEFAULT_wxUSE_MSW=0
2584 DEFAULT_wxUSE_PM=0
2585 DEFAULT_wxUSE_X11=0
2586 DEFAULT_wxUSE_DFB=0
2587
2588 DEFAULT_DEFAULT_wxUSE_COCOA=0
2589 DEFAULT_DEFAULT_wxUSE_GTK=0
2590 DEFAULT_DEFAULT_wxUSE_MAC=0
2591 DEFAULT_DEFAULT_wxUSE_MGL=0
2592 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2593 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2594 DEFAULT_DEFAULT_wxUSE_MSW=0
2595 DEFAULT_DEFAULT_wxUSE_PM=0
2596 DEFAULT_DEFAULT_wxUSE_X11=0
2597 DEFAULT_DEFAULT_wxUSE_DFB=0
2598
2599 PROGRAM_EXT=
2600 SO_SUFFIX=so
2601 SAMPLES_RPATH_FLAG=
2602 SAMPLES_RPATH_POSTLINK=
2603
2604 DEFAULT_STD_FLAG=yes
2605
2606 case "${host}" in
2607 *-hp-hpux* )
2608 USE_HPUX=1
2609 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2610 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2611 SO_SUFFIX=sl
2612 cat >>confdefs.h <<\_ACEOF
2613 #define __HPUX__ 1
2614 _ACEOF
2615
2616
2617 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2618 ;;
2619 *-*-linux* )
2620 USE_LINUX=1
2621 cat >>confdefs.h <<\_ACEOF
2622 #define __LINUX__ 1
2623 _ACEOF
2624
2625 TMP=`uname -m`
2626 if test "x$TMP" = "xalpha"; then
2627 USE_ALPHA=1
2628 cat >>confdefs.h <<\_ACEOF
2629 #define __ALPHA__ 1
2630 _ACEOF
2631
2632 fi
2633 DEFAULT_DEFAULT_wxUSE_GTK=1
2634 ;;
2635 *-*-gnu* | *-*-k*bsd*-gnu )
2636 USE_GNU=1
2637 TMP=`uname -m`
2638 if test "x$TMP" = "xalpha"; then
2639 USE_ALPHA=1
2640 cat >>confdefs.h <<\_ACEOF
2641 #define __ALPHA__ 1
2642 _ACEOF
2643
2644 fi
2645 DEFAULT_DEFAULT_wxUSE_GTK=1
2646 ;;
2647 *-*-irix5* | *-*-irix6* )
2648 USE_SGI=1
2649 USE_SVR4=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __SGI__ 1
2652 _ACEOF
2653
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __SVR4__ 1
2656 _ACEOF
2657
2658 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2659 ;;
2660 *-*-solaris2* )
2661 USE_SUN=1
2662 USE_SOLARIS=1
2663 USE_SVR4=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SUN__ 1
2666 _ACEOF
2667
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SOLARIS__ 1
2670 _ACEOF
2671
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SVR4__ 1
2674 _ACEOF
2675
2676 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2677 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2678 ;;
2679 *-*-sunos4* )
2680 USE_SUN=1
2681 USE_SUNOS=1
2682 USE_BSD=1
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SUN__ 1
2685 _ACEOF
2686
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SUNOS__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __BSD__ 1
2693 _ACEOF
2694
2695 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2696 ;;
2697 *-*-freebsd*)
2698 USE_BSD=1
2699 USE_FREEBSD=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __FREEBSD__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __BSD__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_GTK=1
2709 ;;
2710 *-*-openbsd*|*-*-mirbsd*)
2711 USE_BSD=1
2712 USE_OPENBSD=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __OPENBSD__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __BSD__ 1
2719 _ACEOF
2720
2721 DEFAULT_DEFAULT_wxUSE_GTK=1
2722 ;;
2723 *-*-netbsd*)
2724 USE_BSD=1
2725 USE_NETBSD=1
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __NETBSD__ 1
2728 _ACEOF
2729
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __BSD__ 1
2732 _ACEOF
2733
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2736
2737 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2738 ;;
2739 *-*-osf* )
2740 USE_ALPHA=1
2741 USE_OSF=1
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __ALPHA__ 1
2744 _ACEOF
2745
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __OSF__ 1
2748 _ACEOF
2749
2750 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2751 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2752 ;;
2753 *-*-dgux5* )
2754 USE_ALPHA=1
2755 USE_SVR4=1
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __ALPHA__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __SVR4__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2765 ;;
2766 *-*-sysv5* )
2767 USE_SYSV=1
2768 USE_SVR4=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __SYSV__ 1
2771 _ACEOF
2772
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __SVR4__ 1
2775 _ACEOF
2776
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2778 ;;
2779 *-*-aix* )
2780 USE_AIX=1
2781 USE_SYSV=1
2782 USE_SVR4=1
2783 SO_SUFFIX=a
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __AIX__ 1
2786 _ACEOF
2787
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __SYSV__ 1
2790 _ACEOF
2791
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __SVR4__ 1
2794 _ACEOF
2795
2796 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2797 ;;
2798
2799 *-*-*UnixWare*)
2800 USE_SYSV=1
2801 USE_SVR4=1
2802 USE_UNIXWARE=1
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __UNIXWARE__ 1
2805 _ACEOF
2806
2807 ;;
2808
2809 *-*-cygwin* | *-*-mingw32* )
2810 SO_SUFFIX=dll
2811 PROGRAM_EXT=".exe"
2812 DEFAULT_DEFAULT_wxUSE_MSW=1
2813 ;;
2814
2815 *-pc-msdosdjgpp )
2816 USE_UNIX=0
2817 USE_DOS=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __DOS__ 1
2820 _ACEOF
2821
2822 PROGRAM_EXT=".exe"
2823 DEFAULT_DEFAULT_wxUSE_MGL=1
2824 ;;
2825
2826 *-pc-os2_emx | *-pc-os2-emx )
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __EMX__ 1
2829 _ACEOF
2830
2831 USE_OS2=1
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __OS2__ 1
2834 _ACEOF
2835
2836 PROGRAM_EXT=".exe"
2837 DEFAULT_DEFAULT_wxUSE_PM=1
2838 CXX=gcc
2839 LDFLAGS="$LDFLAGS -Zcrtdll"
2840 ac_executable_extensions=".exe"
2841 export ac_executable_extensions
2842 ac_save_IFS="$IFS"
2843 IFS='\\'
2844 ac_TEMP_PATH=
2845 for ac_dir in $PATH; do
2846 IFS=$ac_save_IFS
2847 if test -z "$ac_TEMP_PATH"; then
2848 ac_TEMP_PATH="$ac_dir"
2849 else
2850 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2851 fi
2852 done
2853 export PATH="$ac_TEMP_PATH"
2854 unset ac_TEMP_PATH
2855 DEFAULT_STD_FLAG=no
2856 ;;
2857
2858 *-*-darwin* )
2859 USE_BSD=1
2860 USE_DARWIN=1
2861 SO_SUFFIX=dylib
2862 cat >>confdefs.h <<\_ACEOF
2863 #define __BSD__ 1
2864 _ACEOF
2865
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __DARWIN__ 1
2868 _ACEOF
2869
2870 cat >>confdefs.h <<\_ACEOF
2871 #define TARGET_CARBON 1
2872 _ACEOF
2873
2874 DEFAULT_DEFAULT_wxUSE_MAC=1
2875 DEFAULT_STD_FLAG=no
2876 ;;
2877 powerpc-apple-macos* )
2878 USE_UNIX=0
2879 ac_cv_c_bigendian=yes
2880 SO_SUFFIX=shlib
2881 DEFAULT_DEFAULT_wxUSE_MAC=1
2882 DEFAULT_STD_FLAG=no
2883 ;;
2884
2885 *-*-beos* )
2886 USE_BEOS=1
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __BEOS__ 1
2889 _ACEOF
2890
2891 ;;
2892
2893 *)
2894 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2895 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2896 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2897 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2898
2899 DEFAULT_DEFAULT_wxUSE_X11=1
2900 DEFAULT_wxUSE_SHARED=no
2901 esac
2902
2903
2904
2905
2906 wx_arg_cache_file="configarg.cache"
2907 echo "loading argument cache $wx_arg_cache_file"
2908 rm -f ${wx_arg_cache_file}.tmp
2909 touch ${wx_arg_cache_file}.tmp
2910 touch ${wx_arg_cache_file}
2911
2912
2913 DEFAULT_wxUSE_ALL_FEATURES=yes
2914
2915 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2916 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2917
2918 DEFAULT_wxUSE_DMALLOC=no
2919 DEFAULT_wxUSE_LIBGNOMEVFS=no
2920 DEFAULT_wxUSE_LIBHILDON=no
2921 DEFAULT_wxUSE_LIBMSPACK=no
2922 DEFAULT_wxUSE_LIBSDL=no
2923 DEFAULT_wxUSE_ODBC=no
2924 DEFAULT_wxUSE_OPENGL=no
2925
2926 DEFAULT_wxUSE_ACCESSIBILITY=no
2927 DEFAULT_wxUSE_DATAVIEWCTRL=no
2928 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2929 DEFAULT_wxUSE_MEDIACTRL=no
2930 DEFAULT_wxUSE_TAB_DIALOG=no
2931
2932 DEFAULT_wxUSE_UNICODE_UTF8=auto
2933 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2934
2935 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2936
2937 DEFAULT_wxUSE_GTK2=yes
2938
2939 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2940
2941
2942 for toolkit in `echo $ALL_TOOLKITS`; do
2943 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2944 if test "x$LINE" != "x" ; then
2945 has_toolkit_in_cache=1
2946 eval "DEFAULT_$LINE"
2947 eval "CACHE_$toolkit=1"
2948
2949 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2950 if test "x$LINE" != "x" ; then
2951 eval "DEFAULT_$LINE"
2952 fi
2953 fi
2954 done
2955
2956
2957
2958
2959
2960 enablestring=disable
2961 defaultval=
2962 if test -z "$defaultval"; then
2963 if test x"$enablestring" = xdisable; then
2964 defaultval=yes
2965 else
2966 defaultval=no
2967 fi
2968 fi
2969
2970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2971 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2972 no_cache=0
2973 # Check whether --enable-gui was given.
2974 if test "${enable_gui+set}" = set; then
2975 enableval=$enable_gui;
2976 if test "$enableval" = yes; then
2977 ac_cv_use_gui='wxUSE_GUI=yes'
2978 else
2979 ac_cv_use_gui='wxUSE_GUI=no'
2980 fi
2981
2982 else
2983
2984 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x ; then
2986 eval "DEFAULT_$LINE"
2987 else
2988 no_cache=1
2989 fi
2990
2991 ac_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2992
2993 fi
2994
2995
2996 eval "$ac_cv_use_gui"
2997 if test "$no_cache" != 1; then
2998 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2999 fi
3000
3001 if test x"$enablestring" = xdisable; then
3002 if test $wxUSE_GUI = yes; then
3003 result=no
3004 else
3005 result=yes
3006 fi
3007 else
3008 result=$wxUSE_GUI
3009 fi
3010
3011 { echo "$as_me:$LINENO: result: $result" >&5
3012 echo "${ECHO_T}$result" >&6; }
3013
3014
3015 enablestring=
3016 defaultval=
3017 if test -z "$defaultval"; then
3018 if test x"$enablestring" = xdisable; then
3019 defaultval=yes
3020 else
3021 defaultval=no
3022 fi
3023 fi
3024
3025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3026 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3027 no_cache=0
3028 # Check whether --enable-monolithic was given.
3029 if test "${enable_monolithic+set}" = set; then
3030 enableval=$enable_monolithic;
3031 if test "$enableval" = yes; then
3032 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3033 else
3034 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3035 fi
3036
3037 else
3038
3039 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x ; then
3041 eval "DEFAULT_$LINE"
3042 else
3043 no_cache=1
3044 fi
3045
3046 ac_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3047
3048 fi
3049
3050
3051 eval "$ac_cv_use_monolithic"
3052 if test "$no_cache" != 1; then
3053 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3054 fi
3055
3056 if test x"$enablestring" = xdisable; then
3057 if test $wxUSE_MONOLITHIC = yes; then
3058 result=no
3059 else
3060 result=yes
3061 fi
3062 else
3063 result=$wxUSE_MONOLITHIC
3064 fi
3065
3066 { echo "$as_me:$LINENO: result: $result" >&5
3067 echo "${ECHO_T}$result" >&6; }
3068
3069
3070 enablestring=
3071 defaultval=
3072 if test -z "$defaultval"; then
3073 if test x"$enablestring" = xdisable; then
3074 defaultval=yes
3075 else
3076 defaultval=no
3077 fi
3078 fi
3079
3080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3081 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3082 no_cache=0
3083 # Check whether --enable-plugins was given.
3084 if test "${enable_plugins+set}" = set; then
3085 enableval=$enable_plugins;
3086 if test "$enableval" = yes; then
3087 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3088 else
3089 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3090 fi
3091
3092 else
3093
3094 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x ; then
3096 eval "DEFAULT_$LINE"
3097 else
3098 no_cache=1
3099 fi
3100
3101 ac_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3102
3103 fi
3104
3105
3106 eval "$ac_cv_use_plugins"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test x"$enablestring" = xdisable; then
3112 if test $wxUSE_PLUGINS = yes; then
3113 result=no
3114 else
3115 result=yes
3116 fi
3117 else
3118 result=$wxUSE_PLUGINS
3119 fi
3120
3121 { echo "$as_me:$LINENO: result: $result" >&5
3122 echo "${ECHO_T}$result" >&6; }
3123
3124
3125 withstring=without
3126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3127 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3128 no_cache=0
3129
3130 # Check whether --with-subdirs was given.
3131 if test "${with_subdirs+set}" = set; then
3132 withval=$with_subdirs;
3133 if test "$withval" = yes; then
3134 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3135 else
3136 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3137 fi
3138
3139 else
3140
3141 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3144 else
3145 no_cache=1
3146 fi
3147
3148 ac_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$wxUSE_ALL_FEATURES}"
3149
3150 fi
3151
3152
3153 eval "$ac_cv_use_subdirs"
3154 if test "$no_cache" != 1; then
3155 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3156 fi
3157
3158 if test x"$withstring" = xwithout; then
3159 if test $wxWITH_SUBDIRS = yes; then
3160 result=no
3161 else
3162 result=yes
3163 fi
3164 else
3165 result=$wxWITH_SUBDIRS
3166 fi
3167
3168 { echo "$as_me:$LINENO: result: $result" >&5
3169 echo "${ECHO_T}$result" >&6; }
3170
3171
3172 # Check whether --with-flavour was given.
3173 if test "${with_flavour+set}" = set; then
3174 withval=$with_flavour; WX_FLAVOUR="$withval"
3175 fi
3176
3177
3178 enablestring=
3179 defaultval=
3180 if test -z "$defaultval"; then
3181 if test x"$enablestring" = xdisable; then
3182 defaultval=yes
3183 else
3184 defaultval=no
3185 fi
3186 fi
3187
3188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3189 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3190 no_cache=0
3191 # Check whether --enable-official_build was given.
3192 if test "${enable_official_build+set}" = set; then
3193 enableval=$enable_official_build;
3194 if test "$enableval" = yes; then
3195 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3196 else
3197 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3198 fi
3199
3200 else
3201
3202 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x ; then
3204 eval "DEFAULT_$LINE"
3205 else
3206 no_cache=1
3207 fi
3208
3209 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3210
3211 fi
3212
3213
3214 eval "$ac_cv_use_official_build"
3215 if test "$no_cache" != 1; then
3216 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3217 fi
3218
3219 if test x"$enablestring" = xdisable; then
3220 if test $wxUSE_OFFICIAL_BUILD = yes; then
3221 result=no
3222 else
3223 result=yes
3224 fi
3225 else
3226 result=$wxUSE_OFFICIAL_BUILD
3227 fi
3228
3229 { echo "$as_me:$LINENO: result: $result" >&5
3230 echo "${ECHO_T}$result" >&6; }
3231
3232 # Check whether --enable-vendor was given.
3233 if test "${enable_vendor+set}" = set; then
3234 enableval=$enable_vendor; VENDOR="$enableval"
3235 fi
3236
3237 if test "x$VENDOR" = "x"; then
3238 VENDOR="custom"
3239 fi
3240
3241
3242 enablestring=disable
3243 defaultval=
3244 if test -z "$defaultval"; then
3245 if test x"$enablestring" = xdisable; then
3246 defaultval=yes
3247 else
3248 defaultval=no
3249 fi
3250 fi
3251
3252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all_features" >&5
3253 echo $ECHO_N "checking for --${enablestring:-enable}-all_features... $ECHO_C" >&6; }
3254 no_cache=0
3255 # Check whether --enable-all_features was given.
3256 if test "${enable_all_features+set}" = set; then
3257 enableval=$enable_all_features;
3258 if test "$enableval" = yes; then
3259 ac_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3260 else
3261 ac_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3262 fi
3263
3264 else
3265
3266 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3267 if test "x$LINE" != x ; then
3268 eval "DEFAULT_$LINE"
3269 else
3270 no_cache=1
3271 fi
3272
3273 ac_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3274
3275 fi
3276
3277
3278 eval "$ac_cv_use_all_features"
3279 if test "$no_cache" != 1; then
3280 echo $ac_cv_use_all_features >> ${wx_arg_cache_file}.tmp
3281 fi
3282
3283 if test x"$enablestring" = xdisable; then
3284 if test $wxUSE_ALL_FEATURES = yes; then
3285 result=no
3286 else
3287 result=yes
3288 fi
3289 else
3290 result=$wxUSE_ALL_FEATURES
3291 fi
3292
3293 { echo "$as_me:$LINENO: result: $result" >&5
3294 echo "${ECHO_T}$result" >&6; }
3295
3296
3297
3298 if test "$wxUSE_GUI" = "yes"; then
3299
3300
3301 enablestring=
3302 defaultval=
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3305 defaultval=yes
3306 else
3307 defaultval=no
3308 fi
3309 fi
3310
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3313 no_cache=0
3314 # Check whether --enable-universal was given.
3315 if test "${enable_universal+set}" = set; then
3316 enableval=$enable_universal;
3317 if test "$enableval" = yes; then
3318 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3319 else
3320 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3321 fi
3322
3323 else
3324
3325 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x ; then
3327 eval "DEFAULT_$LINE"
3328 else
3329 no_cache=1
3330 fi
3331
3332 ac_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3333
3334 fi
3335
3336
3337 eval "$ac_cv_use_universal"
3338 if test "$no_cache" != 1; then
3339 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3340 fi
3341
3342 if test x"$enablestring" = xdisable; then
3343 if test $wxUSE_UNIVERSAL = yes; then
3344 result=no
3345 else
3346 result=yes
3347 fi
3348 else
3349 result=$wxUSE_UNIVERSAL
3350 fi
3351
3352 { echo "$as_me:$LINENO: result: $result" >&5
3353 echo "${ECHO_T}$result" >&6; }
3354
3355 if test "$wxUSE_UNIVERSAL" = "yes"; then
3356
3357 # Check whether --with-themes was given.
3358 if test "${with_themes+set}" = set; then
3359 withval=$with_themes; wxUNIV_THEMES="$withval"
3360 fi
3361
3362 fi
3363
3364
3365 # Check whether --with-gtk was given.
3366 if test "${with_gtk+set}" = set; then
3367 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3368 fi
3369
3370
3371 # Check whether --with-motif was given.
3372 if test "${with_motif+set}" = set; then
3373 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3374 fi
3375
3376
3377 # Check whether --with-mac was given.
3378 if test "${with_mac+set}" = set; then
3379 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3380 fi
3381
3382
3383 # Check whether --with-cocoa was given.
3384 if test "${with_cocoa+set}" = set; then
3385 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3386 fi
3387
3388
3389 # Check whether --with-wine was given.
3390 if test "${with_wine+set}" = set; then
3391 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3392 fi
3393
3394
3395 # Check whether --with-msw was given.
3396 if test "${with_msw+set}" = set; then
3397 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-pm was given.
3402 if test "${with_pm+set}" = set; then
3403 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3404 fi
3405
3406
3407 # Check whether --with-mgl was given.
3408 if test "${with_mgl+set}" = set; then
3409 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-directfb was given.
3414 if test "${with_directfb+set}" = set; then
3415 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-microwin was given.
3420 if test "${with_microwin+set}" = set; then
3421 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-x11 was given.
3426 if test "${with_x11+set}" = set; then
3427 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 enablestring=
3432 defaultval=
3433 if test -z "$defaultval"; then
3434 if test x"$enablestring" = xdisable; then
3435 defaultval=yes
3436 else
3437 defaultval=no
3438 fi
3439 fi
3440
3441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3443 no_cache=0
3444 # Check whether --enable-nanox was given.
3445 if test "${enable_nanox+set}" = set; then
3446 enableval=$enable_nanox;
3447 if test "$enableval" = yes; then
3448 ac_cv_use_nanox='wxUSE_NANOX=yes'
3449 else
3450 ac_cv_use_nanox='wxUSE_NANOX=no'
3451 fi
3452
3453 else
3454
3455 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3456 if test "x$LINE" != x ; then
3457 eval "DEFAULT_$LINE"
3458 else
3459 no_cache=1
3460 fi
3461
3462 ac_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3463
3464 fi
3465
3466
3467 eval "$ac_cv_use_nanox"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3470 fi
3471
3472 if test x"$enablestring" = xdisable; then
3473 if test $wxUSE_NANOX = yes; then
3474 result=no
3475 else
3476 result=yes
3477 fi
3478 else
3479 result=$wxUSE_NANOX
3480 fi
3481
3482 { echo "$as_me:$LINENO: result: $result" >&5
3483 echo "${ECHO_T}$result" >&6; }
3484
3485
3486 # Check whether --enable-gtk2 was given.
3487 if test "${enable_gtk2+set}" = set; then
3488 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3489 fi
3490
3491
3492 enablestring=
3493 defaultval=
3494 if test -z "$defaultval"; then
3495 if test x"$enablestring" = xdisable; then
3496 defaultval=yes
3497 else
3498 defaultval=no
3499 fi
3500 fi
3501
3502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3503 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3504 no_cache=0
3505 # Check whether --enable-gpe was given.
3506 if test "${enable_gpe+set}" = set; then
3507 enableval=$enable_gpe;
3508 if test "$enableval" = yes; then
3509 ac_cv_use_gpe='wxUSE_GPE=yes'
3510 else
3511 ac_cv_use_gpe='wxUSE_GPE=no'
3512 fi
3513
3514 else
3515
3516 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3519 else
3520 no_cache=1
3521 fi
3522
3523 ac_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3524
3525 fi
3526
3527
3528 eval "$ac_cv_use_gpe"
3529 if test "$no_cache" != 1; then
3530 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3531 fi
3532
3533 if test x"$enablestring" = xdisable; then
3534 if test $wxUSE_GPE = yes; then
3535 result=no
3536 else
3537 result=yes
3538 fi
3539 else
3540 result=$wxUSE_GPE
3541 fi
3542
3543 { echo "$as_me:$LINENO: result: $result" >&5
3544 echo "${ECHO_T}$result" >&6; }
3545
3546
3547
3548
3549 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3550 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3551 no_cache=0
3552
3553 # Check whether --with-libpng was given.
3554 if test "${with_libpng+set}" = set; then
3555 withval=$with_libpng;
3556 if test "$withval" = yes; then
3557 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3558 elif test "$withval" = no; then
3559 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3560 elif test "$withval" = sys; then
3561 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3562 elif test "$withval" = builtin; then
3563 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3564 else
3565 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3566 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3567 { (exit 1); exit 1; }; }
3568 fi
3569
3570 else
3571
3572 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3575 else
3576 no_cache=1
3577 fi
3578
3579 ac_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3580
3581 fi
3582
3583
3584 eval "$ac_cv_use_libpng"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3587 fi
3588
3589 if test "$wxUSE_LIBPNG" = yes; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3592 elif test "$wxUSE_LIBPNG" = no; then
3593 { echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6; }
3595 elif test "$wxUSE_LIBPNG" = sys; then
3596 { echo "$as_me:$LINENO: result: system version" >&5
3597 echo "${ECHO_T}system version" >&6; }
3598 elif test "$wxUSE_LIBPNG" = builtin; then
3599 { echo "$as_me:$LINENO: result: builtin version" >&5
3600 echo "${ECHO_T}builtin version" >&6; }
3601 else
3602 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3603 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3604 { (exit 1); exit 1; }; }
3605 fi
3606
3607
3608 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3609 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3610 no_cache=0
3611
3612 # Check whether --with-libjpeg was given.
3613 if test "${with_libjpeg+set}" = set; then
3614 withval=$with_libjpeg;
3615 if test "$withval" = yes; then
3616 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3617 elif test "$withval" = no; then
3618 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3619 elif test "$withval" = sys; then
3620 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3621 elif test "$withval" = builtin; then
3622 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3623 else
3624 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3625 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3626 { (exit 1); exit 1; }; }
3627 fi
3628
3629 else
3630
3631 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x ; then
3633 eval "DEFAULT_$LINE"
3634 else
3635 no_cache=1
3636 fi
3637
3638 ac_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3639
3640 fi
3641
3642
3643 eval "$ac_cv_use_libjpeg"
3644 if test "$no_cache" != 1; then
3645 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3646 fi
3647
3648 if test "$wxUSE_LIBJPEG" = yes; then
3649 { echo "$as_me:$LINENO: result: yes" >&5
3650 echo "${ECHO_T}yes" >&6; }
3651 elif test "$wxUSE_LIBJPEG" = no; then
3652 { echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6; }
3654 elif test "$wxUSE_LIBJPEG" = sys; then
3655 { echo "$as_me:$LINENO: result: system version" >&5
3656 echo "${ECHO_T}system version" >&6; }
3657 elif test "$wxUSE_LIBJPEG" = builtin; then
3658 { echo "$as_me:$LINENO: result: builtin version" >&5
3659 echo "${ECHO_T}builtin version" >&6; }
3660 else
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3664 fi
3665
3666
3667 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3668 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3669 no_cache=0
3670
3671 # Check whether --with-libtiff was given.
3672 if test "${with_libtiff+set}" = set; then
3673 withval=$with_libtiff;
3674 if test "$withval" = yes; then
3675 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3676 elif test "$withval" = no; then
3677 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3678 elif test "$withval" = sys; then
3679 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3680 elif test "$withval" = builtin; then
3681 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3682 else
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3686 fi
3687
3688 else
3689
3690 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x ; then
3692 eval "DEFAULT_$LINE"
3693 else
3694 no_cache=1
3695 fi
3696
3697 ac_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3698
3699 fi
3700
3701
3702 eval "$ac_cv_use_libtiff"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3705 fi
3706
3707 if test "$wxUSE_LIBTIFF" = yes; then
3708 { echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6; }
3710 elif test "$wxUSE_LIBTIFF" = no; then
3711 { echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6; }
3713 elif test "$wxUSE_LIBTIFF" = sys; then
3714 { echo "$as_me:$LINENO: result: system version" >&5
3715 echo "${ECHO_T}system version" >&6; }
3716 elif test "$wxUSE_LIBTIFF" = builtin; then
3717 { echo "$as_me:$LINENO: result: builtin version" >&5
3718 echo "${ECHO_T}builtin version" >&6; }
3719 else
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3723 fi
3724
3725
3726 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3727 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3728 no_cache=0
3729
3730 # Check whether --with-libxpm was given.
3731 if test "${with_libxpm+set}" = set; then
3732 withval=$with_libxpm;
3733 if test "$withval" = yes; then
3734 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3735 elif test "$withval" = no; then
3736 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3737 elif test "$withval" = sys; then
3738 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3739 elif test "$withval" = builtin; then
3740 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3741 else
3742 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3743 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3744 { (exit 1); exit 1; }; }
3745 fi
3746
3747 else
3748
3749 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x ; then
3751 eval "DEFAULT_$LINE"
3752 else
3753 no_cache=1
3754 fi
3755
3756 ac_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3757
3758 fi
3759
3760
3761 eval "$ac_cv_use_libxpm"
3762 if test "$no_cache" != 1; then
3763 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3764 fi
3765
3766 if test "$wxUSE_LIBXPM" = yes; then
3767 { echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6; }
3769 elif test "$wxUSE_LIBXPM" = no; then
3770 { echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6; }
3772 elif test "$wxUSE_LIBXPM" = sys; then
3773 { echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6; }
3775 elif test "$wxUSE_LIBXPM" = builtin; then
3776 { echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6; }
3778 else
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3782 fi
3783
3784
3785 withstring=
3786 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3787 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3788 no_cache=0
3789
3790 # Check whether --with-libmspack was given.
3791 if test "${with_libmspack+set}" = set; then
3792 withval=$with_libmspack;
3793 if test "$withval" = yes; then
3794 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3795 else
3796 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3797 fi
3798
3799 else
3800
3801 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x ; then
3803 eval "DEFAULT_$LINE"
3804 else
3805 no_cache=1
3806 fi
3807
3808 ac_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$wxUSE_ALL_FEATURES}"
3809
3810 fi
3811
3812
3813 eval "$ac_cv_use_libmspack"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3816 fi
3817
3818 if test x"$withstring" = xwithout; then
3819 if test $wxUSE_LIBMSPACK = yes; then
3820 result=no
3821 else
3822 result=yes
3823 fi
3824 else
3825 result=$wxUSE_LIBMSPACK
3826 fi
3827
3828 { echo "$as_me:$LINENO: result: $result" >&5
3829 echo "${ECHO_T}$result" >&6; }
3830
3831
3832 withstring=without
3833 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3834 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3835 no_cache=0
3836
3837 # Check whether --with-gnomeprint was given.
3838 if test "${with_gnomeprint+set}" = set; then
3839 withval=$with_gnomeprint;
3840 if test "$withval" = yes; then
3841 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3842 else
3843 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3844 fi
3845
3846 else
3847
3848 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x ; then
3850 eval "DEFAULT_$LINE"
3851 else
3852 no_cache=1
3853 fi
3854
3855 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$wxUSE_ALL_FEATURES}"
3856
3857 fi
3858
3859
3860 eval "$ac_cv_use_gnomeprint"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test x"$withstring" = xwithout; then
3866 if test $wxUSE_LIBGNOMEPRINT = yes; then
3867 result=no
3868 else
3869 result=yes
3870 fi
3871 else
3872 result=$wxUSE_LIBGNOMEPRINT
3873 fi
3874
3875 { echo "$as_me:$LINENO: result: $result" >&5
3876 echo "${ECHO_T}$result" >&6; }
3877
3878
3879 withstring=
3880 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3881 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3882 no_cache=0
3883
3884 # Check whether --with-gnomevfs was given.
3885 if test "${with_gnomevfs+set}" = set; then
3886 withval=$with_gnomevfs;
3887 if test "$withval" = yes; then
3888 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3889 else
3890 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3891 fi
3892
3893 else
3894
3895 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x ; then
3897 eval "DEFAULT_$LINE"
3898 else
3899 no_cache=1
3900 fi
3901
3902 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$wxUSE_ALL_FEATURES}"
3903
3904 fi
3905
3906
3907 eval "$ac_cv_use_gnomevfs"
3908 if test "$no_cache" != 1; then
3909 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3910 fi
3911
3912 if test x"$withstring" = xwithout; then
3913 if test $wxUSE_LIBGNOMEVFS = yes; then
3914 result=no
3915 else
3916 result=yes
3917 fi
3918 else
3919 result=$wxUSE_LIBGNOMEVFS
3920 fi
3921
3922 { echo "$as_me:$LINENO: result: $result" >&5
3923 echo "${ECHO_T}$result" >&6; }
3924
3925
3926 withstring=
3927 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3928 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3929 no_cache=0
3930
3931 # Check whether --with-hildon was given.
3932 if test "${with_hildon+set}" = set; then
3933 withval=$with_hildon;
3934 if test "$withval" = yes; then
3935 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3936 else
3937 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3938 fi
3939
3940 else
3941
3942 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x ; then
3944 eval "DEFAULT_$LINE"
3945 else
3946 no_cache=1
3947 fi
3948
3949 ac_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$wxUSE_ALL_FEATURES}"
3950
3951 fi
3952
3953
3954 eval "$ac_cv_use_hildon"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3957 fi
3958
3959 if test x"$withstring" = xwithout; then
3960 if test $wxUSE_LIBHILDON = yes; then
3961 result=no
3962 else
3963 result=yes
3964 fi
3965 else
3966 result=$wxUSE_LIBHILDON
3967 fi
3968
3969 { echo "$as_me:$LINENO: result: $result" >&5
3970 echo "${ECHO_T}$result" >&6; }
3971
3972
3973 withstring=
3974 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3975 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3976 no_cache=0
3977
3978 # Check whether --with-opengl was given.
3979 if test "${with_opengl+set}" = set; then
3980 withval=$with_opengl;
3981 if test "$withval" = yes; then
3982 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3983 else
3984 ac_cv_use_opengl='wxUSE_OPENGL=no'
3985 fi
3986
3987 else
3988
3989 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x ; then
3991 eval "DEFAULT_$LINE"
3992 else
3993 no_cache=1
3994 fi
3995
3996 ac_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$wxUSE_ALL_FEATURES}"
3997
3998 fi
3999
4000
4001 eval "$ac_cv_use_opengl"
4002 if test "$no_cache" != 1; then
4003 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4004 fi
4005
4006 if test x"$withstring" = xwithout; then
4007 if test $wxUSE_OPENGL = yes; then
4008 result=no
4009 else
4010 result=yes
4011 fi
4012 else
4013 result=$wxUSE_OPENGL
4014 fi
4015
4016 { echo "$as_me:$LINENO: result: $result" >&5
4017 echo "${ECHO_T}$result" >&6; }
4018
4019
4020 fi
4021
4022
4023 withstring=
4024 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4025 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4026 no_cache=0
4027
4028 # Check whether --with-dmalloc was given.
4029 if test "${with_dmalloc+set}" = set; then
4030 withval=$with_dmalloc;
4031 if test "$withval" = yes; then
4032 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4033 else
4034 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4035 fi
4036
4037 else
4038
4039 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x ; then
4041 eval "DEFAULT_$LINE"
4042 else
4043 no_cache=1
4044 fi
4045
4046 ac_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$wxUSE_ALL_FEATURES}"
4047
4048 fi
4049
4050
4051 eval "$ac_cv_use_dmalloc"
4052 if test "$no_cache" != 1; then
4053 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4054 fi
4055
4056 if test x"$withstring" = xwithout; then
4057 if test $wxUSE_DMALLOC = yes; then
4058 result=no
4059 else
4060 result=yes
4061 fi
4062 else
4063 result=$wxUSE_DMALLOC
4064 fi
4065
4066 { echo "$as_me:$LINENO: result: $result" >&5
4067 echo "${ECHO_T}$result" >&6; }
4068
4069
4070 withstring=
4071 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4072 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4073 no_cache=0
4074
4075 # Check whether --with-sdl was given.
4076 if test "${with_sdl+set}" = set; then
4077 withval=$with_sdl;
4078 if test "$withval" = yes; then
4079 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4080 else
4081 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4082 fi
4083
4084 else
4085
4086 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x ; then
4088 eval "DEFAULT_$LINE"
4089 else
4090 no_cache=1
4091 fi
4092
4093 ac_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$wxUSE_ALL_FEATURES}"
4094
4095 fi
4096
4097
4098 eval "$ac_cv_use_sdl"
4099 if test "$no_cache" != 1; then
4100 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4101 fi
4102
4103 if test x"$withstring" = xwithout; then
4104 if test $wxUSE_LIBSDL = yes; then
4105 result=no
4106 else
4107 result=yes
4108 fi
4109 else
4110 result=$wxUSE_LIBSDL
4111 fi
4112
4113 { echo "$as_me:$LINENO: result: $result" >&5
4114 echo "${ECHO_T}$result" >&6; }
4115
4116
4117 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4118 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4119 no_cache=0
4120
4121 # Check whether --with-regex was given.
4122 if test "${with_regex+set}" = set; then
4123 withval=$with_regex;
4124 if test "$withval" = yes; then
4125 ac_cv_use_regex='wxUSE_REGEX=yes'
4126 elif test "$withval" = no; then
4127 ac_cv_use_regex='wxUSE_REGEX=no'
4128 elif test "$withval" = sys; then
4129 ac_cv_use_regex='wxUSE_REGEX=sys'
4130 elif test "$withval" = builtin; then
4131 ac_cv_use_regex='wxUSE_REGEX=builtin'
4132 else
4133 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4134 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4135 { (exit 1); exit 1; }; }
4136 fi
4137
4138 else
4139
4140 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x ; then
4142 eval "DEFAULT_$LINE"
4143 else
4144 no_cache=1
4145 fi
4146
4147 ac_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4148
4149 fi
4150
4151
4152 eval "$ac_cv_use_regex"
4153 if test "$no_cache" != 1; then
4154 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4155 fi
4156
4157 if test "$wxUSE_REGEX" = yes; then
4158 { echo "$as_me:$LINENO: result: yes" >&5
4159 echo "${ECHO_T}yes" >&6; }
4160 elif test "$wxUSE_REGEX" = no; then
4161 { echo "$as_me:$LINENO: result: no" >&5
4162 echo "${ECHO_T}no" >&6; }
4163 elif test "$wxUSE_REGEX" = sys; then
4164 { echo "$as_me:$LINENO: result: system version" >&5
4165 echo "${ECHO_T}system version" >&6; }
4166 elif test "$wxUSE_REGEX" = builtin; then
4167 { echo "$as_me:$LINENO: result: builtin version" >&5
4168 echo "${ECHO_T}builtin version" >&6; }
4169 else
4170 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4171 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4172 { (exit 1); exit 1; }; }
4173 fi
4174
4175
4176 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4177 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4178 no_cache=0
4179
4180 # Check whether --with-zlib was given.
4181 if test "${with_zlib+set}" = set; then
4182 withval=$with_zlib;
4183 if test "$withval" = yes; then
4184 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4185 elif test "$withval" = no; then
4186 ac_cv_use_zlib='wxUSE_ZLIB=no'
4187 elif test "$withval" = sys; then
4188 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4189 elif test "$withval" = builtin; then
4190 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4191 else
4192 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4193 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4194 { (exit 1); exit 1; }; }
4195 fi
4196
4197 else
4198
4199 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4200 if test "x$LINE" != x ; then
4201 eval "DEFAULT_$LINE"
4202 else
4203 no_cache=1
4204 fi
4205
4206 ac_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4207
4208 fi
4209
4210
4211 eval "$ac_cv_use_zlib"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4214 fi
4215
4216 if test "$wxUSE_ZLIB" = yes; then
4217 { echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4219 elif test "$wxUSE_ZLIB" = no; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 elif test "$wxUSE_ZLIB" = sys; then
4223 { echo "$as_me:$LINENO: result: system version" >&5
4224 echo "${ECHO_T}system version" >&6; }
4225 elif test "$wxUSE_ZLIB" = builtin; then
4226 { echo "$as_me:$LINENO: result: builtin version" >&5
4227 echo "${ECHO_T}builtin version" >&6; }
4228 else
4229 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4230 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4232 fi
4233
4234
4235 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4236 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4237 no_cache=0
4238
4239 # Check whether --with-odbc was given.
4240 if test "${with_odbc+set}" = set; then
4241 withval=$with_odbc;
4242 if test "$withval" = yes; then
4243 ac_cv_use_odbc='wxUSE_ODBC=yes'
4244 elif test "$withval" = no; then
4245 ac_cv_use_odbc='wxUSE_ODBC=no'
4246 elif test "$withval" = sys; then
4247 ac_cv_use_odbc='wxUSE_ODBC=sys'
4248 elif test "$withval" = builtin; then
4249 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4250 else
4251 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4252 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4253 { (exit 1); exit 1; }; }
4254 fi
4255
4256 else
4257
4258 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x ; then
4260 eval "DEFAULT_$LINE"
4261 else
4262 no_cache=1
4263 fi
4264
4265 ac_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4266
4267 fi
4268
4269
4270 eval "$ac_cv_use_odbc"
4271 if test "$no_cache" != 1; then
4272 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4273 fi
4274
4275 if test "$wxUSE_ODBC" = yes; then
4276 { echo "$as_me:$LINENO: result: yes" >&5
4277 echo "${ECHO_T}yes" >&6; }
4278 elif test "$wxUSE_ODBC" = no; then
4279 { echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6; }
4281 elif test "$wxUSE_ODBC" = sys; then
4282 { echo "$as_me:$LINENO: result: system version" >&5
4283 echo "${ECHO_T}system version" >&6; }
4284 elif test "$wxUSE_ODBC" = builtin; then
4285 { echo "$as_me:$LINENO: result: builtin version" >&5
4286 echo "${ECHO_T}builtin version" >&6; }
4287 else
4288 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4289 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4290 { (exit 1); exit 1; }; }
4291 fi
4292
4293
4294 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4295 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4296 no_cache=0
4297
4298 # Check whether --with-expat was given.
4299 if test "${with_expat+set}" = set; then
4300 withval=$with_expat;
4301 if test "$withval" = yes; then
4302 ac_cv_use_expat='wxUSE_EXPAT=yes'
4303 elif test "$withval" = no; then
4304 ac_cv_use_expat='wxUSE_EXPAT=no'
4305 elif test "$withval" = sys; then
4306 ac_cv_use_expat='wxUSE_EXPAT=sys'
4307 elif test "$withval" = builtin; then
4308 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4309 else
4310 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4311 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4312 { (exit 1); exit 1; }; }
4313 fi
4314
4315 else
4316
4317 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x ; then
4319 eval "DEFAULT_$LINE"
4320 else
4321 no_cache=1
4322 fi
4323
4324 ac_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4325
4326 fi
4327
4328
4329 eval "$ac_cv_use_expat"
4330 if test "$no_cache" != 1; then
4331 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4332 fi
4333
4334 if test "$wxUSE_EXPAT" = yes; then
4335 { echo "$as_me:$LINENO: result: yes" >&5
4336 echo "${ECHO_T}yes" >&6; }
4337 elif test "$wxUSE_EXPAT" = no; then
4338 { echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6; }
4340 elif test "$wxUSE_EXPAT" = sys; then
4341 { echo "$as_me:$LINENO: result: system version" >&5
4342 echo "${ECHO_T}system version" >&6; }
4343 elif test "$wxUSE_EXPAT" = builtin; then
4344 { echo "$as_me:$LINENO: result: builtin version" >&5
4345 echo "${ECHO_T}builtin version" >&6; }
4346 else
4347 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4348 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4349 { (exit 1); exit 1; }; }
4350 fi
4351
4352
4353
4354
4355 enablestring=disable
4356 defaultval=
4357 if test -z "$defaultval"; then
4358 if test x"$enablestring" = xdisable; then
4359 defaultval=yes
4360 else
4361 defaultval=no
4362 fi
4363 fi
4364
4365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4366 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4367 no_cache=0
4368 # Check whether --enable-shared was given.
4369 if test "${enable_shared+set}" = set; then
4370 enableval=$enable_shared;
4371 if test "$enableval" = yes; then
4372 ac_cv_use_shared='wxUSE_SHARED=yes'
4373 else
4374 ac_cv_use_shared='wxUSE_SHARED=no'
4375 fi
4376
4377 else
4378
4379 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x ; then
4381 eval "DEFAULT_$LINE"
4382 else
4383 no_cache=1
4384 fi
4385
4386 ac_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4387
4388 fi
4389
4390
4391 eval "$ac_cv_use_shared"
4392 if test "$no_cache" != 1; then
4393 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4394 fi
4395
4396 if test x"$enablestring" = xdisable; then
4397 if test $wxUSE_SHARED = yes; then
4398 result=no
4399 else
4400 result=yes
4401 fi
4402 else
4403 result=$wxUSE_SHARED
4404 fi
4405
4406 { echo "$as_me:$LINENO: result: $result" >&5
4407 echo "${ECHO_T}$result" >&6; }
4408
4409
4410 enablestring=disable
4411 defaultval=
4412 if test -z "$defaultval"; then
4413 if test x"$enablestring" = xdisable; then
4414 defaultval=yes
4415 else
4416 defaultval=no
4417 fi
4418 fi
4419
4420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4421 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4422 no_cache=0
4423 # Check whether --enable-optimise was given.
4424 if test "${enable_optimise+set}" = set; then
4425 enableval=$enable_optimise;
4426 if test "$enableval" = yes; then
4427 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4428 else
4429 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4430 fi
4431
4432 else
4433
4434 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4437 else
4438 no_cache=1
4439 fi
4440
4441 ac_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4442
4443 fi
4444
4445
4446 eval "$ac_cv_use_optimise"
4447 if test "$no_cache" != 1; then
4448 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4449 fi
4450
4451 if test x"$enablestring" = xdisable; then
4452 if test $wxUSE_OPTIMISE = yes; then
4453 result=no
4454 else
4455 result=yes
4456 fi
4457 else
4458 result=$wxUSE_OPTIMISE
4459 fi
4460
4461 { echo "$as_me:$LINENO: result: $result" >&5
4462 echo "${ECHO_T}$result" >&6; }
4463
4464
4465 enablestring=
4466 defaultval=
4467 if test -z "$defaultval"; then
4468 if test x"$enablestring" = xdisable; then
4469 defaultval=yes
4470 else
4471 defaultval=no
4472 fi
4473 fi
4474
4475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4476 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4477 no_cache=0
4478 # Check whether --enable-debug was given.
4479 if test "${enable_debug+set}" = set; then
4480 enableval=$enable_debug;
4481 if test "$enableval" = yes; then
4482 ac_cv_use_debug='wxUSE_DEBUG=yes'
4483 else
4484 ac_cv_use_debug='wxUSE_DEBUG=no'
4485 fi
4486
4487 else
4488
4489 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x ; then
4491 eval "DEFAULT_$LINE"
4492 else
4493 no_cache=1
4494 fi
4495
4496 ac_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4497
4498 fi
4499
4500
4501 eval "$ac_cv_use_debug"
4502 if test "$no_cache" != 1; then
4503 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4504 fi
4505
4506 if test x"$enablestring" = xdisable; then
4507 if test $wxUSE_DEBUG = yes; then
4508 result=no
4509 else
4510 result=yes
4511 fi
4512 else
4513 result=$wxUSE_DEBUG
4514 fi
4515
4516 { echo "$as_me:$LINENO: result: $result" >&5
4517 echo "${ECHO_T}$result" >&6; }
4518
4519
4520 enablestring=
4521 defaultval=
4522 if test -z "$defaultval"; then
4523 if test x"$enablestring" = xdisable; then
4524 defaultval=yes
4525 else
4526 defaultval=no
4527 fi
4528 fi
4529
4530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4532 no_cache=0
4533 # Check whether --enable-stl was given.
4534 if test "${enable_stl+set}" = set; then
4535 enableval=$enable_stl;
4536 if test "$enableval" = yes; then
4537 ac_cv_use_stl='wxUSE_STL=yes'
4538 else
4539 ac_cv_use_stl='wxUSE_STL=no'
4540 fi
4541
4542 else
4543
4544 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x ; then
4546 eval "DEFAULT_$LINE"
4547 else
4548 no_cache=1
4549 fi
4550
4551 ac_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4552
4553 fi
4554
4555
4556 eval "$ac_cv_use_stl"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test x"$enablestring" = xdisable; then
4562 if test $wxUSE_STL = yes; then
4563 result=no
4564 else
4565 result=yes
4566 fi
4567 else
4568 result=$wxUSE_STL
4569 fi
4570
4571 { echo "$as_me:$LINENO: result: $result" >&5
4572 echo "${ECHO_T}$result" >&6; }
4573
4574
4575 enablestring=
4576 defaultval=
4577 if test -z "$defaultval"; then
4578 if test x"$enablestring" = xdisable; then
4579 defaultval=yes
4580 else
4581 defaultval=no
4582 fi
4583 fi
4584
4585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4586 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4587 no_cache=0
4588 # Check whether --enable-std_iostreams was given.
4589 if test "${enable_std_iostreams+set}" = set; then
4590 enableval=$enable_std_iostreams;
4591 if test "$enableval" = yes; then
4592 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4593 else
4594 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4595 fi
4596
4597 else
4598
4599 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4600 if test "x$LINE" != x ; then
4601 eval "DEFAULT_$LINE"
4602 else
4603 no_cache=1
4604 fi
4605
4606 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4607
4608 fi
4609
4610
4611 eval "$ac_cv_use_std_iostreams"
4612 if test "$no_cache" != 1; then
4613 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4614 fi
4615
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_STD_IOSTREAM = yes; then
4618 result=no
4619 else
4620 result=yes
4621 fi
4622 else
4623 result=$wxUSE_STD_IOSTREAM
4624 fi
4625
4626 { echo "$as_me:$LINENO: result: $result" >&5
4627 echo "${ECHO_T}$result" >&6; }
4628
4629
4630 enablestring=
4631 defaultval=
4632 if test -z "$defaultval"; then
4633 if test x"$enablestring" = xdisable; then
4634 defaultval=yes
4635 else
4636 defaultval=no
4637 fi
4638 fi
4639
4640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4641 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4642 no_cache=0
4643 # Check whether --enable-std_string was given.
4644 if test "${enable_std_string+set}" = set; then
4645 enableval=$enable_std_string;
4646 if test "$enableval" = yes; then
4647 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
4648 else
4649 ac_cv_use_std_string='wxUSE_STD_STRING=no'
4650 fi
4651
4652 else
4653
4654 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4655 if test "x$LINE" != x ; then
4656 eval "DEFAULT_$LINE"
4657 else
4658 no_cache=1
4659 fi
4660
4661 ac_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4662
4663 fi
4664
4665
4666 eval "$ac_cv_use_std_string"
4667 if test "$no_cache" != 1; then
4668 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4669 fi
4670
4671 if test x"$enablestring" = xdisable; then
4672 if test $wxUSE_STD_STRING = yes; then
4673 result=no
4674 else
4675 result=yes
4676 fi
4677 else
4678 result=$wxUSE_STD_STRING
4679 fi
4680
4681 { echo "$as_me:$LINENO: result: $result" >&5
4682 echo "${ECHO_T}$result" >&6; }
4683
4684
4685 enablestring=disable
4686 defaultval=
4687 if test -z "$defaultval"; then
4688 if test x"$enablestring" = xdisable; then
4689 defaultval=yes
4690 else
4691 defaultval=no
4692 fi
4693 fi
4694
4695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4697 no_cache=0
4698 # Check whether --enable-unicode was given.
4699 if test "${enable_unicode+set}" = set; then
4700 enableval=$enable_unicode;
4701 if test "$enableval" = yes; then
4702 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4703 else
4704 ac_cv_use_unicode='wxUSE_UNICODE=no'
4705 fi
4706
4707 else
4708
4709 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x ; then
4711 eval "DEFAULT_$LINE"
4712 else
4713 no_cache=1
4714 fi
4715
4716 ac_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4717
4718 fi
4719
4720
4721 eval "$ac_cv_use_unicode"
4722 if test "$no_cache" != 1; then
4723 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4724 fi
4725
4726 if test x"$enablestring" = xdisable; then
4727 if test $wxUSE_UNICODE = yes; then
4728 result=no
4729 else
4730 result=yes
4731 fi
4732 else
4733 result=$wxUSE_UNICODE
4734 fi
4735
4736 { echo "$as_me:$LINENO: result: $result" >&5
4737 echo "${ECHO_T}$result" >&6; }
4738
4739
4740 enablestring=
4741 defaultval=
4742 if test -z "$defaultval"; then
4743 if test x"$enablestring" = xdisable; then
4744 defaultval=yes
4745 else
4746 defaultval=no
4747 fi
4748 fi
4749
4750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4752 no_cache=0
4753 # Check whether --enable-mslu was given.
4754 if test "${enable_mslu+set}" = set; then
4755 enableval=$enable_mslu;
4756 if test "$enableval" = yes; then
4757 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4758 else
4759 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4760 fi
4761
4762 else
4763
4764 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4767 else
4768 no_cache=1
4769 fi
4770
4771 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4772
4773 fi
4774
4775
4776 eval "$ac_cv_use_mslu"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4779 fi
4780
4781 if test x"$enablestring" = xdisable; then
4782 if test $wxUSE_UNICODE_MSLU = yes; then
4783 result=no
4784 else
4785 result=yes
4786 fi
4787 else
4788 result=$wxUSE_UNICODE_MSLU
4789 fi
4790
4791 { echo "$as_me:$LINENO: result: $result" >&5
4792 echo "${ECHO_T}$result" >&6; }
4793
4794
4795 enablestring=
4796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4798 no_cache=0
4799 # Check whether --enable-utf8 was given.
4800 if test "${enable_utf8+set}" = set; then
4801 enableval=$enable_utf8;
4802 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4803
4804 else
4805
4806 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4809 else
4810 no_cache=1
4811 fi
4812
4813 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4814
4815 fi
4816
4817
4818 eval "$wx_cv_use_utf8"
4819 if test "$no_cache" != 1; then
4820 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4821 fi
4822
4823 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4824 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4825
4826
4827 enablestring=
4828 defaultval=
4829 if test -z "$defaultval"; then
4830 if test x"$enablestring" = xdisable; then
4831 defaultval=yes
4832 else
4833 defaultval=no
4834 fi
4835 fi
4836
4837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4838 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4839 no_cache=0
4840 # Check whether --enable-utf8only was given.
4841 if test "${enable_utf8only+set}" = set; then
4842 enableval=$enable_utf8only;
4843 if test "$enableval" = yes; then
4844 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4845 else
4846 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4847 fi
4848
4849 else
4850
4851 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4852 if test "x$LINE" != x ; then
4853 eval "DEFAULT_$LINE"
4854 else
4855 no_cache=1
4856 fi
4857
4858 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4859
4860 fi
4861
4862
4863 eval "$ac_cv_use_utf8only"
4864 if test "$no_cache" != 1; then
4865 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4866 fi
4867
4868 if test x"$enablestring" = xdisable; then
4869 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4870 result=no
4871 else
4872 result=yes
4873 fi
4874 else
4875 result=$wxUSE_UNICODE_UTF8_LOCALE
4876 fi
4877
4878 { echo "$as_me:$LINENO: result: $result" >&5
4879 echo "${ECHO_T}$result" >&6; }
4880
4881
4882 enablestring=
4883 defaultval=
4884 if test -z "$defaultval"; then
4885 if test x"$enablestring" = xdisable; then
4886 defaultval=yes
4887 else
4888 defaultval=no
4889 fi
4890 fi
4891
4892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4893 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4894 no_cache=0
4895 # Check whether --enable-extended_rtti was given.
4896 if test "${enable_extended_rtti+set}" = set; then
4897 enableval=$enable_extended_rtti;
4898 if test "$enableval" = yes; then
4899 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4900 else
4901 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4902 fi
4903
4904 else
4905
4906 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x ; then
4908 eval "DEFAULT_$LINE"
4909 else
4910 no_cache=1
4911 fi
4912
4913 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4914
4915 fi
4916
4917
4918 eval "$ac_cv_use_extended_rtti"
4919 if test "$no_cache" != 1; then
4920 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4921 fi
4922
4923 if test x"$enablestring" = xdisable; then
4924 if test $wxUSE_EXTENDED_RTTI = yes; then
4925 result=no
4926 else
4927 result=yes
4928 fi
4929 else
4930 result=$wxUSE_EXTENDED_RTTI
4931 fi
4932
4933 { echo "$as_me:$LINENO: result: $result" >&5
4934 echo "${ECHO_T}$result" >&6; }
4935
4936 if test "$USE_OS2" = "1"; then
4937 DEFAULT_wxUSE_OMF=no
4938
4939 enablestring=
4940 defaultval=
4941 if test -z "$defaultval"; then
4942 if test x"$enablestring" = xdisable; then
4943 defaultval=yes
4944 else
4945 defaultval=no
4946 fi
4947 fi
4948
4949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4951 no_cache=0
4952 # Check whether --enable-omf was given.
4953 if test "${enable_omf+set}" = set; then
4954 enableval=$enable_omf;
4955 if test "$enableval" = yes; then
4956 ac_cv_use_omf='wxUSE_OMF=yes'
4957 else
4958 ac_cv_use_omf='wxUSE_OMF=no'
4959 fi
4960
4961 else
4962
4963 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x ; then
4965 eval "DEFAULT_$LINE"
4966 else
4967 no_cache=1
4968 fi
4969
4970 ac_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4971
4972 fi
4973
4974
4975 eval "$ac_cv_use_omf"
4976 if test "$no_cache" != 1; then
4977 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4978 fi
4979
4980 if test x"$enablestring" = xdisable; then
4981 if test $wxUSE_OMF = yes; then
4982 result=no
4983 else
4984 result=yes
4985 fi
4986 else
4987 result=$wxUSE_OMF
4988 fi
4989
4990 { echo "$as_me:$LINENO: result: $result" >&5
4991 echo "${ECHO_T}$result" >&6; }
4992
4993 fi
4994
4995 if test "$wxUSE_DEBUG" = "yes"; then
4996 DEFAULT_wxUSE_DEBUG_FLAG=yes
4997 DEFAULT_wxUSE_DEBUG_INFO=yes
4998 BUILD=debug
4999 elif test "$wxUSE_DEBUG" = "no"; then
5000 DEFAULT_wxUSE_DEBUG_FLAG=no
5001 DEFAULT_wxUSE_DEBUG_INFO=no
5002 BUILD=release
5003 fi
5004
5005
5006 enablestring=
5007 defaultval=
5008 if test -z "$defaultval"; then
5009 if test x"$enablestring" = xdisable; then
5010 defaultval=yes
5011 else
5012 defaultval=no
5013 fi
5014 fi
5015
5016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5017 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5018 no_cache=0
5019 # Check whether --enable-debug_flag was given.
5020 if test "${enable_debug_flag+set}" = set; then
5021 enableval=$enable_debug_flag;
5022 if test "$enableval" = yes; then
5023 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5024 else
5025 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5026 fi
5027
5028 else
5029
5030 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x ; then
5032 eval "DEFAULT_$LINE"
5033 else
5034 no_cache=1
5035 fi
5036
5037 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5038
5039 fi
5040
5041
5042 eval "$ac_cv_use_debug_flag"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5045 fi
5046
5047 if test x"$enablestring" = xdisable; then
5048 if test $wxUSE_DEBUG_FLAG = yes; then
5049 result=no
5050 else
5051 result=yes
5052 fi
5053 else
5054 result=$wxUSE_DEBUG_FLAG
5055 fi
5056
5057 { echo "$as_me:$LINENO: result: $result" >&5
5058 echo "${ECHO_T}$result" >&6; }
5059
5060
5061 enablestring=
5062 defaultval=
5063 if test -z "$defaultval"; then
5064 if test x"$enablestring" = xdisable; then
5065 defaultval=yes
5066 else
5067 defaultval=no
5068 fi
5069 fi
5070
5071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5073 no_cache=0
5074 # Check whether --enable-debug_info was given.
5075 if test "${enable_debug_info+set}" = set; then
5076 enableval=$enable_debug_info;
5077 if test "$enableval" = yes; then
5078 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5079 else
5080 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5081 fi
5082
5083 else
5084
5085 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5088 else
5089 no_cache=1
5090 fi
5091
5092 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5093
5094 fi
5095
5096
5097 eval "$ac_cv_use_debug_info"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5100 fi
5101
5102 if test x"$enablestring" = xdisable; then
5103 if test $wxUSE_DEBUG_INFO = yes; then
5104 result=no
5105 else
5106 result=yes
5107 fi
5108 else
5109 result=$wxUSE_DEBUG_INFO
5110 fi
5111
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5114
5115
5116 enablestring=
5117 defaultval=
5118 if test -z "$defaultval"; then
5119 if test x"$enablestring" = xdisable; then
5120 defaultval=yes
5121 else
5122 defaultval=no
5123 fi
5124 fi
5125
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5128 no_cache=0
5129 # Check whether --enable-debug_gdb was given.
5130 if test "${enable_debug_gdb+set}" = set; then
5131 enableval=$enable_debug_gdb;
5132 if test "$enableval" = yes; then
5133 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5134 else
5135 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5136 fi
5137
5138 else
5139
5140 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5141 if test "x$LINE" != x ; then
5142 eval "DEFAULT_$LINE"
5143 else
5144 no_cache=1
5145 fi
5146
5147 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5148
5149 fi
5150
5151
5152 eval "$ac_cv_use_debug_gdb"
5153 if test "$no_cache" != 1; then
5154 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5155 fi
5156
5157 if test x"$enablestring" = xdisable; then
5158 if test $wxUSE_DEBUG_GDB = yes; then
5159 result=no
5160 else
5161 result=yes
5162 fi
5163 else
5164 result=$wxUSE_DEBUG_GDB
5165 fi
5166
5167 { echo "$as_me:$LINENO: result: $result" >&5
5168 echo "${ECHO_T}$result" >&6; }
5169
5170
5171 enablestring=
5172 defaultval=
5173 if test -z "$defaultval"; then
5174 if test x"$enablestring" = xdisable; then
5175 defaultval=yes
5176 else
5177 defaultval=no
5178 fi
5179 fi
5180
5181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5182 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5183 no_cache=0
5184 # Check whether --enable-debug_cntxt was given.
5185 if test "${enable_debug_cntxt+set}" = set; then
5186 enableval=$enable_debug_cntxt;
5187 if test "$enableval" = yes; then
5188 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5189 else
5190 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5191 fi
5192
5193 else
5194
5195 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x ; then
5197 eval "DEFAULT_$LINE"
5198 else
5199 no_cache=1
5200 fi
5201
5202 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5203
5204 fi
5205
5206
5207 eval "$ac_cv_use_debug_cntxt"
5208 if test "$no_cache" != 1; then
5209 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5210 fi
5211
5212 if test x"$enablestring" = xdisable; then
5213 if test $wxUSE_DEBUG_CONTEXT = yes; then
5214 result=no
5215 else
5216 result=yes
5217 fi
5218 else
5219 result=$wxUSE_DEBUG_CONTEXT
5220 fi
5221
5222 { echo "$as_me:$LINENO: result: $result" >&5
5223 echo "${ECHO_T}$result" >&6; }
5224
5225
5226 enablestring=
5227 defaultval=
5228 if test -z "$defaultval"; then
5229 if test x"$enablestring" = xdisable; then
5230 defaultval=yes
5231 else
5232 defaultval=no
5233 fi
5234 fi
5235
5236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5238 no_cache=0
5239 # Check whether --enable-mem_tracing was given.
5240 if test "${enable_mem_tracing+set}" = set; then
5241 enableval=$enable_mem_tracing;
5242 if test "$enableval" = yes; then
5243 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5244 else
5245 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5246 fi
5247
5248 else
5249
5250 LINE=`grep "^wxUSE_MEM_TRACING=" ${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 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5258
5259 fi
5260
5261
5262 eval "$ac_cv_use_mem_tracing"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 if test x"$enablestring" = xdisable; then
5268 if test $wxUSE_MEM_TRACING = yes; then
5269 result=no
5270 else
5271 result=yes
5272 fi
5273 else
5274 result=$wxUSE_MEM_TRACING
5275 fi
5276
5277 { echo "$as_me:$LINENO: result: $result" >&5
5278 echo "${ECHO_T}$result" >&6; }
5279
5280
5281 enablestring=
5282 defaultval=
5283 if test -z "$defaultval"; then
5284 if test x"$enablestring" = xdisable; then
5285 defaultval=yes
5286 else
5287 defaultval=no
5288 fi
5289 fi
5290
5291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5293 no_cache=0
5294 # Check whether --enable-profile was given.
5295 if test "${enable_profile+set}" = set; then
5296 enableval=$enable_profile;
5297 if test "$enableval" = yes; then
5298 ac_cv_use_profile='wxUSE_PROFILE=yes'
5299 else
5300 ac_cv_use_profile='wxUSE_PROFILE=no'
5301 fi
5302
5303 else
5304
5305 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5306 if test "x$LINE" != x ; then
5307 eval "DEFAULT_$LINE"
5308 else
5309 no_cache=1
5310 fi
5311
5312 ac_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5313
5314 fi
5315
5316
5317 eval "$ac_cv_use_profile"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5320 fi
5321
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_PROFILE = yes; then
5324 result=no
5325 else
5326 result=yes
5327 fi
5328 else
5329 result=$wxUSE_PROFILE
5330 fi
5331
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5334
5335
5336 enablestring=
5337 defaultval=
5338 if test -z "$defaultval"; then
5339 if test x"$enablestring" = xdisable; then
5340 defaultval=yes
5341 else
5342 defaultval=no
5343 fi
5344 fi
5345
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5348 no_cache=0
5349 # Check whether --enable-no_rtti was given.
5350 if test "${enable_no_rtti+set}" = set; then
5351 enableval=$enable_no_rtti;
5352 if test "$enableval" = yes; then
5353 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5354 else
5355 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5356 fi
5357
5358 else
5359
5360 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5363 else
5364 no_cache=1
5365 fi
5366
5367 ac_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5368
5369 fi
5370
5371
5372 eval "$ac_cv_use_no_rtti"
5373 if test "$no_cache" != 1; then
5374 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5375 fi
5376
5377 if test x"$enablestring" = xdisable; then
5378 if test $wxUSE_NO_RTTI = yes; then
5379 result=no
5380 else
5381 result=yes
5382 fi
5383 else
5384 result=$wxUSE_NO_RTTI
5385 fi
5386
5387 { echo "$as_me:$LINENO: result: $result" >&5
5388 echo "${ECHO_T}$result" >&6; }
5389
5390
5391 enablestring=
5392 defaultval=
5393 if test -z "$defaultval"; then
5394 if test x"$enablestring" = xdisable; then
5395 defaultval=yes
5396 else
5397 defaultval=no
5398 fi
5399 fi
5400
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5403 no_cache=0
5404 # Check whether --enable-no_exceptions was given.
5405 if test "${enable_no_exceptions+set}" = set; then
5406 enableval=$enable_no_exceptions;
5407 if test "$enableval" = yes; then
5408 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5409 else
5410 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5423
5424 fi
5425
5426
5427 eval "$ac_cv_use_no_exceptions"
5428 if test "$no_cache" != 1; then
5429 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5430 fi
5431
5432 if test x"$enablestring" = xdisable; then
5433 if test $wxUSE_NO_EXCEPTIONS = yes; then
5434 result=no
5435 else
5436 result=yes
5437 fi
5438 else
5439 result=$wxUSE_NO_EXCEPTIONS
5440 fi
5441
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5444
5445
5446 enablestring=
5447 defaultval=
5448 if test -z "$defaultval"; then
5449 if test x"$enablestring" = xdisable; then
5450 defaultval=yes
5451 else
5452 defaultval=no
5453 fi
5454 fi
5455
5456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5457 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5458 no_cache=0
5459 # Check whether --enable-permissive was given.
5460 if test "${enable_permissive+set}" = set; then
5461 enableval=$enable_permissive;
5462 if test "$enableval" = yes; then
5463 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5464 else
5465 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5466 fi
5467
5468 else
5469
5470 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5473 else
5474 no_cache=1
5475 fi
5476
5477 ac_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5478
5479 fi
5480
5481
5482 eval "$ac_cv_use_permissive"
5483 if test "$no_cache" != 1; then
5484 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5485 fi
5486
5487 if test x"$enablestring" = xdisable; then
5488 if test $wxUSE_PERMISSIVE = yes; then
5489 result=no
5490 else
5491 result=yes
5492 fi
5493 else
5494 result=$wxUSE_PERMISSIVE
5495 fi
5496
5497 { echo "$as_me:$LINENO: result: $result" >&5
5498 echo "${ECHO_T}$result" >&6; }
5499
5500
5501 enablestring=
5502 defaultval=
5503 if test -z "$defaultval"; then
5504 if test x"$enablestring" = xdisable; then
5505 defaultval=yes
5506 else
5507 defaultval=no
5508 fi
5509 fi
5510
5511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5513 no_cache=0
5514 # Check whether --enable-no_deps was given.
5515 if test "${enable_no_deps+set}" = set; then
5516 enableval=$enable_no_deps;
5517 if test "$enableval" = yes; then
5518 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5519 else
5520 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5521 fi
5522
5523 else
5524
5525 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5526 if test "x$LINE" != x ; then
5527 eval "DEFAULT_$LINE"
5528 else
5529 no_cache=1
5530 fi
5531
5532 ac_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5533
5534 fi
5535
5536
5537 eval "$ac_cv_use_no_deps"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5540 fi
5541
5542 if test x"$enablestring" = xdisable; then
5543 if test $wxUSE_NO_DEPS = yes; then
5544 result=no
5545 else
5546 result=yes
5547 fi
5548 else
5549 result=$wxUSE_NO_DEPS
5550 fi
5551
5552 { echo "$as_me:$LINENO: result: $result" >&5
5553 echo "${ECHO_T}$result" >&6; }
5554
5555
5556 enablestring=disable
5557 defaultval=
5558 if test -z "$defaultval"; then
5559 if test x"$enablestring" = xdisable; then
5560 defaultval=yes
5561 else
5562 defaultval=no
5563 fi
5564 fi
5565
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5568 no_cache=0
5569 # Check whether --enable-vararg_macros was given.
5570 if test "${enable_vararg_macros+set}" = set; then
5571 enableval=$enable_vararg_macros;
5572 if test "$enableval" = yes; then
5573 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5574 else
5575 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5576 fi
5577
5578 else
5579
5580 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5581 if test "x$LINE" != x ; then
5582 eval "DEFAULT_$LINE"
5583 else
5584 no_cache=1
5585 fi
5586
5587 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5588
5589 fi
5590
5591
5592 eval "$ac_cv_use_vararg_macros"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5595 fi
5596
5597 if test x"$enablestring" = xdisable; then
5598 if test $wxUSE_VARARG_MACROS = yes; then
5599 result=no
5600 else
5601 result=yes
5602 fi
5603 else
5604 result=$wxUSE_VARARG_MACROS
5605 fi
5606
5607 { echo "$as_me:$LINENO: result: $result" >&5
5608 echo "${ECHO_T}$result" >&6; }
5609
5610
5611 enablestring=
5612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5613 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5614 no_cache=0
5615 # Check whether --enable-universal_binary was given.
5616 if test "${enable_universal_binary+set}" = set; then
5617 enableval=$enable_universal_binary;
5618 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5619
5620 else
5621
5622 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5625 else
5626 no_cache=1
5627 fi
5628
5629 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5630
5631 fi
5632
5633
5634 eval "$wx_cv_use_universal_binary"
5635 if test "$no_cache" != 1; then
5636 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5637 fi
5638
5639 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5640 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5641
5642
5643
5644 enablestring=
5645 defaultval=
5646 if test -z "$defaultval"; then
5647 if test x"$enablestring" = xdisable; then
5648 defaultval=yes
5649 else
5650 defaultval=no
5651 fi
5652 fi
5653
5654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5656 no_cache=0
5657 # Check whether --enable-compat26 was given.
5658 if test "${enable_compat26+set}" = set; then
5659 enableval=$enable_compat26;
5660 if test "$enableval" = yes; then
5661 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5662 else
5663 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5664 fi
5665
5666 else
5667
5668 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5669 if test "x$LINE" != x ; then
5670 eval "DEFAULT_$LINE"
5671 else
5672 no_cache=1
5673 fi
5674
5675 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5676
5677 fi
5678
5679
5680 eval "$ac_cv_use_compat26"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5683 fi
5684
5685 if test x"$enablestring" = xdisable; then
5686 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5687 result=no
5688 else
5689 result=yes
5690 fi
5691 else
5692 result=$WXWIN_COMPATIBILITY_2_6
5693 fi
5694
5695 { echo "$as_me:$LINENO: result: $result" >&5
5696 echo "${ECHO_T}$result" >&6; }
5697
5698
5699 enablestring=disable
5700 defaultval=
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5703 defaultval=yes
5704 else
5705 defaultval=no
5706 fi
5707 fi
5708
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5711 no_cache=0
5712 # Check whether --enable-compat28 was given.
5713 if test "${enable_compat28+set}" = set; then
5714 enableval=$enable_compat28;
5715 if test "$enableval" = yes; then
5716 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5717 else
5718 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5719 fi
5720
5721 else
5722
5723 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x ; then
5725 eval "DEFAULT_$LINE"
5726 else
5727 no_cache=1
5728 fi
5729
5730 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5731
5732 fi
5733
5734
5735 eval "$ac_cv_use_compat28"
5736 if test "$no_cache" != 1; then
5737 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5738 fi
5739
5740 if test x"$enablestring" = xdisable; then
5741 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5742 result=no
5743 else
5744 result=yes
5745 fi
5746 else
5747 result=$WXWIN_COMPATIBILITY_2_8
5748 fi
5749
5750 { echo "$as_me:$LINENO: result: $result" >&5
5751 echo "${ECHO_T}$result" >&6; }
5752
5753
5754
5755 enablestring=disable
5756 defaultval=
5757 if test -z "$defaultval"; then
5758 if test x"$enablestring" = xdisable; then
5759 defaultval=yes
5760 else
5761 defaultval=no
5762 fi
5763 fi
5764
5765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5767 no_cache=0
5768 # Check whether --enable-rpath was given.
5769 if test "${enable_rpath+set}" = set; then
5770 enableval=$enable_rpath;
5771 if test "$enableval" = yes; then
5772 ac_cv_use_rpath='wxUSE_RPATH=yes'
5773 else
5774 ac_cv_use_rpath='wxUSE_RPATH=no'
5775 fi
5776
5777 else
5778
5779 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5780 if test "x$LINE" != x ; then
5781 eval "DEFAULT_$LINE"
5782 else
5783 no_cache=1
5784 fi
5785
5786 ac_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5787
5788 fi
5789
5790
5791 eval "$ac_cv_use_rpath"
5792 if test "$no_cache" != 1; then
5793 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5794 fi
5795
5796 if test x"$enablestring" = xdisable; then
5797 if test $wxUSE_RPATH = yes; then
5798 result=no
5799 else
5800 result=yes
5801 fi
5802 else
5803 result=$wxUSE_RPATH
5804 fi
5805
5806 { echo "$as_me:$LINENO: result: $result" >&5
5807 echo "${ECHO_T}$result" >&6; }
5808
5809
5810
5811 enablestring=
5812 defaultval=
5813 if test -z "$defaultval"; then
5814 if test x"$enablestring" = xdisable; then
5815 defaultval=yes
5816 else
5817 defaultval=no
5818 fi
5819 fi
5820
5821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5823 no_cache=0
5824 # Check whether --enable-objc_uniquifying was given.
5825 if test "${enable_objc_uniquifying+set}" = set; then
5826 enableval=$enable_objc_uniquifying;
5827 if test "$enableval" = yes; then
5828 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5829 else
5830 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5831 fi
5832
5833 else
5834
5835 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5836 if test "x$LINE" != x ; then
5837 eval "DEFAULT_$LINE"
5838 else
5839 no_cache=1
5840 fi
5841
5842 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5843
5844 fi
5845
5846
5847 eval "$ac_cv_use_objc_uniquifying"
5848 if test "$no_cache" != 1; then
5849 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5850 fi
5851
5852 if test x"$enablestring" = xdisable; then
5853 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5854 result=no
5855 else
5856 result=yes
5857 fi
5858 else
5859 result=$wxUSE_OBJC_UNIQUIFYING
5860 fi
5861
5862 { echo "$as_me:$LINENO: result: $result" >&5
5863 echo "${ECHO_T}$result" >&6; }
5864
5865
5866
5867 enablestring=disable
5868 defaultval=
5869 if test -z "$defaultval"; then
5870 if test x"$enablestring" = xdisable; then
5871 defaultval=yes
5872 else
5873 defaultval=no
5874 fi
5875 fi
5876
5877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5878 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5879 no_cache=0
5880 # Check whether --enable-visibility was given.
5881 if test "${enable_visibility+set}" = set; then
5882 enableval=$enable_visibility;
5883 if test "$enableval" = yes; then
5884 ac_cv_use_visibility='wxUSE_VISIBILITY=yes'
5885 else
5886 ac_cv_use_visibility='wxUSE_VISIBILITY=no'
5887 fi
5888
5889 else
5890
5891 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x ; then
5893 eval "DEFAULT_$LINE"
5894 else
5895 no_cache=1
5896 fi
5897
5898 ac_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5899
5900 fi
5901
5902
5903 eval "$ac_cv_use_visibility"
5904 if test "$no_cache" != 1; then
5905 echo $ac_cv_use_visibility >> ${wx_arg_cache_file}.tmp
5906 fi
5907
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_VISIBILITY = yes; then
5910 result=no
5911 else
5912 result=yes
5913 fi
5914 else
5915 result=$wxUSE_VISIBILITY
5916 fi
5917
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5920
5921
5922
5923
5924 enablestring=
5925 defaultval=$wxUSE_ALL_FEATURES
5926 if test -z "$defaultval"; then
5927 if test x"$enablestring" = xdisable; then
5928 defaultval=yes
5929 else
5930 defaultval=no
5931 fi
5932 fi
5933
5934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5935 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5936 no_cache=0
5937 # Check whether --enable-intl was given.
5938 if test "${enable_intl+set}" = set; then
5939 enableval=$enable_intl;
5940 if test "$enableval" = yes; then
5941 ac_cv_use_intl='wxUSE_INTL=yes'
5942 else
5943 ac_cv_use_intl='wxUSE_INTL=no'
5944 fi
5945
5946 else
5947
5948 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5951 else
5952 no_cache=1
5953 fi
5954
5955 ac_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5956
5957 fi
5958
5959
5960 eval "$ac_cv_use_intl"
5961 if test "$no_cache" != 1; then
5962 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5963 fi
5964
5965 if test x"$enablestring" = xdisable; then
5966 if test $wxUSE_INTL = yes; then
5967 result=no
5968 else
5969 result=yes
5970 fi
5971 else
5972 result=$wxUSE_INTL
5973 fi
5974
5975 { echo "$as_me:$LINENO: result: $result" >&5
5976 echo "${ECHO_T}$result" >&6; }
5977
5978
5979 enablestring=
5980 defaultval=$wxUSE_ALL_FEATURES
5981 if test -z "$defaultval"; then
5982 if test x"$enablestring" = xdisable; then
5983 defaultval=yes
5984 else
5985 defaultval=no
5986 fi
5987 fi
5988
5989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5990 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5991 no_cache=0
5992 # Check whether --enable-config was given.
5993 if test "${enable_config+set}" = set; then
5994 enableval=$enable_config;
5995 if test "$enableval" = yes; then
5996 ac_cv_use_config='wxUSE_CONFIG=yes'
5997 else
5998 ac_cv_use_config='wxUSE_CONFIG=no'
5999 fi
6000
6001 else
6002
6003 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x ; then
6005 eval "DEFAULT_$LINE"
6006 else
6007 no_cache=1
6008 fi
6009
6010 ac_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6011
6012 fi
6013
6014
6015 eval "$ac_cv_use_config"
6016 if test "$no_cache" != 1; then
6017 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
6018 fi
6019
6020 if test x"$enablestring" = xdisable; then
6021 if test $wxUSE_CONFIG = yes; then
6022 result=no
6023 else
6024 result=yes
6025 fi
6026 else
6027 result=$wxUSE_CONFIG
6028 fi
6029
6030 { echo "$as_me:$LINENO: result: $result" >&5
6031 echo "${ECHO_T}$result" >&6; }
6032
6033
6034
6035 enablestring=
6036 defaultval=$wxUSE_ALL_FEATURES
6037 if test -z "$defaultval"; then
6038 if test x"$enablestring" = xdisable; then
6039 defaultval=yes
6040 else
6041 defaultval=no
6042 fi
6043 fi
6044
6045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6047 no_cache=0
6048 # Check whether --enable-protocols was given.
6049 if test "${enable_protocols+set}" = set; then
6050 enableval=$enable_protocols;
6051 if test "$enableval" = yes; then
6052 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
6053 else
6054 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
6055 fi
6056
6057 else
6058
6059 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6060 if test "x$LINE" != x ; then
6061 eval "DEFAULT_$LINE"
6062 else
6063 no_cache=1
6064 fi
6065
6066 ac_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6067
6068 fi
6069
6070
6071 eval "$ac_cv_use_protocols"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6074 fi
6075
6076 if test x"$enablestring" = xdisable; then
6077 if test $wxUSE_PROTOCOL = yes; then
6078 result=no
6079 else
6080 result=yes
6081 fi
6082 else
6083 result=$wxUSE_PROTOCOL
6084 fi
6085
6086 { echo "$as_me:$LINENO: result: $result" >&5
6087 echo "${ECHO_T}$result" >&6; }
6088
6089
6090 enablestring=
6091 defaultval=$wxUSE_ALL_FEATURES
6092 if test -z "$defaultval"; then
6093 if test x"$enablestring" = xdisable; then
6094 defaultval=yes
6095 else
6096 defaultval=no
6097 fi
6098 fi
6099
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6102 no_cache=0
6103 # Check whether --enable-ftp was given.
6104 if test "${enable_ftp+set}" = set; then
6105 enableval=$enable_ftp;
6106 if test "$enableval" = yes; then
6107 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6108 else
6109 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6110 fi
6111
6112 else
6113
6114 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${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_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6122
6123 fi
6124
6125
6126 eval "$ac_cv_use_ftp"
6127 if test "$no_cache" != 1; then
6128 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6129 fi
6130
6131 if test x"$enablestring" = xdisable; then
6132 if test $wxUSE_PROTOCOL_FTP = yes; then
6133 result=no
6134 else
6135 result=yes
6136 fi
6137 else
6138 result=$wxUSE_PROTOCOL_FTP
6139 fi
6140
6141 { echo "$as_me:$LINENO: result: $result" >&5
6142 echo "${ECHO_T}$result" >&6; }
6143
6144
6145 enablestring=
6146 defaultval=$wxUSE_ALL_FEATURES
6147 if test -z "$defaultval"; then
6148 if test x"$enablestring" = xdisable; then
6149 defaultval=yes
6150 else
6151 defaultval=no
6152 fi
6153 fi
6154
6155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6157 no_cache=0
6158 # Check whether --enable-http was given.
6159 if test "${enable_http+set}" = set; then
6160 enableval=$enable_http;
6161 if test "$enableval" = yes; then
6162 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6163 else
6164 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6165 fi
6166
6167 else
6168
6169 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x ; then
6171 eval "DEFAULT_$LINE"
6172 else
6173 no_cache=1
6174 fi
6175
6176 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6177
6178 fi
6179
6180
6181 eval "$ac_cv_use_http"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
6184 fi
6185
6186 if test x"$enablestring" = xdisable; then
6187 if test $wxUSE_PROTOCOL_HTTP = yes; then
6188 result=no
6189 else
6190 result=yes
6191 fi
6192 else
6193 result=$wxUSE_PROTOCOL_HTTP
6194 fi
6195
6196 { echo "$as_me:$LINENO: result: $result" >&5
6197 echo "${ECHO_T}$result" >&6; }
6198
6199
6200 enablestring=
6201 defaultval=$wxUSE_ALL_FEATURES
6202 if test -z "$defaultval"; then
6203 if test x"$enablestring" = xdisable; then
6204 defaultval=yes
6205 else
6206 defaultval=no
6207 fi
6208 fi
6209
6210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6212 no_cache=0
6213 # Check whether --enable-fileproto was given.
6214 if test "${enable_fileproto+set}" = set; then
6215 enableval=$enable_fileproto;
6216 if test "$enableval" = yes; then
6217 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6218 else
6219 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6220 fi
6221
6222 else
6223
6224 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6227 else
6228 no_cache=1
6229 fi
6230
6231 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6232
6233 fi
6234
6235
6236 eval "$ac_cv_use_fileproto"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6239 fi
6240
6241 if test x"$enablestring" = xdisable; then
6242 if test $wxUSE_PROTOCOL_FILE = yes; then
6243 result=no
6244 else
6245 result=yes
6246 fi
6247 else
6248 result=$wxUSE_PROTOCOL_FILE
6249 fi
6250
6251 { echo "$as_me:$LINENO: result: $result" >&5
6252 echo "${ECHO_T}$result" >&6; }
6253
6254
6255 enablestring=
6256 defaultval=$wxUSE_ALL_FEATURES
6257 if test -z "$defaultval"; then
6258 if test x"$enablestring" = xdisable; then
6259 defaultval=yes
6260 else
6261 defaultval=no
6262 fi
6263 fi
6264
6265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6266 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6267 no_cache=0
6268 # Check whether --enable-sockets was given.
6269 if test "${enable_sockets+set}" = set; then
6270 enableval=$enable_sockets;
6271 if test "$enableval" = yes; then
6272 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
6273 else
6274 ac_cv_use_sockets='wxUSE_SOCKETS=no'
6275 fi
6276
6277 else
6278
6279 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x ; then
6281 eval "DEFAULT_$LINE"
6282 else
6283 no_cache=1
6284 fi
6285
6286 ac_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6287
6288 fi
6289
6290
6291 eval "$ac_cv_use_sockets"
6292 if test "$no_cache" != 1; then
6293 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6294 fi
6295
6296 if test x"$enablestring" = xdisable; then
6297 if test $wxUSE_SOCKETS = yes; then
6298 result=no
6299 else
6300 result=yes
6301 fi
6302 else
6303 result=$wxUSE_SOCKETS
6304 fi
6305
6306 { echo "$as_me:$LINENO: result: $result" >&5
6307 echo "${ECHO_T}$result" >&6; }
6308
6309
6310 enablestring=
6311 defaultval=$wxUSE_ALL_FEATURES
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6314 defaultval=yes
6315 else
6316 defaultval=no
6317 fi
6318 fi
6319
6320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6322 no_cache=0
6323 # Check whether --enable-ole was given.
6324 if test "${enable_ole+set}" = set; then
6325 enableval=$enable_ole;
6326 if test "$enableval" = yes; then
6327 ac_cv_use_ole='wxUSE_OLE=yes'
6328 else
6329 ac_cv_use_ole='wxUSE_OLE=no'
6330 fi
6331
6332 else
6333
6334 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x ; then
6336 eval "DEFAULT_$LINE"
6337 else
6338 no_cache=1
6339 fi
6340
6341 ac_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6342
6343 fi
6344
6345
6346 eval "$ac_cv_use_ole"
6347 if test "$no_cache" != 1; then
6348 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
6349 fi
6350
6351 if test x"$enablestring" = xdisable; then
6352 if test $wxUSE_OLE = yes; then
6353 result=no
6354 else
6355 result=yes
6356 fi
6357 else
6358 result=$wxUSE_OLE
6359 fi
6360
6361 { echo "$as_me:$LINENO: result: $result" >&5
6362 echo "${ECHO_T}$result" >&6; }
6363
6364
6365 enablestring=
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6369 defaultval=yes
6370 else
6371 defaultval=no
6372 fi
6373 fi
6374
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6377 no_cache=0
6378 # Check whether --enable-dataobj was given.
6379 if test "${enable_dataobj+set}" = set; then
6380 enableval=$enable_dataobj;
6381 if test "$enableval" = yes; then
6382 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6383 else
6384 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
6385 fi
6386
6387 else
6388
6389 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x ; then
6391 eval "DEFAULT_$LINE"
6392 else
6393 no_cache=1
6394 fi
6395
6396 ac_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6397
6398 fi
6399
6400
6401 eval "$ac_cv_use_dataobj"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6404 fi
6405
6406 if test x"$enablestring" = xdisable; then
6407 if test $wxUSE_DATAOBJ = yes; then
6408 result=no
6409 else
6410 result=yes
6411 fi
6412 else
6413 result=$wxUSE_DATAOBJ
6414 fi
6415
6416 { echo "$as_me:$LINENO: result: $result" >&5
6417 echo "${ECHO_T}$result" >&6; }
6418
6419
6420
6421 enablestring=
6422 defaultval=$wxUSE_ALL_FEATURES
6423 if test -z "$defaultval"; then
6424 if test x"$enablestring" = xdisable; then
6425 defaultval=yes
6426 else
6427 defaultval=no
6428 fi
6429 fi
6430
6431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6433 no_cache=0
6434 # Check whether --enable-ipc was given.
6435 if test "${enable_ipc+set}" = set; then
6436 enableval=$enable_ipc;
6437 if test "$enableval" = yes; then
6438 ac_cv_use_ipc='wxUSE_IPC=yes'
6439 else
6440 ac_cv_use_ipc='wxUSE_IPC=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 ac_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6453
6454 fi
6455
6456
6457 eval "$ac_cv_use_ipc"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
6460 fi
6461
6462 if test x"$enablestring" = xdisable; then
6463 if test $wxUSE_IPC = yes; then
6464 result=no
6465 else
6466 result=yes
6467 fi
6468 else
6469 result=$wxUSE_IPC
6470 fi
6471
6472 { echo "$as_me:$LINENO: result: $result" >&5
6473 echo "${ECHO_T}$result" >&6; }
6474
6475
6476
6477 enablestring=
6478 defaultval=$wxUSE_ALL_FEATURES
6479 if test -z "$defaultval"; then
6480 if test x"$enablestring" = xdisable; then
6481 defaultval=yes
6482 else
6483 defaultval=no
6484 fi
6485 fi
6486
6487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6488 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6489 no_cache=0
6490 # Check whether --enable-apple_ieee was given.
6491 if test "${enable_apple_ieee+set}" = set; then
6492 enableval=$enable_apple_ieee;
6493 if test "$enableval" = yes; then
6494 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6495 else
6496 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6497 fi
6498
6499 else
6500
6501 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6502 if test "x$LINE" != x ; then
6503 eval "DEFAULT_$LINE"
6504 else
6505 no_cache=1
6506 fi
6507
6508 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6509
6510 fi
6511
6512
6513 eval "$ac_cv_use_apple_ieee"
6514 if test "$no_cache" != 1; then
6515 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6516 fi
6517
6518 if test x"$enablestring" = xdisable; then
6519 if test $wxUSE_APPLE_IEEE = yes; then
6520 result=no
6521 else
6522 result=yes
6523 fi
6524 else
6525 result=$wxUSE_APPLE_IEEE
6526 fi
6527
6528 { echo "$as_me:$LINENO: result: $result" >&5
6529 echo "${ECHO_T}$result" >&6; }
6530
6531
6532 enablestring=
6533 defaultval=$wxUSE_ALL_FEATURES
6534 if test -z "$defaultval"; then
6535 if test x"$enablestring" = xdisable; then
6536 defaultval=yes
6537 else
6538 defaultval=no
6539 fi
6540 fi
6541
6542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6544 no_cache=0
6545 # Check whether --enable-arcstream was given.
6546 if test "${enable_arcstream+set}" = set; then
6547 enableval=$enable_arcstream;
6548 if test "$enableval" = yes; then
6549 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6550 else
6551 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6552 fi
6553
6554 else
6555
6556 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x ; then
6558 eval "DEFAULT_$LINE"
6559 else
6560 no_cache=1
6561 fi
6562
6563 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6564
6565 fi
6566
6567
6568 eval "$ac_cv_use_arcstream"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6571 fi
6572
6573 if test x"$enablestring" = xdisable; then
6574 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6575 result=no
6576 else
6577 result=yes
6578 fi
6579 else
6580 result=$wxUSE_ARCHIVE_STREAMS
6581 fi
6582
6583 { echo "$as_me:$LINENO: result: $result" >&5
6584 echo "${ECHO_T}$result" >&6; }
6585
6586
6587 enablestring=
6588 defaultval=$wxUSE_ALL_FEATURES
6589 if test -z "$defaultval"; then
6590 if test x"$enablestring" = xdisable; then
6591 defaultval=yes
6592 else
6593 defaultval=no
6594 fi
6595 fi
6596
6597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6599 no_cache=0
6600 # Check whether --enable-base64 was given.
6601 if test "${enable_base64+set}" = set; then
6602 enableval=$enable_base64;
6603 if test "$enableval" = yes; then
6604 ac_cv_use_base64='wxUSE_BASE64=yes'
6605 else
6606 ac_cv_use_base64='wxUSE_BASE64=no'
6607 fi
6608
6609 else
6610
6611 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6612 if test "x$LINE" != x ; then
6613 eval "DEFAULT_$LINE"
6614 else
6615 no_cache=1
6616 fi
6617
6618 ac_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6619
6620 fi
6621
6622
6623 eval "$ac_cv_use_base64"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6626 fi
6627
6628 if test x"$enablestring" = xdisable; then
6629 if test $wxUSE_BASE64 = yes; then
6630 result=no
6631 else
6632 result=yes
6633 fi
6634 else
6635 result=$wxUSE_BASE64
6636 fi
6637
6638 { echo "$as_me:$LINENO: result: $result" >&5
6639 echo "${ECHO_T}$result" >&6; }
6640
6641
6642 enablestring=
6643 defaultval=$wxUSE_ALL_FEATURES
6644 if test -z "$defaultval"; then
6645 if test x"$enablestring" = xdisable; then
6646 defaultval=yes
6647 else
6648 defaultval=no
6649 fi
6650 fi
6651
6652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6654 no_cache=0
6655 # Check whether --enable-backtrace was given.
6656 if test "${enable_backtrace+set}" = set; then
6657 enableval=$enable_backtrace;
6658 if test "$enableval" = yes; then
6659 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6660 else
6661 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
6662 fi
6663
6664 else
6665
6666 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6667 if test "x$LINE" != x ; then
6668 eval "DEFAULT_$LINE"
6669 else
6670 no_cache=1
6671 fi
6672
6673 ac_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6674
6675 fi
6676
6677
6678 eval "$ac_cv_use_backtrace"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6681 fi
6682
6683 if test x"$enablestring" = xdisable; then
6684 if test $wxUSE_STACKWALKER = yes; then
6685 result=no
6686 else
6687 result=yes
6688 fi
6689 else
6690 result=$wxUSE_STACKWALKER
6691 fi
6692
6693 { echo "$as_me:$LINENO: result: $result" >&5
6694 echo "${ECHO_T}$result" >&6; }
6695
6696
6697 enablestring=
6698 defaultval=$wxUSE_ALL_FEATURES
6699 if test -z "$defaultval"; then
6700 if test x"$enablestring" = xdisable; then
6701 defaultval=yes
6702 else
6703 defaultval=no
6704 fi
6705 fi
6706
6707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6708 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6709 no_cache=0
6710 # Check whether --enable-catch_segvs was given.
6711 if test "${enable_catch_segvs+set}" = set; then
6712 enableval=$enable_catch_segvs;
6713 if test "$enableval" = yes; then
6714 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6715 else
6716 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6717 fi
6718
6719 else
6720
6721 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6722 if test "x$LINE" != x ; then
6723 eval "DEFAULT_$LINE"
6724 else
6725 no_cache=1
6726 fi
6727
6728 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6729
6730 fi
6731
6732
6733 eval "$ac_cv_use_catch_segvs"
6734 if test "$no_cache" != 1; then
6735 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6736 fi
6737
6738 if test x"$enablestring" = xdisable; then
6739 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6740 result=no
6741 else
6742 result=yes
6743 fi
6744 else
6745 result=$wxUSE_ON_FATAL_EXCEPTION
6746 fi
6747
6748 { echo "$as_me:$LINENO: result: $result" >&5
6749 echo "${ECHO_T}$result" >&6; }
6750
6751
6752 enablestring=
6753 defaultval=$wxUSE_ALL_FEATURES
6754 if test -z "$defaultval"; then
6755 if test x"$enablestring" = xdisable; then
6756 defaultval=yes
6757 else
6758 defaultval=no
6759 fi
6760 fi
6761
6762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6764 no_cache=0
6765 # Check whether --enable-cmdline was given.
6766 if test "${enable_cmdline+set}" = set; then
6767 enableval=$enable_cmdline;
6768 if test "$enableval" = yes; then
6769 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6770 else
6771 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6772 fi
6773
6774 else
6775
6776 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6779 else
6780 no_cache=1
6781 fi
6782
6783 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6784
6785 fi
6786
6787
6788 eval "$ac_cv_use_cmdline"
6789 if test "$no_cache" != 1; then
6790 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6791 fi
6792
6793 if test x"$enablestring" = xdisable; then
6794 if test $wxUSE_CMDLINE_PARSER = yes; then
6795 result=no
6796 else
6797 result=yes
6798 fi
6799 else
6800 result=$wxUSE_CMDLINE_PARSER
6801 fi
6802
6803 { echo "$as_me:$LINENO: result: $result" >&5
6804 echo "${ECHO_T}$result" >&6; }
6805
6806
6807 enablestring=
6808 defaultval=$wxUSE_ALL_FEATURES
6809 if test -z "$defaultval"; then
6810 if test x"$enablestring" = xdisable; then
6811 defaultval=yes
6812 else
6813 defaultval=no
6814 fi
6815 fi
6816
6817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6818 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6819 no_cache=0
6820 # Check whether --enable-datetime was given.
6821 if test "${enable_datetime+set}" = set; then
6822 enableval=$enable_datetime;
6823 if test "$enableval" = yes; then
6824 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6825 else
6826 ac_cv_use_datetime='wxUSE_DATETIME=no'
6827 fi
6828
6829 else
6830
6831 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x ; then
6833 eval "DEFAULT_$LINE"
6834 else
6835 no_cache=1
6836 fi
6837
6838 ac_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6839
6840 fi
6841
6842
6843 eval "$ac_cv_use_datetime"
6844 if test "$no_cache" != 1; then
6845 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6846 fi
6847
6848 if test x"$enablestring" = xdisable; then
6849 if test $wxUSE_DATETIME = yes; then
6850 result=no
6851 else
6852 result=yes
6853 fi
6854 else
6855 result=$wxUSE_DATETIME
6856 fi
6857
6858 { echo "$as_me:$LINENO: result: $result" >&5
6859 echo "${ECHO_T}$result" >&6; }
6860
6861
6862 enablestring=
6863 defaultval=$wxUSE_ALL_FEATURES
6864 if test -z "$defaultval"; then
6865 if test x"$enablestring" = xdisable; then
6866 defaultval=yes
6867 else
6868 defaultval=no
6869 fi
6870 fi
6871
6872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6873 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6874 no_cache=0
6875 # Check whether --enable-debugreport was given.
6876 if test "${enable_debugreport+set}" = set; then
6877 enableval=$enable_debugreport;
6878 if test "$enableval" = yes; then
6879 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6880 else
6881 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6882 fi
6883
6884 else
6885
6886 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6887 if test "x$LINE" != x ; then
6888 eval "DEFAULT_$LINE"
6889 else
6890 no_cache=1
6891 fi
6892
6893 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6894
6895 fi
6896
6897
6898 eval "$ac_cv_use_debugreport"
6899 if test "$no_cache" != 1; then
6900 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6901 fi
6902
6903 if test x"$enablestring" = xdisable; then
6904 if test $wxUSE_DEBUGREPORT = yes; then
6905 result=no
6906 else
6907 result=yes
6908 fi
6909 else
6910 result=$wxUSE_DEBUGREPORT
6911 fi
6912
6913 { echo "$as_me:$LINENO: result: $result" >&5
6914 echo "${ECHO_T}$result" >&6; }
6915
6916
6917 enablestring=
6918 defaultval=$wxUSE_ALL_FEATURES
6919 if test -z "$defaultval"; then
6920 if test x"$enablestring" = xdisable; then
6921 defaultval=yes
6922 else
6923 defaultval=no
6924 fi
6925 fi
6926
6927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6929 no_cache=0
6930 # Check whether --enable-dialupman was given.
6931 if test "${enable_dialupman+set}" = set; then
6932 enableval=$enable_dialupman;
6933 if test "$enableval" = yes; then
6934 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6935 else
6936 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6937 fi
6938
6939 else
6940
6941 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6942 if test "x$LINE" != x ; then
6943 eval "DEFAULT_$LINE"
6944 else
6945 no_cache=1
6946 fi
6947
6948 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6949
6950 fi
6951
6952
6953 eval "$ac_cv_use_dialupman"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6956 fi
6957
6958 if test x"$enablestring" = xdisable; then
6959 if test $wxUSE_DIALUP_MANAGER = yes; then
6960 result=no
6961 else
6962 result=yes
6963 fi
6964 else
6965 result=$wxUSE_DIALUP_MANAGER
6966 fi
6967
6968 { echo "$as_me:$LINENO: result: $result" >&5
6969 echo "${ECHO_T}$result" >&6; }
6970
6971
6972 enablestring=
6973 defaultval=$wxUSE_ALL_FEATURES
6974 if test -z "$defaultval"; then
6975 if test x"$enablestring" = xdisable; then
6976 defaultval=yes
6977 else
6978 defaultval=no
6979 fi
6980 fi
6981
6982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6984 no_cache=0
6985 # Check whether --enable-dynlib was given.
6986 if test "${enable_dynlib+set}" = set; then
6987 enableval=$enable_dynlib;
6988 if test "$enableval" = yes; then
6989 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6990 else
6991 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6992 fi
6993
6994 else
6995
6996 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6997 if test "x$LINE" != x ; then
6998 eval "DEFAULT_$LINE"
6999 else
7000 no_cache=1
7001 fi
7002
7003 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7004
7005 fi
7006
7007
7008 eval "$ac_cv_use_dynlib"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
7011 fi
7012
7013 if test x"$enablestring" = xdisable; then
7014 if test $wxUSE_DYNLIB_CLASS = yes; then
7015 result=no
7016 else
7017 result=yes
7018 fi
7019 else
7020 result=$wxUSE_DYNLIB_CLASS
7021 fi
7022
7023 { echo "$as_me:$LINENO: result: $result" >&5
7024 echo "${ECHO_T}$result" >&6; }
7025
7026
7027 enablestring=
7028 defaultval=$wxUSE_ALL_FEATURES
7029 if test -z "$defaultval"; then
7030 if test x"$enablestring" = xdisable; then
7031 defaultval=yes
7032 else
7033 defaultval=no
7034 fi
7035 fi
7036
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7039 no_cache=0
7040 # Check whether --enable-dynamicloader was given.
7041 if test "${enable_dynamicloader+set}" = set; then
7042 enableval=$enable_dynamicloader;
7043 if test "$enableval" = yes; then
7044 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7045 else
7046 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7047 fi
7048
7049 else
7050
7051 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7054 else
7055 no_cache=1
7056 fi
7057
7058 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7059
7060 fi
7061
7062
7063 eval "$ac_cv_use_dynamicloader"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7066 fi
7067
7068 if test x"$enablestring" = xdisable; then
7069 if test $wxUSE_DYNAMIC_LOADER = yes; then
7070 result=no
7071 else
7072 result=yes
7073 fi
7074 else
7075 result=$wxUSE_DYNAMIC_LOADER
7076 fi
7077
7078 { echo "$as_me:$LINENO: result: $result" >&5
7079 echo "${ECHO_T}$result" >&6; }
7080
7081
7082 enablestring=
7083 defaultval=$wxUSE_ALL_FEATURES
7084 if test -z "$defaultval"; then
7085 if test x"$enablestring" = xdisable; then
7086 defaultval=yes
7087 else
7088 defaultval=no
7089 fi
7090 fi
7091
7092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7093 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7094 no_cache=0
7095 # Check whether --enable-exceptions was given.
7096 if test "${enable_exceptions+set}" = set; then
7097 enableval=$enable_exceptions;
7098 if test "$enableval" = yes; then
7099 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7100 else
7101 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7114
7115 fi
7116
7117
7118 eval "$ac_cv_use_exceptions"
7119 if test "$no_cache" != 1; then
7120 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7121 fi
7122
7123 if test x"$enablestring" = xdisable; then
7124 if test $wxUSE_EXCEPTIONS = yes; then
7125 result=no
7126 else
7127 result=yes
7128 fi
7129 else
7130 result=$wxUSE_EXCEPTIONS
7131 fi
7132
7133 { echo "$as_me:$LINENO: result: $result" >&5
7134 echo "${ECHO_T}$result" >&6; }
7135
7136
7137 enablestring=
7138 defaultval=$wxUSE_ALL_FEATURES
7139 if test -z "$defaultval"; then
7140 if test x"$enablestring" = xdisable; then
7141 defaultval=yes
7142 else
7143 defaultval=no
7144 fi
7145 fi
7146
7147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7148 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7149 no_cache=0
7150 # Check whether --enable-ffile was given.
7151 if test "${enable_ffile+set}" = set; then
7152 enableval=$enable_ffile;
7153 if test "$enableval" = yes; then
7154 ac_cv_use_ffile='wxUSE_FFILE=yes'
7155 else
7156 ac_cv_use_ffile='wxUSE_FFILE=no'
7157 fi
7158
7159 else
7160
7161 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x ; then
7163 eval "DEFAULT_$LINE"
7164 else
7165 no_cache=1
7166 fi
7167
7168 ac_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7169
7170 fi
7171
7172
7173 eval "$ac_cv_use_ffile"
7174 if test "$no_cache" != 1; then
7175 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7176 fi
7177
7178 if test x"$enablestring" = xdisable; then
7179 if test $wxUSE_FFILE = yes; then
7180 result=no
7181 else
7182 result=yes
7183 fi
7184 else
7185 result=$wxUSE_FFILE
7186 fi
7187
7188 { echo "$as_me:$LINENO: result: $result" >&5
7189 echo "${ECHO_T}$result" >&6; }
7190
7191
7192 enablestring=
7193 defaultval=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x"$enablestring" = xdisable; then
7196 defaultval=yes
7197 else
7198 defaultval=no
7199 fi
7200 fi
7201
7202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7203 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7204 no_cache=0
7205 # Check whether --enable-file was given.
7206 if test "${enable_file+set}" = set; then
7207 enableval=$enable_file;
7208 if test "$enableval" = yes; then
7209 ac_cv_use_file='wxUSE_FILE=yes'
7210 else
7211 ac_cv_use_file='wxUSE_FILE=no'
7212 fi
7213
7214 else
7215
7216 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7217 if test "x$LINE" != x ; then
7218 eval "DEFAULT_$LINE"
7219 else
7220 no_cache=1
7221 fi
7222
7223 ac_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7224
7225 fi
7226
7227
7228 eval "$ac_cv_use_file"
7229 if test "$no_cache" != 1; then
7230 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
7231 fi
7232
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_FILE = yes; then
7235 result=no
7236 else
7237 result=yes
7238 fi
7239 else
7240 result=$wxUSE_FILE
7241 fi
7242
7243 { echo "$as_me:$LINENO: result: $result" >&5
7244 echo "${ECHO_T}$result" >&6; }
7245
7246
7247 enablestring=
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7251 defaultval=yes
7252 else
7253 defaultval=no
7254 fi
7255 fi
7256
7257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7259 no_cache=0
7260 # Check whether --enable-filesystem was given.
7261 if test "${enable_filesystem+set}" = set; then
7262 enableval=$enable_filesystem;
7263 if test "$enableval" = yes; then
7264 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7265 else
7266 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7267 fi
7268
7269 else
7270
7271 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x ; then
7273 eval "DEFAULT_$LINE"
7274 else
7275 no_cache=1
7276 fi
7277
7278 ac_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7279
7280 fi
7281
7282
7283 eval "$ac_cv_use_filesystem"
7284 if test "$no_cache" != 1; then
7285 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7286 fi
7287
7288 if test x"$enablestring" = xdisable; then
7289 if test $wxUSE_FILESYSTEM = yes; then
7290 result=no
7291 else
7292 result=yes
7293 fi
7294 else
7295 result=$wxUSE_FILESYSTEM
7296 fi
7297
7298 { echo "$as_me:$LINENO: result: $result" >&5
7299 echo "${ECHO_T}$result" >&6; }
7300
7301
7302 enablestring=
7303 defaultval=$wxUSE_ALL_FEATURES
7304 if test -z "$defaultval"; then
7305 if test x"$enablestring" = xdisable; then
7306 defaultval=yes
7307 else
7308 defaultval=no
7309 fi
7310 fi
7311
7312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7313 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7314 no_cache=0
7315 # Check whether --enable-fontmap was given.
7316 if test "${enable_fontmap+set}" = set; then
7317 enableval=$enable_fontmap;
7318 if test "$enableval" = yes; then
7319 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
7320 else
7321 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
7322 fi
7323
7324 else
7325
7326 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7329 else
7330 no_cache=1
7331 fi
7332
7333 ac_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7334
7335 fi
7336
7337
7338 eval "$ac_cv_use_fontmap"
7339 if test "$no_cache" != 1; then
7340 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7341 fi
7342
7343 if test x"$enablestring" = xdisable; then
7344 if test $wxUSE_FONTMAP = yes; then
7345 result=no
7346 else
7347 result=yes
7348 fi
7349 else
7350 result=$wxUSE_FONTMAP
7351 fi
7352
7353 { echo "$as_me:$LINENO: result: $result" >&5
7354 echo "${ECHO_T}$result" >&6; }
7355
7356
7357 enablestring=
7358 defaultval=$wxUSE_ALL_FEATURES
7359 if test -z "$defaultval"; then
7360 if test x"$enablestring" = xdisable; then
7361 defaultval=yes
7362 else
7363 defaultval=no
7364 fi
7365 fi
7366
7367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7368 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7369 no_cache=0
7370 # Check whether --enable-fs_archive was given.
7371 if test "${enable_fs_archive+set}" = set; then
7372 enableval=$enable_fs_archive;
7373 if test "$enableval" = yes; then
7374 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7375 else
7376 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7377 fi
7378
7379 else
7380
7381 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x ; then
7383 eval "DEFAULT_$LINE"
7384 else
7385 no_cache=1
7386 fi
7387
7388 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7389
7390 fi
7391
7392
7393 eval "$ac_cv_use_fs_archive"
7394 if test "$no_cache" != 1; then
7395 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7396 fi
7397
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_FS_ARCHIVE = yes; then
7400 result=no
7401 else
7402 result=yes
7403 fi
7404 else
7405 result=$wxUSE_FS_ARCHIVE
7406 fi
7407
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7410
7411
7412 enablestring=
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7416 defaultval=yes
7417 else
7418 defaultval=no
7419 fi
7420 fi
7421
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7424 no_cache=0
7425 # Check whether --enable-fs_inet was given.
7426 if test "${enable_fs_inet+set}" = set; then
7427 enableval=$enable_fs_inet;
7428 if test "$enableval" = yes; then
7429 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
7430 else
7431 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
7432 fi
7433
7434 else
7435
7436 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x ; then
7438 eval "DEFAULT_$LINE"
7439 else
7440 no_cache=1
7441 fi
7442
7443 ac_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7444
7445 fi
7446
7447
7448 eval "$ac_cv_use_fs_inet"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_FS_INET = yes; then
7455 result=no
7456 else
7457 result=yes
7458 fi
7459 else
7460 result=$wxUSE_FS_INET
7461 fi
7462
7463 { echo "$as_me:$LINENO: result: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7465
7466
7467 enablestring=
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7471 defaultval=yes
7472 else
7473 defaultval=no
7474 fi
7475 fi
7476
7477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7479 no_cache=0
7480 # Check whether --enable-fs_zip was given.
7481 if test "${enable_fs_zip+set}" = set; then
7482 enableval=$enable_fs_zip;
7483 if test "$enableval" = yes; then
7484 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7485 else
7486 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7487 fi
7488
7489 else
7490
7491 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x ; then
7493 eval "DEFAULT_$LINE"
7494 else
7495 no_cache=1
7496 fi
7497
7498 ac_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7499
7500 fi
7501
7502
7503 eval "$ac_cv_use_fs_zip"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7506 fi
7507
7508 if test x"$enablestring" = xdisable; then
7509 if test $wxUSE_FS_ZIP = yes; then
7510 result=no
7511 else
7512 result=yes
7513 fi
7514 else
7515 result=$wxUSE_FS_ZIP
7516 fi
7517
7518 { echo "$as_me:$LINENO: result: $result" >&5
7519 echo "${ECHO_T}$result" >&6; }
7520
7521
7522 enablestring=
7523 defaultval=$wxUSE_ALL_FEATURES
7524 if test -z "$defaultval"; then
7525 if test x"$enablestring" = xdisable; then
7526 defaultval=yes
7527 else
7528 defaultval=no
7529 fi
7530 fi
7531
7532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7533 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7534 no_cache=0
7535 # Check whether --enable-geometry was given.
7536 if test "${enable_geometry+set}" = set; then
7537 enableval=$enable_geometry;
7538 if test "$enableval" = yes; then
7539 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
7540 else
7541 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
7542 fi
7543
7544 else
7545
7546 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7547 if test "x$LINE" != x ; then
7548 eval "DEFAULT_$LINE"
7549 else
7550 no_cache=1
7551 fi
7552
7553 ac_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7554
7555 fi
7556
7557
7558 eval "$ac_cv_use_geometry"
7559 if test "$no_cache" != 1; then
7560 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7561 fi
7562
7563 if test x"$enablestring" = xdisable; then
7564 if test $wxUSE_GEOMETRY = yes; then
7565 result=no
7566 else
7567 result=yes
7568 fi
7569 else
7570 result=$wxUSE_GEOMETRY
7571 fi
7572
7573 { echo "$as_me:$LINENO: result: $result" >&5
7574 echo "${ECHO_T}$result" >&6; }
7575
7576
7577 enablestring=
7578 defaultval=$wxUSE_ALL_FEATURES
7579 if test -z "$defaultval"; then
7580 if test x"$enablestring" = xdisable; then
7581 defaultval=yes
7582 else
7583 defaultval=no
7584 fi
7585 fi
7586
7587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7589 no_cache=0
7590 # Check whether --enable-log was given.
7591 if test "${enable_log+set}" = set; then
7592 enableval=$enable_log;
7593 if test "$enableval" = yes; then
7594 ac_cv_use_log='wxUSE_LOG=yes'
7595 else
7596 ac_cv_use_log='wxUSE_LOG=no'
7597 fi
7598
7599 else
7600
7601 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7609
7610 fi
7611
7612
7613 eval "$ac_cv_use_log"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
7616 fi
7617
7618 if test x"$enablestring" = xdisable; then
7619 if test $wxUSE_LOG = yes; then
7620 result=no
7621 else
7622 result=yes
7623 fi
7624 else
7625 result=$wxUSE_LOG
7626 fi
7627
7628 { echo "$as_me:$LINENO: result: $result" >&5
7629 echo "${ECHO_T}$result" >&6; }
7630
7631
7632 enablestring=
7633 defaultval=$wxUSE_ALL_FEATURES
7634 if test -z "$defaultval"; then
7635 if test x"$enablestring" = xdisable; then
7636 defaultval=yes
7637 else
7638 defaultval=no
7639 fi
7640 fi
7641
7642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7644 no_cache=0
7645 # Check whether --enable-longlong was given.
7646 if test "${enable_longlong+set}" = set; then
7647 enableval=$enable_longlong;
7648 if test "$enableval" = yes; then
7649 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
7650 else
7651 ac_cv_use_longlong='wxUSE_LONGLONG=no'
7652 fi
7653
7654 else
7655
7656 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7657 if test "x$LINE" != x ; then
7658 eval "DEFAULT_$LINE"
7659 else
7660 no_cache=1
7661 fi
7662
7663 ac_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7664
7665 fi
7666
7667
7668 eval "$ac_cv_use_longlong"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7671 fi
7672
7673 if test x"$enablestring" = xdisable; then
7674 if test $wxUSE_LONGLONG = yes; then
7675 result=no
7676 else
7677 result=yes
7678 fi
7679 else
7680 result=$wxUSE_LONGLONG
7681 fi
7682
7683 { echo "$as_me:$LINENO: result: $result" >&5
7684 echo "${ECHO_T}$result" >&6; }
7685
7686
7687 enablestring=
7688 defaultval=$wxUSE_ALL_FEATURES
7689 if test -z "$defaultval"; then
7690 if test x"$enablestring" = xdisable; then
7691 defaultval=yes
7692 else
7693 defaultval=no
7694 fi
7695 fi
7696
7697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7698 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7699 no_cache=0
7700 # Check whether --enable-mimetype was given.
7701 if test "${enable_mimetype+set}" = set; then
7702 enableval=$enable_mimetype;
7703 if test "$enableval" = yes; then
7704 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7705 else
7706 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
7707 fi
7708
7709 else
7710
7711 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7712 if test "x$LINE" != x ; then
7713 eval "DEFAULT_$LINE"
7714 else
7715 no_cache=1
7716 fi
7717
7718 ac_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7719
7720 fi
7721
7722
7723 eval "$ac_cv_use_mimetype"
7724 if test "$no_cache" != 1; then
7725 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
7726 fi
7727
7728 if test x"$enablestring" = xdisable; then
7729 if test $wxUSE_MIMETYPE = yes; then
7730 result=no
7731 else
7732 result=yes
7733 fi
7734 else
7735 result=$wxUSE_MIMETYPE
7736 fi
7737
7738 { echo "$as_me:$LINENO: result: $result" >&5
7739 echo "${ECHO_T}$result" >&6; }
7740
7741
7742 enablestring=
7743 defaultval=$wxUSE_ALL_FEATURES
7744 if test -z "$defaultval"; then
7745 if test x"$enablestring" = xdisable; then
7746 defaultval=yes
7747 else
7748 defaultval=no
7749 fi
7750 fi
7751
7752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7753 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7754 no_cache=0
7755 # Check whether --enable-snglinst was given.
7756 if test "${enable_snglinst+set}" = set; then
7757 enableval=$enable_snglinst;
7758 if test "$enableval" = yes; then
7759 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7760 else
7761 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7762 fi
7763
7764 else
7765
7766 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x ; then
7768 eval "DEFAULT_$LINE"
7769 else
7770 no_cache=1
7771 fi
7772
7773 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7774
7775 fi
7776
7777
7778 eval "$ac_cv_use_snglinst"
7779 if test "$no_cache" != 1; then
7780 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
7781 fi
7782
7783 if test x"$enablestring" = xdisable; then
7784 if test $wxUSE_SNGLINST_CHECKER = yes; then
7785 result=no
7786 else
7787 result=yes
7788 fi
7789 else
7790 result=$wxUSE_SNGLINST_CHECKER
7791 fi
7792
7793 { echo "$as_me:$LINENO: result: $result" >&5
7794 echo "${ECHO_T}$result" >&6; }
7795
7796
7797 enablestring=
7798 defaultval=$wxUSE_ALL_FEATURES
7799 if test -z "$defaultval"; then
7800 if test x"$enablestring" = xdisable; then
7801 defaultval=yes
7802 else
7803 defaultval=no
7804 fi
7805 fi
7806
7807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7808 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7809 no_cache=0
7810 # Check whether --enable-stdpaths was given.
7811 if test "${enable_stdpaths+set}" = set; then
7812 enableval=$enable_stdpaths;
7813 if test "$enableval" = yes; then
7814 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7815 else
7816 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
7817 fi
7818
7819 else
7820
7821 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x ; then
7823 eval "DEFAULT_$LINE"
7824 else
7825 no_cache=1
7826 fi
7827
7828 ac_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7829
7830 fi
7831
7832
7833 eval "$ac_cv_use_stdpaths"
7834 if test "$no_cache" != 1; then
7835 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7836 fi
7837
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_STDPATHS = yes; then
7840 result=no
7841 else
7842 result=yes
7843 fi
7844 else
7845 result=$wxUSE_STDPATHS
7846 fi
7847
7848 { echo "$as_me:$LINENO: result: $result" >&5
7849 echo "${ECHO_T}$result" >&6; }
7850
7851
7852 enablestring=
7853 defaultval=$wxUSE_ALL_FEATURES
7854 if test -z "$defaultval"; then
7855 if test x"$enablestring" = xdisable; then
7856 defaultval=yes
7857 else
7858 defaultval=no
7859 fi
7860 fi
7861
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7864 no_cache=0
7865 # Check whether --enable-stopwatch was given.
7866 if test "${enable_stopwatch+set}" = set; then
7867 enableval=$enable_stopwatch;
7868 if test "$enableval" = yes; then
7869 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7870 else
7871 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7872 fi
7873
7874 else
7875
7876 LINE=`grep "^wxUSE_STOPWATCH=" ${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_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7884
7885 fi
7886
7887
7888 eval "$ac_cv_use_stopwatch"
7889 if test "$no_cache" != 1; then
7890 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7891 fi
7892
7893 if test x"$enablestring" = xdisable; then
7894 if test $wxUSE_STOPWATCH = yes; then
7895 result=no
7896 else
7897 result=yes
7898 fi
7899 else
7900 result=$wxUSE_STOPWATCH
7901 fi
7902
7903 { echo "$as_me:$LINENO: result: $result" >&5
7904 echo "${ECHO_T}$result" >&6; }
7905
7906
7907 enablestring=
7908 defaultval=$wxUSE_ALL_FEATURES
7909 if test -z "$defaultval"; then
7910 if test x"$enablestring" = xdisable; then
7911 defaultval=yes
7912 else
7913 defaultval=no
7914 fi
7915 fi
7916
7917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7919 no_cache=0
7920 # Check whether --enable-streams was given.
7921 if test "${enable_streams+set}" = set; then
7922 enableval=$enable_streams;
7923 if test "$enableval" = yes; then
7924 ac_cv_use_streams='wxUSE_STREAMS=yes'
7925 else
7926 ac_cv_use_streams='wxUSE_STREAMS=no'
7927 fi
7928
7929 else
7930
7931 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7932 if test "x$LINE" != x ; then
7933 eval "DEFAULT_$LINE"
7934 else
7935 no_cache=1
7936 fi
7937
7938 ac_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7939
7940 fi
7941
7942
7943 eval "$ac_cv_use_streams"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7946 fi
7947
7948 if test x"$enablestring" = xdisable; then
7949 if test $wxUSE_STREAMS = yes; then
7950 result=no
7951 else
7952 result=yes
7953 fi
7954 else
7955 result=$wxUSE_STREAMS
7956 fi
7957
7958 { echo "$as_me:$LINENO: result: $result" >&5
7959 echo "${ECHO_T}$result" >&6; }
7960
7961
7962 enablestring=
7963 defaultval=$wxUSE_ALL_FEATURES
7964 if test -z "$defaultval"; then
7965 if test x"$enablestring" = xdisable; then
7966 defaultval=yes
7967 else
7968 defaultval=no
7969 fi
7970 fi
7971
7972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7974 no_cache=0
7975 # Check whether --enable-system_options was given.
7976 if test "${enable_system_options+set}" = set; then
7977 enableval=$enable_system_options;
7978 if test "$enableval" = yes; then
7979 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7980 else
7981 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7982 fi
7983
7984 else
7985
7986 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7989 else
7990 no_cache=1
7991 fi
7992
7993 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7994
7995 fi
7996
7997
7998 eval "$ac_cv_use_system_options"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
8001 fi
8002
8003 if test x"$enablestring" = xdisable; then
8004 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8005 result=no
8006 else
8007 result=yes
8008 fi
8009 else
8010 result=$wxUSE_SYSTEM_OPTIONS
8011 fi
8012
8013 { echo "$as_me:$LINENO: result: $result" >&5
8014 echo "${ECHO_T}$result" >&6; }
8015
8016
8017 enablestring=
8018 defaultval=$wxUSE_ALL_FEATURES
8019 if test -z "$defaultval"; then
8020 if test x"$enablestring" = xdisable; then
8021 defaultval=yes
8022 else
8023 defaultval=no
8024 fi
8025 fi
8026
8027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8029 no_cache=0
8030 # Check whether --enable-tarstream was given.
8031 if test "${enable_tarstream+set}" = set; then
8032 enableval=$enable_tarstream;
8033 if test "$enableval" = yes; then
8034 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8035 else
8036 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
8037 fi
8038
8039 else
8040
8041 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8044 else
8045 no_cache=1
8046 fi
8047
8048 ac_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8049
8050 fi
8051
8052
8053 eval "$ac_cv_use_tarstream"
8054 if test "$no_cache" != 1; then
8055 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
8056 fi
8057
8058 if test x"$enablestring" = xdisable; then
8059 if test $wxUSE_TARSTREAM = yes; then
8060 result=no
8061 else
8062 result=yes
8063 fi
8064 else
8065 result=$wxUSE_TARSTREAM
8066 fi
8067
8068 { echo "$as_me:$LINENO: result: $result" >&5
8069 echo "${ECHO_T}$result" >&6; }
8070
8071
8072 enablestring=
8073 defaultval=$wxUSE_ALL_FEATURES
8074 if test -z "$defaultval"; then
8075 if test x"$enablestring" = xdisable; then
8076 defaultval=yes
8077 else
8078 defaultval=no
8079 fi
8080 fi
8081
8082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8084 no_cache=0
8085 # Check whether --enable-textbuf was given.
8086 if test "${enable_textbuf+set}" = set; then
8087 enableval=$enable_textbuf;
8088 if test "$enableval" = yes; then
8089 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8090 else
8091 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8092 fi
8093
8094 else
8095
8096 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x ; then
8098 eval "DEFAULT_$LINE"
8099 else
8100 no_cache=1
8101 fi
8102
8103 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8104
8105 fi
8106
8107
8108 eval "$ac_cv_use_textbuf"
8109 if test "$no_cache" != 1; then
8110 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8111 fi
8112
8113 if test x"$enablestring" = xdisable; then
8114 if test $wxUSE_TEXTBUFFER = yes; then
8115 result=no
8116 else
8117 result=yes
8118 fi
8119 else
8120 result=$wxUSE_TEXTBUFFER
8121 fi
8122
8123 { echo "$as_me:$LINENO: result: $result" >&5
8124 echo "${ECHO_T}$result" >&6; }
8125
8126
8127 enablestring=
8128 defaultval=$wxUSE_ALL_FEATURES
8129 if test -z "$defaultval"; then
8130 if test x"$enablestring" = xdisable; then
8131 defaultval=yes
8132 else
8133 defaultval=no
8134 fi
8135 fi
8136
8137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8139 no_cache=0
8140 # Check whether --enable-textfile was given.
8141 if test "${enable_textfile+set}" = set; then
8142 enableval=$enable_textfile;
8143 if test "$enableval" = yes; then
8144 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
8145 else
8146 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
8147 fi
8148
8149 else
8150
8151 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8152 if test "x$LINE" != x ; then
8153 eval "DEFAULT_$LINE"
8154 else
8155 no_cache=1
8156 fi
8157
8158 ac_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8159
8160 fi
8161
8162
8163 eval "$ac_cv_use_textfile"
8164 if test "$no_cache" != 1; then
8165 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8166 fi
8167
8168 if test x"$enablestring" = xdisable; then
8169 if test $wxUSE_TEXTFILE = yes; then
8170 result=no
8171 else
8172 result=yes
8173 fi
8174 else
8175 result=$wxUSE_TEXTFILE
8176 fi
8177
8178 { echo "$as_me:$LINENO: result: $result" >&5
8179 echo "${ECHO_T}$result" >&6; }
8180
8181
8182 enablestring=
8183 defaultval=$wxUSE_ALL_FEATURES
8184 if test -z "$defaultval"; then
8185 if test x"$enablestring" = xdisable; then
8186 defaultval=yes
8187 else
8188 defaultval=no
8189 fi
8190 fi
8191
8192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8194 no_cache=0
8195 # Check whether --enable-timer was given.
8196 if test "${enable_timer+set}" = set; then
8197 enableval=$enable_timer;
8198 if test "$enableval" = yes; then
8199 ac_cv_use_timer='wxUSE_TIMER=yes'
8200 else
8201 ac_cv_use_timer='wxUSE_TIMER=no'
8202 fi
8203
8204 else
8205
8206 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x ; then
8208 eval "DEFAULT_$LINE"
8209 else
8210 no_cache=1
8211 fi
8212
8213 ac_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8214
8215 fi
8216
8217
8218 eval "$ac_cv_use_timer"
8219 if test "$no_cache" != 1; then
8220 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
8221 fi
8222
8223 if test x"$enablestring" = xdisable; then
8224 if test $wxUSE_TIMER = yes; then
8225 result=no
8226 else
8227 result=yes
8228 fi
8229 else
8230 result=$wxUSE_TIMER
8231 fi
8232
8233 { echo "$as_me:$LINENO: result: $result" >&5
8234 echo "${ECHO_T}$result" >&6; }
8235
8236
8237 enablestring=
8238 defaultval=$wxUSE_ALL_FEATURES
8239 if test -z "$defaultval"; then
8240 if test x"$enablestring" = xdisable; then
8241 defaultval=yes
8242 else
8243 defaultval=no
8244 fi
8245 fi
8246
8247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8249 no_cache=0
8250 # Check whether --enable-sound was given.
8251 if test "${enable_sound+set}" = set; then
8252 enableval=$enable_sound;
8253 if test "$enableval" = yes; then
8254 ac_cv_use_sound='wxUSE_SOUND=yes'
8255 else
8256 ac_cv_use_sound='wxUSE_SOUND=no'
8257 fi
8258
8259 else
8260
8261 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x ; then
8263 eval "DEFAULT_$LINE"
8264 else
8265 no_cache=1
8266 fi
8267
8268 ac_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8269
8270 fi
8271
8272
8273 eval "$ac_cv_use_sound"
8274 if test "$no_cache" != 1; then
8275 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
8276 fi
8277
8278 if test x"$enablestring" = xdisable; then
8279 if test $wxUSE_SOUND = yes; then
8280 result=no
8281 else
8282 result=yes
8283 fi
8284 else
8285 result=$wxUSE_SOUND
8286 fi
8287
8288 { echo "$as_me:$LINENO: result: $result" >&5
8289 echo "${ECHO_T}$result" >&6; }
8290
8291
8292 enablestring=
8293 defaultval=$wxUSE_ALL_FEATURES
8294 if test -z "$defaultval"; then
8295 if test x"$enablestring" = xdisable; then
8296 defaultval=yes
8297 else
8298 defaultval=no
8299 fi
8300 fi
8301
8302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8304 no_cache=0
8305 # Check whether --enable-mediactrl was given.
8306 if test "${enable_mediactrl+set}" = set; then
8307 enableval=$enable_mediactrl;
8308 if test "$enableval" = yes; then
8309 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8310 else
8311 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8312 fi
8313
8314 else
8315
8316 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8317 if test "x$LINE" != x ; then
8318 eval "DEFAULT_$LINE"
8319 else
8320 no_cache=1
8321 fi
8322
8323 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8324
8325 fi
8326
8327
8328 eval "$ac_cv_use_mediactrl"
8329 if test "$no_cache" != 1; then
8330 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8331 fi
8332
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_MEDIACTRL = yes; then
8335 result=no
8336 else
8337 result=yes
8338 fi
8339 else
8340 result=$wxUSE_MEDIACTRL
8341 fi
8342
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8345
8346
8347 enablestring=
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8351 defaultval=yes
8352 else
8353 defaultval=no
8354 fi
8355 fi
8356
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8359 no_cache=0
8360 # Check whether --enable-gstreamer8 was given.
8361 if test "${enable_gstreamer8+set}" = set; then
8362 enableval=$enable_gstreamer8;
8363 if test "$enableval" = yes; then
8364 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8365 else
8366 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8367 fi
8368
8369 else
8370
8371 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8374 else
8375 no_cache=1
8376 fi
8377
8378 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8379
8380 fi
8381
8382
8383 eval "$ac_cv_use_gstreamer8"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test x"$enablestring" = xdisable; then
8389 if test $wxUSE_GSTREAMER8 = yes; then
8390 result=no
8391 else
8392 result=yes
8393 fi
8394 else
8395 result=$wxUSE_GSTREAMER8
8396 fi
8397
8398 { echo "$as_me:$LINENO: result: $result" >&5
8399 echo "${ECHO_T}$result" >&6; }
8400
8401
8402 enablestring=
8403 defaultval=$wxUSE_ALL_FEATURES
8404 if test -z "$defaultval"; then
8405 if test x"$enablestring" = xdisable; then
8406 defaultval=yes
8407 else
8408 defaultval=no
8409 fi
8410 fi
8411
8412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8413 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8414 no_cache=0
8415 # Check whether --enable-printfposparam was given.
8416 if test "${enable_printfposparam+set}" = set; then
8417 enableval=$enable_printfposparam;
8418 if test "$enableval" = yes; then
8419 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8420 else
8421 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8422 fi
8423
8424 else
8425
8426 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8427 if test "x$LINE" != x ; then
8428 eval "DEFAULT_$LINE"
8429 else
8430 no_cache=1
8431 fi
8432
8433 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8434
8435 fi
8436
8437
8438 eval "$ac_cv_use_printfposparam"
8439 if test "$no_cache" != 1; then
8440 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8441 fi
8442
8443 if test x"$enablestring" = xdisable; then
8444 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8445 result=no
8446 else
8447 result=yes
8448 fi
8449 else
8450 result=$wxUSE_PRINTF_POS_PARAMS
8451 fi
8452
8453 { echo "$as_me:$LINENO: result: $result" >&5
8454 echo "${ECHO_T}$result" >&6; }
8455
8456
8457 enablestring=
8458 defaultval=$wxUSE_ALL_FEATURES
8459 if test -z "$defaultval"; then
8460 if test x"$enablestring" = xdisable; then
8461 defaultval=yes
8462 else
8463 defaultval=no
8464 fi
8465 fi
8466
8467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8468 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8469 no_cache=0
8470 # Check whether --enable-zipstream was given.
8471 if test "${enable_zipstream+set}" = set; then
8472 enableval=$enable_zipstream;
8473 if test "$enableval" = yes; then
8474 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8475 else
8476 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8477 fi
8478
8479 else
8480
8481 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x ; then
8483 eval "DEFAULT_$LINE"
8484 else
8485 no_cache=1
8486 fi
8487
8488 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8489
8490 fi
8491
8492
8493 eval "$ac_cv_use_zipstream"
8494 if test "$no_cache" != 1; then
8495 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8496 fi
8497
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_ZIPSTREAM = yes; then
8500 result=no
8501 else
8502 result=yes
8503 fi
8504 else
8505 result=$wxUSE_ZIPSTREAM
8506 fi
8507
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8510
8511
8512
8513 enablestring=
8514 defaultval=$wxUSE_ALL_FEATURES
8515 if test -z "$defaultval"; then
8516 if test x"$enablestring" = xdisable; then
8517 defaultval=yes
8518 else
8519 defaultval=no
8520 fi
8521 fi
8522
8523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8525 no_cache=0
8526 # Check whether --enable-url was given.
8527 if test "${enable_url+set}" = set; then
8528 enableval=$enable_url;
8529 if test "$enableval" = yes; then
8530 ac_cv_use_url='wxUSE_URL=yes'
8531 else
8532 ac_cv_use_url='wxUSE_URL=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8545
8546 fi
8547
8548
8549 eval "$ac_cv_use_url"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
8552 fi
8553
8554 if test x"$enablestring" = xdisable; then
8555 if test $wxUSE_URL = yes; then
8556 result=no
8557 else
8558 result=yes
8559 fi
8560 else
8561 result=$wxUSE_URL
8562 fi
8563
8564 { echo "$as_me:$LINENO: result: $result" >&5
8565 echo "${ECHO_T}$result" >&6; }
8566
8567
8568 enablestring=
8569 defaultval=$wxUSE_ALL_FEATURES
8570 if test -z "$defaultval"; then
8571 if test x"$enablestring" = xdisable; then
8572 defaultval=yes
8573 else
8574 defaultval=no
8575 fi
8576 fi
8577
8578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8580 no_cache=0
8581 # Check whether --enable-variant was given.
8582 if test "${enable_variant+set}" = set; then
8583 enableval=$enable_variant;
8584 if test "$enableval" = yes; then
8585 ac_cv_use_variant='wxUSE_VARIANT=yes'
8586 else
8587 ac_cv_use_variant='wxUSE_VARIANT=no'
8588 fi
8589
8590 else
8591
8592 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8593 if test "x$LINE" != x ; then
8594 eval "DEFAULT_$LINE"
8595 else
8596 no_cache=1
8597 fi
8598
8599 ac_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8600
8601 fi
8602
8603
8604 eval "$ac_cv_use_variant"
8605 if test "$no_cache" != 1; then
8606 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
8607 fi
8608
8609 if test x"$enablestring" = xdisable; then
8610 if test $wxUSE_VARIANT = yes; then
8611 result=no
8612 else
8613 result=yes
8614 fi
8615 else
8616 result=$wxUSE_VARIANT
8617 fi
8618
8619 { echo "$as_me:$LINENO: result: $result" >&5
8620 echo "${ECHO_T}$result" >&6; }
8621
8622
8623 enablestring=
8624 defaultval=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x"$enablestring" = xdisable; then
8627 defaultval=yes
8628 else
8629 defaultval=no
8630 fi
8631 fi
8632
8633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8635 no_cache=0
8636 # Check whether --enable-protocol was given.
8637 if test "${enable_protocol+set}" = set; then
8638 enableval=$enable_protocol;
8639 if test "$enableval" = yes; then
8640 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
8641 else
8642 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
8643 fi
8644
8645 else
8646
8647 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8650 else
8651 no_cache=1
8652 fi
8653
8654 ac_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8655
8656 fi
8657
8658
8659 eval "$ac_cv_use_protocol"
8660 if test "$no_cache" != 1; then
8661 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8662 fi
8663
8664 if test x"$enablestring" = xdisable; then
8665 if test $wxUSE_PROTOCOL = yes; then
8666 result=no
8667 else
8668 result=yes
8669 fi
8670 else
8671 result=$wxUSE_PROTOCOL
8672 fi
8673
8674 { echo "$as_me:$LINENO: result: $result" >&5
8675 echo "${ECHO_T}$result" >&6; }
8676
8677
8678 enablestring=
8679 defaultval=$wxUSE_ALL_FEATURES
8680 if test -z "$defaultval"; then
8681 if test x"$enablestring" = xdisable; then
8682 defaultval=yes
8683 else
8684 defaultval=no
8685 fi
8686 fi
8687
8688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8689 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8690 no_cache=0
8691 # Check whether --enable-protocol_http was given.
8692 if test "${enable_protocol_http+set}" = set; then
8693 enableval=$enable_protocol_http;
8694 if test "$enableval" = yes; then
8695 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8696 else
8697 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8698 fi
8699
8700 else
8701
8702 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8703 if test "x$LINE" != x ; then
8704 eval "DEFAULT_$LINE"
8705 else
8706 no_cache=1
8707 fi
8708
8709 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8710
8711 fi
8712
8713
8714 eval "$ac_cv_use_protocol_http"
8715 if test "$no_cache" != 1; then
8716 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
8717 fi
8718
8719 if test x"$enablestring" = xdisable; then
8720 if test $wxUSE_PROTOCOL_HTTP = yes; then
8721 result=no
8722 else
8723 result=yes
8724 fi
8725 else
8726 result=$wxUSE_PROTOCOL_HTTP
8727 fi
8728
8729 { echo "$as_me:$LINENO: result: $result" >&5
8730 echo "${ECHO_T}$result" >&6; }
8731
8732
8733 enablestring=
8734 defaultval=$wxUSE_ALL_FEATURES
8735 if test -z "$defaultval"; then
8736 if test x"$enablestring" = xdisable; then
8737 defaultval=yes
8738 else
8739 defaultval=no
8740 fi
8741 fi
8742
8743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8744 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8745 no_cache=0
8746 # Check whether --enable-protocol_ftp was given.
8747 if test "${enable_protocol_ftp+set}" = set; then
8748 enableval=$enable_protocol_ftp;
8749 if test "$enableval" = yes; then
8750 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8751 else
8752 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8753 fi
8754
8755 else
8756
8757 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8758 if test "x$LINE" != x ; then
8759 eval "DEFAULT_$LINE"
8760 else
8761 no_cache=1
8762 fi
8763
8764 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8765
8766 fi
8767
8768
8769 eval "$ac_cv_use_protocol_ftp"
8770 if test "$no_cache" != 1; then
8771 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
8772 fi
8773
8774 if test x"$enablestring" = xdisable; then
8775 if test $wxUSE_PROTOCOL_FTP = yes; then
8776 result=no
8777 else
8778 result=yes
8779 fi
8780 else
8781 result=$wxUSE_PROTOCOL_FTP
8782 fi
8783
8784 { echo "$as_me:$LINENO: result: $result" >&5
8785 echo "${ECHO_T}$result" >&6; }
8786
8787
8788 enablestring=
8789 defaultval=$wxUSE_ALL_FEATURES
8790 if test -z "$defaultval"; then
8791 if test x"$enablestring" = xdisable; then
8792 defaultval=yes
8793 else
8794 defaultval=no
8795 fi
8796 fi
8797
8798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8799 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8800 no_cache=0
8801 # Check whether --enable-protocol_file was given.
8802 if test "${enable_protocol_file+set}" = set; then
8803 enableval=$enable_protocol_file;
8804 if test "$enableval" = yes; then
8805 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8806 else
8807 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8808 fi
8809
8810 else
8811
8812 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8813 if test "x$LINE" != x ; then
8814 eval "DEFAULT_$LINE"
8815 else
8816 no_cache=1
8817 fi
8818
8819 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8820
8821 fi
8822
8823
8824 eval "$ac_cv_use_protocol_file"
8825 if test "$no_cache" != 1; then
8826 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
8827 fi
8828
8829 if test x"$enablestring" = xdisable; then
8830 if test $wxUSE_PROTOCOL_FILE = yes; then
8831 result=no
8832 else
8833 result=yes
8834 fi
8835 else
8836 result=$wxUSE_PROTOCOL_FILE
8837 fi
8838
8839 { echo "$as_me:$LINENO: result: $result" >&5
8840 echo "${ECHO_T}$result" >&6; }
8841
8842
8843
8844 enablestring=
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8848 defaultval=yes
8849 else
8850 defaultval=no
8851 fi
8852 fi
8853
8854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8856 no_cache=0
8857 # Check whether --enable-threads was given.
8858 if test "${enable_threads+set}" = set; then
8859 enableval=$enable_threads;
8860 if test "$enableval" = yes; then
8861 ac_cv_use_threads='wxUSE_THREADS=yes'
8862 else
8863 ac_cv_use_threads='wxUSE_THREADS=no'
8864 fi
8865
8866 else
8867
8868 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8871 else
8872 no_cache=1
8873 fi
8874
8875 ac_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8876
8877 fi
8878
8879
8880 eval "$ac_cv_use_threads"
8881 if test "$no_cache" != 1; then
8882 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
8883 fi
8884
8885 if test x"$enablestring" = xdisable; then
8886 if test $wxUSE_THREADS = yes; then
8887 result=no
8888 else
8889 result=yes
8890 fi
8891 else
8892 result=$wxUSE_THREADS
8893 fi
8894
8895 { echo "$as_me:$LINENO: result: $result" >&5
8896 echo "${ECHO_T}$result" >&6; }
8897
8898
8899 if test "$wxUSE_GUI" = "yes"; then
8900
8901
8902
8903 enablestring=
8904 defaultval=$wxUSE_ALL_FEATURES
8905 if test -z "$defaultval"; then
8906 if test x"$enablestring" = xdisable; then
8907 defaultval=yes
8908 else
8909 defaultval=no
8910 fi
8911 fi
8912
8913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8914 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8915 no_cache=0
8916 # Check whether --enable-docview was given.
8917 if test "${enable_docview+set}" = set; then
8918 enableval=$enable_docview;
8919 if test "$enableval" = yes; then
8920 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8921 else
8922 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8923 fi
8924
8925 else
8926
8927 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8928 if test "x$LINE" != x ; then
8929 eval "DEFAULT_$LINE"
8930 else
8931 no_cache=1
8932 fi
8933
8934 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8935
8936 fi
8937
8938
8939 eval "$ac_cv_use_docview"
8940 if test "$no_cache" != 1; then
8941 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
8942 fi
8943
8944 if test x"$enablestring" = xdisable; then
8945 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8946 result=no
8947 else
8948 result=yes
8949 fi
8950 else
8951 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8952 fi
8953
8954 { echo "$as_me:$LINENO: result: $result" >&5
8955 echo "${ECHO_T}$result" >&6; }
8956
8957
8958 enablestring=
8959 defaultval=$wxUSE_ALL_FEATURES
8960 if test -z "$defaultval"; then
8961 if test x"$enablestring" = xdisable; then
8962 defaultval=yes
8963 else
8964 defaultval=no
8965 fi
8966 fi
8967
8968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8969 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8970 no_cache=0
8971 # Check whether --enable-help was given.
8972 if test "${enable_help+set}" = set; then
8973 enableval=$enable_help;
8974 if test "$enableval" = yes; then
8975 ac_cv_use_help='wxUSE_HELP=yes'
8976 else
8977 ac_cv_use_help='wxUSE_HELP=no'
8978 fi
8979
8980 else
8981
8982 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
8983 if test "x$LINE" != x ; then
8984 eval "DEFAULT_$LINE"
8985 else
8986 no_cache=1
8987 fi
8988
8989 ac_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8990
8991 fi
8992
8993
8994 eval "$ac_cv_use_help"
8995 if test "$no_cache" != 1; then
8996 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
8997 fi
8998
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_HELP = yes; then
9001 result=no
9002 else
9003 result=yes
9004 fi
9005 else
9006 result=$wxUSE_HELP
9007 fi
9008
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9025 no_cache=0
9026 # Check whether --enable-mshtmlhelp was given.
9027 if test "${enable_mshtmlhelp+set}" = set; then
9028 enableval=$enable_mshtmlhelp;
9029 if test "$enableval" = yes; then
9030 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9031 else
9032 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9033 fi
9034
9035 else
9036
9037 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9040 else
9041 no_cache=1
9042 fi
9043
9044 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9045
9046 fi
9047
9048
9049 eval "$ac_cv_use_mshtmlhelp"
9050 if test "$no_cache" != 1; then
9051 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
9052 fi
9053
9054 if test x"$enablestring" = xdisable; then
9055 if test $wxUSE_MS_HTML_HELP = yes; then
9056 result=no
9057 else
9058 result=yes
9059 fi
9060 else
9061 result=$wxUSE_MS_HTML_HELP
9062 fi
9063
9064 { echo "$as_me:$LINENO: result: $result" >&5
9065 echo "${ECHO_T}$result" >&6; }
9066
9067
9068 enablestring=
9069 defaultval=$wxUSE_ALL_FEATURES
9070 if test -z "$defaultval"; then
9071 if test x"$enablestring" = xdisable; then
9072 defaultval=yes
9073 else
9074 defaultval=no
9075 fi
9076 fi
9077
9078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9079 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9080 no_cache=0
9081 # Check whether --enable-html was given.
9082 if test "${enable_html+set}" = set; then
9083 enableval=$enable_html;
9084 if test "$enableval" = yes; then
9085 ac_cv_use_html='wxUSE_HTML=yes'
9086 else
9087 ac_cv_use_html='wxUSE_HTML=no'
9088 fi
9089
9090 else
9091
9092 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9095 else
9096 no_cache=1
9097 fi
9098
9099 ac_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9100
9101 fi
9102
9103
9104 eval "$ac_cv_use_html"
9105 if test "$no_cache" != 1; then
9106 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
9107 fi
9108
9109 if test x"$enablestring" = xdisable; then
9110 if test $wxUSE_HTML = yes; then
9111 result=no
9112 else
9113 result=yes
9114 fi
9115 else
9116 result=$wxUSE_HTML
9117 fi
9118
9119 { echo "$as_me:$LINENO: result: $result" >&5
9120 echo "${ECHO_T}$result" >&6; }
9121
9122
9123 enablestring=
9124 defaultval=$wxUSE_ALL_FEATURES
9125 if test -z "$defaultval"; then
9126 if test x"$enablestring" = xdisable; then
9127 defaultval=yes
9128 else
9129 defaultval=no
9130 fi
9131 fi
9132
9133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9134 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9135 no_cache=0
9136 # Check whether --enable-htmlhelp was given.
9137 if test "${enable_htmlhelp+set}" = set; then
9138 enableval=$enable_htmlhelp;
9139 if test "$enableval" = yes; then
9140 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9141 else
9142 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9143 fi
9144
9145 else
9146
9147 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9148 if test "x$LINE" != x ; then
9149 eval "DEFAULT_$LINE"
9150 else
9151 no_cache=1
9152 fi
9153
9154 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9155
9156 fi
9157
9158
9159 eval "$ac_cv_use_htmlhelp"
9160 if test "$no_cache" != 1; then
9161 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9162 fi
9163
9164 if test x"$enablestring" = xdisable; then
9165 if test $wxUSE_WXHTML_HELP = yes; then
9166 result=no
9167 else
9168 result=yes
9169 fi
9170 else
9171 result=$wxUSE_WXHTML_HELP
9172 fi
9173
9174 { echo "$as_me:$LINENO: result: $result" >&5
9175 echo "${ECHO_T}$result" >&6; }
9176
9177
9178 enablestring=
9179 defaultval=$wxUSE_ALL_FEATURES
9180 if test -z "$defaultval"; then
9181 if test x"$enablestring" = xdisable; then
9182 defaultval=yes
9183 else
9184 defaultval=no
9185 fi
9186 fi
9187
9188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9190 no_cache=0
9191 # Check whether --enable-xrc was given.
9192 if test "${enable_xrc+set}" = set; then
9193 enableval=$enable_xrc;
9194 if test "$enableval" = yes; then
9195 ac_cv_use_xrc='wxUSE_XRC=yes'
9196 else
9197 ac_cv_use_xrc='wxUSE_XRC=no'
9198 fi
9199
9200 else
9201
9202 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9203 if test "x$LINE" != x ; then
9204 eval "DEFAULT_$LINE"
9205 else
9206 no_cache=1
9207 fi
9208
9209 ac_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9210
9211 fi
9212
9213
9214 eval "$ac_cv_use_xrc"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9217 fi
9218
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_XRC = yes; then
9221 result=no
9222 else
9223 result=yes
9224 fi
9225 else
9226 result=$wxUSE_XRC
9227 fi
9228
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9231
9232
9233 enablestring=
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9237 defaultval=yes
9238 else
9239 defaultval=no
9240 fi
9241 fi
9242
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9245 no_cache=0
9246 # Check whether --enable-aui was given.
9247 if test "${enable_aui+set}" = set; then
9248 enableval=$enable_aui;
9249 if test "$enableval" = yes; then
9250 ac_cv_use_aui='wxUSE_AUI=yes'
9251 else
9252 ac_cv_use_aui='wxUSE_AUI=no'
9253 fi
9254
9255 else
9256
9257 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9258 if test "x$LINE" != x ; then
9259 eval "DEFAULT_$LINE"
9260 else
9261 no_cache=1
9262 fi
9263
9264 ac_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9265
9266 fi
9267
9268
9269 eval "$ac_cv_use_aui"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
9272 fi
9273
9274 if test x"$enablestring" = xdisable; then
9275 if test $wxUSE_AUI = yes; then
9276 result=no
9277 else
9278 result=yes
9279 fi
9280 else
9281 result=$wxUSE_AUI
9282 fi
9283
9284 { echo "$as_me:$LINENO: result: $result" >&5
9285 echo "${ECHO_T}$result" >&6; }
9286
9287
9288 enablestring=
9289 defaultval=$wxUSE_ALL_FEATURES
9290 if test -z "$defaultval"; then
9291 if test x"$enablestring" = xdisable; then
9292 defaultval=yes
9293 else
9294 defaultval=no
9295 fi
9296 fi
9297
9298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9300 no_cache=0
9301 # Check whether --enable-stc was given.
9302 if test "${enable_stc+set}" = set; then
9303 enableval=$enable_stc;
9304 if test "$enableval" = yes; then
9305 ac_cv_use_stc='wxUSE_STC=yes'
9306 else
9307 ac_cv_use_stc='wxUSE_STC=no'
9308 fi
9309
9310 else
9311
9312 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9313 if test "x$LINE" != x ; then
9314 eval "DEFAULT_$LINE"
9315 else
9316 no_cache=1
9317 fi
9318
9319 ac_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9320
9321 fi
9322
9323
9324 eval "$ac_cv_use_stc"
9325 if test "$no_cache" != 1; then
9326 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
9327 fi
9328
9329 if test x"$enablestring" = xdisable; then
9330 if test $wxUSE_STC = yes; then
9331 result=no
9332 else
9333 result=yes
9334 fi
9335 else
9336 result=$wxUSE_STC
9337 fi
9338
9339 { echo "$as_me:$LINENO: result: $result" >&5
9340 echo "${ECHO_T}$result" >&6; }
9341
9342
9343 enablestring=
9344 defaultval=$wxUSE_ALL_FEATURES
9345 if test -z "$defaultval"; then
9346 if test x"$enablestring" = xdisable; then
9347 defaultval=yes
9348 else
9349 defaultval=no
9350 fi
9351 fi
9352
9353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9355 no_cache=0
9356 # Check whether --enable-constraints was given.
9357 if test "${enable_constraints+set}" = set; then
9358 enableval=$enable_constraints;
9359 if test "$enableval" = yes; then
9360 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9361 else
9362 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9363 fi
9364
9365 else
9366
9367 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9370 else
9371 no_cache=1
9372 fi
9373
9374 ac_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9375
9376 fi
9377
9378
9379 eval "$ac_cv_use_constraints"
9380 if test "$no_cache" != 1; then
9381 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9382 fi
9383
9384 if test x"$enablestring" = xdisable; then
9385 if test $wxUSE_CONSTRAINTS = yes; then
9386 result=no
9387 else
9388 result=yes
9389 fi
9390 else
9391 result=$wxUSE_CONSTRAINTS
9392 fi
9393
9394 { echo "$as_me:$LINENO: result: $result" >&5
9395 echo "${ECHO_T}$result" >&6; }
9396
9397
9398 enablestring=
9399 defaultval=$wxUSE_ALL_FEATURES
9400 if test -z "$defaultval"; then
9401 if test x"$enablestring" = xdisable; then
9402 defaultval=yes
9403 else
9404 defaultval=no
9405 fi
9406 fi
9407
9408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9410 no_cache=0
9411 # Check whether --enable-printarch was given.
9412 if test "${enable_printarch+set}" = set; then
9413 enableval=$enable_printarch;
9414 if test "$enableval" = yes; then
9415 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9416 else
9417 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9418 fi
9419
9420 else
9421
9422 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9425 else
9426 no_cache=1
9427 fi
9428
9429 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9430
9431 fi
9432
9433
9434 eval "$ac_cv_use_printarch"
9435 if test "$no_cache" != 1; then
9436 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9437 fi
9438
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9441 result=no
9442 else
9443 result=yes
9444 fi
9445 else
9446 result=$wxUSE_PRINTING_ARCHITECTURE
9447 fi
9448
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9451
9452
9453 enablestring=
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9457 defaultval=yes
9458 else
9459 defaultval=no
9460 fi
9461 fi
9462
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9465 no_cache=0
9466 # Check whether --enable-mdi was given.
9467 if test "${enable_mdi+set}" = set; then
9468 enableval=$enable_mdi;
9469 if test "$enableval" = yes; then
9470 ac_cv_use_mdi='wxUSE_MDI=yes'
9471 else
9472 ac_cv_use_mdi='wxUSE_MDI=no'
9473 fi
9474
9475 else
9476
9477 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9478 if test "x$LINE" != x ; then
9479 eval "DEFAULT_$LINE"
9480 else
9481 no_cache=1
9482 fi
9483
9484 ac_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9485
9486 fi
9487
9488
9489 eval "$ac_cv_use_mdi"
9490 if test "$no_cache" != 1; then
9491 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9492 fi
9493
9494 if test x"$enablestring" = xdisable; then
9495 if test $wxUSE_MDI = yes; then
9496 result=no
9497 else
9498 result=yes
9499 fi
9500 else
9501 result=$wxUSE_MDI
9502 fi
9503
9504 { echo "$as_me:$LINENO: result: $result" >&5
9505 echo "${ECHO_T}$result" >&6; }
9506
9507
9508 enablestring=
9509 defaultval=$wxUSE_ALL_FEATURES
9510 if test -z "$defaultval"; then
9511 if test x"$enablestring" = xdisable; then
9512 defaultval=yes
9513 else
9514 defaultval=no
9515 fi
9516 fi
9517
9518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9520 no_cache=0
9521 # Check whether --enable-mdidoc was given.
9522 if test "${enable_mdidoc+set}" = set; then
9523 enableval=$enable_mdidoc;
9524 if test "$enableval" = yes; then
9525 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9526 else
9527 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9528 fi
9529
9530 else
9531
9532 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9533 if test "x$LINE" != x ; then
9534 eval "DEFAULT_$LINE"
9535 else
9536 no_cache=1
9537 fi
9538
9539 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9540
9541 fi
9542
9543
9544 eval "$ac_cv_use_mdidoc"
9545 if test "$no_cache" != 1; then
9546 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9547 fi
9548
9549 if test x"$enablestring" = xdisable; then
9550 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9551 result=no
9552 else
9553 result=yes
9554 fi
9555 else
9556 result=$wxUSE_MDI_ARCHITECTURE
9557 fi
9558
9559 { echo "$as_me:$LINENO: result: $result" >&5
9560 echo "${ECHO_T}$result" >&6; }
9561
9562
9563 enablestring=
9564 defaultval=$wxUSE_ALL_FEATURES
9565 if test -z "$defaultval"; then
9566 if test x"$enablestring" = xdisable; then
9567 defaultval=yes
9568 else
9569 defaultval=no
9570 fi
9571 fi
9572
9573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9575 no_cache=0
9576 # Check whether --enable-loggui was given.
9577 if test "${enable_loggui+set}" = set; then
9578 enableval=$enable_loggui;
9579 if test "$enableval" = yes; then
9580 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
9581 else
9582 ac_cv_use_loggui='wxUSE_LOGGUI=no'
9583 fi
9584
9585 else
9586
9587 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9588 if test "x$LINE" != x ; then
9589 eval "DEFAULT_$LINE"
9590 else
9591 no_cache=1
9592 fi
9593
9594 ac_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9595
9596 fi
9597
9598
9599 eval "$ac_cv_use_loggui"
9600 if test "$no_cache" != 1; then
9601 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9602 fi
9603
9604 if test x"$enablestring" = xdisable; then
9605 if test $wxUSE_LOGGUI = yes; then
9606 result=no
9607 else
9608 result=yes
9609 fi
9610 else
9611 result=$wxUSE_LOGGUI
9612 fi
9613
9614 { echo "$as_me:$LINENO: result: $result" >&5
9615 echo "${ECHO_T}$result" >&6; }
9616
9617
9618 enablestring=
9619 defaultval=$wxUSE_ALL_FEATURES
9620 if test -z "$defaultval"; then
9621 if test x"$enablestring" = xdisable; then
9622 defaultval=yes
9623 else
9624 defaultval=no
9625 fi
9626 fi
9627
9628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9630 no_cache=0
9631 # Check whether --enable-logwin was given.
9632 if test "${enable_logwin+set}" = set; then
9633 enableval=$enable_logwin;
9634 if test "$enableval" = yes; then
9635 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9636 else
9637 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
9638 fi
9639
9640 else
9641
9642 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9643 if test "x$LINE" != x ; then
9644 eval "DEFAULT_$LINE"
9645 else
9646 no_cache=1
9647 fi
9648
9649 ac_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9650
9651 fi
9652
9653
9654 eval "$ac_cv_use_logwin"
9655 if test "$no_cache" != 1; then
9656 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9657 fi
9658
9659 if test x"$enablestring" = xdisable; then
9660 if test $wxUSE_LOGWINDOW = yes; then
9661 result=no
9662 else
9663 result=yes
9664 fi
9665 else
9666 result=$wxUSE_LOGWINDOW
9667 fi
9668
9669 { echo "$as_me:$LINENO: result: $result" >&5
9670 echo "${ECHO_T}$result" >&6; }
9671
9672
9673 enablestring=
9674 defaultval=$wxUSE_ALL_FEATURES
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9677 defaultval=yes
9678 else
9679 defaultval=no
9680 fi
9681 fi
9682
9683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9685 no_cache=0
9686 # Check whether --enable-logdialog was given.
9687 if test "${enable_logdialog+set}" = set; then
9688 enableval=$enable_logdialog;
9689 if test "$enableval" = yes; then
9690 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9691 else
9692 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9693 fi
9694
9695 else
9696
9697 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9700 else
9701 no_cache=1
9702 fi
9703
9704 ac_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9705
9706 fi
9707
9708
9709 eval "$ac_cv_use_logdialog"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
9712 fi
9713
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_LOGDIALOG = yes; then
9716 result=no
9717 else
9718 result=yes
9719 fi
9720 else
9721 result=$wxUSE_LOGDIALOG
9722 fi
9723
9724 { echo "$as_me:$LINENO: result: $result" >&5
9725 echo "${ECHO_T}$result" >&6; }
9726
9727
9728 enablestring=
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9732 defaultval=yes
9733 else
9734 defaultval=no
9735 fi
9736 fi
9737
9738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9740 no_cache=0
9741 # Check whether --enable-webkit was given.
9742 if test "${enable_webkit+set}" = set; then
9743 enableval=$enable_webkit;
9744 if test "$enableval" = yes; then
9745 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
9746 else
9747 ac_cv_use_webkit='wxUSE_WEBKIT=no'
9748 fi
9749
9750 else
9751
9752 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x ; then
9754 eval "DEFAULT_$LINE"
9755 else
9756 no_cache=1
9757 fi
9758
9759 ac_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9760
9761 fi
9762
9763
9764 eval "$ac_cv_use_webkit"
9765 if test "$no_cache" != 1; then
9766 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
9767 fi
9768
9769 if test x"$enablestring" = xdisable; then
9770 if test $wxUSE_WEBKIT = yes; then
9771 result=no
9772 else
9773 result=yes
9774 fi
9775 else
9776 result=$wxUSE_WEBKIT
9777 fi
9778
9779 { echo "$as_me:$LINENO: result: $result" >&5
9780 echo "${ECHO_T}$result" >&6; }
9781
9782
9783 enablestring=
9784 defaultval=$wxUSE_ALL_FEATURES
9785 if test -z "$defaultval"; then
9786 if test x"$enablestring" = xdisable; then
9787 defaultval=yes
9788 else
9789 defaultval=no
9790 fi
9791 fi
9792
9793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9795 no_cache=0
9796 # Check whether --enable-richtext was given.
9797 if test "${enable_richtext+set}" = set; then
9798 enableval=$enable_richtext;
9799 if test "$enableval" = yes; then
9800 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
9801 else
9802 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
9803 fi
9804
9805 else
9806
9807 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9808 if test "x$LINE" != x ; then
9809 eval "DEFAULT_$LINE"
9810 else
9811 no_cache=1
9812 fi
9813
9814 ac_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9815
9816 fi
9817
9818
9819 eval "$ac_cv_use_richtext"
9820 if test "$no_cache" != 1; then
9821 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
9822 fi
9823
9824 if test x"$enablestring" = xdisable; then
9825 if test $wxUSE_RICHTEXT = yes; then
9826 result=no
9827 else
9828 result=yes
9829 fi
9830 else
9831 result=$wxUSE_RICHTEXT
9832 fi
9833
9834 { echo "$as_me:$LINENO: result: $result" >&5
9835 echo "${ECHO_T}$result" >&6; }
9836
9837
9838 enablestring=
9839 defaultval=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x"$enablestring" = xdisable; then
9842 defaultval=yes
9843 else
9844 defaultval=no
9845 fi
9846 fi
9847
9848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9850 no_cache=0
9851 # Check whether --enable-graphics_ctx was given.
9852 if test "${enable_graphics_ctx+set}" = set; then
9853 enableval=$enable_graphics_ctx;
9854 if test "$enableval" = yes; then
9855 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9856 else
9857 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9858 fi
9859
9860 else
9861
9862 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9863 if test "x$LINE" != x ; then
9864 eval "DEFAULT_$LINE"
9865 else
9866 no_cache=1
9867 fi
9868
9869 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9870
9871 fi
9872
9873
9874 eval "$ac_cv_use_graphics_ctx"
9875 if test "$no_cache" != 1; then
9876 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
9877 fi
9878
9879 if test x"$enablestring" = xdisable; then
9880 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9881 result=no
9882 else
9883 result=yes
9884 fi
9885 else
9886 result=$wxUSE_GRAPHICS_CONTEXT
9887 fi
9888
9889 { echo "$as_me:$LINENO: result: $result" >&5
9890 echo "${ECHO_T}$result" >&6; }
9891
9892
9893 enablestring=
9894 defaultval=$wxUSE_ALL_FEATURES
9895 if test -z "$defaultval"; then
9896 if test x"$enablestring" = xdisable; then
9897 defaultval=yes
9898 else
9899 defaultval=no
9900 fi
9901 fi
9902
9903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9904 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9905 no_cache=0
9906 # Check whether --enable-postscript was given.
9907 if test "${enable_postscript+set}" = set; then
9908 enableval=$enable_postscript;
9909 if test "$enableval" = yes; then
9910 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9911 else
9912 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9913 fi
9914
9915 else
9916
9917 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9918 if test "x$LINE" != x ; then
9919 eval "DEFAULT_$LINE"
9920 else
9921 no_cache=1
9922 fi
9923
9924 ac_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9925
9926 fi
9927
9928
9929 eval "$ac_cv_use_postscript"
9930 if test "$no_cache" != 1; then
9931 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
9932 fi
9933
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_POSTSCRIPT = yes; then
9936 result=no
9937 else
9938 result=yes
9939 fi
9940 else
9941 result=$wxUSE_POSTSCRIPT
9942 fi
9943
9944 { echo "$as_me:$LINENO: result: $result" >&5
9945 echo "${ECHO_T}$result" >&6; }
9946
9947
9948 enablestring=
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9952 defaultval=yes
9953 else
9954 defaultval=no
9955 fi
9956 fi
9957
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9960 no_cache=0
9961 # Check whether --enable-svg was given.
9962 if test "${enable_svg+set}" = set; then
9963 enableval=$enable_svg;
9964 if test "$enableval" = yes; then
9965 ac_cv_use_svg='wxUSE_SVG=yes'
9966 else
9967 ac_cv_use_svg='wxUSE_SVG=no'
9968 fi
9969
9970 else
9971
9972 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9975 else
9976 no_cache=1
9977 fi
9978
9979 ac_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9980
9981 fi
9982
9983
9984 eval "$ac_cv_use_svg"
9985 if test "$no_cache" != 1; then
9986 echo $ac_cv_use_svg >> ${wx_arg_cache_file}.tmp
9987 fi
9988
9989 if test x"$enablestring" = xdisable; then
9990 if test $wxUSE_SVG = yes; then
9991 result=no
9992 else
9993 result=yes
9994 fi
9995 else
9996 result=$wxUSE_SVG
9997 fi
9998
9999 { echo "$as_me:$LINENO: result: $result" >&5
10000 echo "${ECHO_T}$result" >&6; }
10001
10002
10003
10004
10005 enablestring=
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10009 defaultval=yes
10010 else
10011 defaultval=no
10012 fi
10013 fi
10014
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10017 no_cache=0
10018 # Check whether --enable-clipboard was given.
10019 if test "${enable_clipboard+set}" = set; then
10020 enableval=$enable_clipboard;
10021 if test "$enableval" = yes; then
10022 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10023 else
10024 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10025 fi
10026
10027 else
10028
10029 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10030 if test "x$LINE" != x ; then
10031 eval "DEFAULT_$LINE"
10032 else
10033 no_cache=1
10034 fi
10035
10036 ac_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10037
10038 fi
10039
10040
10041 eval "$ac_cv_use_clipboard"
10042 if test "$no_cache" != 1; then
10043 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
10044 fi
10045
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_CLIPBOARD = yes; then
10048 result=no
10049 else
10050 result=yes
10051 fi
10052 else
10053 result=$wxUSE_CLIPBOARD
10054 fi
10055
10056 { echo "$as_me:$LINENO: result: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10058
10059
10060 enablestring=
10061 defaultval=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x"$enablestring" = xdisable; then
10064 defaultval=yes
10065 else
10066 defaultval=no
10067 fi
10068 fi
10069
10070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10072 no_cache=0
10073 # Check whether --enable-dnd was given.
10074 if test "${enable_dnd+set}" = set; then
10075 enableval=$enable_dnd;
10076 if test "$enableval" = yes; then
10077 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10078 else
10079 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10080 fi
10081
10082 else
10083
10084 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10085 if test "x$LINE" != x ; then
10086 eval "DEFAULT_$LINE"
10087 else
10088 no_cache=1
10089 fi
10090
10091 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10092
10093 fi
10094
10095
10096 eval "$ac_cv_use_dnd"
10097 if test "$no_cache" != 1; then
10098 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10099 fi
10100
10101 if test x"$enablestring" = xdisable; then
10102 if test $wxUSE_DRAG_AND_DROP = yes; then
10103 result=no
10104 else
10105 result=yes
10106 fi
10107 else
10108 result=$wxUSE_DRAG_AND_DROP
10109 fi
10110
10111 { echo "$as_me:$LINENO: result: $result" >&5
10112 echo "${ECHO_T}$result" >&6; }
10113
10114
10115 enablestring=
10116 defaultval=$wxUSE_ALL_FEATURES
10117 if test -z "$defaultval"; then
10118 if test x"$enablestring" = xdisable; then
10119 defaultval=yes
10120 else
10121 defaultval=no
10122 fi
10123 fi
10124
10125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10126 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10127 no_cache=0
10128 # Check whether --enable-metafile was given.
10129 if test "${enable_metafile+set}" = set; then
10130 enableval=$enable_metafile;
10131 if test "$enableval" = yes; then
10132 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10133 else
10134 ac_cv_use_metafile='wxUSE_METAFILE=no'
10135 fi
10136
10137 else
10138
10139 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10142 else
10143 no_cache=1
10144 fi
10145
10146 ac_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10147
10148 fi
10149
10150
10151 eval "$ac_cv_use_metafile"
10152 if test "$no_cache" != 1; then
10153 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10154 fi
10155
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_METAFILE = yes; then
10158 result=no
10159 else
10160 result=yes
10161 fi
10162 else
10163 result=$wxUSE_METAFILE
10164 fi
10165
10166 { echo "$as_me:$LINENO: result: $result" >&5
10167 echo "${ECHO_T}$result" >&6; }
10168
10169
10170
10171
10172 enablestring=
10173 defaultval=$wxUSE_ALL_FEATURES
10174 if test -z "$defaultval"; then
10175 if test x"$enablestring" = xdisable; then
10176 defaultval=yes
10177 else
10178 defaultval=no
10179 fi
10180 fi
10181
10182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10183 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10184 no_cache=0
10185 # Check whether --enable-controls was given.
10186 if test "${enable_controls+set}" = set; then
10187 enableval=$enable_controls;
10188 if test "$enableval" = yes; then
10189 ac_cv_use_controls='wxUSE_CONTROLS=yes'
10190 else
10191 ac_cv_use_controls='wxUSE_CONTROLS=no'
10192 fi
10193
10194 else
10195
10196 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10197 if test "x$LINE" != x ; then
10198 eval "DEFAULT_$LINE"
10199 else
10200 no_cache=1
10201 fi
10202
10203 ac_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10204
10205 fi
10206
10207
10208 eval "$ac_cv_use_controls"
10209 if test "$no_cache" != 1; then
10210 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
10211 fi
10212
10213 if test x"$enablestring" = xdisable; then
10214 if test $wxUSE_CONTROLS = yes; then
10215 result=no
10216 else
10217 result=yes
10218 fi
10219 else
10220 result=$wxUSE_CONTROLS
10221 fi
10222
10223 { echo "$as_me:$LINENO: result: $result" >&5
10224 echo "${ECHO_T}$result" >&6; }
10225
10226
10227 if test "$wxUSE_CONTROLS" = "yes"; then
10228 DEFAULT_wxUSE_ACCEL=yes
10229 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10230 DEFAULT_wxUSE_BMPBUTTON=yes
10231 DEFAULT_wxUSE_BUTTON=yes
10232 DEFAULT_wxUSE_CALCTRL=yes
10233 DEFAULT_wxUSE_CARET=yes
10234 DEFAULT_wxUSE_COMBOBOX=yes
10235 DEFAULT_wxUSE_CHECKBOX=yes
10236 DEFAULT_wxUSE_CHECKLISTBOX=yes
10237 DEFAULT_wxUSE_CHOICE=yes
10238 DEFAULT_wxUSE_CHOICEBOOK=yes
10239 DEFAULT_wxUSE_COLLPANE=yes
10240 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10241 DEFAULT_wxUSE_COMBOBOX=yes
10242 DEFAULT_wxUSE_DATEPICKCTRL=yes
10243 DEFAULT_wxUSE_DISPLAY=yes
10244 DEFAULT_wxUSE_DETECT_SM=yes
10245 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10246 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10247 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10248 DEFAULT_wxUSE_GAUGE=yes
10249 DEFAULT_wxUSE_GRID=yes
10250 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10251 DEFAULT_wxUSE_DATAVIEWCTRL=no
10252 DEFAULT_wxUSE_IMAGLIST=yes
10253 DEFAULT_wxUSE_LISTBOOK=yes
10254 DEFAULT_wxUSE_LISTBOX=yes
10255 DEFAULT_wxUSE_LISTCTRL=yes
10256 DEFAULT_wxUSE_NOTEBOOK=yes
10257 DEFAULT_wxUSE_RADIOBOX=yes
10258 DEFAULT_wxUSE_RADIOBTN=yes
10259 DEFAULT_wxUSE_SASH=yes
10260 DEFAULT_wxUSE_SCROLLBAR=yes
10261 DEFAULT_wxUSE_SEARCHCTRL=yes
10262 DEFAULT_wxUSE_SLIDER=yes
10263 DEFAULT_wxUSE_SPINBTN=yes
10264 DEFAULT_wxUSE_SPINCTRL=yes
10265 DEFAULT_wxUSE_SPLITTER=yes
10266 DEFAULT_wxUSE_STATBMP=yes
10267 DEFAULT_wxUSE_STATBOX=yes
10268 DEFAULT_wxUSE_STATLINE=yes
10269 DEFAULT_wxUSE_STATUSBAR=yes
10270 DEFAULT_wxUSE_TAB_DIALOG=yes
10271 DEFAULT_wxUSE_TOGGLEBTN=yes
10272 DEFAULT_wxUSE_TOOLBAR=yes
10273 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10274 DEFAULT_wxUSE_TOOLTIPS=yes
10275 DEFAULT_wxUSE_TREEBOOK=yes
10276 DEFAULT_wxUSE_TOOLBOOK=yes
10277 DEFAULT_wxUSE_TREECTRL=yes
10278 DEFAULT_wxUSE_POPUPWIN=yes
10279 DEFAULT_wxUSE_TIPWINDOW=yes
10280 elif test "$wxUSE_CONTROLS" = "no"; then
10281 DEFAULT_wxUSE_ACCEL=no
10282 DEFAULT_wxUSE_ANIMATIONCTRL=no
10283 DEFAULT_wxUSE_BMPBUTTON=no
10284 DEFAULT_wxUSE_BUTTON=no
10285 DEFAULT_wxUSE_CALCTRL=no
10286 DEFAULT_wxUSE_CARET=no
10287 DEFAULT_wxUSE_COLLPANE=no
10288 DEFAULT_wxUSE_COMBOBOX=no
10289 DEFAULT_wxUSE_CHECKBOX=no
10290 DEFAULT_wxUSE_CHECKLISTBOX=no
10291 DEFAULT_wxUSE_CHOICE=no
10292 DEFAULT_wxUSE_CHOICEBOOK=no
10293 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10294 DEFAULT_wxUSE_COMBOBOX=no
10295 DEFAULT_wxUSE_DATEPICKCTRL=no
10296 DEFAULT_wxUSE_DISPLAY=no
10297 DEFAULT_wxUSE_DETECT_SM=no
10298 DEFAULT_wxUSE_DIRPICKERCTRL=no
10299 DEFAULT_wxUSE_FILEPICKERCTRL=no
10300 DEFAULT_wxUSE_FONTPICKERCTRL=no
10301 DEFAULT_wxUSE_GAUGE=no
10302 DEFAULT_wxUSE_GRID=no
10303 DEFAULT_wxUSE_HYPERLINKCTRL=no
10304 DEFAULT_wxUSE_DATAVIEWCTRL=no
10305 DEFAULT_wxUSE_IMAGLIST=no
10306 DEFAULT_wxUSE_LISTBOOK=no
10307 DEFAULT_wxUSE_LISTBOX=no
10308 DEFAULT_wxUSE_LISTCTRL=no
10309 DEFAULT_wxUSE_NOTEBOOK=no
10310 DEFAULT_wxUSE_RADIOBOX=no
10311 DEFAULT_wxUSE_RADIOBTN=no
10312 DEFAULT_wxUSE_SASH=no
10313 DEFAULT_wxUSE_SCROLLBAR=no
10314 DEFAULT_wxUSE_SEARCHCTRL=no
10315 DEFAULT_wxUSE_SLIDER=no
10316 DEFAULT_wxUSE_SPINBTN=no
10317 DEFAULT_wxUSE_SPINCTRL=no
10318 DEFAULT_wxUSE_SPLITTER=no
10319 DEFAULT_wxUSE_STATBMP=no
10320 DEFAULT_wxUSE_STATBOX=no
10321 DEFAULT_wxUSE_STATLINE=no
10322 DEFAULT_wxUSE_STATUSBAR=no
10323 DEFAULT_wxUSE_TAB_DIALOG=no
10324 DEFAULT_wxUSE_TOGGLEBTN=no
10325 DEFAULT_wxUSE_TOOLBAR=no
10326 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10327 DEFAULT_wxUSE_TOOLTIPS=no
10328 DEFAULT_wxUSE_TREEBOOK=no
10329 DEFAULT_wxUSE_TOOLBOOK=no
10330 DEFAULT_wxUSE_TREECTRL=no
10331 DEFAULT_wxUSE_POPUPWIN=no
10332 DEFAULT_wxUSE_TIPWINDOW=no
10333 fi
10334
10335
10336 enablestring=
10337 defaultval=$wxUSE_ALL_FEATURES
10338 if test -z "$defaultval"; then
10339 if test x"$enablestring" = xdisable; then
10340 defaultval=yes
10341 else
10342 defaultval=no
10343 fi
10344 fi
10345
10346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10347 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10348 no_cache=0
10349 # Check whether --enable-accel was given.
10350 if test "${enable_accel+set}" = set; then
10351 enableval=$enable_accel;
10352 if test "$enableval" = yes; then
10353 ac_cv_use_accel='wxUSE_ACCEL=yes'
10354 else
10355 ac_cv_use_accel='wxUSE_ACCEL=no'
10356 fi
10357
10358 else
10359
10360 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10361 if test "x$LINE" != x ; then
10362 eval "DEFAULT_$LINE"
10363 else
10364 no_cache=1
10365 fi
10366
10367 ac_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10368
10369 fi
10370
10371
10372 eval "$ac_cv_use_accel"
10373 if test "$no_cache" != 1; then
10374 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
10375 fi
10376
10377 if test x"$enablestring" = xdisable; then
10378 if test $wxUSE_ACCEL = yes; then
10379 result=no
10380 else
10381 result=yes
10382 fi
10383 else
10384 result=$wxUSE_ACCEL
10385 fi
10386
10387 { echo "$as_me:$LINENO: result: $result" >&5
10388 echo "${ECHO_T}$result" >&6; }
10389
10390
10391 enablestring=
10392 defaultval=$wxUSE_ALL_FEATURES
10393 if test -z "$defaultval"; then
10394 if test x"$enablestring" = xdisable; then
10395 defaultval=yes
10396 else
10397 defaultval=no
10398 fi
10399 fi
10400
10401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10402 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10403 no_cache=0
10404 # Check whether --enable-animatectrl was given.
10405 if test "${enable_animatectrl+set}" = set; then
10406 enableval=$enable_animatectrl;
10407 if test "$enableval" = yes; then
10408 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10409 else
10410 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10411 fi
10412
10413 else
10414
10415 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10416 if test "x$LINE" != x ; then
10417 eval "DEFAULT_$LINE"
10418 else
10419 no_cache=1
10420 fi
10421
10422 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10423
10424 fi
10425
10426
10427 eval "$ac_cv_use_animatectrl"
10428 if test "$no_cache" != 1; then
10429 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10430 fi
10431
10432 if test x"$enablestring" = xdisable; then
10433 if test $wxUSE_ANIMATIONCTRL = yes; then
10434 result=no
10435 else
10436 result=yes
10437 fi
10438 else
10439 result=$wxUSE_ANIMATIONCTRL
10440 fi
10441
10442 { echo "$as_me:$LINENO: result: $result" >&5
10443 echo "${ECHO_T}$result" >&6; }
10444
10445
10446 enablestring=
10447 defaultval=$wxUSE_ALL_FEATURES
10448 if test -z "$defaultval"; then
10449 if test x"$enablestring" = xdisable; then
10450 defaultval=yes
10451 else
10452 defaultval=no
10453 fi
10454 fi
10455
10456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10457 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10458 no_cache=0
10459 # Check whether --enable-button was given.
10460 if test "${enable_button+set}" = set; then
10461 enableval=$enable_button;
10462 if test "$enableval" = yes; then
10463 ac_cv_use_button='wxUSE_BUTTON=yes'
10464 else
10465 ac_cv_use_button='wxUSE_BUTTON=no'
10466 fi
10467
10468 else
10469
10470 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10471 if test "x$LINE" != x ; then
10472 eval "DEFAULT_$LINE"
10473 else
10474 no_cache=1
10475 fi
10476
10477 ac_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10478
10479 fi
10480
10481
10482 eval "$ac_cv_use_button"
10483 if test "$no_cache" != 1; then
10484 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
10485 fi
10486
10487 if test x"$enablestring" = xdisable; then
10488 if test $wxUSE_BUTTON = yes; then
10489 result=no
10490 else
10491 result=yes
10492 fi
10493 else
10494 result=$wxUSE_BUTTON
10495 fi
10496
10497 { echo "$as_me:$LINENO: result: $result" >&5
10498 echo "${ECHO_T}$result" >&6; }
10499
10500
10501 enablestring=
10502 defaultval=$wxUSE_ALL_FEATURES
10503 if test -z "$defaultval"; then
10504 if test x"$enablestring" = xdisable; then
10505 defaultval=yes
10506 else
10507 defaultval=no
10508 fi
10509 fi
10510
10511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10512 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10513 no_cache=0
10514 # Check whether --enable-bmpbutton was given.
10515 if test "${enable_bmpbutton+set}" = set; then
10516 enableval=$enable_bmpbutton;
10517 if test "$enableval" = yes; then
10518 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10519 else
10520 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10521 fi
10522
10523 else
10524
10525 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10526 if test "x$LINE" != x ; then
10527 eval "DEFAULT_$LINE"
10528 else
10529 no_cache=1
10530 fi
10531
10532 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10533
10534 fi
10535
10536
10537 eval "$ac_cv_use_bmpbutton"
10538 if test "$no_cache" != 1; then
10539 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10540 fi
10541
10542 if test x"$enablestring" = xdisable; then
10543 if test $wxUSE_BMPBUTTON = yes; then
10544 result=no
10545 else
10546 result=yes
10547 fi
10548 else
10549 result=$wxUSE_BMPBUTTON
10550 fi
10551
10552 { echo "$as_me:$LINENO: result: $result" >&5
10553 echo "${ECHO_T}$result" >&6; }
10554
10555
10556 enablestring=
10557 defaultval=$wxUSE_ALL_FEATURES
10558 if test -z "$defaultval"; then
10559 if test x"$enablestring" = xdisable; then
10560 defaultval=yes
10561 else
10562 defaultval=no
10563 fi
10564 fi
10565
10566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10567 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10568 no_cache=0
10569 # Check whether --enable-bmpcombobox was given.
10570 if test "${enable_bmpcombobox+set}" = set; then
10571 enableval=$enable_bmpcombobox;
10572 if test "$enableval" = yes; then
10573 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10574 else
10575 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10576 fi
10577
10578 else
10579
10580 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10581 if test "x$LINE" != x ; then
10582 eval "DEFAULT_$LINE"
10583 else
10584 no_cache=1
10585 fi
10586
10587 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10588
10589 fi
10590
10591
10592 eval "$ac_cv_use_bmpcombobox"
10593 if test "$no_cache" != 1; then
10594 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10595 fi
10596
10597 if test x"$enablestring" = xdisable; then
10598 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10599 result=no
10600 else
10601 result=yes
10602 fi
10603 else
10604 result=$wxUSE_BITMAPCOMBOBOX
10605 fi
10606
10607 { echo "$as_me:$LINENO: result: $result" >&5
10608 echo "${ECHO_T}$result" >&6; }
10609
10610
10611 enablestring=
10612 defaultval=$wxUSE_ALL_FEATURES
10613 if test -z "$defaultval"; then
10614 if test x"$enablestring" = xdisable; then
10615 defaultval=yes
10616 else
10617 defaultval=no
10618 fi
10619 fi
10620
10621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10622 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10623 no_cache=0
10624 # Check whether --enable-calendar was given.
10625 if test "${enable_calendar+set}" = set; then
10626 enableval=$enable_calendar;
10627 if test "$enableval" = yes; then
10628 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
10629 else
10630 ac_cv_use_calendar='wxUSE_CALCTRL=no'
10631 fi
10632
10633 else
10634
10635 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10636 if test "x$LINE" != x ; then
10637 eval "DEFAULT_$LINE"
10638 else
10639 no_cache=1
10640 fi
10641
10642 ac_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10643
10644 fi
10645
10646
10647 eval "$ac_cv_use_calendar"
10648 if test "$no_cache" != 1; then
10649 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10650 fi
10651
10652 if test x"$enablestring" = xdisable; then
10653 if test $wxUSE_CALCTRL = yes; then
10654 result=no
10655 else
10656 result=yes
10657 fi
10658 else
10659 result=$wxUSE_CALCTRL
10660 fi
10661
10662 { echo "$as_me:$LINENO: result: $result" >&5
10663 echo "${ECHO_T}$result" >&6; }
10664
10665
10666 enablestring=
10667 defaultval=$wxUSE_ALL_FEATURES
10668 if test -z "$defaultval"; then
10669 if test x"$enablestring" = xdisable; then
10670 defaultval=yes
10671 else
10672 defaultval=no
10673 fi
10674 fi
10675
10676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10677 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10678 no_cache=0
10679 # Check whether --enable-caret was given.
10680 if test "${enable_caret+set}" = set; then
10681 enableval=$enable_caret;
10682 if test "$enableval" = yes; then
10683 ac_cv_use_caret='wxUSE_CARET=yes'
10684 else
10685 ac_cv_use_caret='wxUSE_CARET=no'
10686 fi
10687
10688 else
10689
10690 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10691 if test "x$LINE" != x ; then
10692 eval "DEFAULT_$LINE"
10693 else
10694 no_cache=1
10695 fi
10696
10697 ac_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10698
10699 fi
10700
10701
10702 eval "$ac_cv_use_caret"
10703 if test "$no_cache" != 1; then
10704 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
10705 fi
10706
10707 if test x"$enablestring" = xdisable; then
10708 if test $wxUSE_CARET = yes; then
10709 result=no
10710 else
10711 result=yes
10712 fi
10713 else
10714 result=$wxUSE_CARET
10715 fi
10716
10717 { echo "$as_me:$LINENO: result: $result" >&5
10718 echo "${ECHO_T}$result" >&6; }
10719
10720
10721 enablestring=
10722 defaultval=$wxUSE_ALL_FEATURES
10723 if test -z "$defaultval"; then
10724 if test x"$enablestring" = xdisable; then
10725 defaultval=yes
10726 else
10727 defaultval=no
10728 fi
10729 fi
10730
10731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10733 no_cache=0
10734 # Check whether --enable-checkbox was given.
10735 if test "${enable_checkbox+set}" = set; then
10736 enableval=$enable_checkbox;
10737 if test "$enableval" = yes; then
10738 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10739 else
10740 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
10741 fi
10742
10743 else
10744
10745 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10746 if test "x$LINE" != x ; then
10747 eval "DEFAULT_$LINE"
10748 else
10749 no_cache=1
10750 fi
10751
10752 ac_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10753
10754 fi
10755
10756
10757 eval "$ac_cv_use_checkbox"
10758 if test "$no_cache" != 1; then
10759 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
10760 fi
10761
10762 if test x"$enablestring" = xdisable; then
10763 if test $wxUSE_CHECKBOX = yes; then
10764 result=no
10765 else
10766 result=yes
10767 fi
10768 else
10769 result=$wxUSE_CHECKBOX
10770 fi
10771
10772 { echo "$as_me:$LINENO: result: $result" >&5
10773 echo "${ECHO_T}$result" >&6; }
10774
10775
10776 enablestring=
10777 defaultval=$wxUSE_ALL_FEATURES
10778 if test -z "$defaultval"; then
10779 if test x"$enablestring" = xdisable; then
10780 defaultval=yes
10781 else
10782 defaultval=no
10783 fi
10784 fi
10785
10786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10788 no_cache=0
10789 # Check whether --enable-checklst was given.
10790 if test "${enable_checklst+set}" = set; then
10791 enableval=$enable_checklst;
10792 if test "$enableval" = yes; then
10793 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
10794 else
10795 ac_cv_use_checklst='wxUSE_CHECKLST=no'
10796 fi
10797
10798 else
10799
10800 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10801 if test "x$LINE" != x ; then
10802 eval "DEFAULT_$LINE"
10803 else
10804 no_cache=1
10805 fi
10806
10807 ac_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10808
10809 fi
10810
10811
10812 eval "$ac_cv_use_checklst"
10813 if test "$no_cache" != 1; then
10814 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
10815 fi
10816
10817 if test x"$enablestring" = xdisable; then
10818 if test $wxUSE_CHECKLST = yes; then
10819 result=no
10820 else
10821 result=yes
10822 fi
10823 else
10824 result=$wxUSE_CHECKLST
10825 fi
10826
10827 { echo "$as_me:$LINENO: result: $result" >&5
10828 echo "${ECHO_T}$result" >&6; }
10829
10830
10831 enablestring=
10832 defaultval=$wxUSE_ALL_FEATURES
10833 if test -z "$defaultval"; then
10834 if test x"$enablestring" = xdisable; then
10835 defaultval=yes
10836 else
10837 defaultval=no
10838 fi
10839 fi
10840
10841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10842 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10843 no_cache=0
10844 # Check whether --enable-choice was given.
10845 if test "${enable_choice+set}" = set; then
10846 enableval=$enable_choice;
10847 if test "$enableval" = yes; then
10848 ac_cv_use_choice='wxUSE_CHOICE=yes'
10849 else
10850 ac_cv_use_choice='wxUSE_CHOICE=no'
10851 fi
10852
10853 else
10854
10855 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10856 if test "x$LINE" != x ; then
10857 eval "DEFAULT_$LINE"
10858 else
10859 no_cache=1
10860 fi
10861
10862 ac_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10863
10864 fi
10865
10866
10867 eval "$ac_cv_use_choice"
10868 if test "$no_cache" != 1; then
10869 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
10870 fi
10871
10872 if test x"$enablestring" = xdisable; then
10873 if test $wxUSE_CHOICE = yes; then
10874 result=no
10875 else
10876 result=yes
10877 fi
10878 else
10879 result=$wxUSE_CHOICE
10880 fi
10881
10882 { echo "$as_me:$LINENO: result: $result" >&5
10883 echo "${ECHO_T}$result" >&6; }
10884
10885
10886 enablestring=
10887 defaultval=$wxUSE_ALL_FEATURES
10888 if test -z "$defaultval"; then
10889 if test x"$enablestring" = xdisable; then
10890 defaultval=yes
10891 else
10892 defaultval=no
10893 fi
10894 fi
10895
10896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10897 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10898 no_cache=0
10899 # Check whether --enable-choicebook was given.
10900 if test "${enable_choicebook+set}" = set; then
10901 enableval=$enable_choicebook;
10902 if test "$enableval" = yes; then
10903 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10904 else
10905 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10906 fi
10907
10908 else
10909
10910 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10911 if test "x$LINE" != x ; then
10912 eval "DEFAULT_$LINE"
10913 else
10914 no_cache=1
10915 fi
10916
10917 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10918
10919 fi
10920
10921
10922 eval "$ac_cv_use_choicebook"
10923 if test "$no_cache" != 1; then
10924 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
10925 fi
10926
10927 if test x"$enablestring" = xdisable; then
10928 if test $wxUSE_CHOICEBOOK = yes; then
10929 result=no
10930 else
10931 result=yes
10932 fi
10933 else
10934 result=$wxUSE_CHOICEBOOK
10935 fi
10936
10937 { echo "$as_me:$LINENO: result: $result" >&5
10938 echo "${ECHO_T}$result" >&6; }
10939
10940
10941 enablestring=
10942 defaultval=$wxUSE_ALL_FEATURES
10943 if test -z "$defaultval"; then
10944 if test x"$enablestring" = xdisable; then
10945 defaultval=yes
10946 else
10947 defaultval=no
10948 fi
10949 fi
10950
10951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10952 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10953 no_cache=0
10954 # Check whether --enable-collpane was given.
10955 if test "${enable_collpane+set}" = set; then
10956 enableval=$enable_collpane;
10957 if test "$enableval" = yes; then
10958 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
10959 else
10960 ac_cv_use_collpane='wxUSE_COLLPANE=no'
10961 fi
10962
10963 else
10964
10965 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10966 if test "x$LINE" != x ; then
10967 eval "DEFAULT_$LINE"
10968 else
10969 no_cache=1
10970 fi
10971
10972 ac_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10973
10974 fi
10975
10976
10977 eval "$ac_cv_use_collpane"
10978 if test "$no_cache" != 1; then
10979 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
10980 fi
10981
10982 if test x"$enablestring" = xdisable; then
10983 if test $wxUSE_COLLPANE = yes; then
10984 result=no
10985 else
10986 result=yes
10987 fi
10988 else
10989 result=$wxUSE_COLLPANE
10990 fi
10991
10992 { echo "$as_me:$LINENO: result: $result" >&5
10993 echo "${ECHO_T}$result" >&6; }
10994
10995
10996 enablestring=
10997 defaultval=$wxUSE_ALL_FEATURES
10998 if test -z "$defaultval"; then
10999 if test x"$enablestring" = xdisable; then
11000 defaultval=yes
11001 else
11002 defaultval=no
11003 fi
11004 fi
11005
11006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11007 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11008 no_cache=0
11009 # Check whether --enable-colourpicker was given.
11010 if test "${enable_colourpicker+set}" = set; then
11011 enableval=$enable_colourpicker;
11012 if test "$enableval" = yes; then
11013 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11014 else
11015 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11016 fi
11017
11018 else
11019
11020 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11021 if test "x$LINE" != x ; then
11022 eval "DEFAULT_$LINE"
11023 else
11024 no_cache=1
11025 fi
11026
11027 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11028
11029 fi
11030
11031
11032 eval "$ac_cv_use_colourpicker"
11033 if test "$no_cache" != 1; then
11034 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
11035 fi
11036
11037 if test x"$enablestring" = xdisable; then
11038 if test $wxUSE_COLOURPICKERCTRL = yes; then
11039 result=no
11040 else
11041 result=yes
11042 fi
11043 else
11044 result=$wxUSE_COLOURPICKERCTRL
11045 fi
11046
11047 { echo "$as_me:$LINENO: result: $result" >&5
11048 echo "${ECHO_T}$result" >&6; }
11049
11050
11051 enablestring=
11052 defaultval=$wxUSE_ALL_FEATURES
11053 if test -z "$defaultval"; then
11054 if test x"$enablestring" = xdisable; then
11055 defaultval=yes
11056 else
11057 defaultval=no
11058 fi
11059 fi
11060
11061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11062 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11063 no_cache=0
11064 # Check whether --enable-combobox was given.
11065 if test "${enable_combobox+set}" = set; then
11066 enableval=$enable_combobox;
11067 if test "$enableval" = yes; then
11068 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
11069 else
11070 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
11071 fi
11072
11073 else
11074
11075 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11076 if test "x$LINE" != x ; then
11077 eval "DEFAULT_$LINE"
11078 else
11079 no_cache=1
11080 fi
11081
11082 ac_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11083
11084 fi
11085
11086
11087 eval "$ac_cv_use_combobox"
11088 if test "$no_cache" != 1; then
11089 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11090 fi
11091
11092 if test x"$enablestring" = xdisable; then
11093 if test $wxUSE_COMBOBOX = yes; then
11094 result=no
11095 else
11096 result=yes
11097 fi
11098 else
11099 result=$wxUSE_COMBOBOX
11100 fi
11101
11102 { echo "$as_me:$LINENO: result: $result" >&5
11103 echo "${ECHO_T}$result" >&6; }
11104
11105
11106 enablestring=
11107 defaultval=$wxUSE_ALL_FEATURES
11108 if test -z "$defaultval"; then
11109 if test x"$enablestring" = xdisable; then
11110 defaultval=yes
11111 else
11112 defaultval=no
11113 fi
11114 fi
11115
11116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11117 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11118 no_cache=0
11119 # Check whether --enable-comboctrl was given.
11120 if test "${enable_comboctrl+set}" = set; then
11121 enableval=$enable_comboctrl;
11122 if test "$enableval" = yes; then
11123 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11124 else
11125 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11126 fi
11127
11128 else
11129
11130 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11131 if test "x$LINE" != x ; then
11132 eval "DEFAULT_$LINE"
11133 else
11134 no_cache=1
11135 fi
11136
11137 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11138
11139 fi
11140
11141
11142 eval "$ac_cv_use_comboctrl"
11143 if test "$no_cache" != 1; then
11144 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11145 fi
11146
11147 if test x"$enablestring" = xdisable; then
11148 if test $wxUSE_COMBOCTRL = yes; then
11149 result=no
11150 else
11151 result=yes
11152 fi
11153 else
11154 result=$wxUSE_COMBOCTRL
11155 fi
11156
11157 { echo "$as_me:$LINENO: result: $result" >&5
11158 echo "${ECHO_T}$result" >&6; }
11159
11160
11161 enablestring=
11162 defaultval=$wxUSE_ALL_FEATURES
11163 if test -z "$defaultval"; then
11164 if test x"$enablestring" = xdisable; then
11165 defaultval=yes
11166 else
11167 defaultval=no
11168 fi
11169 fi
11170
11171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11172 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11173 no_cache=0
11174 # Check whether --enable-datepick was given.
11175 if test "${enable_datepick+set}" = set; then
11176 enableval=$enable_datepick;
11177 if test "$enableval" = yes; then
11178 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11179 else
11180 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11181 fi
11182
11183 else
11184
11185 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11186 if test "x$LINE" != x ; then
11187 eval "DEFAULT_$LINE"
11188 else
11189 no_cache=1
11190 fi
11191
11192 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11193
11194 fi
11195
11196
11197 eval "$ac_cv_use_datepick"
11198 if test "$no_cache" != 1; then
11199 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11200 fi
11201
11202 if test x"$enablestring" = xdisable; then
11203 if test $wxUSE_DATEPICKCTRL = yes; then
11204 result=no
11205 else
11206 result=yes
11207 fi
11208 else
11209 result=$wxUSE_DATEPICKCTRL
11210 fi
11211
11212 { echo "$as_me:$LINENO: result: $result" >&5
11213 echo "${ECHO_T}$result" >&6; }
11214
11215
11216 enablestring=
11217 defaultval=$wxUSE_ALL_FEATURES
11218 if test -z "$defaultval"; then
11219 if test x"$enablestring" = xdisable; then
11220 defaultval=yes
11221 else
11222 defaultval=no
11223 fi
11224 fi
11225
11226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11227 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11228 no_cache=0
11229 # Check whether --enable-dirpicker was given.
11230 if test "${enable_dirpicker+set}" = set; then
11231 enableval=$enable_dirpicker;
11232 if test "$enableval" = yes; then
11233 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11234 else
11235 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11236 fi
11237
11238 else
11239
11240 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11241 if test "x$LINE" != x ; then
11242 eval "DEFAULT_$LINE"
11243 else
11244 no_cache=1
11245 fi
11246
11247 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11248
11249 fi
11250
11251
11252 eval "$ac_cv_use_dirpicker"
11253 if test "$no_cache" != 1; then
11254 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11255 fi
11256
11257 if test x"$enablestring" = xdisable; then
11258 if test $wxUSE_DIRPICKERCTRL = yes; then
11259 result=no
11260 else
11261 result=yes
11262 fi
11263 else
11264 result=$wxUSE_DIRPICKERCTRL
11265 fi
11266
11267 { echo "$as_me:$LINENO: result: $result" >&5
11268 echo "${ECHO_T}$result" >&6; }
11269
11270
11271 enablestring=
11272 defaultval=$wxUSE_ALL_FEATURES
11273 if test -z "$defaultval"; then
11274 if test x"$enablestring" = xdisable; then
11275 defaultval=yes
11276 else
11277 defaultval=no
11278 fi
11279 fi
11280
11281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11282 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11283 no_cache=0
11284 # Check whether --enable-display was given.
11285 if test "${enable_display+set}" = set; then
11286 enableval=$enable_display;
11287 if test "$enableval" = yes; then
11288 ac_cv_use_display='wxUSE_DISPLAY=yes'
11289 else
11290 ac_cv_use_display='wxUSE_DISPLAY=no'
11291 fi
11292
11293 else
11294
11295 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11296 if test "x$LINE" != x ; then
11297 eval "DEFAULT_$LINE"
11298 else
11299 no_cache=1
11300 fi
11301
11302 ac_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11303
11304 fi
11305
11306
11307 eval "$ac_cv_use_display"
11308 if test "$no_cache" != 1; then
11309 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
11310 fi
11311
11312 if test x"$enablestring" = xdisable; then
11313 if test $wxUSE_DISPLAY = yes; then
11314 result=no
11315 else
11316 result=yes
11317 fi
11318 else
11319 result=$wxUSE_DISPLAY
11320 fi
11321
11322 { echo "$as_me:$LINENO: result: $result" >&5
11323 echo "${ECHO_T}$result" >&6; }
11324
11325
11326 enablestring=
11327 defaultval=$wxUSE_ALL_FEATURES
11328 if test -z "$defaultval"; then
11329 if test x"$enablestring" = xdisable; then
11330 defaultval=yes
11331 else
11332 defaultval=no
11333 fi
11334 fi
11335
11336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11337 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11338 no_cache=0
11339 # Check whether --enable-detect_sm was given.
11340 if test "${enable_detect_sm+set}" = set; then
11341 enableval=$enable_detect_sm;
11342 if test "$enableval" = yes; then
11343 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11344 else
11345 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11346 fi
11347
11348 else
11349
11350 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11351 if test "x$LINE" != x ; then
11352 eval "DEFAULT_$LINE"
11353 else
11354 no_cache=1
11355 fi
11356
11357 ac_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11358
11359 fi
11360
11361
11362 eval "$ac_cv_use_detect_sm"
11363 if test "$no_cache" != 1; then
11364 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11365 fi
11366
11367 if test x"$enablestring" = xdisable; then
11368 if test $wxUSE_DETECT_SM = yes; then
11369 result=no
11370 else
11371 result=yes
11372 fi
11373 else
11374 result=$wxUSE_DETECT_SM
11375 fi
11376
11377 { echo "$as_me:$LINENO: result: $result" >&5
11378 echo "${ECHO_T}$result" >&6; }
11379
11380
11381 enablestring=
11382 defaultval=$wxUSE_ALL_FEATURES
11383 if test -z "$defaultval"; then
11384 if test x"$enablestring" = xdisable; then
11385 defaultval=yes
11386 else
11387 defaultval=no
11388 fi
11389 fi
11390
11391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11392 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11393 no_cache=0
11394 # Check whether --enable-editablebox was given.
11395 if test "${enable_editablebox+set}" = set; then
11396 enableval=$enable_editablebox;
11397 if test "$enableval" = yes; then
11398 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11399 else
11400 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11401 fi
11402
11403 else
11404
11405 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11406 if test "x$LINE" != x ; then
11407 eval "DEFAULT_$LINE"
11408 else
11409 no_cache=1
11410 fi
11411
11412 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11413
11414 fi
11415
11416
11417 eval "$ac_cv_use_editablebox"
11418 if test "$no_cache" != 1; then
11419 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11420 fi
11421
11422 if test x"$enablestring" = xdisable; then
11423 if test $wxUSE_EDITABLELISTBOX = yes; then
11424 result=no
11425 else
11426 result=yes
11427 fi
11428 else
11429 result=$wxUSE_EDITABLELISTBOX
11430 fi
11431
11432 { echo "$as_me:$LINENO: result: $result" >&5
11433 echo "${ECHO_T}$result" >&6; }
11434
11435
11436 enablestring=
11437 defaultval=$wxUSE_ALL_FEATURES
11438 if test -z "$defaultval"; then
11439 if test x"$enablestring" = xdisable; then
11440 defaultval=yes
11441 else
11442 defaultval=no
11443 fi
11444 fi
11445
11446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11447 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11448 no_cache=0
11449 # Check whether --enable-filepicker was given.
11450 if test "${enable_filepicker+set}" = set; then
11451 enableval=$enable_filepicker;
11452 if test "$enableval" = yes; then
11453 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11454 else
11455 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11456 fi
11457
11458 else
11459
11460 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11461 if test "x$LINE" != x ; then
11462 eval "DEFAULT_$LINE"
11463 else
11464 no_cache=1
11465 fi
11466
11467 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11468
11469 fi
11470
11471
11472 eval "$ac_cv_use_filepicker"
11473 if test "$no_cache" != 1; then
11474 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11475 fi
11476
11477 if test x"$enablestring" = xdisable; then
11478 if test $wxUSE_FILEPICKERCTRL = yes; then
11479 result=no
11480 else
11481 result=yes
11482 fi
11483 else
11484 result=$wxUSE_FILEPICKERCTRL
11485 fi
11486
11487 { echo "$as_me:$LINENO: result: $result" >&5
11488 echo "${ECHO_T}$result" >&6; }
11489
11490
11491 enablestring=
11492 defaultval=$wxUSE_ALL_FEATURES
11493 if test -z "$defaultval"; then
11494 if test x"$enablestring" = xdisable; then
11495 defaultval=yes
11496 else
11497 defaultval=no
11498 fi
11499 fi
11500
11501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11502 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11503 no_cache=0
11504 # Check whether --enable-fontpicker was given.
11505 if test "${enable_fontpicker+set}" = set; then
11506 enableval=$enable_fontpicker;
11507 if test "$enableval" = yes; then
11508 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11509 else
11510 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11511 fi
11512
11513 else
11514
11515 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11516 if test "x$LINE" != x ; then
11517 eval "DEFAULT_$LINE"
11518 else
11519 no_cache=1
11520 fi
11521
11522 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11523
11524 fi
11525
11526
11527 eval "$ac_cv_use_fontpicker"
11528 if test "$no_cache" != 1; then
11529 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11530 fi
11531
11532 if test x"$enablestring" = xdisable; then
11533 if test $wxUSE_FONTPICKERCTRL = yes; then
11534 result=no
11535 else
11536 result=yes
11537 fi
11538 else
11539 result=$wxUSE_FONTPICKERCTRL
11540 fi
11541
11542 { echo "$as_me:$LINENO: result: $result" >&5
11543 echo "${ECHO_T}$result" >&6; }
11544
11545
11546 enablestring=
11547 defaultval=$wxUSE_ALL_FEATURES
11548 if test -z "$defaultval"; then
11549 if test x"$enablestring" = xdisable; then
11550 defaultval=yes
11551 else
11552 defaultval=no
11553 fi
11554 fi
11555
11556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11557 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11558 no_cache=0
11559 # Check whether --enable-gauge was given.
11560 if test "${enable_gauge+set}" = set; then
11561 enableval=$enable_gauge;
11562 if test "$enableval" = yes; then
11563 ac_cv_use_gauge='wxUSE_GAUGE=yes'
11564 else
11565 ac_cv_use_gauge='wxUSE_GAUGE=no'
11566 fi
11567
11568 else
11569
11570 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11571 if test "x$LINE" != x ; then
11572 eval "DEFAULT_$LINE"
11573 else
11574 no_cache=1
11575 fi
11576
11577 ac_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11578
11579 fi
11580
11581
11582 eval "$ac_cv_use_gauge"
11583 if test "$no_cache" != 1; then
11584 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11585 fi
11586
11587 if test x"$enablestring" = xdisable; then
11588 if test $wxUSE_GAUGE = yes; then
11589 result=no
11590 else
11591 result=yes
11592 fi
11593 else
11594 result=$wxUSE_GAUGE
11595 fi
11596
11597 { echo "$as_me:$LINENO: result: $result" >&5
11598 echo "${ECHO_T}$result" >&6; }
11599
11600
11601 enablestring=
11602 defaultval=$wxUSE_ALL_FEATURES
11603 if test -z "$defaultval"; then
11604 if test x"$enablestring" = xdisable; then
11605 defaultval=yes
11606 else
11607 defaultval=no
11608 fi
11609 fi
11610
11611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11612 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11613 no_cache=0
11614 # Check whether --enable-grid was given.
11615 if test "${enable_grid+set}" = set; then
11616 enableval=$enable_grid;
11617 if test "$enableval" = yes; then
11618 ac_cv_use_grid='wxUSE_GRID=yes'
11619 else
11620 ac_cv_use_grid='wxUSE_GRID=no'
11621 fi
11622
11623 else
11624
11625 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11626 if test "x$LINE" != x ; then
11627 eval "DEFAULT_$LINE"
11628 else
11629 no_cache=1
11630 fi
11631
11632 ac_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11633
11634 fi
11635
11636
11637 eval "$ac_cv_use_grid"
11638 if test "$no_cache" != 1; then
11639 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
11640 fi
11641
11642 if test x"$enablestring" = xdisable; then
11643 if test $wxUSE_GRID = yes; then
11644 result=no
11645 else
11646 result=yes
11647 fi
11648 else
11649 result=$wxUSE_GRID
11650 fi
11651
11652 { echo "$as_me:$LINENO: result: $result" >&5
11653 echo "${ECHO_T}$result" >&6; }
11654
11655
11656 enablestring=
11657 defaultval=$wxUSE_ALL_FEATURES
11658 if test -z "$defaultval"; then
11659 if test x"$enablestring" = xdisable; then
11660 defaultval=yes
11661 else
11662 defaultval=no
11663 fi
11664 fi
11665
11666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11667 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11668 no_cache=0
11669 # Check whether --enable-dataviewctrl was given.
11670 if test "${enable_dataviewctrl+set}" = set; then
11671 enableval=$enable_dataviewctrl;
11672 if test "$enableval" = yes; then
11673 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11674 else
11675 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11676 fi
11677
11678 else
11679
11680 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11681 if test "x$LINE" != x ; then
11682 eval "DEFAULT_$LINE"
11683 else
11684 no_cache=1
11685 fi
11686
11687 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11688
11689 fi
11690
11691
11692 eval "$ac_cv_use_dataviewctrl"
11693 if test "$no_cache" != 1; then
11694 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11695 fi
11696
11697 if test x"$enablestring" = xdisable; then
11698 if test $wxUSE_DATAVIEWCTRL = yes; then
11699 result=no
11700 else
11701 result=yes
11702 fi
11703 else
11704 result=$wxUSE_DATAVIEWCTRL
11705 fi
11706
11707 { echo "$as_me:$LINENO: result: $result" >&5
11708 echo "${ECHO_T}$result" >&6; }
11709
11710
11711 enablestring=
11712 defaultval=$wxUSE_ALL_FEATURES
11713 if test -z "$defaultval"; then
11714 if test x"$enablestring" = xdisable; then
11715 defaultval=yes
11716 else
11717 defaultval=no
11718 fi
11719 fi
11720
11721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11722 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11723 no_cache=0
11724 # Check whether --enable-hyperlink was given.
11725 if test "${enable_hyperlink+set}" = set; then
11726 enableval=$enable_hyperlink;
11727 if test "$enableval" = yes; then
11728 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11729 else
11730 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11731 fi
11732
11733 else
11734
11735 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11736 if test "x$LINE" != x ; then
11737 eval "DEFAULT_$LINE"
11738 else
11739 no_cache=1
11740 fi
11741
11742 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11743
11744 fi
11745
11746
11747 eval "$ac_cv_use_hyperlink"
11748 if test "$no_cache" != 1; then
11749 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
11750 fi
11751
11752 if test x"$enablestring" = xdisable; then
11753 if test $wxUSE_HYPERLINKCTRL = yes; then
11754 result=no
11755 else
11756 result=yes
11757 fi
11758 else
11759 result=$wxUSE_HYPERLINKCTRL
11760 fi
11761
11762 { echo "$as_me:$LINENO: result: $result" >&5
11763 echo "${ECHO_T}$result" >&6; }
11764
11765
11766 enablestring=
11767 defaultval=$wxUSE_ALL_FEATURES
11768 if test -z "$defaultval"; then
11769 if test x"$enablestring" = xdisable; then
11770 defaultval=yes
11771 else
11772 defaultval=no
11773 fi
11774 fi
11775
11776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11777 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11778 no_cache=0
11779 # Check whether --enable-imaglist was given.
11780 if test "${enable_imaglist+set}" = set; then
11781 enableval=$enable_imaglist;
11782 if test "$enableval" = yes; then
11783 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11784 else
11785 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
11786 fi
11787
11788 else
11789
11790 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11791 if test "x$LINE" != x ; then
11792 eval "DEFAULT_$LINE"
11793 else
11794 no_cache=1
11795 fi
11796
11797 ac_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11798
11799 fi
11800
11801
11802 eval "$ac_cv_use_imaglist"
11803 if test "$no_cache" != 1; then
11804 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
11805 fi
11806
11807 if test x"$enablestring" = xdisable; then
11808 if test $wxUSE_IMAGLIST = yes; then
11809 result=no
11810 else
11811 result=yes
11812 fi
11813 else
11814 result=$wxUSE_IMAGLIST
11815 fi
11816
11817 { echo "$as_me:$LINENO: result: $result" >&5
11818 echo "${ECHO_T}$result" >&6; }
11819
11820
11821 enablestring=
11822 defaultval=$wxUSE_ALL_FEATURES
11823 if test -z "$defaultval"; then
11824 if test x"$enablestring" = xdisable; then
11825 defaultval=yes
11826 else
11827 defaultval=no
11828 fi
11829 fi
11830
11831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11832 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11833 no_cache=0
11834 # Check whether --enable-listbook was given.
11835 if test "${enable_listbook+set}" = set; then
11836 enableval=$enable_listbook;
11837 if test "$enableval" = yes; then
11838 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
11839 else
11840 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
11841 fi
11842
11843 else
11844
11845 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11846 if test "x$LINE" != x ; then
11847 eval "DEFAULT_$LINE"
11848 else
11849 no_cache=1
11850 fi
11851
11852 ac_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11853
11854 fi
11855
11856
11857 eval "$ac_cv_use_listbook"
11858 if test "$no_cache" != 1; then
11859 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
11860 fi
11861
11862 if test x"$enablestring" = xdisable; then
11863 if test $wxUSE_LISTBOOK = yes; then
11864 result=no
11865 else
11866 result=yes
11867 fi
11868 else
11869 result=$wxUSE_LISTBOOK
11870 fi
11871
11872 { echo "$as_me:$LINENO: result: $result" >&5
11873 echo "${ECHO_T}$result" >&6; }
11874
11875
11876 enablestring=
11877 defaultval=$wxUSE_ALL_FEATURES
11878 if test -z "$defaultval"; then
11879 if test x"$enablestring" = xdisable; then
11880 defaultval=yes
11881 else
11882 defaultval=no
11883 fi
11884 fi
11885
11886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11887 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11888 no_cache=0
11889 # Check whether --enable-listbox was given.
11890 if test "${enable_listbox+set}" = set; then
11891 enableval=$enable_listbox;
11892 if test "$enableval" = yes; then
11893 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
11894 else
11895 ac_cv_use_listbox='wxUSE_LISTBOX=no'
11896 fi
11897
11898 else
11899
11900 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11901 if test "x$LINE" != x ; then
11902 eval "DEFAULT_$LINE"
11903 else
11904 no_cache=1
11905 fi
11906
11907 ac_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11908
11909 fi
11910
11911
11912 eval "$ac_cv_use_listbox"
11913 if test "$no_cache" != 1; then
11914 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
11915 fi
11916
11917 if test x"$enablestring" = xdisable; then
11918 if test $wxUSE_LISTBOX = yes; then
11919 result=no
11920 else
11921 result=yes
11922 fi
11923 else
11924 result=$wxUSE_LISTBOX
11925 fi
11926
11927 { echo "$as_me:$LINENO: result: $result" >&5
11928 echo "${ECHO_T}$result" >&6; }
11929
11930
11931 enablestring=
11932 defaultval=$wxUSE_ALL_FEATURES
11933 if test -z "$defaultval"; then
11934 if test x"$enablestring" = xdisable; then
11935 defaultval=yes
11936 else
11937 defaultval=no
11938 fi
11939 fi
11940
11941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11942 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11943 no_cache=0
11944 # Check whether --enable-listctrl was given.
11945 if test "${enable_listctrl+set}" = set; then
11946 enableval=$enable_listctrl;
11947 if test "$enableval" = yes; then
11948 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11949 else
11950 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
11951 fi
11952
11953 else
11954
11955 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11956 if test "x$LINE" != x ; then
11957 eval "DEFAULT_$LINE"
11958 else
11959 no_cache=1
11960 fi
11961
11962 ac_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11963
11964 fi
11965
11966
11967 eval "$ac_cv_use_listctrl"
11968 if test "$no_cache" != 1; then
11969 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
11970 fi
11971
11972 if test x"$enablestring" = xdisable; then
11973 if test $wxUSE_LISTCTRL = yes; then
11974 result=no
11975 else
11976 result=yes
11977 fi
11978 else
11979 result=$wxUSE_LISTCTRL
11980 fi
11981
11982 { echo "$as_me:$LINENO: result: $result" >&5
11983 echo "${ECHO_T}$result" >&6; }
11984
11985
11986 enablestring=
11987 defaultval=$wxUSE_ALL_FEATURES
11988 if test -z "$defaultval"; then
11989 if test x"$enablestring" = xdisable; then
11990 defaultval=yes
11991 else
11992 defaultval=no
11993 fi
11994 fi
11995
11996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11997 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11998 no_cache=0
11999 # Check whether --enable-notebook was given.
12000 if test "${enable_notebook+set}" = set; then
12001 enableval=$enable_notebook;
12002 if test "$enableval" = yes; then
12003 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12004 else
12005 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
12006 fi
12007
12008 else
12009
12010 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12011 if test "x$LINE" != x ; then
12012 eval "DEFAULT_$LINE"
12013 else
12014 no_cache=1
12015 fi
12016
12017 ac_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12018
12019 fi
12020
12021
12022 eval "$ac_cv_use_notebook"
12023 if test "$no_cache" != 1; then
12024 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
12025 fi
12026
12027 if test x"$enablestring" = xdisable; then
12028 if test $wxUSE_NOTEBOOK = yes; then
12029 result=no
12030 else
12031 result=yes
12032 fi
12033 else
12034 result=$wxUSE_NOTEBOOK
12035 fi
12036
12037 { echo "$as_me:$LINENO: result: $result" >&5
12038 echo "${ECHO_T}$result" >&6; }
12039
12040
12041 enablestring=
12042 defaultval=$wxUSE_ALL_FEATURES
12043 if test -z "$defaultval"; then
12044 if test x"$enablestring" = xdisable; then
12045 defaultval=yes
12046 else
12047 defaultval=no
12048 fi
12049 fi
12050
12051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12052 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12053 no_cache=0
12054 # Check whether --enable-odcombobox was given.
12055 if test "${enable_odcombobox+set}" = set; then
12056 enableval=$enable_odcombobox;
12057 if test "$enableval" = yes; then
12058 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12059 else
12060 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12061 fi
12062
12063 else
12064
12065 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12066 if test "x$LINE" != x ; then
12067 eval "DEFAULT_$LINE"
12068 else
12069 no_cache=1
12070 fi
12071
12072 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12073
12074 fi
12075
12076
12077 eval "$ac_cv_use_odcombobox"
12078 if test "$no_cache" != 1; then
12079 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12080 fi
12081
12082 if test x"$enablestring" = xdisable; then
12083 if test $wxUSE_ODCOMBOBOX = yes; then
12084 result=no
12085 else
12086 result=yes
12087 fi
12088 else
12089 result=$wxUSE_ODCOMBOBOX
12090 fi
12091
12092 { echo "$as_me:$LINENO: result: $result" >&5
12093 echo "${ECHO_T}$result" >&6; }
12094
12095
12096 enablestring=
12097 defaultval=$wxUSE_ALL_FEATURES
12098 if test -z "$defaultval"; then
12099 if test x"$enablestring" = xdisable; then
12100 defaultval=yes
12101 else
12102 defaultval=no
12103 fi
12104 fi
12105
12106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12107 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12108 no_cache=0
12109 # Check whether --enable-radiobox was given.
12110 if test "${enable_radiobox+set}" = set; then
12111 enableval=$enable_radiobox;
12112 if test "$enableval" = yes; then
12113 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12114 else
12115 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
12116 fi
12117
12118 else
12119
12120 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12121 if test "x$LINE" != x ; then
12122 eval "DEFAULT_$LINE"
12123 else
12124 no_cache=1
12125 fi
12126
12127 ac_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12128
12129 fi
12130
12131
12132 eval "$ac_cv_use_radiobox"
12133 if test "$no_cache" != 1; then
12134 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12135 fi
12136
12137 if test x"$enablestring" = xdisable; then
12138 if test $wxUSE_RADIOBOX = yes; then
12139 result=no
12140 else
12141 result=yes
12142 fi
12143 else
12144 result=$wxUSE_RADIOBOX
12145 fi
12146
12147 { echo "$as_me:$LINENO: result: $result" >&5
12148 echo "${ECHO_T}$result" >&6; }
12149
12150
12151 enablestring=
12152 defaultval=$wxUSE_ALL_FEATURES
12153 if test -z "$defaultval"; then
12154 if test x"$enablestring" = xdisable; then
12155 defaultval=yes
12156 else
12157 defaultval=no
12158 fi
12159 fi
12160
12161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12162 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12163 no_cache=0
12164 # Check whether --enable-radiobtn was given.
12165 if test "${enable_radiobtn+set}" = set; then
12166 enableval=$enable_radiobtn;
12167 if test "$enableval" = yes; then
12168 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12169 else
12170 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12171 fi
12172
12173 else
12174
12175 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12176 if test "x$LINE" != x ; then
12177 eval "DEFAULT_$LINE"
12178 else
12179 no_cache=1
12180 fi
12181
12182 ac_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12183
12184 fi
12185
12186
12187 eval "$ac_cv_use_radiobtn"
12188 if test "$no_cache" != 1; then
12189 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12190 fi
12191
12192 if test x"$enablestring" = xdisable; then
12193 if test $wxUSE_RADIOBTN = yes; then
12194 result=no
12195 else
12196 result=yes
12197 fi
12198 else
12199 result=$wxUSE_RADIOBTN
12200 fi
12201
12202 { echo "$as_me:$LINENO: result: $result" >&5
12203 echo "${ECHO_T}$result" >&6; }
12204
12205
12206 enablestring=
12207 defaultval=$wxUSE_ALL_FEATURES
12208 if test -z "$defaultval"; then
12209 if test x"$enablestring" = xdisable; then
12210 defaultval=yes
12211 else
12212 defaultval=no
12213 fi
12214 fi
12215
12216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12217 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12218 no_cache=0
12219 # Check whether --enable-sash was given.
12220 if test "${enable_sash+set}" = set; then
12221 enableval=$enable_sash;
12222 if test "$enableval" = yes; then
12223 ac_cv_use_sash='wxUSE_SASH=yes'
12224 else
12225 ac_cv_use_sash='wxUSE_SASH=no'
12226 fi
12227
12228 else
12229
12230 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12231 if test "x$LINE" != x ; then
12232 eval "DEFAULT_$LINE"
12233 else
12234 no_cache=1
12235 fi
12236
12237 ac_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12238
12239 fi
12240
12241
12242 eval "$ac_cv_use_sash"
12243 if test "$no_cache" != 1; then
12244 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
12245 fi
12246
12247 if test x"$enablestring" = xdisable; then
12248 if test $wxUSE_SASH = yes; then
12249 result=no
12250 else
12251 result=yes
12252 fi
12253 else
12254 result=$wxUSE_SASH
12255 fi
12256
12257 { echo "$as_me:$LINENO: result: $result" >&5
12258 echo "${ECHO_T}$result" >&6; }
12259
12260
12261 enablestring=
12262 defaultval=$wxUSE_ALL_FEATURES
12263 if test -z "$defaultval"; then
12264 if test x"$enablestring" = xdisable; then
12265 defaultval=yes
12266 else
12267 defaultval=no
12268 fi
12269 fi
12270
12271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12272 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12273 no_cache=0
12274 # Check whether --enable-scrollbar was given.
12275 if test "${enable_scrollbar+set}" = set; then
12276 enableval=$enable_scrollbar;
12277 if test "$enableval" = yes; then
12278 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12279 else
12280 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12281 fi
12282
12283 else
12284
12285 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12286 if test "x$LINE" != x ; then
12287 eval "DEFAULT_$LINE"
12288 else
12289 no_cache=1
12290 fi
12291
12292 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12293
12294 fi
12295
12296
12297 eval "$ac_cv_use_scrollbar"
12298 if test "$no_cache" != 1; then
12299 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12300 fi
12301
12302 if test x"$enablestring" = xdisable; then
12303 if test $wxUSE_SCROLLBAR = yes; then
12304 result=no
12305 else
12306 result=yes
12307 fi
12308 else
12309 result=$wxUSE_SCROLLBAR
12310 fi
12311
12312 { echo "$as_me:$LINENO: result: $result" >&5
12313 echo "${ECHO_T}$result" >&6; }
12314
12315
12316 enablestring=
12317 defaultval=$wxUSE_ALL_FEATURES
12318 if test -z "$defaultval"; then
12319 if test x"$enablestring" = xdisable; then
12320 defaultval=yes
12321 else
12322 defaultval=no
12323 fi
12324 fi
12325
12326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12327 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12328 no_cache=0
12329 # Check whether --enable-searchctrl was given.
12330 if test "${enable_searchctrl+set}" = set; then
12331 enableval=$enable_searchctrl;
12332 if test "$enableval" = yes; then
12333 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12334 else
12335 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12336 fi
12337
12338 else
12339
12340 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12341 if test "x$LINE" != x ; then
12342 eval "DEFAULT_$LINE"
12343 else
12344 no_cache=1
12345 fi
12346
12347 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12348
12349 fi
12350
12351
12352 eval "$ac_cv_use_searchctrl"
12353 if test "$no_cache" != 1; then
12354 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12355 fi
12356
12357 if test x"$enablestring" = xdisable; then
12358 if test $wxUSE_SEARCHCTRL = yes; then
12359 result=no
12360 else
12361 result=yes
12362 fi
12363 else
12364 result=$wxUSE_SEARCHCTRL
12365 fi
12366
12367 { echo "$as_me:$LINENO: result: $result" >&5
12368 echo "${ECHO_T}$result" >&6; }
12369
12370
12371 enablestring=
12372 defaultval=$wxUSE_ALL_FEATURES
12373 if test -z "$defaultval"; then
12374 if test x"$enablestring" = xdisable; then
12375 defaultval=yes
12376 else
12377 defaultval=no
12378 fi
12379 fi
12380
12381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12382 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12383 no_cache=0
12384 # Check whether --enable-slider was given.
12385 if test "${enable_slider+set}" = set; then
12386 enableval=$enable_slider;
12387 if test "$enableval" = yes; then
12388 ac_cv_use_slider='wxUSE_SLIDER=yes'
12389 else
12390 ac_cv_use_slider='wxUSE_SLIDER=no'
12391 fi
12392
12393 else
12394
12395 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12396 if test "x$LINE" != x ; then
12397 eval "DEFAULT_$LINE"
12398 else
12399 no_cache=1
12400 fi
12401
12402 ac_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12403
12404 fi
12405
12406
12407 eval "$ac_cv_use_slider"
12408 if test "$no_cache" != 1; then
12409 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
12410 fi
12411
12412 if test x"$enablestring" = xdisable; then
12413 if test $wxUSE_SLIDER = yes; then
12414 result=no
12415 else
12416 result=yes
12417 fi
12418 else
12419 result=$wxUSE_SLIDER
12420 fi
12421
12422 { echo "$as_me:$LINENO: result: $result" >&5
12423 echo "${ECHO_T}$result" >&6; }
12424
12425
12426 enablestring=
12427 defaultval=$wxUSE_ALL_FEATURES
12428 if test -z "$defaultval"; then
12429 if test x"$enablestring" = xdisable; then
12430 defaultval=yes
12431 else
12432 defaultval=no
12433 fi
12434 fi
12435
12436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12437 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12438 no_cache=0
12439 # Check whether --enable-spinbtn was given.
12440 if test "${enable_spinbtn+set}" = set; then
12441 enableval=$enable_spinbtn;
12442 if test "$enableval" = yes; then
12443 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12444 else
12445 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
12446 fi
12447
12448 else
12449
12450 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12451 if test "x$LINE" != x ; then
12452 eval "DEFAULT_$LINE"
12453 else
12454 no_cache=1
12455 fi
12456
12457 ac_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12458
12459 fi
12460
12461
12462 eval "$ac_cv_use_spinbtn"
12463 if test "$no_cache" != 1; then
12464 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12465 fi
12466
12467 if test x"$enablestring" = xdisable; then
12468 if test $wxUSE_SPINBTN = yes; then
12469 result=no
12470 else
12471 result=yes
12472 fi
12473 else
12474 result=$wxUSE_SPINBTN
12475 fi
12476
12477 { echo "$as_me:$LINENO: result: $result" >&5
12478 echo "${ECHO_T}$result" >&6; }
12479
12480
12481 enablestring=
12482 defaultval=$wxUSE_ALL_FEATURES
12483 if test -z "$defaultval"; then
12484 if test x"$enablestring" = xdisable; then
12485 defaultval=yes
12486 else
12487 defaultval=no
12488 fi
12489 fi
12490
12491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12492 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12493 no_cache=0
12494 # Check whether --enable-spinctrl was given.
12495 if test "${enable_spinctrl+set}" = set; then
12496 enableval=$enable_spinctrl;
12497 if test "$enableval" = yes; then
12498 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12499 else
12500 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12501 fi
12502
12503 else
12504
12505 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12506 if test "x$LINE" != x ; then
12507 eval "DEFAULT_$LINE"
12508 else
12509 no_cache=1
12510 fi
12511
12512 ac_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12513
12514 fi
12515
12516
12517 eval "$ac_cv_use_spinctrl"
12518 if test "$no_cache" != 1; then
12519 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12520 fi
12521
12522 if test x"$enablestring" = xdisable; then
12523 if test $wxUSE_SPINCTRL = yes; then
12524 result=no
12525 else
12526 result=yes
12527 fi
12528 else
12529 result=$wxUSE_SPINCTRL
12530 fi
12531
12532 { echo "$as_me:$LINENO: result: $result" >&5
12533 echo "${ECHO_T}$result" >&6; }
12534
12535
12536 enablestring=
12537 defaultval=$wxUSE_ALL_FEATURES
12538 if test -z "$defaultval"; then
12539 if test x"$enablestring" = xdisable; then
12540 defaultval=yes
12541 else
12542 defaultval=no
12543 fi
12544 fi
12545
12546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12547 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12548 no_cache=0
12549 # Check whether --enable-splitter was given.
12550 if test "${enable_splitter+set}" = set; then
12551 enableval=$enable_splitter;
12552 if test "$enableval" = yes; then
12553 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
12554 else
12555 ac_cv_use_splitter='wxUSE_SPLITTER=no'
12556 fi
12557
12558 else
12559
12560 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12561 if test "x$LINE" != x ; then
12562 eval "DEFAULT_$LINE"
12563 else
12564 no_cache=1
12565 fi
12566
12567 ac_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12568
12569 fi
12570
12571
12572 eval "$ac_cv_use_splitter"
12573 if test "$no_cache" != 1; then
12574 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12575 fi
12576
12577 if test x"$enablestring" = xdisable; then
12578 if test $wxUSE_SPLITTER = yes; then
12579 result=no
12580 else
12581 result=yes
12582 fi
12583 else
12584 result=$wxUSE_SPLITTER
12585 fi
12586
12587 { echo "$as_me:$LINENO: result: $result" >&5
12588 echo "${ECHO_T}$result" >&6; }
12589
12590
12591 enablestring=
12592 defaultval=$wxUSE_ALL_FEATURES
12593 if test -z "$defaultval"; then
12594 if test x"$enablestring" = xdisable; then
12595 defaultval=yes
12596 else
12597 defaultval=no
12598 fi
12599 fi
12600
12601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12602 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12603 no_cache=0
12604 # Check whether --enable-statbmp was given.
12605 if test "${enable_statbmp+set}" = set; then
12606 enableval=$enable_statbmp;
12607 if test "$enableval" = yes; then
12608 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
12609 else
12610 ac_cv_use_statbmp='wxUSE_STATBMP=no'
12611 fi
12612
12613 else
12614
12615 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12616 if test "x$LINE" != x ; then
12617 eval "DEFAULT_$LINE"
12618 else
12619 no_cache=1
12620 fi
12621
12622 ac_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12623
12624 fi
12625
12626
12627 eval "$ac_cv_use_statbmp"
12628 if test "$no_cache" != 1; then
12629 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12630 fi
12631
12632 if test x"$enablestring" = xdisable; then
12633 if test $wxUSE_STATBMP = yes; then
12634 result=no
12635 else
12636 result=yes
12637 fi
12638 else
12639 result=$wxUSE_STATBMP
12640 fi
12641
12642 { echo "$as_me:$LINENO: result: $result" >&5
12643 echo "${ECHO_T}$result" >&6; }
12644
12645
12646 enablestring=
12647 defaultval=$wxUSE_ALL_FEATURES
12648 if test -z "$defaultval"; then
12649 if test x"$enablestring" = xdisable; then
12650 defaultval=yes
12651 else
12652 defaultval=no
12653 fi
12654 fi
12655
12656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12657 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12658 no_cache=0
12659 # Check whether --enable-statbox was given.
12660 if test "${enable_statbox+set}" = set; then
12661 enableval=$enable_statbox;
12662 if test "$enableval" = yes; then
12663 ac_cv_use_statbox='wxUSE_STATBOX=yes'
12664 else
12665 ac_cv_use_statbox='wxUSE_STATBOX=no'
12666 fi
12667
12668 else
12669
12670 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12671 if test "x$LINE" != x ; then
12672 eval "DEFAULT_$LINE"
12673 else
12674 no_cache=1
12675 fi
12676
12677 ac_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12678
12679 fi
12680
12681
12682 eval "$ac_cv_use_statbox"
12683 if test "$no_cache" != 1; then
12684 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12685 fi
12686
12687 if test x"$enablestring" = xdisable; then
12688 if test $wxUSE_STATBOX = yes; then
12689 result=no
12690 else
12691 result=yes
12692 fi
12693 else
12694 result=$wxUSE_STATBOX
12695 fi
12696
12697 { echo "$as_me:$LINENO: result: $result" >&5
12698 echo "${ECHO_T}$result" >&6; }
12699
12700
12701 enablestring=
12702 defaultval=$wxUSE_ALL_FEATURES
12703 if test -z "$defaultval"; then
12704 if test x"$enablestring" = xdisable; then
12705 defaultval=yes
12706 else
12707 defaultval=no
12708 fi
12709 fi
12710
12711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12712 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12713 no_cache=0
12714 # Check whether --enable-statline was given.
12715 if test "${enable_statline+set}" = set; then
12716 enableval=$enable_statline;
12717 if test "$enableval" = yes; then
12718 ac_cv_use_statline='wxUSE_STATLINE=yes'
12719 else
12720 ac_cv_use_statline='wxUSE_STATLINE=no'
12721 fi
12722
12723 else
12724
12725 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12726 if test "x$LINE" != x ; then
12727 eval "DEFAULT_$LINE"
12728 else
12729 no_cache=1
12730 fi
12731
12732 ac_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12733
12734 fi
12735
12736
12737 eval "$ac_cv_use_statline"
12738 if test "$no_cache" != 1; then
12739 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
12740 fi
12741
12742 if test x"$enablestring" = xdisable; then
12743 if test $wxUSE_STATLINE = yes; then
12744 result=no
12745 else
12746 result=yes
12747 fi
12748 else
12749 result=$wxUSE_STATLINE
12750 fi
12751
12752 { echo "$as_me:$LINENO: result: $result" >&5
12753 echo "${ECHO_T}$result" >&6; }
12754
12755
12756 enablestring=
12757 defaultval=$wxUSE_ALL_FEATURES
12758 if test -z "$defaultval"; then
12759 if test x"$enablestring" = xdisable; then
12760 defaultval=yes
12761 else
12762 defaultval=no
12763 fi
12764 fi
12765
12766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12767 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12768 no_cache=0
12769 # Check whether --enable-stattext was given.
12770 if test "${enable_stattext+set}" = set; then
12771 enableval=$enable_stattext;
12772 if test "$enableval" = yes; then
12773 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
12774 else
12775 ac_cv_use_stattext='wxUSE_STATTEXT=no'
12776 fi
12777
12778 else
12779
12780 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12781 if test "x$LINE" != x ; then
12782 eval "DEFAULT_$LINE"
12783 else
12784 no_cache=1
12785 fi
12786
12787 ac_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12788
12789 fi
12790
12791
12792 eval "$ac_cv_use_stattext"
12793 if test "$no_cache" != 1; then
12794 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
12795 fi
12796
12797 if test x"$enablestring" = xdisable; then
12798 if test $wxUSE_STATTEXT = yes; then
12799 result=no
12800 else
12801 result=yes
12802 fi
12803 else
12804 result=$wxUSE_STATTEXT
12805 fi
12806
12807 { echo "$as_me:$LINENO: result: $result" >&5
12808 echo "${ECHO_T}$result" >&6; }
12809
12810
12811 enablestring=
12812 defaultval=$wxUSE_ALL_FEATURES
12813 if test -z "$defaultval"; then
12814 if test x"$enablestring" = xdisable; then
12815 defaultval=yes
12816 else
12817 defaultval=no
12818 fi
12819 fi
12820
12821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12822 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12823 no_cache=0
12824 # Check whether --enable-statusbar was given.
12825 if test "${enable_statusbar+set}" = set; then
12826 enableval=$enable_statusbar;
12827 if test "$enableval" = yes; then
12828 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12829 else
12830 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
12831 fi
12832
12833 else
12834
12835 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12836 if test "x$LINE" != x ; then
12837 eval "DEFAULT_$LINE"
12838 else
12839 no_cache=1
12840 fi
12841
12842 ac_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12843
12844 fi
12845
12846
12847 eval "$ac_cv_use_statusbar"
12848 if test "$no_cache" != 1; then
12849 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
12850 fi
12851
12852 if test x"$enablestring" = xdisable; then
12853 if test $wxUSE_STATUSBAR = yes; then
12854 result=no
12855 else
12856 result=yes
12857 fi
12858 else
12859 result=$wxUSE_STATUSBAR
12860 fi
12861
12862 { echo "$as_me:$LINENO: result: $result" >&5
12863 echo "${ECHO_T}$result" >&6; }
12864
12865
12866 enablestring=
12867 defaultval=$wxUSE_ALL_FEATURES
12868 if test -z "$defaultval"; then
12869 if test x"$enablestring" = xdisable; then
12870 defaultval=yes
12871 else
12872 defaultval=no
12873 fi
12874 fi
12875
12876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12877 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12878 no_cache=0
12879 # Check whether --enable-tabdialog was given.
12880 if test "${enable_tabdialog+set}" = set; then
12881 enableval=$enable_tabdialog;
12882 if test "$enableval" = yes; then
12883 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12884 else
12885 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12886 fi
12887
12888 else
12889
12890 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12891 if test "x$LINE" != x ; then
12892 eval "DEFAULT_$LINE"
12893 else
12894 no_cache=1
12895 fi
12896
12897 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12898
12899 fi
12900
12901
12902 eval "$ac_cv_use_tabdialog"
12903 if test "$no_cache" != 1; then
12904 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
12905 fi
12906
12907 if test x"$enablestring" = xdisable; then
12908 if test $wxUSE_TAB_DIALOG = yes; then
12909 result=no
12910 else
12911 result=yes
12912 fi
12913 else
12914 result=$wxUSE_TAB_DIALOG
12915 fi
12916
12917 { echo "$as_me:$LINENO: result: $result" >&5
12918 echo "${ECHO_T}$result" >&6; }
12919
12920
12921 enablestring=
12922 defaultval=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x"$enablestring" = xdisable; then
12925 defaultval=yes
12926 else
12927 defaultval=no
12928 fi
12929 fi
12930
12931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12932 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12933 no_cache=0
12934 # Check whether --enable-textctrl was given.
12935 if test "${enable_textctrl+set}" = set; then
12936 enableval=$enable_textctrl;
12937 if test "$enableval" = yes; then
12938 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12939 else
12940 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12941 fi
12942
12943 else
12944
12945 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12946 if test "x$LINE" != x ; then
12947 eval "DEFAULT_$LINE"
12948 else
12949 no_cache=1
12950 fi
12951
12952 ac_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12953
12954 fi
12955
12956
12957 eval "$ac_cv_use_textctrl"
12958 if test "$no_cache" != 1; then
12959 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
12960 fi
12961
12962 if test x"$enablestring" = xdisable; then
12963 if test $wxUSE_TEXTCTRL = yes; then
12964 result=no
12965 else
12966 result=yes
12967 fi
12968 else
12969 result=$wxUSE_TEXTCTRL
12970 fi
12971
12972 { echo "$as_me:$LINENO: result: $result" >&5
12973 echo "${ECHO_T}$result" >&6; }
12974
12975
12976 enablestring=
12977 defaultval=$wxUSE_ALL_FEATURES
12978 if test -z "$defaultval"; then
12979 if test x"$enablestring" = xdisable; then
12980 defaultval=yes
12981 else
12982 defaultval=no
12983 fi
12984 fi
12985
12986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12987 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12988 no_cache=0
12989 # Check whether --enable-togglebtn was given.
12990 if test "${enable_togglebtn+set}" = set; then
12991 enableval=$enable_togglebtn;
12992 if test "$enableval" = yes; then
12993 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12994 else
12995 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12996 fi
12997
12998 else
12999
13000 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13001 if test "x$LINE" != x ; then
13002 eval "DEFAULT_$LINE"
13003 else
13004 no_cache=1
13005 fi
13006
13007 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13008
13009 fi
13010
13011
13012 eval "$ac_cv_use_togglebtn"
13013 if test "$no_cache" != 1; then
13014 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
13015 fi
13016
13017 if test x"$enablestring" = xdisable; then
13018 if test $wxUSE_TOGGLEBTN = yes; then
13019 result=no
13020 else
13021 result=yes
13022 fi
13023 else
13024 result=$wxUSE_TOGGLEBTN
13025 fi
13026
13027 { echo "$as_me:$LINENO: result: $result" >&5
13028 echo "${ECHO_T}$result" >&6; }
13029
13030
13031 enablestring=
13032 defaultval=$wxUSE_ALL_FEATURES
13033 if test -z "$defaultval"; then
13034 if test x"$enablestring" = xdisable; then
13035 defaultval=yes
13036 else
13037 defaultval=no
13038 fi
13039 fi
13040
13041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13042 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13043 no_cache=0
13044 # Check whether --enable-toolbar was given.
13045 if test "${enable_toolbar+set}" = set; then
13046 enableval=$enable_toolbar;
13047 if test "$enableval" = yes; then
13048 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13049 else
13050 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
13051 fi
13052
13053 else
13054
13055 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13056 if test "x$LINE" != x ; then
13057 eval "DEFAULT_$LINE"
13058 else
13059 no_cache=1
13060 fi
13061
13062 ac_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13063
13064 fi
13065
13066
13067 eval "$ac_cv_use_toolbar"
13068 if test "$no_cache" != 1; then
13069 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13070 fi
13071
13072 if test x"$enablestring" = xdisable; then
13073 if test $wxUSE_TOOLBAR = yes; then
13074 result=no
13075 else
13076 result=yes
13077 fi
13078 else
13079 result=$wxUSE_TOOLBAR
13080 fi
13081
13082 { echo "$as_me:$LINENO: result: $result" >&5
13083 echo "${ECHO_T}$result" >&6; }
13084
13085
13086 enablestring=
13087 defaultval=$wxUSE_ALL_FEATURES
13088 if test -z "$defaultval"; then
13089 if test x"$enablestring" = xdisable; then
13090 defaultval=yes
13091 else
13092 defaultval=no
13093 fi
13094 fi
13095
13096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13097 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13098 no_cache=0
13099 # Check whether --enable-tbarnative was given.
13100 if test "${enable_tbarnative+set}" = set; then
13101 enableval=$enable_tbarnative;
13102 if test "$enableval" = yes; then
13103 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13104 else
13105 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13106 fi
13107
13108 else
13109
13110 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13111 if test "x$LINE" != x ; then
13112 eval "DEFAULT_$LINE"
13113 else
13114 no_cache=1
13115 fi
13116
13117 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13118
13119 fi
13120
13121
13122 eval "$ac_cv_use_tbarnative"
13123 if test "$no_cache" != 1; then
13124 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13125 fi
13126
13127 if test x"$enablestring" = xdisable; then
13128 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13129 result=no
13130 else
13131 result=yes
13132 fi
13133 else
13134 result=$wxUSE_TOOLBAR_NATIVE
13135 fi
13136
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13139
13140
13141 enablestring=
13142 defaultval=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x"$enablestring" = xdisable; then
13145 defaultval=yes
13146 else
13147 defaultval=no
13148 fi
13149 fi
13150
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13153 no_cache=0
13154 # Check whether --enable-treebook was given.
13155 if test "${enable_treebook+set}" = set; then
13156 enableval=$enable_treebook;
13157 if test "$enableval" = yes; then
13158 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
13159 else
13160 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
13161 fi
13162
13163 else
13164
13165 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13166 if test "x$LINE" != x ; then
13167 eval "DEFAULT_$LINE"
13168 else
13169 no_cache=1
13170 fi
13171
13172 ac_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13173
13174 fi
13175
13176
13177 eval "$ac_cv_use_treebook"
13178 if test "$no_cache" != 1; then
13179 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13180 fi
13181
13182 if test x"$enablestring" = xdisable; then
13183 if test $wxUSE_TREEBOOK = yes; then
13184 result=no
13185 else
13186 result=yes
13187 fi
13188 else
13189 result=$wxUSE_TREEBOOK
13190 fi
13191
13192 { echo "$as_me:$LINENO: result: $result" >&5
13193 echo "${ECHO_T}$result" >&6; }
13194
13195
13196 enablestring=
13197 defaultval=$wxUSE_ALL_FEATURES
13198 if test -z "$defaultval"; then
13199 if test x"$enablestring" = xdisable; then
13200 defaultval=yes
13201 else
13202 defaultval=no
13203 fi
13204 fi
13205
13206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13207 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13208 no_cache=0
13209 # Check whether --enable-toolbook was given.
13210 if test "${enable_toolbook+set}" = set; then
13211 enableval=$enable_toolbook;
13212 if test "$enableval" = yes; then
13213 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13214 else
13215 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13216 fi
13217
13218 else
13219
13220 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13221 if test "x$LINE" != x ; then
13222 eval "DEFAULT_$LINE"
13223 else
13224 no_cache=1
13225 fi
13226
13227 ac_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13228
13229 fi
13230
13231
13232 eval "$ac_cv_use_toolbook"
13233 if test "$no_cache" != 1; then
13234 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13235 fi
13236
13237 if test x"$enablestring" = xdisable; then
13238 if test $wxUSE_TOOLBOOK = yes; then
13239 result=no
13240 else
13241 result=yes
13242 fi
13243 else
13244 result=$wxUSE_TOOLBOOK
13245 fi
13246
13247 { echo "$as_me:$LINENO: result: $result" >&5
13248 echo "${ECHO_T}$result" >&6; }
13249
13250
13251 enablestring=
13252 defaultval=$wxUSE_ALL_FEATURES
13253 if test -z "$defaultval"; then
13254 if test x"$enablestring" = xdisable; then
13255 defaultval=yes
13256 else
13257 defaultval=no
13258 fi
13259 fi
13260
13261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13262 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13263 no_cache=0
13264 # Check whether --enable-treectrl was given.
13265 if test "${enable_treectrl+set}" = set; then
13266 enableval=$enable_treectrl;
13267 if test "$enableval" = yes; then
13268 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
13269 else
13270 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
13271 fi
13272
13273 else
13274
13275 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13276 if test "x$LINE" != x ; then
13277 eval "DEFAULT_$LINE"
13278 else
13279 no_cache=1
13280 fi
13281
13282 ac_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13283
13284 fi
13285
13286
13287 eval "$ac_cv_use_treectrl"
13288 if test "$no_cache" != 1; then
13289 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13290 fi
13291
13292 if test x"$enablestring" = xdisable; then
13293 if test $wxUSE_TREECTRL = yes; then
13294 result=no
13295 else
13296 result=yes
13297 fi
13298 else
13299 result=$wxUSE_TREECTRL
13300 fi
13301
13302 { echo "$as_me:$LINENO: result: $result" >&5
13303 echo "${ECHO_T}$result" >&6; }
13304
13305
13306 enablestring=
13307 defaultval=$wxUSE_ALL_FEATURES
13308 if test -z "$defaultval"; then
13309 if test x"$enablestring" = xdisable; then
13310 defaultval=yes
13311 else
13312 defaultval=no
13313 fi
13314 fi
13315
13316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13317 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13318 no_cache=0
13319 # Check whether --enable-tipwindow was given.
13320 if test "${enable_tipwindow+set}" = set; then
13321 enableval=$enable_tipwindow;
13322 if test "$enableval" = yes; then
13323 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13324 else
13325 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13326 fi
13327
13328 else
13329
13330 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13331 if test "x$LINE" != x ; then
13332 eval "DEFAULT_$LINE"
13333 else
13334 no_cache=1
13335 fi
13336
13337 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13338
13339 fi
13340
13341
13342 eval "$ac_cv_use_tipwindow"
13343 if test "$no_cache" != 1; then
13344 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13345 fi
13346
13347 if test x"$enablestring" = xdisable; then
13348 if test $wxUSE_TIPWINDOW = yes; then
13349 result=no
13350 else
13351 result=yes
13352 fi
13353 else
13354 result=$wxUSE_TIPWINDOW
13355 fi
13356
13357 { echo "$as_me:$LINENO: result: $result" >&5
13358 echo "${ECHO_T}$result" >&6; }
13359
13360
13361 enablestring=
13362 defaultval=$wxUSE_ALL_FEATURES
13363 if test -z "$defaultval"; then
13364 if test x"$enablestring" = xdisable; then
13365 defaultval=yes
13366 else
13367 defaultval=no
13368 fi
13369 fi
13370
13371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13372 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13373 no_cache=0
13374 # Check whether --enable-popupwin was given.
13375 if test "${enable_popupwin+set}" = set; then
13376 enableval=$enable_popupwin;
13377 if test "$enableval" = yes; then
13378 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13379 else
13380 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
13381 fi
13382
13383 else
13384
13385 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13386 if test "x$LINE" != x ; then
13387 eval "DEFAULT_$LINE"
13388 else
13389 no_cache=1
13390 fi
13391
13392 ac_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13393
13394 fi
13395
13396
13397 eval "$ac_cv_use_popupwin"
13398 if test "$no_cache" != 1; then
13399 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13400 fi
13401
13402 if test x"$enablestring" = xdisable; then
13403 if test $wxUSE_POPUPWIN = yes; then
13404 result=no
13405 else
13406 result=yes
13407 fi
13408 else
13409 result=$wxUSE_POPUPWIN
13410 fi
13411
13412 { echo "$as_me:$LINENO: result: $result" >&5
13413 echo "${ECHO_T}$result" >&6; }
13414
13415
13416
13417
13418 enablestring=
13419 defaultval=$wxUSE_ALL_FEATURES
13420 if test -z "$defaultval"; then
13421 if test x"$enablestring" = xdisable; then
13422 defaultval=yes
13423 else
13424 defaultval=no
13425 fi
13426 fi
13427
13428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13429 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13430 no_cache=0
13431 # Check whether --enable-commondlg was given.
13432 if test "${enable_commondlg+set}" = set; then
13433 enableval=$enable_commondlg;
13434 if test "$enableval" = yes; then
13435 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13436 else
13437 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13438 fi
13439
13440 else
13441
13442 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13443 if test "x$LINE" != x ; then
13444 eval "DEFAULT_$LINE"
13445 else
13446 no_cache=1
13447 fi
13448
13449 ac_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13450
13451 fi
13452
13453
13454 eval "$ac_cv_use_commondlg"
13455 if test "$no_cache" != 1; then
13456 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13457 fi
13458
13459 if test x"$enablestring" = xdisable; then
13460 if test $wxUSE_COMMONDLGS = yes; then
13461 result=no
13462 else
13463 result=yes
13464 fi
13465 else
13466 result=$wxUSE_COMMONDLGS
13467 fi
13468
13469 { echo "$as_me:$LINENO: result: $result" >&5
13470 echo "${ECHO_T}$result" >&6; }
13471
13472
13473 enablestring=
13474 defaultval=$wxUSE_ALL_FEATURES
13475 if test -z "$defaultval"; then
13476 if test x"$enablestring" = xdisable; then
13477 defaultval=yes
13478 else
13479 defaultval=no
13480 fi
13481 fi
13482
13483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13484 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13485 no_cache=0
13486 # Check whether --enable-aboutdlg was given.
13487 if test "${enable_aboutdlg+set}" = set; then
13488 enableval=$enable_aboutdlg;
13489 if test "$enableval" = yes; then
13490 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13491 else
13492 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13493 fi
13494
13495 else
13496
13497 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13498 if test "x$LINE" != x ; then
13499 eval "DEFAULT_$LINE"
13500 else
13501 no_cache=1
13502 fi
13503
13504 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13505
13506 fi
13507
13508
13509 eval "$ac_cv_use_aboutdlg"
13510 if test "$no_cache" != 1; then
13511 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13512 fi
13513
13514 if test x"$enablestring" = xdisable; then
13515 if test $wxUSE_ABOUTDLG = yes; then
13516 result=no
13517 else
13518 result=yes
13519 fi
13520 else
13521 result=$wxUSE_ABOUTDLG
13522 fi
13523
13524 { echo "$as_me:$LINENO: result: $result" >&5
13525 echo "${ECHO_T}$result" >&6; }
13526
13527
13528 enablestring=
13529 defaultval=$wxUSE_ALL_FEATURES
13530 if test -z "$defaultval"; then
13531 if test x"$enablestring" = xdisable; then
13532 defaultval=yes
13533 else
13534 defaultval=no
13535 fi
13536 fi
13537
13538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13539 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13540 no_cache=0
13541 # Check whether --enable-choicedlg was given.
13542 if test "${enable_choicedlg+set}" = set; then
13543 enableval=$enable_choicedlg;
13544 if test "$enableval" = yes; then
13545 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13546 else
13547 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13548 fi
13549
13550 else
13551
13552 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13553 if test "x$LINE" != x ; then
13554 eval "DEFAULT_$LINE"
13555 else
13556 no_cache=1
13557 fi
13558
13559 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13560
13561 fi
13562
13563
13564 eval "$ac_cv_use_choicedlg"
13565 if test "$no_cache" != 1; then
13566 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13567 fi
13568
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_CHOICEDLG = yes; then
13571 result=no
13572 else
13573 result=yes
13574 fi
13575 else
13576 result=$wxUSE_CHOICEDLG
13577 fi
13578
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13581
13582
13583 enablestring=
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13587 defaultval=yes
13588 else
13589 defaultval=no
13590 fi
13591 fi
13592
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13595 no_cache=0
13596 # Check whether --enable-coldlg was given.
13597 if test "${enable_coldlg+set}" = set; then
13598 enableval=$enable_coldlg;
13599 if test "$enableval" = yes; then
13600 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13601 else
13602 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
13603 fi
13604
13605 else
13606
13607 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13608 if test "x$LINE" != x ; then
13609 eval "DEFAULT_$LINE"
13610 else
13611 no_cache=1
13612 fi
13613
13614 ac_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13615
13616 fi
13617
13618
13619 eval "$ac_cv_use_coldlg"
13620 if test "$no_cache" != 1; then
13621 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13622 fi
13623
13624 if test x"$enablestring" = xdisable; then
13625 if test $wxUSE_COLOURDLG = yes; then
13626 result=no
13627 else
13628 result=yes
13629 fi
13630 else
13631 result=$wxUSE_COLOURDLG
13632 fi
13633
13634 { echo "$as_me:$LINENO: result: $result" >&5
13635 echo "${ECHO_T}$result" >&6; }
13636
13637
13638 enablestring=
13639 defaultval=$wxUSE_ALL_FEATURES
13640 if test -z "$defaultval"; then
13641 if test x"$enablestring" = xdisable; then
13642 defaultval=yes
13643 else
13644 defaultval=no
13645 fi
13646 fi
13647
13648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13649 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13650 no_cache=0
13651 # Check whether --enable-filedlg was given.
13652 if test "${enable_filedlg+set}" = set; then
13653 enableval=$enable_filedlg;
13654 if test "$enableval" = yes; then
13655 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
13656 else
13657 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
13658 fi
13659
13660 else
13661
13662 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13663 if test "x$LINE" != x ; then
13664 eval "DEFAULT_$LINE"
13665 else
13666 no_cache=1
13667 fi
13668
13669 ac_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13670
13671 fi
13672
13673
13674 eval "$ac_cv_use_filedlg"
13675 if test "$no_cache" != 1; then
13676 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
13677 fi
13678
13679 if test x"$enablestring" = xdisable; then
13680 if test $wxUSE_FILEDLG = yes; then
13681 result=no
13682 else
13683 result=yes
13684 fi
13685 else
13686 result=$wxUSE_FILEDLG
13687 fi
13688
13689 { echo "$as_me:$LINENO: result: $result" >&5
13690 echo "${ECHO_T}$result" >&6; }
13691
13692
13693 enablestring=
13694 defaultval=$wxUSE_ALL_FEATURES
13695 if test -z "$defaultval"; then
13696 if test x"$enablestring" = xdisable; then
13697 defaultval=yes
13698 else
13699 defaultval=no
13700 fi
13701 fi
13702
13703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13704 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13705 no_cache=0
13706 # Check whether --enable-finddlg was given.
13707 if test "${enable_finddlg+set}" = set; then
13708 enableval=$enable_finddlg;
13709 if test "$enableval" = yes; then
13710 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13711 else
13712 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13713 fi
13714
13715 else
13716
13717 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13718 if test "x$LINE" != x ; then
13719 eval "DEFAULT_$LINE"
13720 else
13721 no_cache=1
13722 fi
13723
13724 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13725
13726 fi
13727
13728
13729 eval "$ac_cv_use_finddlg"
13730 if test "$no_cache" != 1; then
13731 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
13732 fi
13733
13734 if test x"$enablestring" = xdisable; then
13735 if test $wxUSE_FINDREPLDLG = yes; then
13736 result=no
13737 else
13738 result=yes
13739 fi
13740 else
13741 result=$wxUSE_FINDREPLDLG
13742 fi
13743
13744 { echo "$as_me:$LINENO: result: $result" >&5
13745 echo "${ECHO_T}$result" >&6; }
13746
13747
13748 enablestring=
13749 defaultval=$wxUSE_ALL_FEATURES
13750 if test -z "$defaultval"; then
13751 if test x"$enablestring" = xdisable; then
13752 defaultval=yes
13753 else
13754 defaultval=no
13755 fi
13756 fi
13757
13758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13759 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13760 no_cache=0
13761 # Check whether --enable-fontdlg was given.
13762 if test "${enable_fontdlg+set}" = set; then
13763 enableval=$enable_fontdlg;
13764 if test "$enableval" = yes; then
13765 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13766 else
13767 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
13768 fi
13769
13770 else
13771
13772 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13773 if test "x$LINE" != x ; then
13774 eval "DEFAULT_$LINE"
13775 else
13776 no_cache=1
13777 fi
13778
13779 ac_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13780
13781 fi
13782
13783
13784 eval "$ac_cv_use_fontdlg"
13785 if test "$no_cache" != 1; then
13786 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
13787 fi
13788
13789 if test x"$enablestring" = xdisable; then
13790 if test $wxUSE_FONTDLG = yes; then
13791 result=no
13792 else
13793 result=yes
13794 fi
13795 else
13796 result=$wxUSE_FONTDLG
13797 fi
13798
13799 { echo "$as_me:$LINENO: result: $result" >&5
13800 echo "${ECHO_T}$result" >&6; }
13801
13802
13803 enablestring=
13804 defaultval=$wxUSE_ALL_FEATURES
13805 if test -z "$defaultval"; then
13806 if test x"$enablestring" = xdisable; then
13807 defaultval=yes
13808 else
13809 defaultval=no
13810 fi
13811 fi
13812
13813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13814 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13815 no_cache=0
13816 # Check whether --enable-dirdlg was given.
13817 if test "${enable_dirdlg+set}" = set; then
13818 enableval=$enable_dirdlg;
13819 if test "$enableval" = yes; then
13820 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13821 else
13822 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
13823 fi
13824
13825 else
13826
13827 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13828 if test "x$LINE" != x ; then
13829 eval "DEFAULT_$LINE"
13830 else
13831 no_cache=1
13832 fi
13833
13834 ac_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13835
13836 fi
13837
13838
13839 eval "$ac_cv_use_dirdlg"
13840 if test "$no_cache" != 1; then
13841 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
13842 fi
13843
13844 if test x"$enablestring" = xdisable; then
13845 if test $wxUSE_DIRDLG = yes; then
13846 result=no
13847 else
13848 result=yes
13849 fi
13850 else
13851 result=$wxUSE_DIRDLG
13852 fi
13853
13854 { echo "$as_me:$LINENO: result: $result" >&5
13855 echo "${ECHO_T}$result" >&6; }
13856
13857
13858 enablestring=
13859 defaultval=$wxUSE_ALL_FEATURES
13860 if test -z "$defaultval"; then
13861 if test x"$enablestring" = xdisable; then
13862 defaultval=yes
13863 else
13864 defaultval=no
13865 fi
13866 fi
13867
13868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13869 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13870 no_cache=0
13871 # Check whether --enable-msgdlg was given.
13872 if test "${enable_msgdlg+set}" = set; then
13873 enableval=$enable_msgdlg;
13874 if test "$enableval" = yes; then
13875 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13876 else
13877 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
13878 fi
13879
13880 else
13881
13882 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13883 if test "x$LINE" != x ; then
13884 eval "DEFAULT_$LINE"
13885 else
13886 no_cache=1
13887 fi
13888
13889 ac_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13890
13891 fi
13892
13893
13894 eval "$ac_cv_use_msgdlg"
13895 if test "$no_cache" != 1; then
13896 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
13897 fi
13898
13899 if test x"$enablestring" = xdisable; then
13900 if test $wxUSE_MSGDLG = yes; then
13901 result=no
13902 else
13903 result=yes
13904 fi
13905 else
13906 result=$wxUSE_MSGDLG
13907 fi
13908
13909 { echo "$as_me:$LINENO: result: $result" >&5
13910 echo "${ECHO_T}$result" >&6; }
13911
13912
13913 enablestring=
13914 defaultval=$wxUSE_ALL_FEATURES
13915 if test -z "$defaultval"; then
13916 if test x"$enablestring" = xdisable; then
13917 defaultval=yes
13918 else
13919 defaultval=no
13920 fi
13921 fi
13922
13923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13924 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13925 no_cache=0
13926 # Check whether --enable-numberdlg was given.
13927 if test "${enable_numberdlg+set}" = set; then
13928 enableval=$enable_numberdlg;
13929 if test "$enableval" = yes; then
13930 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13931 else
13932 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13933 fi
13934
13935 else
13936
13937 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13938 if test "x$LINE" != x ; then
13939 eval "DEFAULT_$LINE"
13940 else
13941 no_cache=1
13942 fi
13943
13944 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13945
13946 fi
13947
13948
13949 eval "$ac_cv_use_numberdlg"
13950 if test "$no_cache" != 1; then
13951 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
13952 fi
13953
13954 if test x"$enablestring" = xdisable; then
13955 if test $wxUSE_NUMBERDLG = yes; then
13956 result=no
13957 else
13958 result=yes
13959 fi
13960 else
13961 result=$wxUSE_NUMBERDLG
13962 fi
13963
13964 { echo "$as_me:$LINENO: result: $result" >&5
13965 echo "${ECHO_T}$result" >&6; }
13966
13967
13968 enablestring=
13969 defaultval=$wxUSE_ALL_FEATURES
13970 if test -z "$defaultval"; then
13971 if test x"$enablestring" = xdisable; then
13972 defaultval=yes
13973 else
13974 defaultval=no
13975 fi
13976 fi
13977
13978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13979 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13980 no_cache=0
13981 # Check whether --enable-splash was given.
13982 if test "${enable_splash+set}" = set; then
13983 enableval=$enable_splash;
13984 if test "$enableval" = yes; then
13985 ac_cv_use_splash='wxUSE_SPLASH=yes'
13986 else
13987 ac_cv_use_splash='wxUSE_SPLASH=no'
13988 fi
13989
13990 else
13991
13992 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13993 if test "x$LINE" != x ; then
13994 eval "DEFAULT_$LINE"
13995 else
13996 no_cache=1
13997 fi
13998
13999 ac_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14000
14001 fi
14002
14003
14004 eval "$ac_cv_use_splash"
14005 if test "$no_cache" != 1; then
14006 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
14007 fi
14008
14009 if test x"$enablestring" = xdisable; then
14010 if test $wxUSE_SPLASH = yes; then
14011 result=no
14012 else
14013 result=yes
14014 fi
14015 else
14016 result=$wxUSE_SPLASH
14017 fi
14018
14019 { echo "$as_me:$LINENO: result: $result" >&5
14020 echo "${ECHO_T}$result" >&6; }
14021
14022
14023 enablestring=
14024 defaultval=$wxUSE_ALL_FEATURES
14025 if test -z "$defaultval"; then
14026 if test x"$enablestring" = xdisable; then
14027 defaultval=yes
14028 else
14029 defaultval=no
14030 fi
14031 fi
14032
14033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14034 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14035 no_cache=0
14036 # Check whether --enable-textdlg was given.
14037 if test "${enable_textdlg+set}" = set; then
14038 enableval=$enable_textdlg;
14039 if test "$enableval" = yes; then
14040 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14041 else
14042 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
14043 fi
14044
14045 else
14046
14047 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14048 if test "x$LINE" != x ; then
14049 eval "DEFAULT_$LINE"
14050 else
14051 no_cache=1
14052 fi
14053
14054 ac_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14055
14056 fi
14057
14058
14059 eval "$ac_cv_use_textdlg"
14060 if test "$no_cache" != 1; then
14061 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14062 fi
14063
14064 if test x"$enablestring" = xdisable; then
14065 if test $wxUSE_TEXTDLG = yes; then
14066 result=no
14067 else
14068 result=yes
14069 fi
14070 else
14071 result=$wxUSE_TEXTDLG
14072 fi
14073
14074 { echo "$as_me:$LINENO: result: $result" >&5
14075 echo "${ECHO_T}$result" >&6; }
14076
14077
14078 enablestring=
14079 defaultval=$wxUSE_ALL_FEATURES
14080 if test -z "$defaultval"; then
14081 if test x"$enablestring" = xdisable; then
14082 defaultval=yes
14083 else
14084 defaultval=no
14085 fi
14086 fi
14087
14088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14089 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14090 no_cache=0
14091 # Check whether --enable-tipdlg was given.
14092 if test "${enable_tipdlg+set}" = set; then
14093 enableval=$enable_tipdlg;
14094 if test "$enableval" = yes; then
14095 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14096 else
14097 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14098 fi
14099
14100 else
14101
14102 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14103 if test "x$LINE" != x ; then
14104 eval "DEFAULT_$LINE"
14105 else
14106 no_cache=1
14107 fi
14108
14109 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14110
14111 fi
14112
14113
14114 eval "$ac_cv_use_tipdlg"
14115 if test "$no_cache" != 1; then
14116 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14117 fi
14118
14119 if test x"$enablestring" = xdisable; then
14120 if test $wxUSE_STARTUP_TIPS = yes; then
14121 result=no
14122 else
14123 result=yes
14124 fi
14125 else
14126 result=$wxUSE_STARTUP_TIPS
14127 fi
14128
14129 { echo "$as_me:$LINENO: result: $result" >&5
14130 echo "${ECHO_T}$result" >&6; }
14131
14132
14133 enablestring=
14134 defaultval=$wxUSE_ALL_FEATURES
14135 if test -z "$defaultval"; then
14136 if test x"$enablestring" = xdisable; then
14137 defaultval=yes
14138 else
14139 defaultval=no
14140 fi
14141 fi
14142
14143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14144 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14145 no_cache=0
14146 # Check whether --enable-progressdlg was given.
14147 if test "${enable_progressdlg+set}" = set; then
14148 enableval=$enable_progressdlg;
14149 if test "$enableval" = yes; then
14150 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14151 else
14152 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14153 fi
14154
14155 else
14156
14157 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14158 if test "x$LINE" != x ; then
14159 eval "DEFAULT_$LINE"
14160 else
14161 no_cache=1
14162 fi
14163
14164 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14165
14166 fi
14167
14168
14169 eval "$ac_cv_use_progressdlg"
14170 if test "$no_cache" != 1; then
14171 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14172 fi
14173
14174 if test x"$enablestring" = xdisable; then
14175 if test $wxUSE_PROGRESSDLG = yes; then
14176 result=no
14177 else
14178 result=yes
14179 fi
14180 else
14181 result=$wxUSE_PROGRESSDLG
14182 fi
14183
14184 { echo "$as_me:$LINENO: result: $result" >&5
14185 echo "${ECHO_T}$result" >&6; }
14186
14187
14188 enablestring=
14189 defaultval=$wxUSE_ALL_FEATURES
14190 if test -z "$defaultval"; then
14191 if test x"$enablestring" = xdisable; then
14192 defaultval=yes
14193 else
14194 defaultval=no
14195 fi
14196 fi
14197
14198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14199 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14200 no_cache=0
14201 # Check whether --enable-wizarddlg was given.
14202 if test "${enable_wizarddlg+set}" = set; then
14203 enableval=$enable_wizarddlg;
14204 if test "$enableval" = yes; then
14205 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14206 else
14207 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14208 fi
14209
14210 else
14211
14212 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14213 if test "x$LINE" != x ; then
14214 eval "DEFAULT_$LINE"
14215 else
14216 no_cache=1
14217 fi
14218
14219 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14220
14221 fi
14222
14223
14224 eval "$ac_cv_use_wizarddlg"
14225 if test "$no_cache" != 1; then
14226 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14227 fi
14228
14229 if test x"$enablestring" = xdisable; then
14230 if test $wxUSE_WIZARDDLG = yes; then
14231 result=no
14232 else
14233 result=yes
14234 fi
14235 else
14236 result=$wxUSE_WIZARDDLG
14237 fi
14238
14239 { echo "$as_me:$LINENO: result: $result" >&5
14240 echo "${ECHO_T}$result" >&6; }
14241
14242
14243
14244
14245 enablestring=
14246 defaultval=$wxUSE_ALL_FEATURES
14247 if test -z "$defaultval"; then
14248 if test x"$enablestring" = xdisable; then
14249 defaultval=yes
14250 else
14251 defaultval=no
14252 fi
14253 fi
14254
14255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14256 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14257 no_cache=0
14258 # Check whether --enable-menus was given.
14259 if test "${enable_menus+set}" = set; then
14260 enableval=$enable_menus;
14261 if test "$enableval" = yes; then
14262 ac_cv_use_menus='wxUSE_MENUS=yes'
14263 else
14264 ac_cv_use_menus='wxUSE_MENUS=no'
14265 fi
14266
14267 else
14268
14269 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14270 if test "x$LINE" != x ; then
14271 eval "DEFAULT_$LINE"
14272 else
14273 no_cache=1
14274 fi
14275
14276 ac_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14277
14278 fi
14279
14280
14281 eval "$ac_cv_use_menus"
14282 if test "$no_cache" != 1; then
14283 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
14284 fi
14285
14286 if test x"$enablestring" = xdisable; then
14287 if test $wxUSE_MENUS = yes; then
14288 result=no
14289 else
14290 result=yes
14291 fi
14292 else
14293 result=$wxUSE_MENUS
14294 fi
14295
14296 { echo "$as_me:$LINENO: result: $result" >&5
14297 echo "${ECHO_T}$result" >&6; }
14298
14299
14300 enablestring=
14301 defaultval=$wxUSE_ALL_FEATURES
14302 if test -z "$defaultval"; then
14303 if test x"$enablestring" = xdisable; then
14304 defaultval=yes
14305 else
14306 defaultval=no
14307 fi
14308 fi
14309
14310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14311 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14312 no_cache=0
14313 # Check whether --enable-miniframe was given.
14314 if test "${enable_miniframe+set}" = set; then
14315 enableval=$enable_miniframe;
14316 if test "$enableval" = yes; then
14317 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14318 else
14319 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
14320 fi
14321
14322 else
14323
14324 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14325 if test "x$LINE" != x ; then
14326 eval "DEFAULT_$LINE"
14327 else
14328 no_cache=1
14329 fi
14330
14331 ac_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14332
14333 fi
14334
14335
14336 eval "$ac_cv_use_miniframe"
14337 if test "$no_cache" != 1; then
14338 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14339 fi
14340
14341 if test x"$enablestring" = xdisable; then
14342 if test $wxUSE_MINIFRAME = yes; then
14343 result=no
14344 else
14345 result=yes
14346 fi
14347 else
14348 result=$wxUSE_MINIFRAME
14349 fi
14350
14351 { echo "$as_me:$LINENO: result: $result" >&5
14352 echo "${ECHO_T}$result" >&6; }
14353
14354
14355 enablestring=
14356 defaultval=$wxUSE_ALL_FEATURES
14357 if test -z "$defaultval"; then
14358 if test x"$enablestring" = xdisable; then
14359 defaultval=yes
14360 else
14361 defaultval=no
14362 fi
14363 fi
14364
14365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14366 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14367 no_cache=0
14368 # Check whether --enable-tooltips was given.
14369 if test "${enable_tooltips+set}" = set; then
14370 enableval=$enable_tooltips;
14371 if test "$enableval" = yes; then
14372 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14373 else
14374 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14375 fi
14376
14377 else
14378
14379 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14380 if test "x$LINE" != x ; then
14381 eval "DEFAULT_$LINE"
14382 else
14383 no_cache=1
14384 fi
14385
14386 ac_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14387
14388 fi
14389
14390
14391 eval "$ac_cv_use_tooltips"
14392 if test "$no_cache" != 1; then
14393 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14394 fi
14395
14396 if test x"$enablestring" = xdisable; then
14397 if test $wxUSE_TOOLTIPS = yes; then
14398 result=no
14399 else
14400 result=yes
14401 fi
14402 else
14403 result=$wxUSE_TOOLTIPS
14404 fi
14405
14406 { echo "$as_me:$LINENO: result: $result" >&5
14407 echo "${ECHO_T}$result" >&6; }
14408
14409
14410 enablestring=
14411 defaultval=$wxUSE_ALL_FEATURES
14412 if test -z "$defaultval"; then
14413 if test x"$enablestring" = xdisable; then
14414 defaultval=yes
14415 else
14416 defaultval=no
14417 fi
14418 fi
14419
14420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14421 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14422 no_cache=0
14423 # Check whether --enable-splines was given.
14424 if test "${enable_splines+set}" = set; then
14425 enableval=$enable_splines;
14426 if test "$enableval" = yes; then
14427 ac_cv_use_splines='wxUSE_SPLINES=yes'
14428 else
14429 ac_cv_use_splines='wxUSE_SPLINES=no'
14430 fi
14431
14432 else
14433
14434 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14435 if test "x$LINE" != x ; then
14436 eval "DEFAULT_$LINE"
14437 else
14438 no_cache=1
14439 fi
14440
14441 ac_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14442
14443 fi
14444
14445
14446 eval "$ac_cv_use_splines"
14447 if test "$no_cache" != 1; then
14448 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
14449 fi
14450
14451 if test x"$enablestring" = xdisable; then
14452 if test $wxUSE_SPLINES = yes; then
14453 result=no
14454 else
14455 result=yes
14456 fi
14457 else
14458 result=$wxUSE_SPLINES
14459 fi
14460
14461 { echo "$as_me:$LINENO: result: $result" >&5
14462 echo "${ECHO_T}$result" >&6; }
14463
14464
14465 enablestring=
14466 defaultval=$wxUSE_ALL_FEATURES
14467 if test -z "$defaultval"; then
14468 if test x"$enablestring" = xdisable; then
14469 defaultval=yes
14470 else
14471 defaultval=no
14472 fi
14473 fi
14474
14475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14476 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14477 no_cache=0
14478 # Check whether --enable-mousewheel was given.
14479 if test "${enable_mousewheel+set}" = set; then
14480 enableval=$enable_mousewheel;
14481 if test "$enableval" = yes; then
14482 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14483 else
14484 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14485 fi
14486
14487 else
14488
14489 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14490 if test "x$LINE" != x ; then
14491 eval "DEFAULT_$LINE"
14492 else
14493 no_cache=1
14494 fi
14495
14496 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14497
14498 fi
14499
14500
14501 eval "$ac_cv_use_mousewheel"
14502 if test "$no_cache" != 1; then
14503 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14504 fi
14505
14506 if test x"$enablestring" = xdisable; then
14507 if test $wxUSE_MOUSEWHEEL = yes; then
14508 result=no
14509 else
14510 result=yes
14511 fi
14512 else
14513 result=$wxUSE_MOUSEWHEEL
14514 fi
14515
14516 { echo "$as_me:$LINENO: result: $result" >&5
14517 echo "${ECHO_T}$result" >&6; }
14518
14519
14520 enablestring=
14521 defaultval=$wxUSE_ALL_FEATURES
14522 if test -z "$defaultval"; then
14523 if test x"$enablestring" = xdisable; then
14524 defaultval=yes
14525 else
14526 defaultval=no
14527 fi
14528 fi
14529
14530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14531 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14532 no_cache=0
14533 # Check whether --enable-validators was given.
14534 if test "${enable_validators+set}" = set; then
14535 enableval=$enable_validators;
14536 if test "$enableval" = yes; then
14537 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
14538 else
14539 ac_cv_use_validators='wxUSE_VALIDATORS=no'
14540 fi
14541
14542 else
14543
14544 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14545 if test "x$LINE" != x ; then
14546 eval "DEFAULT_$LINE"
14547 else
14548 no_cache=1
14549 fi
14550
14551 ac_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14552
14553 fi
14554
14555
14556 eval "$ac_cv_use_validators"
14557 if test "$no_cache" != 1; then
14558 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
14559 fi
14560
14561 if test x"$enablestring" = xdisable; then
14562 if test $wxUSE_VALIDATORS = yes; then
14563 result=no
14564 else
14565 result=yes
14566 fi
14567 else
14568 result=$wxUSE_VALIDATORS
14569 fi
14570
14571 { echo "$as_me:$LINENO: result: $result" >&5
14572 echo "${ECHO_T}$result" >&6; }
14573
14574
14575 enablestring=
14576 defaultval=$wxUSE_ALL_FEATURES
14577 if test -z "$defaultval"; then
14578 if test x"$enablestring" = xdisable; then
14579 defaultval=yes
14580 else
14581 defaultval=no
14582 fi
14583 fi
14584
14585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14586 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14587 no_cache=0
14588 # Check whether --enable-busyinfo was given.
14589 if test "${enable_busyinfo+set}" = set; then
14590 enableval=$enable_busyinfo;
14591 if test "$enableval" = yes; then
14592 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14593 else
14594 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14595 fi
14596
14597 else
14598
14599 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14600 if test "x$LINE" != x ; then
14601 eval "DEFAULT_$LINE"
14602 else
14603 no_cache=1
14604 fi
14605
14606 ac_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14607
14608 fi
14609
14610
14611 eval "$ac_cv_use_busyinfo"
14612 if test "$no_cache" != 1; then
14613 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14614 fi
14615
14616 if test x"$enablestring" = xdisable; then
14617 if test $wxUSE_BUSYINFO = yes; then
14618 result=no
14619 else
14620 result=yes
14621 fi
14622 else
14623 result=$wxUSE_BUSYINFO
14624 fi
14625
14626 { echo "$as_me:$LINENO: result: $result" >&5
14627 echo "${ECHO_T}$result" >&6; }
14628
14629
14630 enablestring=
14631 defaultval=$wxUSE_ALL_FEATURES
14632 if test -z "$defaultval"; then
14633 if test x"$enablestring" = xdisable; then
14634 defaultval=yes
14635 else
14636 defaultval=no
14637 fi
14638 fi
14639
14640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14641 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14642 no_cache=0
14643 # Check whether --enable-joystick was given.
14644 if test "${enable_joystick+set}" = set; then
14645 enableval=$enable_joystick;
14646 if test "$enableval" = yes; then
14647 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
14648 else
14649 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
14650 fi
14651
14652 else
14653
14654 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14655 if test "x$LINE" != x ; then
14656 eval "DEFAULT_$LINE"
14657 else
14658 no_cache=1
14659 fi
14660
14661 ac_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14662
14663 fi
14664
14665
14666 eval "$ac_cv_use_joystick"
14667 if test "$no_cache" != 1; then
14668 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
14669 fi
14670
14671 if test x"$enablestring" = xdisable; then
14672 if test $wxUSE_JOYSTICK = yes; then
14673 result=no
14674 else
14675 result=yes
14676 fi
14677 else
14678 result=$wxUSE_JOYSTICK
14679 fi
14680
14681 { echo "$as_me:$LINENO: result: $result" >&5
14682 echo "${ECHO_T}$result" >&6; }
14683
14684
14685 enablestring=
14686 defaultval=$wxUSE_ALL_FEATURES
14687 if test -z "$defaultval"; then
14688 if test x"$enablestring" = xdisable; then
14689 defaultval=yes
14690 else
14691 defaultval=no
14692 fi
14693 fi
14694
14695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14696 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14697 no_cache=0
14698 # Check whether --enable-metafile was given.
14699 if test "${enable_metafile+set}" = set; then
14700 enableval=$enable_metafile;
14701 if test "$enableval" = yes; then
14702 ac_cv_use_metafile='wxUSE_METAFILE=yes'
14703 else
14704 ac_cv_use_metafile='wxUSE_METAFILE=no'
14705 fi
14706
14707 else
14708
14709 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14710 if test "x$LINE" != x ; then
14711 eval "DEFAULT_$LINE"
14712 else
14713 no_cache=1
14714 fi
14715
14716 ac_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14717
14718 fi
14719
14720
14721 eval "$ac_cv_use_metafile"
14722 if test "$no_cache" != 1; then
14723 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
14724 fi
14725
14726 if test x"$enablestring" = xdisable; then
14727 if test $wxUSE_METAFILE = yes; then
14728 result=no
14729 else
14730 result=yes
14731 fi
14732 else
14733 result=$wxUSE_METAFILE
14734 fi
14735
14736 { echo "$as_me:$LINENO: result: $result" >&5
14737 echo "${ECHO_T}$result" >&6; }
14738
14739
14740 enablestring=
14741 defaultval=$wxUSE_ALL_FEATURES
14742 if test -z "$defaultval"; then
14743 if test x"$enablestring" = xdisable; then
14744 defaultval=yes
14745 else
14746 defaultval=no
14747 fi
14748 fi
14749
14750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14751 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14752 no_cache=0
14753 # Check whether --enable-dragimage was given.
14754 if test "${enable_dragimage+set}" = set; then
14755 enableval=$enable_dragimage;
14756 if test "$enableval" = yes; then
14757 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14758 else
14759 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14760 fi
14761
14762 else
14763
14764 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14765 if test "x$LINE" != x ; then
14766 eval "DEFAULT_$LINE"
14767 else
14768 no_cache=1
14769 fi
14770
14771 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14772
14773 fi
14774
14775
14776 eval "$ac_cv_use_dragimage"
14777 if test "$no_cache" != 1; then
14778 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
14779 fi
14780
14781 if test x"$enablestring" = xdisable; then
14782 if test $wxUSE_DRAGIMAGE = yes; then
14783 result=no
14784 else
14785 result=yes
14786 fi
14787 else
14788 result=$wxUSE_DRAGIMAGE
14789 fi
14790
14791 { echo "$as_me:$LINENO: result: $result" >&5
14792 echo "${ECHO_T}$result" >&6; }
14793
14794
14795 enablestring=
14796 defaultval=$wxUSE_ALL_FEATURES
14797 if test -z "$defaultval"; then
14798 if test x"$enablestring" = xdisable; then
14799 defaultval=yes
14800 else
14801 defaultval=no
14802 fi
14803 fi
14804
14805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14806 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14807 no_cache=0
14808 # Check whether --enable-accessibility was given.
14809 if test "${enable_accessibility+set}" = set; then
14810 enableval=$enable_accessibility;
14811 if test "$enableval" = yes; then
14812 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14813 else
14814 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14815 fi
14816
14817 else
14818
14819 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14820 if test "x$LINE" != x ; then
14821 eval "DEFAULT_$LINE"
14822 else
14823 no_cache=1
14824 fi
14825
14826 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14827
14828 fi
14829
14830
14831 eval "$ac_cv_use_accessibility"
14832 if test "$no_cache" != 1; then
14833 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
14834 fi
14835
14836 if test x"$enablestring" = xdisable; then
14837 if test $wxUSE_ACCESSIBILITY = yes; then
14838 result=no
14839 else
14840 result=yes
14841 fi
14842 else
14843 result=$wxUSE_ACCESSIBILITY
14844 fi
14845
14846 { echo "$as_me:$LINENO: result: $result" >&5
14847 echo "${ECHO_T}$result" >&6; }
14848
14849
14850 if test "$wxUSE_MSW" = "1"; then
14851
14852 enablestring=
14853 defaultval=$wxUSE_ALL_FEATURES
14854 if test -z "$defaultval"; then
14855 if test x"$enablestring" = xdisable; then
14856 defaultval=yes
14857 else
14858 defaultval=no
14859 fi
14860 fi
14861
14862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14863 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14864 no_cache=0
14865 # Check whether --enable-dccache was given.
14866 if test "${enable_dccache+set}" = set; then
14867 enableval=$enable_dccache;
14868 if test "$enableval" = yes; then
14869 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14870 else
14871 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
14872 fi
14873
14874 else
14875
14876 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
14877 if test "x$LINE" != x ; then
14878 eval "DEFAULT_$LINE"
14879 else
14880 no_cache=1
14881 fi
14882
14883 ac_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14884
14885 fi
14886
14887
14888 eval "$ac_cv_use_dccache"
14889 if test "$no_cache" != 1; then
14890 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
14891 fi
14892
14893 if test x"$enablestring" = xdisable; then
14894 if test $wxUSE_DC_CACHEING = yes; then
14895 result=no
14896 else
14897 result=yes
14898 fi
14899 else
14900 result=$wxUSE_DC_CACHEING
14901 fi
14902
14903 { echo "$as_me:$LINENO: result: $result" >&5
14904 echo "${ECHO_T}$result" >&6; }
14905
14906 fi
14907
14908
14909
14910 enablestring=
14911 defaultval=$wxUSE_ALL_FEATURES
14912 if test -z "$defaultval"; then
14913 if test x"$enablestring" = xdisable; then
14914 defaultval=yes
14915 else
14916 defaultval=no
14917 fi
14918 fi
14919
14920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14921 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14922 no_cache=0
14923 # Check whether --enable-palette was given.
14924 if test "${enable_palette+set}" = set; then
14925 enableval=$enable_palette;
14926 if test "$enableval" = yes; then
14927 ac_cv_use_palette='wxUSE_PALETTE=yes'
14928 else
14929 ac_cv_use_palette='wxUSE_PALETTE=no'
14930 fi
14931
14932 else
14933
14934 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14935 if test "x$LINE" != x ; then
14936 eval "DEFAULT_$LINE"
14937 else
14938 no_cache=1
14939 fi
14940
14941 ac_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14942
14943 fi
14944
14945
14946 eval "$ac_cv_use_palette"
14947 if test "$no_cache" != 1; then
14948 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
14949 fi
14950
14951 if test x"$enablestring" = xdisable; then
14952 if test $wxUSE_PALETTE = yes; then
14953 result=no
14954 else
14955 result=yes
14956 fi
14957 else
14958 result=$wxUSE_PALETTE
14959 fi
14960
14961 { echo "$as_me:$LINENO: result: $result" >&5
14962 echo "${ECHO_T}$result" >&6; }
14963
14964
14965 enablestring=
14966 defaultval=$wxUSE_ALL_FEATURES
14967 if test -z "$defaultval"; then
14968 if test x"$enablestring" = xdisable; then
14969 defaultval=yes
14970 else
14971 defaultval=no
14972 fi
14973 fi
14974
14975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14976 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14977 no_cache=0
14978 # Check whether --enable-image was given.
14979 if test "${enable_image+set}" = set; then
14980 enableval=$enable_image;
14981 if test "$enableval" = yes; then
14982 ac_cv_use_image='wxUSE_IMAGE=yes'
14983 else
14984 ac_cv_use_image='wxUSE_IMAGE=no'
14985 fi
14986
14987 else
14988
14989 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14990 if test "x$LINE" != x ; then
14991 eval "DEFAULT_$LINE"
14992 else
14993 no_cache=1
14994 fi
14995
14996 ac_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14997
14998 fi
14999
15000
15001 eval "$ac_cv_use_image"
15002 if test "$no_cache" != 1; then
15003 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
15004 fi
15005
15006 if test x"$enablestring" = xdisable; then
15007 if test $wxUSE_IMAGE = yes; then
15008 result=no
15009 else
15010 result=yes
15011 fi
15012 else
15013 result=$wxUSE_IMAGE
15014 fi
15015
15016 { echo "$as_me:$LINENO: result: $result" >&5
15017 echo "${ECHO_T}$result" >&6; }
15018
15019
15020 enablestring=
15021 defaultval=$wxUSE_ALL_FEATURES
15022 if test -z "$defaultval"; then
15023 if test x"$enablestring" = xdisable; then
15024 defaultval=yes
15025 else
15026 defaultval=no
15027 fi
15028 fi
15029
15030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15031 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15032 no_cache=0
15033 # Check whether --enable-gif was given.
15034 if test "${enable_gif+set}" = set; then
15035 enableval=$enable_gif;
15036 if test "$enableval" = yes; then
15037 ac_cv_use_gif='wxUSE_GIF=yes'
15038 else
15039 ac_cv_use_gif='wxUSE_GIF=no'
15040 fi
15041
15042 else
15043
15044 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15045 if test "x$LINE" != x ; then
15046 eval "DEFAULT_$LINE"
15047 else
15048 no_cache=1
15049 fi
15050
15051 ac_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15052
15053 fi
15054
15055
15056 eval "$ac_cv_use_gif"
15057 if test "$no_cache" != 1; then
15058 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
15059 fi
15060
15061 if test x"$enablestring" = xdisable; then
15062 if test $wxUSE_GIF = yes; then
15063 result=no
15064 else
15065 result=yes
15066 fi
15067 else
15068 result=$wxUSE_GIF
15069 fi
15070
15071 { echo "$as_me:$LINENO: result: $result" >&5
15072 echo "${ECHO_T}$result" >&6; }
15073
15074
15075 enablestring=
15076 defaultval=$wxUSE_ALL_FEATURES
15077 if test -z "$defaultval"; then
15078 if test x"$enablestring" = xdisable; then
15079 defaultval=yes
15080 else
15081 defaultval=no
15082 fi
15083 fi
15084
15085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15086 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15087 no_cache=0
15088 # Check whether --enable-pcx was given.
15089 if test "${enable_pcx+set}" = set; then
15090 enableval=$enable_pcx;
15091 if test "$enableval" = yes; then
15092 ac_cv_use_pcx='wxUSE_PCX=yes'
15093 else
15094 ac_cv_use_pcx='wxUSE_PCX=no'
15095 fi
15096
15097 else
15098
15099 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15100 if test "x$LINE" != x ; then
15101 eval "DEFAULT_$LINE"
15102 else
15103 no_cache=1
15104 fi
15105
15106 ac_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15107
15108 fi
15109
15110
15111 eval "$ac_cv_use_pcx"
15112 if test "$no_cache" != 1; then
15113 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15114 fi
15115
15116 if test x"$enablestring" = xdisable; then
15117 if test $wxUSE_PCX = yes; then
15118 result=no
15119 else
15120 result=yes
15121 fi
15122 else
15123 result=$wxUSE_PCX
15124 fi
15125
15126 { echo "$as_me:$LINENO: result: $result" >&5
15127 echo "${ECHO_T}$result" >&6; }
15128
15129
15130 enablestring=
15131 defaultval=$wxUSE_ALL_FEATURES
15132 if test -z "$defaultval"; then
15133 if test x"$enablestring" = xdisable; then
15134 defaultval=yes
15135 else
15136 defaultval=no
15137 fi
15138 fi
15139
15140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15141 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15142 no_cache=0
15143 # Check whether --enable-tga was given.
15144 if test "${enable_tga+set}" = set; then
15145 enableval=$enable_tga;
15146 if test "$enableval" = yes; then
15147 ac_cv_use_tga='wxUSE_TGA=yes'
15148 else
15149 ac_cv_use_tga='wxUSE_TGA=no'
15150 fi
15151
15152 else
15153
15154 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15155 if test "x$LINE" != x ; then
15156 eval "DEFAULT_$LINE"
15157 else
15158 no_cache=1
15159 fi
15160
15161 ac_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15162
15163 fi
15164
15165
15166 eval "$ac_cv_use_tga"
15167 if test "$no_cache" != 1; then
15168 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
15169 fi
15170
15171 if test x"$enablestring" = xdisable; then
15172 if test $wxUSE_TGA = yes; then
15173 result=no
15174 else
15175 result=yes
15176 fi
15177 else
15178 result=$wxUSE_TGA
15179 fi
15180
15181 { echo "$as_me:$LINENO: result: $result" >&5
15182 echo "${ECHO_T}$result" >&6; }
15183
15184
15185 enablestring=
15186 defaultval=$wxUSE_ALL_FEATURES
15187 if test -z "$defaultval"; then
15188 if test x"$enablestring" = xdisable; then
15189 defaultval=yes
15190 else
15191 defaultval=no
15192 fi
15193 fi
15194
15195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15196 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15197 no_cache=0
15198 # Check whether --enable-iff was given.
15199 if test "${enable_iff+set}" = set; then
15200 enableval=$enable_iff;
15201 if test "$enableval" = yes; then
15202 ac_cv_use_iff='wxUSE_IFF=yes'
15203 else
15204 ac_cv_use_iff='wxUSE_IFF=no'
15205 fi
15206
15207 else
15208
15209 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15210 if test "x$LINE" != x ; then
15211 eval "DEFAULT_$LINE"
15212 else
15213 no_cache=1
15214 fi
15215
15216 ac_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15217
15218 fi
15219
15220
15221 eval "$ac_cv_use_iff"
15222 if test "$no_cache" != 1; then
15223 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
15224 fi
15225
15226 if test x"$enablestring" = xdisable; then
15227 if test $wxUSE_IFF = yes; then
15228 result=no
15229 else
15230 result=yes
15231 fi
15232 else
15233 result=$wxUSE_IFF
15234 fi
15235
15236 { echo "$as_me:$LINENO: result: $result" >&5
15237 echo "${ECHO_T}$result" >&6; }
15238
15239
15240 enablestring=
15241 defaultval=$wxUSE_ALL_FEATURES
15242 if test -z "$defaultval"; then
15243 if test x"$enablestring" = xdisable; then
15244 defaultval=yes
15245 else
15246 defaultval=no
15247 fi
15248 fi
15249
15250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15251 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15252 no_cache=0
15253 # Check whether --enable-pnm was given.
15254 if test "${enable_pnm+set}" = set; then
15255 enableval=$enable_pnm;
15256 if test "$enableval" = yes; then
15257 ac_cv_use_pnm='wxUSE_PNM=yes'
15258 else
15259 ac_cv_use_pnm='wxUSE_PNM=no'
15260 fi
15261
15262 else
15263
15264 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15265 if test "x$LINE" != x ; then
15266 eval "DEFAULT_$LINE"
15267 else
15268 no_cache=1
15269 fi
15270
15271 ac_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15272
15273 fi
15274
15275
15276 eval "$ac_cv_use_pnm"
15277 if test "$no_cache" != 1; then
15278 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15279 fi
15280
15281 if test x"$enablestring" = xdisable; then
15282 if test $wxUSE_PNM = yes; then
15283 result=no
15284 else
15285 result=yes
15286 fi
15287 else
15288 result=$wxUSE_PNM
15289 fi
15290
15291 { echo "$as_me:$LINENO: result: $result" >&5
15292 echo "${ECHO_T}$result" >&6; }
15293
15294
15295 enablestring=
15296 defaultval=$wxUSE_ALL_FEATURES
15297 if test -z "$defaultval"; then
15298 if test x"$enablestring" = xdisable; then
15299 defaultval=yes
15300 else
15301 defaultval=no
15302 fi
15303 fi
15304
15305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15306 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15307 no_cache=0
15308 # Check whether --enable-xpm was given.
15309 if test "${enable_xpm+set}" = set; then
15310 enableval=$enable_xpm;
15311 if test "$enableval" = yes; then
15312 ac_cv_use_xpm='wxUSE_XPM=yes'
15313 else
15314 ac_cv_use_xpm='wxUSE_XPM=no'
15315 fi
15316
15317 else
15318
15319 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15320 if test "x$LINE" != x ; then
15321 eval "DEFAULT_$LINE"
15322 else
15323 no_cache=1
15324 fi
15325
15326 ac_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15327
15328 fi
15329
15330
15331 eval "$ac_cv_use_xpm"
15332 if test "$no_cache" != 1; then
15333 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15334 fi
15335
15336 if test x"$enablestring" = xdisable; then
15337 if test $wxUSE_XPM = yes; then
15338 result=no
15339 else
15340 result=yes
15341 fi
15342 else
15343 result=$wxUSE_XPM
15344 fi
15345
15346 { echo "$as_me:$LINENO: result: $result" >&5
15347 echo "${ECHO_T}$result" >&6; }
15348
15349
15350 enablestring=
15351 defaultval=$wxUSE_ALL_FEATURES
15352 if test -z "$defaultval"; then
15353 if test x"$enablestring" = xdisable; then
15354 defaultval=yes
15355 else
15356 defaultval=no
15357 fi
15358 fi
15359
15360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15361 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15362 no_cache=0
15363 # Check whether --enable-ico_cur was given.
15364 if test "${enable_ico_cur+set}" = set; then
15365 enableval=$enable_ico_cur;
15366 if test "$enableval" = yes; then
15367 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15368 else
15369 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15370 fi
15371
15372 else
15373
15374 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15375 if test "x$LINE" != x ; then
15376 eval "DEFAULT_$LINE"
15377 else
15378 no_cache=1
15379 fi
15380
15381 ac_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15382
15383 fi
15384
15385
15386 eval "$ac_cv_use_ico_cur"
15387 if test "$no_cache" != 1; then
15388 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15389 fi
15390
15391 if test x"$enablestring" = xdisable; then
15392 if test $wxUSE_ICO_CUR = yes; then
15393 result=no
15394 else
15395 result=yes
15396 fi
15397 else
15398 result=$wxUSE_ICO_CUR
15399 fi
15400
15401 { echo "$as_me:$LINENO: result: $result" >&5
15402 echo "${ECHO_T}$result" >&6; }
15403
15404
15405 fi
15406
15407
15408 echo "saving argument cache $wx_arg_cache_file"
15409 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15410
15411
15412
15413 { echo "$as_me:$LINENO: checking for toolkit" >&5
15414 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15415
15416 # In Wine, we need to default to MSW, not GTK or MOTIF
15417 if test "$wxUSE_WINE" = "yes"; then
15418 DEFAULT_DEFAULT_wxUSE_GTK=0
15419 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15420 DEFAULT_DEFAULT_wxUSE_MSW=1
15421 wxUSE_SHARED=no
15422 CC=${CC:-winegcc}
15423 CXX=${CXX:-wineg++}
15424 fi
15425
15426
15427 if test "$wxUSE_GUI" = "yes"; then
15428
15429 if test "$USE_BEOS" = 1; then
15430 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15431 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15432 { (exit 1); exit 1; }; }
15433 fi
15434
15435 if test "$TOOLKIT_GIVEN" = 1; then
15436 for toolkit in `echo $ALL_TOOLKITS`; do
15437 var=wxUSE_$toolkit
15438 eval "value=\$${var}"
15439 if test "x$value" = "xno"; then
15440 eval "$var=0"
15441 elif test "x$value" != "x"; then
15442 eval "$var=1"
15443 fi
15444
15445 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15446 eval "wx${toolkit}_VERSION=$value"
15447 fi
15448 done
15449 else
15450 for toolkit in `echo $ALL_TOOLKITS`; do
15451 if test "$has_toolkit_in_cache" != 1; then
15452 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15453 else
15454 var=DEFAULT_wxUSE_$toolkit
15455
15456 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15457 if test "x$version" != "x"; then
15458 eval "wx${toolkit}_VERSION=$version"
15459 fi
15460 fi
15461 eval "wxUSE_$toolkit=\$${var}"
15462 done
15463 fi
15464
15465 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15466 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15467 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15468
15469 case "${host}" in
15470 *-pc-os2_emx | *-pc-os2-emx )
15471 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15472 esac
15473
15474 case "$NUM_TOOLKITS" in
15475 1)
15476 ;;
15477 0)
15478 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15479 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15480 { (exit 1); exit 1; }; }
15481 ;;
15482 *)
15483 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15484 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15485 { (exit 1); exit 1; }; }
15486 esac
15487
15488 # to be removed when --disable-gtk2 isn't needed
15489 if test "x$wxUSE_GTK2" = "xyes"; then
15490 wxGTK_VERSION=2
15491 elif test "x$wxUSE_GTK2" = "xno"; then
15492 wxGTK_VERSION=1
15493 fi
15494
15495 for toolkit in `echo $ALL_TOOLKITS`; do
15496 var=wxUSE_$toolkit
15497 eval "value=\$${var}"
15498 if test "x$value" != x; then
15499 cache_var=CACHE_$toolkit
15500 eval "cache=\$${cache_var}"
15501 if test "$cache" = 1; then
15502 echo "$var=$value" >> ${wx_arg_cache_file}
15503 eval "version=\$wx${toolkit}_VERSION"
15504 if test "x$version" != "x"; then
15505 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15506 fi
15507 fi
15508 if test "$value" = 1; then
15509 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15510 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15511 echo "${ECHO_T}$toolkit_echo" >&6; }
15512 fi
15513 fi
15514 done
15515 else
15516 if test "x$host_alias" != "x"; then
15517 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15518 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15519 else
15520 { echo "$as_me:$LINENO: result: base only" >&5
15521 echo "${ECHO_T}base only" >&6; }
15522 fi
15523 fi
15524
15525
15526 cat >confcache <<\_ACEOF
15527 # This file is a shell script that caches the results of configure
15528 # tests run on this system so they can be shared between configure
15529 # scripts and configure runs, see configure's option --config-cache.
15530 # It is not useful on other systems. If it contains results you don't
15531 # want to keep, you may remove or edit it.
15532 #
15533 # config.status only pays attention to the cache file if you give it
15534 # the --recheck option to rerun configure.
15535 #
15536 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15537 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15538 # following values.
15539
15540 _ACEOF
15541
15542 # The following way of writing the cache mishandles newlines in values,
15543 # but we know of no workaround that is simple, portable, and efficient.
15544 # So, we kill variables containing newlines.
15545 # Ultrix sh set writes to stderr and can't be redirected directly,
15546 # and sets the high bit in the cache file unless we assign to the vars.
15547 (
15548 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15549 eval ac_val=\$$ac_var
15550 case $ac_val in #(
15551 *${as_nl}*)
15552 case $ac_var in #(
15553 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15554 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15555 esac
15556 case $ac_var in #(
15557 _ | IFS | as_nl) ;; #(
15558 *) $as_unset $ac_var ;;
15559 esac ;;
15560 esac
15561 done
15562
15563 (set) 2>&1 |
15564 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15565 *${as_nl}ac_space=\ *)
15566 # `set' does not quote correctly, so add quotes (double-quote
15567 # substitution turns \\\\ into \\, and sed turns \\ into \).
15568 sed -n \
15569 "s/'/'\\\\''/g;
15570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15571 ;; #(
15572 *)
15573 # `set' quotes correctly as required by POSIX, so do not add quotes.
15574 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15575 ;;
15576 esac |
15577 sort
15578 ) |
15579 sed '
15580 /^ac_cv_env_/b end
15581 t clear
15582 :clear
15583 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15584 t end
15585 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15586 :end' >>confcache
15587 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15588 if test -w "$cache_file"; then
15589 test "x$cache_file" != "x/dev/null" &&
15590 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15591 echo "$as_me: updating cache $cache_file" >&6;}
15592 cat confcache >$cache_file
15593 else
15594 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15595 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15596 fi
15597 fi
15598 rm -f confcache
15599
15600 CFLAGS=${CFLAGS:=}
15601
15602
15603
15604 ac_ext=c
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609 if test -n "$ac_tool_prefix"; then
15610 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15611 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15614 if test "${ac_cv_prog_CC+set}" = set; then
15615 echo $ECHO_N "(cached) $ECHO_C" >&6
15616 else
15617 if test -n "$CC"; then
15618 ac_cv_prog_CC="$CC" # Let the user override the test.
15619 else
15620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15621 for as_dir in $PATH
15622 do
15623 IFS=$as_save_IFS
15624 test -z "$as_dir" && as_dir=.
15625 for ac_exec_ext in '' $ac_executable_extensions; do
15626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15627 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15629 break 2
15630 fi
15631 done
15632 done
15633 IFS=$as_save_IFS
15634
15635 fi
15636 fi
15637 CC=$ac_cv_prog_CC
15638 if test -n "$CC"; then
15639 { echo "$as_me:$LINENO: result: $CC" >&5
15640 echo "${ECHO_T}$CC" >&6; }
15641 else
15642 { echo "$as_me:$LINENO: result: no" >&5
15643 echo "${ECHO_T}no" >&6; }
15644 fi
15645
15646
15647 fi
15648 if test -z "$ac_cv_prog_CC"; then
15649 ac_ct_CC=$CC
15650 # Extract the first word of "gcc", so it can be a program name with args.
15651 set dummy gcc; ac_word=$2
15652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15654 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15655 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 else
15657 if test -n "$ac_ct_CC"; then
15658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15659 else
15660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15661 for as_dir in $PATH
15662 do
15663 IFS=$as_save_IFS
15664 test -z "$as_dir" && as_dir=.
15665 for ac_exec_ext in '' $ac_executable_extensions; do
15666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15667 ac_cv_prog_ac_ct_CC="gcc"
15668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15669 break 2
15670 fi
15671 done
15672 done
15673 IFS=$as_save_IFS
15674
15675 fi
15676 fi
15677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15678 if test -n "$ac_ct_CC"; then
15679 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15680 echo "${ECHO_T}$ac_ct_CC" >&6; }
15681 else
15682 { echo "$as_me:$LINENO: result: no" >&5
15683 echo "${ECHO_T}no" >&6; }
15684 fi
15685
15686 if test "x$ac_ct_CC" = x; then
15687 CC=""
15688 else
15689 case $cross_compiling:$ac_tool_warned in
15690 yes:)
15691 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15692 whose name does not start with the host triplet. If you think this
15693 configuration is useful to you, please write to autoconf@gnu.org." >&5
15694 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15695 whose name does not start with the host triplet. If you think this
15696 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15697 ac_tool_warned=yes ;;
15698 esac
15699 CC=$ac_ct_CC
15700 fi
15701 else
15702 CC="$ac_cv_prog_CC"
15703 fi
15704
15705 if test -z "$CC"; then
15706 if test -n "$ac_tool_prefix"; then
15707 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15708 set dummy ${ac_tool_prefix}cc; ac_word=$2
15709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15711 if test "${ac_cv_prog_CC+set}" = set; then
15712 echo $ECHO_N "(cached) $ECHO_C" >&6
15713 else
15714 if test -n "$CC"; then
15715 ac_cv_prog_CC="$CC" # Let the user override the test.
15716 else
15717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15718 for as_dir in $PATH
15719 do
15720 IFS=$as_save_IFS
15721 test -z "$as_dir" && as_dir=.
15722 for ac_exec_ext in '' $ac_executable_extensions; do
15723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15724 ac_cv_prog_CC="${ac_tool_prefix}cc"
15725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15726 break 2
15727 fi
15728 done
15729 done
15730 IFS=$as_save_IFS
15731
15732 fi
15733 fi
15734 CC=$ac_cv_prog_CC
15735 if test -n "$CC"; then
15736 { echo "$as_me:$LINENO: result: $CC" >&5
15737 echo "${ECHO_T}$CC" >&6; }
15738 else
15739 { echo "$as_me:$LINENO: result: no" >&5
15740 echo "${ECHO_T}no" >&6; }
15741 fi
15742
15743
15744 fi
15745 fi
15746 if test -z "$CC"; then
15747 # Extract the first word of "cc", so it can be a program name with args.
15748 set dummy cc; ac_word=$2
15749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15751 if test "${ac_cv_prog_CC+set}" = set; then
15752 echo $ECHO_N "(cached) $ECHO_C" >&6
15753 else
15754 if test -n "$CC"; then
15755 ac_cv_prog_CC="$CC" # Let the user override the test.
15756 else
15757 ac_prog_rejected=no
15758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15759 for as_dir in $PATH
15760 do
15761 IFS=$as_save_IFS
15762 test -z "$as_dir" && as_dir=.
15763 for ac_exec_ext in '' $ac_executable_extensions; do
15764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15765 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15766 ac_prog_rejected=yes
15767 continue
15768 fi
15769 ac_cv_prog_CC="cc"
15770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15771 break 2
15772 fi
15773 done
15774 done
15775 IFS=$as_save_IFS
15776
15777 if test $ac_prog_rejected = yes; then
15778 # We found a bogon in the path, so make sure we never use it.
15779 set dummy $ac_cv_prog_CC
15780 shift
15781 if test $# != 0; then
15782 # We chose a different compiler from the bogus one.
15783 # However, it has the same basename, so the bogon will be chosen
15784 # first if we set CC to just the basename; use the full file name.
15785 shift
15786 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15787 fi
15788 fi
15789 fi
15790 fi
15791 CC=$ac_cv_prog_CC
15792 if test -n "$CC"; then
15793 { echo "$as_me:$LINENO: result: $CC" >&5
15794 echo "${ECHO_T}$CC" >&6; }
15795 else
15796 { echo "$as_me:$LINENO: result: no" >&5
15797 echo "${ECHO_T}no" >&6; }
15798 fi
15799
15800
15801 fi
15802 if test -z "$CC"; then
15803 if test -n "$ac_tool_prefix"; then
15804 for ac_prog in cl.exe
15805 do
15806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15810 if test "${ac_cv_prog_CC+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 else
15813 if test -n "$CC"; then
15814 ac_cv_prog_CC="$CC" # Let the user override the test.
15815 else
15816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15817 for as_dir in $PATH
15818 do
15819 IFS=$as_save_IFS
15820 test -z "$as_dir" && as_dir=.
15821 for ac_exec_ext in '' $ac_executable_extensions; do
15822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15823 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15825 break 2
15826 fi
15827 done
15828 done
15829 IFS=$as_save_IFS
15830
15831 fi
15832 fi
15833 CC=$ac_cv_prog_CC
15834 if test -n "$CC"; then
15835 { echo "$as_me:$LINENO: result: $CC" >&5
15836 echo "${ECHO_T}$CC" >&6; }
15837 else
15838 { echo "$as_me:$LINENO: result: no" >&5
15839 echo "${ECHO_T}no" >&6; }
15840 fi
15841
15842
15843 test -n "$CC" && break
15844 done
15845 fi
15846 if test -z "$CC"; then
15847 ac_ct_CC=$CC
15848 for ac_prog in cl.exe
15849 do
15850 # Extract the first word of "$ac_prog", so it can be a program name with args.
15851 set dummy $ac_prog; ac_word=$2
15852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 else
15857 if test -n "$ac_ct_CC"; then
15858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15859 else
15860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15861 for as_dir in $PATH
15862 do
15863 IFS=$as_save_IFS
15864 test -z "$as_dir" && as_dir=.
15865 for ac_exec_ext in '' $ac_executable_extensions; do
15866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15867 ac_cv_prog_ac_ct_CC="$ac_prog"
15868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15869 break 2
15870 fi
15871 done
15872 done
15873 IFS=$as_save_IFS
15874
15875 fi
15876 fi
15877 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15878 if test -n "$ac_ct_CC"; then
15879 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15880 echo "${ECHO_T}$ac_ct_CC" >&6; }
15881 else
15882 { echo "$as_me:$LINENO: result: no" >&5
15883 echo "${ECHO_T}no" >&6; }
15884 fi
15885
15886
15887 test -n "$ac_ct_CC" && break
15888 done
15889
15890 if test "x$ac_ct_CC" = x; then
15891 CC=""
15892 else
15893 case $cross_compiling:$ac_tool_warned in
15894 yes:)
15895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15896 whose name does not start with the host triplet. If you think this
15897 configuration is useful to you, please write to autoconf@gnu.org." >&5
15898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15899 whose name does not start with the host triplet. If you think this
15900 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15901 ac_tool_warned=yes ;;
15902 esac
15903 CC=$ac_ct_CC
15904 fi
15905 fi
15906
15907 fi
15908
15909
15910 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15911 See \`config.log' for more details." >&5
15912 echo "$as_me: error: no acceptable C compiler found in \$PATH
15913 See \`config.log' for more details." >&2;}
15914 { (exit 1); exit 1; }; }
15915
15916 # Provide some information about the compiler.
15917 echo "$as_me:$LINENO: checking for C compiler version" >&5
15918 ac_compiler=`set X $ac_compile; echo $2`
15919 { (ac_try="$ac_compiler --version >&5"
15920 case "(($ac_try" in
15921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15922 *) ac_try_echo=$ac_try;;
15923 esac
15924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15925 (eval "$ac_compiler --version >&5") 2>&5
15926 ac_status=$?
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); }
15929 { (ac_try="$ac_compiler -v >&5"
15930 case "(($ac_try" in
15931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15932 *) ac_try_echo=$ac_try;;
15933 esac
15934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15935 (eval "$ac_compiler -v >&5") 2>&5
15936 ac_status=$?
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }
15939 { (ac_try="$ac_compiler -V >&5"
15940 case "(($ac_try" in
15941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15942 *) ac_try_echo=$ac_try;;
15943 esac
15944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15945 (eval "$ac_compiler -V >&5") 2>&5
15946 ac_status=$?
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }
15949
15950 cat >conftest.$ac_ext <<_ACEOF
15951 /* confdefs.h. */
15952 _ACEOF
15953 cat confdefs.h >>conftest.$ac_ext
15954 cat >>conftest.$ac_ext <<_ACEOF
15955 /* end confdefs.h. */
15956
15957 int
15958 main ()
15959 {
15960
15961 ;
15962 return 0;
15963 }
15964 _ACEOF
15965 ac_clean_files_save=$ac_clean_files
15966 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15967 # Try to create an executable without -o first, disregard a.out.
15968 # It will help us diagnose broken compilers, and finding out an intuition
15969 # of exeext.
15970 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15971 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15972 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15973 #
15974 # List of possible output files, starting from the most likely.
15975 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15976 # only as a last resort. b.out is created by i960 compilers.
15977 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15978 #
15979 # The IRIX 6 linker writes into existing files which may not be
15980 # executable, retaining their permissions. Remove them first so a
15981 # subsequent execution test works.
15982 ac_rmfiles=
15983 for ac_file in $ac_files
15984 do
15985 case $ac_file in
15986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15987 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15988 esac
15989 done
15990 rm -f $ac_rmfiles
15991
15992 if { (ac_try="$ac_link_default"
15993 case "(($ac_try" in
15994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15995 *) ac_try_echo=$ac_try;;
15996 esac
15997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15998 (eval "$ac_link_default") 2>&5
15999 ac_status=$?
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); }; then
16002 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16003 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16004 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16005 # so that the user can short-circuit this test for compilers unknown to
16006 # Autoconf.
16007 for ac_file in $ac_files ''
16008 do
16009 test -f "$ac_file" || continue
16010 case $ac_file in
16011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16012 ;;
16013 [ab].out )
16014 # We found the default executable, but exeext='' is most
16015 # certainly right.
16016 break;;
16017 *.* )
16018 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16019 then :; else
16020 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16021 fi
16022 # We set ac_cv_exeext here because the later test for it is not
16023 # safe: cross compilers may not add the suffix if given an `-o'
16024 # argument, so we may need to know it at that point already.
16025 # Even if this section looks crufty: it has the advantage of
16026 # actually working.
16027 break;;
16028 * )
16029 break;;
16030 esac
16031 done
16032 test "$ac_cv_exeext" = no && ac_cv_exeext=
16033
16034 else
16035 ac_file=''
16036 fi
16037
16038 { echo "$as_me:$LINENO: result: $ac_file" >&5
16039 echo "${ECHO_T}$ac_file" >&6; }
16040 if test -z "$ac_file"; then
16041 echo "$as_me: failed program was:" >&5
16042 sed 's/^/| /' conftest.$ac_ext >&5
16043
16044 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16045 See \`config.log' for more details." >&5
16046 echo "$as_me: error: C compiler cannot create executables
16047 See \`config.log' for more details." >&2;}
16048 { (exit 77); exit 77; }; }
16049 fi
16050
16051 ac_exeext=$ac_cv_exeext
16052
16053 # Check that the compiler produces executables we can run. If not, either
16054 # the compiler is broken, or we cross compile.
16055 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16056 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16057 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16058 # If not cross compiling, check that we can run a simple program.
16059 if test "$cross_compiling" != yes; then
16060 if { ac_try='./$ac_file'
16061 { (case "(($ac_try" in
16062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16063 *) ac_try_echo=$ac_try;;
16064 esac
16065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16066 (eval "$ac_try") 2>&5
16067 ac_status=$?
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16070 cross_compiling=no
16071 else
16072 if test "$cross_compiling" = maybe; then
16073 cross_compiling=yes
16074 else
16075 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16076 If you meant to cross compile, use \`--host'.
16077 See \`config.log' for more details." >&5
16078 echo "$as_me: error: cannot run C compiled programs.
16079 If you meant to cross compile, use \`--host'.
16080 See \`config.log' for more details." >&2;}
16081 { (exit 1); exit 1; }; }
16082 fi
16083 fi
16084 fi
16085 { echo "$as_me:$LINENO: result: yes" >&5
16086 echo "${ECHO_T}yes" >&6; }
16087
16088 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16089 ac_clean_files=$ac_clean_files_save
16090 # Check that the compiler produces executables we can run. If not, either
16091 # the compiler is broken, or we cross compile.
16092 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16093 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16094 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16095 echo "${ECHO_T}$cross_compiling" >&6; }
16096
16097 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16098 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16099 if { (ac_try="$ac_link"
16100 case "(($ac_try" in
16101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16102 *) ac_try_echo=$ac_try;;
16103 esac
16104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16105 (eval "$ac_link") 2>&5
16106 ac_status=$?
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; then
16109 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16110 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16111 # work properly (i.e., refer to `conftest.exe'), while it won't with
16112 # `rm'.
16113 for ac_file in conftest.exe conftest conftest.*; do
16114 test -f "$ac_file" || continue
16115 case $ac_file in
16116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16117 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16118 break;;
16119 * ) break;;
16120 esac
16121 done
16122 else
16123 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16124 See \`config.log' for more details." >&5
16125 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16126 See \`config.log' for more details." >&2;}
16127 { (exit 1); exit 1; }; }
16128 fi
16129
16130 rm -f conftest$ac_cv_exeext
16131 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16132 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16133
16134 rm -f conftest.$ac_ext
16135 EXEEXT=$ac_cv_exeext
16136 ac_exeext=$EXEEXT
16137 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16138 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16139 if test "${ac_cv_objext+set}" = set; then
16140 echo $ECHO_N "(cached) $ECHO_C" >&6
16141 else
16142 cat >conftest.$ac_ext <<_ACEOF
16143 /* confdefs.h. */
16144 _ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16148
16149 int
16150 main ()
16151 {
16152
16153 ;
16154 return 0;
16155 }
16156 _ACEOF
16157 rm -f conftest.o conftest.obj
16158 if { (ac_try="$ac_compile"
16159 case "(($ac_try" in
16160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16161 *) ac_try_echo=$ac_try;;
16162 esac
16163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16164 (eval "$ac_compile") 2>&5
16165 ac_status=$?
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; then
16168 for ac_file in conftest.o conftest.obj conftest.*; do
16169 test -f "$ac_file" || continue;
16170 case $ac_file in
16171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16172 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16173 break;;
16174 esac
16175 done
16176 else
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16179
16180 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16181 See \`config.log' for more details." >&5
16182 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16183 See \`config.log' for more details." >&2;}
16184 { (exit 1); exit 1; }; }
16185 fi
16186
16187 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16188 fi
16189 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16190 echo "${ECHO_T}$ac_cv_objext" >&6; }
16191 OBJEXT=$ac_cv_objext
16192 ac_objext=$OBJEXT
16193 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16194 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16195 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16198 cat >conftest.$ac_ext <<_ACEOF
16199 /* confdefs.h. */
16200 _ACEOF
16201 cat confdefs.h >>conftest.$ac_ext
16202 cat >>conftest.$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16204
16205 int
16206 main ()
16207 {
16208 #ifndef __GNUC__
16209 choke me
16210 #endif
16211
16212 ;
16213 return 0;
16214 }
16215 _ACEOF
16216 rm -f conftest.$ac_objext
16217 if { (ac_try="$ac_compile"
16218 case "(($ac_try" in
16219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16220 *) ac_try_echo=$ac_try;;
16221 esac
16222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16223 (eval "$ac_compile") 2>conftest.er1
16224 ac_status=$?
16225 grep -v '^ *+' conftest.er1 >conftest.err
16226 rm -f conftest.er1
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } && {
16230 test -z "$ac_c_werror_flag" ||
16231 test ! -s conftest.err
16232 } && test -s conftest.$ac_objext; then
16233 ac_compiler_gnu=yes
16234 else
16235 echo "$as_me: failed program was:" >&5
16236 sed 's/^/| /' conftest.$ac_ext >&5
16237
16238 ac_compiler_gnu=no
16239 fi
16240
16241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16242 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16243
16244 fi
16245 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16246 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16247 GCC=`test $ac_compiler_gnu = yes && echo yes`
16248 ac_test_CFLAGS=${CFLAGS+set}
16249 ac_save_CFLAGS=$CFLAGS
16250 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16251 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16252 if test "${ac_cv_prog_cc_g+set}" = set; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 else
16255 ac_save_c_werror_flag=$ac_c_werror_flag
16256 ac_c_werror_flag=yes
16257 ac_cv_prog_cc_g=no
16258 CFLAGS="-g"
16259 cat >conftest.$ac_ext <<_ACEOF
16260 /* confdefs.h. */
16261 _ACEOF
16262 cat confdefs.h >>conftest.$ac_ext
16263 cat >>conftest.$ac_ext <<_ACEOF
16264 /* end confdefs.h. */
16265
16266 int
16267 main ()
16268 {
16269
16270 ;
16271 return 0;
16272 }
16273 _ACEOF
16274 rm -f conftest.$ac_objext
16275 if { (ac_try="$ac_compile"
16276 case "(($ac_try" in
16277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16278 *) ac_try_echo=$ac_try;;
16279 esac
16280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16281 (eval "$ac_compile") 2>conftest.er1
16282 ac_status=$?
16283 grep -v '^ *+' conftest.er1 >conftest.err
16284 rm -f conftest.er1
16285 cat conftest.err >&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } && {
16288 test -z "$ac_c_werror_flag" ||
16289 test ! -s conftest.err
16290 } && test -s conftest.$ac_objext; then
16291 ac_cv_prog_cc_g=yes
16292 else
16293 echo "$as_me: failed program was:" >&5
16294 sed 's/^/| /' conftest.$ac_ext >&5
16295
16296 CFLAGS=""
16297 cat >conftest.$ac_ext <<_ACEOF
16298 /* confdefs.h. */
16299 _ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16303
16304 int
16305 main ()
16306 {
16307
16308 ;
16309 return 0;
16310 }
16311 _ACEOF
16312 rm -f conftest.$ac_objext
16313 if { (ac_try="$ac_compile"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16317 esac
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compile") 2>conftest.er1
16320 ac_status=$?
16321 grep -v '^ *+' conftest.er1 >conftest.err
16322 rm -f conftest.er1
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_c_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest.$ac_objext; then
16329 :
16330 else
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16333
16334 ac_c_werror_flag=$ac_save_c_werror_flag
16335 CFLAGS="-g"
16336 cat >conftest.$ac_ext <<_ACEOF
16337 /* confdefs.h. */
16338 _ACEOF
16339 cat confdefs.h >>conftest.$ac_ext
16340 cat >>conftest.$ac_ext <<_ACEOF
16341 /* end confdefs.h. */
16342
16343 int
16344 main ()
16345 {
16346
16347 ;
16348 return 0;
16349 }
16350 _ACEOF
16351 rm -f conftest.$ac_objext
16352 if { (ac_try="$ac_compile"
16353 case "(($ac_try" in
16354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16355 *) ac_try_echo=$ac_try;;
16356 esac
16357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16358 (eval "$ac_compile") 2>conftest.er1
16359 ac_status=$?
16360 grep -v '^ *+' conftest.er1 >conftest.err
16361 rm -f conftest.er1
16362 cat conftest.err >&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } && {
16365 test -z "$ac_c_werror_flag" ||
16366 test ! -s conftest.err
16367 } && test -s conftest.$ac_objext; then
16368 ac_cv_prog_cc_g=yes
16369 else
16370 echo "$as_me: failed program was:" >&5
16371 sed 's/^/| /' conftest.$ac_ext >&5
16372
16373
16374 fi
16375
16376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16377 fi
16378
16379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16380 fi
16381
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383 ac_c_werror_flag=$ac_save_c_werror_flag
16384 fi
16385 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16386 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16387 if test "$ac_test_CFLAGS" = set; then
16388 CFLAGS=$ac_save_CFLAGS
16389 elif test $ac_cv_prog_cc_g = yes; then
16390 if test "$GCC" = yes; then
16391 CFLAGS="-g -O2"
16392 else
16393 CFLAGS="-g"
16394 fi
16395 else
16396 if test "$GCC" = yes; then
16397 CFLAGS="-O2"
16398 else
16399 CFLAGS=
16400 fi
16401 fi
16402 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16403 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16404 if test "${ac_cv_prog_cc_c89+set}" = set; then
16405 echo $ECHO_N "(cached) $ECHO_C" >&6
16406 else
16407 ac_cv_prog_cc_c89=no
16408 ac_save_CC=$CC
16409 cat >conftest.$ac_ext <<_ACEOF
16410 /* confdefs.h. */
16411 _ACEOF
16412 cat confdefs.h >>conftest.$ac_ext
16413 cat >>conftest.$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16415 #include <stdarg.h>
16416 #include <stdio.h>
16417 #include <sys/types.h>
16418 #include <sys/stat.h>
16419 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16420 struct buf { int x; };
16421 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16422 static char *e (p, i)
16423 char **p;
16424 int i;
16425 {
16426 return p[i];
16427 }
16428 static char *f (char * (*g) (char **, int), char **p, ...)
16429 {
16430 char *s;
16431 va_list v;
16432 va_start (v,p);
16433 s = g (p, va_arg (v,int));
16434 va_end (v);
16435 return s;
16436 }
16437
16438 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16439 function prototypes and stuff, but not '\xHH' hex character constants.
16440 These don't provoke an error unfortunately, instead are silently treated
16441 as 'x'. The following induces an error, until -std is added to get
16442 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16443 array size at least. It's necessary to write '\x00'==0 to get something
16444 that's true only with -std. */
16445 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16446
16447 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16448 inside strings and character constants. */
16449 #define FOO(x) 'x'
16450 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16451
16452 int test (int i, double x);
16453 struct s1 {int (*f) (int a);};
16454 struct s2 {int (*f) (double a);};
16455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16456 int argc;
16457 char **argv;
16458 int
16459 main ()
16460 {
16461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16462 ;
16463 return 0;
16464 }
16465 _ACEOF
16466 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16467 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16468 do
16469 CC="$ac_save_CC $ac_arg"
16470 rm -f conftest.$ac_objext
16471 if { (ac_try="$ac_compile"
16472 case "(($ac_try" in
16473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16474 *) ac_try_echo=$ac_try;;
16475 esac
16476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16477 (eval "$ac_compile") 2>conftest.er1
16478 ac_status=$?
16479 grep -v '^ *+' conftest.er1 >conftest.err
16480 rm -f conftest.er1
16481 cat conftest.err >&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); } && {
16484 test -z "$ac_c_werror_flag" ||
16485 test ! -s conftest.err
16486 } && test -s conftest.$ac_objext; then
16487 ac_cv_prog_cc_c89=$ac_arg
16488 else
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.$ac_ext >&5
16491
16492
16493 fi
16494
16495 rm -f core conftest.err conftest.$ac_objext
16496 test "x$ac_cv_prog_cc_c89" != "xno" && break
16497 done
16498 rm -f conftest.$ac_ext
16499 CC=$ac_save_CC
16500
16501 fi
16502 # AC_CACHE_VAL
16503 case "x$ac_cv_prog_cc_c89" in
16504 x)
16505 { echo "$as_me:$LINENO: result: none needed" >&5
16506 echo "${ECHO_T}none needed" >&6; } ;;
16507 xno)
16508 { echo "$as_me:$LINENO: result: unsupported" >&5
16509 echo "${ECHO_T}unsupported" >&6; } ;;
16510 *)
16511 CC="$CC $ac_cv_prog_cc_c89"
16512 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16513 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16514 esac
16515
16516
16517 ac_ext=c
16518 ac_cpp='$CPP $CPPFLAGS'
16519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16522
16523
16524
16525
16526 ac_ext=c
16527 ac_cpp='$CPP $CPPFLAGS'
16528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16531
16532 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16533 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16534 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16536 else
16537 cat >conftest.$ac_ext <<_ACEOF
16538 /* confdefs.h. */
16539 _ACEOF
16540 cat confdefs.h >>conftest.$ac_ext
16541 cat >>conftest.$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16543
16544 int
16545 main ()
16546 {
16547
16548 #ifndef __INTEL_COMPILER
16549 choke me
16550 #endif
16551
16552 ;
16553 return 0;
16554 }
16555 _ACEOF
16556 rm -f conftest.$ac_objext
16557 if { (ac_try="$ac_compile"
16558 case "(($ac_try" in
16559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16560 *) ac_try_echo=$ac_try;;
16561 esac
16562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16563 (eval "$ac_compile") 2>conftest.er1
16564 ac_status=$?
16565 grep -v '^ *+' conftest.er1 >conftest.err
16566 rm -f conftest.er1
16567 cat conftest.err >&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } && {
16570 test -z "$ac_c_werror_flag" ||
16571 test ! -s conftest.err
16572 } && test -s conftest.$ac_objext; then
16573 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16574 else
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.$ac_ext >&5
16577
16578 bakefile_cv_c_compiler___INTEL_COMPILER=no
16579
16580 fi
16581
16582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16583
16584
16585 fi
16586 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16587 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16588 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16589 :; INTELCC=yes
16590 else
16591 :;
16592 fi
16593 ac_ext=c
16594 ac_cpp='$CPP $CPPFLAGS'
16595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16598
16599
16600
16601
16602 if test "x$GCC" != "xyes"; then
16603 if test "xCC" = "xC"; then
16604 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16605 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16606 if test "${bakefile_cv_c_exto+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16608 else
16609 cat >conftest.$ac_ext <<_ACEOF
16610 /* confdefs.h. */
16611 _ACEOF
16612 cat confdefs.h >>conftest.$ac_ext
16613 cat >>conftest.$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16615
16616 int
16617 main ()
16618 {
16619
16620 ;
16621 return 0;
16622 }
16623 _ACEOF
16624 rm -f conftest.$ac_objext conftest.$ac_ext.o
16625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16626 (eval $ac_compile) 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; then
16630 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16631 case $ac_file in
16632 conftest.$ac_ext.o)
16633 bakefile_cv_c_exto="-ext o"
16634 ;;
16635 *)
16636 ;;
16637 esac
16638 done
16639 else
16640 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16641 See \`config.log' for more details." >&5
16642 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16643 See \`config.log' for more details." >&2;}
16644 { (exit 1); exit 1; }; }
16645
16646 fi
16647
16648 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16649
16650 fi
16651 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16652 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16653 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16654 if test "c" = "c"; then
16655 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16656 fi
16657 if test "c" = "cxx"; then
16658 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16659 fi
16660 fi
16661
16662 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16663 unset ac_cv_prog_cc_g
16664 ac_test_CFLAGS=${CFLAGS+set}
16665 ac_save_CFLAGS=$CFLAGS
16666 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16667 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16668 if test "${ac_cv_prog_cc_g+set}" = set; then
16669 echo $ECHO_N "(cached) $ECHO_C" >&6
16670 else
16671 ac_save_c_werror_flag=$ac_c_werror_flag
16672 ac_c_werror_flag=yes
16673 ac_cv_prog_cc_g=no
16674 CFLAGS="-g"
16675 cat >conftest.$ac_ext <<_ACEOF
16676 /* confdefs.h. */
16677 _ACEOF
16678 cat confdefs.h >>conftest.$ac_ext
16679 cat >>conftest.$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681
16682 int
16683 main ()
16684 {
16685
16686 ;
16687 return 0;
16688 }
16689 _ACEOF
16690 rm -f conftest.$ac_objext
16691 if { (ac_try="$ac_compile"
16692 case "(($ac_try" in
16693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16694 *) ac_try_echo=$ac_try;;
16695 esac
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_compile") 2>conftest.er1
16698 ac_status=$?
16699 grep -v '^ *+' conftest.er1 >conftest.err
16700 rm -f conftest.er1
16701 cat conftest.err >&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } && {
16704 test -z "$ac_c_werror_flag" ||
16705 test ! -s conftest.err
16706 } && test -s conftest.$ac_objext; then
16707 ac_cv_prog_cc_g=yes
16708 else
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16711
16712 CFLAGS=""
16713 cat >conftest.$ac_ext <<_ACEOF
16714 /* confdefs.h. */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16719
16720 int
16721 main ()
16722 {
16723
16724 ;
16725 return 0;
16726 }
16727 _ACEOF
16728 rm -f conftest.$ac_objext
16729 if { (ac_try="$ac_compile"
16730 case "(($ac_try" in
16731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16732 *) ac_try_echo=$ac_try;;
16733 esac
16734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16735 (eval "$ac_compile") 2>conftest.er1
16736 ac_status=$?
16737 grep -v '^ *+' conftest.er1 >conftest.err
16738 rm -f conftest.er1
16739 cat conftest.err >&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } && {
16742 test -z "$ac_c_werror_flag" ||
16743 test ! -s conftest.err
16744 } && test -s conftest.$ac_objext; then
16745 :
16746 else
16747 echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.$ac_ext >&5
16749
16750 ac_c_werror_flag=$ac_save_c_werror_flag
16751 CFLAGS="-g"
16752 cat >conftest.$ac_ext <<_ACEOF
16753 /* confdefs.h. */
16754 _ACEOF
16755 cat confdefs.h >>conftest.$ac_ext
16756 cat >>conftest.$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758
16759 int
16760 main ()
16761 {
16762
16763 ;
16764 return 0;
16765 }
16766 _ACEOF
16767 rm -f conftest.$ac_objext
16768 if { (ac_try="$ac_compile"
16769 case "(($ac_try" in
16770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16771 *) ac_try_echo=$ac_try;;
16772 esac
16773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16774 (eval "$ac_compile") 2>conftest.er1
16775 ac_status=$?
16776 grep -v '^ *+' conftest.er1 >conftest.err
16777 rm -f conftest.er1
16778 cat conftest.err >&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } && {
16781 test -z "$ac_c_werror_flag" ||
16782 test ! -s conftest.err
16783 } && test -s conftest.$ac_objext; then
16784 ac_cv_prog_cc_g=yes
16785 else
16786 echo "$as_me: failed program was:" >&5
16787 sed 's/^/| /' conftest.$ac_ext >&5
16788
16789
16790 fi
16791
16792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16793 fi
16794
16795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16796 fi
16797
16798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16799 ac_c_werror_flag=$ac_save_c_werror_flag
16800 fi
16801 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16802 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16803 if test "$ac_test_CFLAGS" = set; then
16804 CFLAGS=$ac_save_CFLAGS
16805 elif test $ac_cv_prog_cc_g = yes; then
16806 if test "$GCC" = yes; then
16807 CFLAGS="-g -O2"
16808 else
16809 CFLAGS="-g"
16810 fi
16811 else
16812 if test "$GCC" = yes; then
16813 CFLAGS="-O2"
16814 else
16815 CFLAGS=
16816 fi
16817 fi
16818 fi
16819 fi
16820
16821 case `uname -s` in
16822 AIX*)
16823
16824
16825 ac_ext=c
16826 ac_cpp='$CPP $CPPFLAGS'
16827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16830
16831 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16832 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16833 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16834 echo $ECHO_N "(cached) $ECHO_C" >&6
16835 else
16836 cat >conftest.$ac_ext <<_ACEOF
16837 /* confdefs.h. */
16838 _ACEOF
16839 cat confdefs.h >>conftest.$ac_ext
16840 cat >>conftest.$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842
16843 int
16844 main ()
16845 {
16846
16847 #ifndef __xlC__
16848 choke me
16849 #endif
16850
16851 ;
16852 return 0;
16853 }
16854 _ACEOF
16855 rm -f conftest.$ac_objext
16856 if { (ac_try="$ac_compile"
16857 case "(($ac_try" in
16858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16859 *) ac_try_echo=$ac_try;;
16860 esac
16861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16862 (eval "$ac_compile") 2>conftest.er1
16863 ac_status=$?
16864 grep -v '^ *+' conftest.er1 >conftest.err
16865 rm -f conftest.er1
16866 cat conftest.err >&5
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); } && {
16869 test -z "$ac_c_werror_flag" ||
16870 test ! -s conftest.err
16871 } && test -s conftest.$ac_objext; then
16872 bakefile_cv_c_compiler___xlC__=yes
16873 else
16874 echo "$as_me: failed program was:" >&5
16875 sed 's/^/| /' conftest.$ac_ext >&5
16876
16877 bakefile_cv_c_compiler___xlC__=no
16878
16879 fi
16880
16881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16882
16883
16884 fi
16885 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16886 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16887 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16888 :; XLCC=yes
16889 else
16890 :;
16891 fi
16892 ac_ext=c
16893 ac_cpp='$CPP $CPPFLAGS'
16894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16897
16898
16899
16900 ;;
16901
16902 Darwin)
16903
16904
16905 ac_ext=c
16906 ac_cpp='$CPP $CPPFLAGS'
16907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16910
16911 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16912 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16913 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16915 else
16916 cat >conftest.$ac_ext <<_ACEOF
16917 /* confdefs.h. */
16918 _ACEOF
16919 cat confdefs.h >>conftest.$ac_ext
16920 cat >>conftest.$ac_ext <<_ACEOF
16921 /* end confdefs.h. */
16922
16923 int
16924 main ()
16925 {
16926
16927 #ifndef __MWERKS__
16928 choke me
16929 #endif
16930
16931 ;
16932 return 0;
16933 }
16934 _ACEOF
16935 rm -f conftest.$ac_objext
16936 if { (ac_try="$ac_compile"
16937 case "(($ac_try" in
16938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16939 *) ac_try_echo=$ac_try;;
16940 esac
16941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16942 (eval "$ac_compile") 2>conftest.er1
16943 ac_status=$?
16944 grep -v '^ *+' conftest.er1 >conftest.err
16945 rm -f conftest.er1
16946 cat conftest.err >&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } && {
16949 test -z "$ac_c_werror_flag" ||
16950 test ! -s conftest.err
16951 } && test -s conftest.$ac_objext; then
16952 bakefile_cv_c_compiler___MWERKS__=yes
16953 else
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16956
16957 bakefile_cv_c_compiler___MWERKS__=no
16958
16959 fi
16960
16961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16962
16963
16964 fi
16965 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16966 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16967 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16968 :; MWCC=yes
16969 else
16970 :;
16971 fi
16972 ac_ext=c
16973 ac_cpp='$CPP $CPPFLAGS'
16974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16977
16978
16979
16980
16981
16982 ac_ext=c
16983 ac_cpp='$CPP $CPPFLAGS'
16984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16987
16988 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16989 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16990 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 else
16993 cat >conftest.$ac_ext <<_ACEOF
16994 /* confdefs.h. */
16995 _ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999
17000 int
17001 main ()
17002 {
17003
17004 #ifndef __xlC__
17005 choke me
17006 #endif
17007
17008 ;
17009 return 0;
17010 }
17011 _ACEOF
17012 rm -f conftest.$ac_objext
17013 if { (ac_try="$ac_compile"
17014 case "(($ac_try" in
17015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17016 *) ac_try_echo=$ac_try;;
17017 esac
17018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17019 (eval "$ac_compile") 2>conftest.er1
17020 ac_status=$?
17021 grep -v '^ *+' conftest.er1 >conftest.err
17022 rm -f conftest.er1
17023 cat conftest.err >&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } && {
17026 test -z "$ac_c_werror_flag" ||
17027 test ! -s conftest.err
17028 } && test -s conftest.$ac_objext; then
17029 bakefile_cv_c_compiler___xlC__=yes
17030 else
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034 bakefile_cv_c_compiler___xlC__=no
17035
17036 fi
17037
17038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17039
17040
17041 fi
17042 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17043 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17044 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17045 :; XLCC=yes
17046 else
17047 :;
17048 fi
17049 ac_ext=c
17050 ac_cpp='$CPP $CPPFLAGS'
17051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17054
17055
17056
17057 ;;
17058
17059 IRIX*)
17060
17061
17062 ac_ext=c
17063 ac_cpp='$CPP $CPPFLAGS'
17064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17067
17068 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17069 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17070 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 else
17073 cat >conftest.$ac_ext <<_ACEOF
17074 /* confdefs.h. */
17075 _ACEOF
17076 cat confdefs.h >>conftest.$ac_ext
17077 cat >>conftest.$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17079
17080 int
17081 main ()
17082 {
17083
17084 #ifndef _SGI_COMPILER_VERSION
17085 choke me
17086 #endif
17087
17088 ;
17089 return 0;
17090 }
17091 _ACEOF
17092 rm -f conftest.$ac_objext
17093 if { (ac_try="$ac_compile"
17094 case "(($ac_try" in
17095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17096 *) ac_try_echo=$ac_try;;
17097 esac
17098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17099 (eval "$ac_compile") 2>conftest.er1
17100 ac_status=$?
17101 grep -v '^ *+' conftest.er1 >conftest.err
17102 rm -f conftest.er1
17103 cat conftest.err >&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } && {
17106 test -z "$ac_c_werror_flag" ||
17107 test ! -s conftest.err
17108 } && test -s conftest.$ac_objext; then
17109 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17113
17114 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17115
17116 fi
17117
17118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17119
17120
17121 fi
17122 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17123 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17124 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17125 :; SGICC=yes
17126 else
17127 :;
17128 fi
17129 ac_ext=c
17130 ac_cpp='$CPP $CPPFLAGS'
17131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17134
17135
17136
17137 ;;
17138
17139 Linux*)
17140
17141
17142 ac_ext=c
17143 ac_cpp='$CPP $CPPFLAGS'
17144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17147
17148 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17149 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17150 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 else
17153 cat >conftest.$ac_ext <<_ACEOF
17154 /* confdefs.h. */
17155 _ACEOF
17156 cat confdefs.h >>conftest.$ac_ext
17157 cat >>conftest.$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17159
17160 int
17161 main ()
17162 {
17163
17164 #ifndef __SUNPRO_C
17165 choke me
17166 #endif
17167
17168 ;
17169 return 0;
17170 }
17171 _ACEOF
17172 rm -f conftest.$ac_objext
17173 if { (ac_try="$ac_compile"
17174 case "(($ac_try" in
17175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17176 *) ac_try_echo=$ac_try;;
17177 esac
17178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17179 (eval "$ac_compile") 2>conftest.er1
17180 ac_status=$?
17181 grep -v '^ *+' conftest.er1 >conftest.err
17182 rm -f conftest.er1
17183 cat conftest.err >&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } && {
17186 test -z "$ac_c_werror_flag" ||
17187 test ! -s conftest.err
17188 } && test -s conftest.$ac_objext; then
17189 bakefile_cv_c_compiler___SUNPRO_C=yes
17190 else
17191 echo "$as_me: failed program was:" >&5
17192 sed 's/^/| /' conftest.$ac_ext >&5
17193
17194 bakefile_cv_c_compiler___SUNPRO_C=no
17195
17196 fi
17197
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199
17200
17201 fi
17202 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17203 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17204 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17205 :; SUNCC=yes
17206 else
17207 :;
17208 fi
17209 ac_ext=c
17210 ac_cpp='$CPP $CPPFLAGS'
17211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17214
17215
17216
17217 ;;
17218
17219 HP-UX*)
17220
17221
17222 ac_ext=c
17223 ac_cpp='$CPP $CPPFLAGS'
17224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17227
17228 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17229 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17230 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17231 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 else
17233 cat >conftest.$ac_ext <<_ACEOF
17234 /* confdefs.h. */
17235 _ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h. */
17239
17240 int
17241 main ()
17242 {
17243
17244 #ifndef __HP_cc
17245 choke me
17246 #endif
17247
17248 ;
17249 return 0;
17250 }
17251 _ACEOF
17252 rm -f conftest.$ac_objext
17253 if { (ac_try="$ac_compile"
17254 case "(($ac_try" in
17255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17256 *) ac_try_echo=$ac_try;;
17257 esac
17258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17259 (eval "$ac_compile") 2>conftest.er1
17260 ac_status=$?
17261 grep -v '^ *+' conftest.er1 >conftest.err
17262 rm -f conftest.er1
17263 cat conftest.err >&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); } && {
17266 test -z "$ac_c_werror_flag" ||
17267 test ! -s conftest.err
17268 } && test -s conftest.$ac_objext; then
17269 bakefile_cv_c_compiler___HP_cc=yes
17270 else
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.$ac_ext >&5
17273
17274 bakefile_cv_c_compiler___HP_cc=no
17275
17276 fi
17277
17278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17279
17280
17281 fi
17282 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17283 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17284 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17285 :; HPCC=yes
17286 else
17287 :;
17288 fi
17289 ac_ext=c
17290 ac_cpp='$CPP $CPPFLAGS'
17291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17294
17295
17296
17297 ;;
17298
17299 OSF1)
17300
17301
17302 ac_ext=c
17303 ac_cpp='$CPP $CPPFLAGS'
17304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17307
17308 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17309 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17310 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17311 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 else
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h. */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319
17320 int
17321 main ()
17322 {
17323
17324 #ifndef __DECC
17325 choke me
17326 #endif
17327
17328 ;
17329 return 0;
17330 }
17331 _ACEOF
17332 rm -f conftest.$ac_objext
17333 if { (ac_try="$ac_compile"
17334 case "(($ac_try" in
17335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17336 *) ac_try_echo=$ac_try;;
17337 esac
17338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17339 (eval "$ac_compile") 2>conftest.er1
17340 ac_status=$?
17341 grep -v '^ *+' conftest.er1 >conftest.err
17342 rm -f conftest.er1
17343 cat conftest.err >&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); } && {
17346 test -z "$ac_c_werror_flag" ||
17347 test ! -s conftest.err
17348 } && test -s conftest.$ac_objext; then
17349 bakefile_cv_c_compiler___DECC=yes
17350 else
17351 echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.$ac_ext >&5
17353
17354 bakefile_cv_c_compiler___DECC=no
17355
17356 fi
17357
17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359
17360
17361 fi
17362 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17363 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17364 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17365 :; COMPAQCC=yes
17366 else
17367 :;
17368 fi
17369 ac_ext=c
17370 ac_cpp='$CPP $CPPFLAGS'
17371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17374
17375
17376
17377 ;;
17378
17379 SunOS)
17380
17381
17382 ac_ext=c
17383 ac_cpp='$CPP $CPPFLAGS'
17384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17387
17388 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17389 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17390 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17391 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 else
17393 cat >conftest.$ac_ext <<_ACEOF
17394 /* confdefs.h. */
17395 _ACEOF
17396 cat confdefs.h >>conftest.$ac_ext
17397 cat >>conftest.$ac_ext <<_ACEOF
17398 /* end confdefs.h. */
17399
17400 int
17401 main ()
17402 {
17403
17404 #ifndef __SUNPRO_C
17405 choke me
17406 #endif
17407
17408 ;
17409 return 0;
17410 }
17411 _ACEOF
17412 rm -f conftest.$ac_objext
17413 if { (ac_try="$ac_compile"
17414 case "(($ac_try" in
17415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17416 *) ac_try_echo=$ac_try;;
17417 esac
17418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17419 (eval "$ac_compile") 2>conftest.er1
17420 ac_status=$?
17421 grep -v '^ *+' conftest.er1 >conftest.err
17422 rm -f conftest.er1
17423 cat conftest.err >&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } && {
17426 test -z "$ac_c_werror_flag" ||
17427 test ! -s conftest.err
17428 } && test -s conftest.$ac_objext; then
17429 bakefile_cv_c_compiler___SUNPRO_C=yes
17430 else
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.$ac_ext >&5
17433
17434 bakefile_cv_c_compiler___SUNPRO_C=no
17435
17436 fi
17437
17438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17439
17440
17441 fi
17442 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17443 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17444 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17445 :; SUNCC=yes
17446 else
17447 :;
17448 fi
17449 ac_ext=c
17450 ac_cpp='$CPP $CPPFLAGS'
17451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17454
17455
17456
17457 ;;
17458 esac
17459 fi
17460
17461
17462
17463 ac_ext=c
17464 ac_cpp='$CPP $CPPFLAGS'
17465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17468 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17469 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17470 # On Suns, sometimes $CPP names a directory.
17471 if test -n "$CPP" && test -d "$CPP"; then
17472 CPP=
17473 fi
17474 if test -z "$CPP"; then
17475 if test "${ac_cv_prog_CPP+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 else
17478 # Double quotes because CPP needs to be expanded
17479 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17480 do
17481 ac_preproc_ok=false
17482 for ac_c_preproc_warn_flag in '' yes
17483 do
17484 # Use a header file that comes with gcc, so configuring glibc
17485 # with a fresh cross-compiler works.
17486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17487 # <limits.h> exists even on freestanding compilers.
17488 # On the NeXT, cc -E runs the code through the compiler's parser,
17489 # not just through cpp. "Syntax error" is here to catch this case.
17490 cat >conftest.$ac_ext <<_ACEOF
17491 /* confdefs.h. */
17492 _ACEOF
17493 cat confdefs.h >>conftest.$ac_ext
17494 cat >>conftest.$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17496 #ifdef __STDC__
17497 # include <limits.h>
17498 #else
17499 # include <assert.h>
17500 #endif
17501 Syntax error
17502 _ACEOF
17503 if { (ac_try="$ac_cpp conftest.$ac_ext"
17504 case "(($ac_try" in
17505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17506 *) ac_try_echo=$ac_try;;
17507 esac
17508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17510 ac_status=$?
17511 grep -v '^ *+' conftest.er1 >conftest.err
17512 rm -f conftest.er1
17513 cat conftest.err >&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } >/dev/null && {
17516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17517 test ! -s conftest.err
17518 }; then
17519 :
17520 else
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.$ac_ext >&5
17523
17524 # Broken: fails on valid input.
17525 continue
17526 fi
17527
17528 rm -f conftest.err conftest.$ac_ext
17529
17530 # OK, works on sane cases. Now check whether nonexistent headers
17531 # can be detected and how.
17532 cat >conftest.$ac_ext <<_ACEOF
17533 /* confdefs.h. */
17534 _ACEOF
17535 cat confdefs.h >>conftest.$ac_ext
17536 cat >>conftest.$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538 #include <ac_nonexistent.h>
17539 _ACEOF
17540 if { (ac_try="$ac_cpp conftest.$ac_ext"
17541 case "(($ac_try" in
17542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17543 *) ac_try_echo=$ac_try;;
17544 esac
17545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17547 ac_status=$?
17548 grep -v '^ *+' conftest.er1 >conftest.err
17549 rm -f conftest.er1
17550 cat conftest.err >&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } >/dev/null && {
17553 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17554 test ! -s conftest.err
17555 }; then
17556 # Broken: success on invalid input.
17557 continue
17558 else
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.$ac_ext >&5
17561
17562 # Passes both tests.
17563 ac_preproc_ok=:
17564 break
17565 fi
17566
17567 rm -f conftest.err conftest.$ac_ext
17568
17569 done
17570 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17571 rm -f conftest.err conftest.$ac_ext
17572 if $ac_preproc_ok; then
17573 break
17574 fi
17575
17576 done
17577 ac_cv_prog_CPP=$CPP
17578
17579 fi
17580 CPP=$ac_cv_prog_CPP
17581 else
17582 ac_cv_prog_CPP=$CPP
17583 fi
17584 { echo "$as_me:$LINENO: result: $CPP" >&5
17585 echo "${ECHO_T}$CPP" >&6; }
17586 ac_preproc_ok=false
17587 for ac_c_preproc_warn_flag in '' yes
17588 do
17589 # Use a header file that comes with gcc, so configuring glibc
17590 # with a fresh cross-compiler works.
17591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17592 # <limits.h> exists even on freestanding compilers.
17593 # On the NeXT, cc -E runs the code through the compiler's parser,
17594 # not just through cpp. "Syntax error" is here to catch this case.
17595 cat >conftest.$ac_ext <<_ACEOF
17596 /* confdefs.h. */
17597 _ACEOF
17598 cat confdefs.h >>conftest.$ac_ext
17599 cat >>conftest.$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17601 #ifdef __STDC__
17602 # include <limits.h>
17603 #else
17604 # include <assert.h>
17605 #endif
17606 Syntax error
17607 _ACEOF
17608 if { (ac_try="$ac_cpp conftest.$ac_ext"
17609 case "(($ac_try" in
17610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17611 *) ac_try_echo=$ac_try;;
17612 esac
17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17615 ac_status=$?
17616 grep -v '^ *+' conftest.er1 >conftest.err
17617 rm -f conftest.er1
17618 cat conftest.err >&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } >/dev/null && {
17621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17622 test ! -s conftest.err
17623 }; then
17624 :
17625 else
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17628
17629 # Broken: fails on valid input.
17630 continue
17631 fi
17632
17633 rm -f conftest.err conftest.$ac_ext
17634
17635 # OK, works on sane cases. Now check whether nonexistent headers
17636 # can be detected and how.
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 #include <ac_nonexistent.h>
17644 _ACEOF
17645 if { (ac_try="$ac_cpp conftest.$ac_ext"
17646 case "(($ac_try" in
17647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17649 esac
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } >/dev/null && {
17658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17659 test ! -s conftest.err
17660 }; then
17661 # Broken: success on invalid input.
17662 continue
17663 else
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.$ac_ext >&5
17666
17667 # Passes both tests.
17668 ac_preproc_ok=:
17669 break
17670 fi
17671
17672 rm -f conftest.err conftest.$ac_ext
17673
17674 done
17675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17676 rm -f conftest.err conftest.$ac_ext
17677 if $ac_preproc_ok; then
17678 :
17679 else
17680 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17681 See \`config.log' for more details." >&5
17682 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17683 See \`config.log' for more details." >&2;}
17684 { (exit 1); exit 1; }; }
17685 fi
17686
17687 ac_ext=c
17688 ac_cpp='$CPP $CPPFLAGS'
17689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17692
17693
17694 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17695 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17696 if test "${ac_cv_path_GREP+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17698 else
17699 # Extract the first word of "grep ggrep" to use in msg output
17700 if test -z "$GREP"; then
17701 set dummy grep ggrep; ac_prog_name=$2
17702 if test "${ac_cv_path_GREP+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17704 else
17705 ac_path_GREP_found=false
17706 # Loop through the user's path and test for each of PROGNAME-LIST
17707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17708 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17709 do
17710 IFS=$as_save_IFS
17711 test -z "$as_dir" && as_dir=.
17712 for ac_prog in grep ggrep; do
17713 for ac_exec_ext in '' $ac_executable_extensions; do
17714 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17715 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17716 # Check for GNU ac_path_GREP and select it if it is found.
17717 # Check for GNU $ac_path_GREP
17718 case `"$ac_path_GREP" --version 2>&1` in
17719 *GNU*)
17720 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17721 *)
17722 ac_count=0
17723 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17724 while :
17725 do
17726 cat "conftest.in" "conftest.in" >"conftest.tmp"
17727 mv "conftest.tmp" "conftest.in"
17728 cp "conftest.in" "conftest.nl"
17729 echo 'GREP' >> "conftest.nl"
17730 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17731 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17732 ac_count=`expr $ac_count + 1`
17733 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17734 # Best one so far, save it but keep looking for a better one
17735 ac_cv_path_GREP="$ac_path_GREP"
17736 ac_path_GREP_max=$ac_count
17737 fi
17738 # 10*(2^10) chars as input seems more than enough
17739 test $ac_count -gt 10 && break
17740 done
17741 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17742 esac
17743
17744
17745 $ac_path_GREP_found && break 3
17746 done
17747 done
17748
17749 done
17750 IFS=$as_save_IFS
17751
17752
17753 fi
17754
17755 GREP="$ac_cv_path_GREP"
17756 if test -z "$GREP"; then
17757 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17758 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17759 { (exit 1); exit 1; }; }
17760 fi
17761
17762 else
17763 ac_cv_path_GREP=$GREP
17764 fi
17765
17766
17767 fi
17768 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17769 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17770 GREP="$ac_cv_path_GREP"
17771
17772
17773 { echo "$as_me:$LINENO: checking for egrep" >&5
17774 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17775 if test "${ac_cv_path_EGREP+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17777 else
17778 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17779 then ac_cv_path_EGREP="$GREP -E"
17780 else
17781 # Extract the first word of "egrep" to use in msg output
17782 if test -z "$EGREP"; then
17783 set dummy egrep; ac_prog_name=$2
17784 if test "${ac_cv_path_EGREP+set}" = set; then
17785 echo $ECHO_N "(cached) $ECHO_C" >&6
17786 else
17787 ac_path_EGREP_found=false
17788 # Loop through the user's path and test for each of PROGNAME-LIST
17789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17790 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17791 do
17792 IFS=$as_save_IFS
17793 test -z "$as_dir" && as_dir=.
17794 for ac_prog in egrep; do
17795 for ac_exec_ext in '' $ac_executable_extensions; do
17796 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17797 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17798 # Check for GNU ac_path_EGREP and select it if it is found.
17799 # Check for GNU $ac_path_EGREP
17800 case `"$ac_path_EGREP" --version 2>&1` in
17801 *GNU*)
17802 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17803 *)
17804 ac_count=0
17805 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17806 while :
17807 do
17808 cat "conftest.in" "conftest.in" >"conftest.tmp"
17809 mv "conftest.tmp" "conftest.in"
17810 cp "conftest.in" "conftest.nl"
17811 echo 'EGREP' >> "conftest.nl"
17812 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17813 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17814 ac_count=`expr $ac_count + 1`
17815 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17816 # Best one so far, save it but keep looking for a better one
17817 ac_cv_path_EGREP="$ac_path_EGREP"
17818 ac_path_EGREP_max=$ac_count
17819 fi
17820 # 10*(2^10) chars as input seems more than enough
17821 test $ac_count -gt 10 && break
17822 done
17823 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17824 esac
17825
17826
17827 $ac_path_EGREP_found && break 3
17828 done
17829 done
17830
17831 done
17832 IFS=$as_save_IFS
17833
17834
17835 fi
17836
17837 EGREP="$ac_cv_path_EGREP"
17838 if test -z "$EGREP"; then
17839 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17840 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17841 { (exit 1); exit 1; }; }
17842 fi
17843
17844 else
17845 ac_cv_path_EGREP=$EGREP
17846 fi
17847
17848
17849 fi
17850 fi
17851 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17852 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17853 EGREP="$ac_cv_path_EGREP"
17854
17855
17856 if test $ac_cv_c_compiler_gnu = yes; then
17857 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17858 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17859 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17860 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 else
17862 ac_pattern="Autoconf.*'x'"
17863 cat >conftest.$ac_ext <<_ACEOF
17864 /* confdefs.h. */
17865 _ACEOF
17866 cat confdefs.h >>conftest.$ac_ext
17867 cat >>conftest.$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17869 #include <sgtty.h>
17870 Autoconf TIOCGETP
17871 _ACEOF
17872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17873 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17874 ac_cv_prog_gcc_traditional=yes
17875 else
17876 ac_cv_prog_gcc_traditional=no
17877 fi
17878 rm -f conftest*
17879
17880
17881 if test $ac_cv_prog_gcc_traditional = no; then
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 #include <termio.h>
17889 Autoconf TCGETA
17890 _ACEOF
17891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17892 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17893 ac_cv_prog_gcc_traditional=yes
17894 fi
17895 rm -f conftest*
17896
17897 fi
17898 fi
17899 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17900 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17901 if test $ac_cv_prog_gcc_traditional = yes; then
17902 CC="$CC -traditional"
17903 fi
17904 fi
17905
17906
17907 CXXFLAGS=${CXXFLAGS:=}
17908
17909
17910
17911 ac_ext=cpp
17912 ac_cpp='$CXXCPP $CPPFLAGS'
17913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17916 if test -z "$CXX"; then
17917 if test -n "$CCC"; then
17918 CXX=$CCC
17919 else
17920 if test -n "$ac_tool_prefix"; then
17921 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17922 do
17923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17924 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17927 if test "${ac_cv_prog_CXX+set}" = set; then
17928 echo $ECHO_N "(cached) $ECHO_C" >&6
17929 else
17930 if test -n "$CXX"; then
17931 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17932 else
17933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17934 for as_dir in $PATH
17935 do
17936 IFS=$as_save_IFS
17937 test -z "$as_dir" && as_dir=.
17938 for ac_exec_ext in '' $ac_executable_extensions; do
17939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17940 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17942 break 2
17943 fi
17944 done
17945 done
17946 IFS=$as_save_IFS
17947
17948 fi
17949 fi
17950 CXX=$ac_cv_prog_CXX
17951 if test -n "$CXX"; then
17952 { echo "$as_me:$LINENO: result: $CXX" >&5
17953 echo "${ECHO_T}$CXX" >&6; }
17954 else
17955 { echo "$as_me:$LINENO: result: no" >&5
17956 echo "${ECHO_T}no" >&6; }
17957 fi
17958
17959
17960 test -n "$CXX" && break
17961 done
17962 fi
17963 if test -z "$CXX"; then
17964 ac_ct_CXX=$CXX
17965 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17966 do
17967 # Extract the first word of "$ac_prog", so it can be a program name with args.
17968 set dummy $ac_prog; ac_word=$2
17969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17971 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17972 echo $ECHO_N "(cached) $ECHO_C" >&6
17973 else
17974 if test -n "$ac_ct_CXX"; then
17975 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17976 else
17977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17978 for as_dir in $PATH
17979 do
17980 IFS=$as_save_IFS
17981 test -z "$as_dir" && as_dir=.
17982 for ac_exec_ext in '' $ac_executable_extensions; do
17983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17984 ac_cv_prog_ac_ct_CXX="$ac_prog"
17985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17986 break 2
17987 fi
17988 done
17989 done
17990 IFS=$as_save_IFS
17991
17992 fi
17993 fi
17994 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17995 if test -n "$ac_ct_CXX"; then
17996 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17997 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17998 else
17999 { echo "$as_me:$LINENO: result: no" >&5
18000 echo "${ECHO_T}no" >&6; }
18001 fi
18002
18003
18004 test -n "$ac_ct_CXX" && break
18005 done
18006
18007 if test "x$ac_ct_CXX" = x; then
18008 CXX="g++"
18009 else
18010 case $cross_compiling:$ac_tool_warned in
18011 yes:)
18012 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18013 whose name does not start with the host triplet. If you think this
18014 configuration is useful to you, please write to autoconf@gnu.org." >&5
18015 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18016 whose name does not start with the host triplet. If you think this
18017 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18018 ac_tool_warned=yes ;;
18019 esac
18020 CXX=$ac_ct_CXX
18021 fi
18022 fi
18023
18024 fi
18025 fi
18026 # Provide some information about the compiler.
18027 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18028 ac_compiler=`set X $ac_compile; echo $2`
18029 { (ac_try="$ac_compiler --version >&5"
18030 case "(($ac_try" in
18031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18032 *) ac_try_echo=$ac_try;;
18033 esac
18034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18035 (eval "$ac_compiler --version >&5") 2>&5
18036 ac_status=$?
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }
18039 { (ac_try="$ac_compiler -v >&5"
18040 case "(($ac_try" in
18041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18042 *) ac_try_echo=$ac_try;;
18043 esac
18044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18045 (eval "$ac_compiler -v >&5") 2>&5
18046 ac_status=$?
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); }
18049 { (ac_try="$ac_compiler -V >&5"
18050 case "(($ac_try" in
18051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18052 *) ac_try_echo=$ac_try;;
18053 esac
18054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18055 (eval "$ac_compiler -V >&5") 2>&5
18056 ac_status=$?
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); }
18059
18060 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18061 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18062 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 else
18065 cat >conftest.$ac_ext <<_ACEOF
18066 /* confdefs.h. */
18067 _ACEOF
18068 cat confdefs.h >>conftest.$ac_ext
18069 cat >>conftest.$ac_ext <<_ACEOF
18070 /* end confdefs.h. */
18071
18072 int
18073 main ()
18074 {
18075 #ifndef __GNUC__
18076 choke me
18077 #endif
18078
18079 ;
18080 return 0;
18081 }
18082 _ACEOF
18083 rm -f conftest.$ac_objext
18084 if { (ac_try="$ac_compile"
18085 case "(($ac_try" in
18086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18087 *) ac_try_echo=$ac_try;;
18088 esac
18089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18090 (eval "$ac_compile") 2>conftest.er1
18091 ac_status=$?
18092 grep -v '^ *+' conftest.er1 >conftest.err
18093 rm -f conftest.er1
18094 cat conftest.err >&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } && {
18097 test -z "$ac_cxx_werror_flag" ||
18098 test ! -s conftest.err
18099 } && test -s conftest.$ac_objext; then
18100 ac_compiler_gnu=yes
18101 else
18102 echo "$as_me: failed program was:" >&5
18103 sed 's/^/| /' conftest.$ac_ext >&5
18104
18105 ac_compiler_gnu=no
18106 fi
18107
18108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18109 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18110
18111 fi
18112 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18113 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18114 GXX=`test $ac_compiler_gnu = yes && echo yes`
18115 ac_test_CXXFLAGS=${CXXFLAGS+set}
18116 ac_save_CXXFLAGS=$CXXFLAGS
18117 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18118 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18119 if test "${ac_cv_prog_cxx_g+set}" = set; then
18120 echo $ECHO_N "(cached) $ECHO_C" >&6
18121 else
18122 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18123 ac_cxx_werror_flag=yes
18124 ac_cv_prog_cxx_g=no
18125 CXXFLAGS="-g"
18126 cat >conftest.$ac_ext <<_ACEOF
18127 /* confdefs.h. */
18128 _ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18132
18133 int
18134 main ()
18135 {
18136
18137 ;
18138 return 0;
18139 }
18140 _ACEOF
18141 rm -f conftest.$ac_objext
18142 if { (ac_try="$ac_compile"
18143 case "(($ac_try" in
18144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18145 *) ac_try_echo=$ac_try;;
18146 esac
18147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18148 (eval "$ac_compile") 2>conftest.er1
18149 ac_status=$?
18150 grep -v '^ *+' conftest.er1 >conftest.err
18151 rm -f conftest.er1
18152 cat conftest.err >&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } && {
18155 test -z "$ac_cxx_werror_flag" ||
18156 test ! -s conftest.err
18157 } && test -s conftest.$ac_objext; then
18158 ac_cv_prog_cxx_g=yes
18159 else
18160 echo "$as_me: failed program was:" >&5
18161 sed 's/^/| /' conftest.$ac_ext >&5
18162
18163 CXXFLAGS=""
18164 cat >conftest.$ac_ext <<_ACEOF
18165 /* confdefs.h. */
18166 _ACEOF
18167 cat confdefs.h >>conftest.$ac_ext
18168 cat >>conftest.$ac_ext <<_ACEOF
18169 /* end confdefs.h. */
18170
18171 int
18172 main ()
18173 {
18174
18175 ;
18176 return 0;
18177 }
18178 _ACEOF
18179 rm -f conftest.$ac_objext
18180 if { (ac_try="$ac_compile"
18181 case "(($ac_try" in
18182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18184 esac
18185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_compile") 2>conftest.er1
18187 ac_status=$?
18188 grep -v '^ *+' conftest.er1 >conftest.err
18189 rm -f conftest.er1
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } && {
18193 test -z "$ac_cxx_werror_flag" ||
18194 test ! -s conftest.err
18195 } && test -s conftest.$ac_objext; then
18196 :
18197 else
18198 echo "$as_me: failed program was:" >&5
18199 sed 's/^/| /' conftest.$ac_ext >&5
18200
18201 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18202 CXXFLAGS="-g"
18203 cat >conftest.$ac_ext <<_ACEOF
18204 /* confdefs.h. */
18205 _ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209
18210 int
18211 main ()
18212 {
18213
18214 ;
18215 return 0;
18216 }
18217 _ACEOF
18218 rm -f conftest.$ac_objext
18219 if { (ac_try="$ac_compile"
18220 case "(($ac_try" in
18221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18222 *) ac_try_echo=$ac_try;;
18223 esac
18224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18225 (eval "$ac_compile") 2>conftest.er1
18226 ac_status=$?
18227 grep -v '^ *+' conftest.er1 >conftest.err
18228 rm -f conftest.er1
18229 cat conftest.err >&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); } && {
18232 test -z "$ac_cxx_werror_flag" ||
18233 test ! -s conftest.err
18234 } && test -s conftest.$ac_objext; then
18235 ac_cv_prog_cxx_g=yes
18236 else
18237 echo "$as_me: failed program was:" >&5
18238 sed 's/^/| /' conftest.$ac_ext >&5
18239
18240
18241 fi
18242
18243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18244 fi
18245
18246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18247 fi
18248
18249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18250 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18251 fi
18252 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18253 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18254 if test "$ac_test_CXXFLAGS" = set; then
18255 CXXFLAGS=$ac_save_CXXFLAGS
18256 elif test $ac_cv_prog_cxx_g = yes; then
18257 if test "$GXX" = yes; then
18258 CXXFLAGS="-g -O2"
18259 else
18260 CXXFLAGS="-g"
18261 fi
18262 else
18263 if test "$GXX" = yes; then
18264 CXXFLAGS="-O2"
18265 else
18266 CXXFLAGS=
18267 fi
18268 fi
18269 ac_ext=c
18270 ac_cpp='$CPP $CPPFLAGS'
18271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18274
18275
18276
18277
18278 ac_ext=cpp
18279 ac_cpp='$CXXCPP $CPPFLAGS'
18280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18283
18284 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18285 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18286 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18287 echo $ECHO_N "(cached) $ECHO_C" >&6
18288 else
18289 cat >conftest.$ac_ext <<_ACEOF
18290 /* confdefs.h. */
18291 _ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295
18296 int
18297 main ()
18298 {
18299
18300 #ifndef __INTEL_COMPILER
18301 choke me
18302 #endif
18303
18304 ;
18305 return 0;
18306 }
18307 _ACEOF
18308 rm -f conftest.$ac_objext
18309 if { (ac_try="$ac_compile"
18310 case "(($ac_try" in
18311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18313 esac
18314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 (eval "$ac_compile") 2>conftest.er1
18316 ac_status=$?
18317 grep -v '^ *+' conftest.er1 >conftest.err
18318 rm -f conftest.er1
18319 cat conftest.err >&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && {
18322 test -z "$ac_cxx_werror_flag" ||
18323 test ! -s conftest.err
18324 } && test -s conftest.$ac_objext; then
18325 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18326 else
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18329
18330 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18331
18332 fi
18333
18334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335
18336
18337 fi
18338 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18339 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18340 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18341 :; INTELCXX=yes
18342 else
18343 :;
18344 fi
18345 ac_ext=c
18346 ac_cpp='$CPP $CPPFLAGS'
18347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18350
18351
18352
18353
18354 if test "x$GCXX" != "xyes"; then
18355 if test "xCXX" = "xC"; then
18356 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18357 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18358 if test "${bakefile_cv_c_exto+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 else
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h. */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367
18368 int
18369 main ()
18370 {
18371
18372 ;
18373 return 0;
18374 }
18375 _ACEOF
18376 rm -f conftest.$ac_objext conftest.$ac_ext.o
18377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18378 (eval $ac_compile) 2>&5
18379 ac_status=$?
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); }; then
18382 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18383 case $ac_file in
18384 conftest.$ac_ext.o)
18385 bakefile_cv_c_exto="-ext o"
18386 ;;
18387 *)
18388 ;;
18389 esac
18390 done
18391 else
18392 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18393 See \`config.log' for more details." >&5
18394 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18395 See \`config.log' for more details." >&2;}
18396 { (exit 1); exit 1; }; }
18397
18398 fi
18399
18400 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18401
18402 fi
18403 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18404 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18405 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18406 if test "c" = "c"; then
18407 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18408 fi
18409 if test "c" = "cxx"; then
18410 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18411 fi
18412 fi
18413
18414 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18415 unset ac_cv_prog_cc_g
18416 ac_test_CFLAGS=${CFLAGS+set}
18417 ac_save_CFLAGS=$CFLAGS
18418 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18419 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18420 if test "${ac_cv_prog_cc_g+set}" = set; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18422 else
18423 ac_save_c_werror_flag=$ac_c_werror_flag
18424 ac_c_werror_flag=yes
18425 ac_cv_prog_cc_g=no
18426 CFLAGS="-g"
18427 cat >conftest.$ac_ext <<_ACEOF
18428 /* confdefs.h. */
18429 _ACEOF
18430 cat confdefs.h >>conftest.$ac_ext
18431 cat >>conftest.$ac_ext <<_ACEOF
18432 /* end confdefs.h. */
18433
18434 int
18435 main ()
18436 {
18437
18438 ;
18439 return 0;
18440 }
18441 _ACEOF
18442 rm -f conftest.$ac_objext
18443 if { (ac_try="$ac_compile"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18447 esac
18448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_compile") 2>conftest.er1
18450 ac_status=$?
18451 grep -v '^ *+' conftest.er1 >conftest.err
18452 rm -f conftest.er1
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } && {
18456 test -z "$ac_c_werror_flag" ||
18457 test ! -s conftest.err
18458 } && test -s conftest.$ac_objext; then
18459 ac_cv_prog_cc_g=yes
18460 else
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18463
18464 CFLAGS=""
18465 cat >conftest.$ac_ext <<_ACEOF
18466 /* confdefs.h. */
18467 _ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471
18472 int
18473 main ()
18474 {
18475
18476 ;
18477 return 0;
18478 }
18479 _ACEOF
18480 rm -f conftest.$ac_objext
18481 if { (ac_try="$ac_compile"
18482 case "(($ac_try" in
18483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18484 *) ac_try_echo=$ac_try;;
18485 esac
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487 (eval "$ac_compile") 2>conftest.er1
18488 ac_status=$?
18489 grep -v '^ *+' conftest.er1 >conftest.err
18490 rm -f conftest.er1
18491 cat conftest.err >&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } && {
18494 test -z "$ac_c_werror_flag" ||
18495 test ! -s conftest.err
18496 } && test -s conftest.$ac_objext; then
18497 :
18498 else
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18501
18502 ac_c_werror_flag=$ac_save_c_werror_flag
18503 CFLAGS="-g"
18504 cat >conftest.$ac_ext <<_ACEOF
18505 /* confdefs.h. */
18506 _ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18510
18511 int
18512 main ()
18513 {
18514
18515 ;
18516 return 0;
18517 }
18518 _ACEOF
18519 rm -f conftest.$ac_objext
18520 if { (ac_try="$ac_compile"
18521 case "(($ac_try" in
18522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18523 *) ac_try_echo=$ac_try;;
18524 esac
18525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18526 (eval "$ac_compile") 2>conftest.er1
18527 ac_status=$?
18528 grep -v '^ *+' conftest.er1 >conftest.err
18529 rm -f conftest.er1
18530 cat conftest.err >&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } && {
18533 test -z "$ac_c_werror_flag" ||
18534 test ! -s conftest.err
18535 } && test -s conftest.$ac_objext; then
18536 ac_cv_prog_cc_g=yes
18537 else
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.$ac_ext >&5
18540
18541
18542 fi
18543
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545 fi
18546
18547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18548 fi
18549
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551 ac_c_werror_flag=$ac_save_c_werror_flag
18552 fi
18553 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18554 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18555 if test "$ac_test_CFLAGS" = set; then
18556 CFLAGS=$ac_save_CFLAGS
18557 elif test $ac_cv_prog_cc_g = yes; then
18558 if test "$GCC" = yes; then
18559 CFLAGS="-g -O2"
18560 else
18561 CFLAGS="-g"
18562 fi
18563 else
18564 if test "$GCC" = yes; then
18565 CFLAGS="-O2"
18566 else
18567 CFLAGS=
18568 fi
18569 fi
18570 fi
18571 fi
18572
18573 case `uname -s` in
18574 AIX*)
18575
18576
18577 ac_ext=cpp
18578 ac_cpp='$CXXCPP $CPPFLAGS'
18579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18582
18583 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18584 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18585 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18586 echo $ECHO_N "(cached) $ECHO_C" >&6
18587 else
18588 cat >conftest.$ac_ext <<_ACEOF
18589 /* confdefs.h. */
18590 _ACEOF
18591 cat confdefs.h >>conftest.$ac_ext
18592 cat >>conftest.$ac_ext <<_ACEOF
18593 /* end confdefs.h. */
18594
18595 int
18596 main ()
18597 {
18598
18599 #ifndef __xlC__
18600 choke me
18601 #endif
18602
18603 ;
18604 return 0;
18605 }
18606 _ACEOF
18607 rm -f conftest.$ac_objext
18608 if { (ac_try="$ac_compile"
18609 case "(($ac_try" in
18610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18611 *) ac_try_echo=$ac_try;;
18612 esac
18613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18614 (eval "$ac_compile") 2>conftest.er1
18615 ac_status=$?
18616 grep -v '^ *+' conftest.er1 >conftest.err
18617 rm -f conftest.er1
18618 cat conftest.err >&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); } && {
18621 test -z "$ac_cxx_werror_flag" ||
18622 test ! -s conftest.err
18623 } && test -s conftest.$ac_objext; then
18624 bakefile_cv_cxx_compiler___xlC__=yes
18625 else
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18628
18629 bakefile_cv_cxx_compiler___xlC__=no
18630
18631 fi
18632
18633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18634
18635
18636 fi
18637 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18638 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18639 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18640 :; XLCXX=yes
18641 else
18642 :;
18643 fi
18644 ac_ext=c
18645 ac_cpp='$CPP $CPPFLAGS'
18646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18649
18650
18651
18652 ;;
18653
18654 Darwin)
18655
18656
18657 ac_ext=cpp
18658 ac_cpp='$CXXCPP $CPPFLAGS'
18659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18662
18663 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18664 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18665 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18666 echo $ECHO_N "(cached) $ECHO_C" >&6
18667 else
18668 cat >conftest.$ac_ext <<_ACEOF
18669 /* confdefs.h. */
18670 _ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674
18675 int
18676 main ()
18677 {
18678
18679 #ifndef __MWERKS__
18680 choke me
18681 #endif
18682
18683 ;
18684 return 0;
18685 }
18686 _ACEOF
18687 rm -f conftest.$ac_objext
18688 if { (ac_try="$ac_compile"
18689 case "(($ac_try" in
18690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18691 *) ac_try_echo=$ac_try;;
18692 esac
18693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18694 (eval "$ac_compile") 2>conftest.er1
18695 ac_status=$?
18696 grep -v '^ *+' conftest.er1 >conftest.err
18697 rm -f conftest.er1
18698 cat conftest.err >&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } && {
18701 test -z "$ac_cxx_werror_flag" ||
18702 test ! -s conftest.err
18703 } && test -s conftest.$ac_objext; then
18704 bakefile_cv_cxx_compiler___MWERKS__=yes
18705 else
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18708
18709 bakefile_cv_cxx_compiler___MWERKS__=no
18710
18711 fi
18712
18713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714
18715
18716 fi
18717 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18718 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18719 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18720 :; MWCXX=yes
18721 else
18722 :;
18723 fi
18724 ac_ext=c
18725 ac_cpp='$CPP $CPPFLAGS'
18726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18729
18730
18731
18732
18733
18734 ac_ext=cpp
18735 ac_cpp='$CXXCPP $CPPFLAGS'
18736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18739
18740 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18741 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18742 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 else
18745 cat >conftest.$ac_ext <<_ACEOF
18746 /* confdefs.h. */
18747 _ACEOF
18748 cat confdefs.h >>conftest.$ac_ext
18749 cat >>conftest.$ac_ext <<_ACEOF
18750 /* end confdefs.h. */
18751
18752 int
18753 main ()
18754 {
18755
18756 #ifndef __xlC__
18757 choke me
18758 #endif
18759
18760 ;
18761 return 0;
18762 }
18763 _ACEOF
18764 rm -f conftest.$ac_objext
18765 if { (ac_try="$ac_compile"
18766 case "(($ac_try" in
18767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18768 *) ac_try_echo=$ac_try;;
18769 esac
18770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18771 (eval "$ac_compile") 2>conftest.er1
18772 ac_status=$?
18773 grep -v '^ *+' conftest.er1 >conftest.err
18774 rm -f conftest.er1
18775 cat conftest.err >&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } && {
18778 test -z "$ac_cxx_werror_flag" ||
18779 test ! -s conftest.err
18780 } && test -s conftest.$ac_objext; then
18781 bakefile_cv_cxx_compiler___xlC__=yes
18782 else
18783 echo "$as_me: failed program was:" >&5
18784 sed 's/^/| /' conftest.$ac_ext >&5
18785
18786 bakefile_cv_cxx_compiler___xlC__=no
18787
18788 fi
18789
18790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791
18792
18793 fi
18794 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18795 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18796 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18797 :; XLCXX=yes
18798 else
18799 :;
18800 fi
18801 ac_ext=c
18802 ac_cpp='$CPP $CPPFLAGS'
18803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18806
18807
18808
18809 ;;
18810
18811 IRIX*)
18812
18813
18814 ac_ext=cpp
18815 ac_cpp='$CXXCPP $CPPFLAGS'
18816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18819
18820 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18821 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18822 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18824 else
18825 cat >conftest.$ac_ext <<_ACEOF
18826 /* confdefs.h. */
18827 _ACEOF
18828 cat confdefs.h >>conftest.$ac_ext
18829 cat >>conftest.$ac_ext <<_ACEOF
18830 /* end confdefs.h. */
18831
18832 int
18833 main ()
18834 {
18835
18836 #ifndef _SGI_COMPILER_VERSION
18837 choke me
18838 #endif
18839
18840 ;
18841 return 0;
18842 }
18843 _ACEOF
18844 rm -f conftest.$ac_objext
18845 if { (ac_try="$ac_compile"
18846 case "(($ac_try" in
18847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18848 *) ac_try_echo=$ac_try;;
18849 esac
18850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18851 (eval "$ac_compile") 2>conftest.er1
18852 ac_status=$?
18853 grep -v '^ *+' conftest.er1 >conftest.err
18854 rm -f conftest.er1
18855 cat conftest.err >&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } && {
18858 test -z "$ac_cxx_werror_flag" ||
18859 test ! -s conftest.err
18860 } && test -s conftest.$ac_objext; then
18861 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18862 else
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.$ac_ext >&5
18865
18866 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18867
18868 fi
18869
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871
18872
18873 fi
18874 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18875 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18876 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18877 :; SGICXX=yes
18878 else
18879 :;
18880 fi
18881 ac_ext=c
18882 ac_cpp='$CPP $CPPFLAGS'
18883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18886
18887
18888
18889 ;;
18890
18891 Linux*)
18892
18893
18894 ac_ext=cpp
18895 ac_cpp='$CXXCPP $CPPFLAGS'
18896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18899
18900 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18901 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18902 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18904 else
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911
18912 int
18913 main ()
18914 {
18915
18916 #ifndef __SUNPRO_CC
18917 choke me
18918 #endif
18919
18920 ;
18921 return 0;
18922 }
18923 _ACEOF
18924 rm -f conftest.$ac_objext
18925 if { (ac_try="$ac_compile"
18926 case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18929 esac
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_compile") 2>conftest.er1
18932 ac_status=$?
18933 grep -v '^ *+' conftest.er1 >conftest.err
18934 rm -f conftest.er1
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } && {
18938 test -z "$ac_cxx_werror_flag" ||
18939 test ! -s conftest.err
18940 } && test -s conftest.$ac_objext; then
18941 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18942 else
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18945
18946 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18947
18948 fi
18949
18950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951
18952
18953 fi
18954 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18955 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18956 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18957 :; SUNCXX=yes
18958 else
18959 :;
18960 fi
18961 ac_ext=c
18962 ac_cpp='$CPP $CPPFLAGS'
18963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18966
18967
18968
18969 ;;
18970
18971 HP-UX*)
18972
18973
18974 ac_ext=cpp
18975 ac_cpp='$CXXCPP $CPPFLAGS'
18976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18979
18980 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18981 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18982 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18983 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 else
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991
18992 int
18993 main ()
18994 {
18995
18996 #ifndef __HP_aCC
18997 choke me
18998 #endif
18999
19000 ;
19001 return 0;
19002 }
19003 _ACEOF
19004 rm -f conftest.$ac_objext
19005 if { (ac_try="$ac_compile"
19006 case "(($ac_try" in
19007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19008 *) ac_try_echo=$ac_try;;
19009 esac
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_compile") 2>conftest.er1
19012 ac_status=$?
19013 grep -v '^ *+' conftest.er1 >conftest.err
19014 rm -f conftest.er1
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } && {
19018 test -z "$ac_cxx_werror_flag" ||
19019 test ! -s conftest.err
19020 } && test -s conftest.$ac_objext; then
19021 bakefile_cv_cxx_compiler___HP_aCC=yes
19022 else
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19025
19026 bakefile_cv_cxx_compiler___HP_aCC=no
19027
19028 fi
19029
19030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19031
19032
19033 fi
19034 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19035 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19036 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19037 :; HPCXX=yes
19038 else
19039 :;
19040 fi
19041 ac_ext=c
19042 ac_cpp='$CPP $CPPFLAGS'
19043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19046
19047
19048
19049 ;;
19050
19051 OSF1)
19052
19053
19054 ac_ext=cpp
19055 ac_cpp='$CXXCPP $CPPFLAGS'
19056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19059
19060 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19061 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19062 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19063 echo $ECHO_N "(cached) $ECHO_C" >&6
19064 else
19065 cat >conftest.$ac_ext <<_ACEOF
19066 /* confdefs.h. */
19067 _ACEOF
19068 cat confdefs.h >>conftest.$ac_ext
19069 cat >>conftest.$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19071
19072 int
19073 main ()
19074 {
19075
19076 #ifndef __DECCXX
19077 choke me
19078 #endif
19079
19080 ;
19081 return 0;
19082 }
19083 _ACEOF
19084 rm -f conftest.$ac_objext
19085 if { (ac_try="$ac_compile"
19086 case "(($ac_try" in
19087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19088 *) ac_try_echo=$ac_try;;
19089 esac
19090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19091 (eval "$ac_compile") 2>conftest.er1
19092 ac_status=$?
19093 grep -v '^ *+' conftest.er1 >conftest.err
19094 rm -f conftest.er1
19095 cat conftest.err >&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } && {
19098 test -z "$ac_cxx_werror_flag" ||
19099 test ! -s conftest.err
19100 } && test -s conftest.$ac_objext; then
19101 bakefile_cv_cxx_compiler___DECCXX=yes
19102 else
19103 echo "$as_me: failed program was:" >&5
19104 sed 's/^/| /' conftest.$ac_ext >&5
19105
19106 bakefile_cv_cxx_compiler___DECCXX=no
19107
19108 fi
19109
19110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19111
19112
19113 fi
19114 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19115 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19116 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19117 :; COMPAQCXX=yes
19118 else
19119 :;
19120 fi
19121 ac_ext=c
19122 ac_cpp='$CPP $CPPFLAGS'
19123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19126
19127
19128
19129 ;;
19130
19131 SunOS)
19132
19133
19134 ac_ext=cpp
19135 ac_cpp='$CXXCPP $CPPFLAGS'
19136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19139
19140 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19141 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19142 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 else
19145 cat >conftest.$ac_ext <<_ACEOF
19146 /* confdefs.h. */
19147 _ACEOF
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151
19152 int
19153 main ()
19154 {
19155
19156 #ifndef __SUNPRO_CC
19157 choke me
19158 #endif
19159
19160 ;
19161 return 0;
19162 }
19163 _ACEOF
19164 rm -f conftest.$ac_objext
19165 if { (ac_try="$ac_compile"
19166 case "(($ac_try" in
19167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19168 *) ac_try_echo=$ac_try;;
19169 esac
19170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_compile") 2>conftest.er1
19172 ac_status=$?
19173 grep -v '^ *+' conftest.er1 >conftest.err
19174 rm -f conftest.er1
19175 cat conftest.err >&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } && {
19178 test -z "$ac_cxx_werror_flag" ||
19179 test ! -s conftest.err
19180 } && test -s conftest.$ac_objext; then
19181 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19182 else
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.$ac_ext >&5
19185
19186 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19187
19188 fi
19189
19190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19191
19192
19193 fi
19194 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19195 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19196 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19197 :; SUNCXX=yes
19198 else
19199 :;
19200 fi
19201 ac_ext=c
19202 ac_cpp='$CPP $CPPFLAGS'
19203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19206
19207
19208
19209 ;;
19210 esac
19211 fi
19212
19213
19214
19215 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19216 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19217 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19218 { (exit 1); exit 1; }; }
19219 fi
19220
19221 if test -n "$ac_tool_prefix"; then
19222 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19223 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19226 if test "${ac_cv_prog_RANLIB+set}" = set; then
19227 echo $ECHO_N "(cached) $ECHO_C" >&6
19228 else
19229 if test -n "$RANLIB"; then
19230 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19231 else
19232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19233 for as_dir in $PATH
19234 do
19235 IFS=$as_save_IFS
19236 test -z "$as_dir" && as_dir=.
19237 for ac_exec_ext in '' $ac_executable_extensions; do
19238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19239 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19241 break 2
19242 fi
19243 done
19244 done
19245 IFS=$as_save_IFS
19246
19247 fi
19248 fi
19249 RANLIB=$ac_cv_prog_RANLIB
19250 if test -n "$RANLIB"; then
19251 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19252 echo "${ECHO_T}$RANLIB" >&6; }
19253 else
19254 { echo "$as_me:$LINENO: result: no" >&5
19255 echo "${ECHO_T}no" >&6; }
19256 fi
19257
19258
19259 fi
19260 if test -z "$ac_cv_prog_RANLIB"; then
19261 ac_ct_RANLIB=$RANLIB
19262 # Extract the first word of "ranlib", so it can be a program name with args.
19263 set dummy ranlib; ac_word=$2
19264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19266 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19267 echo $ECHO_N "(cached) $ECHO_C" >&6
19268 else
19269 if test -n "$ac_ct_RANLIB"; then
19270 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19271 else
19272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19273 for as_dir in $PATH
19274 do
19275 IFS=$as_save_IFS
19276 test -z "$as_dir" && as_dir=.
19277 for ac_exec_ext in '' $ac_executable_extensions; do
19278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19279 ac_cv_prog_ac_ct_RANLIB="ranlib"
19280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19281 break 2
19282 fi
19283 done
19284 done
19285 IFS=$as_save_IFS
19286
19287 fi
19288 fi
19289 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19290 if test -n "$ac_ct_RANLIB"; then
19291 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19292 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19293 else
19294 { echo "$as_me:$LINENO: result: no" >&5
19295 echo "${ECHO_T}no" >&6; }
19296 fi
19297
19298 if test "x$ac_ct_RANLIB" = x; then
19299 RANLIB=":"
19300 else
19301 case $cross_compiling:$ac_tool_warned in
19302 yes:)
19303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19304 whose name does not start with the host triplet. If you think this
19305 configuration is useful to you, please write to autoconf@gnu.org." >&5
19306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19307 whose name does not start with the host triplet. If you think this
19308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19309 ac_tool_warned=yes ;;
19310 esac
19311 RANLIB=$ac_ct_RANLIB
19312 fi
19313 else
19314 RANLIB="$ac_cv_prog_RANLIB"
19315 fi
19316
19317
19318 if test "x$SUNCXX" != xyes; then
19319 if test -n "$ac_tool_prefix"; then
19320 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19321 set dummy ${ac_tool_prefix}ar; ac_word=$2
19322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19324 if test "${ac_cv_prog_AR+set}" = set; then
19325 echo $ECHO_N "(cached) $ECHO_C" >&6
19326 else
19327 if test -n "$AR"; then
19328 ac_cv_prog_AR="$AR" # Let the user override the test.
19329 else
19330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19331 for as_dir in $PATH
19332 do
19333 IFS=$as_save_IFS
19334 test -z "$as_dir" && as_dir=.
19335 for ac_exec_ext in '' $ac_executable_extensions; do
19336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19337 ac_cv_prog_AR="${ac_tool_prefix}ar"
19338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19339 break 2
19340 fi
19341 done
19342 done
19343 IFS=$as_save_IFS
19344
19345 fi
19346 fi
19347 AR=$ac_cv_prog_AR
19348 if test -n "$AR"; then
19349 { echo "$as_me:$LINENO: result: $AR" >&5
19350 echo "${ECHO_T}$AR" >&6; }
19351 else
19352 { echo "$as_me:$LINENO: result: no" >&5
19353 echo "${ECHO_T}no" >&6; }
19354 fi
19355
19356
19357 fi
19358 if test -z "$ac_cv_prog_AR"; then
19359 ac_ct_AR=$AR
19360 # Extract the first word of "ar", so it can be a program name with args.
19361 set dummy ar; ac_word=$2
19362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19364 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19365 echo $ECHO_N "(cached) $ECHO_C" >&6
19366 else
19367 if test -n "$ac_ct_AR"; then
19368 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19369 else
19370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19371 for as_dir in $PATH
19372 do
19373 IFS=$as_save_IFS
19374 test -z "$as_dir" && as_dir=.
19375 for ac_exec_ext in '' $ac_executable_extensions; do
19376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19377 ac_cv_prog_ac_ct_AR="ar"
19378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19379 break 2
19380 fi
19381 done
19382 done
19383 IFS=$as_save_IFS
19384
19385 fi
19386 fi
19387 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19388 if test -n "$ac_ct_AR"; then
19389 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19390 echo "${ECHO_T}$ac_ct_AR" >&6; }
19391 else
19392 { echo "$as_me:$LINENO: result: no" >&5
19393 echo "${ECHO_T}no" >&6; }
19394 fi
19395
19396 if test "x$ac_ct_AR" = x; then
19397 AR=""
19398 else
19399 case $cross_compiling:$ac_tool_warned in
19400 yes:)
19401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19402 whose name does not start with the host triplet. If you think this
19403 configuration is useful to you, please write to autoconf@gnu.org." >&5
19404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19405 whose name does not start with the host triplet. If you think this
19406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19407 ac_tool_warned=yes ;;
19408 esac
19409 AR=$ac_ct_AR
19410 fi
19411 else
19412 AR="$ac_cv_prog_AR"
19413 fi
19414
19415 if test "x$AR" = "x" ; then
19416 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19417 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19418 { (exit 1); exit 1; }; }
19419 fi
19420 fi
19421
19422 # Find a good install program. We prefer a C program (faster),
19423 # so one script is as good as another. But avoid the broken or
19424 # incompatible versions:
19425 # SysV /etc/install, /usr/sbin/install
19426 # SunOS /usr/etc/install
19427 # IRIX /sbin/install
19428 # AIX /bin/install
19429 # AmigaOS /C/install, which installs bootblocks on floppy discs
19430 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19431 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19432 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19433 # OS/2's system install, which has a completely different semantic
19434 # ./install, which can be erroneously created by make from ./install.sh.
19435 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19436 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19437 if test -z "$INSTALL"; then
19438 if test "${ac_cv_path_install+set}" = set; then
19439 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 else
19441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19442 for as_dir in $PATH
19443 do
19444 IFS=$as_save_IFS
19445 test -z "$as_dir" && as_dir=.
19446 # Account for people who put trailing slashes in PATH elements.
19447 case $as_dir/ in
19448 ./ | .// | /cC/* | \
19449 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19450 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19451 /usr/ucb/* ) ;;
19452 *)
19453 # OSF1 and SCO ODT 3.0 have their own names for install.
19454 # Don't use installbsd from OSF since it installs stuff as root
19455 # by default.
19456 for ac_prog in ginstall scoinst install; do
19457 for ac_exec_ext in '' $ac_executable_extensions; do
19458 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19459 if test $ac_prog = install &&
19460 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19461 # AIX install. It has an incompatible calling convention.
19462 :
19463 elif test $ac_prog = install &&
19464 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19465 # program-specific install script used by HP pwplus--don't use.
19466 :
19467 else
19468 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19469 break 3
19470 fi
19471 fi
19472 done
19473 done
19474 ;;
19475 esac
19476 done
19477 IFS=$as_save_IFS
19478
19479
19480 fi
19481 if test "${ac_cv_path_install+set}" = set; then
19482 INSTALL=$ac_cv_path_install
19483 else
19484 # As a last resort, use the slow shell script. Don't cache a
19485 # value for INSTALL within a source directory, because that will
19486 # break other packages using the cache if that directory is
19487 # removed, or if the value is a relative name.
19488 INSTALL=$ac_install_sh
19489 fi
19490 fi
19491 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19492 echo "${ECHO_T}$INSTALL" >&6; }
19493
19494 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19495 # It thinks the first close brace ends the variable substitution.
19496 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19497
19498 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19499
19500 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19501
19502
19503 case ${INSTALL} in
19504 /* ) # Absolute
19505 ;;
19506 ?:* ) # Drive letter, considered as absolute.
19507 ;;
19508 *)
19509 INSTALL=`pwd`/${INSTALL} ;;
19510 esac
19511
19512
19513 case "${host}" in
19514
19515 *-*-darwin* )
19516 INSTALL_PROGRAM="cp -fp"
19517 INSTALL_DATA="cp -fp"
19518 ;;
19519 *)
19520 ;;
19521 esac
19522
19523 if test -n "$ac_tool_prefix"; then
19524 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19525 set dummy ${ac_tool_prefix}strip; ac_word=$2
19526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19528 if test "${ac_cv_prog_STRIP+set}" = set; then
19529 echo $ECHO_N "(cached) $ECHO_C" >&6
19530 else
19531 if test -n "$STRIP"; then
19532 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19533 else
19534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19535 for as_dir in $PATH
19536 do
19537 IFS=$as_save_IFS
19538 test -z "$as_dir" && as_dir=.
19539 for ac_exec_ext in '' $ac_executable_extensions; do
19540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19541 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19543 break 2
19544 fi
19545 done
19546 done
19547 IFS=$as_save_IFS
19548
19549 fi
19550 fi
19551 STRIP=$ac_cv_prog_STRIP
19552 if test -n "$STRIP"; then
19553 { echo "$as_me:$LINENO: result: $STRIP" >&5
19554 echo "${ECHO_T}$STRIP" >&6; }
19555 else
19556 { echo "$as_me:$LINENO: result: no" >&5
19557 echo "${ECHO_T}no" >&6; }
19558 fi
19559
19560
19561 fi
19562 if test -z "$ac_cv_prog_STRIP"; then
19563 ac_ct_STRIP=$STRIP
19564 # Extract the first word of "strip", so it can be a program name with args.
19565 set dummy strip; ac_word=$2
19566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19568 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19569 echo $ECHO_N "(cached) $ECHO_C" >&6
19570 else
19571 if test -n "$ac_ct_STRIP"; then
19572 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19573 else
19574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19575 for as_dir in $PATH
19576 do
19577 IFS=$as_save_IFS
19578 test -z "$as_dir" && as_dir=.
19579 for ac_exec_ext in '' $ac_executable_extensions; do
19580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19581 ac_cv_prog_ac_ct_STRIP="strip"
19582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19583 break 2
19584 fi
19585 done
19586 done
19587 IFS=$as_save_IFS
19588
19589 fi
19590 fi
19591 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19592 if test -n "$ac_ct_STRIP"; then
19593 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19594 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19595 else
19596 { echo "$as_me:$LINENO: result: no" >&5
19597 echo "${ECHO_T}no" >&6; }
19598 fi
19599
19600 if test "x$ac_ct_STRIP" = x; then
19601 STRIP="true"
19602 else
19603 case $cross_compiling:$ac_tool_warned in
19604 yes:)
19605 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19606 whose name does not start with the host triplet. If you think this
19607 configuration is useful to you, please write to autoconf@gnu.org." >&5
19608 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19609 whose name does not start with the host triplet. If you think this
19610 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19611 ac_tool_warned=yes ;;
19612 esac
19613 STRIP=$ac_ct_STRIP
19614 fi
19615 else
19616 STRIP="$ac_cv_prog_STRIP"
19617 fi
19618
19619
19620 if test "$wxUSE_WINE" = "yes"; then
19621 if test -n "$ac_tool_prefix"; then
19622 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19623 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19626 if test "${ac_cv_prog_WINDRES+set}" = set; then
19627 echo $ECHO_N "(cached) $ECHO_C" >&6
19628 else
19629 if test -n "$WINDRES"; then
19630 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19631 else
19632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19633 for as_dir in $PATH
19634 do
19635 IFS=$as_save_IFS
19636 test -z "$as_dir" && as_dir=.
19637 for ac_exec_ext in '' $ac_executable_extensions; do
19638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19639 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19641 break 2
19642 fi
19643 done
19644 done
19645 IFS=$as_save_IFS
19646
19647 fi
19648 fi
19649 WINDRES=$ac_cv_prog_WINDRES
19650 if test -n "$WINDRES"; then
19651 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19652 echo "${ECHO_T}$WINDRES" >&6; }
19653 else
19654 { echo "$as_me:$LINENO: result: no" >&5
19655 echo "${ECHO_T}no" >&6; }
19656 fi
19657
19658
19659 fi
19660 if test -z "$ac_cv_prog_WINDRES"; then
19661 ac_ct_WINDRES=$WINDRES
19662 # Extract the first word of "wrc", so it can be a program name with args.
19663 set dummy wrc; ac_word=$2
19664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19666 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19667 echo $ECHO_N "(cached) $ECHO_C" >&6
19668 else
19669 if test -n "$ac_ct_WINDRES"; then
19670 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19671 else
19672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19673 for as_dir in $PATH
19674 do
19675 IFS=$as_save_IFS
19676 test -z "$as_dir" && as_dir=.
19677 for ac_exec_ext in '' $ac_executable_extensions; do
19678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19679 ac_cv_prog_ac_ct_WINDRES="wrc"
19680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19681 break 2
19682 fi
19683 done
19684 done
19685 IFS=$as_save_IFS
19686
19687 fi
19688 fi
19689 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19690 if test -n "$ac_ct_WINDRES"; then
19691 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19692 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19693 else
19694 { echo "$as_me:$LINENO: result: no" >&5
19695 echo "${ECHO_T}no" >&6; }
19696 fi
19697
19698 if test "x$ac_ct_WINDRES" = x; then
19699 WINDRES=""
19700 else
19701 case $cross_compiling:$ac_tool_warned in
19702 yes:)
19703 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19704 whose name does not start with the host triplet. If you think this
19705 configuration is useful to you, please write to autoconf@gnu.org." >&5
19706 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19707 whose name does not start with the host triplet. If you think this
19708 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19709 ac_tool_warned=yes ;;
19710 esac
19711 WINDRES=$ac_ct_WINDRES
19712 fi
19713 else
19714 WINDRES="$ac_cv_prog_WINDRES"
19715 fi
19716
19717 RESCOMP="$WINDRES"
19718 else
19719 case "${host}" in
19720 *-*-cygwin* | *-*-mingw32* )
19721 if test -n "$ac_tool_prefix"; then
19722 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19723 set dummy ${ac_tool_prefix}windres; ac_word=$2
19724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19726 if test "${ac_cv_prog_WINDRES+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 else
19729 if test -n "$WINDRES"; then
19730 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19731 else
19732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19733 for as_dir in $PATH
19734 do
19735 IFS=$as_save_IFS
19736 test -z "$as_dir" && as_dir=.
19737 for ac_exec_ext in '' $ac_executable_extensions; do
19738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19739 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19741 break 2
19742 fi
19743 done
19744 done
19745 IFS=$as_save_IFS
19746
19747 fi
19748 fi
19749 WINDRES=$ac_cv_prog_WINDRES
19750 if test -n "$WINDRES"; then
19751 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19752 echo "${ECHO_T}$WINDRES" >&6; }
19753 else
19754 { echo "$as_me:$LINENO: result: no" >&5
19755 echo "${ECHO_T}no" >&6; }
19756 fi
19757
19758
19759 fi
19760 if test -z "$ac_cv_prog_WINDRES"; then
19761 ac_ct_WINDRES=$WINDRES
19762 # Extract the first word of "windres", so it can be a program name with args.
19763 set dummy windres; ac_word=$2
19764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19766 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19767 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 else
19769 if test -n "$ac_ct_WINDRES"; then
19770 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19771 else
19772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19773 for as_dir in $PATH
19774 do
19775 IFS=$as_save_IFS
19776 test -z "$as_dir" && as_dir=.
19777 for ac_exec_ext in '' $ac_executable_extensions; do
19778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19779 ac_cv_prog_ac_ct_WINDRES="windres"
19780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19781 break 2
19782 fi
19783 done
19784 done
19785 IFS=$as_save_IFS
19786
19787 fi
19788 fi
19789 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19790 if test -n "$ac_ct_WINDRES"; then
19791 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19792 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19793 else
19794 { echo "$as_me:$LINENO: result: no" >&5
19795 echo "${ECHO_T}no" >&6; }
19796 fi
19797
19798 if test "x$ac_ct_WINDRES" = x; then
19799 WINDRES=""
19800 else
19801 case $cross_compiling:$ac_tool_warned in
19802 yes:)
19803 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19804 whose name does not start with the host triplet. If you think this
19805 configuration is useful to you, please write to autoconf@gnu.org." >&5
19806 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19807 whose name does not start with the host triplet. If you think this
19808 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19809 ac_tool_warned=yes ;;
19810 esac
19811 WINDRES=$ac_ct_WINDRES
19812 fi
19813 else
19814 WINDRES="$ac_cv_prog_WINDRES"
19815 fi
19816
19817 RESCOMP="$WINDRES"
19818 if test -n "$ac_tool_prefix"; then
19819 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19820 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19823 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19824 echo $ECHO_N "(cached) $ECHO_C" >&6
19825 else
19826 if test -n "$DLLTOOL"; then
19827 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19828 else
19829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19830 for as_dir in $PATH
19831 do
19832 IFS=$as_save_IFS
19833 test -z "$as_dir" && as_dir=.
19834 for ac_exec_ext in '' $ac_executable_extensions; do
19835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19836 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19838 break 2
19839 fi
19840 done
19841 done
19842 IFS=$as_save_IFS
19843
19844 fi
19845 fi
19846 DLLTOOL=$ac_cv_prog_DLLTOOL
19847 if test -n "$DLLTOOL"; then
19848 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19849 echo "${ECHO_T}$DLLTOOL" >&6; }
19850 else
19851 { echo "$as_me:$LINENO: result: no" >&5
19852 echo "${ECHO_T}no" >&6; }
19853 fi
19854
19855
19856 fi
19857 if test -z "$ac_cv_prog_DLLTOOL"; then
19858 ac_ct_DLLTOOL=$DLLTOOL
19859 # Extract the first word of "dlltool", so it can be a program name with args.
19860 set dummy dlltool; ac_word=$2
19861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19863 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19864 echo $ECHO_N "(cached) $ECHO_C" >&6
19865 else
19866 if test -n "$ac_ct_DLLTOOL"; then
19867 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
19868 else
19869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19870 for as_dir in $PATH
19871 do
19872 IFS=$as_save_IFS
19873 test -z "$as_dir" && as_dir=.
19874 for ac_exec_ext in '' $ac_executable_extensions; do
19875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19876 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19878 break 2
19879 fi
19880 done
19881 done
19882 IFS=$as_save_IFS
19883
19884 fi
19885 fi
19886 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19887 if test -n "$ac_ct_DLLTOOL"; then
19888 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19889 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
19890 else
19891 { echo "$as_me:$LINENO: result: no" >&5
19892 echo "${ECHO_T}no" >&6; }
19893 fi
19894
19895 if test "x$ac_ct_DLLTOOL" = x; then
19896 DLLTOOL=""
19897 else
19898 case $cross_compiling:$ac_tool_warned in
19899 yes:)
19900 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19901 whose name does not start with the host triplet. If you think this
19902 configuration is useful to you, please write to autoconf@gnu.org." >&5
19903 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19904 whose name does not start with the host triplet. If you think this
19905 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19906 ac_tool_warned=yes ;;
19907 esac
19908 DLLTOOL=$ac_ct_DLLTOOL
19909 fi
19910 else
19911 DLLTOOL="$ac_cv_prog_DLLTOOL"
19912 fi
19913
19914 ;;
19915 esac
19916 fi
19917
19918 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
19919 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
19920 if test "${wx_cv_prog_makeisgnu+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 else
19923
19924 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
19925 $EGREP -s GNU > /dev/null); then
19926 wx_cv_prog_makeisgnu="yes"
19927 else
19928 wx_cv_prog_makeisgnu="no"
19929 fi
19930
19931 fi
19932 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
19933 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
19934
19935 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
19936 IF_GNU_MAKE=""
19937 else
19938 IF_GNU_MAKE="#"
19939 fi
19940
19941
19942
19943 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
19944 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
19945 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
19946 if test "${wx_cv_prog_makevpath+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19948 else
19949
19950 cat - << EOF > confMake
19951 check : file
19952 cp \$? \$@
19953 cp \$? final_file
19954 EOF
19955
19956 if test ! -d sub ; then
19957 mkdir sub
19958 fi
19959 echo dummy > sub/file
19960 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
19961 RESULT=$?
19962 rm -f sub/file check final_file confMake
19963 rmdir sub
19964 if test "$RESULT" = 0; then
19965 wx_cv_prog_makevpath="yes"
19966 else
19967 wx_cv_prog_makevpath="no"
19968 fi
19969
19970 fi
19971 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
19972 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
19973
19974 if test "x$wx_cv_prog_makevpath" != "xyes"; then
19975 { { echo "$as_me:$LINENO: error:
19976 You need a make-utility that is able to use the variable
19977 VPATH correctly.
19978 If your version of make does not support VPATH correctly,
19979 please install GNU-make (possibly as gmake), and start
19980 configure with the following command:
19981 export MAKE=gmake; ./configure for sh-type shells
19982 setenv MAKE gmake; ./configure for csh-type shells
19983 Also please do remember to use gmake in this case every time
19984 you are trying to compile.
19985 " >&5
19986 echo "$as_me: error:
19987 You need a make-utility that is able to use the variable
19988 VPATH correctly.
19989 If your version of make does not support VPATH correctly,
19990 please install GNU-make (possibly as gmake), and start
19991 configure with the following command:
19992 export MAKE=gmake; ./configure for sh-type shells
19993 setenv MAKE gmake; ./configure for csh-type shells
19994 Also please do remember to use gmake in this case every time
19995 you are trying to compile.
19996 " >&2;}
19997 { (exit 1); exit 1; }; }
19998 fi fi
19999 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20000 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20001 LN_S=$as_ln_s
20002 if test "$LN_S" = "ln -s"; then
20003 { echo "$as_me:$LINENO: result: yes" >&5
20004 echo "${ECHO_T}yes" >&6; }
20005 else
20006 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20007 echo "${ECHO_T}no, using $LN_S" >&6; }
20008 fi
20009
20010
20011
20012
20013 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20014 CXXFLAGS="-qunique $CXXFLAGS"
20015 fi
20016
20017 case "${host}" in
20018 powerpc-*-darwin* )
20019 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20020 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
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
20028 int
20029 main ()
20030 {
20031 #ifndef __POWERPC__
20032 choke me for lack of PowerPC
20033 #endif
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 { echo "$as_me:$LINENO: result: yes" >&5
20057 echo "${ECHO_T}yes" >&6; }
20058 else
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.$ac_ext >&5
20061
20062 { echo "$as_me:$LINENO: result: no" >&5
20063 echo "${ECHO_T}no" >&6; }
20064 cat >>confdefs.h <<\_ACEOF
20065 #define __POWERPC__ 1
20066 _ACEOF
20067
20068
20069 fi
20070
20071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20072 ;;
20073 esac
20074
20075 case "${host}" in
20076 *-*-darwin* )
20077 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20078 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20079 cat >conftest.$ac_ext <<_ACEOF
20080 /* confdefs.h. */
20081 _ACEOF
20082 cat confdefs.h >>conftest.$ac_ext
20083 cat >>conftest.$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20085 #include <CoreFoundation/CFBase.h>
20086
20087 int
20088 main ()
20089 {
20090
20091 ;
20092 return 0;
20093 }
20094 _ACEOF
20095 rm -f conftest.$ac_objext
20096 if { (ac_try="$ac_compile"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20100 esac
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_compile") 2>conftest.er1
20103 ac_status=$?
20104 grep -v '^ *+' conftest.er1 >conftest.err
20105 rm -f conftest.er1
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest.$ac_objext; then
20112 { echo "$as_me:$LINENO: result: yes" >&5
20113 echo "${ECHO_T}yes" >&6; }
20114 else
20115 echo "$as_me: failed program was:" >&5
20116 sed 's/^/| /' conftest.$ac_ext >&5
20117
20118 { echo "$as_me:$LINENO: result: no" >&5
20119 echo "${ECHO_T}no" >&6; }
20120 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20121 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20122 cat >conftest.$ac_ext <<_ACEOF
20123 /* confdefs.h. */
20124 _ACEOF
20125 cat confdefs.h >>conftest.$ac_ext
20126 cat >>conftest.$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20128 #define __CF_USE_FRAMEWORK_INCLUDES__
20129 #include <CoreFoundation/CFBase.h>
20130
20131 int
20132 main ()
20133 {
20134
20135 ;
20136 return 0;
20137 }
20138 _ACEOF
20139 rm -f conftest.$ac_objext
20140 if { (ac_try="$ac_compile"
20141 case "(($ac_try" in
20142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20143 *) ac_try_echo=$ac_try;;
20144 esac
20145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20146 (eval "$ac_compile") 2>conftest.er1
20147 ac_status=$?
20148 grep -v '^ *+' conftest.er1 >conftest.err
20149 rm -f conftest.er1
20150 cat conftest.err >&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); } && {
20153 test -z "$ac_c_werror_flag" ||
20154 test ! -s conftest.err
20155 } && test -s conftest.$ac_objext; then
20156 { echo "$as_me:$LINENO: result: yes" >&5
20157 echo "${ECHO_T}yes" >&6; }
20158 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20159 else
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.$ac_ext >&5
20162
20163 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20164 See \`config.log' for more details." >&5
20165 echo "$as_me: error: no. CoreFoundation not available.
20166 See \`config.log' for more details." >&2;}
20167 { (exit 1); exit 1; }; }
20168
20169 fi
20170
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20172
20173
20174 fi
20175
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 ;;
20178 esac
20179
20180 wants_win32=0
20181 doesnt_want_win32=0
20182 case "${host}" in
20183 *-*-cygwin*)
20184 if test "$wxUSE_MSW" = 1 ; then
20185 wants_win32=1
20186 else
20187 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20188 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20189 if test "${wx_cv_nocygwin+set}" = set; then
20190 echo $ECHO_N "(cached) $ECHO_C" >&6
20191 else
20192
20193 cat >conftest.$ac_ext <<_ACEOF
20194 /* confdefs.h. */
20195 _ACEOF
20196 cat confdefs.h >>conftest.$ac_ext
20197 cat >>conftest.$ac_ext <<_ACEOF
20198 /* end confdefs.h. */
20199
20200 int
20201 main ()
20202 {
20203
20204 #ifdef __MINGW32__
20205 choke me
20206 #endif
20207
20208 ;
20209 return 0;
20210 }
20211 _ACEOF
20212 rm -f conftest.$ac_objext
20213 if { (ac_try="$ac_compile"
20214 case "(($ac_try" in
20215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20216 *) ac_try_echo=$ac_try;;
20217 esac
20218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20219 (eval "$ac_compile") 2>conftest.er1
20220 ac_status=$?
20221 grep -v '^ *+' conftest.er1 >conftest.err
20222 rm -f conftest.er1
20223 cat conftest.err >&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); } && {
20226 test -z "$ac_c_werror_flag" ||
20227 test ! -s conftest.err
20228 } && test -s conftest.$ac_objext; then
20229 wx_cv_nocygwin=no
20230 else
20231 echo "$as_me: failed program was:" >&5
20232 sed 's/^/| /' conftest.$ac_ext >&5
20233
20234 wx_cv_nocygwin=yes
20235
20236 fi
20237
20238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20239
20240
20241 fi
20242 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20243 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20244
20245 if test "$wx_cv_nocygwin" = "yes"; then
20246 wants_win32=1
20247 else
20248 doesnt_want_win32=1
20249 fi
20250 fi
20251 if test "$wants_win32" = 1 ; then
20252 BAKEFILE_FORCE_PLATFORM=win32
20253 fi
20254 ;;
20255 *-*-mingw*)
20256 wants_win32=1
20257 ;;
20258 esac
20259
20260 if test "$wxUSE_WINE" = "yes"; then
20261 wants_win32=1
20262 LDFLAGS_GUI="-mwindows"
20263 fi
20264
20265 if test "$wants_win32" = 1 ; then
20266 USE_UNIX=0
20267 USE_WIN32=1
20268 cat >>confdefs.h <<\_ACEOF
20269 #define __WIN32__ 1
20270 _ACEOF
20271
20272 cat >>confdefs.h <<\_ACEOF
20273 #define __WIN95__ 1
20274 _ACEOF
20275
20276 cat >>confdefs.h <<\_ACEOF
20277 #define __WINDOWS__ 1
20278 _ACEOF
20279
20280 cat >>confdefs.h <<\_ACEOF
20281 #define __GNUWIN32__ 1
20282 _ACEOF
20283
20284 cat >>confdefs.h <<\_ACEOF
20285 #define STRICT 1
20286 _ACEOF
20287
20288 fi
20289 if test "$doesnt_want_win32" = 1 ; then
20290 USE_UNIX=1
20291 USE_WIN32=0
20292 fi
20293
20294 if test "$USE_UNIX" = 1 ; then
20295 wxUSE_UNIX=yes
20296 cat >>confdefs.h <<\_ACEOF
20297 #define __UNIX__ 1
20298 _ACEOF
20299
20300 fi
20301
20302 case "${host}" in
20303 *-pc-os2_emx | *-pc-os2-emx )
20304 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20305 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20306 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20307 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20308 echo $ECHO_N "(cached) $ECHO_C" >&6
20309 else
20310 ac_check_lib_save_LIBS=$LIBS
20311 LIBS="-lcExt $LIBS"
20312 cat >conftest.$ac_ext <<_ACEOF
20313 /* confdefs.h. */
20314 _ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318
20319 /* Override any GCC internal prototype to avoid an error.
20320 Use char because int might match the return type of a GCC
20321 builtin and then its argument prototype would still apply. */
20322 #ifdef __cplusplus
20323 extern "C"
20324 #endif
20325 char drand48 ();
20326 int
20327 main ()
20328 {
20329 return drand48 ();
20330 ;
20331 return 0;
20332 }
20333 _ACEOF
20334 rm -f conftest.$ac_objext conftest$ac_exeext
20335 if { (ac_try="$ac_link"
20336 case "(($ac_try" in
20337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20338 *) ac_try_echo=$ac_try;;
20339 esac
20340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20341 (eval "$ac_link") 2>conftest.er1
20342 ac_status=$?
20343 grep -v '^ *+' conftest.er1 >conftest.err
20344 rm -f conftest.er1
20345 cat conftest.err >&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); } && {
20348 test -z "$ac_c_werror_flag" ||
20349 test ! -s conftest.err
20350 } && test -s conftest$ac_exeext &&
20351 $as_test_x conftest$ac_exeext; then
20352 ac_cv_lib_cExt_drand48=yes
20353 else
20354 echo "$as_me: failed program was:" >&5
20355 sed 's/^/| /' conftest.$ac_ext >&5
20356
20357 ac_cv_lib_cExt_drand48=no
20358 fi
20359
20360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20361 conftest$ac_exeext conftest.$ac_ext
20362 LIBS=$ac_check_lib_save_LIBS
20363 fi
20364 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20365 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20366 if test $ac_cv_lib_cExt_drand48 = yes; then
20367 LIBS="$LIBS -lcExt"
20368 fi
20369
20370 else
20371 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20372 fi
20373 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20374 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20375 if test "${wx_cv_gccversion+set}" = set; then
20376 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 else
20378
20379 if test "$cross_compiling" = yes; then
20380 wx_cv_gccversion="EMX2"
20381
20382 else
20383 cat >conftest.$ac_ext <<_ACEOF
20384 /* confdefs.h. */
20385 _ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389
20390 #include <stdio.h>
20391
20392 int main()
20393 {
20394 FILE *f=fopen("conftestval", "w");
20395 if (!f) exit(1);
20396 fprintf(f,
20397 #if (__GNUC__ < 3)
20398 "EMX2"
20399 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20400 "EMX3"
20401 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20402 "Innotek5"
20403 #else
20404 "Innotek6"
20405 #endif
20406 );
20407 exit(0);
20408 }
20409
20410 _ACEOF
20411 rm -f conftest$ac_exeext
20412 if { (ac_try="$ac_link"
20413 case "(($ac_try" in
20414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20415 *) ac_try_echo=$ac_try;;
20416 esac
20417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20418 (eval "$ac_link") 2>&5
20419 ac_status=$?
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20422 { (case "(($ac_try" in
20423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20424 *) ac_try_echo=$ac_try;;
20425 esac
20426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20427 (eval "$ac_try") 2>&5
20428 ac_status=$?
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); }; }; then
20431 wx_cv_gccversion=`cat conftestval`
20432 else
20433 echo "$as_me: program exited with status $ac_status" >&5
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20436
20437 ( exit $ac_status )
20438 wx_cv_gccversion="EMX2"
20439 fi
20440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20441 fi
20442
20443
20444
20445 fi
20446 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20447 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20448 if test "$wx_cv_gccversion" = "EMX2"; then
20449 LIBS="$LIBS -lstdcpp"
20450 LDFLAGS="$LDFLAGS -Zsysv-signals"
20451 else
20452 if test "$wx_cv_gccversion" = "EMX3"; then
20453 LIBS="$LIBS -lstdcxx -lgcc"
20454 LDFLAGS="$LDFLAGS -Zsysv-signals"
20455 else
20456 LIBS="$LIBS -lstdc++"
20457 fi
20458 fi
20459 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20460 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20461 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20462 wxUSE_OMF=yes
20463 enable_omf=yes
20464 fi
20465 ;;
20466 *)
20467
20468 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20469 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20470 if test "${ac_cv_string_strcasecmp+set}" = set; then
20471 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 else
20473
20474 cat >conftest.$ac_ext <<_ACEOF
20475 /* confdefs.h. */
20476 _ACEOF
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480
20481 #include <string.h>
20482
20483 int
20484 main ()
20485 {
20486
20487 strcasecmp("foo", "bar");
20488
20489 ;
20490 return 0;
20491 }
20492 _ACEOF
20493 rm -f conftest.$ac_objext conftest$ac_exeext
20494 if { (ac_try="$ac_link"
20495 case "(($ac_try" in
20496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20497 *) ac_try_echo=$ac_try;;
20498 esac
20499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20500 (eval "$ac_link") 2>conftest.er1
20501 ac_status=$?
20502 grep -v '^ *+' conftest.er1 >conftest.err
20503 rm -f conftest.er1
20504 cat conftest.err >&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); } && {
20507 test -z "$ac_c_werror_flag" ||
20508 test ! -s conftest.err
20509 } && test -s conftest$ac_exeext &&
20510 $as_test_x conftest$ac_exeext; then
20511 ac_cv_string_strcasecmp=yes
20512 else
20513 echo "$as_me: failed program was:" >&5
20514 sed 's/^/| /' conftest.$ac_ext >&5
20515
20516 ac_cv_string_strcasecmp=no
20517
20518 fi
20519
20520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20521 conftest$ac_exeext conftest.$ac_ext
20522
20523 fi
20524 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20525 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20526
20527 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20528 cat >>confdefs.h <<\_ACEOF
20529 #define HAVE_STRCASECMP_IN_STRING_H 1
20530 _ACEOF
20531
20532 else
20533 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20534 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20535 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 else
20538
20539 cat >conftest.$ac_ext <<_ACEOF
20540 /* confdefs.h. */
20541 _ACEOF
20542 cat confdefs.h >>conftest.$ac_ext
20543 cat >>conftest.$ac_ext <<_ACEOF
20544 /* end confdefs.h. */
20545
20546 #include <strings.h>
20547
20548 int
20549 main ()
20550 {
20551
20552 strcasecmp("foo", "bar");
20553
20554 ;
20555 return 0;
20556 }
20557 _ACEOF
20558 rm -f conftest.$ac_objext conftest$ac_exeext
20559 if { (ac_try="$ac_link"
20560 case "(($ac_try" in
20561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20563 esac
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_link") 2>conftest.er1
20566 ac_status=$?
20567 grep -v '^ *+' conftest.er1 >conftest.err
20568 rm -f conftest.er1
20569 cat conftest.err >&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } && {
20572 test -z "$ac_c_werror_flag" ||
20573 test ! -s conftest.err
20574 } && test -s conftest$ac_exeext &&
20575 $as_test_x conftest$ac_exeext; then
20576 ac_cv_strings_strcasecmp=yes
20577 else
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.$ac_ext >&5
20580
20581 ac_cv_strings_strcasecmp=no
20582
20583 fi
20584
20585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20586 conftest$ac_exeext conftest.$ac_ext
20587
20588 fi
20589 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20590 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20591
20592 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20593 cat >>confdefs.h <<\_ACEOF
20594 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20595 _ACEOF
20596
20597 else
20598 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20599 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20600 { (exit 1); exit 1; }; }
20601 fi
20602 fi
20603
20604 ;;
20605 esac
20606
20607
20608 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20609 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20610 if test "${ac_cv_header_stdc+set}" = set; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20612 else
20613 cat >conftest.$ac_ext <<_ACEOF
20614 /* confdefs.h. */
20615 _ACEOF
20616 cat confdefs.h >>conftest.$ac_ext
20617 cat >>conftest.$ac_ext <<_ACEOF
20618 /* end confdefs.h. */
20619 #include <stdlib.h>
20620 #include <stdarg.h>
20621 #include <string.h>
20622 #include <float.h>
20623
20624 int
20625 main ()
20626 {
20627
20628 ;
20629 return 0;
20630 }
20631 _ACEOF
20632 rm -f conftest.$ac_objext
20633 if { (ac_try="$ac_compile"
20634 case "(($ac_try" in
20635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20636 *) ac_try_echo=$ac_try;;
20637 esac
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_compile") 2>conftest.er1
20640 ac_status=$?
20641 grep -v '^ *+' conftest.er1 >conftest.err
20642 rm -f conftest.er1
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } && {
20646 test -z "$ac_c_werror_flag" ||
20647 test ! -s conftest.err
20648 } && test -s conftest.$ac_objext; then
20649 ac_cv_header_stdc=yes
20650 else
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.$ac_ext >&5
20653
20654 ac_cv_header_stdc=no
20655 fi
20656
20657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20658
20659 if test $ac_cv_header_stdc = yes; then
20660 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20661 cat >conftest.$ac_ext <<_ACEOF
20662 /* confdefs.h. */
20663 _ACEOF
20664 cat confdefs.h >>conftest.$ac_ext
20665 cat >>conftest.$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20667 #include <string.h>
20668
20669 _ACEOF
20670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20671 $EGREP "memchr" >/dev/null 2>&1; then
20672 :
20673 else
20674 ac_cv_header_stdc=no
20675 fi
20676 rm -f conftest*
20677
20678 fi
20679
20680 if test $ac_cv_header_stdc = yes; then
20681 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20682 cat >conftest.$ac_ext <<_ACEOF
20683 /* confdefs.h. */
20684 _ACEOF
20685 cat confdefs.h >>conftest.$ac_ext
20686 cat >>conftest.$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20688 #include <stdlib.h>
20689
20690 _ACEOF
20691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20692 $EGREP "free" >/dev/null 2>&1; then
20693 :
20694 else
20695 ac_cv_header_stdc=no
20696 fi
20697 rm -f conftest*
20698
20699 fi
20700
20701 if test $ac_cv_header_stdc = yes; then
20702 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20703 if test "$cross_compiling" = yes; then
20704 :
20705 else
20706 cat >conftest.$ac_ext <<_ACEOF
20707 /* confdefs.h. */
20708 _ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 #include <ctype.h>
20713 #include <stdlib.h>
20714 #if ((' ' & 0x0FF) == 0x020)
20715 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20716 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20717 #else
20718 # define ISLOWER(c) \
20719 (('a' <= (c) && (c) <= 'i') \
20720 || ('j' <= (c) && (c) <= 'r') \
20721 || ('s' <= (c) && (c) <= 'z'))
20722 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20723 #endif
20724
20725 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20726 int
20727 main ()
20728 {
20729 int i;
20730 for (i = 0; i < 256; i++)
20731 if (XOR (islower (i), ISLOWER (i))
20732 || toupper (i) != TOUPPER (i))
20733 return 2;
20734 return 0;
20735 }
20736 _ACEOF
20737 rm -f conftest$ac_exeext
20738 if { (ac_try="$ac_link"
20739 case "(($ac_try" in
20740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20742 esac
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_link") 2>&5
20745 ac_status=$?
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20748 { (case "(($ac_try" in
20749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20750 *) ac_try_echo=$ac_try;;
20751 esac
20752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20753 (eval "$ac_try") 2>&5
20754 ac_status=$?
20755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756 (exit $ac_status); }; }; then
20757 :
20758 else
20759 echo "$as_me: program exited with status $ac_status" >&5
20760 echo "$as_me: failed program was:" >&5
20761 sed 's/^/| /' conftest.$ac_ext >&5
20762
20763 ( exit $ac_status )
20764 ac_cv_header_stdc=no
20765 fi
20766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20767 fi
20768
20769
20770 fi
20771 fi
20772 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20773 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20774 if test $ac_cv_header_stdc = yes; then
20775
20776 cat >>confdefs.h <<\_ACEOF
20777 #define STDC_HEADERS 1
20778 _ACEOF
20779
20780 fi
20781
20782 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20793 inttypes.h stdint.h unistd.h
20794 do
20795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20796 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20798 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20799 echo $ECHO_N "(cached) $ECHO_C" >&6
20800 else
20801 cat >conftest.$ac_ext <<_ACEOF
20802 /* confdefs.h. */
20803 _ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20808
20809 #include <$ac_header>
20810 _ACEOF
20811 rm -f conftest.$ac_objext
20812 if { (ac_try="$ac_compile"
20813 case "(($ac_try" in
20814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20815 *) ac_try_echo=$ac_try;;
20816 esac
20817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20818 (eval "$ac_compile") 2>conftest.er1
20819 ac_status=$?
20820 grep -v '^ *+' conftest.er1 >conftest.err
20821 rm -f conftest.er1
20822 cat conftest.err >&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); } && {
20825 test -z "$ac_c_werror_flag" ||
20826 test ! -s conftest.err
20827 } && test -s conftest.$ac_objext; then
20828 eval "$as_ac_Header=yes"
20829 else
20830 echo "$as_me: failed program was:" >&5
20831 sed 's/^/| /' conftest.$ac_ext >&5
20832
20833 eval "$as_ac_Header=no"
20834 fi
20835
20836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20837 fi
20838 ac_res=`eval echo '${'$as_ac_Header'}'`
20839 { echo "$as_me:$LINENO: result: $ac_res" >&5
20840 echo "${ECHO_T}$ac_res" >&6; }
20841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20842 cat >>confdefs.h <<_ACEOF
20843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20844 _ACEOF
20845
20846 fi
20847
20848 done
20849
20850
20851
20852
20853
20854
20855
20856
20857 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20858 do
20859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20860 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20863 echo $ECHO_N "(cached) $ECHO_C" >&6
20864 else
20865 cat >conftest.$ac_ext <<_ACEOF
20866 /* confdefs.h. */
20867 _ACEOF
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20871 $ac_includes_default
20872
20873 #include <$ac_header>
20874 _ACEOF
20875 rm -f conftest.$ac_objext
20876 if { (ac_try="$ac_compile"
20877 case "(($ac_try" in
20878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20880 esac
20881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20882 (eval "$ac_compile") 2>conftest.er1
20883 ac_status=$?
20884 grep -v '^ *+' conftest.er1 >conftest.err
20885 rm -f conftest.er1
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } && {
20889 test -z "$ac_c_werror_flag" ||
20890 test ! -s conftest.err
20891 } && test -s conftest.$ac_objext; then
20892 eval "$as_ac_Header=yes"
20893 else
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20896
20897 eval "$as_ac_Header=no"
20898 fi
20899
20900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20901 fi
20902 ac_res=`eval echo '${'$as_ac_Header'}'`
20903 { echo "$as_me:$LINENO: result: $ac_res" >&5
20904 echo "${ECHO_T}$ac_res" >&6; }
20905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20906 cat >>confdefs.h <<_ACEOF
20907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20908 _ACEOF
20909
20910 fi
20911
20912 done
20913
20914
20915 if test "$ac_cv_header_wchar_h" != "yes"; then
20916 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
20917 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
20918 if test "${ac_cv_header_wcstr_h+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20920 else
20921 cat >conftest.$ac_ext <<_ACEOF
20922 /* confdefs.h. */
20923 _ACEOF
20924 cat confdefs.h >>conftest.$ac_ext
20925 cat >>conftest.$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 $ac_includes_default
20928
20929 #include <wcstr.h>
20930 _ACEOF
20931 rm -f conftest.$ac_objext
20932 if { (ac_try="$ac_compile"
20933 case "(($ac_try" in
20934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20935 *) ac_try_echo=$ac_try;;
20936 esac
20937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20938 (eval "$ac_compile") 2>conftest.er1
20939 ac_status=$?
20940 grep -v '^ *+' conftest.er1 >conftest.err
20941 rm -f conftest.er1
20942 cat conftest.err >&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } && {
20945 test -z "$ac_c_werror_flag" ||
20946 test ! -s conftest.err
20947 } && test -s conftest.$ac_objext; then
20948 ac_cv_header_wcstr_h=yes
20949 else
20950 echo "$as_me: failed program was:" >&5
20951 sed 's/^/| /' conftest.$ac_ext >&5
20952
20953 ac_cv_header_wcstr_h=no
20954 fi
20955
20956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20957 fi
20958 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
20959 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
20960
20961
20962 fi
20963
20964 case "${host}" in
20965 *-pc-os2_emx | *-pc-os2-emx )
20966 if test $ac_cv_header_langinfo_h = "yes" \
20967 -a \( "$wx_cv_gccversion" = "EMX2" \
20968 -o "$wx_cv_gccversion" = "EMX3" \
20969 -o "$wx_cv_gccversion" = "Innotek5" \); then
20970 LIBS="$LIBS -lintl"
20971 fi
20972 ;;
20973 esac
20974
20975 if test "$USE_UNIX" = 1 ; then
20976 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
20977 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
20978 if test "${ac_cv_header_sys_select_h+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 else
20981 cat >conftest.$ac_ext <<_ACEOF
20982 /* confdefs.h. */
20983 _ACEOF
20984 cat confdefs.h >>conftest.$ac_ext
20985 cat >>conftest.$ac_ext <<_ACEOF
20986 /* end confdefs.h. */
20987 $ac_includes_default
20988
20989 #include <sys/select.h>
20990 _ACEOF
20991 rm -f conftest.$ac_objext
20992 if { (ac_try="$ac_compile"
20993 case "(($ac_try" in
20994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20995 *) ac_try_echo=$ac_try;;
20996 esac
20997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20998 (eval "$ac_compile") 2>conftest.er1
20999 ac_status=$?
21000 grep -v '^ *+' conftest.er1 >conftest.err
21001 rm -f conftest.er1
21002 cat conftest.err >&5
21003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004 (exit $ac_status); } && {
21005 test -z "$ac_c_werror_flag" ||
21006 test ! -s conftest.err
21007 } && test -s conftest.$ac_objext; then
21008 ac_cv_header_sys_select_h=yes
21009 else
21010 echo "$as_me: failed program was:" >&5
21011 sed 's/^/| /' conftest.$ac_ext >&5
21012
21013 ac_cv_header_sys_select_h=no
21014 fi
21015
21016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21017 fi
21018 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
21019 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
21020
21021
21022 fi
21023
21024
21025 for ac_header in sys/epoll.h
21026 do
21027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21032 echo $ECHO_N "(cached) $ECHO_C" >&6
21033 fi
21034 ac_res=`eval echo '${'$as_ac_Header'}'`
21035 { echo "$as_me:$LINENO: result: $ac_res" >&5
21036 echo "${ECHO_T}$ac_res" >&6; }
21037 else
21038 # Is the header compilable?
21039 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21041 cat >conftest.$ac_ext <<_ACEOF
21042 /* confdefs.h. */
21043 _ACEOF
21044 cat confdefs.h >>conftest.$ac_ext
21045 cat >>conftest.$ac_ext <<_ACEOF
21046 /* end confdefs.h. */
21047 $ac_includes_default
21048 #include <$ac_header>
21049 _ACEOF
21050 rm -f conftest.$ac_objext
21051 if { (ac_try="$ac_compile"
21052 case "(($ac_try" in
21053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21054 *) ac_try_echo=$ac_try;;
21055 esac
21056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21057 (eval "$ac_compile") 2>conftest.er1
21058 ac_status=$?
21059 grep -v '^ *+' conftest.er1 >conftest.err
21060 rm -f conftest.er1
21061 cat conftest.err >&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } && {
21064 test -z "$ac_c_werror_flag" ||
21065 test ! -s conftest.err
21066 } && test -s conftest.$ac_objext; then
21067 ac_header_compiler=yes
21068 else
21069 echo "$as_me: failed program was:" >&5
21070 sed 's/^/| /' conftest.$ac_ext >&5
21071
21072 ac_header_compiler=no
21073 fi
21074
21075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21076 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21077 echo "${ECHO_T}$ac_header_compiler" >&6; }
21078
21079 # Is the header present?
21080 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21081 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21082 cat >conftest.$ac_ext <<_ACEOF
21083 /* confdefs.h. */
21084 _ACEOF
21085 cat confdefs.h >>conftest.$ac_ext
21086 cat >>conftest.$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21088 #include <$ac_header>
21089 _ACEOF
21090 if { (ac_try="$ac_cpp conftest.$ac_ext"
21091 case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21094 esac
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21097 ac_status=$?
21098 grep -v '^ *+' conftest.er1 >conftest.err
21099 rm -f conftest.er1
21100 cat conftest.err >&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); } >/dev/null && {
21103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21104 test ! -s conftest.err
21105 }; then
21106 ac_header_preproc=yes
21107 else
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.$ac_ext >&5
21110
21111 ac_header_preproc=no
21112 fi
21113
21114 rm -f conftest.err conftest.$ac_ext
21115 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21116 echo "${ECHO_T}$ac_header_preproc" >&6; }
21117
21118 # So? What about this header?
21119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21120 yes:no: )
21121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21125 ac_header_preproc=yes
21126 ;;
21127 no:yes:* )
21128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21140 ( cat <<\_ASBOX
21141 ## ----------------------------------------- ##
21142 ## Report this to wx-dev@lists.wxwidgets.org ##
21143 ## ----------------------------------------- ##
21144 _ASBOX
21145 ) | sed "s/^/$as_me: WARNING: /" >&2
21146 ;;
21147 esac
21148 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21150 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21151 echo $ECHO_N "(cached) $ECHO_C" >&6
21152 else
21153 eval "$as_ac_Header=\$ac_header_preproc"
21154 fi
21155 ac_res=`eval echo '${'$as_ac_Header'}'`
21156 { echo "$as_me:$LINENO: result: $ac_res" >&5
21157 echo "${ECHO_T}$ac_res" >&6; }
21158
21159 fi
21160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21161 cat >>confdefs.h <<_ACEOF
21162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21163 _ACEOF
21164
21165 fi
21166
21167 done
21168
21169
21170
21171 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21172 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21173 if test "${ac_cv_c_const+set}" = set; then
21174 echo $ECHO_N "(cached) $ECHO_C" >&6
21175 else
21176 cat >conftest.$ac_ext <<_ACEOF
21177 /* confdefs.h. */
21178 _ACEOF
21179 cat confdefs.h >>conftest.$ac_ext
21180 cat >>conftest.$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21182
21183 int
21184 main ()
21185 {
21186 /* FIXME: Include the comments suggested by Paul. */
21187 #ifndef __cplusplus
21188 /* Ultrix mips cc rejects this. */
21189 typedef int charset[2];
21190 const charset cs;
21191 /* SunOS 4.1.1 cc rejects this. */
21192 char const *const *pcpcc;
21193 char **ppc;
21194 /* NEC SVR4.0.2 mips cc rejects this. */
21195 struct point {int x, y;};
21196 static struct point const zero = {0,0};
21197 /* AIX XL C 1.02.0.0 rejects this.
21198 It does not let you subtract one const X* pointer from another in
21199 an arm of an if-expression whose if-part is not a constant
21200 expression */
21201 const char *g = "string";
21202 pcpcc = &g + (g ? g-g : 0);
21203 /* HPUX 7.0 cc rejects these. */
21204 ++pcpcc;
21205 ppc = (char**) pcpcc;
21206 pcpcc = (char const *const *) ppc;
21207 { /* SCO 3.2v4 cc rejects this. */
21208 char *t;
21209 char const *s = 0 ? (char *) 0 : (char const *) 0;
21210
21211 *t++ = 0;
21212 if (s) return 0;
21213 }
21214 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21215 int x[] = {25, 17};
21216 const int *foo = &x[0];
21217 ++foo;
21218 }
21219 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21220 typedef const int *iptr;
21221 iptr p = 0;
21222 ++p;
21223 }
21224 { /* AIX XL C 1.02.0.0 rejects this saying
21225 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21226 struct s { int j; const int *ap[3]; };
21227 struct s *b; b->j = 5;
21228 }
21229 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21230 const int foo = 10;
21231 if (!foo) return 0;
21232 }
21233 return !cs[0] && !zero.x;
21234 #endif
21235
21236 ;
21237 return 0;
21238 }
21239 _ACEOF
21240 rm -f conftest.$ac_objext
21241 if { (ac_try="$ac_compile"
21242 case "(($ac_try" in
21243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21244 *) ac_try_echo=$ac_try;;
21245 esac
21246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21247 (eval "$ac_compile") 2>conftest.er1
21248 ac_status=$?
21249 grep -v '^ *+' conftest.er1 >conftest.err
21250 rm -f conftest.er1
21251 cat conftest.err >&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); } && {
21254 test -z "$ac_c_werror_flag" ||
21255 test ! -s conftest.err
21256 } && test -s conftest.$ac_objext; then
21257 ac_cv_c_const=yes
21258 else
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.$ac_ext >&5
21261
21262 ac_cv_c_const=no
21263 fi
21264
21265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21266 fi
21267 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21268 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21269 if test $ac_cv_c_const = no; then
21270
21271 cat >>confdefs.h <<\_ACEOF
21272 #define const
21273 _ACEOF
21274
21275 fi
21276
21277 { echo "$as_me:$LINENO: checking for inline" >&5
21278 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21279 if test "${ac_cv_c_inline+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21281 else
21282 ac_cv_c_inline=no
21283 for ac_kw in inline __inline__ __inline; do
21284 cat >conftest.$ac_ext <<_ACEOF
21285 /* confdefs.h. */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 #ifndef __cplusplus
21291 typedef int foo_t;
21292 static $ac_kw foo_t static_foo () {return 0; }
21293 $ac_kw foo_t foo () {return 0; }
21294 #endif
21295
21296 _ACEOF
21297 rm -f conftest.$ac_objext
21298 if { (ac_try="$ac_compile"
21299 case "(($ac_try" in
21300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21301 *) ac_try_echo=$ac_try;;
21302 esac
21303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21304 (eval "$ac_compile") 2>conftest.er1
21305 ac_status=$?
21306 grep -v '^ *+' conftest.er1 >conftest.err
21307 rm -f conftest.er1
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } && {
21311 test -z "$ac_c_werror_flag" ||
21312 test ! -s conftest.err
21313 } && test -s conftest.$ac_objext; then
21314 ac_cv_c_inline=$ac_kw
21315 else
21316 echo "$as_me: failed program was:" >&5
21317 sed 's/^/| /' conftest.$ac_ext >&5
21318
21319
21320 fi
21321
21322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21323 test "$ac_cv_c_inline" != no && break
21324 done
21325
21326 fi
21327 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21328 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21329
21330
21331 case $ac_cv_c_inline in
21332 inline | yes) ;;
21333 *)
21334 case $ac_cv_c_inline in
21335 no) ac_val=;;
21336 *) ac_val=$ac_cv_c_inline;;
21337 esac
21338 cat >>confdefs.h <<_ACEOF
21339 #ifndef __cplusplus
21340 #define inline $ac_val
21341 #endif
21342 _ACEOF
21343 ;;
21344 esac
21345
21346
21347 { echo "$as_me:$LINENO: checking for short" >&5
21348 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21349 if test "${ac_cv_type_short+set}" = set; then
21350 echo $ECHO_N "(cached) $ECHO_C" >&6
21351 else
21352 cat >conftest.$ac_ext <<_ACEOF
21353 /* confdefs.h. */
21354 _ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21358 $ac_includes_default
21359 typedef short ac__type_new_;
21360 int
21361 main ()
21362 {
21363 if ((ac__type_new_ *) 0)
21364 return 0;
21365 if (sizeof (ac__type_new_))
21366 return 0;
21367 ;
21368 return 0;
21369 }
21370 _ACEOF
21371 rm -f conftest.$ac_objext
21372 if { (ac_try="$ac_compile"
21373 case "(($ac_try" in
21374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21375 *) ac_try_echo=$ac_try;;
21376 esac
21377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21378 (eval "$ac_compile") 2>conftest.er1
21379 ac_status=$?
21380 grep -v '^ *+' conftest.er1 >conftest.err
21381 rm -f conftest.er1
21382 cat conftest.err >&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } && {
21385 test -z "$ac_c_werror_flag" ||
21386 test ! -s conftest.err
21387 } && test -s conftest.$ac_objext; then
21388 ac_cv_type_short=yes
21389 else
21390 echo "$as_me: failed program was:" >&5
21391 sed 's/^/| /' conftest.$ac_ext >&5
21392
21393 ac_cv_type_short=no
21394 fi
21395
21396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21397 fi
21398 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21399 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21400
21401 # The cast to long int works around a bug in the HP C Compiler
21402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21404 # This bug is HP SR number 8606223364.
21405 { echo "$as_me:$LINENO: checking size of short" >&5
21406 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21407 if test "${ac_cv_sizeof_short+set}" = set; then
21408 echo $ECHO_N "(cached) $ECHO_C" >&6
21409 else
21410 if test "$cross_compiling" = yes; then
21411 # Depending upon the size, compute the lo and hi bounds.
21412 cat >conftest.$ac_ext <<_ACEOF
21413 /* confdefs.h. */
21414 _ACEOF
21415 cat confdefs.h >>conftest.$ac_ext
21416 cat >>conftest.$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 $ac_includes_default
21419 typedef short ac__type_sizeof_;
21420 int
21421 main ()
21422 {
21423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21424 test_array [0] = 0
21425
21426 ;
21427 return 0;
21428 }
21429 _ACEOF
21430 rm -f conftest.$ac_objext
21431 if { (ac_try="$ac_compile"
21432 case "(($ac_try" in
21433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21434 *) ac_try_echo=$ac_try;;
21435 esac
21436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21437 (eval "$ac_compile") 2>conftest.er1
21438 ac_status=$?
21439 grep -v '^ *+' conftest.er1 >conftest.err
21440 rm -f conftest.er1
21441 cat conftest.err >&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } && {
21444 test -z "$ac_c_werror_flag" ||
21445 test ! -s conftest.err
21446 } && test -s conftest.$ac_objext; then
21447 ac_lo=0 ac_mid=0
21448 while :; do
21449 cat >conftest.$ac_ext <<_ACEOF
21450 /* confdefs.h. */
21451 _ACEOF
21452 cat confdefs.h >>conftest.$ac_ext
21453 cat >>conftest.$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455 $ac_includes_default
21456 typedef short ac__type_sizeof_;
21457 int
21458 main ()
21459 {
21460 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21461 test_array [0] = 0
21462
21463 ;
21464 return 0;
21465 }
21466 _ACEOF
21467 rm -f conftest.$ac_objext
21468 if { (ac_try="$ac_compile"
21469 case "(($ac_try" in
21470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21471 *) ac_try_echo=$ac_try;;
21472 esac
21473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21474 (eval "$ac_compile") 2>conftest.er1
21475 ac_status=$?
21476 grep -v '^ *+' conftest.er1 >conftest.err
21477 rm -f conftest.er1
21478 cat conftest.err >&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); } && {
21481 test -z "$ac_c_werror_flag" ||
21482 test ! -s conftest.err
21483 } && test -s conftest.$ac_objext; then
21484 ac_hi=$ac_mid; break
21485 else
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21488
21489 ac_lo=`expr $ac_mid + 1`
21490 if test $ac_lo -le $ac_mid; then
21491 ac_lo= ac_hi=
21492 break
21493 fi
21494 ac_mid=`expr 2 '*' $ac_mid + 1`
21495 fi
21496
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21498 done
21499 else
21500 echo "$as_me: failed program was:" >&5
21501 sed 's/^/| /' conftest.$ac_ext >&5
21502
21503 cat >conftest.$ac_ext <<_ACEOF
21504 /* confdefs.h. */
21505 _ACEOF
21506 cat confdefs.h >>conftest.$ac_ext
21507 cat >>conftest.$ac_ext <<_ACEOF
21508 /* end confdefs.h. */
21509 $ac_includes_default
21510 typedef short ac__type_sizeof_;
21511 int
21512 main ()
21513 {
21514 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21515 test_array [0] = 0
21516
21517 ;
21518 return 0;
21519 }
21520 _ACEOF
21521 rm -f conftest.$ac_objext
21522 if { (ac_try="$ac_compile"
21523 case "(($ac_try" in
21524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21525 *) ac_try_echo=$ac_try;;
21526 esac
21527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21528 (eval "$ac_compile") 2>conftest.er1
21529 ac_status=$?
21530 grep -v '^ *+' conftest.er1 >conftest.err
21531 rm -f conftest.er1
21532 cat conftest.err >&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); } && {
21535 test -z "$ac_c_werror_flag" ||
21536 test ! -s conftest.err
21537 } && test -s conftest.$ac_objext; then
21538 ac_hi=-1 ac_mid=-1
21539 while :; do
21540 cat >conftest.$ac_ext <<_ACEOF
21541 /* confdefs.h. */
21542 _ACEOF
21543 cat confdefs.h >>conftest.$ac_ext
21544 cat >>conftest.$ac_ext <<_ACEOF
21545 /* end confdefs.h. */
21546 $ac_includes_default
21547 typedef short ac__type_sizeof_;
21548 int
21549 main ()
21550 {
21551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21552 test_array [0] = 0
21553
21554 ;
21555 return 0;
21556 }
21557 _ACEOF
21558 rm -f conftest.$ac_objext
21559 if { (ac_try="$ac_compile"
21560 case "(($ac_try" in
21561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21562 *) ac_try_echo=$ac_try;;
21563 esac
21564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21565 (eval "$ac_compile") 2>conftest.er1
21566 ac_status=$?
21567 grep -v '^ *+' conftest.er1 >conftest.err
21568 rm -f conftest.er1
21569 cat conftest.err >&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } && {
21572 test -z "$ac_c_werror_flag" ||
21573 test ! -s conftest.err
21574 } && test -s conftest.$ac_objext; then
21575 ac_lo=$ac_mid; break
21576 else
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21579
21580 ac_hi=`expr '(' $ac_mid ')' - 1`
21581 if test $ac_mid -le $ac_hi; then
21582 ac_lo= ac_hi=
21583 break
21584 fi
21585 ac_mid=`expr 2 '*' $ac_mid`
21586 fi
21587
21588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21589 done
21590 else
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.$ac_ext >&5
21593
21594 ac_lo= ac_hi=
21595 fi
21596
21597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21598 fi
21599
21600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21601 # Binary search between lo and hi bounds.
21602 while test "x$ac_lo" != "x$ac_hi"; do
21603 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21604 cat >conftest.$ac_ext <<_ACEOF
21605 /* confdefs.h. */
21606 _ACEOF
21607 cat confdefs.h >>conftest.$ac_ext
21608 cat >>conftest.$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21610 $ac_includes_default
21611 typedef short ac__type_sizeof_;
21612 int
21613 main ()
21614 {
21615 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21616 test_array [0] = 0
21617
21618 ;
21619 return 0;
21620 }
21621 _ACEOF
21622 rm -f conftest.$ac_objext
21623 if { (ac_try="$ac_compile"
21624 case "(($ac_try" in
21625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21626 *) ac_try_echo=$ac_try;;
21627 esac
21628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21629 (eval "$ac_compile") 2>conftest.er1
21630 ac_status=$?
21631 grep -v '^ *+' conftest.er1 >conftest.err
21632 rm -f conftest.er1
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } && {
21636 test -z "$ac_c_werror_flag" ||
21637 test ! -s conftest.err
21638 } && test -s conftest.$ac_objext; then
21639 ac_hi=$ac_mid
21640 else
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.$ac_ext >&5
21643
21644 ac_lo=`expr '(' $ac_mid ')' + 1`
21645 fi
21646
21647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21648 done
21649 case $ac_lo in
21650 ?*) ac_cv_sizeof_short=$ac_lo;;
21651 '') if test "$ac_cv_type_short" = yes; then
21652 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21653 See \`config.log' for more details." >&5
21654 echo "$as_me: error: cannot compute sizeof (short)
21655 See \`config.log' for more details." >&2;}
21656 { (exit 77); exit 77; }; }
21657 else
21658 ac_cv_sizeof_short=0
21659 fi ;;
21660 esac
21661 else
21662 cat >conftest.$ac_ext <<_ACEOF
21663 /* confdefs.h. */
21664 _ACEOF
21665 cat confdefs.h >>conftest.$ac_ext
21666 cat >>conftest.$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21668 $ac_includes_default
21669 typedef short ac__type_sizeof_;
21670 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21671 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21672 #include <stdio.h>
21673 #include <stdlib.h>
21674 int
21675 main ()
21676 {
21677
21678 FILE *f = fopen ("conftest.val", "w");
21679 if (! f)
21680 return 1;
21681 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21682 {
21683 long int i = longval ();
21684 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21685 return 1;
21686 fprintf (f, "%ld\n", i);
21687 }
21688 else
21689 {
21690 unsigned long int i = ulongval ();
21691 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21692 return 1;
21693 fprintf (f, "%lu\n", i);
21694 }
21695 return ferror (f) || fclose (f) != 0;
21696
21697 ;
21698 return 0;
21699 }
21700 _ACEOF
21701 rm -f conftest$ac_exeext
21702 if { (ac_try="$ac_link"
21703 case "(($ac_try" in
21704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21705 *) ac_try_echo=$ac_try;;
21706 esac
21707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21708 (eval "$ac_link") 2>&5
21709 ac_status=$?
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21712 { (case "(($ac_try" in
21713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21714 *) ac_try_echo=$ac_try;;
21715 esac
21716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717 (eval "$ac_try") 2>&5
21718 ac_status=$?
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; }; then
21721 ac_cv_sizeof_short=`cat conftest.val`
21722 else
21723 echo "$as_me: program exited with status $ac_status" >&5
21724 echo "$as_me: failed program was:" >&5
21725 sed 's/^/| /' conftest.$ac_ext >&5
21726
21727 ( exit $ac_status )
21728 if test "$ac_cv_type_short" = yes; then
21729 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21730 See \`config.log' for more details." >&5
21731 echo "$as_me: error: cannot compute sizeof (short)
21732 See \`config.log' for more details." >&2;}
21733 { (exit 77); exit 77; }; }
21734 else
21735 ac_cv_sizeof_short=0
21736 fi
21737 fi
21738 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21739 fi
21740 rm -f conftest.val
21741 fi
21742 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21743 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21744
21745
21746
21747 cat >>confdefs.h <<_ACEOF
21748 #define SIZEOF_SHORT $ac_cv_sizeof_short
21749 _ACEOF
21750
21751
21752 { echo "$as_me:$LINENO: checking for void *" >&5
21753 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21754 if test "${ac_cv_type_void_p+set}" = set; then
21755 echo $ECHO_N "(cached) $ECHO_C" >&6
21756 else
21757 cat >conftest.$ac_ext <<_ACEOF
21758 /* confdefs.h. */
21759 _ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 typedef void * ac__type_new_;
21765 int
21766 main ()
21767 {
21768 if ((ac__type_new_ *) 0)
21769 return 0;
21770 if (sizeof (ac__type_new_))
21771 return 0;
21772 ;
21773 return 0;
21774 }
21775 _ACEOF
21776 rm -f conftest.$ac_objext
21777 if { (ac_try="$ac_compile"
21778 case "(($ac_try" in
21779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21780 *) ac_try_echo=$ac_try;;
21781 esac
21782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21783 (eval "$ac_compile") 2>conftest.er1
21784 ac_status=$?
21785 grep -v '^ *+' conftest.er1 >conftest.err
21786 rm -f conftest.er1
21787 cat conftest.err >&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); } && {
21790 test -z "$ac_c_werror_flag" ||
21791 test ! -s conftest.err
21792 } && test -s conftest.$ac_objext; then
21793 ac_cv_type_void_p=yes
21794 else
21795 echo "$as_me: failed program was:" >&5
21796 sed 's/^/| /' conftest.$ac_ext >&5
21797
21798 ac_cv_type_void_p=no
21799 fi
21800
21801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21802 fi
21803 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21804 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21805
21806 # The cast to long int works around a bug in the HP C Compiler
21807 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21808 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21809 # This bug is HP SR number 8606223364.
21810 { echo "$as_me:$LINENO: checking size of void *" >&5
21811 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21812 if test "${ac_cv_sizeof_void_p+set}" = set; then
21813 echo $ECHO_N "(cached) $ECHO_C" >&6
21814 else
21815 if test "$cross_compiling" = yes; then
21816 # Depending upon the size, compute the lo and hi bounds.
21817 cat >conftest.$ac_ext <<_ACEOF
21818 /* confdefs.h. */
21819 _ACEOF
21820 cat confdefs.h >>conftest.$ac_ext
21821 cat >>conftest.$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21823 $ac_includes_default
21824 typedef void * ac__type_sizeof_;
21825 int
21826 main ()
21827 {
21828 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21829 test_array [0] = 0
21830
21831 ;
21832 return 0;
21833 }
21834 _ACEOF
21835 rm -f conftest.$ac_objext
21836 if { (ac_try="$ac_compile"
21837 case "(($ac_try" in
21838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21839 *) ac_try_echo=$ac_try;;
21840 esac
21841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21842 (eval "$ac_compile") 2>conftest.er1
21843 ac_status=$?
21844 grep -v '^ *+' conftest.er1 >conftest.err
21845 rm -f conftest.er1
21846 cat conftest.err >&5
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); } && {
21849 test -z "$ac_c_werror_flag" ||
21850 test ! -s conftest.err
21851 } && test -s conftest.$ac_objext; then
21852 ac_lo=0 ac_mid=0
21853 while :; do
21854 cat >conftest.$ac_ext <<_ACEOF
21855 /* confdefs.h. */
21856 _ACEOF
21857 cat confdefs.h >>conftest.$ac_ext
21858 cat >>conftest.$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21860 $ac_includes_default
21861 typedef void * ac__type_sizeof_;
21862 int
21863 main ()
21864 {
21865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21866 test_array [0] = 0
21867
21868 ;
21869 return 0;
21870 }
21871 _ACEOF
21872 rm -f conftest.$ac_objext
21873 if { (ac_try="$ac_compile"
21874 case "(($ac_try" in
21875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21876 *) ac_try_echo=$ac_try;;
21877 esac
21878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21879 (eval "$ac_compile") 2>conftest.er1
21880 ac_status=$?
21881 grep -v '^ *+' conftest.er1 >conftest.err
21882 rm -f conftest.er1
21883 cat conftest.err >&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); } && {
21886 test -z "$ac_c_werror_flag" ||
21887 test ! -s conftest.err
21888 } && test -s conftest.$ac_objext; then
21889 ac_hi=$ac_mid; break
21890 else
21891 echo "$as_me: failed program was:" >&5
21892 sed 's/^/| /' conftest.$ac_ext >&5
21893
21894 ac_lo=`expr $ac_mid + 1`
21895 if test $ac_lo -le $ac_mid; then
21896 ac_lo= ac_hi=
21897 break
21898 fi
21899 ac_mid=`expr 2 '*' $ac_mid + 1`
21900 fi
21901
21902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21903 done
21904 else
21905 echo "$as_me: failed program was:" >&5
21906 sed 's/^/| /' conftest.$ac_ext >&5
21907
21908 cat >conftest.$ac_ext <<_ACEOF
21909 /* confdefs.h. */
21910 _ACEOF
21911 cat confdefs.h >>conftest.$ac_ext
21912 cat >>conftest.$ac_ext <<_ACEOF
21913 /* end confdefs.h. */
21914 $ac_includes_default
21915 typedef void * ac__type_sizeof_;
21916 int
21917 main ()
21918 {
21919 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21920 test_array [0] = 0
21921
21922 ;
21923 return 0;
21924 }
21925 _ACEOF
21926 rm -f conftest.$ac_objext
21927 if { (ac_try="$ac_compile"
21928 case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;;
21931 esac
21932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933 (eval "$ac_compile") 2>conftest.er1
21934 ac_status=$?
21935 grep -v '^ *+' conftest.er1 >conftest.err
21936 rm -f conftest.er1
21937 cat conftest.err >&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); } && {
21940 test -z "$ac_c_werror_flag" ||
21941 test ! -s conftest.err
21942 } && test -s conftest.$ac_objext; then
21943 ac_hi=-1 ac_mid=-1
21944 while :; do
21945 cat >conftest.$ac_ext <<_ACEOF
21946 /* confdefs.h. */
21947 _ACEOF
21948 cat confdefs.h >>conftest.$ac_ext
21949 cat >>conftest.$ac_ext <<_ACEOF
21950 /* end confdefs.h. */
21951 $ac_includes_default
21952 typedef void * ac__type_sizeof_;
21953 int
21954 main ()
21955 {
21956 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21957 test_array [0] = 0
21958
21959 ;
21960 return 0;
21961 }
21962 _ACEOF
21963 rm -f conftest.$ac_objext
21964 if { (ac_try="$ac_compile"
21965 case "(($ac_try" in
21966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21968 esac
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_compile") 2>conftest.er1
21971 ac_status=$?
21972 grep -v '^ *+' conftest.er1 >conftest.err
21973 rm -f conftest.er1
21974 cat conftest.err >&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } && {
21977 test -z "$ac_c_werror_flag" ||
21978 test ! -s conftest.err
21979 } && test -s conftest.$ac_objext; then
21980 ac_lo=$ac_mid; break
21981 else
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21984
21985 ac_hi=`expr '(' $ac_mid ')' - 1`
21986 if test $ac_mid -le $ac_hi; then
21987 ac_lo= ac_hi=
21988 break
21989 fi
21990 ac_mid=`expr 2 '*' $ac_mid`
21991 fi
21992
21993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21994 done
21995 else
21996 echo "$as_me: failed program was:" >&5
21997 sed 's/^/| /' conftest.$ac_ext >&5
21998
21999 ac_lo= ac_hi=
22000 fi
22001
22002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22003 fi
22004
22005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22006 # Binary search between lo and hi bounds.
22007 while test "x$ac_lo" != "x$ac_hi"; do
22008 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22009 cat >conftest.$ac_ext <<_ACEOF
22010 /* confdefs.h. */
22011 _ACEOF
22012 cat confdefs.h >>conftest.$ac_ext
22013 cat >>conftest.$ac_ext <<_ACEOF
22014 /* end confdefs.h. */
22015 $ac_includes_default
22016 typedef void * ac__type_sizeof_;
22017 int
22018 main ()
22019 {
22020 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22021 test_array [0] = 0
22022
22023 ;
22024 return 0;
22025 }
22026 _ACEOF
22027 rm -f conftest.$ac_objext
22028 if { (ac_try="$ac_compile"
22029 case "(($ac_try" in
22030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22031 *) ac_try_echo=$ac_try;;
22032 esac
22033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22034 (eval "$ac_compile") 2>conftest.er1
22035 ac_status=$?
22036 grep -v '^ *+' conftest.er1 >conftest.err
22037 rm -f conftest.er1
22038 cat conftest.err >&5
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); } && {
22041 test -z "$ac_c_werror_flag" ||
22042 test ! -s conftest.err
22043 } && test -s conftest.$ac_objext; then
22044 ac_hi=$ac_mid
22045 else
22046 echo "$as_me: failed program was:" >&5
22047 sed 's/^/| /' conftest.$ac_ext >&5
22048
22049 ac_lo=`expr '(' $ac_mid ')' + 1`
22050 fi
22051
22052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22053 done
22054 case $ac_lo in
22055 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22056 '') if test "$ac_cv_type_void_p" = yes; then
22057 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22058 See \`config.log' for more details." >&5
22059 echo "$as_me: error: cannot compute sizeof (void *)
22060 See \`config.log' for more details." >&2;}
22061 { (exit 77); exit 77; }; }
22062 else
22063 ac_cv_sizeof_void_p=0
22064 fi ;;
22065 esac
22066 else
22067 cat >conftest.$ac_ext <<_ACEOF
22068 /* confdefs.h. */
22069 _ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073 $ac_includes_default
22074 typedef void * ac__type_sizeof_;
22075 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22076 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22077 #include <stdio.h>
22078 #include <stdlib.h>
22079 int
22080 main ()
22081 {
22082
22083 FILE *f = fopen ("conftest.val", "w");
22084 if (! f)
22085 return 1;
22086 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22087 {
22088 long int i = longval ();
22089 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22090 return 1;
22091 fprintf (f, "%ld\n", i);
22092 }
22093 else
22094 {
22095 unsigned long int i = ulongval ();
22096 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22097 return 1;
22098 fprintf (f, "%lu\n", i);
22099 }
22100 return ferror (f) || fclose (f) != 0;
22101
22102 ;
22103 return 0;
22104 }
22105 _ACEOF
22106 rm -f conftest$ac_exeext
22107 if { (ac_try="$ac_link"
22108 case "(($ac_try" in
22109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22110 *) ac_try_echo=$ac_try;;
22111 esac
22112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22113 (eval "$ac_link") 2>&5
22114 ac_status=$?
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22117 { (case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22120 esac
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_try") 2>&5
22123 ac_status=$?
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; }; then
22126 ac_cv_sizeof_void_p=`cat conftest.val`
22127 else
22128 echo "$as_me: program exited with status $ac_status" >&5
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132 ( exit $ac_status )
22133 if test "$ac_cv_type_void_p" = yes; then
22134 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22135 See \`config.log' for more details." >&5
22136 echo "$as_me: error: cannot compute sizeof (void *)
22137 See \`config.log' for more details." >&2;}
22138 { (exit 77); exit 77; }; }
22139 else
22140 ac_cv_sizeof_void_p=0
22141 fi
22142 fi
22143 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22144 fi
22145 rm -f conftest.val
22146 fi
22147 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22148 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22149
22150
22151
22152 cat >>confdefs.h <<_ACEOF
22153 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22154 _ACEOF
22155
22156
22157 { echo "$as_me:$LINENO: checking for int" >&5
22158 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22159 if test "${ac_cv_type_int+set}" = set; then
22160 echo $ECHO_N "(cached) $ECHO_C" >&6
22161 else
22162 cat >conftest.$ac_ext <<_ACEOF
22163 /* confdefs.h. */
22164 _ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 $ac_includes_default
22169 typedef int ac__type_new_;
22170 int
22171 main ()
22172 {
22173 if ((ac__type_new_ *) 0)
22174 return 0;
22175 if (sizeof (ac__type_new_))
22176 return 0;
22177 ;
22178 return 0;
22179 }
22180 _ACEOF
22181 rm -f conftest.$ac_objext
22182 if { (ac_try="$ac_compile"
22183 case "(($ac_try" in
22184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22185 *) ac_try_echo=$ac_try;;
22186 esac
22187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22188 (eval "$ac_compile") 2>conftest.er1
22189 ac_status=$?
22190 grep -v '^ *+' conftest.er1 >conftest.err
22191 rm -f conftest.er1
22192 cat conftest.err >&5
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); } && {
22195 test -z "$ac_c_werror_flag" ||
22196 test ! -s conftest.err
22197 } && test -s conftest.$ac_objext; then
22198 ac_cv_type_int=yes
22199 else
22200 echo "$as_me: failed program was:" >&5
22201 sed 's/^/| /' conftest.$ac_ext >&5
22202
22203 ac_cv_type_int=no
22204 fi
22205
22206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22207 fi
22208 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22209 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22210
22211 # The cast to long int works around a bug in the HP C Compiler
22212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22214 # This bug is HP SR number 8606223364.
22215 { echo "$as_me:$LINENO: checking size of int" >&5
22216 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22217 if test "${ac_cv_sizeof_int+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 else
22220 if test "$cross_compiling" = yes; then
22221 # Depending upon the size, compute the lo and hi bounds.
22222 cat >conftest.$ac_ext <<_ACEOF
22223 /* confdefs.h. */
22224 _ACEOF
22225 cat confdefs.h >>conftest.$ac_ext
22226 cat >>conftest.$ac_ext <<_ACEOF
22227 /* end confdefs.h. */
22228 $ac_includes_default
22229 typedef int ac__type_sizeof_;
22230 int
22231 main ()
22232 {
22233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22234 test_array [0] = 0
22235
22236 ;
22237 return 0;
22238 }
22239 _ACEOF
22240 rm -f conftest.$ac_objext
22241 if { (ac_try="$ac_compile"
22242 case "(($ac_try" in
22243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22244 *) ac_try_echo=$ac_try;;
22245 esac
22246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22247 (eval "$ac_compile") 2>conftest.er1
22248 ac_status=$?
22249 grep -v '^ *+' conftest.er1 >conftest.err
22250 rm -f conftest.er1
22251 cat conftest.err >&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); } && {
22254 test -z "$ac_c_werror_flag" ||
22255 test ! -s conftest.err
22256 } && test -s conftest.$ac_objext; then
22257 ac_lo=0 ac_mid=0
22258 while :; do
22259 cat >conftest.$ac_ext <<_ACEOF
22260 /* confdefs.h. */
22261 _ACEOF
22262 cat confdefs.h >>conftest.$ac_ext
22263 cat >>conftest.$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 $ac_includes_default
22266 typedef int ac__type_sizeof_;
22267 int
22268 main ()
22269 {
22270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22271 test_array [0] = 0
22272
22273 ;
22274 return 0;
22275 }
22276 _ACEOF
22277 rm -f conftest.$ac_objext
22278 if { (ac_try="$ac_compile"
22279 case "(($ac_try" in
22280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22281 *) ac_try_echo=$ac_try;;
22282 esac
22283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22284 (eval "$ac_compile") 2>conftest.er1
22285 ac_status=$?
22286 grep -v '^ *+' conftest.er1 >conftest.err
22287 rm -f conftest.er1
22288 cat conftest.err >&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); } && {
22291 test -z "$ac_c_werror_flag" ||
22292 test ! -s conftest.err
22293 } && test -s conftest.$ac_objext; then
22294 ac_hi=$ac_mid; break
22295 else
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22298
22299 ac_lo=`expr $ac_mid + 1`
22300 if test $ac_lo -le $ac_mid; then
22301 ac_lo= ac_hi=
22302 break
22303 fi
22304 ac_mid=`expr 2 '*' $ac_mid + 1`
22305 fi
22306
22307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22308 done
22309 else
22310 echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.$ac_ext >&5
22312
22313 cat >conftest.$ac_ext <<_ACEOF
22314 /* confdefs.h. */
22315 _ACEOF
22316 cat confdefs.h >>conftest.$ac_ext
22317 cat >>conftest.$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319 $ac_includes_default
22320 typedef int ac__type_sizeof_;
22321 int
22322 main ()
22323 {
22324 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22325 test_array [0] = 0
22326
22327 ;
22328 return 0;
22329 }
22330 _ACEOF
22331 rm -f conftest.$ac_objext
22332 if { (ac_try="$ac_compile"
22333 case "(($ac_try" in
22334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22335 *) ac_try_echo=$ac_try;;
22336 esac
22337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22338 (eval "$ac_compile") 2>conftest.er1
22339 ac_status=$?
22340 grep -v '^ *+' conftest.er1 >conftest.err
22341 rm -f conftest.er1
22342 cat conftest.err >&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } && {
22345 test -z "$ac_c_werror_flag" ||
22346 test ! -s conftest.err
22347 } && test -s conftest.$ac_objext; then
22348 ac_hi=-1 ac_mid=-1
22349 while :; do
22350 cat >conftest.$ac_ext <<_ACEOF
22351 /* confdefs.h. */
22352 _ACEOF
22353 cat confdefs.h >>conftest.$ac_ext
22354 cat >>conftest.$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356 $ac_includes_default
22357 typedef int ac__type_sizeof_;
22358 int
22359 main ()
22360 {
22361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22362 test_array [0] = 0
22363
22364 ;
22365 return 0;
22366 }
22367 _ACEOF
22368 rm -f conftest.$ac_objext
22369 if { (ac_try="$ac_compile"
22370 case "(($ac_try" in
22371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22372 *) ac_try_echo=$ac_try;;
22373 esac
22374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22375 (eval "$ac_compile") 2>conftest.er1
22376 ac_status=$?
22377 grep -v '^ *+' conftest.er1 >conftest.err
22378 rm -f conftest.er1
22379 cat conftest.err >&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } && {
22382 test -z "$ac_c_werror_flag" ||
22383 test ! -s conftest.err
22384 } && test -s conftest.$ac_objext; then
22385 ac_lo=$ac_mid; break
22386 else
22387 echo "$as_me: failed program was:" >&5
22388 sed 's/^/| /' conftest.$ac_ext >&5
22389
22390 ac_hi=`expr '(' $ac_mid ')' - 1`
22391 if test $ac_mid -le $ac_hi; then
22392 ac_lo= ac_hi=
22393 break
22394 fi
22395 ac_mid=`expr 2 '*' $ac_mid`
22396 fi
22397
22398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22399 done
22400 else
22401 echo "$as_me: failed program was:" >&5
22402 sed 's/^/| /' conftest.$ac_ext >&5
22403
22404 ac_lo= ac_hi=
22405 fi
22406
22407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22408 fi
22409
22410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22411 # Binary search between lo and hi bounds.
22412 while test "x$ac_lo" != "x$ac_hi"; do
22413 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22414 cat >conftest.$ac_ext <<_ACEOF
22415 /* confdefs.h. */
22416 _ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420 $ac_includes_default
22421 typedef int ac__type_sizeof_;
22422 int
22423 main ()
22424 {
22425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22426 test_array [0] = 0
22427
22428 ;
22429 return 0;
22430 }
22431 _ACEOF
22432 rm -f conftest.$ac_objext
22433 if { (ac_try="$ac_compile"
22434 case "(($ac_try" in
22435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22436 *) ac_try_echo=$ac_try;;
22437 esac
22438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22439 (eval "$ac_compile") 2>conftest.er1
22440 ac_status=$?
22441 grep -v '^ *+' conftest.er1 >conftest.err
22442 rm -f conftest.er1
22443 cat conftest.err >&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); } && {
22446 test -z "$ac_c_werror_flag" ||
22447 test ! -s conftest.err
22448 } && test -s conftest.$ac_objext; then
22449 ac_hi=$ac_mid
22450 else
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.$ac_ext >&5
22453
22454 ac_lo=`expr '(' $ac_mid ')' + 1`
22455 fi
22456
22457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22458 done
22459 case $ac_lo in
22460 ?*) ac_cv_sizeof_int=$ac_lo;;
22461 '') if test "$ac_cv_type_int" = yes; then
22462 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22463 See \`config.log' for more details." >&5
22464 echo "$as_me: error: cannot compute sizeof (int)
22465 See \`config.log' for more details." >&2;}
22466 { (exit 77); exit 77; }; }
22467 else
22468 ac_cv_sizeof_int=0
22469 fi ;;
22470 esac
22471 else
22472 cat >conftest.$ac_ext <<_ACEOF
22473 /* confdefs.h. */
22474 _ACEOF
22475 cat confdefs.h >>conftest.$ac_ext
22476 cat >>conftest.$ac_ext <<_ACEOF
22477 /* end confdefs.h. */
22478 $ac_includes_default
22479 typedef int ac__type_sizeof_;
22480 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22481 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22482 #include <stdio.h>
22483 #include <stdlib.h>
22484 int
22485 main ()
22486 {
22487
22488 FILE *f = fopen ("conftest.val", "w");
22489 if (! f)
22490 return 1;
22491 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22492 {
22493 long int i = longval ();
22494 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22495 return 1;
22496 fprintf (f, "%ld\n", i);
22497 }
22498 else
22499 {
22500 unsigned long int i = ulongval ();
22501 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22502 return 1;
22503 fprintf (f, "%lu\n", i);
22504 }
22505 return ferror (f) || fclose (f) != 0;
22506
22507 ;
22508 return 0;
22509 }
22510 _ACEOF
22511 rm -f conftest$ac_exeext
22512 if { (ac_try="$ac_link"
22513 case "(($ac_try" in
22514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22515 *) ac_try_echo=$ac_try;;
22516 esac
22517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22518 (eval "$ac_link") 2>&5
22519 ac_status=$?
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22522 { (case "(($ac_try" in
22523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22524 *) ac_try_echo=$ac_try;;
22525 esac
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_try") 2>&5
22528 ac_status=$?
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; }; then
22531 ac_cv_sizeof_int=`cat conftest.val`
22532 else
22533 echo "$as_me: program exited with status $ac_status" >&5
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.$ac_ext >&5
22536
22537 ( exit $ac_status )
22538 if test "$ac_cv_type_int" = yes; then
22539 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22540 See \`config.log' for more details." >&5
22541 echo "$as_me: error: cannot compute sizeof (int)
22542 See \`config.log' for more details." >&2;}
22543 { (exit 77); exit 77; }; }
22544 else
22545 ac_cv_sizeof_int=0
22546 fi
22547 fi
22548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22549 fi
22550 rm -f conftest.val
22551 fi
22552 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22553 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22554
22555
22556
22557 cat >>confdefs.h <<_ACEOF
22558 #define SIZEOF_INT $ac_cv_sizeof_int
22559 _ACEOF
22560
22561
22562 { echo "$as_me:$LINENO: checking for long" >&5
22563 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22564 if test "${ac_cv_type_long+set}" = set; then
22565 echo $ECHO_N "(cached) $ECHO_C" >&6
22566 else
22567 cat >conftest.$ac_ext <<_ACEOF
22568 /* confdefs.h. */
22569 _ACEOF
22570 cat confdefs.h >>conftest.$ac_ext
22571 cat >>conftest.$ac_ext <<_ACEOF
22572 /* end confdefs.h. */
22573 $ac_includes_default
22574 typedef long ac__type_new_;
22575 int
22576 main ()
22577 {
22578 if ((ac__type_new_ *) 0)
22579 return 0;
22580 if (sizeof (ac__type_new_))
22581 return 0;
22582 ;
22583 return 0;
22584 }
22585 _ACEOF
22586 rm -f conftest.$ac_objext
22587 if { (ac_try="$ac_compile"
22588 case "(($ac_try" in
22589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22590 *) ac_try_echo=$ac_try;;
22591 esac
22592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22593 (eval "$ac_compile") 2>conftest.er1
22594 ac_status=$?
22595 grep -v '^ *+' conftest.er1 >conftest.err
22596 rm -f conftest.er1
22597 cat conftest.err >&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } && {
22600 test -z "$ac_c_werror_flag" ||
22601 test ! -s conftest.err
22602 } && test -s conftest.$ac_objext; then
22603 ac_cv_type_long=yes
22604 else
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22607
22608 ac_cv_type_long=no
22609 fi
22610
22611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22612 fi
22613 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22614 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22615
22616 # The cast to long int works around a bug in the HP C Compiler
22617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22619 # This bug is HP SR number 8606223364.
22620 { echo "$as_me:$LINENO: checking size of long" >&5
22621 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22622 if test "${ac_cv_sizeof_long+set}" = set; then
22623 echo $ECHO_N "(cached) $ECHO_C" >&6
22624 else
22625 if test "$cross_compiling" = yes; then
22626 # Depending upon the size, compute the lo and hi bounds.
22627 cat >conftest.$ac_ext <<_ACEOF
22628 /* confdefs.h. */
22629 _ACEOF
22630 cat confdefs.h >>conftest.$ac_ext
22631 cat >>conftest.$ac_ext <<_ACEOF
22632 /* end confdefs.h. */
22633 $ac_includes_default
22634 typedef long ac__type_sizeof_;
22635 int
22636 main ()
22637 {
22638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22639 test_array [0] = 0
22640
22641 ;
22642 return 0;
22643 }
22644 _ACEOF
22645 rm -f conftest.$ac_objext
22646 if { (ac_try="$ac_compile"
22647 case "(($ac_try" in
22648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22649 *) ac_try_echo=$ac_try;;
22650 esac
22651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22652 (eval "$ac_compile") 2>conftest.er1
22653 ac_status=$?
22654 grep -v '^ *+' conftest.er1 >conftest.err
22655 rm -f conftest.er1
22656 cat conftest.err >&5
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); } && {
22659 test -z "$ac_c_werror_flag" ||
22660 test ! -s conftest.err
22661 } && test -s conftest.$ac_objext; then
22662 ac_lo=0 ac_mid=0
22663 while :; do
22664 cat >conftest.$ac_ext <<_ACEOF
22665 /* confdefs.h. */
22666 _ACEOF
22667 cat confdefs.h >>conftest.$ac_ext
22668 cat >>conftest.$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22670 $ac_includes_default
22671 typedef long ac__type_sizeof_;
22672 int
22673 main ()
22674 {
22675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22676 test_array [0] = 0
22677
22678 ;
22679 return 0;
22680 }
22681 _ACEOF
22682 rm -f conftest.$ac_objext
22683 if { (ac_try="$ac_compile"
22684 case "(($ac_try" in
22685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22686 *) ac_try_echo=$ac_try;;
22687 esac
22688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22689 (eval "$ac_compile") 2>conftest.er1
22690 ac_status=$?
22691 grep -v '^ *+' conftest.er1 >conftest.err
22692 rm -f conftest.er1
22693 cat conftest.err >&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); } && {
22696 test -z "$ac_c_werror_flag" ||
22697 test ! -s conftest.err
22698 } && test -s conftest.$ac_objext; then
22699 ac_hi=$ac_mid; break
22700 else
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.$ac_ext >&5
22703
22704 ac_lo=`expr $ac_mid + 1`
22705 if test $ac_lo -le $ac_mid; then
22706 ac_lo= ac_hi=
22707 break
22708 fi
22709 ac_mid=`expr 2 '*' $ac_mid + 1`
22710 fi
22711
22712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22713 done
22714 else
22715 echo "$as_me: failed program was:" >&5
22716 sed 's/^/| /' conftest.$ac_ext >&5
22717
22718 cat >conftest.$ac_ext <<_ACEOF
22719 /* confdefs.h. */
22720 _ACEOF
22721 cat confdefs.h >>conftest.$ac_ext
22722 cat >>conftest.$ac_ext <<_ACEOF
22723 /* end confdefs.h. */
22724 $ac_includes_default
22725 typedef long ac__type_sizeof_;
22726 int
22727 main ()
22728 {
22729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22730 test_array [0] = 0
22731
22732 ;
22733 return 0;
22734 }
22735 _ACEOF
22736 rm -f conftest.$ac_objext
22737 if { (ac_try="$ac_compile"
22738 case "(($ac_try" in
22739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22740 *) ac_try_echo=$ac_try;;
22741 esac
22742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22743 (eval "$ac_compile") 2>conftest.er1
22744 ac_status=$?
22745 grep -v '^ *+' conftest.er1 >conftest.err
22746 rm -f conftest.er1
22747 cat conftest.err >&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } && {
22750 test -z "$ac_c_werror_flag" ||
22751 test ! -s conftest.err
22752 } && test -s conftest.$ac_objext; then
22753 ac_hi=-1 ac_mid=-1
22754 while :; do
22755 cat >conftest.$ac_ext <<_ACEOF
22756 /* confdefs.h. */
22757 _ACEOF
22758 cat confdefs.h >>conftest.$ac_ext
22759 cat >>conftest.$ac_ext <<_ACEOF
22760 /* end confdefs.h. */
22761 $ac_includes_default
22762 typedef long ac__type_sizeof_;
22763 int
22764 main ()
22765 {
22766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22767 test_array [0] = 0
22768
22769 ;
22770 return 0;
22771 }
22772 _ACEOF
22773 rm -f conftest.$ac_objext
22774 if { (ac_try="$ac_compile"
22775 case "(($ac_try" in
22776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22777 *) ac_try_echo=$ac_try;;
22778 esac
22779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22780 (eval "$ac_compile") 2>conftest.er1
22781 ac_status=$?
22782 grep -v '^ *+' conftest.er1 >conftest.err
22783 rm -f conftest.er1
22784 cat conftest.err >&5
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } && {
22787 test -z "$ac_c_werror_flag" ||
22788 test ! -s conftest.err
22789 } && test -s conftest.$ac_objext; then
22790 ac_lo=$ac_mid; break
22791 else
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22794
22795 ac_hi=`expr '(' $ac_mid ')' - 1`
22796 if test $ac_mid -le $ac_hi; then
22797 ac_lo= ac_hi=
22798 break
22799 fi
22800 ac_mid=`expr 2 '*' $ac_mid`
22801 fi
22802
22803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804 done
22805 else
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.$ac_ext >&5
22808
22809 ac_lo= ac_hi=
22810 fi
22811
22812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22813 fi
22814
22815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22816 # Binary search between lo and hi bounds.
22817 while test "x$ac_lo" != "x$ac_hi"; do
22818 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22819 cat >conftest.$ac_ext <<_ACEOF
22820 /* confdefs.h. */
22821 _ACEOF
22822 cat confdefs.h >>conftest.$ac_ext
22823 cat >>conftest.$ac_ext <<_ACEOF
22824 /* end confdefs.h. */
22825 $ac_includes_default
22826 typedef long ac__type_sizeof_;
22827 int
22828 main ()
22829 {
22830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22831 test_array [0] = 0
22832
22833 ;
22834 return 0;
22835 }
22836 _ACEOF
22837 rm -f conftest.$ac_objext
22838 if { (ac_try="$ac_compile"
22839 case "(($ac_try" in
22840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22841 *) ac_try_echo=$ac_try;;
22842 esac
22843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22844 (eval "$ac_compile") 2>conftest.er1
22845 ac_status=$?
22846 grep -v '^ *+' conftest.er1 >conftest.err
22847 rm -f conftest.er1
22848 cat conftest.err >&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); } && {
22851 test -z "$ac_c_werror_flag" ||
22852 test ! -s conftest.err
22853 } && test -s conftest.$ac_objext; then
22854 ac_hi=$ac_mid
22855 else
22856 echo "$as_me: failed program was:" >&5
22857 sed 's/^/| /' conftest.$ac_ext >&5
22858
22859 ac_lo=`expr '(' $ac_mid ')' + 1`
22860 fi
22861
22862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22863 done
22864 case $ac_lo in
22865 ?*) ac_cv_sizeof_long=$ac_lo;;
22866 '') if test "$ac_cv_type_long" = yes; then
22867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22868 See \`config.log' for more details." >&5
22869 echo "$as_me: error: cannot compute sizeof (long)
22870 See \`config.log' for more details." >&2;}
22871 { (exit 77); exit 77; }; }
22872 else
22873 ac_cv_sizeof_long=0
22874 fi ;;
22875 esac
22876 else
22877 cat >conftest.$ac_ext <<_ACEOF
22878 /* confdefs.h. */
22879 _ACEOF
22880 cat confdefs.h >>conftest.$ac_ext
22881 cat >>conftest.$ac_ext <<_ACEOF
22882 /* end confdefs.h. */
22883 $ac_includes_default
22884 typedef long ac__type_sizeof_;
22885 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22886 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22887 #include <stdio.h>
22888 #include <stdlib.h>
22889 int
22890 main ()
22891 {
22892
22893 FILE *f = fopen ("conftest.val", "w");
22894 if (! f)
22895 return 1;
22896 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22897 {
22898 long int i = longval ();
22899 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22900 return 1;
22901 fprintf (f, "%ld\n", i);
22902 }
22903 else
22904 {
22905 unsigned long int i = ulongval ();
22906 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22907 return 1;
22908 fprintf (f, "%lu\n", i);
22909 }
22910 return ferror (f) || fclose (f) != 0;
22911
22912 ;
22913 return 0;
22914 }
22915 _ACEOF
22916 rm -f conftest$ac_exeext
22917 if { (ac_try="$ac_link"
22918 case "(($ac_try" in
22919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22920 *) ac_try_echo=$ac_try;;
22921 esac
22922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22923 (eval "$ac_link") 2>&5
22924 ac_status=$?
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22927 { (case "(($ac_try" in
22928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22929 *) ac_try_echo=$ac_try;;
22930 esac
22931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22932 (eval "$ac_try") 2>&5
22933 ac_status=$?
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); }; }; then
22936 ac_cv_sizeof_long=`cat conftest.val`
22937 else
22938 echo "$as_me: program exited with status $ac_status" >&5
22939 echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.$ac_ext >&5
22941
22942 ( exit $ac_status )
22943 if test "$ac_cv_type_long" = yes; then
22944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22945 See \`config.log' for more details." >&5
22946 echo "$as_me: error: cannot compute sizeof (long)
22947 See \`config.log' for more details." >&2;}
22948 { (exit 77); exit 77; }; }
22949 else
22950 ac_cv_sizeof_long=0
22951 fi
22952 fi
22953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22954 fi
22955 rm -f conftest.val
22956 fi
22957 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22958 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22959
22960
22961
22962 cat >>confdefs.h <<_ACEOF
22963 #define SIZEOF_LONG $ac_cv_sizeof_long
22964 _ACEOF
22965
22966
22967 { echo "$as_me:$LINENO: checking for size_t" >&5
22968 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22969 if test "${ac_cv_type_size_t+set}" = set; then
22970 echo $ECHO_N "(cached) $ECHO_C" >&6
22971 else
22972 cat >conftest.$ac_ext <<_ACEOF
22973 /* confdefs.h. */
22974 _ACEOF
22975 cat confdefs.h >>conftest.$ac_ext
22976 cat >>conftest.$ac_ext <<_ACEOF
22977 /* end confdefs.h. */
22978 $ac_includes_default
22979 typedef size_t ac__type_new_;
22980 int
22981 main ()
22982 {
22983 if ((ac__type_new_ *) 0)
22984 return 0;
22985 if (sizeof (ac__type_new_))
22986 return 0;
22987 ;
22988 return 0;
22989 }
22990 _ACEOF
22991 rm -f conftest.$ac_objext
22992 if { (ac_try="$ac_compile"
22993 case "(($ac_try" in
22994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22995 *) ac_try_echo=$ac_try;;
22996 esac
22997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22998 (eval "$ac_compile") 2>conftest.er1
22999 ac_status=$?
23000 grep -v '^ *+' conftest.er1 >conftest.err
23001 rm -f conftest.er1
23002 cat conftest.err >&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); } && {
23005 test -z "$ac_c_werror_flag" ||
23006 test ! -s conftest.err
23007 } && test -s conftest.$ac_objext; then
23008 ac_cv_type_size_t=yes
23009 else
23010 echo "$as_me: failed program was:" >&5
23011 sed 's/^/| /' conftest.$ac_ext >&5
23012
23013 ac_cv_type_size_t=no
23014 fi
23015
23016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23017 fi
23018 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23019 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23020
23021 # The cast to long int works around a bug in the HP C Compiler
23022 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23023 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23024 # This bug is HP SR number 8606223364.
23025 { echo "$as_me:$LINENO: checking size of size_t" >&5
23026 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23027 if test "${ac_cv_sizeof_size_t+set}" = set; then
23028 echo $ECHO_N "(cached) $ECHO_C" >&6
23029 else
23030 if test "$cross_compiling" = yes; then
23031 # Depending upon the size, compute the lo and hi bounds.
23032 cat >conftest.$ac_ext <<_ACEOF
23033 /* confdefs.h. */
23034 _ACEOF
23035 cat confdefs.h >>conftest.$ac_ext
23036 cat >>conftest.$ac_ext <<_ACEOF
23037 /* end confdefs.h. */
23038 $ac_includes_default
23039 typedef size_t ac__type_sizeof_;
23040 int
23041 main ()
23042 {
23043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23044 test_array [0] = 0
23045
23046 ;
23047 return 0;
23048 }
23049 _ACEOF
23050 rm -f conftest.$ac_objext
23051 if { (ac_try="$ac_compile"
23052 case "(($ac_try" in
23053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23054 *) ac_try_echo=$ac_try;;
23055 esac
23056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23057 (eval "$ac_compile") 2>conftest.er1
23058 ac_status=$?
23059 grep -v '^ *+' conftest.er1 >conftest.err
23060 rm -f conftest.er1
23061 cat conftest.err >&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); } && {
23064 test -z "$ac_c_werror_flag" ||
23065 test ! -s conftest.err
23066 } && test -s conftest.$ac_objext; then
23067 ac_lo=0 ac_mid=0
23068 while :; do
23069 cat >conftest.$ac_ext <<_ACEOF
23070 /* confdefs.h. */
23071 _ACEOF
23072 cat confdefs.h >>conftest.$ac_ext
23073 cat >>conftest.$ac_ext <<_ACEOF
23074 /* end confdefs.h. */
23075 $ac_includes_default
23076 typedef size_t ac__type_sizeof_;
23077 int
23078 main ()
23079 {
23080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23081 test_array [0] = 0
23082
23083 ;
23084 return 0;
23085 }
23086 _ACEOF
23087 rm -f conftest.$ac_objext
23088 if { (ac_try="$ac_compile"
23089 case "(($ac_try" in
23090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23091 *) ac_try_echo=$ac_try;;
23092 esac
23093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23094 (eval "$ac_compile") 2>conftest.er1
23095 ac_status=$?
23096 grep -v '^ *+' conftest.er1 >conftest.err
23097 rm -f conftest.er1
23098 cat conftest.err >&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); } && {
23101 test -z "$ac_c_werror_flag" ||
23102 test ! -s conftest.err
23103 } && test -s conftest.$ac_objext; then
23104 ac_hi=$ac_mid; break
23105 else
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.$ac_ext >&5
23108
23109 ac_lo=`expr $ac_mid + 1`
23110 if test $ac_lo -le $ac_mid; then
23111 ac_lo= ac_hi=
23112 break
23113 fi
23114 ac_mid=`expr 2 '*' $ac_mid + 1`
23115 fi
23116
23117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23118 done
23119 else
23120 echo "$as_me: failed program was:" >&5
23121 sed 's/^/| /' conftest.$ac_ext >&5
23122
23123 cat >conftest.$ac_ext <<_ACEOF
23124 /* confdefs.h. */
23125 _ACEOF
23126 cat confdefs.h >>conftest.$ac_ext
23127 cat >>conftest.$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23129 $ac_includes_default
23130 typedef size_t ac__type_sizeof_;
23131 int
23132 main ()
23133 {
23134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23135 test_array [0] = 0
23136
23137 ;
23138 return 0;
23139 }
23140 _ACEOF
23141 rm -f conftest.$ac_objext
23142 if { (ac_try="$ac_compile"
23143 case "(($ac_try" in
23144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23145 *) ac_try_echo=$ac_try;;
23146 esac
23147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23148 (eval "$ac_compile") 2>conftest.er1
23149 ac_status=$?
23150 grep -v '^ *+' conftest.er1 >conftest.err
23151 rm -f conftest.er1
23152 cat conftest.err >&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); } && {
23155 test -z "$ac_c_werror_flag" ||
23156 test ! -s conftest.err
23157 } && test -s conftest.$ac_objext; then
23158 ac_hi=-1 ac_mid=-1
23159 while :; do
23160 cat >conftest.$ac_ext <<_ACEOF
23161 /* confdefs.h. */
23162 _ACEOF
23163 cat confdefs.h >>conftest.$ac_ext
23164 cat >>conftest.$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23166 $ac_includes_default
23167 typedef size_t ac__type_sizeof_;
23168 int
23169 main ()
23170 {
23171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23172 test_array [0] = 0
23173
23174 ;
23175 return 0;
23176 }
23177 _ACEOF
23178 rm -f conftest.$ac_objext
23179 if { (ac_try="$ac_compile"
23180 case "(($ac_try" in
23181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23182 *) ac_try_echo=$ac_try;;
23183 esac
23184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23185 (eval "$ac_compile") 2>conftest.er1
23186 ac_status=$?
23187 grep -v '^ *+' conftest.er1 >conftest.err
23188 rm -f conftest.er1
23189 cat conftest.err >&5
23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191 (exit $ac_status); } && {
23192 test -z "$ac_c_werror_flag" ||
23193 test ! -s conftest.err
23194 } && test -s conftest.$ac_objext; then
23195 ac_lo=$ac_mid; break
23196 else
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.$ac_ext >&5
23199
23200 ac_hi=`expr '(' $ac_mid ')' - 1`
23201 if test $ac_mid -le $ac_hi; then
23202 ac_lo= ac_hi=
23203 break
23204 fi
23205 ac_mid=`expr 2 '*' $ac_mid`
23206 fi
23207
23208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23209 done
23210 else
23211 echo "$as_me: failed program was:" >&5
23212 sed 's/^/| /' conftest.$ac_ext >&5
23213
23214 ac_lo= ac_hi=
23215 fi
23216
23217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23218 fi
23219
23220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23221 # Binary search between lo and hi bounds.
23222 while test "x$ac_lo" != "x$ac_hi"; do
23223 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23224 cat >conftest.$ac_ext <<_ACEOF
23225 /* confdefs.h. */
23226 _ACEOF
23227 cat confdefs.h >>conftest.$ac_ext
23228 cat >>conftest.$ac_ext <<_ACEOF
23229 /* end confdefs.h. */
23230 $ac_includes_default
23231 typedef size_t ac__type_sizeof_;
23232 int
23233 main ()
23234 {
23235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23236 test_array [0] = 0
23237
23238 ;
23239 return 0;
23240 }
23241 _ACEOF
23242 rm -f conftest.$ac_objext
23243 if { (ac_try="$ac_compile"
23244 case "(($ac_try" in
23245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23246 *) ac_try_echo=$ac_try;;
23247 esac
23248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23249 (eval "$ac_compile") 2>conftest.er1
23250 ac_status=$?
23251 grep -v '^ *+' conftest.er1 >conftest.err
23252 rm -f conftest.er1
23253 cat conftest.err >&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); } && {
23256 test -z "$ac_c_werror_flag" ||
23257 test ! -s conftest.err
23258 } && test -s conftest.$ac_objext; then
23259 ac_hi=$ac_mid
23260 else
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.$ac_ext >&5
23263
23264 ac_lo=`expr '(' $ac_mid ')' + 1`
23265 fi
23266
23267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23268 done
23269 case $ac_lo in
23270 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23271 '') if test "$ac_cv_type_size_t" = yes; then
23272 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23273 See \`config.log' for more details." >&5
23274 echo "$as_me: error: cannot compute sizeof (size_t)
23275 See \`config.log' for more details." >&2;}
23276 { (exit 77); exit 77; }; }
23277 else
23278 ac_cv_sizeof_size_t=0
23279 fi ;;
23280 esac
23281 else
23282 cat >conftest.$ac_ext <<_ACEOF
23283 /* confdefs.h. */
23284 _ACEOF
23285 cat confdefs.h >>conftest.$ac_ext
23286 cat >>conftest.$ac_ext <<_ACEOF
23287 /* end confdefs.h. */
23288 $ac_includes_default
23289 typedef size_t ac__type_sizeof_;
23290 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23291 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23292 #include <stdio.h>
23293 #include <stdlib.h>
23294 int
23295 main ()
23296 {
23297
23298 FILE *f = fopen ("conftest.val", "w");
23299 if (! f)
23300 return 1;
23301 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23302 {
23303 long int i = longval ();
23304 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23305 return 1;
23306 fprintf (f, "%ld\n", i);
23307 }
23308 else
23309 {
23310 unsigned long int i = ulongval ();
23311 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23312 return 1;
23313 fprintf (f, "%lu\n", i);
23314 }
23315 return ferror (f) || fclose (f) != 0;
23316
23317 ;
23318 return 0;
23319 }
23320 _ACEOF
23321 rm -f conftest$ac_exeext
23322 if { (ac_try="$ac_link"
23323 case "(($ac_try" in
23324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23325 *) ac_try_echo=$ac_try;;
23326 esac
23327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23328 (eval "$ac_link") 2>&5
23329 ac_status=$?
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23332 { (case "(($ac_try" in
23333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23334 *) ac_try_echo=$ac_try;;
23335 esac
23336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23337 (eval "$ac_try") 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; }; then
23341 ac_cv_sizeof_size_t=`cat conftest.val`
23342 else
23343 echo "$as_me: program exited with status $ac_status" >&5
23344 echo "$as_me: failed program was:" >&5
23345 sed 's/^/| /' conftest.$ac_ext >&5
23346
23347 ( exit $ac_status )
23348 if test "$ac_cv_type_size_t" = yes; then
23349 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23350 See \`config.log' for more details." >&5
23351 echo "$as_me: error: cannot compute sizeof (size_t)
23352 See \`config.log' for more details." >&2;}
23353 { (exit 77); exit 77; }; }
23354 else
23355 ac_cv_sizeof_size_t=0
23356 fi
23357 fi
23358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23359 fi
23360 rm -f conftest.val
23361 fi
23362 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23363 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23364
23365
23366
23367 cat >>confdefs.h <<_ACEOF
23368 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23369 _ACEOF
23370
23371
23372
23373 case "${host}" in
23374 arm-*-linux* )
23375 { echo "$as_me:$LINENO: checking for long long" >&5
23376 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23377 if test "${ac_cv_type_long_long+set}" = set; then
23378 echo $ECHO_N "(cached) $ECHO_C" >&6
23379 else
23380 cat >conftest.$ac_ext <<_ACEOF
23381 /* confdefs.h. */
23382 _ACEOF
23383 cat confdefs.h >>conftest.$ac_ext
23384 cat >>conftest.$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23386 $ac_includes_default
23387 typedef long long ac__type_new_;
23388 int
23389 main ()
23390 {
23391 if ((ac__type_new_ *) 0)
23392 return 0;
23393 if (sizeof (ac__type_new_))
23394 return 0;
23395 ;
23396 return 0;
23397 }
23398 _ACEOF
23399 rm -f conftest.$ac_objext
23400 if { (ac_try="$ac_compile"
23401 case "(($ac_try" in
23402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23403 *) ac_try_echo=$ac_try;;
23404 esac
23405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23406 (eval "$ac_compile") 2>conftest.er1
23407 ac_status=$?
23408 grep -v '^ *+' conftest.er1 >conftest.err
23409 rm -f conftest.er1
23410 cat conftest.err >&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); } && {
23413 test -z "$ac_c_werror_flag" ||
23414 test ! -s conftest.err
23415 } && test -s conftest.$ac_objext; then
23416 ac_cv_type_long_long=yes
23417 else
23418 echo "$as_me: failed program was:" >&5
23419 sed 's/^/| /' conftest.$ac_ext >&5
23420
23421 ac_cv_type_long_long=no
23422 fi
23423
23424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23425 fi
23426 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23427 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23428
23429 # The cast to long int works around a bug in the HP C Compiler
23430 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23431 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23432 # This bug is HP SR number 8606223364.
23433 { echo "$as_me:$LINENO: checking size of long long" >&5
23434 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23435 if test "${ac_cv_sizeof_long_long+set}" = set; then
23436 echo $ECHO_N "(cached) $ECHO_C" >&6
23437 else
23438 if test "$cross_compiling" = yes; then
23439 # Depending upon the size, compute the lo and hi bounds.
23440 cat >conftest.$ac_ext <<_ACEOF
23441 /* confdefs.h. */
23442 _ACEOF
23443 cat confdefs.h >>conftest.$ac_ext
23444 cat >>conftest.$ac_ext <<_ACEOF
23445 /* end confdefs.h. */
23446 $ac_includes_default
23447 typedef long long ac__type_sizeof_;
23448 int
23449 main ()
23450 {
23451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23452 test_array [0] = 0
23453
23454 ;
23455 return 0;
23456 }
23457 _ACEOF
23458 rm -f conftest.$ac_objext
23459 if { (ac_try="$ac_compile"
23460 case "(($ac_try" in
23461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23462 *) ac_try_echo=$ac_try;;
23463 esac
23464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23465 (eval "$ac_compile") 2>conftest.er1
23466 ac_status=$?
23467 grep -v '^ *+' conftest.er1 >conftest.err
23468 rm -f conftest.er1
23469 cat conftest.err >&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } && {
23472 test -z "$ac_c_werror_flag" ||
23473 test ! -s conftest.err
23474 } && test -s conftest.$ac_objext; then
23475 ac_lo=0 ac_mid=0
23476 while :; do
23477 cat >conftest.$ac_ext <<_ACEOF
23478 /* confdefs.h. */
23479 _ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 typedef long long ac__type_sizeof_;
23485 int
23486 main ()
23487 {
23488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23489 test_array [0] = 0
23490
23491 ;
23492 return 0;
23493 }
23494 _ACEOF
23495 rm -f conftest.$ac_objext
23496 if { (ac_try="$ac_compile"
23497 case "(($ac_try" in
23498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23499 *) ac_try_echo=$ac_try;;
23500 esac
23501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23502 (eval "$ac_compile") 2>conftest.er1
23503 ac_status=$?
23504 grep -v '^ *+' conftest.er1 >conftest.err
23505 rm -f conftest.er1
23506 cat conftest.err >&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && {
23509 test -z "$ac_c_werror_flag" ||
23510 test ! -s conftest.err
23511 } && test -s conftest.$ac_objext; then
23512 ac_hi=$ac_mid; break
23513 else
23514 echo "$as_me: failed program was:" >&5
23515 sed 's/^/| /' conftest.$ac_ext >&5
23516
23517 ac_lo=`expr $ac_mid + 1`
23518 if test $ac_lo -le $ac_mid; then
23519 ac_lo= ac_hi=
23520 break
23521 fi
23522 ac_mid=`expr 2 '*' $ac_mid + 1`
23523 fi
23524
23525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23526 done
23527 else
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.$ac_ext >&5
23530
23531 cat >conftest.$ac_ext <<_ACEOF
23532 /* confdefs.h. */
23533 _ACEOF
23534 cat confdefs.h >>conftest.$ac_ext
23535 cat >>conftest.$ac_ext <<_ACEOF
23536 /* end confdefs.h. */
23537 $ac_includes_default
23538 typedef long long ac__type_sizeof_;
23539 int
23540 main ()
23541 {
23542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23543 test_array [0] = 0
23544
23545 ;
23546 return 0;
23547 }
23548 _ACEOF
23549 rm -f conftest.$ac_objext
23550 if { (ac_try="$ac_compile"
23551 case "(($ac_try" in
23552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23553 *) ac_try_echo=$ac_try;;
23554 esac
23555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23556 (eval "$ac_compile") 2>conftest.er1
23557 ac_status=$?
23558 grep -v '^ *+' conftest.er1 >conftest.err
23559 rm -f conftest.er1
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } && {
23563 test -z "$ac_c_werror_flag" ||
23564 test ! -s conftest.err
23565 } && test -s conftest.$ac_objext; then
23566 ac_hi=-1 ac_mid=-1
23567 while :; do
23568 cat >conftest.$ac_ext <<_ACEOF
23569 /* confdefs.h. */
23570 _ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef long long ac__type_sizeof_;
23576 int
23577 main ()
23578 {
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23580 test_array [0] = 0
23581
23582 ;
23583 return 0;
23584 }
23585 _ACEOF
23586 rm -f conftest.$ac_objext
23587 if { (ac_try="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23591 esac
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23594 ac_status=$?
23595 grep -v '^ *+' conftest.er1 >conftest.err
23596 rm -f conftest.er1
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23603 ac_lo=$ac_mid; break
23604 else
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.$ac_ext >&5
23607
23608 ac_hi=`expr '(' $ac_mid ')' - 1`
23609 if test $ac_mid -le $ac_hi; then
23610 ac_lo= ac_hi=
23611 break
23612 fi
23613 ac_mid=`expr 2 '*' $ac_mid`
23614 fi
23615
23616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23617 done
23618 else
23619 echo "$as_me: failed program was:" >&5
23620 sed 's/^/| /' conftest.$ac_ext >&5
23621
23622 ac_lo= ac_hi=
23623 fi
23624
23625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23626 fi
23627
23628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23629 # Binary search between lo and hi bounds.
23630 while test "x$ac_lo" != "x$ac_hi"; do
23631 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23632 cat >conftest.$ac_ext <<_ACEOF
23633 /* confdefs.h. */
23634 _ACEOF
23635 cat confdefs.h >>conftest.$ac_ext
23636 cat >>conftest.$ac_ext <<_ACEOF
23637 /* end confdefs.h. */
23638 $ac_includes_default
23639 typedef long long ac__type_sizeof_;
23640 int
23641 main ()
23642 {
23643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23644 test_array [0] = 0
23645
23646 ;
23647 return 0;
23648 }
23649 _ACEOF
23650 rm -f conftest.$ac_objext
23651 if { (ac_try="$ac_compile"
23652 case "(($ac_try" in
23653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23654 *) ac_try_echo=$ac_try;;
23655 esac
23656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23657 (eval "$ac_compile") 2>conftest.er1
23658 ac_status=$?
23659 grep -v '^ *+' conftest.er1 >conftest.err
23660 rm -f conftest.er1
23661 cat conftest.err >&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); } && {
23664 test -z "$ac_c_werror_flag" ||
23665 test ! -s conftest.err
23666 } && test -s conftest.$ac_objext; then
23667 ac_hi=$ac_mid
23668 else
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23671
23672 ac_lo=`expr '(' $ac_mid ')' + 1`
23673 fi
23674
23675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23676 done
23677 case $ac_lo in
23678 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23679 '') if test "$ac_cv_type_long_long" = yes; then
23680 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23681 See \`config.log' for more details." >&5
23682 echo "$as_me: error: cannot compute sizeof (long long)
23683 See \`config.log' for more details." >&2;}
23684 { (exit 77); exit 77; }; }
23685 else
23686 ac_cv_sizeof_long_long=0
23687 fi ;;
23688 esac
23689 else
23690 cat >conftest.$ac_ext <<_ACEOF
23691 /* confdefs.h. */
23692 _ACEOF
23693 cat confdefs.h >>conftest.$ac_ext
23694 cat >>conftest.$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23696 $ac_includes_default
23697 typedef long long ac__type_sizeof_;
23698 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23699 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23700 #include <stdio.h>
23701 #include <stdlib.h>
23702 int
23703 main ()
23704 {
23705
23706 FILE *f = fopen ("conftest.val", "w");
23707 if (! f)
23708 return 1;
23709 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23710 {
23711 long int i = longval ();
23712 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23713 return 1;
23714 fprintf (f, "%ld\n", i);
23715 }
23716 else
23717 {
23718 unsigned long int i = ulongval ();
23719 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23720 return 1;
23721 fprintf (f, "%lu\n", i);
23722 }
23723 return ferror (f) || fclose (f) != 0;
23724
23725 ;
23726 return 0;
23727 }
23728 _ACEOF
23729 rm -f conftest$ac_exeext
23730 if { (ac_try="$ac_link"
23731 case "(($ac_try" in
23732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23733 *) ac_try_echo=$ac_try;;
23734 esac
23735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23736 (eval "$ac_link") 2>&5
23737 ac_status=$?
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23740 { (case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23743 esac
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_try") 2>&5
23746 ac_status=$?
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; }; then
23749 ac_cv_sizeof_long_long=`cat conftest.val`
23750 else
23751 echo "$as_me: program exited with status $ac_status" >&5
23752 echo "$as_me: failed program was:" >&5
23753 sed 's/^/| /' conftest.$ac_ext >&5
23754
23755 ( exit $ac_status )
23756 if test "$ac_cv_type_long_long" = yes; then
23757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23758 See \`config.log' for more details." >&5
23759 echo "$as_me: error: cannot compute sizeof (long long)
23760 See \`config.log' for more details." >&2;}
23761 { (exit 77); exit 77; }; }
23762 else
23763 ac_cv_sizeof_long_long=0
23764 fi
23765 fi
23766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23767 fi
23768 rm -f conftest.val
23769 fi
23770 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23771 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23772
23773
23774
23775 cat >>confdefs.h <<_ACEOF
23776 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23777 _ACEOF
23778
23779
23780 ;;
23781 *-hp-hpux* )
23782 { echo "$as_me:$LINENO: checking for long long" >&5
23783 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23784 if test "${ac_cv_type_long_long+set}" = set; then
23785 echo $ECHO_N "(cached) $ECHO_C" >&6
23786 else
23787 cat >conftest.$ac_ext <<_ACEOF
23788 /* confdefs.h. */
23789 _ACEOF
23790 cat confdefs.h >>conftest.$ac_ext
23791 cat >>conftest.$ac_ext <<_ACEOF
23792 /* end confdefs.h. */
23793 $ac_includes_default
23794 typedef long long ac__type_new_;
23795 int
23796 main ()
23797 {
23798 if ((ac__type_new_ *) 0)
23799 return 0;
23800 if (sizeof (ac__type_new_))
23801 return 0;
23802 ;
23803 return 0;
23804 }
23805 _ACEOF
23806 rm -f conftest.$ac_objext
23807 if { (ac_try="$ac_compile"
23808 case "(($ac_try" in
23809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23810 *) ac_try_echo=$ac_try;;
23811 esac
23812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23813 (eval "$ac_compile") 2>conftest.er1
23814 ac_status=$?
23815 grep -v '^ *+' conftest.er1 >conftest.err
23816 rm -f conftest.er1
23817 cat conftest.err >&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); } && {
23820 test -z "$ac_c_werror_flag" ||
23821 test ! -s conftest.err
23822 } && test -s conftest.$ac_objext; then
23823 ac_cv_type_long_long=yes
23824 else
23825 echo "$as_me: failed program was:" >&5
23826 sed 's/^/| /' conftest.$ac_ext >&5
23827
23828 ac_cv_type_long_long=no
23829 fi
23830
23831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23832 fi
23833 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23834 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23835
23836 # The cast to long int works around a bug in the HP C Compiler
23837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23839 # This bug is HP SR number 8606223364.
23840 { echo "$as_me:$LINENO: checking size of long long" >&5
23841 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23842 if test "${ac_cv_sizeof_long_long+set}" = set; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6
23844 else
23845 if test "$cross_compiling" = yes; then
23846 # Depending upon the size, compute the lo and hi bounds.
23847 cat >conftest.$ac_ext <<_ACEOF
23848 /* confdefs.h. */
23849 _ACEOF
23850 cat confdefs.h >>conftest.$ac_ext
23851 cat >>conftest.$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853 $ac_includes_default
23854 typedef long long ac__type_sizeof_;
23855 int
23856 main ()
23857 {
23858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23859 test_array [0] = 0
23860
23861 ;
23862 return 0;
23863 }
23864 _ACEOF
23865 rm -f conftest.$ac_objext
23866 if { (ac_try="$ac_compile"
23867 case "(($ac_try" in
23868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23869 *) ac_try_echo=$ac_try;;
23870 esac
23871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23872 (eval "$ac_compile") 2>conftest.er1
23873 ac_status=$?
23874 grep -v '^ *+' conftest.er1 >conftest.err
23875 rm -f conftest.er1
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } && {
23879 test -z "$ac_c_werror_flag" ||
23880 test ! -s conftest.err
23881 } && test -s conftest.$ac_objext; then
23882 ac_lo=0 ac_mid=0
23883 while :; do
23884 cat >conftest.$ac_ext <<_ACEOF
23885 /* confdefs.h. */
23886 _ACEOF
23887 cat confdefs.h >>conftest.$ac_ext
23888 cat >>conftest.$ac_ext <<_ACEOF
23889 /* end confdefs.h. */
23890 $ac_includes_default
23891 typedef long long ac__type_sizeof_;
23892 int
23893 main ()
23894 {
23895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23896 test_array [0] = 0
23897
23898 ;
23899 return 0;
23900 }
23901 _ACEOF
23902 rm -f conftest.$ac_objext
23903 if { (ac_try="$ac_compile"
23904 case "(($ac_try" in
23905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23906 *) ac_try_echo=$ac_try;;
23907 esac
23908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23909 (eval "$ac_compile") 2>conftest.er1
23910 ac_status=$?
23911 grep -v '^ *+' conftest.er1 >conftest.err
23912 rm -f conftest.er1
23913 cat conftest.err >&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); } && {
23916 test -z "$ac_c_werror_flag" ||
23917 test ! -s conftest.err
23918 } && test -s conftest.$ac_objext; then
23919 ac_hi=$ac_mid; break
23920 else
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.$ac_ext >&5
23923
23924 ac_lo=`expr $ac_mid + 1`
23925 if test $ac_lo -le $ac_mid; then
23926 ac_lo= ac_hi=
23927 break
23928 fi
23929 ac_mid=`expr 2 '*' $ac_mid + 1`
23930 fi
23931
23932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23933 done
23934 else
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.$ac_ext >&5
23937
23938 cat >conftest.$ac_ext <<_ACEOF
23939 /* confdefs.h. */
23940 _ACEOF
23941 cat confdefs.h >>conftest.$ac_ext
23942 cat >>conftest.$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944 $ac_includes_default
23945 typedef long long ac__type_sizeof_;
23946 int
23947 main ()
23948 {
23949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23950 test_array [0] = 0
23951
23952 ;
23953 return 0;
23954 }
23955 _ACEOF
23956 rm -f conftest.$ac_objext
23957 if { (ac_try="$ac_compile"
23958 case "(($ac_try" in
23959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23960 *) ac_try_echo=$ac_try;;
23961 esac
23962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23963 (eval "$ac_compile") 2>conftest.er1
23964 ac_status=$?
23965 grep -v '^ *+' conftest.er1 >conftest.err
23966 rm -f conftest.er1
23967 cat conftest.err >&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } && {
23970 test -z "$ac_c_werror_flag" ||
23971 test ! -s conftest.err
23972 } && test -s conftest.$ac_objext; then
23973 ac_hi=-1 ac_mid=-1
23974 while :; do
23975 cat >conftest.$ac_ext <<_ACEOF
23976 /* confdefs.h. */
23977 _ACEOF
23978 cat confdefs.h >>conftest.$ac_ext
23979 cat >>conftest.$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 $ac_includes_default
23982 typedef long long ac__type_sizeof_;
23983 int
23984 main ()
23985 {
23986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23987 test_array [0] = 0
23988
23989 ;
23990 return 0;
23991 }
23992 _ACEOF
23993 rm -f conftest.$ac_objext
23994 if { (ac_try="$ac_compile"
23995 case "(($ac_try" in
23996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23997 *) ac_try_echo=$ac_try;;
23998 esac
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24000 (eval "$ac_compile") 2>conftest.er1
24001 ac_status=$?
24002 grep -v '^ *+' conftest.er1 >conftest.err
24003 rm -f conftest.er1
24004 cat conftest.err >&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && {
24007 test -z "$ac_c_werror_flag" ||
24008 test ! -s conftest.err
24009 } && test -s conftest.$ac_objext; then
24010 ac_lo=$ac_mid; break
24011 else
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.$ac_ext >&5
24014
24015 ac_hi=`expr '(' $ac_mid ')' - 1`
24016 if test $ac_mid -le $ac_hi; then
24017 ac_lo= ac_hi=
24018 break
24019 fi
24020 ac_mid=`expr 2 '*' $ac_mid`
24021 fi
24022
24023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24024 done
24025 else
24026 echo "$as_me: failed program was:" >&5
24027 sed 's/^/| /' conftest.$ac_ext >&5
24028
24029 ac_lo= ac_hi=
24030 fi
24031
24032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033 fi
24034
24035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24036 # Binary search between lo and hi bounds.
24037 while test "x$ac_lo" != "x$ac_hi"; do
24038 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24039 cat >conftest.$ac_ext <<_ACEOF
24040 /* confdefs.h. */
24041 _ACEOF
24042 cat confdefs.h >>conftest.$ac_ext
24043 cat >>conftest.$ac_ext <<_ACEOF
24044 /* end confdefs.h. */
24045 $ac_includes_default
24046 typedef long long ac__type_sizeof_;
24047 int
24048 main ()
24049 {
24050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24051 test_array [0] = 0
24052
24053 ;
24054 return 0;
24055 }
24056 _ACEOF
24057 rm -f conftest.$ac_objext
24058 if { (ac_try="$ac_compile"
24059 case "(($ac_try" in
24060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24061 *) ac_try_echo=$ac_try;;
24062 esac
24063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24064 (eval "$ac_compile") 2>conftest.er1
24065 ac_status=$?
24066 grep -v '^ *+' conftest.er1 >conftest.err
24067 rm -f conftest.er1
24068 cat conftest.err >&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); } && {
24071 test -z "$ac_c_werror_flag" ||
24072 test ! -s conftest.err
24073 } && test -s conftest.$ac_objext; then
24074 ac_hi=$ac_mid
24075 else
24076 echo "$as_me: failed program was:" >&5
24077 sed 's/^/| /' conftest.$ac_ext >&5
24078
24079 ac_lo=`expr '(' $ac_mid ')' + 1`
24080 fi
24081
24082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24083 done
24084 case $ac_lo in
24085 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24086 '') if test "$ac_cv_type_long_long" = yes; then
24087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24088 See \`config.log' for more details." >&5
24089 echo "$as_me: error: cannot compute sizeof (long long)
24090 See \`config.log' for more details." >&2;}
24091 { (exit 77); exit 77; }; }
24092 else
24093 ac_cv_sizeof_long_long=0
24094 fi ;;
24095 esac
24096 else
24097 cat >conftest.$ac_ext <<_ACEOF
24098 /* confdefs.h. */
24099 _ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24103 $ac_includes_default
24104 typedef long long ac__type_sizeof_;
24105 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24106 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24107 #include <stdio.h>
24108 #include <stdlib.h>
24109 int
24110 main ()
24111 {
24112
24113 FILE *f = fopen ("conftest.val", "w");
24114 if (! f)
24115 return 1;
24116 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24117 {
24118 long int i = longval ();
24119 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24120 return 1;
24121 fprintf (f, "%ld\n", i);
24122 }
24123 else
24124 {
24125 unsigned long int i = ulongval ();
24126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24127 return 1;
24128 fprintf (f, "%lu\n", i);
24129 }
24130 return ferror (f) || fclose (f) != 0;
24131
24132 ;
24133 return 0;
24134 }
24135 _ACEOF
24136 rm -f conftest$ac_exeext
24137 if { (ac_try="$ac_link"
24138 case "(($ac_try" in
24139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24140 *) ac_try_echo=$ac_try;;
24141 esac
24142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24143 (eval "$ac_link") 2>&5
24144 ac_status=$?
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24147 { (case "(($ac_try" in
24148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149 *) ac_try_echo=$ac_try;;
24150 esac
24151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24152 (eval "$ac_try") 2>&5
24153 ac_status=$?
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); }; }; then
24156 ac_cv_sizeof_long_long=`cat conftest.val`
24157 else
24158 echo "$as_me: program exited with status $ac_status" >&5
24159 echo "$as_me: failed program was:" >&5
24160 sed 's/^/| /' conftest.$ac_ext >&5
24161
24162 ( exit $ac_status )
24163 if test "$ac_cv_type_long_long" = yes; then
24164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24165 See \`config.log' for more details." >&5
24166 echo "$as_me: error: cannot compute sizeof (long long)
24167 See \`config.log' for more details." >&2;}
24168 { (exit 77); exit 77; }; }
24169 else
24170 ac_cv_sizeof_long_long=0
24171 fi
24172 fi
24173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24174 fi
24175 rm -f conftest.val
24176 fi
24177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24178 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24179
24180
24181
24182 cat >>confdefs.h <<_ACEOF
24183 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24184 _ACEOF
24185
24186
24187 if test "$ac_cv_sizeof_long_long" != "0"; then
24188 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24189 fi
24190 ;;
24191 * )
24192 { echo "$as_me:$LINENO: checking for long long" >&5
24193 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24194 if test "${ac_cv_type_long_long+set}" = set; then
24195 echo $ECHO_N "(cached) $ECHO_C" >&6
24196 else
24197 cat >conftest.$ac_ext <<_ACEOF
24198 /* confdefs.h. */
24199 _ACEOF
24200 cat confdefs.h >>conftest.$ac_ext
24201 cat >>conftest.$ac_ext <<_ACEOF
24202 /* end confdefs.h. */
24203 $ac_includes_default
24204 typedef long long ac__type_new_;
24205 int
24206 main ()
24207 {
24208 if ((ac__type_new_ *) 0)
24209 return 0;
24210 if (sizeof (ac__type_new_))
24211 return 0;
24212 ;
24213 return 0;
24214 }
24215 _ACEOF
24216 rm -f conftest.$ac_objext
24217 if { (ac_try="$ac_compile"
24218 case "(($ac_try" in
24219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24220 *) ac_try_echo=$ac_try;;
24221 esac
24222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24223 (eval "$ac_compile") 2>conftest.er1
24224 ac_status=$?
24225 grep -v '^ *+' conftest.er1 >conftest.err
24226 rm -f conftest.er1
24227 cat conftest.err >&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); } && {
24230 test -z "$ac_c_werror_flag" ||
24231 test ! -s conftest.err
24232 } && test -s conftest.$ac_objext; then
24233 ac_cv_type_long_long=yes
24234 else
24235 echo "$as_me: failed program was:" >&5
24236 sed 's/^/| /' conftest.$ac_ext >&5
24237
24238 ac_cv_type_long_long=no
24239 fi
24240
24241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24242 fi
24243 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24244 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24245
24246 # The cast to long int works around a bug in the HP C Compiler
24247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24249 # This bug is HP SR number 8606223364.
24250 { echo "$as_me:$LINENO: checking size of long long" >&5
24251 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24252 if test "${ac_cv_sizeof_long_long+set}" = set; then
24253 echo $ECHO_N "(cached) $ECHO_C" >&6
24254 else
24255 if test "$cross_compiling" = yes; then
24256 # Depending upon the size, compute the lo and hi bounds.
24257 cat >conftest.$ac_ext <<_ACEOF
24258 /* confdefs.h. */
24259 _ACEOF
24260 cat confdefs.h >>conftest.$ac_ext
24261 cat >>conftest.$ac_ext <<_ACEOF
24262 /* end confdefs.h. */
24263 $ac_includes_default
24264 typedef long long ac__type_sizeof_;
24265 int
24266 main ()
24267 {
24268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24269 test_array [0] = 0
24270
24271 ;
24272 return 0;
24273 }
24274 _ACEOF
24275 rm -f conftest.$ac_objext
24276 if { (ac_try="$ac_compile"
24277 case "(($ac_try" in
24278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24279 *) ac_try_echo=$ac_try;;
24280 esac
24281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24282 (eval "$ac_compile") 2>conftest.er1
24283 ac_status=$?
24284 grep -v '^ *+' conftest.er1 >conftest.err
24285 rm -f conftest.er1
24286 cat conftest.err >&5
24287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288 (exit $ac_status); } && {
24289 test -z "$ac_c_werror_flag" ||
24290 test ! -s conftest.err
24291 } && test -s conftest.$ac_objext; then
24292 ac_lo=0 ac_mid=0
24293 while :; do
24294 cat >conftest.$ac_ext <<_ACEOF
24295 /* confdefs.h. */
24296 _ACEOF
24297 cat confdefs.h >>conftest.$ac_ext
24298 cat >>conftest.$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24300 $ac_includes_default
24301 typedef long long ac__type_sizeof_;
24302 int
24303 main ()
24304 {
24305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24306 test_array [0] = 0
24307
24308 ;
24309 return 0;
24310 }
24311 _ACEOF
24312 rm -f conftest.$ac_objext
24313 if { (ac_try="$ac_compile"
24314 case "(($ac_try" in
24315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24316 *) ac_try_echo=$ac_try;;
24317 esac
24318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24319 (eval "$ac_compile") 2>conftest.er1
24320 ac_status=$?
24321 grep -v '^ *+' conftest.er1 >conftest.err
24322 rm -f conftest.er1
24323 cat conftest.err >&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); } && {
24326 test -z "$ac_c_werror_flag" ||
24327 test ! -s conftest.err
24328 } && test -s conftest.$ac_objext; then
24329 ac_hi=$ac_mid; break
24330 else
24331 echo "$as_me: failed program was:" >&5
24332 sed 's/^/| /' conftest.$ac_ext >&5
24333
24334 ac_lo=`expr $ac_mid + 1`
24335 if test $ac_lo -le $ac_mid; then
24336 ac_lo= ac_hi=
24337 break
24338 fi
24339 ac_mid=`expr 2 '*' $ac_mid + 1`
24340 fi
24341
24342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24343 done
24344 else
24345 echo "$as_me: failed program was:" >&5
24346 sed 's/^/| /' conftest.$ac_ext >&5
24347
24348 cat >conftest.$ac_ext <<_ACEOF
24349 /* confdefs.h. */
24350 _ACEOF
24351 cat confdefs.h >>conftest.$ac_ext
24352 cat >>conftest.$ac_ext <<_ACEOF
24353 /* end confdefs.h. */
24354 $ac_includes_default
24355 typedef long long ac__type_sizeof_;
24356 int
24357 main ()
24358 {
24359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24360 test_array [0] = 0
24361
24362 ;
24363 return 0;
24364 }
24365 _ACEOF
24366 rm -f conftest.$ac_objext
24367 if { (ac_try="$ac_compile"
24368 case "(($ac_try" in
24369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24370 *) ac_try_echo=$ac_try;;
24371 esac
24372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24373 (eval "$ac_compile") 2>conftest.er1
24374 ac_status=$?
24375 grep -v '^ *+' conftest.er1 >conftest.err
24376 rm -f conftest.er1
24377 cat conftest.err >&5
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); } && {
24380 test -z "$ac_c_werror_flag" ||
24381 test ! -s conftest.err
24382 } && test -s conftest.$ac_objext; then
24383 ac_hi=-1 ac_mid=-1
24384 while :; do
24385 cat >conftest.$ac_ext <<_ACEOF
24386 /* confdefs.h. */
24387 _ACEOF
24388 cat confdefs.h >>conftest.$ac_ext
24389 cat >>conftest.$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24391 $ac_includes_default
24392 typedef long long ac__type_sizeof_;
24393 int
24394 main ()
24395 {
24396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24397 test_array [0] = 0
24398
24399 ;
24400 return 0;
24401 }
24402 _ACEOF
24403 rm -f conftest.$ac_objext
24404 if { (ac_try="$ac_compile"
24405 case "(($ac_try" in
24406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24407 *) ac_try_echo=$ac_try;;
24408 esac
24409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24410 (eval "$ac_compile") 2>conftest.er1
24411 ac_status=$?
24412 grep -v '^ *+' conftest.er1 >conftest.err
24413 rm -f conftest.er1
24414 cat conftest.err >&5
24415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); } && {
24417 test -z "$ac_c_werror_flag" ||
24418 test ! -s conftest.err
24419 } && test -s conftest.$ac_objext; then
24420 ac_lo=$ac_mid; break
24421 else
24422 echo "$as_me: failed program was:" >&5
24423 sed 's/^/| /' conftest.$ac_ext >&5
24424
24425 ac_hi=`expr '(' $ac_mid ')' - 1`
24426 if test $ac_mid -le $ac_hi; then
24427 ac_lo= ac_hi=
24428 break
24429 fi
24430 ac_mid=`expr 2 '*' $ac_mid`
24431 fi
24432
24433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24434 done
24435 else
24436 echo "$as_me: failed program was:" >&5
24437 sed 's/^/| /' conftest.$ac_ext >&5
24438
24439 ac_lo= ac_hi=
24440 fi
24441
24442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24443 fi
24444
24445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24446 # Binary search between lo and hi bounds.
24447 while test "x$ac_lo" != "x$ac_hi"; do
24448 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24449 cat >conftest.$ac_ext <<_ACEOF
24450 /* confdefs.h. */
24451 _ACEOF
24452 cat confdefs.h >>conftest.$ac_ext
24453 cat >>conftest.$ac_ext <<_ACEOF
24454 /* end confdefs.h. */
24455 $ac_includes_default
24456 typedef long long ac__type_sizeof_;
24457 int
24458 main ()
24459 {
24460 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24461 test_array [0] = 0
24462
24463 ;
24464 return 0;
24465 }
24466 _ACEOF
24467 rm -f conftest.$ac_objext
24468 if { (ac_try="$ac_compile"
24469 case "(($ac_try" in
24470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24471 *) ac_try_echo=$ac_try;;
24472 esac
24473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24474 (eval "$ac_compile") 2>conftest.er1
24475 ac_status=$?
24476 grep -v '^ *+' conftest.er1 >conftest.err
24477 rm -f conftest.er1
24478 cat conftest.err >&5
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); } && {
24481 test -z "$ac_c_werror_flag" ||
24482 test ! -s conftest.err
24483 } && test -s conftest.$ac_objext; then
24484 ac_hi=$ac_mid
24485 else
24486 echo "$as_me: failed program was:" >&5
24487 sed 's/^/| /' conftest.$ac_ext >&5
24488
24489 ac_lo=`expr '(' $ac_mid ')' + 1`
24490 fi
24491
24492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24493 done
24494 case $ac_lo in
24495 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24496 '') if test "$ac_cv_type_long_long" = yes; then
24497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24498 See \`config.log' for more details." >&5
24499 echo "$as_me: error: cannot compute sizeof (long long)
24500 See \`config.log' for more details." >&2;}
24501 { (exit 77); exit 77; }; }
24502 else
24503 ac_cv_sizeof_long_long=0
24504 fi ;;
24505 esac
24506 else
24507 cat >conftest.$ac_ext <<_ACEOF
24508 /* confdefs.h. */
24509 _ACEOF
24510 cat confdefs.h >>conftest.$ac_ext
24511 cat >>conftest.$ac_ext <<_ACEOF
24512 /* end confdefs.h. */
24513 $ac_includes_default
24514 typedef long long ac__type_sizeof_;
24515 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24516 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24517 #include <stdio.h>
24518 #include <stdlib.h>
24519 int
24520 main ()
24521 {
24522
24523 FILE *f = fopen ("conftest.val", "w");
24524 if (! f)
24525 return 1;
24526 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24527 {
24528 long int i = longval ();
24529 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24530 return 1;
24531 fprintf (f, "%ld\n", i);
24532 }
24533 else
24534 {
24535 unsigned long int i = ulongval ();
24536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24537 return 1;
24538 fprintf (f, "%lu\n", i);
24539 }
24540 return ferror (f) || fclose (f) != 0;
24541
24542 ;
24543 return 0;
24544 }
24545 _ACEOF
24546 rm -f conftest$ac_exeext
24547 if { (ac_try="$ac_link"
24548 case "(($ac_try" in
24549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24550 *) ac_try_echo=$ac_try;;
24551 esac
24552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24553 (eval "$ac_link") 2>&5
24554 ac_status=$?
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24557 { (case "(($ac_try" in
24558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24559 *) ac_try_echo=$ac_try;;
24560 esac
24561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24562 (eval "$ac_try") 2>&5
24563 ac_status=$?
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); }; }; then
24566 ac_cv_sizeof_long_long=`cat conftest.val`
24567 else
24568 echo "$as_me: program exited with status $ac_status" >&5
24569 echo "$as_me: failed program was:" >&5
24570 sed 's/^/| /' conftest.$ac_ext >&5
24571
24572 ( exit $ac_status )
24573 if test "$ac_cv_type_long_long" = yes; then
24574 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24575 See \`config.log' for more details." >&5
24576 echo "$as_me: error: cannot compute sizeof (long long)
24577 See \`config.log' for more details." >&2;}
24578 { (exit 77); exit 77; }; }
24579 else
24580 ac_cv_sizeof_long_long=0
24581 fi
24582 fi
24583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24584 fi
24585 rm -f conftest.val
24586 fi
24587 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24588 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24589
24590
24591
24592 cat >>confdefs.h <<_ACEOF
24593 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24594 _ACEOF
24595
24596
24597 esac
24598
24599 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24600 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24601 if test "${ac_cv_type_wchar_t+set}" = set; then
24602 echo $ECHO_N "(cached) $ECHO_C" >&6
24603 else
24604 cat >conftest.$ac_ext <<_ACEOF
24605 /* confdefs.h. */
24606 _ACEOF
24607 cat confdefs.h >>conftest.$ac_ext
24608 cat >>conftest.$ac_ext <<_ACEOF
24609 /* end confdefs.h. */
24610
24611 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24612 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24613 # error "fake wchar_t"
24614 #endif
24615 #ifdef HAVE_WCHAR_H
24616 # ifdef __CYGWIN__
24617 # include <stddef.h>
24618 # endif
24619 # include <wchar.h>
24620 #endif
24621 #ifdef HAVE_STDLIB_H
24622 # include <stdlib.h>
24623 #endif
24624 #include <stdio.h>
24625
24626
24627
24628 typedef wchar_t ac__type_new_;
24629 int
24630 main ()
24631 {
24632 if ((ac__type_new_ *) 0)
24633 return 0;
24634 if (sizeof (ac__type_new_))
24635 return 0;
24636 ;
24637 return 0;
24638 }
24639 _ACEOF
24640 rm -f conftest.$ac_objext
24641 if { (ac_try="$ac_compile"
24642 case "(($ac_try" in
24643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24644 *) ac_try_echo=$ac_try;;
24645 esac
24646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24647 (eval "$ac_compile") 2>conftest.er1
24648 ac_status=$?
24649 grep -v '^ *+' conftest.er1 >conftest.err
24650 rm -f conftest.er1
24651 cat conftest.err >&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); } && {
24654 test -z "$ac_c_werror_flag" ||
24655 test ! -s conftest.err
24656 } && test -s conftest.$ac_objext; then
24657 ac_cv_type_wchar_t=yes
24658 else
24659 echo "$as_me: failed program was:" >&5
24660 sed 's/^/| /' conftest.$ac_ext >&5
24661
24662 ac_cv_type_wchar_t=no
24663 fi
24664
24665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24666 fi
24667 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24668 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24669
24670 # The cast to long int works around a bug in the HP C Compiler
24671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24672 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24673 # This bug is HP SR number 8606223364.
24674 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24675 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24676 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 else
24679 if test "$cross_compiling" = yes; then
24680 # Depending upon the size, compute the lo and hi bounds.
24681 cat >conftest.$ac_ext <<_ACEOF
24682 /* confdefs.h. */
24683 _ACEOF
24684 cat confdefs.h >>conftest.$ac_ext
24685 cat >>conftest.$ac_ext <<_ACEOF
24686 /* end confdefs.h. */
24687
24688 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24689 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24690 # error "fake wchar_t"
24691 #endif
24692 #ifdef HAVE_WCHAR_H
24693 # ifdef __CYGWIN__
24694 # include <stddef.h>
24695 # endif
24696 # include <wchar.h>
24697 #endif
24698 #ifdef HAVE_STDLIB_H
24699 # include <stdlib.h>
24700 #endif
24701 #include <stdio.h>
24702
24703
24704
24705 typedef wchar_t ac__type_sizeof_;
24706 int
24707 main ()
24708 {
24709 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24710 test_array [0] = 0
24711
24712 ;
24713 return 0;
24714 }
24715 _ACEOF
24716 rm -f conftest.$ac_objext
24717 if { (ac_try="$ac_compile"
24718 case "(($ac_try" in
24719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24720 *) ac_try_echo=$ac_try;;
24721 esac
24722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24723 (eval "$ac_compile") 2>conftest.er1
24724 ac_status=$?
24725 grep -v '^ *+' conftest.er1 >conftest.err
24726 rm -f conftest.er1
24727 cat conftest.err >&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } && {
24730 test -z "$ac_c_werror_flag" ||
24731 test ! -s conftest.err
24732 } && test -s conftest.$ac_objext; then
24733 ac_lo=0 ac_mid=0
24734 while :; do
24735 cat >conftest.$ac_ext <<_ACEOF
24736 /* confdefs.h. */
24737 _ACEOF
24738 cat confdefs.h >>conftest.$ac_ext
24739 cat >>conftest.$ac_ext <<_ACEOF
24740 /* end confdefs.h. */
24741
24742 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24743 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24744 # error "fake wchar_t"
24745 #endif
24746 #ifdef HAVE_WCHAR_H
24747 # ifdef __CYGWIN__
24748 # include <stddef.h>
24749 # endif
24750 # include <wchar.h>
24751 #endif
24752 #ifdef HAVE_STDLIB_H
24753 # include <stdlib.h>
24754 #endif
24755 #include <stdio.h>
24756
24757
24758
24759 typedef wchar_t ac__type_sizeof_;
24760 int
24761 main ()
24762 {
24763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24764 test_array [0] = 0
24765
24766 ;
24767 return 0;
24768 }
24769 _ACEOF
24770 rm -f conftest.$ac_objext
24771 if { (ac_try="$ac_compile"
24772 case "(($ac_try" in
24773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24774 *) ac_try_echo=$ac_try;;
24775 esac
24776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24777 (eval "$ac_compile") 2>conftest.er1
24778 ac_status=$?
24779 grep -v '^ *+' conftest.er1 >conftest.err
24780 rm -f conftest.er1
24781 cat conftest.err >&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } && {
24784 test -z "$ac_c_werror_flag" ||
24785 test ! -s conftest.err
24786 } && test -s conftest.$ac_objext; then
24787 ac_hi=$ac_mid; break
24788 else
24789 echo "$as_me: failed program was:" >&5
24790 sed 's/^/| /' conftest.$ac_ext >&5
24791
24792 ac_lo=`expr $ac_mid + 1`
24793 if test $ac_lo -le $ac_mid; then
24794 ac_lo= ac_hi=
24795 break
24796 fi
24797 ac_mid=`expr 2 '*' $ac_mid + 1`
24798 fi
24799
24800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24801 done
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 cat >conftest.$ac_ext <<_ACEOF
24807 /* confdefs.h. */
24808 _ACEOF
24809 cat confdefs.h >>conftest.$ac_ext
24810 cat >>conftest.$ac_ext <<_ACEOF
24811 /* end confdefs.h. */
24812
24813 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24814 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24815 # error "fake wchar_t"
24816 #endif
24817 #ifdef HAVE_WCHAR_H
24818 # ifdef __CYGWIN__
24819 # include <stddef.h>
24820 # endif
24821 # include <wchar.h>
24822 #endif
24823 #ifdef HAVE_STDLIB_H
24824 # include <stdlib.h>
24825 #endif
24826 #include <stdio.h>
24827
24828
24829
24830 typedef wchar_t ac__type_sizeof_;
24831 int
24832 main ()
24833 {
24834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24835 test_array [0] = 0
24836
24837 ;
24838 return 0;
24839 }
24840 _ACEOF
24841 rm -f conftest.$ac_objext
24842 if { (ac_try="$ac_compile"
24843 case "(($ac_try" in
24844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24845 *) ac_try_echo=$ac_try;;
24846 esac
24847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24848 (eval "$ac_compile") 2>conftest.er1
24849 ac_status=$?
24850 grep -v '^ *+' conftest.er1 >conftest.err
24851 rm -f conftest.er1
24852 cat conftest.err >&5
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); } && {
24855 test -z "$ac_c_werror_flag" ||
24856 test ! -s conftest.err
24857 } && test -s conftest.$ac_objext; then
24858 ac_hi=-1 ac_mid=-1
24859 while :; do
24860 cat >conftest.$ac_ext <<_ACEOF
24861 /* confdefs.h. */
24862 _ACEOF
24863 cat confdefs.h >>conftest.$ac_ext
24864 cat >>conftest.$ac_ext <<_ACEOF
24865 /* end confdefs.h. */
24866
24867 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24868 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24869 # error "fake wchar_t"
24870 #endif
24871 #ifdef HAVE_WCHAR_H
24872 # ifdef __CYGWIN__
24873 # include <stddef.h>
24874 # endif
24875 # include <wchar.h>
24876 #endif
24877 #ifdef HAVE_STDLIB_H
24878 # include <stdlib.h>
24879 #endif
24880 #include <stdio.h>
24881
24882
24883
24884 typedef wchar_t ac__type_sizeof_;
24885 int
24886 main ()
24887 {
24888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24889 test_array [0] = 0
24890
24891 ;
24892 return 0;
24893 }
24894 _ACEOF
24895 rm -f conftest.$ac_objext
24896 if { (ac_try="$ac_compile"
24897 case "(($ac_try" in
24898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24899 *) ac_try_echo=$ac_try;;
24900 esac
24901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24902 (eval "$ac_compile") 2>conftest.er1
24903 ac_status=$?
24904 grep -v '^ *+' conftest.er1 >conftest.err
24905 rm -f conftest.er1
24906 cat conftest.err >&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); } && {
24909 test -z "$ac_c_werror_flag" ||
24910 test ! -s conftest.err
24911 } && test -s conftest.$ac_objext; then
24912 ac_lo=$ac_mid; break
24913 else
24914 echo "$as_me: failed program was:" >&5
24915 sed 's/^/| /' conftest.$ac_ext >&5
24916
24917 ac_hi=`expr '(' $ac_mid ')' - 1`
24918 if test $ac_mid -le $ac_hi; then
24919 ac_lo= ac_hi=
24920 break
24921 fi
24922 ac_mid=`expr 2 '*' $ac_mid`
24923 fi
24924
24925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24926 done
24927 else
24928 echo "$as_me: failed program was:" >&5
24929 sed 's/^/| /' conftest.$ac_ext >&5
24930
24931 ac_lo= ac_hi=
24932 fi
24933
24934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24935 fi
24936
24937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24938 # Binary search between lo and hi bounds.
24939 while test "x$ac_lo" != "x$ac_hi"; do
24940 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24941 cat >conftest.$ac_ext <<_ACEOF
24942 /* confdefs.h. */
24943 _ACEOF
24944 cat confdefs.h >>conftest.$ac_ext
24945 cat >>conftest.$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24947
24948 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24949 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24950 # error "fake wchar_t"
24951 #endif
24952 #ifdef HAVE_WCHAR_H
24953 # ifdef __CYGWIN__
24954 # include <stddef.h>
24955 # endif
24956 # include <wchar.h>
24957 #endif
24958 #ifdef HAVE_STDLIB_H
24959 # include <stdlib.h>
24960 #endif
24961 #include <stdio.h>
24962
24963
24964
24965 typedef wchar_t ac__type_sizeof_;
24966 int
24967 main ()
24968 {
24969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24970 test_array [0] = 0
24971
24972 ;
24973 return 0;
24974 }
24975 _ACEOF
24976 rm -f conftest.$ac_objext
24977 if { (ac_try="$ac_compile"
24978 case "(($ac_try" in
24979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24980 *) ac_try_echo=$ac_try;;
24981 esac
24982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24983 (eval "$ac_compile") 2>conftest.er1
24984 ac_status=$?
24985 grep -v '^ *+' conftest.er1 >conftest.err
24986 rm -f conftest.er1
24987 cat conftest.err >&5
24988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989 (exit $ac_status); } && {
24990 test -z "$ac_c_werror_flag" ||
24991 test ! -s conftest.err
24992 } && test -s conftest.$ac_objext; then
24993 ac_hi=$ac_mid
24994 else
24995 echo "$as_me: failed program was:" >&5
24996 sed 's/^/| /' conftest.$ac_ext >&5
24997
24998 ac_lo=`expr '(' $ac_mid ')' + 1`
24999 fi
25000
25001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25002 done
25003 case $ac_lo in
25004 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25005 '') if test "$ac_cv_type_wchar_t" = yes; then
25006 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25007 See \`config.log' for more details." >&5
25008 echo "$as_me: error: cannot compute sizeof (wchar_t)
25009 See \`config.log' for more details." >&2;}
25010 { (exit 77); exit 77; }; }
25011 else
25012 ac_cv_sizeof_wchar_t=0
25013 fi ;;
25014 esac
25015 else
25016 cat >conftest.$ac_ext <<_ACEOF
25017 /* confdefs.h. */
25018 _ACEOF
25019 cat confdefs.h >>conftest.$ac_ext
25020 cat >>conftest.$ac_ext <<_ACEOF
25021 /* end confdefs.h. */
25022
25023 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25024 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25025 # error "fake wchar_t"
25026 #endif
25027 #ifdef HAVE_WCHAR_H
25028 # ifdef __CYGWIN__
25029 # include <stddef.h>
25030 # endif
25031 # include <wchar.h>
25032 #endif
25033 #ifdef HAVE_STDLIB_H
25034 # include <stdlib.h>
25035 #endif
25036 #include <stdio.h>
25037
25038
25039
25040 typedef wchar_t ac__type_sizeof_;
25041 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25042 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25043 #include <stdio.h>
25044 #include <stdlib.h>
25045 int
25046 main ()
25047 {
25048
25049 FILE *f = fopen ("conftest.val", "w");
25050 if (! f)
25051 return 1;
25052 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25053 {
25054 long int i = longval ();
25055 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25056 return 1;
25057 fprintf (f, "%ld\n", i);
25058 }
25059 else
25060 {
25061 unsigned long int i = ulongval ();
25062 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25063 return 1;
25064 fprintf (f, "%lu\n", i);
25065 }
25066 return ferror (f) || fclose (f) != 0;
25067
25068 ;
25069 return 0;
25070 }
25071 _ACEOF
25072 rm -f conftest$ac_exeext
25073 if { (ac_try="$ac_link"
25074 case "(($ac_try" in
25075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25076 *) ac_try_echo=$ac_try;;
25077 esac
25078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25079 (eval "$ac_link") 2>&5
25080 ac_status=$?
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25083 { (case "(($ac_try" in
25084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25085 *) ac_try_echo=$ac_try;;
25086 esac
25087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25088 (eval "$ac_try") 2>&5
25089 ac_status=$?
25090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25091 (exit $ac_status); }; }; then
25092 ac_cv_sizeof_wchar_t=`cat conftest.val`
25093 else
25094 echo "$as_me: program exited with status $ac_status" >&5
25095 echo "$as_me: failed program was:" >&5
25096 sed 's/^/| /' conftest.$ac_ext >&5
25097
25098 ( exit $ac_status )
25099 if test "$ac_cv_type_wchar_t" = yes; then
25100 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25101 See \`config.log' for more details." >&5
25102 echo "$as_me: error: cannot compute sizeof (wchar_t)
25103 See \`config.log' for more details." >&2;}
25104 { (exit 77); exit 77; }; }
25105 else
25106 ac_cv_sizeof_wchar_t=0
25107 fi
25108 fi
25109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25110 fi
25111 rm -f conftest.val
25112 fi
25113 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25114 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25115
25116
25117
25118 cat >>confdefs.h <<_ACEOF
25119 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25120 _ACEOF
25121
25122
25123 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25124 wxUSE_WCHAR_T=yes
25125 else
25126 wxUSE_WCHAR_T=no
25127 fi
25128
25129 { echo "$as_me:$LINENO: checking for va_copy" >&5
25130 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25131 if test "${wx_cv_func_va_copy+set}" = set; then
25132 echo $ECHO_N "(cached) $ECHO_C" >&6
25133 else
25134
25135 ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25140
25141 cat >conftest.$ac_ext <<_ACEOF
25142
25143 #include <stdarg.h>
25144 void foo(char *f, ...)
25145 {
25146 va_list ap1, ap2;
25147 va_start(ap1, f);
25148 va_copy(ap2, ap1);
25149 va_end(ap2);
25150 va_end(ap1);
25151 }
25152 int main()
25153 {
25154 foo("hi", 17);
25155 return 0;
25156 }
25157 _ACEOF
25158 rm -f conftest.$ac_objext conftest$ac_exeext
25159 if { (ac_try="$ac_link"
25160 case "(($ac_try" in
25161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25162 *) ac_try_echo=$ac_try;;
25163 esac
25164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25165 (eval "$ac_link") 2>conftest.er1
25166 ac_status=$?
25167 grep -v '^ *+' conftest.er1 >conftest.err
25168 rm -f conftest.er1
25169 cat conftest.err >&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); } && {
25172 test -z "$ac_cxx_werror_flag" ||
25173 test ! -s conftest.err
25174 } && test -s conftest$ac_exeext &&
25175 $as_test_x conftest$ac_exeext; then
25176 wx_cv_func_va_copy=yes
25177 else
25178 echo "$as_me: failed program was:" >&5
25179 sed 's/^/| /' conftest.$ac_ext >&5
25180
25181 wx_cv_func_va_copy=no
25182
25183 fi
25184
25185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25186 conftest$ac_exeext conftest.$ac_ext
25187 ac_ext=c
25188 ac_cpp='$CPP $CPPFLAGS'
25189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25192
25193
25194
25195 fi
25196 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25197 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25198
25199 if test $wx_cv_func_va_copy = "yes"; then
25200 cat >>confdefs.h <<\_ACEOF
25201 #define HAVE_VA_COPY 1
25202 _ACEOF
25203
25204 else
25205 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25206 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25207 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25208 echo $ECHO_N "(cached) $ECHO_C" >&6
25209 else
25210
25211 if test "$cross_compiling" = yes; then
25212 wx_cv_type_va_list_lvalue=yes
25213
25214 else
25215 cat >conftest.$ac_ext <<_ACEOF
25216
25217 #include <stdarg.h>
25218 int foo(char *f, ...)
25219 {
25220 va_list ap1, ap2;
25221 va_start(ap1, f);
25222 ap2 = ap1;
25223 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25224 return 1;
25225 va_end(ap2);
25226 va_end(ap1);
25227 return 0;
25228 }
25229 int main()
25230 {
25231 return foo("hi", 17);
25232 }
25233 _ACEOF
25234 rm -f conftest$ac_exeext
25235 if { (ac_try="$ac_link"
25236 case "(($ac_try" in
25237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25238 *) ac_try_echo=$ac_try;;
25239 esac
25240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25241 (eval "$ac_link") 2>&5
25242 ac_status=$?
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25245 { (case "(($ac_try" in
25246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25247 *) ac_try_echo=$ac_try;;
25248 esac
25249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25250 (eval "$ac_try") 2>&5
25251 ac_status=$?
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; }; then
25254 wx_cv_type_va_list_lvalue=yes
25255 else
25256 echo "$as_me: program exited with status $ac_status" >&5
25257 echo "$as_me: failed program was:" >&5
25258 sed 's/^/| /' conftest.$ac_ext >&5
25259
25260 ( exit $ac_status )
25261 wx_cv_type_va_list_lvalue=no
25262 fi
25263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25264 fi
25265
25266
25267
25268
25269 fi
25270 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25271 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25272
25273 if test $wx_cv_type_va_list_lvalue != "yes"; then
25274 cat >>confdefs.h <<\_ACEOF
25275 #define VA_LIST_IS_ARRAY 1
25276 _ACEOF
25277
25278 fi
25279 fi
25280
25281 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25282
25283 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25284 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25285 if test "${wx_cv_have_variadic_macros+set}" = set; then
25286 echo $ECHO_N "(cached) $ECHO_C" >&6
25287 else
25288
25289 ac_ext=cpp
25290 ac_cpp='$CXXCPP $CPPFLAGS'
25291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25294
25295 cat >conftest.$ac_ext <<_ACEOF
25296 /* confdefs.h. */
25297 _ACEOF
25298 cat confdefs.h >>conftest.$ac_ext
25299 cat >>conftest.$ac_ext <<_ACEOF
25300 /* end confdefs.h. */
25301
25302 #include <stdio.h>
25303 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25304
25305 int
25306 main ()
25307 {
25308
25309 test("%s %d %p", "test", 1, 0);
25310
25311
25312 ;
25313 return 0;
25314 }
25315 _ACEOF
25316 rm -f conftest.$ac_objext
25317 if { (ac_try="$ac_compile"
25318 case "(($ac_try" in
25319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25320 *) ac_try_echo=$ac_try;;
25321 esac
25322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25323 (eval "$ac_compile") 2>conftest.er1
25324 ac_status=$?
25325 grep -v '^ *+' conftest.er1 >conftest.err
25326 rm -f conftest.er1
25327 cat conftest.err >&5
25328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329 (exit $ac_status); } && {
25330 test -z "$ac_cxx_werror_flag" ||
25331 test ! -s conftest.err
25332 } && test -s conftest.$ac_objext; then
25333 wx_cv_have_variadic_macros=yes
25334 else
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.$ac_ext >&5
25337
25338 wx_cv_have_variadic_macros=no
25339
25340 fi
25341
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 ac_ext=c
25344 ac_cpp='$CPP $CPPFLAGS'
25345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25348
25349
25350
25351 fi
25352 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25353 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25354
25355 if test $wx_cv_have_variadic_macros = "yes"; then
25356 cat >>confdefs.h <<\_ACEOF
25357 #define HAVE_VARIADIC_MACROS 1
25358 _ACEOF
25359
25360 fi
25361
25362 fi
25363 # Check whether --enable-largefile was given.
25364 if test "${enable_largefile+set}" = set; then
25365 enableval=$enable_largefile;
25366 fi
25367
25368 if test "$enable_largefile" != no; then
25369 wx_largefile=no
25370
25371 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25372 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25373 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25374 echo $ECHO_N "(cached) $ECHO_C" >&6
25375 else
25376
25377 cat >conftest.$ac_ext <<_ACEOF
25378 /* confdefs.h. */
25379 _ACEOF
25380 cat confdefs.h >>conftest.$ac_ext
25381 cat >>conftest.$ac_ext <<_ACEOF
25382 /* end confdefs.h. */
25383 #define _FILE_OFFSET_BITS 64
25384 #include <sys/types.h>
25385 int
25386 main ()
25387 {
25388 typedef struct {
25389 unsigned int field: sizeof(off_t) == 8;
25390 } wxlf;
25391
25392 ;
25393 return 0;
25394 }
25395 _ACEOF
25396 rm -f conftest.$ac_objext
25397 if { (ac_try="$ac_compile"
25398 case "(($ac_try" in
25399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25400 *) ac_try_echo=$ac_try;;
25401 esac
25402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25403 (eval "$ac_compile") 2>conftest.er1
25404 ac_status=$?
25405 grep -v '^ *+' conftest.er1 >conftest.err
25406 rm -f conftest.er1
25407 cat conftest.err >&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); } && {
25410 test -z "$ac_c_werror_flag" ||
25411 test ! -s conftest.err
25412 } && test -s conftest.$ac_objext; then
25413 ac_cv_sys_file_offset_bits=64
25414 else
25415 echo "$as_me: failed program was:" >&5
25416 sed 's/^/| /' conftest.$ac_ext >&5
25417
25418 ac_cv_sys_file_offset_bits=no
25419 fi
25420
25421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25422
25423
25424 fi
25425 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25426 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25427
25428 if test "$ac_cv_sys_file_offset_bits" != no; then
25429 wx_largefile=yes
25430 cat >>confdefs.h <<_ACEOF
25431 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25432 _ACEOF
25433
25434 fi
25435
25436 if test "x$wx_largefile" != "xyes"; then
25437
25438 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25439 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25440 if test "${ac_cv_sys_large_files+set}" = set; then
25441 echo $ECHO_N "(cached) $ECHO_C" >&6
25442 else
25443
25444 cat >conftest.$ac_ext <<_ACEOF
25445 /* confdefs.h. */
25446 _ACEOF
25447 cat confdefs.h >>conftest.$ac_ext
25448 cat >>conftest.$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25450 #define _LARGE_FILES 1
25451 #include <sys/types.h>
25452 int
25453 main ()
25454 {
25455 typedef struct {
25456 unsigned int field: sizeof(off_t) == 8;
25457 } wxlf;
25458
25459 ;
25460 return 0;
25461 }
25462 _ACEOF
25463 rm -f conftest.$ac_objext
25464 if { (ac_try="$ac_compile"
25465 case "(($ac_try" in
25466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25467 *) ac_try_echo=$ac_try;;
25468 esac
25469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25470 (eval "$ac_compile") 2>conftest.er1
25471 ac_status=$?
25472 grep -v '^ *+' conftest.er1 >conftest.err
25473 rm -f conftest.er1
25474 cat conftest.err >&5
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); } && {
25477 test -z "$ac_c_werror_flag" ||
25478 test ! -s conftest.err
25479 } && test -s conftest.$ac_objext; then
25480 ac_cv_sys_large_files=1
25481 else
25482 echo "$as_me: failed program was:" >&5
25483 sed 's/^/| /' conftest.$ac_ext >&5
25484
25485 ac_cv_sys_large_files=no
25486 fi
25487
25488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25489
25490
25491 fi
25492 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25493 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25494
25495 if test "$ac_cv_sys_large_files" != no; then
25496 wx_largefile=yes
25497 cat >>confdefs.h <<_ACEOF
25498 #define _LARGE_FILES $ac_cv_sys_large_files
25499 _ACEOF
25500
25501 fi
25502
25503 fi
25504
25505 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25506 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25507 if test "x$wx_largefile" = "xyes"; then
25508 cat >>confdefs.h <<\_ACEOF
25509 #define HAVE_LARGEFILE_SUPPORT 1
25510 _ACEOF
25511
25512 fi
25513 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25514 echo "${ECHO_T}$wx_largefile" >&6; }
25515 fi
25516
25517
25518 if test "x$wx_largefile" = "xyes"; then
25519 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25520 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25521
25522 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25523 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25524 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25525 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25527 else
25528
25529 ac_ext=cpp
25530 ac_cpp='$CXXCPP $CPPFLAGS'
25531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25534
25535 cat >conftest.$ac_ext <<_ACEOF
25536 /* confdefs.h. */
25537 _ACEOF
25538 cat confdefs.h >>conftest.$ac_ext
25539 cat >>conftest.$ac_ext <<_ACEOF
25540 /* end confdefs.h. */
25541
25542 int
25543 main ()
25544 {
25545
25546 #ifndef __STDC_EXT__
25547 choke me
25548 #endif
25549
25550 ;
25551 return 0;
25552 }
25553 _ACEOF
25554 rm -f conftest.$ac_objext
25555 if { (ac_try="$ac_compile"
25556 case "(($ac_try" in
25557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25558 *) ac_try_echo=$ac_try;;
25559 esac
25560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25561 (eval "$ac_compile") 2>conftest.er1
25562 ac_status=$?
25563 grep -v '^ *+' conftest.er1 >conftest.err
25564 rm -f conftest.er1
25565 cat conftest.err >&5
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); } && {
25568 test -z "$ac_cxx_werror_flag" ||
25569 test ! -s conftest.err
25570 } && test -s conftest.$ac_objext; then
25571 wx_cv_STDC_EXT_required=no
25572 else
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.$ac_ext >&5
25575
25576 wx_cv_STDC_EXT_required=yes
25577
25578 fi
25579
25580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25581 ac_ext=c
25582 ac_cpp='$CPP $CPPFLAGS'
25583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25586
25587
25588
25589 fi
25590 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25591 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25592 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25593 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25594 fi
25595 fi
25596 else
25597 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25598 fi
25599 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25600 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25601 if test "${ac_cv_sys_largefile_source+set}" = set; then
25602 echo $ECHO_N "(cached) $ECHO_C" >&6
25603 else
25604 while :; do
25605 cat >conftest.$ac_ext <<_ACEOF
25606 /* confdefs.h. */
25607 _ACEOF
25608 cat confdefs.h >>conftest.$ac_ext
25609 cat >>conftest.$ac_ext <<_ACEOF
25610 /* end confdefs.h. */
25611 #include <stdio.h>
25612 int
25613 main ()
25614 {
25615 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
25616 ;
25617 return 0;
25618 }
25619 _ACEOF
25620 rm -f conftest.$ac_objext conftest$ac_exeext
25621 if { (ac_try="$ac_link"
25622 case "(($ac_try" in
25623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25624 *) ac_try_echo=$ac_try;;
25625 esac
25626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25627 (eval "$ac_link") 2>conftest.er1
25628 ac_status=$?
25629 grep -v '^ *+' conftest.er1 >conftest.err
25630 rm -f conftest.er1
25631 cat conftest.err >&5
25632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25633 (exit $ac_status); } && {
25634 test -z "$ac_c_werror_flag" ||
25635 test ! -s conftest.err
25636 } && test -s conftest$ac_exeext &&
25637 $as_test_x conftest$ac_exeext; then
25638 ac_cv_sys_largefile_source=no; break
25639 else
25640 echo "$as_me: failed program was:" >&5
25641 sed 's/^/| /' conftest.$ac_ext >&5
25642
25643
25644 fi
25645
25646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25647 conftest$ac_exeext conftest.$ac_ext
25648 cat >conftest.$ac_ext <<_ACEOF
25649 /* confdefs.h. */
25650 _ACEOF
25651 cat confdefs.h >>conftest.$ac_ext
25652 cat >>conftest.$ac_ext <<_ACEOF
25653 /* end confdefs.h. */
25654 #define _LARGEFILE_SOURCE 1
25655 #include <stdio.h>
25656 int
25657 main ()
25658 {
25659 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
25660 ;
25661 return 0;
25662 }
25663 _ACEOF
25664 rm -f conftest.$ac_objext conftest$ac_exeext
25665 if { (ac_try="$ac_link"
25666 case "(($ac_try" in
25667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25668 *) ac_try_echo=$ac_try;;
25669 esac
25670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25671 (eval "$ac_link") 2>conftest.er1
25672 ac_status=$?
25673 grep -v '^ *+' conftest.er1 >conftest.err
25674 rm -f conftest.er1
25675 cat conftest.err >&5
25676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677 (exit $ac_status); } && {
25678 test -z "$ac_c_werror_flag" ||
25679 test ! -s conftest.err
25680 } && test -s conftest$ac_exeext &&
25681 $as_test_x conftest$ac_exeext; then
25682 ac_cv_sys_largefile_source=1; break
25683 else
25684 echo "$as_me: failed program was:" >&5
25685 sed 's/^/| /' conftest.$ac_ext >&5
25686
25687
25688 fi
25689
25690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25691 conftest$ac_exeext conftest.$ac_ext
25692 ac_cv_sys_largefile_source=unknown
25693 break
25694 done
25695 fi
25696 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25697 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25698 case $ac_cv_sys_largefile_source in #(
25699 no | unknown) ;;
25700 *)
25701 cat >>confdefs.h <<_ACEOF
25702 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25703 _ACEOF
25704 ;;
25705 esac
25706 rm -f conftest*
25707
25708 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25709 # in glibc 2.1.3, but that breaks too many other things.
25710 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25711 if test $ac_cv_sys_largefile_source != unknown; then
25712
25713 cat >>confdefs.h <<\_ACEOF
25714 #define HAVE_FSEEKO 1
25715 _ACEOF
25716
25717 fi
25718
25719 if test "$ac_cv_sys_largefile_source" != no; then
25720 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25721 fi
25722 fi
25723
25724 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25725 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25726 if test "${ac_cv_c_bigendian+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25728 else
25729 ac_cv_c_bigendian=unknown
25730 # See if sys/param.h defines the BYTE_ORDER macro.
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 <sys/types.h>
25738 #include <sys/param.h>
25739 int
25740 main ()
25741 {
25742
25743 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25744 bogus endian macros
25745 #endif
25746 ;
25747 return 0;
25748 }
25749 _ACEOF
25750 rm -f conftest.$ac_objext
25751 if { (ac_try="$ac_compile"
25752 case "(($ac_try" in
25753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25754 *) ac_try_echo=$ac_try;;
25755 esac
25756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25757 (eval "$ac_compile") 2>conftest.er1
25758 ac_status=$?
25759 grep -v '^ *+' conftest.er1 >conftest.err
25760 rm -f conftest.er1
25761 cat conftest.err >&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); } && {
25764 test -z "$ac_c_werror_flag" ||
25765 test ! -s conftest.err
25766 } && test -s conftest.$ac_objext; then
25767 # It does; now see whether it defined to BIG_ENDIAN or not.
25768 cat >conftest.$ac_ext <<_ACEOF
25769 /* confdefs.h. */
25770 _ACEOF
25771 cat confdefs.h >>conftest.$ac_ext
25772 cat >>conftest.$ac_ext <<_ACEOF
25773 /* end confdefs.h. */
25774 #include <sys/types.h>
25775 #include <sys/param.h>
25776 int
25777 main ()
25778 {
25779
25780 #if BYTE_ORDER != BIG_ENDIAN
25781 not big endian
25782 #endif
25783 ;
25784 return 0;
25785 }
25786 _ACEOF
25787 rm -f conftest.$ac_objext
25788 if { (ac_try="$ac_compile"
25789 case "(($ac_try" in
25790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25791 *) ac_try_echo=$ac_try;;
25792 esac
25793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25794 (eval "$ac_compile") 2>conftest.er1
25795 ac_status=$?
25796 grep -v '^ *+' conftest.er1 >conftest.err
25797 rm -f conftest.er1
25798 cat conftest.err >&5
25799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25800 (exit $ac_status); } && {
25801 test -z "$ac_c_werror_flag" ||
25802 test ! -s conftest.err
25803 } && test -s conftest.$ac_objext; then
25804 ac_cv_c_bigendian=yes
25805 else
25806 echo "$as_me: failed program was:" >&5
25807 sed 's/^/| /' conftest.$ac_ext >&5
25808
25809 ac_cv_c_bigendian=no
25810 fi
25811
25812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25813 else
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.$ac_ext >&5
25816
25817
25818 fi
25819
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821 if test $ac_cv_c_bigendian = unknown; then
25822 if test "$cross_compiling" = yes; then
25823 ac_cv_c_bigendian=unknown
25824 else
25825 cat >conftest.$ac_ext <<_ACEOF
25826 /* confdefs.h. */
25827 _ACEOF
25828 cat confdefs.h >>conftest.$ac_ext
25829 cat >>conftest.$ac_ext <<_ACEOF
25830 /* end confdefs.h. */
25831 main () {
25832 /* Are we little or big endian? From Harbison&Steele. */
25833 union
25834 {
25835 long l;
25836 char c[sizeof (long)];
25837 } u;
25838 u.l = 1;
25839 exit (u.c[sizeof (long) - 1] == 1);
25840 }
25841 _ACEOF
25842 rm -f conftest$ac_exeext
25843 if { (ac_try="$ac_link"
25844 case "(($ac_try" in
25845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25846 *) ac_try_echo=$ac_try;;
25847 esac
25848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25849 (eval "$ac_link") 2>&5
25850 ac_status=$?
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25853 { (case "(($ac_try" in
25854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25855 *) ac_try_echo=$ac_try;;
25856 esac
25857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25858 (eval "$ac_try") 2>&5
25859 ac_status=$?
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); }; }; then
25862 ac_cv_c_bigendian=no
25863 else
25864 echo "$as_me: program exited with status $ac_status" >&5
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868 ( exit $ac_status )
25869 ac_cv_c_bigendian=yes
25870 fi
25871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25872 fi
25873
25874
25875 fi
25876 fi
25877 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25878 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25879 if test $ac_cv_c_bigendian = unknown; then
25880 { 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
25881 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;}
25882 fi
25883 if test $ac_cv_c_bigendian = yes; then
25884 cat >>confdefs.h <<\_ACEOF
25885 #define WORDS_BIGENDIAN 1
25886 _ACEOF
25887
25888 fi
25889
25890
25891
25892
25893 ac_ext=cpp
25894 ac_cpp='$CXXCPP $CPPFLAGS'
25895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25898
25899
25900 { echo "$as_me:$LINENO: checking for iostream" >&5
25901 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
25902 if test "${ac_cv_header_iostream+set}" = set; then
25903 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 else
25905 cat >conftest.$ac_ext <<_ACEOF
25906 /* confdefs.h. */
25907 _ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911
25912
25913 #include <iostream>
25914 _ACEOF
25915 rm -f conftest.$ac_objext
25916 if { (ac_try="$ac_compile"
25917 case "(($ac_try" in
25918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25919 *) ac_try_echo=$ac_try;;
25920 esac
25921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25922 (eval "$ac_compile") 2>conftest.er1
25923 ac_status=$?
25924 grep -v '^ *+' conftest.er1 >conftest.err
25925 rm -f conftest.er1
25926 cat conftest.err >&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } && {
25929 test -z "$ac_cxx_werror_flag" ||
25930 test ! -s conftest.err
25931 } && test -s conftest.$ac_objext; then
25932 ac_cv_header_iostream=yes
25933 else
25934 echo "$as_me: failed program was:" >&5
25935 sed 's/^/| /' conftest.$ac_ext >&5
25936
25937 ac_cv_header_iostream=no
25938 fi
25939
25940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25941 fi
25942 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
25943 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
25944
25945
25946
25947 if test "$ac_cv_header_iostream" = "yes" ; then
25948 :
25949 else
25950 cat >>confdefs.h <<\_ACEOF
25951 #define wxUSE_IOSTREAMH 1
25952 _ACEOF
25953
25954 fi
25955
25956 ac_ext=c
25957 ac_cpp='$CPP $CPPFLAGS'
25958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25961
25962
25963
25964
25965 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25966 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25967 if test "${wx_cv_cpp_bool+set}" = set; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 else
25970
25971
25972 ac_ext=cpp
25973 ac_cpp='$CXXCPP $CPPFLAGS'
25974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25977
25978
25979 cat >conftest.$ac_ext <<_ACEOF
25980 /* confdefs.h. */
25981 _ACEOF
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25985
25986
25987 int
25988 main ()
25989 {
25990
25991 bool b = true;
25992
25993 return 0;
25994
25995 ;
25996 return 0;
25997 }
25998 _ACEOF
25999 rm -f conftest.$ac_objext
26000 if { (ac_try="$ac_compile"
26001 case "(($ac_try" in
26002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26003 *) ac_try_echo=$ac_try;;
26004 esac
26005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26006 (eval "$ac_compile") 2>conftest.er1
26007 ac_status=$?
26008 grep -v '^ *+' conftest.er1 >conftest.err
26009 rm -f conftest.er1
26010 cat conftest.err >&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } && {
26013 test -z "$ac_cxx_werror_flag" ||
26014 test ! -s conftest.err
26015 } && test -s conftest.$ac_objext; then
26016
26017 wx_cv_cpp_bool=yes
26018
26019 else
26020 echo "$as_me: failed program was:" >&5
26021 sed 's/^/| /' conftest.$ac_ext >&5
26022
26023
26024 wx_cv_cpp_bool=no
26025
26026
26027 fi
26028
26029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26030
26031 ac_ext=c
26032 ac_cpp='$CPP $CPPFLAGS'
26033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26036
26037
26038 fi
26039 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26040 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26041
26042 if test "$wx_cv_cpp_bool" = "yes"; then
26043 cat >>confdefs.h <<\_ACEOF
26044 #define HAVE_BOOL 1
26045 _ACEOF
26046
26047 fi
26048
26049
26050
26051 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26052 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26053 if test "${wx_cv_explicit+set}" = set; then
26054 echo $ECHO_N "(cached) $ECHO_C" >&6
26055 else
26056
26057
26058 ac_ext=cpp
26059 ac_cpp='$CXXCPP $CPPFLAGS'
26060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26063
26064
26065 cat >conftest.$ac_ext <<_ACEOF
26066 /* confdefs.h. */
26067 _ACEOF
26068 cat confdefs.h >>conftest.$ac_ext
26069 cat >>conftest.$ac_ext <<_ACEOF
26070 /* end confdefs.h. */
26071
26072 class Foo { public: explicit Foo(int) {} };
26073
26074 int
26075 main ()
26076 {
26077
26078 return 0;
26079
26080 ;
26081 return 0;
26082 }
26083 _ACEOF
26084 rm -f conftest.$ac_objext
26085 if { (ac_try="$ac_compile"
26086 case "(($ac_try" in
26087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26088 *) ac_try_echo=$ac_try;;
26089 esac
26090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26091 (eval "$ac_compile") 2>conftest.er1
26092 ac_status=$?
26093 grep -v '^ *+' conftest.er1 >conftest.err
26094 rm -f conftest.er1
26095 cat conftest.err >&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } && {
26098 test -z "$ac_cxx_werror_flag" ||
26099 test ! -s conftest.err
26100 } && test -s conftest.$ac_objext; then
26101
26102 cat >conftest.$ac_ext <<_ACEOF
26103 /* confdefs.h. */
26104 _ACEOF
26105 cat confdefs.h >>conftest.$ac_ext
26106 cat >>conftest.$ac_ext <<_ACEOF
26107 /* end confdefs.h. */
26108
26109 class Foo { public: explicit Foo(int) {} };
26110 static void TakeFoo(const Foo& foo) { }
26111
26112 int
26113 main ()
26114 {
26115
26116 TakeFoo(17);
26117 return 0;
26118
26119 ;
26120 return 0;
26121 }
26122 _ACEOF
26123 rm -f conftest.$ac_objext
26124 if { (ac_try="$ac_compile"
26125 case "(($ac_try" in
26126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26127 *) ac_try_echo=$ac_try;;
26128 esac
26129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26130 (eval "$ac_compile") 2>conftest.er1
26131 ac_status=$?
26132 grep -v '^ *+' conftest.er1 >conftest.err
26133 rm -f conftest.er1
26134 cat conftest.err >&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); } && {
26137 test -z "$ac_cxx_werror_flag" ||
26138 test ! -s conftest.err
26139 } && test -s conftest.$ac_objext; then
26140 wx_cv_explicit=no
26141 else
26142 echo "$as_me: failed program was:" >&5
26143 sed 's/^/| /' conftest.$ac_ext >&5
26144
26145 wx_cv_explicit=yes
26146
26147 fi
26148
26149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26150
26151 else
26152 echo "$as_me: failed program was:" >&5
26153 sed 's/^/| /' conftest.$ac_ext >&5
26154
26155 wx_cv_explicit=no
26156
26157 fi
26158
26159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26160
26161 ac_ext=c
26162 ac_cpp='$CPP $CPPFLAGS'
26163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26166
26167
26168 fi
26169 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26170 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26171
26172 if test "$wx_cv_explicit" = "yes"; then
26173 cat >>confdefs.h <<\_ACEOF
26174 #define HAVE_EXPLICIT 1
26175 _ACEOF
26176
26177 fi
26178
26179
26180 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26181 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26182 if test "${ac_cv_cxx_const_cast+set}" = set; then
26183 echo $ECHO_N "(cached) $ECHO_C" >&6
26184 else
26185
26186 ac_ext=cpp
26187 ac_cpp='$CXXCPP $CPPFLAGS'
26188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26191
26192 cat >conftest.$ac_ext <<_ACEOF
26193 /* confdefs.h. */
26194 _ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26198
26199 int
26200 main ()
26201 {
26202 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26203 ;
26204 return 0;
26205 }
26206 _ACEOF
26207 rm -f conftest.$ac_objext
26208 if { (ac_try="$ac_compile"
26209 case "(($ac_try" in
26210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26211 *) ac_try_echo=$ac_try;;
26212 esac
26213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26214 (eval "$ac_compile") 2>conftest.er1
26215 ac_status=$?
26216 grep -v '^ *+' conftest.er1 >conftest.err
26217 rm -f conftest.er1
26218 cat conftest.err >&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } && {
26221 test -z "$ac_cxx_werror_flag" ||
26222 test ! -s conftest.err
26223 } && test -s conftest.$ac_objext; then
26224 ac_cv_cxx_const_cast=yes
26225 else
26226 echo "$as_me: failed program was:" >&5
26227 sed 's/^/| /' conftest.$ac_ext >&5
26228
26229 ac_cv_cxx_const_cast=no
26230 fi
26231
26232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26233 ac_ext=c
26234 ac_cpp='$CPP $CPPFLAGS'
26235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26238
26239
26240 fi
26241 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26242 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26243 if test "$ac_cv_cxx_const_cast" = yes; then
26244
26245 cat >>confdefs.h <<\_ACEOF
26246 #define HAVE_CONST_CAST
26247 _ACEOF
26248
26249 fi
26250
26251 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26252 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26253 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26254 echo $ECHO_N "(cached) $ECHO_C" >&6
26255 else
26256
26257 ac_ext=cpp
26258 ac_cpp='$CXXCPP $CPPFLAGS'
26259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26262
26263 cat >conftest.$ac_ext <<_ACEOF
26264 /* confdefs.h. */
26265 _ACEOF
26266 cat confdefs.h >>conftest.$ac_ext
26267 cat >>conftest.$ac_ext <<_ACEOF
26268 /* end confdefs.h. */
26269 #include <typeinfo>
26270 class Base { public : Base () {} virtual void f () = 0;};
26271 class Derived : public Base { public : Derived () {} virtual void f () {} };
26272 class Unrelated { public : Unrelated () {} };
26273 int g (Unrelated&) { return 0; }
26274 int
26275 main ()
26276 {
26277
26278 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26279 ;
26280 return 0;
26281 }
26282 _ACEOF
26283 rm -f conftest.$ac_objext
26284 if { (ac_try="$ac_compile"
26285 case "(($ac_try" in
26286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26287 *) ac_try_echo=$ac_try;;
26288 esac
26289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26290 (eval "$ac_compile") 2>conftest.er1
26291 ac_status=$?
26292 grep -v '^ *+' conftest.er1 >conftest.err
26293 rm -f conftest.er1
26294 cat conftest.err >&5
26295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26296 (exit $ac_status); } && {
26297 test -z "$ac_cxx_werror_flag" ||
26298 test ! -s conftest.err
26299 } && test -s conftest.$ac_objext; then
26300 ac_cv_cxx_reinterpret_cast=yes
26301 else
26302 echo "$as_me: failed program was:" >&5
26303 sed 's/^/| /' conftest.$ac_ext >&5
26304
26305 ac_cv_cxx_reinterpret_cast=no
26306 fi
26307
26308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26309 ac_ext=c
26310 ac_cpp='$CPP $CPPFLAGS'
26311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26314
26315
26316 fi
26317 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26318 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26319 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26320
26321 cat >>confdefs.h <<\_ACEOF
26322 #define HAVE_REINTERPRET_CAST
26323 _ACEOF
26324
26325 fi
26326
26327 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26328 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26329 if test "${ac_cv_cxx_static_cast+set}" = set; then
26330 echo $ECHO_N "(cached) $ECHO_C" >&6
26331 else
26332
26333 ac_ext=cpp
26334 ac_cpp='$CXXCPP $CPPFLAGS'
26335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26338
26339 cat >conftest.$ac_ext <<_ACEOF
26340 /* confdefs.h. */
26341 _ACEOF
26342 cat confdefs.h >>conftest.$ac_ext
26343 cat >>conftest.$ac_ext <<_ACEOF
26344 /* end confdefs.h. */
26345 #include <typeinfo>
26346 class Base { public : Base () {} virtual void f () = 0; };
26347 class Derived : public Base { public : Derived () {} virtual void f () {} };
26348 int g (Derived&) { return 0; }
26349 int
26350 main ()
26351 {
26352
26353 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26354 ;
26355 return 0;
26356 }
26357 _ACEOF
26358 rm -f conftest.$ac_objext
26359 if { (ac_try="$ac_compile"
26360 case "(($ac_try" in
26361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26362 *) ac_try_echo=$ac_try;;
26363 esac
26364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26365 (eval "$ac_compile") 2>conftest.er1
26366 ac_status=$?
26367 grep -v '^ *+' conftest.er1 >conftest.err
26368 rm -f conftest.er1
26369 cat conftest.err >&5
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); } && {
26372 test -z "$ac_cxx_werror_flag" ||
26373 test ! -s conftest.err
26374 } && test -s conftest.$ac_objext; then
26375 ac_cv_cxx_static_cast=yes
26376 else
26377 echo "$as_me: failed program was:" >&5
26378 sed 's/^/| /' conftest.$ac_ext >&5
26379
26380 ac_cv_cxx_static_cast=no
26381 fi
26382
26383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26384 ac_ext=c
26385 ac_cpp='$CPP $CPPFLAGS'
26386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26389
26390
26391 fi
26392 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26393 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26394 if test "$ac_cv_cxx_static_cast" = yes; then
26395
26396 cat >>confdefs.h <<\_ACEOF
26397 #define HAVE_STATIC_CAST
26398 _ACEOF
26399
26400 fi
26401
26402
26403 if test "x$SUNCXX" = xyes; then
26404 CXXFLAGS="-features=tmplife $CXXFLAGS"
26405 fi
26406
26407 if test "x$SUNCC" = xyes; then
26408 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26409 fi
26410
26411 if test "x$SGICC" = "xyes"; then
26412 CFLAGS="-woff 3970 $CFLAGS"
26413 fi
26414 if test "x$SGICXX" = "xyes"; then
26415 CXXFLAGS="-woff 3970 $CXXFLAGS"
26416 fi
26417
26418 if test "x$HPCC" = "xyes"; then
26419 CFLAGS="+W 2011,2450 $CFLAGS"
26420 fi
26421 if test "x$HPCXX" = "xyes"; then
26422 CXXFLAGS="+W 2340 $CXXFLAGS"
26423 fi
26424
26425 if test "x$COMPAQCXX" = "xyes"; then
26426 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26427 fi
26428
26429 ac_ext=cpp
26430 ac_cpp='$CXXCPP $CPPFLAGS'
26431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26434
26435
26436 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26437 if test "$wxUSE_UNICODE" = "yes"; then
26438 std_string="std::wstring"
26439 char_type="wchar_t"
26440 else
26441 std_string="std::string"
26442 char_type="char"
26443 fi
26444
26445 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26446 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26447 if test "${wx_cv_class_stdstring+set}" = set; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 else
26450
26451 cat >conftest.$ac_ext <<_ACEOF
26452 /* confdefs.h. */
26453 _ACEOF
26454 cat confdefs.h >>conftest.$ac_ext
26455 cat >>conftest.$ac_ext <<_ACEOF
26456 /* end confdefs.h. */
26457 #include <string>
26458 int
26459 main ()
26460 {
26461 $std_string foo;
26462 ;
26463 return 0;
26464 }
26465 _ACEOF
26466 rm -f conftest.$ac_objext
26467 if { (ac_try="$ac_compile"
26468 case "(($ac_try" in
26469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26470 *) ac_try_echo=$ac_try;;
26471 esac
26472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26473 (eval "$ac_compile") 2>conftest.er1
26474 ac_status=$?
26475 grep -v '^ *+' conftest.er1 >conftest.err
26476 rm -f conftest.er1
26477 cat conftest.err >&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); } && {
26480 test -z "$ac_cxx_werror_flag" ||
26481 test ! -s conftest.err
26482 } && test -s conftest.$ac_objext; then
26483 wx_cv_class_stdstring=yes
26484 else
26485 echo "$as_me: failed program was:" >&5
26486 sed 's/^/| /' conftest.$ac_ext >&5
26487
26488 wx_cv_class_stdstring=no
26489
26490 fi
26491
26492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26493
26494
26495 fi
26496 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26497 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26498
26499 if test "$wx_cv_class_stdstring" = yes; then
26500 if test "$wxUSE_UNICODE" = "yes"; then
26501 cat >>confdefs.h <<\_ACEOF
26502 #define HAVE_STD_WSTRING 1
26503 _ACEOF
26504
26505 fi
26506 else
26507 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26508 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26509 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26510 echo $ECHO_N "(cached) $ECHO_C" >&6
26511 else
26512
26513 cat >conftest.$ac_ext <<_ACEOF
26514 /* confdefs.h. */
26515 _ACEOF
26516 cat confdefs.h >>conftest.$ac_ext
26517 cat >>conftest.$ac_ext <<_ACEOF
26518 /* end confdefs.h. */
26519
26520 #ifdef HAVE_WCHAR_H
26521 # ifdef __CYGWIN__
26522 # include <stddef.h>
26523 # endif
26524 # include <wchar.h>
26525 #endif
26526 #ifdef HAVE_STDLIB_H
26527 # include <stdlib.h>
26528 #endif
26529 #include <stdio.h>
26530 #include <string>
26531
26532 int
26533 main ()
26534 {
26535 std::basic_string<$char_type> foo;
26536 const $char_type* dummy = foo.c_str();
26537 ;
26538 return 0;
26539 }
26540 _ACEOF
26541 rm -f conftest.$ac_objext
26542 if { (ac_try="$ac_compile"
26543 case "(($ac_try" in
26544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26545 *) ac_try_echo=$ac_try;;
26546 esac
26547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26548 (eval "$ac_compile") 2>conftest.er1
26549 ac_status=$?
26550 grep -v '^ *+' conftest.er1 >conftest.err
26551 rm -f conftest.er1
26552 cat conftest.err >&5
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); } && {
26555 test -z "$ac_cxx_werror_flag" ||
26556 test ! -s conftest.err
26557 } && test -s conftest.$ac_objext; then
26558 wx_cv_class_stdbasicstring=yes
26559 else
26560 echo "$as_me: failed program was:" >&5
26561 sed 's/^/| /' conftest.$ac_ext >&5
26562
26563 wx_cv_class_stdbasicstring=no
26564
26565 fi
26566
26567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26568
26569
26570 fi
26571 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26572 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26573
26574 if test "$wx_cv_class_stdbasicstring" != yes; then
26575 if test "$wxUSE_STL" = "yes"; then
26576 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26577 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26578 { (exit 1); exit 1; }; }
26579 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26580 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26581 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26582 { (exit 1); exit 1; }; }
26583 else
26584 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26585 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26586 wxUSE_STD_STRING=no
26587 fi
26588 fi
26589 fi
26590 fi
26591
26592 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26593 { echo "$as_me:$LINENO: checking for std::istream" >&5
26594 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26595 if test "${ac_cv_type_std__istream+set}" = set; then
26596 echo $ECHO_N "(cached) $ECHO_C" >&6
26597 else
26598 cat >conftest.$ac_ext <<_ACEOF
26599 /* confdefs.h. */
26600 _ACEOF
26601 cat confdefs.h >>conftest.$ac_ext
26602 cat >>conftest.$ac_ext <<_ACEOF
26603 /* end confdefs.h. */
26604 #include <iostream>
26605
26606 typedef std::istream ac__type_new_;
26607 int
26608 main ()
26609 {
26610 if ((ac__type_new_ *) 0)
26611 return 0;
26612 if (sizeof (ac__type_new_))
26613 return 0;
26614 ;
26615 return 0;
26616 }
26617 _ACEOF
26618 rm -f conftest.$ac_objext
26619 if { (ac_try="$ac_compile"
26620 case "(($ac_try" in
26621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26622 *) ac_try_echo=$ac_try;;
26623 esac
26624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26625 (eval "$ac_compile") 2>conftest.er1
26626 ac_status=$?
26627 grep -v '^ *+' conftest.er1 >conftest.err
26628 rm -f conftest.er1
26629 cat conftest.err >&5
26630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26631 (exit $ac_status); } && {
26632 test -z "$ac_cxx_werror_flag" ||
26633 test ! -s conftest.err
26634 } && test -s conftest.$ac_objext; then
26635 ac_cv_type_std__istream=yes
26636 else
26637 echo "$as_me: failed program was:" >&5
26638 sed 's/^/| /' conftest.$ac_ext >&5
26639
26640 ac_cv_type_std__istream=no
26641 fi
26642
26643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26644 fi
26645 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26646 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26647 if test $ac_cv_type_std__istream = yes; then
26648
26649 cat >>confdefs.h <<_ACEOF
26650 #define HAVE_STD__ISTREAM 1
26651 _ACEOF
26652
26653
26654 else
26655 wxUSE_STD_IOSTREAM=no
26656 fi
26657 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26658 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26659 if test "${ac_cv_type_std__ostream+set}" = set; then
26660 echo $ECHO_N "(cached) $ECHO_C" >&6
26661 else
26662 cat >conftest.$ac_ext <<_ACEOF
26663 /* confdefs.h. */
26664 _ACEOF
26665 cat confdefs.h >>conftest.$ac_ext
26666 cat >>conftest.$ac_ext <<_ACEOF
26667 /* end confdefs.h. */
26668 #include <iostream>
26669
26670 typedef std::ostream ac__type_new_;
26671 int
26672 main ()
26673 {
26674 if ((ac__type_new_ *) 0)
26675 return 0;
26676 if (sizeof (ac__type_new_))
26677 return 0;
26678 ;
26679 return 0;
26680 }
26681 _ACEOF
26682 rm -f conftest.$ac_objext
26683 if { (ac_try="$ac_compile"
26684 case "(($ac_try" in
26685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26686 *) ac_try_echo=$ac_try;;
26687 esac
26688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26689 (eval "$ac_compile") 2>conftest.er1
26690 ac_status=$?
26691 grep -v '^ *+' conftest.er1 >conftest.err
26692 rm -f conftest.er1
26693 cat conftest.err >&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); } && {
26696 test -z "$ac_cxx_werror_flag" ||
26697 test ! -s conftest.err
26698 } && test -s conftest.$ac_objext; then
26699 ac_cv_type_std__ostream=yes
26700 else
26701 echo "$as_me: failed program was:" >&5
26702 sed 's/^/| /' conftest.$ac_ext >&5
26703
26704 ac_cv_type_std__ostream=no
26705 fi
26706
26707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26708 fi
26709 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26710 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26711 if test $ac_cv_type_std__ostream = yes; then
26712
26713 cat >>confdefs.h <<_ACEOF
26714 #define HAVE_STD__OSTREAM 1
26715 _ACEOF
26716
26717
26718 else
26719 wxUSE_STD_IOSTREAM=no
26720 fi
26721
26722
26723 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26724 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26725 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26726 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26727 { (exit 1); exit 1; }; }
26728 else
26729 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26730 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26731 fi
26732 fi
26733 fi
26734
26735 if test "$wxUSE_STL" = "yes"; then
26736 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26737 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26738 if test "${wx_cv_lib_stl+set}" = set; then
26739 echo $ECHO_N "(cached) $ECHO_C" >&6
26740 else
26741 cat >conftest.$ac_ext <<_ACEOF
26742 /* confdefs.h. */
26743 _ACEOF
26744 cat confdefs.h >>conftest.$ac_ext
26745 cat >>conftest.$ac_ext <<_ACEOF
26746 /* end confdefs.h. */
26747 #include <string>
26748 #include <functional>
26749 #include <algorithm>
26750 #include <vector>
26751 #include <list>
26752 int
26753 main ()
26754 {
26755 std::vector<int> moo;
26756 std::list<int> foo;
26757 std::vector<int>::iterator it =
26758 std::find_if(moo.begin(), moo.end(),
26759 std::bind2nd(std::less<int>(), 3));
26760 ;
26761 return 0;
26762 }
26763 _ACEOF
26764 rm -f conftest.$ac_objext
26765 if { (ac_try="$ac_compile"
26766 case "(($ac_try" in
26767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26768 *) ac_try_echo=$ac_try;;
26769 esac
26770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26771 (eval "$ac_compile") 2>conftest.er1
26772 ac_status=$?
26773 grep -v '^ *+' conftest.er1 >conftest.err
26774 rm -f conftest.er1
26775 cat conftest.err >&5
26776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26777 (exit $ac_status); } && {
26778 test -z "$ac_cxx_werror_flag" ||
26779 test ! -s conftest.err
26780 } && test -s conftest.$ac_objext; then
26781 wx_cv_lib_stl=yes
26782 else
26783 echo "$as_me: failed program was:" >&5
26784 sed 's/^/| /' conftest.$ac_ext >&5
26785
26786 wx_cv_lib_stl=no
26787
26788 fi
26789
26790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26791
26792 fi
26793 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26794 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26795
26796 if test "$wx_cv_lib_stl" != yes; then
26797 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26798 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26799 { (exit 1); exit 1; }; }
26800 fi
26801
26802 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26803 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26804 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26805 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 else
26807 cat >conftest.$ac_ext <<_ACEOF
26808 /* confdefs.h. */
26809 _ACEOF
26810 cat confdefs.h >>conftest.$ac_ext
26811 cat >>conftest.$ac_ext <<_ACEOF
26812 /* end confdefs.h. */
26813 #include <string>
26814 int
26815 main ()
26816 {
26817 std::string foo, bar;
26818 foo.compare(bar);
26819 foo.compare(1, 1, bar);
26820 foo.compare(1, 1, bar, 1, 1);
26821 foo.compare("");
26822 foo.compare(1, 1, "");
26823 foo.compare(1, 1, "", 2);
26824 ;
26825 return 0;
26826 }
26827 _ACEOF
26828 rm -f conftest.$ac_objext
26829 if { (ac_try="$ac_compile"
26830 case "(($ac_try" in
26831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26832 *) ac_try_echo=$ac_try;;
26833 esac
26834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26835 (eval "$ac_compile") 2>conftest.er1
26836 ac_status=$?
26837 grep -v '^ *+' conftest.er1 >conftest.err
26838 rm -f conftest.er1
26839 cat conftest.err >&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); } && {
26842 test -z "$ac_cxx_werror_flag" ||
26843 test ! -s conftest.err
26844 } && test -s conftest.$ac_objext; then
26845 wx_cv_func_stdstring_compare=yes
26846 else
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.$ac_ext >&5
26849
26850 wx_cv_func_stdstring_compare=no
26851
26852 fi
26853
26854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26855
26856 fi
26857 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26858 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26859
26860 if test "$wx_cv_func_stdstring_compare" = yes; then
26861 cat >>confdefs.h <<\_ACEOF
26862 #define HAVE_STD_STRING_COMPARE 1
26863 _ACEOF
26864
26865 fi
26866
26867 { echo "$as_me:$LINENO: checking for hash_map" >&5
26868 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26869 if test "${ac_cv_header_hash_map+set}" = set; then
26870 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 else
26872 cat >conftest.$ac_ext <<_ACEOF
26873 /* confdefs.h. */
26874 _ACEOF
26875 cat confdefs.h >>conftest.$ac_ext
26876 cat >>conftest.$ac_ext <<_ACEOF
26877 /* end confdefs.h. */
26878
26879
26880
26881 #include <hash_map>
26882 _ACEOF
26883 rm -f conftest.$ac_objext
26884 if { (ac_try="$ac_compile"
26885 case "(($ac_try" in
26886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26887 *) ac_try_echo=$ac_try;;
26888 esac
26889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26890 (eval "$ac_compile") 2>conftest.er1
26891 ac_status=$?
26892 grep -v '^ *+' conftest.er1 >conftest.err
26893 rm -f conftest.er1
26894 cat conftest.err >&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } && {
26897 test -z "$ac_cxx_werror_flag" ||
26898 test ! -s conftest.err
26899 } && test -s conftest.$ac_objext; then
26900 ac_cv_header_hash_map=yes
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905 ac_cv_header_hash_map=no
26906 fi
26907
26908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26909 fi
26910 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26911 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26912 if test $ac_cv_header_hash_map = yes; then
26913 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26914 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26915 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26916 echo $ECHO_N "(cached) $ECHO_C" >&6
26917 else
26918 cat >conftest.$ac_ext <<_ACEOF
26919 /* confdefs.h. */
26920 _ACEOF
26921 cat confdefs.h >>conftest.$ac_ext
26922 cat >>conftest.$ac_ext <<_ACEOF
26923 /* end confdefs.h. */
26924 #include <hash_map>
26925 #include <hash_set>
26926 int
26927 main ()
26928 {
26929 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26930 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26931 ;
26932 return 0;
26933 }
26934 _ACEOF
26935 rm -f conftest.$ac_objext
26936 if { (ac_try="$ac_compile"
26937 case "(($ac_try" in
26938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26939 *) ac_try_echo=$ac_try;;
26940 esac
26941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26942 (eval "$ac_compile") 2>conftest.er1
26943 ac_status=$?
26944 grep -v '^ *+' conftest.er1 >conftest.err
26945 rm -f conftest.er1
26946 cat conftest.err >&5
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); } && {
26949 test -z "$ac_cxx_werror_flag" ||
26950 test ! -s conftest.err
26951 } && test -s conftest.$ac_objext; then
26952 wx_cv_class_stdhashmapset=yes
26953 else
26954 echo "$as_me: failed program was:" >&5
26955 sed 's/^/| /' conftest.$ac_ext >&5
26956
26957 wx_cv_class_stdhashmapset=no
26958 fi
26959
26960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26961
26962
26963 fi
26964 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26965 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26966 fi
26967
26968
26969
26970 if test "$wx_cv_class_stdhashmapset" = yes; then
26971 cat >>confdefs.h <<\_ACEOF
26972 #define HAVE_HASH_MAP 1
26973 _ACEOF
26974
26975 cat >>confdefs.h <<\_ACEOF
26976 #define HAVE_STD_HASH_MAP 1
26977 _ACEOF
26978
26979 fi
26980
26981 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26982 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26983 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26984 echo $ECHO_N "(cached) $ECHO_C" >&6
26985 else
26986 cat >conftest.$ac_ext <<_ACEOF
26987 /* confdefs.h. */
26988 _ACEOF
26989 cat confdefs.h >>conftest.$ac_ext
26990 cat >>conftest.$ac_ext <<_ACEOF
26991 /* end confdefs.h. */
26992
26993
26994
26995 #include <ext/hash_map>
26996 _ACEOF
26997 rm -f conftest.$ac_objext
26998 if { (ac_try="$ac_compile"
26999 case "(($ac_try" in
27000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27001 *) ac_try_echo=$ac_try;;
27002 esac
27003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27004 (eval "$ac_compile") 2>conftest.er1
27005 ac_status=$?
27006 grep -v '^ *+' conftest.er1 >conftest.err
27007 rm -f conftest.er1
27008 cat conftest.err >&5
27009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010 (exit $ac_status); } && {
27011 test -z "$ac_cxx_werror_flag" ||
27012 test ! -s conftest.err
27013 } && test -s conftest.$ac_objext; then
27014 ac_cv_header_ext_hash_map=yes
27015 else
27016 echo "$as_me: failed program was:" >&5
27017 sed 's/^/| /' conftest.$ac_ext >&5
27018
27019 ac_cv_header_ext_hash_map=no
27020 fi
27021
27022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27023 fi
27024 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27025 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27026 if test $ac_cv_header_ext_hash_map = yes; then
27027 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27028 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27029 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27030 echo $ECHO_N "(cached) $ECHO_C" >&6
27031 else
27032 cat >conftest.$ac_ext <<_ACEOF
27033 /* confdefs.h. */
27034 _ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27038 #include <ext/hash_map>
27039 #include <ext/hash_set>
27040 int
27041 main ()
27042 {
27043 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27044 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27045 ;
27046 return 0;
27047 }
27048 _ACEOF
27049 rm -f conftest.$ac_objext
27050 if { (ac_try="$ac_compile"
27051 case "(($ac_try" in
27052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27053 *) ac_try_echo=$ac_try;;
27054 esac
27055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27056 (eval "$ac_compile") 2>conftest.er1
27057 ac_status=$?
27058 grep -v '^ *+' conftest.er1 >conftest.err
27059 rm -f conftest.er1
27060 cat conftest.err >&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } && {
27063 test -z "$ac_cxx_werror_flag" ||
27064 test ! -s conftest.err
27065 } && test -s conftest.$ac_objext; then
27066 wx_cv_class_gnuhashmapset=yes
27067 else
27068 echo "$as_me: failed program was:" >&5
27069 sed 's/^/| /' conftest.$ac_ext >&5
27070
27071 wx_cv_class_gnuhashmapset=no
27072 fi
27073
27074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27075
27076
27077 fi
27078 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27079 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27080 fi
27081
27082
27083
27084 if test "$wx_cv_class_gnuhashmapset" = yes; then
27085 cat >>confdefs.h <<\_ACEOF
27086 #define HAVE_EXT_HASH_MAP 1
27087 _ACEOF
27088
27089 cat >>confdefs.h <<\_ACEOF
27090 #define HAVE_GNU_CXX_HASH_MAP 1
27091 _ACEOF
27092
27093 fi
27094 fi
27095
27096 ac_ext=c
27097 ac_cpp='$CPP $CPPFLAGS'
27098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27101
27102
27103
27104 SEARCH_INCLUDE="\
27105 /usr/local/include \
27106 \
27107 /usr/Motif-2.1/include \
27108 /usr/Motif-1.2/include \
27109 /usr/include/Motif1.2 \
27110 \
27111 /usr/dt/include \
27112 /usr/openwin/include \
27113 \
27114 /usr/include/Xm \
27115 \
27116 /usr/X11R6/include \
27117 /usr/X11R6.4/include \
27118 /usr/X11R5/include \
27119 /usr/X11R4/include \
27120 \
27121 /usr/include/X11R6 \
27122 /usr/include/X11R5 \
27123 /usr/include/X11R4 \
27124 \
27125 /usr/local/X11R6/include \
27126 /usr/local/X11R5/include \
27127 /usr/local/X11R4/include \
27128 \
27129 /usr/local/include/X11R6 \
27130 /usr/local/include/X11R5 \
27131 /usr/local/include/X11R4 \
27132 \
27133 /usr/X11/include \
27134 /usr/include/X11 \
27135 /usr/local/X11/include \
27136 /usr/local/include/X11 \
27137 \
27138 /usr/XFree86/include/X11 \
27139 /usr/pkg/include \
27140 \
27141 /usr/openwin/share/include"
27142
27143 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27144 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27145
27146 case "${host}" in
27147 *-*-irix6* )
27148 if test "${wx_cv_std_libpath+set}" = set; then
27149 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 else
27151
27152 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27153 for e in a so sl dylib dll.a; do
27154 libc="$d/libc.$e"
27155 if test -f $libc; then
27156 save_LIBS="$LIBS"
27157 LIBS="$libc"
27158 cat >conftest.$ac_ext <<_ACEOF
27159 int main() { return 0; }
27160 _ACEOF
27161 rm -f conftest.$ac_objext conftest$ac_exeext
27162 if { (ac_try="$ac_link"
27163 case "(($ac_try" in
27164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27165 *) ac_try_echo=$ac_try;;
27166 esac
27167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27168 (eval "$ac_link") 2>conftest.er1
27169 ac_status=$?
27170 grep -v '^ *+' conftest.er1 >conftest.err
27171 rm -f conftest.er1
27172 cat conftest.err >&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); } && {
27175 test -z "$ac_c_werror_flag" ||
27176 test ! -s conftest.err
27177 } && test -s conftest$ac_exeext &&
27178 $as_test_x conftest$ac_exeext; then
27179 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27180 else
27181 echo "$as_me: failed program was:" >&5
27182 sed 's/^/| /' conftest.$ac_ext >&5
27183
27184
27185 fi
27186
27187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27188 conftest$ac_exeext conftest.$ac_ext
27189 LIBS="$save_LIBS"
27190 if test "x$wx_cv_std_libpath" != "x"; then
27191 break 2
27192 fi
27193 fi
27194 done
27195 done
27196 if test "x$wx_cv_std_libpath" = "x"; then
27197 wx_cv_std_libpath="lib"
27198 fi
27199
27200
27201 fi
27202
27203 ;;
27204
27205 *-*-solaris2* )
27206 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27207 wx_cv_std_libpath="lib/64"
27208 else
27209 wx_cv_std_libpath="lib"
27210 fi
27211 ;;
27212
27213 *-*-linux* )
27214 if test "$ac_cv_sizeof_void_p" = 8 -a \
27215 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27216 wx_cv_std_libpath="lib64"
27217 else
27218 wx_cv_std_libpath="lib"
27219 fi
27220 ;;
27221
27222 *)
27223 wx_cv_std_libpath="lib";
27224 ;;
27225 esac
27226
27227 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27228 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27229
27230 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27231
27232 if test "$build" != "$host" -a "$GCC" = yes; then
27233 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27234 cross_root=`dirname $cross_root`
27235 cross_root=`dirname $cross_root`
27236
27237 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27238 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27239 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27240
27241 if test -z "$PKG_CONFIG_PATH"; then
27242 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27243 export PKG_CONFIG_PATH
27244 fi
27245
27246 if test -z "$x_includes" -o "$x_includes" = NONE; then
27247
27248 ac_find_includes=
27249 for ac_dir in $SEARCH_INCLUDE /usr/include;
27250 do
27251 if test -f "$ac_dir/X11/Intrinsic.h"; then
27252 ac_find_includes=$ac_dir
27253 break
27254 fi
27255 done
27256
27257 x_includes=$ac_find_includes
27258 fi
27259 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27260
27261 ac_find_libraries=
27262 for ac_dir in $SEARCH_LIB;
27263 do
27264 for ac_extension in a so sl dylib dll.a; do
27265 if test -f "$ac_dir/libXt.$ac_extension"; then
27266 ac_find_libraries=$ac_dir
27267 break 2
27268 fi
27269 done
27270 done
27271
27272 x_libraries=$ac_find_libraries
27273 fi
27274 fi
27275 fi
27276
27277
27278 cat >confcache <<\_ACEOF
27279 # This file is a shell script that caches the results of configure
27280 # tests run on this system so they can be shared between configure
27281 # scripts and configure runs, see configure's option --config-cache.
27282 # It is not useful on other systems. If it contains results you don't
27283 # want to keep, you may remove or edit it.
27284 #
27285 # config.status only pays attention to the cache file if you give it
27286 # the --recheck option to rerun configure.
27287 #
27288 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27289 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27290 # following values.
27291
27292 _ACEOF
27293
27294 # The following way of writing the cache mishandles newlines in values,
27295 # but we know of no workaround that is simple, portable, and efficient.
27296 # So, we kill variables containing newlines.
27297 # Ultrix sh set writes to stderr and can't be redirected directly,
27298 # and sets the high bit in the cache file unless we assign to the vars.
27299 (
27300 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27301 eval ac_val=\$$ac_var
27302 case $ac_val in #(
27303 *${as_nl}*)
27304 case $ac_var in #(
27305 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27306 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27307 esac
27308 case $ac_var in #(
27309 _ | IFS | as_nl) ;; #(
27310 *) $as_unset $ac_var ;;
27311 esac ;;
27312 esac
27313 done
27314
27315 (set) 2>&1 |
27316 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27317 *${as_nl}ac_space=\ *)
27318 # `set' does not quote correctly, so add quotes (double-quote
27319 # substitution turns \\\\ into \\, and sed turns \\ into \).
27320 sed -n \
27321 "s/'/'\\\\''/g;
27322 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27323 ;; #(
27324 *)
27325 # `set' quotes correctly as required by POSIX, so do not add quotes.
27326 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27327 ;;
27328 esac |
27329 sort
27330 ) |
27331 sed '
27332 /^ac_cv_env_/b end
27333 t clear
27334 :clear
27335 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27336 t end
27337 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27338 :end' >>confcache
27339 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27340 if test -w "$cache_file"; then
27341 test "x$cache_file" != "x/dev/null" &&
27342 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27343 echo "$as_me: updating cache $cache_file" >&6;}
27344 cat confcache >$cache_file
27345 else
27346 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27347 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27348 fi
27349 fi
27350 rm -f confcache
27351
27352 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27353 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27354 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27355 if test "${wx_cv_lib_glibc21+set}" = set; then
27356 echo $ECHO_N "(cached) $ECHO_C" >&6
27357 else
27358
27359 cat >conftest.$ac_ext <<_ACEOF
27360 /* confdefs.h. */
27361 _ACEOF
27362 cat confdefs.h >>conftest.$ac_ext
27363 cat >>conftest.$ac_ext <<_ACEOF
27364 /* end confdefs.h. */
27365 #include <features.h>
27366 int
27367 main ()
27368 {
27369
27370 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27371 not glibc 2.1
27372 #endif
27373
27374 ;
27375 return 0;
27376 }
27377 _ACEOF
27378 rm -f conftest.$ac_objext
27379 if { (ac_try="$ac_compile"
27380 case "(($ac_try" in
27381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27382 *) ac_try_echo=$ac_try;;
27383 esac
27384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27385 (eval "$ac_compile") 2>conftest.er1
27386 ac_status=$?
27387 grep -v '^ *+' conftest.er1 >conftest.err
27388 rm -f conftest.er1
27389 cat conftest.err >&5
27390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27391 (exit $ac_status); } && {
27392 test -z "$ac_c_werror_flag" ||
27393 test ! -s conftest.err
27394 } && test -s conftest.$ac_objext; then
27395
27396 wx_cv_lib_glibc21=yes
27397
27398 else
27399 echo "$as_me: failed program was:" >&5
27400 sed 's/^/| /' conftest.$ac_ext >&5
27401
27402
27403 wx_cv_lib_glibc21=no
27404
27405
27406 fi
27407
27408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27409
27410 fi
27411 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27412 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27413 if test "$wx_cv_lib_glibc21" = "yes"; then
27414 cat >>confdefs.h <<\_ACEOF
27415 #define wxHAVE_GLIBC2 1
27416 _ACEOF
27417
27418 fi
27419 fi
27420
27421 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27422 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27423 cat >>confdefs.h <<\_ACEOF
27424 #define _GNU_SOURCE 1
27425 _ACEOF
27426
27427 fi
27428 fi
27429
27430 have_cos=0
27431 have_floor=0
27432
27433 for ac_func in cos
27434 do
27435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27439 echo $ECHO_N "(cached) $ECHO_C" >&6
27440 else
27441 cat >conftest.$ac_ext <<_ACEOF
27442 /* confdefs.h. */
27443 _ACEOF
27444 cat confdefs.h >>conftest.$ac_ext
27445 cat >>conftest.$ac_ext <<_ACEOF
27446 /* end confdefs.h. */
27447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27449 #define $ac_func innocuous_$ac_func
27450
27451 /* System header to define __stub macros and hopefully few prototypes,
27452 which can conflict with char $ac_func (); below.
27453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27454 <limits.h> exists even on freestanding compilers. */
27455
27456 #ifdef __STDC__
27457 # include <limits.h>
27458 #else
27459 # include <assert.h>
27460 #endif
27461
27462 #undef $ac_func
27463
27464 /* Override any GCC internal prototype to avoid an error.
27465 Use char because int might match the return type of a GCC
27466 builtin and then its argument prototype would still apply. */
27467 #ifdef __cplusplus
27468 extern "C"
27469 #endif
27470 char $ac_func ();
27471 /* The GNU C library defines this for functions which it implements
27472 to always fail with ENOSYS. Some functions are actually named
27473 something starting with __ and the normal name is an alias. */
27474 #if defined __stub_$ac_func || defined __stub___$ac_func
27475 choke me
27476 #endif
27477
27478 int
27479 main ()
27480 {
27481 return $ac_func ();
27482 ;
27483 return 0;
27484 }
27485 _ACEOF
27486 rm -f conftest.$ac_objext conftest$ac_exeext
27487 if { (ac_try="$ac_link"
27488 case "(($ac_try" in
27489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27490 *) ac_try_echo=$ac_try;;
27491 esac
27492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27493 (eval "$ac_link") 2>conftest.er1
27494 ac_status=$?
27495 grep -v '^ *+' conftest.er1 >conftest.err
27496 rm -f conftest.er1
27497 cat conftest.err >&5
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); } && {
27500 test -z "$ac_c_werror_flag" ||
27501 test ! -s conftest.err
27502 } && test -s conftest$ac_exeext &&
27503 $as_test_x conftest$ac_exeext; then
27504 eval "$as_ac_var=yes"
27505 else
27506 echo "$as_me: failed program was:" >&5
27507 sed 's/^/| /' conftest.$ac_ext >&5
27508
27509 eval "$as_ac_var=no"
27510 fi
27511
27512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27513 conftest$ac_exeext conftest.$ac_ext
27514 fi
27515 ac_res=`eval echo '${'$as_ac_var'}'`
27516 { echo "$as_me:$LINENO: result: $ac_res" >&5
27517 echo "${ECHO_T}$ac_res" >&6; }
27518 if test `eval echo '${'$as_ac_var'}'` = yes; then
27519 cat >>confdefs.h <<_ACEOF
27520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27521 _ACEOF
27522 have_cos=1
27523 fi
27524 done
27525
27526
27527 for ac_func in floor
27528 do
27529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27530 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27532 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27533 echo $ECHO_N "(cached) $ECHO_C" >&6
27534 else
27535 cat >conftest.$ac_ext <<_ACEOF
27536 /* confdefs.h. */
27537 _ACEOF
27538 cat confdefs.h >>conftest.$ac_ext
27539 cat >>conftest.$ac_ext <<_ACEOF
27540 /* end confdefs.h. */
27541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27543 #define $ac_func innocuous_$ac_func
27544
27545 /* System header to define __stub macros and hopefully few prototypes,
27546 which can conflict with char $ac_func (); below.
27547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27548 <limits.h> exists even on freestanding compilers. */
27549
27550 #ifdef __STDC__
27551 # include <limits.h>
27552 #else
27553 # include <assert.h>
27554 #endif
27555
27556 #undef $ac_func
27557
27558 /* Override any GCC internal prototype to avoid an error.
27559 Use char because int might match the return type of a GCC
27560 builtin and then its argument prototype would still apply. */
27561 #ifdef __cplusplus
27562 extern "C"
27563 #endif
27564 char $ac_func ();
27565 /* The GNU C library defines this for functions which it implements
27566 to always fail with ENOSYS. Some functions are actually named
27567 something starting with __ and the normal name is an alias. */
27568 #if defined __stub_$ac_func || defined __stub___$ac_func
27569 choke me
27570 #endif
27571
27572 int
27573 main ()
27574 {
27575 return $ac_func ();
27576 ;
27577 return 0;
27578 }
27579 _ACEOF
27580 rm -f conftest.$ac_objext conftest$ac_exeext
27581 if { (ac_try="$ac_link"
27582 case "(($ac_try" in
27583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27584 *) ac_try_echo=$ac_try;;
27585 esac
27586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27587 (eval "$ac_link") 2>conftest.er1
27588 ac_status=$?
27589 grep -v '^ *+' conftest.er1 >conftest.err
27590 rm -f conftest.er1
27591 cat conftest.err >&5
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); } && {
27594 test -z "$ac_c_werror_flag" ||
27595 test ! -s conftest.err
27596 } && test -s conftest$ac_exeext &&
27597 $as_test_x conftest$ac_exeext; then
27598 eval "$as_ac_var=yes"
27599 else
27600 echo "$as_me: failed program was:" >&5
27601 sed 's/^/| /' conftest.$ac_ext >&5
27602
27603 eval "$as_ac_var=no"
27604 fi
27605
27606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27607 conftest$ac_exeext conftest.$ac_ext
27608 fi
27609 ac_res=`eval echo '${'$as_ac_var'}'`
27610 { echo "$as_me:$LINENO: result: $ac_res" >&5
27611 echo "${ECHO_T}$ac_res" >&6; }
27612 if test `eval echo '${'$as_ac_var'}'` = yes; then
27613 cat >>confdefs.h <<_ACEOF
27614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27615 _ACEOF
27616 have_floor=1
27617 fi
27618 done
27619
27620 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27621 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27622 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27623 { echo "$as_me:$LINENO: result: yes" >&5
27624 echo "${ECHO_T}yes" >&6; }
27625 else
27626 { echo "$as_me:$LINENO: result: no" >&5
27627 echo "${ECHO_T}no" >&6; }
27628 LIBS="$LIBS -lm"
27629 # use different functions to avoid configure caching
27630 have_sin=0
27631 have_ceil=0
27632
27633 for ac_func in sin
27634 do
27635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27636 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27638 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27639 echo $ECHO_N "(cached) $ECHO_C" >&6
27640 else
27641 cat >conftest.$ac_ext <<_ACEOF
27642 /* confdefs.h. */
27643 _ACEOF
27644 cat confdefs.h >>conftest.$ac_ext
27645 cat >>conftest.$ac_ext <<_ACEOF
27646 /* end confdefs.h. */
27647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27649 #define $ac_func innocuous_$ac_func
27650
27651 /* System header to define __stub macros and hopefully few prototypes,
27652 which can conflict with char $ac_func (); below.
27653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27654 <limits.h> exists even on freestanding compilers. */
27655
27656 #ifdef __STDC__
27657 # include <limits.h>
27658 #else
27659 # include <assert.h>
27660 #endif
27661
27662 #undef $ac_func
27663
27664 /* Override any GCC internal prototype to avoid an error.
27665 Use char because int might match the return type of a GCC
27666 builtin and then its argument prototype would still apply. */
27667 #ifdef __cplusplus
27668 extern "C"
27669 #endif
27670 char $ac_func ();
27671 /* The GNU C library defines this for functions which it implements
27672 to always fail with ENOSYS. Some functions are actually named
27673 something starting with __ and the normal name is an alias. */
27674 #if defined __stub_$ac_func || defined __stub___$ac_func
27675 choke me
27676 #endif
27677
27678 int
27679 main ()
27680 {
27681 return $ac_func ();
27682 ;
27683 return 0;
27684 }
27685 _ACEOF
27686 rm -f conftest.$ac_objext conftest$ac_exeext
27687 if { (ac_try="$ac_link"
27688 case "(($ac_try" in
27689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27690 *) ac_try_echo=$ac_try;;
27691 esac
27692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27693 (eval "$ac_link") 2>conftest.er1
27694 ac_status=$?
27695 grep -v '^ *+' conftest.er1 >conftest.err
27696 rm -f conftest.er1
27697 cat conftest.err >&5
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); } && {
27700 test -z "$ac_c_werror_flag" ||
27701 test ! -s conftest.err
27702 } && test -s conftest$ac_exeext &&
27703 $as_test_x conftest$ac_exeext; then
27704 eval "$as_ac_var=yes"
27705 else
27706 echo "$as_me: failed program was:" >&5
27707 sed 's/^/| /' conftest.$ac_ext >&5
27708
27709 eval "$as_ac_var=no"
27710 fi
27711
27712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27713 conftest$ac_exeext conftest.$ac_ext
27714 fi
27715 ac_res=`eval echo '${'$as_ac_var'}'`
27716 { echo "$as_me:$LINENO: result: $ac_res" >&5
27717 echo "${ECHO_T}$ac_res" >&6; }
27718 if test `eval echo '${'$as_ac_var'}'` = yes; then
27719 cat >>confdefs.h <<_ACEOF
27720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27721 _ACEOF
27722 have_sin=1
27723 fi
27724 done
27725
27726
27727 for ac_func in ceil
27728 do
27729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27730 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27732 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27733 echo $ECHO_N "(cached) $ECHO_C" >&6
27734 else
27735 cat >conftest.$ac_ext <<_ACEOF
27736 /* confdefs.h. */
27737 _ACEOF
27738 cat confdefs.h >>conftest.$ac_ext
27739 cat >>conftest.$ac_ext <<_ACEOF
27740 /* end confdefs.h. */
27741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27743 #define $ac_func innocuous_$ac_func
27744
27745 /* System header to define __stub macros and hopefully few prototypes,
27746 which can conflict with char $ac_func (); below.
27747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27748 <limits.h> exists even on freestanding compilers. */
27749
27750 #ifdef __STDC__
27751 # include <limits.h>
27752 #else
27753 # include <assert.h>
27754 #endif
27755
27756 #undef $ac_func
27757
27758 /* Override any GCC internal prototype to avoid an error.
27759 Use char because int might match the return type of a GCC
27760 builtin and then its argument prototype would still apply. */
27761 #ifdef __cplusplus
27762 extern "C"
27763 #endif
27764 char $ac_func ();
27765 /* The GNU C library defines this for functions which it implements
27766 to always fail with ENOSYS. Some functions are actually named
27767 something starting with __ and the normal name is an alias. */
27768 #if defined __stub_$ac_func || defined __stub___$ac_func
27769 choke me
27770 #endif
27771
27772 int
27773 main ()
27774 {
27775 return $ac_func ();
27776 ;
27777 return 0;
27778 }
27779 _ACEOF
27780 rm -f conftest.$ac_objext conftest$ac_exeext
27781 if { (ac_try="$ac_link"
27782 case "(($ac_try" in
27783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27784 *) ac_try_echo=$ac_try;;
27785 esac
27786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27787 (eval "$ac_link") 2>conftest.er1
27788 ac_status=$?
27789 grep -v '^ *+' conftest.er1 >conftest.err
27790 rm -f conftest.er1
27791 cat conftest.err >&5
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); } && {
27794 test -z "$ac_c_werror_flag" ||
27795 test ! -s conftest.err
27796 } && test -s conftest$ac_exeext &&
27797 $as_test_x conftest$ac_exeext; then
27798 eval "$as_ac_var=yes"
27799 else
27800 echo "$as_me: failed program was:" >&5
27801 sed 's/^/| /' conftest.$ac_ext >&5
27802
27803 eval "$as_ac_var=no"
27804 fi
27805
27806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27807 conftest$ac_exeext conftest.$ac_ext
27808 fi
27809 ac_res=`eval echo '${'$as_ac_var'}'`
27810 { echo "$as_me:$LINENO: result: $ac_res" >&5
27811 echo "${ECHO_T}$ac_res" >&6; }
27812 if test `eval echo '${'$as_ac_var'}'` = yes; then
27813 cat >>confdefs.h <<_ACEOF
27814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27815 _ACEOF
27816 have_ceil=1
27817 fi
27818 done
27819
27820 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27821 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27822 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27823 { echo "$as_me:$LINENO: result: yes" >&5
27824 echo "${ECHO_T}yes" >&6; }
27825 else
27826 { echo "$as_me:$LINENO: result: no" >&5
27827 echo "${ECHO_T}no" >&6; }
27828 # not sure we should warn the user, crash, etc.
27829 fi
27830 fi
27831
27832 ac_ext=cpp
27833 ac_cpp='$CXXCPP $CPPFLAGS'
27834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27837
27838 if test "wxUSE_UNICODE" = "yes"; then
27839
27840 for wx_func in wcstoull
27841 do
27842 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27843 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27844 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27847
27848 cat >conftest.$ac_ext <<_ACEOF
27849
27850 /* confdefs.h. */
27851 _ACEOF
27852 cat confdefs.h >>conftest.$ac_ext
27853 cat >>conftest.$ac_ext <<_ACEOF
27854 /* end confdefs.h. */
27855
27856
27857 $ac_includes_default
27858
27859 int
27860 main ()
27861 {
27862
27863 #ifndef $wx_func
27864 &$wx_func;
27865 #endif
27866
27867
27868 ;
27869 return 0;
27870 }
27871
27872 _ACEOF
27873 rm -f conftest.$ac_objext conftest$ac_exeext
27874 if { (ac_try="$ac_link"
27875 case "(($ac_try" in
27876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27877 *) ac_try_echo=$ac_try;;
27878 esac
27879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27880 (eval "$ac_link") 2>conftest.er1
27881 ac_status=$?
27882 grep -v '^ *+' conftest.er1 >conftest.err
27883 rm -f conftest.er1
27884 cat conftest.err >&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); } && {
27887 test -z "$ac_cxx_werror_flag" ||
27888 test ! -s conftest.err
27889 } && test -s conftest$ac_exeext &&
27890 $as_test_x conftest$ac_exeext; then
27891 eval wx_cv_func_$wx_func=yes
27892 else
27893 echo "$as_me: failed program was:" >&5
27894 sed 's/^/| /' conftest.$ac_ext >&5
27895
27896 eval wx_cv_func_$wx_func=no
27897 fi
27898
27899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27900 conftest$ac_exeext conftest.$ac_ext
27901
27902 fi
27903 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27904 { echo "$as_me:$LINENO: result: $ac_res" >&5
27905 echo "${ECHO_T}$ac_res" >&6; }
27906
27907 if eval test \$wx_cv_func_$wx_func = yes
27908 then
27909 cat >>confdefs.h <<_ACEOF
27910 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27911 _ACEOF
27912
27913
27914 else
27915 :
27916
27917 fi
27918 done
27919
27920 else
27921
27922 for wx_func in strtoull
27923 do
27924 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27925 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27926 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27927 echo $ECHO_N "(cached) $ECHO_C" >&6
27928 else
27929
27930 cat >conftest.$ac_ext <<_ACEOF
27931
27932 /* confdefs.h. */
27933 _ACEOF
27934 cat confdefs.h >>conftest.$ac_ext
27935 cat >>conftest.$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27937
27938
27939 $ac_includes_default
27940
27941 int
27942 main ()
27943 {
27944
27945 #ifndef $wx_func
27946 &$wx_func;
27947 #endif
27948
27949
27950 ;
27951 return 0;
27952 }
27953
27954 _ACEOF
27955 rm -f conftest.$ac_objext conftest$ac_exeext
27956 if { (ac_try="$ac_link"
27957 case "(($ac_try" in
27958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27959 *) ac_try_echo=$ac_try;;
27960 esac
27961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27962 (eval "$ac_link") 2>conftest.er1
27963 ac_status=$?
27964 grep -v '^ *+' conftest.er1 >conftest.err
27965 rm -f conftest.er1
27966 cat conftest.err >&5
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); } && {
27969 test -z "$ac_cxx_werror_flag" ||
27970 test ! -s conftest.err
27971 } && test -s conftest$ac_exeext &&
27972 $as_test_x conftest$ac_exeext; then
27973 eval wx_cv_func_$wx_func=yes
27974 else
27975 echo "$as_me: failed program was:" >&5
27976 sed 's/^/| /' conftest.$ac_ext >&5
27977
27978 eval wx_cv_func_$wx_func=no
27979 fi
27980
27981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27982 conftest$ac_exeext conftest.$ac_ext
27983
27984 fi
27985 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27986 { echo "$as_me:$LINENO: result: $ac_res" >&5
27987 echo "${ECHO_T}$ac_res" >&6; }
27988
27989 if eval test \$wx_cv_func_$wx_func = yes
27990 then
27991 cat >>confdefs.h <<_ACEOF
27992 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27993 _ACEOF
27994
27995
27996 else
27997 :
27998
27999 fi
28000 done
28001
28002 fi
28003 ac_ext=c
28004 ac_cpp='$CPP $CPPFLAGS'
28005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28008
28009
28010
28011
28012 if test "$wxUSE_REGEX" != "no"; then
28013 cat >>confdefs.h <<\_ACEOF
28014 #define wxUSE_REGEX 1
28015 _ACEOF
28016
28017
28018 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28019 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28020 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28021 wxUSE_REGEX=builtin
28022 fi
28023
28024 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28025 { echo "$as_me:$LINENO: checking for regex.h" >&5
28026 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28027 if test "${ac_cv_header_regex_h+set}" = set; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28029 else
28030 cat >conftest.$ac_ext <<_ACEOF
28031 /* confdefs.h. */
28032 _ACEOF
28033 cat confdefs.h >>conftest.$ac_ext
28034 cat >>conftest.$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28036
28037
28038 #include <regex.h>
28039 _ACEOF
28040 rm -f conftest.$ac_objext
28041 if { (ac_try="$ac_compile"
28042 case "(($ac_try" in
28043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28044 *) ac_try_echo=$ac_try;;
28045 esac
28046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28047 (eval "$ac_compile") 2>conftest.er1
28048 ac_status=$?
28049 grep -v '^ *+' conftest.er1 >conftest.err
28050 rm -f conftest.er1
28051 cat conftest.err >&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); } && {
28054 test -z "$ac_c_werror_flag" ||
28055 test ! -s conftest.err
28056 } && test -s conftest.$ac_objext; then
28057 ac_cv_header_regex_h=yes
28058 else
28059 echo "$as_me: failed program was:" >&5
28060 sed 's/^/| /' conftest.$ac_ext >&5
28061
28062 ac_cv_header_regex_h=no
28063 fi
28064
28065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28066 fi
28067 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28068 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28069 if test $ac_cv_header_regex_h = yes; then
28070
28071
28072 for ac_func in regcomp re_search
28073 do
28074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28075 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28077 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28078 echo $ECHO_N "(cached) $ECHO_C" >&6
28079 else
28080 cat >conftest.$ac_ext <<_ACEOF
28081 /* confdefs.h. */
28082 _ACEOF
28083 cat confdefs.h >>conftest.$ac_ext
28084 cat >>conftest.$ac_ext <<_ACEOF
28085 /* end confdefs.h. */
28086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28088 #define $ac_func innocuous_$ac_func
28089
28090 /* System header to define __stub macros and hopefully few prototypes,
28091 which can conflict with char $ac_func (); below.
28092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28093 <limits.h> exists even on freestanding compilers. */
28094
28095 #ifdef __STDC__
28096 # include <limits.h>
28097 #else
28098 # include <assert.h>
28099 #endif
28100
28101 #undef $ac_func
28102
28103 /* Override any GCC internal prototype to avoid an error.
28104 Use char because int might match the return type of a GCC
28105 builtin and then its argument prototype would still apply. */
28106 #ifdef __cplusplus
28107 extern "C"
28108 #endif
28109 char $ac_func ();
28110 /* The GNU C library defines this for functions which it implements
28111 to always fail with ENOSYS. Some functions are actually named
28112 something starting with __ and the normal name is an alias. */
28113 #if defined __stub_$ac_func || defined __stub___$ac_func
28114 choke me
28115 #endif
28116
28117 int
28118 main ()
28119 {
28120 return $ac_func ();
28121 ;
28122 return 0;
28123 }
28124 _ACEOF
28125 rm -f conftest.$ac_objext conftest$ac_exeext
28126 if { (ac_try="$ac_link"
28127 case "(($ac_try" in
28128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28129 *) ac_try_echo=$ac_try;;
28130 esac
28131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28132 (eval "$ac_link") 2>conftest.er1
28133 ac_status=$?
28134 grep -v '^ *+' conftest.er1 >conftest.err
28135 rm -f conftest.er1
28136 cat conftest.err >&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); } && {
28139 test -z "$ac_c_werror_flag" ||
28140 test ! -s conftest.err
28141 } && test -s conftest$ac_exeext &&
28142 $as_test_x conftest$ac_exeext; then
28143 eval "$as_ac_var=yes"
28144 else
28145 echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28147
28148 eval "$as_ac_var=no"
28149 fi
28150
28151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28152 conftest$ac_exeext conftest.$ac_ext
28153 fi
28154 ac_res=`eval echo '${'$as_ac_var'}'`
28155 { echo "$as_me:$LINENO: result: $ac_res" >&5
28156 echo "${ECHO_T}$ac_res" >&6; }
28157 if test `eval echo '${'$as_ac_var'}'` = yes; then
28158 cat >>confdefs.h <<_ACEOF
28159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28160 _ACEOF
28161
28162 fi
28163 done
28164
28165 fi
28166
28167
28168
28169 if test "x$ac_cv_func_regcomp" != "xyes"; then
28170 if test "$wxUSE_REGEX" = "sys" ; then
28171 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28172 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28173 { (exit 1); exit 1; }; }
28174 else
28175 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28176 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28177 wxUSE_REGEX=builtin
28178 fi
28179 else
28180 wxUSE_REGEX=sys
28181 cat >>confdefs.h <<\_ACEOF
28182 #define WX_NO_REGEX_ADVANCED 1
28183 _ACEOF
28184
28185 fi
28186 fi
28187 fi
28188
28189
28190 ZLIB_LINK=
28191 if test "$wxUSE_ZLIB" != "no" ; then
28192 cat >>confdefs.h <<\_ACEOF
28193 #define wxUSE_ZLIB 1
28194 _ACEOF
28195
28196
28197 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28198 if test "$USE_DARWIN" = 1; then
28199 system_zlib_h_ok="yes"
28200 else
28201 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28202 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28203 if test "${ac_cv_header_zlib_h+set}" = set; then
28204 echo $ECHO_N "(cached) $ECHO_C" >&6
28205 else
28206 if test "$cross_compiling" = yes; then
28207 unset ac_cv_header_zlib_h
28208
28209 else
28210 cat >conftest.$ac_ext <<_ACEOF
28211 /* confdefs.h. */
28212 _ACEOF
28213 cat confdefs.h >>conftest.$ac_ext
28214 cat >>conftest.$ac_ext <<_ACEOF
28215 /* end confdefs.h. */
28216
28217 #include <zlib.h>
28218 #include <stdio.h>
28219
28220 int main()
28221 {
28222 FILE *f=fopen("conftestval", "w");
28223 if (!f) exit(1);
28224 fprintf(f, "%s",
28225 ZLIB_VERSION[0] == '1' &&
28226 (ZLIB_VERSION[2] > '1' ||
28227 (ZLIB_VERSION[2] == '1' &&
28228 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28229 exit(0);
28230 }
28231
28232 _ACEOF
28233 rm -f conftest$ac_exeext
28234 if { (ac_try="$ac_link"
28235 case "(($ac_try" in
28236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28237 *) ac_try_echo=$ac_try;;
28238 esac
28239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28240 (eval "$ac_link") 2>&5
28241 ac_status=$?
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28244 { (case "(($ac_try" in
28245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28246 *) ac_try_echo=$ac_try;;
28247 esac
28248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249 (eval "$ac_try") 2>&5
28250 ac_status=$?
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; }; then
28253 ac_cv_header_zlib_h=`cat conftestval`
28254 else
28255 echo "$as_me: program exited with status $ac_status" >&5
28256 echo "$as_me: failed program was:" >&5
28257 sed 's/^/| /' conftest.$ac_ext >&5
28258
28259 ( exit $ac_status )
28260 ac_cv_header_zlib_h=no
28261 fi
28262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28263 fi
28264
28265
28266
28267 fi
28268 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28269 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28270 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28271 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28272 if test "${ac_cv_header_zlib_h+set}" = set; then
28273 echo $ECHO_N "(cached) $ECHO_C" >&6
28274 else
28275 cat >conftest.$ac_ext <<_ACEOF
28276 /* confdefs.h. */
28277 _ACEOF
28278 cat confdefs.h >>conftest.$ac_ext
28279 cat >>conftest.$ac_ext <<_ACEOF
28280 /* end confdefs.h. */
28281
28282
28283 #include <zlib.h>
28284 _ACEOF
28285 rm -f conftest.$ac_objext
28286 if { (ac_try="$ac_compile"
28287 case "(($ac_try" in
28288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28289 *) ac_try_echo=$ac_try;;
28290 esac
28291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28292 (eval "$ac_compile") 2>conftest.er1
28293 ac_status=$?
28294 grep -v '^ *+' conftest.er1 >conftest.err
28295 rm -f conftest.er1
28296 cat conftest.err >&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); } && {
28299 test -z "$ac_c_werror_flag" ||
28300 test ! -s conftest.err
28301 } && test -s conftest.$ac_objext; then
28302 ac_cv_header_zlib_h=yes
28303 else
28304 echo "$as_me: failed program was:" >&5
28305 sed 's/^/| /' conftest.$ac_ext >&5
28306
28307 ac_cv_header_zlib_h=no
28308 fi
28309
28310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28311 fi
28312 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28313 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28314
28315
28316
28317 system_zlib_h_ok=$ac_cv_header_zlib_h
28318 fi
28319
28320 if test "$system_zlib_h_ok" = "yes"; then
28321 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28322 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28323 if test "${ac_cv_lib_z_deflate+set}" = set; then
28324 echo $ECHO_N "(cached) $ECHO_C" >&6
28325 else
28326 ac_check_lib_save_LIBS=$LIBS
28327 LIBS="-lz $LIBS"
28328 cat >conftest.$ac_ext <<_ACEOF
28329 /* confdefs.h. */
28330 _ACEOF
28331 cat confdefs.h >>conftest.$ac_ext
28332 cat >>conftest.$ac_ext <<_ACEOF
28333 /* end confdefs.h. */
28334
28335 /* Override any GCC internal prototype to avoid an error.
28336 Use char because int might match the return type of a GCC
28337 builtin and then its argument prototype would still apply. */
28338 #ifdef __cplusplus
28339 extern "C"
28340 #endif
28341 char deflate ();
28342 int
28343 main ()
28344 {
28345 return deflate ();
28346 ;
28347 return 0;
28348 }
28349 _ACEOF
28350 rm -f conftest.$ac_objext conftest$ac_exeext
28351 if { (ac_try="$ac_link"
28352 case "(($ac_try" in
28353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28354 *) ac_try_echo=$ac_try;;
28355 esac
28356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28357 (eval "$ac_link") 2>conftest.er1
28358 ac_status=$?
28359 grep -v '^ *+' conftest.er1 >conftest.err
28360 rm -f conftest.er1
28361 cat conftest.err >&5
28362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363 (exit $ac_status); } && {
28364 test -z "$ac_c_werror_flag" ||
28365 test ! -s conftest.err
28366 } && test -s conftest$ac_exeext &&
28367 $as_test_x conftest$ac_exeext; then
28368 ac_cv_lib_z_deflate=yes
28369 else
28370 echo "$as_me: failed program was:" >&5
28371 sed 's/^/| /' conftest.$ac_ext >&5
28372
28373 ac_cv_lib_z_deflate=no
28374 fi
28375
28376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28377 conftest$ac_exeext conftest.$ac_ext
28378 LIBS=$ac_check_lib_save_LIBS
28379 fi
28380 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28381 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28382 if test $ac_cv_lib_z_deflate = yes; then
28383 ZLIB_LINK=" -lz"
28384 fi
28385
28386 fi
28387
28388 if test "x$ZLIB_LINK" = "x" ; then
28389 if test "$wxUSE_ZLIB" = "sys" ; then
28390 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28391 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28392 { (exit 1); exit 1; }; }
28393 else
28394 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28395 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28396 wxUSE_ZLIB=builtin
28397 fi
28398 else
28399 wxUSE_ZLIB=sys
28400 fi
28401 fi
28402 fi
28403
28404
28405 PNG_LINK=
28406 if test "$wxUSE_LIBPNG" != "no" ; then
28407 cat >>confdefs.h <<\_ACEOF
28408 #define wxUSE_LIBPNG 1
28409 _ACEOF
28410
28411
28412 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28413 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28414 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28415 wxUSE_LIBPNG=sys
28416 fi
28417
28418 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28419 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28420 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28421 wxUSE_LIBPNG=builtin
28422 fi
28423
28424 if test "$wxUSE_MGL" != 1 ; then
28425 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28426 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28427 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28428 if test "${ac_cv_header_png_h+set}" = set; then
28429 echo $ECHO_N "(cached) $ECHO_C" >&6
28430 else
28431 if test "$cross_compiling" = yes; then
28432 unset ac_cv_header_png_h
28433
28434 else
28435 cat >conftest.$ac_ext <<_ACEOF
28436 /* confdefs.h. */
28437 _ACEOF
28438 cat confdefs.h >>conftest.$ac_ext
28439 cat >>conftest.$ac_ext <<_ACEOF
28440 /* end confdefs.h. */
28441
28442 #include <png.h>
28443 #include <stdio.h>
28444
28445 int main()
28446 {
28447 FILE *f=fopen("conftestval", "w");
28448 if (!f) exit(1);
28449 fprintf(f, "%s",
28450 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28451 exit(0);
28452 }
28453
28454 _ACEOF
28455 rm -f conftest$ac_exeext
28456 if { (ac_try="$ac_link"
28457 case "(($ac_try" in
28458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28459 *) ac_try_echo=$ac_try;;
28460 esac
28461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28462 (eval "$ac_link") 2>&5
28463 ac_status=$?
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28466 { (case "(($ac_try" in
28467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28468 *) ac_try_echo=$ac_try;;
28469 esac
28470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28471 (eval "$ac_try") 2>&5
28472 ac_status=$?
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; }; then
28475 ac_cv_header_png_h=`cat conftestval`
28476 else
28477 echo "$as_me: program exited with status $ac_status" >&5
28478 echo "$as_me: failed program was:" >&5
28479 sed 's/^/| /' conftest.$ac_ext >&5
28480
28481 ( exit $ac_status )
28482 ac_cv_header_png_h=no
28483 fi
28484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28485 fi
28486
28487
28488
28489 fi
28490 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28491 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28492 { echo "$as_me:$LINENO: checking for png.h" >&5
28493 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28494 if test "${ac_cv_header_png_h+set}" = set; then
28495 echo $ECHO_N "(cached) $ECHO_C" >&6
28496 else
28497 cat >conftest.$ac_ext <<_ACEOF
28498 /* confdefs.h. */
28499 _ACEOF
28500 cat confdefs.h >>conftest.$ac_ext
28501 cat >>conftest.$ac_ext <<_ACEOF
28502 /* end confdefs.h. */
28503
28504
28505 #include <png.h>
28506 _ACEOF
28507 rm -f conftest.$ac_objext
28508 if { (ac_try="$ac_compile"
28509 case "(($ac_try" in
28510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28511 *) ac_try_echo=$ac_try;;
28512 esac
28513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28514 (eval "$ac_compile") 2>conftest.er1
28515 ac_status=$?
28516 grep -v '^ *+' conftest.er1 >conftest.err
28517 rm -f conftest.er1
28518 cat conftest.err >&5
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); } && {
28521 test -z "$ac_c_werror_flag" ||
28522 test ! -s conftest.err
28523 } && test -s conftest.$ac_objext; then
28524 ac_cv_header_png_h=yes
28525 else
28526 echo "$as_me: failed program was:" >&5
28527 sed 's/^/| /' conftest.$ac_ext >&5
28528
28529 ac_cv_header_png_h=no
28530 fi
28531
28532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28533 fi
28534 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28535 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28536
28537
28538
28539 if test "$ac_cv_header_png_h" = "yes"; then
28540 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28541 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28542 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28543 echo $ECHO_N "(cached) $ECHO_C" >&6
28544 else
28545 ac_check_lib_save_LIBS=$LIBS
28546 LIBS="-lpng -lz -lm $LIBS"
28547 cat >conftest.$ac_ext <<_ACEOF
28548 /* confdefs.h. */
28549 _ACEOF
28550 cat confdefs.h >>conftest.$ac_ext
28551 cat >>conftest.$ac_ext <<_ACEOF
28552 /* end confdefs.h. */
28553
28554 /* Override any GCC internal prototype to avoid an error.
28555 Use char because int might match the return type of a GCC
28556 builtin and then its argument prototype would still apply. */
28557 #ifdef __cplusplus
28558 extern "C"
28559 #endif
28560 char png_check_sig ();
28561 int
28562 main ()
28563 {
28564 return png_check_sig ();
28565 ;
28566 return 0;
28567 }
28568 _ACEOF
28569 rm -f conftest.$ac_objext conftest$ac_exeext
28570 if { (ac_try="$ac_link"
28571 case "(($ac_try" in
28572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28573 *) ac_try_echo=$ac_try;;
28574 esac
28575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28576 (eval "$ac_link") 2>conftest.er1
28577 ac_status=$?
28578 grep -v '^ *+' conftest.er1 >conftest.err
28579 rm -f conftest.er1
28580 cat conftest.err >&5
28581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582 (exit $ac_status); } && {
28583 test -z "$ac_c_werror_flag" ||
28584 test ! -s conftest.err
28585 } && test -s conftest$ac_exeext &&
28586 $as_test_x conftest$ac_exeext; then
28587 ac_cv_lib_png_png_check_sig=yes
28588 else
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28591
28592 ac_cv_lib_png_png_check_sig=no
28593 fi
28594
28595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28596 conftest$ac_exeext conftest.$ac_ext
28597 LIBS=$ac_check_lib_save_LIBS
28598 fi
28599 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28600 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28601 if test $ac_cv_lib_png_png_check_sig = yes; then
28602 PNG_LINK=" -lpng -lz"
28603 fi
28604
28605 fi
28606
28607 if test "x$PNG_LINK" = "x" ; then
28608 if test "$wxUSE_LIBPNG" = "sys" ; then
28609 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28610 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28611 { (exit 1); exit 1; }; }
28612 else
28613 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28614 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28615 wxUSE_LIBPNG=builtin
28616 fi
28617 else
28618 wxUSE_LIBPNG=sys
28619 fi
28620 fi
28621 fi
28622
28623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28624 fi
28625
28626
28627 JPEG_LINK=
28628 if test "$wxUSE_LIBJPEG" != "no" ; then
28629 cat >>confdefs.h <<\_ACEOF
28630 #define wxUSE_LIBJPEG 1
28631 _ACEOF
28632
28633
28634 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28635 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28636 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28637 wxUSE_LIBJPEG=sys
28638 fi
28639
28640 if test "$wxUSE_MGL" != 1 ; then
28641 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28642 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28643 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28644 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28645 echo $ECHO_N "(cached) $ECHO_C" >&6
28646 else
28647 cat >conftest.$ac_ext <<_ACEOF
28648 /* confdefs.h. */
28649 _ACEOF
28650 cat confdefs.h >>conftest.$ac_ext
28651 cat >>conftest.$ac_ext <<_ACEOF
28652 /* end confdefs.h. */
28653
28654 #undef HAVE_STDLIB_H
28655 #include <stdio.h>
28656 #include <jpeglib.h>
28657
28658 int
28659 main ()
28660 {
28661
28662
28663 ;
28664 return 0;
28665 }
28666 _ACEOF
28667 rm -f conftest.$ac_objext
28668 if { (ac_try="$ac_compile"
28669 case "(($ac_try" in
28670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28671 *) ac_try_echo=$ac_try;;
28672 esac
28673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28674 (eval "$ac_compile") 2>conftest.er1
28675 ac_status=$?
28676 grep -v '^ *+' conftest.er1 >conftest.err
28677 rm -f conftest.er1
28678 cat conftest.err >&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); } && {
28681 test -z "$ac_c_werror_flag" ||
28682 test ! -s conftest.err
28683 } && test -s conftest.$ac_objext; then
28684 ac_cv_header_jpeglib_h=yes
28685 else
28686 echo "$as_me: failed program was:" >&5
28687 sed 's/^/| /' conftest.$ac_ext >&5
28688
28689 ac_cv_header_jpeglib_h=no
28690
28691 fi
28692
28693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28694
28695 fi
28696
28697 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28698 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28699
28700 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28701 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28702 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28703 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28704 echo $ECHO_N "(cached) $ECHO_C" >&6
28705 else
28706 ac_check_lib_save_LIBS=$LIBS
28707 LIBS="-ljpeg $LIBS"
28708 cat >conftest.$ac_ext <<_ACEOF
28709 /* confdefs.h. */
28710 _ACEOF
28711 cat confdefs.h >>conftest.$ac_ext
28712 cat >>conftest.$ac_ext <<_ACEOF
28713 /* end confdefs.h. */
28714
28715 /* Override any GCC internal prototype to avoid an error.
28716 Use char because int might match the return type of a GCC
28717 builtin and then its argument prototype would still apply. */
28718 #ifdef __cplusplus
28719 extern "C"
28720 #endif
28721 char jpeg_read_header ();
28722 int
28723 main ()
28724 {
28725 return jpeg_read_header ();
28726 ;
28727 return 0;
28728 }
28729 _ACEOF
28730 rm -f conftest.$ac_objext conftest$ac_exeext
28731 if { (ac_try="$ac_link"
28732 case "(($ac_try" in
28733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28734 *) ac_try_echo=$ac_try;;
28735 esac
28736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28737 (eval "$ac_link") 2>conftest.er1
28738 ac_status=$?
28739 grep -v '^ *+' conftest.er1 >conftest.err
28740 rm -f conftest.er1
28741 cat conftest.err >&5
28742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743 (exit $ac_status); } && {
28744 test -z "$ac_c_werror_flag" ||
28745 test ! -s conftest.err
28746 } && test -s conftest$ac_exeext &&
28747 $as_test_x conftest$ac_exeext; then
28748 ac_cv_lib_jpeg_jpeg_read_header=yes
28749 else
28750 echo "$as_me: failed program was:" >&5
28751 sed 's/^/| /' conftest.$ac_ext >&5
28752
28753 ac_cv_lib_jpeg_jpeg_read_header=no
28754 fi
28755
28756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28757 conftest$ac_exeext conftest.$ac_ext
28758 LIBS=$ac_check_lib_save_LIBS
28759 fi
28760 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28761 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28762 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28763 JPEG_LINK=" -ljpeg"
28764 fi
28765
28766 fi
28767
28768 if test "x$JPEG_LINK" = "x" ; then
28769 if test "$wxUSE_LIBJPEG" = "sys" ; then
28770 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28771 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28772 { (exit 1); exit 1; }; }
28773 else
28774 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28775 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28776 wxUSE_LIBJPEG=builtin
28777 fi
28778 else
28779 wxUSE_LIBJPEG=sys
28780
28781 if test "$wxUSE_MSW" = 1; then
28782 { echo "$as_me:$LINENO: checking for boolean" >&5
28783 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28784 if test "${ac_cv_type_boolean+set}" = set; then
28785 echo $ECHO_N "(cached) $ECHO_C" >&6
28786 else
28787 cat >conftest.$ac_ext <<_ACEOF
28788 /* confdefs.h. */
28789 _ACEOF
28790 cat confdefs.h >>conftest.$ac_ext
28791 cat >>conftest.$ac_ext <<_ACEOF
28792 /* end confdefs.h. */
28793 #include <windows.h>
28794
28795 typedef boolean ac__type_new_;
28796 int
28797 main ()
28798 {
28799 if ((ac__type_new_ *) 0)
28800 return 0;
28801 if (sizeof (ac__type_new_))
28802 return 0;
28803 ;
28804 return 0;
28805 }
28806 _ACEOF
28807 rm -f conftest.$ac_objext
28808 if { (ac_try="$ac_compile"
28809 case "(($ac_try" in
28810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28811 *) ac_try_echo=$ac_try;;
28812 esac
28813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28814 (eval "$ac_compile") 2>conftest.er1
28815 ac_status=$?
28816 grep -v '^ *+' conftest.er1 >conftest.err
28817 rm -f conftest.er1
28818 cat conftest.err >&5
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); } && {
28821 test -z "$ac_c_werror_flag" ||
28822 test ! -s conftest.err
28823 } && test -s conftest.$ac_objext; then
28824 ac_cv_type_boolean=yes
28825 else
28826 echo "$as_me: failed program was:" >&5
28827 sed 's/^/| /' conftest.$ac_ext >&5
28828
28829 ac_cv_type_boolean=no
28830 fi
28831
28832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28833 fi
28834 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28835 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28836 if test $ac_cv_type_boolean = yes; then
28837
28838 cat >>confdefs.h <<_ACEOF
28839 #define HAVE_BOOLEAN 1
28840 _ACEOF
28841
28842
28843 { echo "$as_me:$LINENO: checking for boolean" >&5
28844 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28845 if test "${ac_cv_type_boolean+set}" = set; then
28846 echo $ECHO_N "(cached) $ECHO_C" >&6
28847 else
28848 cat >conftest.$ac_ext <<_ACEOF
28849 /* confdefs.h. */
28850 _ACEOF
28851 cat confdefs.h >>conftest.$ac_ext
28852 cat >>conftest.$ac_ext <<_ACEOF
28853 /* end confdefs.h. */
28854
28855 #undef HAVE_BOOLEAN
28856 #include <stdio.h>
28857 #include <jpeglib.h>
28858
28859
28860 typedef boolean ac__type_new_;
28861 int
28862 main ()
28863 {
28864 if ((ac__type_new_ *) 0)
28865 return 0;
28866 if (sizeof (ac__type_new_))
28867 return 0;
28868 ;
28869 return 0;
28870 }
28871 _ACEOF
28872 rm -f conftest.$ac_objext
28873 if { (ac_try="$ac_compile"
28874 case "(($ac_try" in
28875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28876 *) ac_try_echo=$ac_try;;
28877 esac
28878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28879 (eval "$ac_compile") 2>conftest.er1
28880 ac_status=$?
28881 grep -v '^ *+' conftest.er1 >conftest.err
28882 rm -f conftest.er1
28883 cat conftest.err >&5
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); } && {
28886 test -z "$ac_c_werror_flag" ||
28887 test ! -s conftest.err
28888 } && test -s conftest.$ac_objext; then
28889 ac_cv_type_boolean=yes
28890 else
28891 echo "$as_me: failed program was:" >&5
28892 sed 's/^/| /' conftest.$ac_ext >&5
28893
28894 ac_cv_type_boolean=no
28895 fi
28896
28897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28898 fi
28899 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28900 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28901
28902 # The cast to long int works around a bug in the HP C Compiler
28903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28905 # This bug is HP SR number 8606223364.
28906 { echo "$as_me:$LINENO: checking size of boolean" >&5
28907 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28908 if test "${ac_cv_sizeof_boolean+set}" = set; then
28909 echo $ECHO_N "(cached) $ECHO_C" >&6
28910 else
28911 if test "$cross_compiling" = yes; then
28912 # Depending upon the size, compute the lo and hi bounds.
28913 cat >conftest.$ac_ext <<_ACEOF
28914 /* confdefs.h. */
28915 _ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28919
28920 #undef HAVE_BOOLEAN
28921 #include <stdio.h>
28922 #include <jpeglib.h>
28923
28924
28925 typedef boolean ac__type_sizeof_;
28926 int
28927 main ()
28928 {
28929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28930 test_array [0] = 0
28931
28932 ;
28933 return 0;
28934 }
28935 _ACEOF
28936 rm -f conftest.$ac_objext
28937 if { (ac_try="$ac_compile"
28938 case "(($ac_try" in
28939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28940 *) ac_try_echo=$ac_try;;
28941 esac
28942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28943 (eval "$ac_compile") 2>conftest.er1
28944 ac_status=$?
28945 grep -v '^ *+' conftest.er1 >conftest.err
28946 rm -f conftest.er1
28947 cat conftest.err >&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); } && {
28950 test -z "$ac_c_werror_flag" ||
28951 test ! -s conftest.err
28952 } && test -s conftest.$ac_objext; then
28953 ac_lo=0 ac_mid=0
28954 while :; do
28955 cat >conftest.$ac_ext <<_ACEOF
28956 /* confdefs.h. */
28957 _ACEOF
28958 cat confdefs.h >>conftest.$ac_ext
28959 cat >>conftest.$ac_ext <<_ACEOF
28960 /* end confdefs.h. */
28961
28962 #undef HAVE_BOOLEAN
28963 #include <stdio.h>
28964 #include <jpeglib.h>
28965
28966
28967 typedef boolean ac__type_sizeof_;
28968 int
28969 main ()
28970 {
28971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28972 test_array [0] = 0
28973
28974 ;
28975 return 0;
28976 }
28977 _ACEOF
28978 rm -f conftest.$ac_objext
28979 if { (ac_try="$ac_compile"
28980 case "(($ac_try" in
28981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28982 *) ac_try_echo=$ac_try;;
28983 esac
28984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28985 (eval "$ac_compile") 2>conftest.er1
28986 ac_status=$?
28987 grep -v '^ *+' conftest.er1 >conftest.err
28988 rm -f conftest.er1
28989 cat conftest.err >&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); } && {
28992 test -z "$ac_c_werror_flag" ||
28993 test ! -s conftest.err
28994 } && test -s conftest.$ac_objext; then
28995 ac_hi=$ac_mid; break
28996 else
28997 echo "$as_me: failed program was:" >&5
28998 sed 's/^/| /' conftest.$ac_ext >&5
28999
29000 ac_lo=`expr $ac_mid + 1`
29001 if test $ac_lo -le $ac_mid; then
29002 ac_lo= ac_hi=
29003 break
29004 fi
29005 ac_mid=`expr 2 '*' $ac_mid + 1`
29006 fi
29007
29008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29009 done
29010 else
29011 echo "$as_me: failed program was:" >&5
29012 sed 's/^/| /' conftest.$ac_ext >&5
29013
29014 cat >conftest.$ac_ext <<_ACEOF
29015 /* confdefs.h. */
29016 _ACEOF
29017 cat confdefs.h >>conftest.$ac_ext
29018 cat >>conftest.$ac_ext <<_ACEOF
29019 /* end confdefs.h. */
29020
29021 #undef HAVE_BOOLEAN
29022 #include <stdio.h>
29023 #include <jpeglib.h>
29024
29025
29026 typedef boolean ac__type_sizeof_;
29027 int
29028 main ()
29029 {
29030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29031 test_array [0] = 0
29032
29033 ;
29034 return 0;
29035 }
29036 _ACEOF
29037 rm -f conftest.$ac_objext
29038 if { (ac_try="$ac_compile"
29039 case "(($ac_try" in
29040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29041 *) ac_try_echo=$ac_try;;
29042 esac
29043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29044 (eval "$ac_compile") 2>conftest.er1
29045 ac_status=$?
29046 grep -v '^ *+' conftest.er1 >conftest.err
29047 rm -f conftest.er1
29048 cat conftest.err >&5
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); } && {
29051 test -z "$ac_c_werror_flag" ||
29052 test ! -s conftest.err
29053 } && test -s conftest.$ac_objext; then
29054 ac_hi=-1 ac_mid=-1
29055 while :; do
29056 cat >conftest.$ac_ext <<_ACEOF
29057 /* confdefs.h. */
29058 _ACEOF
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29062
29063 #undef HAVE_BOOLEAN
29064 #include <stdio.h>
29065 #include <jpeglib.h>
29066
29067
29068 typedef boolean ac__type_sizeof_;
29069 int
29070 main ()
29071 {
29072 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29073 test_array [0] = 0
29074
29075 ;
29076 return 0;
29077 }
29078 _ACEOF
29079 rm -f conftest.$ac_objext
29080 if { (ac_try="$ac_compile"
29081 case "(($ac_try" in
29082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29083 *) ac_try_echo=$ac_try;;
29084 esac
29085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29086 (eval "$ac_compile") 2>conftest.er1
29087 ac_status=$?
29088 grep -v '^ *+' conftest.er1 >conftest.err
29089 rm -f conftest.er1
29090 cat conftest.err >&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); } && {
29093 test -z "$ac_c_werror_flag" ||
29094 test ! -s conftest.err
29095 } && test -s conftest.$ac_objext; then
29096 ac_lo=$ac_mid; break
29097 else
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.$ac_ext >&5
29100
29101 ac_hi=`expr '(' $ac_mid ')' - 1`
29102 if test $ac_mid -le $ac_hi; then
29103 ac_lo= ac_hi=
29104 break
29105 fi
29106 ac_mid=`expr 2 '*' $ac_mid`
29107 fi
29108
29109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29110 done
29111 else
29112 echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29114
29115 ac_lo= ac_hi=
29116 fi
29117
29118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29119 fi
29120
29121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29122 # Binary search between lo and hi bounds.
29123 while test "x$ac_lo" != "x$ac_hi"; do
29124 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29125 cat >conftest.$ac_ext <<_ACEOF
29126 /* confdefs.h. */
29127 _ACEOF
29128 cat confdefs.h >>conftest.$ac_ext
29129 cat >>conftest.$ac_ext <<_ACEOF
29130 /* end confdefs.h. */
29131
29132 #undef HAVE_BOOLEAN
29133 #include <stdio.h>
29134 #include <jpeglib.h>
29135
29136
29137 typedef boolean ac__type_sizeof_;
29138 int
29139 main ()
29140 {
29141 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29142 test_array [0] = 0
29143
29144 ;
29145 return 0;
29146 }
29147 _ACEOF
29148 rm -f conftest.$ac_objext
29149 if { (ac_try="$ac_compile"
29150 case "(($ac_try" in
29151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29152 *) ac_try_echo=$ac_try;;
29153 esac
29154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29155 (eval "$ac_compile") 2>conftest.er1
29156 ac_status=$?
29157 grep -v '^ *+' conftest.er1 >conftest.err
29158 rm -f conftest.er1
29159 cat conftest.err >&5
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); } && {
29162 test -z "$ac_c_werror_flag" ||
29163 test ! -s conftest.err
29164 } && test -s conftest.$ac_objext; then
29165 ac_hi=$ac_mid
29166 else
29167 echo "$as_me: failed program was:" >&5
29168 sed 's/^/| /' conftest.$ac_ext >&5
29169
29170 ac_lo=`expr '(' $ac_mid ')' + 1`
29171 fi
29172
29173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29174 done
29175 case $ac_lo in
29176 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29177 '') if test "$ac_cv_type_boolean" = yes; then
29178 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29179 See \`config.log' for more details." >&5
29180 echo "$as_me: error: cannot compute sizeof (boolean)
29181 See \`config.log' for more details." >&2;}
29182 { (exit 77); exit 77; }; }
29183 else
29184 ac_cv_sizeof_boolean=0
29185 fi ;;
29186 esac
29187 else
29188 cat >conftest.$ac_ext <<_ACEOF
29189 /* confdefs.h. */
29190 _ACEOF
29191 cat confdefs.h >>conftest.$ac_ext
29192 cat >>conftest.$ac_ext <<_ACEOF
29193 /* end confdefs.h. */
29194
29195 #undef HAVE_BOOLEAN
29196 #include <stdio.h>
29197 #include <jpeglib.h>
29198
29199
29200 typedef boolean ac__type_sizeof_;
29201 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29202 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29203 #include <stdio.h>
29204 #include <stdlib.h>
29205 int
29206 main ()
29207 {
29208
29209 FILE *f = fopen ("conftest.val", "w");
29210 if (! f)
29211 return 1;
29212 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29213 {
29214 long int i = longval ();
29215 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29216 return 1;
29217 fprintf (f, "%ld\n", i);
29218 }
29219 else
29220 {
29221 unsigned long int i = ulongval ();
29222 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29223 return 1;
29224 fprintf (f, "%lu\n", i);
29225 }
29226 return ferror (f) || fclose (f) != 0;
29227
29228 ;
29229 return 0;
29230 }
29231 _ACEOF
29232 rm -f conftest$ac_exeext
29233 if { (ac_try="$ac_link"
29234 case "(($ac_try" in
29235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29236 *) ac_try_echo=$ac_try;;
29237 esac
29238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29239 (eval "$ac_link") 2>&5
29240 ac_status=$?
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29243 { (case "(($ac_try" in
29244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29245 *) ac_try_echo=$ac_try;;
29246 esac
29247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29248 (eval "$ac_try") 2>&5
29249 ac_status=$?
29250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251 (exit $ac_status); }; }; then
29252 ac_cv_sizeof_boolean=`cat conftest.val`
29253 else
29254 echo "$as_me: program exited with status $ac_status" >&5
29255 echo "$as_me: failed program was:" >&5
29256 sed 's/^/| /' conftest.$ac_ext >&5
29257
29258 ( exit $ac_status )
29259 if test "$ac_cv_type_boolean" = yes; then
29260 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29261 See \`config.log' for more details." >&5
29262 echo "$as_me: error: cannot compute sizeof (boolean)
29263 See \`config.log' for more details." >&2;}
29264 { (exit 77); exit 77; }; }
29265 else
29266 ac_cv_sizeof_boolean=0
29267 fi
29268 fi
29269 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29270 fi
29271 rm -f conftest.val
29272 fi
29273 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29274 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29275
29276
29277
29278 cat >>confdefs.h <<_ACEOF
29279 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29280 _ACEOF
29281
29282
29283 cat >>confdefs.h <<_ACEOF
29284 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29285 _ACEOF
29286
29287
29288 fi
29289
29290 fi
29291 fi
29292 fi
29293 fi
29294 fi
29295
29296
29297 TIFF_LINK=
29298 TIFF_PREREQ_LINKS=-lm
29299 if test "$wxUSE_LIBTIFF" != "no" ; then
29300 cat >>confdefs.h <<\_ACEOF
29301 #define wxUSE_LIBTIFF 1
29302 _ACEOF
29303
29304
29305 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29306 if test "$wxUSE_LIBJPEG" = "sys"; then
29307 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29308 fi
29309 if test "$wxUSE_ZLIB" = "sys"; then
29310 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29311 fi
29312 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29313 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29314 if test "${ac_cv_header_tiffio_h+set}" = set; then
29315 echo $ECHO_N "(cached) $ECHO_C" >&6
29316 else
29317 cat >conftest.$ac_ext <<_ACEOF
29318 /* confdefs.h. */
29319 _ACEOF
29320 cat confdefs.h >>conftest.$ac_ext
29321 cat >>conftest.$ac_ext <<_ACEOF
29322 /* end confdefs.h. */
29323
29324
29325
29326 #include <tiffio.h>
29327 _ACEOF
29328 rm -f conftest.$ac_objext
29329 if { (ac_try="$ac_compile"
29330 case "(($ac_try" in
29331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29332 *) ac_try_echo=$ac_try;;
29333 esac
29334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29335 (eval "$ac_compile") 2>conftest.er1
29336 ac_status=$?
29337 grep -v '^ *+' conftest.er1 >conftest.err
29338 rm -f conftest.er1
29339 cat conftest.err >&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } && {
29342 test -z "$ac_c_werror_flag" ||
29343 test ! -s conftest.err
29344 } && test -s conftest.$ac_objext; then
29345 ac_cv_header_tiffio_h=yes
29346 else
29347 echo "$as_me: failed program was:" >&5
29348 sed 's/^/| /' conftest.$ac_ext >&5
29349
29350 ac_cv_header_tiffio_h=no
29351 fi
29352
29353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29354 fi
29355 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29356 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29357 if test $ac_cv_header_tiffio_h = yes; then
29358
29359 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29360 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29361 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29362 echo $ECHO_N "(cached) $ECHO_C" >&6
29363 else
29364 ac_check_lib_save_LIBS=$LIBS
29365 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29366 cat >conftest.$ac_ext <<_ACEOF
29367 /* confdefs.h. */
29368 _ACEOF
29369 cat confdefs.h >>conftest.$ac_ext
29370 cat >>conftest.$ac_ext <<_ACEOF
29371 /* end confdefs.h. */
29372
29373 /* Override any GCC internal prototype to avoid an error.
29374 Use char because int might match the return type of a GCC
29375 builtin and then its argument prototype would still apply. */
29376 #ifdef __cplusplus
29377 extern "C"
29378 #endif
29379 char TIFFError ();
29380 int
29381 main ()
29382 {
29383 return TIFFError ();
29384 ;
29385 return 0;
29386 }
29387 _ACEOF
29388 rm -f conftest.$ac_objext conftest$ac_exeext
29389 if { (ac_try="$ac_link"
29390 case "(($ac_try" in
29391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29392 *) ac_try_echo=$ac_try;;
29393 esac
29394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29395 (eval "$ac_link") 2>conftest.er1
29396 ac_status=$?
29397 grep -v '^ *+' conftest.er1 >conftest.err
29398 rm -f conftest.er1
29399 cat conftest.err >&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); } && {
29402 test -z "$ac_c_werror_flag" ||
29403 test ! -s conftest.err
29404 } && test -s conftest$ac_exeext &&
29405 $as_test_x conftest$ac_exeext; then
29406 ac_cv_lib_tiff_TIFFError=yes
29407 else
29408 echo "$as_me: failed program was:" >&5
29409 sed 's/^/| /' conftest.$ac_ext >&5
29410
29411 ac_cv_lib_tiff_TIFFError=no
29412 fi
29413
29414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29415 conftest$ac_exeext conftest.$ac_ext
29416 LIBS=$ac_check_lib_save_LIBS
29417 fi
29418 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29419 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29420 if test $ac_cv_lib_tiff_TIFFError = yes; then
29421 TIFF_LINK=" -ltiff"
29422 fi
29423
29424
29425 fi
29426
29427
29428
29429 if test "x$TIFF_LINK" = "x" ; then
29430 if test "$wxUSE_LIBTIFF" = "sys" ; then
29431 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29432 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29433 { (exit 1); exit 1; }; }
29434 else
29435 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29436 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29437 wxUSE_LIBTIFF=builtin
29438 fi
29439 else
29440 wxUSE_LIBTIFF=sys
29441 fi
29442 fi
29443 fi
29444
29445
29446 if test "$wxUSE_WCHAR_T" != "yes"; then
29447 if test "$wxUSE_EXPAT" != "no"; then
29448 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29449 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29450 wxUSE_EXPAT=no
29451 fi
29452 if test "$wxUSE_XML" != "no"; then
29453 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29454 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29455 wxUSE_XML=no
29456 fi
29457 fi
29458
29459 if test "$wxUSE_EXPAT" != "no"; then
29460 wxUSE_XML=yes
29461 cat >>confdefs.h <<\_ACEOF
29462 #define wxUSE_EXPAT 1
29463 _ACEOF
29464
29465 cat >>confdefs.h <<\_ACEOF
29466 #define wxUSE_XML 1
29467 _ACEOF
29468
29469
29470 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29471 { echo "$as_me:$LINENO: checking for expat.h" >&5
29472 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29473 if test "${ac_cv_header_expat_h+set}" = set; then
29474 echo $ECHO_N "(cached) $ECHO_C" >&6
29475 else
29476 cat >conftest.$ac_ext <<_ACEOF
29477 /* confdefs.h. */
29478 _ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482
29483
29484 #include <expat.h>
29485 _ACEOF
29486 rm -f conftest.$ac_objext
29487 if { (ac_try="$ac_compile"
29488 case "(($ac_try" in
29489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29490 *) ac_try_echo=$ac_try;;
29491 esac
29492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29493 (eval "$ac_compile") 2>conftest.er1
29494 ac_status=$?
29495 grep -v '^ *+' conftest.er1 >conftest.err
29496 rm -f conftest.er1
29497 cat conftest.err >&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); } && {
29500 test -z "$ac_c_werror_flag" ||
29501 test ! -s conftest.err
29502 } && test -s conftest.$ac_objext; then
29503 ac_cv_header_expat_h=yes
29504 else
29505 echo "$as_me: failed program was:" >&5
29506 sed 's/^/| /' conftest.$ac_ext >&5
29507
29508 ac_cv_header_expat_h=no
29509 fi
29510
29511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29512 fi
29513 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29514 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29515 if test $ac_cv_header_expat_h = yes; then
29516 found_expat_h=1
29517 fi
29518
29519
29520 if test "x$found_expat_h" = "x1"; then
29521 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29522 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29523 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29524 echo $ECHO_N "(cached) $ECHO_C" >&6
29525 else
29526
29527 ac_ext=cpp
29528 ac_cpp='$CXXCPP $CPPFLAGS'
29529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29532
29533 cat >conftest.$ac_ext <<_ACEOF
29534 /* confdefs.h. */
29535 _ACEOF
29536 cat confdefs.h >>conftest.$ac_ext
29537 cat >>conftest.$ac_ext <<_ACEOF
29538 /* end confdefs.h. */
29539 #include <expat.h>
29540 int
29541 main ()
29542 {
29543
29544 ;
29545 return 0;
29546 }
29547 _ACEOF
29548 rm -f conftest.$ac_objext
29549 if { (ac_try="$ac_compile"
29550 case "(($ac_try" in
29551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29552 *) ac_try_echo=$ac_try;;
29553 esac
29554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29555 (eval "$ac_compile") 2>conftest.er1
29556 ac_status=$?
29557 grep -v '^ *+' conftest.er1 >conftest.err
29558 rm -f conftest.er1
29559 cat conftest.err >&5
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); } && {
29562 test -z "$ac_cxx_werror_flag" ||
29563 test ! -s conftest.err
29564 } && test -s conftest.$ac_objext; then
29565 wx_cv_expat_is_not_broken=yes
29566 else
29567 echo "$as_me: failed program was:" >&5
29568 sed 's/^/| /' conftest.$ac_ext >&5
29569
29570 wx_cv_expat_is_not_broken=no
29571
29572 fi
29573
29574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29575 ac_ext=c
29576 ac_cpp='$CPP $CPPFLAGS'
29577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29580
29581
29582
29583 fi
29584 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29585 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29586 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29587 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29588 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29589 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29590 echo $ECHO_N "(cached) $ECHO_C" >&6
29591 else
29592 ac_check_lib_save_LIBS=$LIBS
29593 LIBS="-lexpat $LIBS"
29594 cat >conftest.$ac_ext <<_ACEOF
29595 /* confdefs.h. */
29596 _ACEOF
29597 cat confdefs.h >>conftest.$ac_ext
29598 cat >>conftest.$ac_ext <<_ACEOF
29599 /* end confdefs.h. */
29600
29601 /* Override any GCC internal prototype to avoid an error.
29602 Use char because int might match the return type of a GCC
29603 builtin and then its argument prototype would still apply. */
29604 #ifdef __cplusplus
29605 extern "C"
29606 #endif
29607 char XML_ParserCreate ();
29608 int
29609 main ()
29610 {
29611 return XML_ParserCreate ();
29612 ;
29613 return 0;
29614 }
29615 _ACEOF
29616 rm -f conftest.$ac_objext conftest$ac_exeext
29617 if { (ac_try="$ac_link"
29618 case "(($ac_try" in
29619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29620 *) ac_try_echo=$ac_try;;
29621 esac
29622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29623 (eval "$ac_link") 2>conftest.er1
29624 ac_status=$?
29625 grep -v '^ *+' conftest.er1 >conftest.err
29626 rm -f conftest.er1
29627 cat conftest.err >&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } && {
29630 test -z "$ac_c_werror_flag" ||
29631 test ! -s conftest.err
29632 } && test -s conftest$ac_exeext &&
29633 $as_test_x conftest$ac_exeext; then
29634 ac_cv_lib_expat_XML_ParserCreate=yes
29635 else
29636 echo "$as_me: failed program was:" >&5
29637 sed 's/^/| /' conftest.$ac_ext >&5
29638
29639 ac_cv_lib_expat_XML_ParserCreate=no
29640 fi
29641
29642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29643 conftest$ac_exeext conftest.$ac_ext
29644 LIBS=$ac_check_lib_save_LIBS
29645 fi
29646 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29647 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29648 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29649 EXPAT_LINK=" -lexpat"
29650 fi
29651
29652 fi
29653 fi
29654 if test "x$EXPAT_LINK" = "x" ; then
29655 if test "$wxUSE_EXPAT" = "sys" ; then
29656 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29657 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29658 { (exit 1); exit 1; }; }
29659 else
29660 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29661 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29662 wxUSE_EXPAT=builtin
29663 fi
29664 else
29665 wxUSE_EXPAT=sys
29666 fi
29667 fi
29668 if test "$wxUSE_EXPAT" = "builtin" ; then
29669 subdirs="$subdirs src/expat"
29670
29671 fi
29672 fi
29673
29674
29675
29676 if test "$wxUSE_LIBMSPACK" != "no"; then
29677 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29678 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29679 if test "${ac_cv_header_mspack_h+set}" = set; then
29680 echo $ECHO_N "(cached) $ECHO_C" >&6
29681 else
29682 cat >conftest.$ac_ext <<_ACEOF
29683 /* confdefs.h. */
29684 _ACEOF
29685 cat confdefs.h >>conftest.$ac_ext
29686 cat >>conftest.$ac_ext <<_ACEOF
29687 /* end confdefs.h. */
29688
29689
29690 #include <mspack.h>
29691 _ACEOF
29692 rm -f conftest.$ac_objext
29693 if { (ac_try="$ac_compile"
29694 case "(($ac_try" in
29695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29696 *) ac_try_echo=$ac_try;;
29697 esac
29698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29699 (eval "$ac_compile") 2>conftest.er1
29700 ac_status=$?
29701 grep -v '^ *+' conftest.er1 >conftest.err
29702 rm -f conftest.er1
29703 cat conftest.err >&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); } && {
29706 test -z "$ac_c_werror_flag" ||
29707 test ! -s conftest.err
29708 } && test -s conftest.$ac_objext; then
29709 ac_cv_header_mspack_h=yes
29710 else
29711 echo "$as_me: failed program was:" >&5
29712 sed 's/^/| /' conftest.$ac_ext >&5
29713
29714 ac_cv_header_mspack_h=no
29715 fi
29716
29717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29718 fi
29719 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29720 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29721 if test $ac_cv_header_mspack_h = yes; then
29722 found_mspack_h=1
29723 fi
29724
29725
29726 if test "x$found_mspack_h" = "x1"; then
29727 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29728 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29729 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29730 echo $ECHO_N "(cached) $ECHO_C" >&6
29731 else
29732 ac_check_lib_save_LIBS=$LIBS
29733 LIBS="-lmspack $LIBS"
29734 cat >conftest.$ac_ext <<_ACEOF
29735 /* confdefs.h. */
29736 _ACEOF
29737 cat confdefs.h >>conftest.$ac_ext
29738 cat >>conftest.$ac_ext <<_ACEOF
29739 /* end confdefs.h. */
29740
29741 /* Override any GCC internal prototype to avoid an error.
29742 Use char because int might match the return type of a GCC
29743 builtin and then its argument prototype would still apply. */
29744 #ifdef __cplusplus
29745 extern "C"
29746 #endif
29747 char mspack_create_chm_decompressor ();
29748 int
29749 main ()
29750 {
29751 return mspack_create_chm_decompressor ();
29752 ;
29753 return 0;
29754 }
29755 _ACEOF
29756 rm -f conftest.$ac_objext conftest$ac_exeext
29757 if { (ac_try="$ac_link"
29758 case "(($ac_try" in
29759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29760 *) ac_try_echo=$ac_try;;
29761 esac
29762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29763 (eval "$ac_link") 2>conftest.er1
29764 ac_status=$?
29765 grep -v '^ *+' conftest.er1 >conftest.err
29766 rm -f conftest.er1
29767 cat conftest.err >&5
29768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769 (exit $ac_status); } && {
29770 test -z "$ac_c_werror_flag" ||
29771 test ! -s conftest.err
29772 } && test -s conftest$ac_exeext &&
29773 $as_test_x conftest$ac_exeext; then
29774 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29775 else
29776 echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.$ac_ext >&5
29778
29779 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29780 fi
29781
29782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29783 conftest$ac_exeext conftest.$ac_ext
29784 LIBS=$ac_check_lib_save_LIBS
29785 fi
29786 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29787 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29788 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29789 MSPACK_LINK=" -lmspack"
29790 fi
29791
29792 fi
29793 if test "x$MSPACK_LINK" = "x" ; then
29794 wxUSE_LIBMSPACK=no
29795 fi
29796 fi
29797
29798 if test "$wxUSE_LIBMSPACK" != "no"; then
29799 cat >>confdefs.h <<\_ACEOF
29800 #define wxUSE_LIBMSPACK 1
29801 _ACEOF
29802
29803 fi
29804
29805
29806
29807 AFMINSTALL=
29808 WIN32INSTALL=
29809
29810 TOOLKIT=
29811 TOOLKIT_INCLUDE=
29812 WIDGET_SET=
29813
29814 if test "$USE_WIN32" = 1 ; then
29815 { echo "$as_me:$LINENO: checking for w32api.h" >&5
29816 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
29817 if test "${ac_cv_header_w32api_h+set}" = set; then
29818 echo $ECHO_N "(cached) $ECHO_C" >&6
29819 else
29820 cat >conftest.$ac_ext <<_ACEOF
29821 /* confdefs.h. */
29822 _ACEOF
29823 cat confdefs.h >>conftest.$ac_ext
29824 cat >>conftest.$ac_ext <<_ACEOF
29825 /* end confdefs.h. */
29826
29827
29828 #include <w32api.h>
29829 _ACEOF
29830 rm -f conftest.$ac_objext
29831 if { (ac_try="$ac_compile"
29832 case "(($ac_try" in
29833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29834 *) ac_try_echo=$ac_try;;
29835 esac
29836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29837 (eval "$ac_compile") 2>conftest.er1
29838 ac_status=$?
29839 grep -v '^ *+' conftest.er1 >conftest.err
29840 rm -f conftest.er1
29841 cat conftest.err >&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); } && {
29844 test -z "$ac_c_werror_flag" ||
29845 test ! -s conftest.err
29846 } && test -s conftest.$ac_objext; then
29847 ac_cv_header_w32api_h=yes
29848 else
29849 echo "$as_me: failed program was:" >&5
29850 sed 's/^/| /' conftest.$ac_ext >&5
29851
29852 ac_cv_header_w32api_h=no
29853 fi
29854
29855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29856 fi
29857 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
29858 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29859
29860
29861 { echo "$as_me:$LINENO: checking for windows.h" >&5
29862 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29863 if test "${ac_cv_header_windows_h+set}" = set; then
29864 echo $ECHO_N "(cached) $ECHO_C" >&6
29865 else
29866 cat >conftest.$ac_ext <<_ACEOF
29867 /* confdefs.h. */
29868 _ACEOF
29869 cat confdefs.h >>conftest.$ac_ext
29870 cat >>conftest.$ac_ext <<_ACEOF
29871 /* end confdefs.h. */
29872
29873
29874 #include <windows.h>
29875 _ACEOF
29876 rm -f conftest.$ac_objext
29877 if { (ac_try="$ac_compile"
29878 case "(($ac_try" in
29879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29880 *) ac_try_echo=$ac_try;;
29881 esac
29882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29883 (eval "$ac_compile") 2>conftest.er1
29884 ac_status=$?
29885 grep -v '^ *+' conftest.er1 >conftest.err
29886 rm -f conftest.er1
29887 cat conftest.err >&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); } && {
29890 test -z "$ac_c_werror_flag" ||
29891 test ! -s conftest.err
29892 } && test -s conftest.$ac_objext; then
29893 ac_cv_header_windows_h=yes
29894 else
29895 echo "$as_me: failed program was:" >&5
29896 sed 's/^/| /' conftest.$ac_ext >&5
29897
29898 ac_cv_header_windows_h=no
29899 fi
29900
29901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29902 fi
29903 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29904 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29905 if test $ac_cv_header_windows_h = yes; then
29906 :
29907 else
29908
29909 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29910 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29911 { (exit 1); exit 1; }; }
29912
29913 fi
29914
29915
29916
29917 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29918
29919 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29920 LIBS="$LIBS -loleacc"
29921 fi
29922
29923 case "${host}" in
29924 *-*-cygwin* )
29925 LIBS="$LIBS -lkernel32 -luser32"
29926 esac
29927
29928 if test "$wxUSE_ODBC" = "sys" ; then
29929 wxUSE_ODBC = "yes"
29930 fi
29931 if test "$wxUSE_ODBC" = "yes" ; then
29932 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29933 cat >>confdefs.h <<\_ACEOF
29934 #define wxUSE_ODBC 1
29935 _ACEOF
29936
29937 fi
29938
29939 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29940 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29941
29942 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29943
29944 WIN32INSTALL=win32install
29945
29946 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29947 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29948 if test "${ac_cv_header_pbt_h+set}" = set; then
29949 echo $ECHO_N "(cached) $ECHO_C" >&6
29950 else
29951 cat >conftest.$ac_ext <<_ACEOF
29952 /* confdefs.h. */
29953 _ACEOF
29954 cat confdefs.h >>conftest.$ac_ext
29955 cat >>conftest.$ac_ext <<_ACEOF
29956 /* end confdefs.h. */
29957
29958
29959 #include <pbt.h>
29960 _ACEOF
29961 rm -f conftest.$ac_objext
29962 if { (ac_try="$ac_compile"
29963 case "(($ac_try" in
29964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29965 *) ac_try_echo=$ac_try;;
29966 esac
29967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29968 (eval "$ac_compile") 2>conftest.er1
29969 ac_status=$?
29970 grep -v '^ *+' conftest.er1 >conftest.err
29971 rm -f conftest.er1
29972 cat conftest.err >&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); } && {
29975 test -z "$ac_c_werror_flag" ||
29976 test ! -s conftest.err
29977 } && test -s conftest.$ac_objext; then
29978 ac_cv_header_pbt_h=yes
29979 else
29980 echo "$as_me: failed program was:" >&5
29981 sed 's/^/| /' conftest.$ac_ext >&5
29982
29983 ac_cv_header_pbt_h=no
29984 fi
29985
29986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29987 fi
29988 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29989 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29990 if test $ac_cv_header_pbt_h = yes; then
29991 :
29992 else
29993 cat >>confdefs.h <<\_ACEOF
29994 #define NEED_PBT_H 1
29995 _ACEOF
29996
29997 fi
29998
29999
30000 fi
30001
30002 if test "$wxUSE_GUI" = "yes"; then
30003 USE_GUI=1
30004
30005 GUI_TK_LIBRARY=
30006
30007 WXGTK12=
30008 WXGTK127=
30009 WXGTK20=
30010 WXGPE=
30011
30012 if test "$wxUSE_COCOA" = 1 ; then
30013 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30014 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30015 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30016 wxUSE_PRINTING_ARCHITECTURE=no
30017 fi
30018 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30019 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30020 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30021 wxUSE_DRAG_AND_DROP=no
30022 fi
30023 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30024 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30025 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30026 wxUSE_DRAGIMAGE=no
30027 fi
30028 fi
30029
30030 if test "$wxUSE_MSW" = 1 ; then
30031 TOOLKIT=MSW
30032 GUIDIST=MSW_DIST
30033
30034 case "${host}" in
30035 *-*-mingw32* )
30036 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30037 esac
30038 fi
30039
30040 if test "$wxUSE_GTK" = 1; then
30041 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30042 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30043
30044 gtk_version_cached=1
30045 if test "${wx_cv_lib_gtk+set}" = set; then
30046 echo $ECHO_N "(cached) $ECHO_C" >&6
30047 else
30048
30049 gtk_version_cached=0
30050 { echo "$as_me:$LINENO: result: " >&5
30051 echo "${ECHO_T}" >&6; }
30052
30053 GTK_MODULES=
30054 if test "$wxUSE_THREADS" = "yes"; then
30055 GTK_MODULES=gthread
30056 fi
30057
30058 wx_cv_lib_gtk=
30059 if test "x$wxGTK_VERSION" != "x1"
30060 then
30061 case "${host}" in
30062 *-*-solaris2* )
30063 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30064 enable_gtktest=no
30065 fi
30066 esac
30067
30068 # Check whether --enable-gtktest was given.
30069 if test "${enable_gtktest+set}" = set; then
30070 enableval=$enable_gtktest;
30071 else
30072 enable_gtktest=yes
30073 fi
30074
30075
30076 pkg_config_args=gtk+-2.0
30077 for module in . $GTK_MODULES
30078 do
30079 case "$module" in
30080 gthread)
30081 pkg_config_args="$pkg_config_args gthread-2.0"
30082 ;;
30083 esac
30084 done
30085
30086 no_gtk=""
30087
30088 # Extract the first word of "pkg-config", so it can be a program name with args.
30089 set dummy pkg-config; ac_word=$2
30090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30092 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30094 else
30095 case $PKG_CONFIG in
30096 [\\/]* | ?:[\\/]*)
30097 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30098 ;;
30099 *)
30100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30101 for as_dir in $PATH
30102 do
30103 IFS=$as_save_IFS
30104 test -z "$as_dir" && as_dir=.
30105 for ac_exec_ext in '' $ac_executable_extensions; do
30106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30107 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30109 break 2
30110 fi
30111 done
30112 done
30113 IFS=$as_save_IFS
30114
30115 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30116 ;;
30117 esac
30118 fi
30119 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30120 if test -n "$PKG_CONFIG"; then
30121 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30122 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30123 else
30124 { echo "$as_me:$LINENO: result: no" >&5
30125 echo "${ECHO_T}no" >&6; }
30126 fi
30127
30128
30129
30130 if test x$PKG_CONFIG != xno ; then
30131 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30132 :
30133 else
30134 echo "*** pkg-config too old; version 0.7 or better required."
30135 no_gtk=yes
30136 PKG_CONFIG=no
30137 fi
30138 else
30139 no_gtk=yes
30140 fi
30141
30142 min_gtk_version=2.0.0
30143 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30144 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30145
30146 if test x$PKG_CONFIG != xno ; then
30147 ## don't try to run the test against uninstalled libtool libs
30148 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30149 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30150 enable_gtktest=no
30151 fi
30152
30153 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30154 :
30155 else
30156 no_gtk=yes
30157 fi
30158 fi
30159
30160 if test x"$no_gtk" = x ; then
30161 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30162 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30163 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30164 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30165 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30166 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30167 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30168 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30169 if test "x$enable_gtktest" = "xyes" ; then
30170 ac_save_CFLAGS="$CFLAGS"
30171 ac_save_LIBS="$LIBS"
30172 CFLAGS="$CFLAGS $GTK_CFLAGS"
30173 LIBS="$GTK_LIBS $LIBS"
30174 rm -f conf.gtktest
30175 if test "$cross_compiling" = yes; then
30176 echo $ac_n "cross compiling; assumed OK... $ac_c"
30177 else
30178 cat >conftest.$ac_ext <<_ACEOF
30179 /* confdefs.h. */
30180 _ACEOF
30181 cat confdefs.h >>conftest.$ac_ext
30182 cat >>conftest.$ac_ext <<_ACEOF
30183 /* end confdefs.h. */
30184
30185 #include <gtk/gtk.h>
30186 #include <stdio.h>
30187 #include <stdlib.h>
30188
30189 int
30190 main ()
30191 {
30192 int major, minor, micro;
30193 char *tmp_version;
30194
30195 system ("touch conf.gtktest");
30196
30197 /* HP/UX 9 (%@#!) writes to sscanf strings */
30198 tmp_version = g_strdup("$min_gtk_version");
30199 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30200 printf("%s, bad version string\n", "$min_gtk_version");
30201 exit(1);
30202 }
30203
30204 if ((gtk_major_version != $gtk_config_major_version) ||
30205 (gtk_minor_version != $gtk_config_minor_version) ||
30206 (gtk_micro_version != $gtk_config_micro_version))
30207 {
30208 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30209 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30210 gtk_major_version, gtk_minor_version, gtk_micro_version);
30211 printf ("*** was found! If pkg-config was correct, then it is best\n");
30212 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30213 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30214 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30215 printf("*** required on your system.\n");
30216 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30217 printf("*** to point to the correct configuration files\n");
30218 }
30219 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30220 (gtk_minor_version != GTK_MINOR_VERSION) ||
30221 (gtk_micro_version != GTK_MICRO_VERSION))
30222 {
30223 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30224 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30225 printf("*** library (version %d.%d.%d)\n",
30226 gtk_major_version, gtk_minor_version, gtk_micro_version);
30227 }
30228 else
30229 {
30230 if ((gtk_major_version > major) ||
30231 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30232 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30233 {
30234 return 0;
30235 }
30236 else
30237 {
30238 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30239 gtk_major_version, gtk_minor_version, gtk_micro_version);
30240 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30241 major, minor, micro);
30242 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30243 printf("***\n");
30244 printf("*** If you have already installed a sufficiently new version, this error\n");
30245 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30246 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30247 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30248 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30249 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30250 printf("*** so that the correct libraries are found at run-time))\n");
30251 }
30252 }
30253 return 1;
30254 }
30255
30256 _ACEOF
30257 rm -f conftest$ac_exeext
30258 if { (ac_try="$ac_link"
30259 case "(($ac_try" in
30260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30261 *) ac_try_echo=$ac_try;;
30262 esac
30263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30264 (eval "$ac_link") 2>&5
30265 ac_status=$?
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30268 { (case "(($ac_try" in
30269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30270 *) ac_try_echo=$ac_try;;
30271 esac
30272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30273 (eval "$ac_try") 2>&5
30274 ac_status=$?
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); }; }; then
30277 :
30278 else
30279 echo "$as_me: program exited with status $ac_status" >&5
30280 echo "$as_me: failed program was:" >&5
30281 sed 's/^/| /' conftest.$ac_ext >&5
30282
30283 ( exit $ac_status )
30284 no_gtk=yes
30285 fi
30286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30287 fi
30288
30289
30290 CFLAGS="$ac_save_CFLAGS"
30291 LIBS="$ac_save_LIBS"
30292 fi
30293 fi
30294 if test "x$no_gtk" = x ; then
30295 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30296 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30297 wx_cv_lib_gtk=2.0
30298 else
30299 { echo "$as_me:$LINENO: result: no" >&5
30300 echo "${ECHO_T}no" >&6; }
30301 if test "$PKG_CONFIG" = "no" ; then
30302 echo "*** A new enough version of pkg-config was not found."
30303 echo "*** See http://pkgconfig.sourceforge.net"
30304 else
30305 if test -f conf.gtktest ; then
30306 :
30307 else
30308 echo "*** Could not run GTK+ test program, checking why..."
30309 ac_save_CFLAGS="$CFLAGS"
30310 ac_save_LIBS="$LIBS"
30311 CFLAGS="$CFLAGS $GTK_CFLAGS"
30312 LIBS="$LIBS $GTK_LIBS"
30313 cat >conftest.$ac_ext <<_ACEOF
30314 /* confdefs.h. */
30315 _ACEOF
30316 cat confdefs.h >>conftest.$ac_ext
30317 cat >>conftest.$ac_ext <<_ACEOF
30318 /* end confdefs.h. */
30319
30320 #include <gtk/gtk.h>
30321 #include <stdio.h>
30322
30323 int
30324 main ()
30325 {
30326 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30327 ;
30328 return 0;
30329 }
30330 _ACEOF
30331 rm -f conftest.$ac_objext conftest$ac_exeext
30332 if { (ac_try="$ac_link"
30333 case "(($ac_try" in
30334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30335 *) ac_try_echo=$ac_try;;
30336 esac
30337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30338 (eval "$ac_link") 2>conftest.er1
30339 ac_status=$?
30340 grep -v '^ *+' conftest.er1 >conftest.err
30341 rm -f conftest.er1
30342 cat conftest.err >&5
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); } && {
30345 test -z "$ac_c_werror_flag" ||
30346 test ! -s conftest.err
30347 } && test -s conftest$ac_exeext &&
30348 $as_test_x conftest$ac_exeext; then
30349 echo "*** The test program compiled, but did not run. This usually means"
30350 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30351 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30352 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30353 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30354 echo "*** is required on your system"
30355 echo "***"
30356 echo "*** If you have an old version installed, it is best to remove it, although"
30357 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30358 else
30359 echo "$as_me: failed program was:" >&5
30360 sed 's/^/| /' conftest.$ac_ext >&5
30361
30362 echo "*** The test program failed to compile or link. See the file config.log for the"
30363 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30364 fi
30365
30366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30367 conftest$ac_exeext conftest.$ac_ext
30368 CFLAGS="$ac_save_CFLAGS"
30369 LIBS="$ac_save_LIBS"
30370 fi
30371 fi
30372 GTK_CFLAGS=""
30373 GTK_LIBS=""
30374 :
30375 fi
30376
30377
30378 rm -f conf.gtktest
30379
30380
30381 case "${host}" in
30382 *-*-solaris2* )
30383 if test "$wxUSE_SHARED" != "yes"; then
30384 GTK_LIBS="$GTK_LIBS -lX11"
30385 fi
30386 esac
30387 fi
30388
30389 if test -z "$wx_cv_lib_gtk"; then
30390 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30391
30392 # Check whether --with-gtk-prefix was given.
30393 if test "${with_gtk_prefix+set}" = set; then
30394 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30395 else
30396 gtk_config_prefix=""
30397 fi
30398
30399
30400 # Check whether --with-gtk-exec-prefix was given.
30401 if test "${with_gtk_exec_prefix+set}" = set; then
30402 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30403 else
30404 gtk_config_exec_prefix=""
30405 fi
30406
30407 # Check whether --enable-gtktest was given.
30408 if test "${enable_gtktest+set}" = set; then
30409 enableval=$enable_gtktest;
30410 else
30411 enable_gtktest=yes
30412 fi
30413
30414
30415 for module in . $GTK_MODULES
30416 do
30417 case "$module" in
30418 gthread)
30419 gtk_config_args="$gtk_config_args gthread"
30420 ;;
30421 esac
30422 done
30423
30424 if test x$gtk_config_exec_prefix != x ; then
30425 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30426 if test x${GTK_CONFIG+set} != xset ; then
30427 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30428 fi
30429 fi
30430 if test x$gtk_config_prefix != x ; then
30431 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30432 if test x${GTK_CONFIG+set} != xset ; then
30433 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30434 fi
30435 fi
30436
30437 # Extract the first word of "gtk-config", so it can be a program name with args.
30438 set dummy gtk-config; ac_word=$2
30439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30441 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30442 echo $ECHO_N "(cached) $ECHO_C" >&6
30443 else
30444 case $GTK_CONFIG in
30445 [\\/]* | ?:[\\/]*)
30446 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30447 ;;
30448 *)
30449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30450 for as_dir in $PATH
30451 do
30452 IFS=$as_save_IFS
30453 test -z "$as_dir" && as_dir=.
30454 for ac_exec_ext in '' $ac_executable_extensions; do
30455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30456 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30458 break 2
30459 fi
30460 done
30461 done
30462 IFS=$as_save_IFS
30463
30464 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30465 ;;
30466 esac
30467 fi
30468 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30469 if test -n "$GTK_CONFIG"; then
30470 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30471 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30472 else
30473 { echo "$as_me:$LINENO: result: no" >&5
30474 echo "${ECHO_T}no" >&6; }
30475 fi
30476
30477
30478 min_gtk_version=1.2.7
30479 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30480 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30481 no_gtk=""
30482 if test "$GTK_CONFIG" = "no" ; then
30483 no_gtk=yes
30484 else
30485 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30486 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30487 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30489 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30491 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30493 if test "x$enable_gtktest" = "xyes" ; then
30494 ac_save_CFLAGS="$CFLAGS"
30495 ac_save_LIBS="$LIBS"
30496 CFLAGS="$CFLAGS $GTK_CFLAGS"
30497 LIBS="$GTK_LIBS $LIBS"
30498 rm -f conf.gtktest
30499 if test "$cross_compiling" = yes; then
30500 echo $ac_n "cross compiling; assumed OK... $ac_c"
30501 else
30502 cat >conftest.$ac_ext <<_ACEOF
30503 /* confdefs.h. */
30504 _ACEOF
30505 cat confdefs.h >>conftest.$ac_ext
30506 cat >>conftest.$ac_ext <<_ACEOF
30507 /* end confdefs.h. */
30508
30509 #include <gtk/gtk.h>
30510 #include <stdio.h>
30511 #include <stdlib.h>
30512
30513 int
30514 main ()
30515 {
30516 int major, minor, micro;
30517 char *tmp_version;
30518
30519 system ("touch conf.gtktest");
30520
30521 /* HP/UX 9 (%@#!) writes to sscanf strings */
30522 tmp_version = g_strdup("$min_gtk_version");
30523 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30524 printf("%s, bad version string\n", "$min_gtk_version");
30525 exit(1);
30526 }
30527
30528 if ((gtk_major_version != $gtk_config_major_version) ||
30529 (gtk_minor_version != $gtk_config_minor_version) ||
30530 (gtk_micro_version != $gtk_config_micro_version))
30531 {
30532 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30533 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30534 gtk_major_version, gtk_minor_version, gtk_micro_version);
30535 printf ("*** was found! If gtk-config was correct, then it is best\n");
30536 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30537 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30538 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30539 printf("*** required on your system.\n");
30540 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30541 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30542 printf("*** before re-running configure\n");
30543 }
30544 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30545 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30546 (gtk_minor_version != GTK_MINOR_VERSION) ||
30547 (gtk_micro_version != GTK_MICRO_VERSION))
30548 {
30549 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30550 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30551 printf("*** library (version %d.%d.%d)\n",
30552 gtk_major_version, gtk_minor_version, gtk_micro_version);
30553 }
30554 #endif /* defined (GTK_MAJOR_VERSION) ... */
30555 else
30556 {
30557 if ((gtk_major_version > major) ||
30558 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30559 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30560 {
30561 return 0;
30562 }
30563 else
30564 {
30565 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30566 gtk_major_version, gtk_minor_version, gtk_micro_version);
30567 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30568 major, minor, micro);
30569 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30570 printf("***\n");
30571 printf("*** If you have already installed a sufficiently new version, this error\n");
30572 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30573 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30574 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30575 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30576 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30577 printf("*** so that the correct libraries are found at run-time))\n");
30578 }
30579 }
30580 return 1;
30581 }
30582
30583 _ACEOF
30584 rm -f conftest$ac_exeext
30585 if { (ac_try="$ac_link"
30586 case "(($ac_try" in
30587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30588 *) ac_try_echo=$ac_try;;
30589 esac
30590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30591 (eval "$ac_link") 2>&5
30592 ac_status=$?
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30595 { (case "(($ac_try" in
30596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30597 *) ac_try_echo=$ac_try;;
30598 esac
30599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30600 (eval "$ac_try") 2>&5
30601 ac_status=$?
30602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30603 (exit $ac_status); }; }; then
30604 :
30605 else
30606 echo "$as_me: program exited with status $ac_status" >&5
30607 echo "$as_me: failed program was:" >&5
30608 sed 's/^/| /' conftest.$ac_ext >&5
30609
30610 ( exit $ac_status )
30611 no_gtk=yes
30612 fi
30613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30614 fi
30615
30616
30617 CFLAGS="$ac_save_CFLAGS"
30618 LIBS="$ac_save_LIBS"
30619 fi
30620 fi
30621 if test "x$no_gtk" = x ; then
30622 { echo "$as_me:$LINENO: result: yes" >&5
30623 echo "${ECHO_T}yes" >&6; }
30624 wx_cv_lib_gtk=1.2.7
30625 else
30626 { echo "$as_me:$LINENO: result: no" >&5
30627 echo "${ECHO_T}no" >&6; }
30628 if test "$GTK_CONFIG" = "no" ; then
30629 echo "*** The gtk-config script installed by GTK could not be found"
30630 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30631 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30632 echo "*** full path to gtk-config."
30633 else
30634 if test -f conf.gtktest ; then
30635 :
30636 else
30637 echo "*** Could not run GTK test program, checking why..."
30638 CFLAGS="$CFLAGS $GTK_CFLAGS"
30639 LIBS="$LIBS $GTK_LIBS"
30640 cat >conftest.$ac_ext <<_ACEOF
30641 /* confdefs.h. */
30642 _ACEOF
30643 cat confdefs.h >>conftest.$ac_ext
30644 cat >>conftest.$ac_ext <<_ACEOF
30645 /* end confdefs.h. */
30646
30647 #include <gtk/gtk.h>
30648 #include <stdio.h>
30649
30650 int
30651 main ()
30652 {
30653 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30654 ;
30655 return 0;
30656 }
30657 _ACEOF
30658 rm -f conftest.$ac_objext conftest$ac_exeext
30659 if { (ac_try="$ac_link"
30660 case "(($ac_try" in
30661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30662 *) ac_try_echo=$ac_try;;
30663 esac
30664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30665 (eval "$ac_link") 2>conftest.er1
30666 ac_status=$?
30667 grep -v '^ *+' conftest.er1 >conftest.err
30668 rm -f conftest.er1
30669 cat conftest.err >&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); } && {
30672 test -z "$ac_c_werror_flag" ||
30673 test ! -s conftest.err
30674 } && test -s conftest$ac_exeext &&
30675 $as_test_x conftest$ac_exeext; then
30676 echo "*** The test program compiled, but did not run. This usually means"
30677 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30678 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30679 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30680 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30681 echo "*** is required on your system"
30682 echo "***"
30683 echo "*** If you have an old version installed, it is best to remove it, although"
30684 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30685 echo "***"
30686 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30687 echo "*** came with the system with the command"
30688 echo "***"
30689 echo "*** rpm --erase --nodeps gtk gtk-devel"
30690 else
30691 echo "$as_me: failed program was:" >&5
30692 sed 's/^/| /' conftest.$ac_ext >&5
30693
30694 echo "*** The test program failed to compile or link. See the file config.log for the"
30695 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30696 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30697 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30698 fi
30699
30700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30701 conftest$ac_exeext conftest.$ac_ext
30702 CFLAGS="$ac_save_CFLAGS"
30703 LIBS="$ac_save_LIBS"
30704 fi
30705 fi
30706 GTK_CFLAGS=""
30707 GTK_LIBS=""
30708 :
30709 fi
30710
30711
30712 rm -f conf.gtktest
30713
30714
30715 if test -z "$wx_cv_lib_gtk"; then
30716
30717 # Check whether --with-gtk-prefix was given.
30718 if test "${with_gtk_prefix+set}" = set; then
30719 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30720 else
30721 gtk_config_prefix=""
30722 fi
30723
30724
30725 # Check whether --with-gtk-exec-prefix was given.
30726 if test "${with_gtk_exec_prefix+set}" = set; then
30727 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30728 else
30729 gtk_config_exec_prefix=""
30730 fi
30731
30732 # Check whether --enable-gtktest was given.
30733 if test "${enable_gtktest+set}" = set; then
30734 enableval=$enable_gtktest;
30735 else
30736 enable_gtktest=yes
30737 fi
30738
30739
30740 for module in . $GTK_MODULES
30741 do
30742 case "$module" in
30743 gthread)
30744 gtk_config_args="$gtk_config_args gthread"
30745 ;;
30746 esac
30747 done
30748
30749 if test x$gtk_config_exec_prefix != x ; then
30750 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30751 if test x${GTK_CONFIG+set} != xset ; then
30752 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30753 fi
30754 fi
30755 if test x$gtk_config_prefix != x ; then
30756 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30757 if test x${GTK_CONFIG+set} != xset ; then
30758 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30759 fi
30760 fi
30761
30762 # Extract the first word of "gtk-config", so it can be a program name with args.
30763 set dummy gtk-config; ac_word=$2
30764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30766 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30767 echo $ECHO_N "(cached) $ECHO_C" >&6
30768 else
30769 case $GTK_CONFIG in
30770 [\\/]* | ?:[\\/]*)
30771 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30772 ;;
30773 *)
30774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30775 for as_dir in $PATH
30776 do
30777 IFS=$as_save_IFS
30778 test -z "$as_dir" && as_dir=.
30779 for ac_exec_ext in '' $ac_executable_extensions; do
30780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30781 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30783 break 2
30784 fi
30785 done
30786 done
30787 IFS=$as_save_IFS
30788
30789 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30790 ;;
30791 esac
30792 fi
30793 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30794 if test -n "$GTK_CONFIG"; then
30795 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30796 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30797 else
30798 { echo "$as_me:$LINENO: result: no" >&5
30799 echo "${ECHO_T}no" >&6; }
30800 fi
30801
30802
30803 min_gtk_version=1.2.3
30804 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30805 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30806 no_gtk=""
30807 if test "$GTK_CONFIG" = "no" ; then
30808 no_gtk=yes
30809 else
30810 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30811 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30812 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30813 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30814 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30815 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30816 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30817 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30818 if test "x$enable_gtktest" = "xyes" ; then
30819 ac_save_CFLAGS="$CFLAGS"
30820 ac_save_LIBS="$LIBS"
30821 CFLAGS="$CFLAGS $GTK_CFLAGS"
30822 LIBS="$GTK_LIBS $LIBS"
30823 rm -f conf.gtktest
30824 if test "$cross_compiling" = yes; then
30825 echo $ac_n "cross compiling; assumed OK... $ac_c"
30826 else
30827 cat >conftest.$ac_ext <<_ACEOF
30828 /* confdefs.h. */
30829 _ACEOF
30830 cat confdefs.h >>conftest.$ac_ext
30831 cat >>conftest.$ac_ext <<_ACEOF
30832 /* end confdefs.h. */
30833
30834 #include <gtk/gtk.h>
30835 #include <stdio.h>
30836 #include <stdlib.h>
30837
30838 int
30839 main ()
30840 {
30841 int major, minor, micro;
30842 char *tmp_version;
30843
30844 system ("touch conf.gtktest");
30845
30846 /* HP/UX 9 (%@#!) writes to sscanf strings */
30847 tmp_version = g_strdup("$min_gtk_version");
30848 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30849 printf("%s, bad version string\n", "$min_gtk_version");
30850 exit(1);
30851 }
30852
30853 if ((gtk_major_version != $gtk_config_major_version) ||
30854 (gtk_minor_version != $gtk_config_minor_version) ||
30855 (gtk_micro_version != $gtk_config_micro_version))
30856 {
30857 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30858 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30859 gtk_major_version, gtk_minor_version, gtk_micro_version);
30860 printf ("*** was found! If gtk-config was correct, then it is best\n");
30861 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30862 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30863 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30864 printf("*** required on your system.\n");
30865 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30866 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30867 printf("*** before re-running configure\n");
30868 }
30869 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30870 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30871 (gtk_minor_version != GTK_MINOR_VERSION) ||
30872 (gtk_micro_version != GTK_MICRO_VERSION))
30873 {
30874 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30875 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30876 printf("*** library (version %d.%d.%d)\n",
30877 gtk_major_version, gtk_minor_version, gtk_micro_version);
30878 }
30879 #endif /* defined (GTK_MAJOR_VERSION) ... */
30880 else
30881 {
30882 if ((gtk_major_version > major) ||
30883 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30884 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30885 {
30886 return 0;
30887 }
30888 else
30889 {
30890 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30891 gtk_major_version, gtk_minor_version, gtk_micro_version);
30892 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30893 major, minor, micro);
30894 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30895 printf("***\n");
30896 printf("*** If you have already installed a sufficiently new version, this error\n");
30897 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30898 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30899 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30900 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30901 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30902 printf("*** so that the correct libraries are found at run-time))\n");
30903 }
30904 }
30905 return 1;
30906 }
30907
30908 _ACEOF
30909 rm -f conftest$ac_exeext
30910 if { (ac_try="$ac_link"
30911 case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30913 *) ac_try_echo=$ac_try;;
30914 esac
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_link") 2>&5
30917 ac_status=$?
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30920 { (case "(($ac_try" in
30921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30922 *) ac_try_echo=$ac_try;;
30923 esac
30924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30925 (eval "$ac_try") 2>&5
30926 ac_status=$?
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); }; }; then
30929 :
30930 else
30931 echo "$as_me: program exited with status $ac_status" >&5
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.$ac_ext >&5
30934
30935 ( exit $ac_status )
30936 no_gtk=yes
30937 fi
30938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30939 fi
30940
30941
30942 CFLAGS="$ac_save_CFLAGS"
30943 LIBS="$ac_save_LIBS"
30944 fi
30945 fi
30946 if test "x$no_gtk" = x ; then
30947 { echo "$as_me:$LINENO: result: yes" >&5
30948 echo "${ECHO_T}yes" >&6; }
30949 wx_cv_lib_gtk=1.2.3
30950 else
30951 { echo "$as_me:$LINENO: result: no" >&5
30952 echo "${ECHO_T}no" >&6; }
30953 if test "$GTK_CONFIG" = "no" ; then
30954 echo "*** The gtk-config script installed by GTK could not be found"
30955 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30956 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30957 echo "*** full path to gtk-config."
30958 else
30959 if test -f conf.gtktest ; then
30960 :
30961 else
30962 echo "*** Could not run GTK test program, checking why..."
30963 CFLAGS="$CFLAGS $GTK_CFLAGS"
30964 LIBS="$LIBS $GTK_LIBS"
30965 cat >conftest.$ac_ext <<_ACEOF
30966 /* confdefs.h. */
30967 _ACEOF
30968 cat confdefs.h >>conftest.$ac_ext
30969 cat >>conftest.$ac_ext <<_ACEOF
30970 /* end confdefs.h. */
30971
30972 #include <gtk/gtk.h>
30973 #include <stdio.h>
30974
30975 int
30976 main ()
30977 {
30978 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30979 ;
30980 return 0;
30981 }
30982 _ACEOF
30983 rm -f conftest.$ac_objext conftest$ac_exeext
30984 if { (ac_try="$ac_link"
30985 case "(($ac_try" in
30986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30987 *) ac_try_echo=$ac_try;;
30988 esac
30989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30990 (eval "$ac_link") 2>conftest.er1
30991 ac_status=$?
30992 grep -v '^ *+' conftest.er1 >conftest.err
30993 rm -f conftest.er1
30994 cat conftest.err >&5
30995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); } && {
30997 test -z "$ac_c_werror_flag" ||
30998 test ! -s conftest.err
30999 } && test -s conftest$ac_exeext &&
31000 $as_test_x conftest$ac_exeext; then
31001 echo "*** The test program compiled, but did not run. This usually means"
31002 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31003 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31004 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31005 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31006 echo "*** is required on your system"
31007 echo "***"
31008 echo "*** If you have an old version installed, it is best to remove it, although"
31009 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31010 echo "***"
31011 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31012 echo "*** came with the system with the command"
31013 echo "***"
31014 echo "*** rpm --erase --nodeps gtk gtk-devel"
31015 else
31016 echo "$as_me: failed program was:" >&5
31017 sed 's/^/| /' conftest.$ac_ext >&5
31018
31019 echo "*** The test program failed to compile or link. See the file config.log for the"
31020 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31021 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31022 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31023 fi
31024
31025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31026 conftest$ac_exeext conftest.$ac_ext
31027 CFLAGS="$ac_save_CFLAGS"
31028 LIBS="$ac_save_LIBS"
31029 fi
31030 fi
31031 GTK_CFLAGS=""
31032 GTK_LIBS=""
31033 :
31034 fi
31035
31036
31037 rm -f conf.gtktest
31038
31039 fi
31040 fi
31041 fi
31042
31043 if test -z "$wx_cv_lib_gtk"; then
31044 wx_cv_lib_gtk=none
31045 else
31046 wx_cv_cflags_gtk=$GTK_CFLAGS
31047 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31048 fi
31049
31050
31051 fi
31052
31053
31054 if test "$gtk_version_cached" = 1; then
31055 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31056 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31057 fi
31058
31059 case "$wx_cv_lib_gtk" in
31060 2.0) WXGTK20=1
31061 TOOLKIT_VERSION=2
31062 ;;
31063 1.2.7) WXGTK127=1
31064 WXGTK12=1
31065 ;;
31066 1.2.3) WXGTK12=1
31067 ;;
31068 *) { { echo "$as_me:$LINENO: error:
31069 The development files for GTK+ were not found. For GTK+ 2, please
31070 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31071 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31072 and that the version is 1.2.3 or above. Also check that the
31073 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31074 --libs' are in the LD_LIBRARY_PATH or equivalent.
31075 " >&5
31076 echo "$as_me: error:
31077 The development files for GTK+ were not found. For GTK+ 2, please
31078 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31079 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31080 and that the version is 1.2.3 or above. Also check that the
31081 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31082 --libs' are in the LD_LIBRARY_PATH or equivalent.
31083 " >&2;}
31084 { (exit 1); exit 1; }; }
31085 ;;
31086 esac
31087
31088 if test "$WXGTK20" = 1; then
31089 save_CFLAGS="$CFLAGS"
31090 save_LIBS="$LIBS"
31091 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31092 LIBS="$LIBS $wx_cv_libs_gtk"
31093
31094 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31095 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31096 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31097 echo $ECHO_N "(cached) $ECHO_C" >&6
31098 else
31099 cat >conftest.$ac_ext <<_ACEOF
31100 /* confdefs.h. */
31101 _ACEOF
31102 cat confdefs.h >>conftest.$ac_ext
31103 cat >>conftest.$ac_ext <<_ACEOF
31104 /* end confdefs.h. */
31105 #include <gtk/gtk.h>
31106
31107 int
31108 main ()
31109 {
31110 #ifndef gtk_icon_size_lookup
31111 (void) gtk_icon_size_lookup;
31112 #endif
31113
31114 ;
31115 return 0;
31116 }
31117 _ACEOF
31118 rm -f conftest.$ac_objext
31119 if { (ac_try="$ac_compile"
31120 case "(($ac_try" in
31121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31122 *) ac_try_echo=$ac_try;;
31123 esac
31124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31125 (eval "$ac_compile") 2>conftest.er1
31126 ac_status=$?
31127 grep -v '^ *+' conftest.er1 >conftest.err
31128 rm -f conftest.er1
31129 cat conftest.err >&5
31130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 (exit $ac_status); } && {
31132 test -z "$ac_c_werror_flag" ||
31133 test ! -s conftest.err
31134 } && test -s conftest.$ac_objext; then
31135 ac_cv_have_decl_gtk_icon_size_lookup=yes
31136 else
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.$ac_ext >&5
31139
31140 ac_cv_have_decl_gtk_icon_size_lookup=no
31141 fi
31142
31143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31144 fi
31145 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31146 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31147 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31148
31149 cat >>confdefs.h <<_ACEOF
31150 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31151 _ACEOF
31152
31153
31154 else
31155 cat >>confdefs.h <<_ACEOF
31156 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31157 _ACEOF
31158
31159 cat >>confdefs.h <<\_ACEOF
31160 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31161 _ACEOF
31162
31163 fi
31164
31165
31166
31167
31168 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31169 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31170 cat >conftest.$ac_ext <<_ACEOF
31171 /* confdefs.h. */
31172 _ACEOF
31173 cat confdefs.h >>conftest.$ac_ext
31174 cat >>conftest.$ac_ext <<_ACEOF
31175 /* end confdefs.h. */
31176
31177 #include <gtk/gtk.h>
31178
31179 int
31180 main ()
31181 {
31182
31183 #if !GTK_CHECK_VERSION(2,10,0)
31184 Not GTK+ 2.10
31185 #endif
31186
31187 ;
31188 return 0;
31189 }
31190 _ACEOF
31191 rm -f conftest.$ac_objext
31192 if { (ac_try="$ac_compile"
31193 case "(($ac_try" in
31194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31195 *) ac_try_echo=$ac_try;;
31196 esac
31197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31198 (eval "$ac_compile") 2>conftest.er1
31199 ac_status=$?
31200 grep -v '^ *+' conftest.er1 >conftest.err
31201 rm -f conftest.er1
31202 cat conftest.err >&5
31203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31204 (exit $ac_status); } && {
31205 test -z "$ac_c_werror_flag" ||
31206 test ! -s conftest.err
31207 } && test -s conftest.$ac_objext; then
31208
31209 cat >>confdefs.h <<\_ACEOF
31210 #define __WXGTK210__ 1
31211 _ACEOF
31212
31213 cat >>confdefs.h <<\_ACEOF
31214 #define __WXGTK26__ 1
31215 _ACEOF
31216
31217 cat >>confdefs.h <<\_ACEOF
31218 #define __WXGTK24__ 1
31219 _ACEOF
31220
31221 { echo "$as_me:$LINENO: result: yes" >&5
31222 echo "${ECHO_T}yes" >&6; }
31223 ac_wxgtk210=1
31224
31225 else
31226 echo "$as_me: failed program was:" >&5
31227 sed 's/^/| /' conftest.$ac_ext >&5
31228
31229
31230 { echo "$as_me:$LINENO: result: no" >&5
31231 echo "${ECHO_T}no" >&6; }
31232 ac_wxgtk210=0
31233
31234 fi
31235
31236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31237
31238 if test "$ac_wxgtk210" = 0; then
31239 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31240 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
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 <gtk/gtk.h>
31249
31250 int
31251 main ()
31252 {
31253
31254 #if !GTK_CHECK_VERSION(2,6,0)
31255 Not GTK+ 2.6
31256 #endif
31257
31258 ;
31259 return 0;
31260 }
31261 _ACEOF
31262 rm -f conftest.$ac_objext
31263 if { (ac_try="$ac_compile"
31264 case "(($ac_try" in
31265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31266 *) ac_try_echo=$ac_try;;
31267 esac
31268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31269 (eval "$ac_compile") 2>conftest.er1
31270 ac_status=$?
31271 grep -v '^ *+' conftest.er1 >conftest.err
31272 rm -f conftest.er1
31273 cat conftest.err >&5
31274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275 (exit $ac_status); } && {
31276 test -z "$ac_c_werror_flag" ||
31277 test ! -s conftest.err
31278 } && test -s conftest.$ac_objext; then
31279
31280 cat >>confdefs.h <<\_ACEOF
31281 #define __WXGTK26__ 1
31282 _ACEOF
31283
31284 cat >>confdefs.h <<\_ACEOF
31285 #define __WXGTK24__ 1
31286 _ACEOF
31287
31288 { echo "$as_me:$LINENO: result: yes" >&5
31289 echo "${ECHO_T}yes" >&6; }
31290 ac_wxgtk26=1
31291
31292 else
31293 echo "$as_me: failed program was:" >&5
31294 sed 's/^/| /' conftest.$ac_ext >&5
31295
31296
31297 { echo "$as_me:$LINENO: result: no" >&5
31298 echo "${ECHO_T}no" >&6; }
31299 ac_wxgtk26=0
31300
31301 fi
31302
31303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31304 fi
31305
31306 if test "$ac_wxgtk26" = 0; then
31307 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31308 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31309 cat >conftest.$ac_ext <<_ACEOF
31310 /* confdefs.h. */
31311 _ACEOF
31312 cat confdefs.h >>conftest.$ac_ext
31313 cat >>conftest.$ac_ext <<_ACEOF
31314 /* end confdefs.h. */
31315
31316 #include <gtk/gtk.h>
31317
31318 int
31319 main ()
31320 {
31321
31322 #if !GTK_CHECK_VERSION(2,4,0)
31323 Not GTK+ 2.4
31324 #endif
31325
31326 ;
31327 return 0;
31328 }
31329 _ACEOF
31330 rm -f conftest.$ac_objext
31331 if { (ac_try="$ac_compile"
31332 case "(($ac_try" in
31333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31334 *) ac_try_echo=$ac_try;;
31335 esac
31336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31337 (eval "$ac_compile") 2>conftest.er1
31338 ac_status=$?
31339 grep -v '^ *+' conftest.er1 >conftest.err
31340 rm -f conftest.er1
31341 cat conftest.err >&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); } && {
31344 test -z "$ac_c_werror_flag" ||
31345 test ! -s conftest.err
31346 } && test -s conftest.$ac_objext; then
31347
31348 cat >>confdefs.h <<\_ACEOF
31349 #define __WXGTK24__ 1
31350 _ACEOF
31351
31352 { echo "$as_me:$LINENO: result: yes" >&5
31353 echo "${ECHO_T}yes" >&6; }
31354
31355 else
31356 echo "$as_me: failed program was:" >&5
31357 sed 's/^/| /' conftest.$ac_ext >&5
31358
31359
31360 { echo "$as_me:$LINENO: result: no" >&5
31361 echo "${ECHO_T}no" >&6; }
31362
31363 fi
31364
31365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31366 fi
31367
31368 CFLAGS="$save_CFLAGS"
31369 LIBS="$save_LIBS"
31370 else
31371 if test "$wxUSE_UNICODE" = "yes"; then
31372 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31373 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31374 wxUSE_UNICODE=no
31375 fi
31376
31377 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31378 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31379 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31380 echo $ECHO_N "(cached) $ECHO_C" >&6
31381 else
31382 ac_check_lib_save_LIBS=$LIBS
31383 LIBS="-lgdk $LIBS"
31384 cat >conftest.$ac_ext <<_ACEOF
31385 /* confdefs.h. */
31386 _ACEOF
31387 cat confdefs.h >>conftest.$ac_ext
31388 cat >>conftest.$ac_ext <<_ACEOF
31389 /* end confdefs.h. */
31390
31391 /* Override any GCC internal prototype to avoid an error.
31392 Use char because int might match the return type of a GCC
31393 builtin and then its argument prototype would still apply. */
31394 #ifdef __cplusplus
31395 extern "C"
31396 #endif
31397 char gdk_im_open ();
31398 int
31399 main ()
31400 {
31401 return gdk_im_open ();
31402 ;
31403 return 0;
31404 }
31405 _ACEOF
31406 rm -f conftest.$ac_objext conftest$ac_exeext
31407 if { (ac_try="$ac_link"
31408 case "(($ac_try" in
31409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31410 *) ac_try_echo=$ac_try;;
31411 esac
31412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31413 (eval "$ac_link") 2>conftest.er1
31414 ac_status=$?
31415 grep -v '^ *+' conftest.er1 >conftest.err
31416 rm -f conftest.er1
31417 cat conftest.err >&5
31418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419 (exit $ac_status); } && {
31420 test -z "$ac_c_werror_flag" ||
31421 test ! -s conftest.err
31422 } && test -s conftest$ac_exeext &&
31423 $as_test_x conftest$ac_exeext; then
31424 ac_cv_lib_gdk_gdk_im_open=yes
31425 else
31426 echo "$as_me: failed program was:" >&5
31427 sed 's/^/| /' conftest.$ac_ext >&5
31428
31429 ac_cv_lib_gdk_gdk_im_open=no
31430 fi
31431
31432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31433 conftest$ac_exeext conftest.$ac_ext
31434 LIBS=$ac_check_lib_save_LIBS
31435 fi
31436 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31437 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31438 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31439 cat >>confdefs.h <<\_ACEOF
31440 #define HAVE_XIM 1
31441 _ACEOF
31442
31443 fi
31444
31445
31446 if test "$USE_DARWIN" != 1; then
31447
31448 for ac_func in poll
31449 do
31450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31454 echo $ECHO_N "(cached) $ECHO_C" >&6
31455 else
31456 cat >conftest.$ac_ext <<_ACEOF
31457 /* confdefs.h. */
31458 _ACEOF
31459 cat confdefs.h >>conftest.$ac_ext
31460 cat >>conftest.$ac_ext <<_ACEOF
31461 /* end confdefs.h. */
31462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31464 #define $ac_func innocuous_$ac_func
31465
31466 /* System header to define __stub macros and hopefully few prototypes,
31467 which can conflict with char $ac_func (); below.
31468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31469 <limits.h> exists even on freestanding compilers. */
31470
31471 #ifdef __STDC__
31472 # include <limits.h>
31473 #else
31474 # include <assert.h>
31475 #endif
31476
31477 #undef $ac_func
31478
31479 /* Override any GCC internal prototype to avoid an error.
31480 Use char because int might match the return type of a GCC
31481 builtin and then its argument prototype would still apply. */
31482 #ifdef __cplusplus
31483 extern "C"
31484 #endif
31485 char $ac_func ();
31486 /* The GNU C library defines this for functions which it implements
31487 to always fail with ENOSYS. Some functions are actually named
31488 something starting with __ and the normal name is an alias. */
31489 #if defined __stub_$ac_func || defined __stub___$ac_func
31490 choke me
31491 #endif
31492
31493 int
31494 main ()
31495 {
31496 return $ac_func ();
31497 ;
31498 return 0;
31499 }
31500 _ACEOF
31501 rm -f conftest.$ac_objext conftest$ac_exeext
31502 if { (ac_try="$ac_link"
31503 case "(($ac_try" in
31504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31505 *) ac_try_echo=$ac_try;;
31506 esac
31507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31508 (eval "$ac_link") 2>conftest.er1
31509 ac_status=$?
31510 grep -v '^ *+' conftest.er1 >conftest.err
31511 rm -f conftest.er1
31512 cat conftest.err >&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); } && {
31515 test -z "$ac_c_werror_flag" ||
31516 test ! -s conftest.err
31517 } && test -s conftest$ac_exeext &&
31518 $as_test_x conftest$ac_exeext; then
31519 eval "$as_ac_var=yes"
31520 else
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.$ac_ext >&5
31523
31524 eval "$as_ac_var=no"
31525 fi
31526
31527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31528 conftest$ac_exeext conftest.$ac_ext
31529 fi
31530 ac_res=`eval echo '${'$as_ac_var'}'`
31531 { echo "$as_me:$LINENO: result: $ac_res" >&5
31532 echo "${ECHO_T}$ac_res" >&6; }
31533 if test `eval echo '${'$as_ac_var'}'` = yes; then
31534 cat >>confdefs.h <<_ACEOF
31535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31536 _ACEOF
31537
31538 fi
31539 done
31540
31541 fi
31542 fi
31543
31544 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31545 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31546
31547 AFMINSTALL=afminstall
31548 TOOLKIT=GTK
31549 GUIDIST=GTK_DIST
31550
31551 if test "$wxUSE_GPE" = "yes"; then
31552 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31553 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31554
31555 ac_find_libraries=
31556 for ac_dir in $SEARCH_LIB;
31557 do
31558 for ac_extension in a so sl dylib dll.a; do
31559 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31560 ac_find_libraries=$ac_dir
31561 break 2
31562 fi
31563 done
31564 done
31565
31566 if test "$ac_find_libraries" != "" ; then
31567
31568 if test "$ac_find_libraries" = "default location"; then
31569 ac_path_to_link=""
31570 else
31571 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31572 result=$?
31573 if test $result = 0; then
31574 ac_path_to_link=""
31575 else
31576 ac_path_to_link=" -L$ac_find_libraries"
31577 fi
31578 fi
31579
31580 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31581 WXGPE=1
31582 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31583 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31584 else
31585 { echo "$as_me:$LINENO: result: not found" >&5
31586 echo "${ECHO_T}not found" >&6; }
31587 fi
31588
31589 fi
31590 fi
31591
31592 if test "$wxUSE_MGL" = 1; then
31593 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31594 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31595 if test "x$MGL_ROOT" = x ; then
31596 { echo "$as_me:$LINENO: result: not found" >&5
31597 echo "${ECHO_T}not found" >&6; }
31598 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31599 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31600 { (exit 1); exit 1; }; }
31601 else
31602 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31603 echo "${ECHO_T}$MGL_ROOT" >&6; }
31604 fi
31605
31606 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31607 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31608 case "${host}" in
31609 *-*-linux* )
31610 if test "x$wxUSE_SHARED" = xyes ; then
31611 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31612 else
31613 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31614 fi
31615 ;;
31616 *-pc-msdosdjgpp )
31617 mgl_os_candidates="dos32/dj2"
31618 ;;
31619 *)
31620 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31621 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31622 { (exit 1); exit 1; }; }
31623 esac
31624
31625 mgl_lib_type=""
31626 mgl_os=""
31627
31628 for mgl_os_i in $mgl_os_candidates ; do
31629 if test "x$mgl_os" = x ; then
31630 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31631 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31632 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31633 mgl_lib_type=debug
31634 mgl_os=$mgl_os_i
31635 fi
31636 fi
31637 if test "x$mgl_lib_type" = x ; then
31638 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31639 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31640 mgl_lib_type=release
31641 mgl_os=$mgl_os_i
31642 fi
31643 fi
31644 fi
31645 done
31646
31647 if test "x$mgl_os" = x ; then
31648 { echo "$as_me:$LINENO: result: not found" >&5
31649 echo "${ECHO_T}not found" >&6; }
31650 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31651 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31652 { (exit 1); exit 1; }; }
31653 fi
31654 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31655 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31656
31657 wxUSE_UNIVERSAL="yes"
31658
31659 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31660 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31661
31662 AFMINSTALL=afminstall
31663 TOOLKIT=MGL
31664 GUIDIST=MGL_DIST
31665 fi
31666
31667 if test "$wxUSE_DFB" = 1; then
31668
31669
31670 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31671 if test -n "$ac_tool_prefix"; then
31672 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31673 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31676 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31677 echo $ECHO_N "(cached) $ECHO_C" >&6
31678 else
31679 case $PKG_CONFIG in
31680 [\\/]* | ?:[\\/]*)
31681 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31682 ;;
31683 *)
31684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31685 for as_dir in $PATH
31686 do
31687 IFS=$as_save_IFS
31688 test -z "$as_dir" && as_dir=.
31689 for ac_exec_ext in '' $ac_executable_extensions; do
31690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31691 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31693 break 2
31694 fi
31695 done
31696 done
31697 IFS=$as_save_IFS
31698
31699 ;;
31700 esac
31701 fi
31702 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31703 if test -n "$PKG_CONFIG"; then
31704 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31705 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31706 else
31707 { echo "$as_me:$LINENO: result: no" >&5
31708 echo "${ECHO_T}no" >&6; }
31709 fi
31710
31711
31712 fi
31713 if test -z "$ac_cv_path_PKG_CONFIG"; then
31714 ac_pt_PKG_CONFIG=$PKG_CONFIG
31715 # Extract the first word of "pkg-config", so it can be a program name with args.
31716 set dummy pkg-config; ac_word=$2
31717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31719 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31720 echo $ECHO_N "(cached) $ECHO_C" >&6
31721 else
31722 case $ac_pt_PKG_CONFIG in
31723 [\\/]* | ?:[\\/]*)
31724 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31725 ;;
31726 *)
31727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31728 for as_dir in $PATH
31729 do
31730 IFS=$as_save_IFS
31731 test -z "$as_dir" && as_dir=.
31732 for ac_exec_ext in '' $ac_executable_extensions; do
31733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31734 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31736 break 2
31737 fi
31738 done
31739 done
31740 IFS=$as_save_IFS
31741
31742 ;;
31743 esac
31744 fi
31745 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31746 if test -n "$ac_pt_PKG_CONFIG"; then
31747 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31748 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31749 else
31750 { echo "$as_me:$LINENO: result: no" >&5
31751 echo "${ECHO_T}no" >&6; }
31752 fi
31753
31754 if test "x$ac_pt_PKG_CONFIG" = x; then
31755 PKG_CONFIG=""
31756 else
31757 case $cross_compiling:$ac_tool_warned in
31758 yes:)
31759 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31760 whose name does not start with the host triplet. If you think this
31761 configuration is useful to you, please write to autoconf@gnu.org." >&5
31762 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31763 whose name does not start with the host triplet. If you think this
31764 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31765 ac_tool_warned=yes ;;
31766 esac
31767 PKG_CONFIG=$ac_pt_PKG_CONFIG
31768 fi
31769 else
31770 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31771 fi
31772
31773 fi
31774 if test -n "$PKG_CONFIG"; then
31775 _pkg_min_version=0.9.0
31776 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31777 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31778 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31779 { echo "$as_me:$LINENO: result: yes" >&5
31780 echo "${ECHO_T}yes" >&6; }
31781 else
31782 { echo "$as_me:$LINENO: result: no" >&5
31783 echo "${ECHO_T}no" >&6; }
31784 PKG_CONFIG=""
31785 fi
31786
31787 fi
31788
31789
31790 pkg_failed=no
31791 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31792 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31793
31794 if test -n "$PKG_CONFIG"; then
31795 if test -n "$DIRECTFB_CFLAGS"; then
31796 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31797 else
31798 if test -n "$PKG_CONFIG" && \
31799 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31800 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31801 ac_status=$?
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; then
31804 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31805 else
31806 pkg_failed=yes
31807 fi
31808 fi
31809 else
31810 pkg_failed=untried
31811 fi
31812 if test -n "$PKG_CONFIG"; then
31813 if test -n "$DIRECTFB_LIBS"; then
31814 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31815 else
31816 if test -n "$PKG_CONFIG" && \
31817 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31818 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31819 ac_status=$?
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); }; then
31822 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31823 else
31824 pkg_failed=yes
31825 fi
31826 fi
31827 else
31828 pkg_failed=untried
31829 fi
31830
31831
31832
31833 if test $pkg_failed = yes; then
31834
31835 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31836 _pkg_short_errors_supported=yes
31837 else
31838 _pkg_short_errors_supported=no
31839 fi
31840 if test $_pkg_short_errors_supported = yes; then
31841 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31842 else
31843 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31844 fi
31845 # Put the nasty error message in config.log where it belongs
31846 echo "$DIRECTFB_PKG_ERRORS" >&5
31847
31848
31849 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31850 echo "$as_me: error: DirectFB not found." >&2;}
31851 { (exit 1); exit 1; }; }
31852
31853
31854 elif test $pkg_failed = untried; then
31855
31856 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31857 echo "$as_me: error: DirectFB not found." >&2;}
31858 { (exit 1); exit 1; }; }
31859
31860
31861 else
31862 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31863 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31864 { echo "$as_me:$LINENO: result: yes" >&5
31865 echo "${ECHO_T}yes" >&6; }
31866
31867 wxUSE_UNIVERSAL="yes"
31868 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31869 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31870 TOOLKIT=DFB
31871 GUIDIST=DFB_DIST
31872
31873 fi
31874 fi
31875
31876 if test "$wxUSE_MICROWIN" = 1; then
31877 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31878 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31879 if test "x$MICROWINDOWS" = x ; then
31880 { echo "$as_me:$LINENO: result: not found" >&5
31881 echo "${ECHO_T}not found" >&6; }
31882 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31883 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31884 { (exit 1); exit 1; }; }
31885 else
31886 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31887 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31888 fi
31889
31890 if test -f $MICROWINDOWS/lib/libmwin.a; then
31891 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31892 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31893 else
31894 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31895 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31896 { (exit 1); exit 1; }; }
31897 fi
31898
31899 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31900 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31901
31902 wxUSE_UNIVERSAL="yes"
31903
31904 AFMINSTALL=afminstall
31905 TOOLKIT=MICROWIN
31906 GUIDIST=MICROWIN_DIST
31907
31908 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31909 fi
31910
31911 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31912 { echo "$as_me:$LINENO: checking for X" >&5
31913 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31914
31915
31916 # Check whether --with-x was given.
31917 if test "${with_x+set}" = set; then
31918 withval=$with_x;
31919 fi
31920
31921 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31922 if test "x$with_x" = xno; then
31923 # The user explicitly disabled X.
31924 have_x=disabled
31925 else
31926 case $x_includes,$x_libraries in #(
31927 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31928 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31929 { (exit 1); exit 1; }; };; #(
31930 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31931 echo $ECHO_N "(cached) $ECHO_C" >&6
31932 else
31933 # One or both of the vars are not set, and there is no cached value.
31934 ac_x_includes=no ac_x_libraries=no
31935 rm -f -r conftest.dir
31936 if mkdir conftest.dir; then
31937 cd conftest.dir
31938 cat >Imakefile <<'_ACEOF'
31939 incroot:
31940 @echo incroot='${INCROOT}'
31941 usrlibdir:
31942 @echo usrlibdir='${USRLIBDIR}'
31943 libdir:
31944 @echo libdir='${LIBDIR}'
31945 _ACEOF
31946 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31947 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31948 for ac_var in incroot usrlibdir libdir; do
31949 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31950 done
31951 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31952 for ac_extension in a so sl; do
31953 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31954 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31955 ac_im_usrlibdir=$ac_im_libdir; break
31956 fi
31957 done
31958 # Screen out bogus values from the imake configuration. They are
31959 # bogus both because they are the default anyway, and because
31960 # using them would break gcc on systems where it needs fixed includes.
31961 case $ac_im_incroot in
31962 /usr/include) ac_x_includes= ;;
31963 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31964 esac
31965 case $ac_im_usrlibdir in
31966 /usr/lib | /lib) ;;
31967 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31968 esac
31969 fi
31970 cd ..
31971 rm -f -r conftest.dir
31972 fi
31973
31974 # Standard set of common directories for X headers.
31975 # Check X11 before X11Rn because it is often a symlink to the current release.
31976 ac_x_header_dirs='
31977 /usr/X11/include
31978 /usr/X11R6/include
31979 /usr/X11R5/include
31980 /usr/X11R4/include
31981
31982 /usr/include/X11
31983 /usr/include/X11R6
31984 /usr/include/X11R5
31985 /usr/include/X11R4
31986
31987 /usr/local/X11/include
31988 /usr/local/X11R6/include
31989 /usr/local/X11R5/include
31990 /usr/local/X11R4/include
31991
31992 /usr/local/include/X11
31993 /usr/local/include/X11R6
31994 /usr/local/include/X11R5
31995 /usr/local/include/X11R4
31996
31997 /usr/X386/include
31998 /usr/x386/include
31999 /usr/XFree86/include/X11
32000
32001 /usr/include
32002 /usr/local/include
32003 /usr/unsupported/include
32004 /usr/athena/include
32005 /usr/local/x11r5/include
32006 /usr/lpp/Xamples/include
32007
32008 /usr/openwin/include
32009 /usr/openwin/share/include'
32010
32011 if test "$ac_x_includes" = no; then
32012 # Guess where to find include files, by looking for Xlib.h.
32013 # First, try using that file with no special directory specified.
32014 cat >conftest.$ac_ext <<_ACEOF
32015 /* confdefs.h. */
32016 _ACEOF
32017 cat confdefs.h >>conftest.$ac_ext
32018 cat >>conftest.$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32020 #include <X11/Xlib.h>
32021 _ACEOF
32022 if { (ac_try="$ac_cpp conftest.$ac_ext"
32023 case "(($ac_try" in
32024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32025 *) ac_try_echo=$ac_try;;
32026 esac
32027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32029 ac_status=$?
32030 grep -v '^ *+' conftest.er1 >conftest.err
32031 rm -f conftest.er1
32032 cat conftest.err >&5
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); } >/dev/null && {
32035 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32036 test ! -s conftest.err
32037 }; then
32038 # We can compile using X headers with no special include directory.
32039 ac_x_includes=
32040 else
32041 echo "$as_me: failed program was:" >&5
32042 sed 's/^/| /' conftest.$ac_ext >&5
32043
32044 for ac_dir in $ac_x_header_dirs; do
32045 if test -r "$ac_dir/X11/Xlib.h"; then
32046 ac_x_includes=$ac_dir
32047 break
32048 fi
32049 done
32050 fi
32051
32052 rm -f conftest.err conftest.$ac_ext
32053 fi # $ac_x_includes = no
32054
32055 if test "$ac_x_libraries" = no; then
32056 # Check for the libraries.
32057 # See if we find them without any special options.
32058 # Don't add to $LIBS permanently.
32059 ac_save_LIBS=$LIBS
32060 LIBS="-lX11 $LIBS"
32061 cat >conftest.$ac_ext <<_ACEOF
32062 /* confdefs.h. */
32063 _ACEOF
32064 cat confdefs.h >>conftest.$ac_ext
32065 cat >>conftest.$ac_ext <<_ACEOF
32066 /* end confdefs.h. */
32067 #include <X11/Xlib.h>
32068 int
32069 main ()
32070 {
32071 XrmInitialize ()
32072 ;
32073 return 0;
32074 }
32075 _ACEOF
32076 rm -f conftest.$ac_objext conftest$ac_exeext
32077 if { (ac_try="$ac_link"
32078 case "(($ac_try" in
32079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32080 *) ac_try_echo=$ac_try;;
32081 esac
32082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32083 (eval "$ac_link") 2>conftest.er1
32084 ac_status=$?
32085 grep -v '^ *+' conftest.er1 >conftest.err
32086 rm -f conftest.er1
32087 cat conftest.err >&5
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); } && {
32090 test -z "$ac_c_werror_flag" ||
32091 test ! -s conftest.err
32092 } && test -s conftest$ac_exeext &&
32093 $as_test_x conftest$ac_exeext; then
32094 LIBS=$ac_save_LIBS
32095 # We can link X programs with no special library path.
32096 ac_x_libraries=
32097 else
32098 echo "$as_me: failed program was:" >&5
32099 sed 's/^/| /' conftest.$ac_ext >&5
32100
32101 LIBS=$ac_save_LIBS
32102 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32103 do
32104 # Don't even attempt the hair of trying to link an X program!
32105 for ac_extension in a so sl; do
32106 if test -r "$ac_dir/libX11.$ac_extension"; then
32107 ac_x_libraries=$ac_dir
32108 break 2
32109 fi
32110 done
32111 done
32112 fi
32113
32114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32115 conftest$ac_exeext conftest.$ac_ext
32116 fi # $ac_x_libraries = no
32117
32118 case $ac_x_includes,$ac_x_libraries in #(
32119 no,* | *,no | *\'*)
32120 # Didn't find X, or a directory has "'" in its name.
32121 ac_cv_have_x="have_x=no";; #(
32122 *)
32123 # Record where we found X for the cache.
32124 ac_cv_have_x="have_x=yes\
32125 ac_x_includes='$ac_x_includes'\
32126 ac_x_libraries='$ac_x_libraries'"
32127 esac
32128 fi
32129 ;; #(
32130 *) have_x=yes;;
32131 esac
32132 eval "$ac_cv_have_x"
32133 fi # $with_x != no
32134
32135 if test "$have_x" != yes; then
32136 { echo "$as_me:$LINENO: result: $have_x" >&5
32137 echo "${ECHO_T}$have_x" >&6; }
32138 no_x=yes
32139 else
32140 # If each of the values was on the command line, it overrides each guess.
32141 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32142 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32143 # Update the cache value to reflect the command line values.
32144 ac_cv_have_x="have_x=yes\
32145 ac_x_includes='$x_includes'\
32146 ac_x_libraries='$x_libraries'"
32147 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32148 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32149 fi
32150
32151 if test "$no_x" = yes; then
32152 # Not all programs may use this symbol, but it does not hurt to define it.
32153
32154 cat >>confdefs.h <<\_ACEOF
32155 #define X_DISPLAY_MISSING 1
32156 _ACEOF
32157
32158 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32159 else
32160 if test -n "$x_includes"; then
32161 X_CFLAGS="$X_CFLAGS -I$x_includes"
32162 fi
32163
32164 # It would also be nice to do this for all -L options, not just this one.
32165 if test -n "$x_libraries"; then
32166 X_LIBS="$X_LIBS -L$x_libraries"
32167 # For Solaris; some versions of Sun CC require a space after -R and
32168 # others require no space. Words are not sufficient . . . .
32169 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32170 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32171 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32172 ac_xsave_c_werror_flag=$ac_c_werror_flag
32173 ac_c_werror_flag=yes
32174 cat >conftest.$ac_ext <<_ACEOF
32175 /* confdefs.h. */
32176 _ACEOF
32177 cat confdefs.h >>conftest.$ac_ext
32178 cat >>conftest.$ac_ext <<_ACEOF
32179 /* end confdefs.h. */
32180
32181 int
32182 main ()
32183 {
32184
32185 ;
32186 return 0;
32187 }
32188 _ACEOF
32189 rm -f conftest.$ac_objext conftest$ac_exeext
32190 if { (ac_try="$ac_link"
32191 case "(($ac_try" in
32192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32193 *) ac_try_echo=$ac_try;;
32194 esac
32195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32196 (eval "$ac_link") 2>conftest.er1
32197 ac_status=$?
32198 grep -v '^ *+' conftest.er1 >conftest.err
32199 rm -f conftest.er1
32200 cat conftest.err >&5
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); } && {
32203 test -z "$ac_c_werror_flag" ||
32204 test ! -s conftest.err
32205 } && test -s conftest$ac_exeext &&
32206 $as_test_x conftest$ac_exeext; then
32207 { echo "$as_me:$LINENO: result: no" >&5
32208 echo "${ECHO_T}no" >&6; }
32209 X_LIBS="$X_LIBS -R$x_libraries"
32210 else
32211 echo "$as_me: failed program was:" >&5
32212 sed 's/^/| /' conftest.$ac_ext >&5
32213
32214 LIBS="$ac_xsave_LIBS -R $x_libraries"
32215 cat >conftest.$ac_ext <<_ACEOF
32216 /* confdefs.h. */
32217 _ACEOF
32218 cat confdefs.h >>conftest.$ac_ext
32219 cat >>conftest.$ac_ext <<_ACEOF
32220 /* end confdefs.h. */
32221
32222 int
32223 main ()
32224 {
32225
32226 ;
32227 return 0;
32228 }
32229 _ACEOF
32230 rm -f conftest.$ac_objext conftest$ac_exeext
32231 if { (ac_try="$ac_link"
32232 case "(($ac_try" in
32233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32234 *) ac_try_echo=$ac_try;;
32235 esac
32236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32237 (eval "$ac_link") 2>conftest.er1
32238 ac_status=$?
32239 grep -v '^ *+' conftest.er1 >conftest.err
32240 rm -f conftest.er1
32241 cat conftest.err >&5
32242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32243 (exit $ac_status); } && {
32244 test -z "$ac_c_werror_flag" ||
32245 test ! -s conftest.err
32246 } && test -s conftest$ac_exeext &&
32247 $as_test_x conftest$ac_exeext; then
32248 { echo "$as_me:$LINENO: result: yes" >&5
32249 echo "${ECHO_T}yes" >&6; }
32250 X_LIBS="$X_LIBS -R $x_libraries"
32251 else
32252 echo "$as_me: failed program was:" >&5
32253 sed 's/^/| /' conftest.$ac_ext >&5
32254
32255 { echo "$as_me:$LINENO: result: neither works" >&5
32256 echo "${ECHO_T}neither works" >&6; }
32257 fi
32258
32259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32260 conftest$ac_exeext conftest.$ac_ext
32261 fi
32262
32263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32264 conftest$ac_exeext conftest.$ac_ext
32265 ac_c_werror_flag=$ac_xsave_c_werror_flag
32266 LIBS=$ac_xsave_LIBS
32267 fi
32268
32269 # Check for system-dependent libraries X programs must link with.
32270 # Do this before checking for the system-independent R6 libraries
32271 # (-lICE), since we may need -lsocket or whatever for X linking.
32272
32273 if test "$ISC" = yes; then
32274 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32275 else
32276 # Martyn Johnson says this is needed for Ultrix, if the X
32277 # libraries were built with DECnet support. And Karl Berry says
32278 # the Alpha needs dnet_stub (dnet does not exist).
32279 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32280 cat >conftest.$ac_ext <<_ACEOF
32281 /* confdefs.h. */
32282 _ACEOF
32283 cat confdefs.h >>conftest.$ac_ext
32284 cat >>conftest.$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32286
32287 /* Override any GCC internal prototype to avoid an error.
32288 Use char because int might match the return type of a GCC
32289 builtin and then its argument prototype would still apply. */
32290 #ifdef __cplusplus
32291 extern "C"
32292 #endif
32293 char XOpenDisplay ();
32294 int
32295 main ()
32296 {
32297 return XOpenDisplay ();
32298 ;
32299 return 0;
32300 }
32301 _ACEOF
32302 rm -f conftest.$ac_objext conftest$ac_exeext
32303 if { (ac_try="$ac_link"
32304 case "(($ac_try" in
32305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32306 *) ac_try_echo=$ac_try;;
32307 esac
32308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32309 (eval "$ac_link") 2>conftest.er1
32310 ac_status=$?
32311 grep -v '^ *+' conftest.er1 >conftest.err
32312 rm -f conftest.er1
32313 cat conftest.err >&5
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); } && {
32316 test -z "$ac_c_werror_flag" ||
32317 test ! -s conftest.err
32318 } && test -s conftest$ac_exeext &&
32319 $as_test_x conftest$ac_exeext; then
32320 :
32321 else
32322 echo "$as_me: failed program was:" >&5
32323 sed 's/^/| /' conftest.$ac_ext >&5
32324
32325 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32326 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32327 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32328 echo $ECHO_N "(cached) $ECHO_C" >&6
32329 else
32330 ac_check_lib_save_LIBS=$LIBS
32331 LIBS="-ldnet $LIBS"
32332 cat >conftest.$ac_ext <<_ACEOF
32333 /* confdefs.h. */
32334 _ACEOF
32335 cat confdefs.h >>conftest.$ac_ext
32336 cat >>conftest.$ac_ext <<_ACEOF
32337 /* end confdefs.h. */
32338
32339 /* Override any GCC internal prototype to avoid an error.
32340 Use char because int might match the return type of a GCC
32341 builtin and then its argument prototype would still apply. */
32342 #ifdef __cplusplus
32343 extern "C"
32344 #endif
32345 char dnet_ntoa ();
32346 int
32347 main ()
32348 {
32349 return dnet_ntoa ();
32350 ;
32351 return 0;
32352 }
32353 _ACEOF
32354 rm -f conftest.$ac_objext conftest$ac_exeext
32355 if { (ac_try="$ac_link"
32356 case "(($ac_try" in
32357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32358 *) ac_try_echo=$ac_try;;
32359 esac
32360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32361 (eval "$ac_link") 2>conftest.er1
32362 ac_status=$?
32363 grep -v '^ *+' conftest.er1 >conftest.err
32364 rm -f conftest.er1
32365 cat conftest.err >&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); } && {
32368 test -z "$ac_c_werror_flag" ||
32369 test ! -s conftest.err
32370 } && test -s conftest$ac_exeext &&
32371 $as_test_x conftest$ac_exeext; then
32372 ac_cv_lib_dnet_dnet_ntoa=yes
32373 else
32374 echo "$as_me: failed program was:" >&5
32375 sed 's/^/| /' conftest.$ac_ext >&5
32376
32377 ac_cv_lib_dnet_dnet_ntoa=no
32378 fi
32379
32380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32381 conftest$ac_exeext conftest.$ac_ext
32382 LIBS=$ac_check_lib_save_LIBS
32383 fi
32384 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32385 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32386 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32387 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32388 fi
32389
32390 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32391 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32392 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32393 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32394 echo $ECHO_N "(cached) $ECHO_C" >&6
32395 else
32396 ac_check_lib_save_LIBS=$LIBS
32397 LIBS="-ldnet_stub $LIBS"
32398 cat >conftest.$ac_ext <<_ACEOF
32399 /* confdefs.h. */
32400 _ACEOF
32401 cat confdefs.h >>conftest.$ac_ext
32402 cat >>conftest.$ac_ext <<_ACEOF
32403 /* end confdefs.h. */
32404
32405 /* Override any GCC internal prototype to avoid an error.
32406 Use char because int might match the return type of a GCC
32407 builtin and then its argument prototype would still apply. */
32408 #ifdef __cplusplus
32409 extern "C"
32410 #endif
32411 char dnet_ntoa ();
32412 int
32413 main ()
32414 {
32415 return dnet_ntoa ();
32416 ;
32417 return 0;
32418 }
32419 _ACEOF
32420 rm -f conftest.$ac_objext conftest$ac_exeext
32421 if { (ac_try="$ac_link"
32422 case "(($ac_try" in
32423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32424 *) ac_try_echo=$ac_try;;
32425 esac
32426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32427 (eval "$ac_link") 2>conftest.er1
32428 ac_status=$?
32429 grep -v '^ *+' conftest.er1 >conftest.err
32430 rm -f conftest.er1
32431 cat conftest.err >&5
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); } && {
32434 test -z "$ac_c_werror_flag" ||
32435 test ! -s conftest.err
32436 } && test -s conftest$ac_exeext &&
32437 $as_test_x conftest$ac_exeext; then
32438 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32439 else
32440 echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.$ac_ext >&5
32442
32443 ac_cv_lib_dnet_stub_dnet_ntoa=no
32444 fi
32445
32446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32447 conftest$ac_exeext conftest.$ac_ext
32448 LIBS=$ac_check_lib_save_LIBS
32449 fi
32450 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32451 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32452 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32453 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32454 fi
32455
32456 fi
32457 fi
32458
32459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32460 conftest$ac_exeext conftest.$ac_ext
32461 LIBS="$ac_xsave_LIBS"
32462
32463 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32464 # to get the SysV transport functions.
32465 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32466 # needs -lnsl.
32467 # The nsl library prevents programs from opening the X display
32468 # on Irix 5.2, according to T.E. Dickey.
32469 # The functions gethostbyname, getservbyname, and inet_addr are
32470 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32471 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32472 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32473 if test "${ac_cv_func_gethostbyname+set}" = set; then
32474 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 else
32476 cat >conftest.$ac_ext <<_ACEOF
32477 /* confdefs.h. */
32478 _ACEOF
32479 cat confdefs.h >>conftest.$ac_ext
32480 cat >>conftest.$ac_ext <<_ACEOF
32481 /* end confdefs.h. */
32482 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32484 #define gethostbyname innocuous_gethostbyname
32485
32486 /* System header to define __stub macros and hopefully few prototypes,
32487 which can conflict with char gethostbyname (); below.
32488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32489 <limits.h> exists even on freestanding compilers. */
32490
32491 #ifdef __STDC__
32492 # include <limits.h>
32493 #else
32494 # include <assert.h>
32495 #endif
32496
32497 #undef gethostbyname
32498
32499 /* Override any GCC internal prototype to avoid an error.
32500 Use char because int might match the return type of a GCC
32501 builtin and then its argument prototype would still apply. */
32502 #ifdef __cplusplus
32503 extern "C"
32504 #endif
32505 char gethostbyname ();
32506 /* The GNU C library defines this for functions which it implements
32507 to always fail with ENOSYS. Some functions are actually named
32508 something starting with __ and the normal name is an alias. */
32509 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32510 choke me
32511 #endif
32512
32513 int
32514 main ()
32515 {
32516 return gethostbyname ();
32517 ;
32518 return 0;
32519 }
32520 _ACEOF
32521 rm -f conftest.$ac_objext conftest$ac_exeext
32522 if { (ac_try="$ac_link"
32523 case "(($ac_try" in
32524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32525 *) ac_try_echo=$ac_try;;
32526 esac
32527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32528 (eval "$ac_link") 2>conftest.er1
32529 ac_status=$?
32530 grep -v '^ *+' conftest.er1 >conftest.err
32531 rm -f conftest.er1
32532 cat conftest.err >&5
32533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 (exit $ac_status); } && {
32535 test -z "$ac_c_werror_flag" ||
32536 test ! -s conftest.err
32537 } && test -s conftest$ac_exeext &&
32538 $as_test_x conftest$ac_exeext; then
32539 ac_cv_func_gethostbyname=yes
32540 else
32541 echo "$as_me: failed program was:" >&5
32542 sed 's/^/| /' conftest.$ac_ext >&5
32543
32544 ac_cv_func_gethostbyname=no
32545 fi
32546
32547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32548 conftest$ac_exeext conftest.$ac_ext
32549 fi
32550 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32551 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32552
32553 if test $ac_cv_func_gethostbyname = no; then
32554 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32555 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32556 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32557 echo $ECHO_N "(cached) $ECHO_C" >&6
32558 else
32559 ac_check_lib_save_LIBS=$LIBS
32560 LIBS="-lnsl $LIBS"
32561 cat >conftest.$ac_ext <<_ACEOF
32562 /* confdefs.h. */
32563 _ACEOF
32564 cat confdefs.h >>conftest.$ac_ext
32565 cat >>conftest.$ac_ext <<_ACEOF
32566 /* end confdefs.h. */
32567
32568 /* Override any GCC internal prototype to avoid an error.
32569 Use char because int might match the return type of a GCC
32570 builtin and then its argument prototype would still apply. */
32571 #ifdef __cplusplus
32572 extern "C"
32573 #endif
32574 char gethostbyname ();
32575 int
32576 main ()
32577 {
32578 return gethostbyname ();
32579 ;
32580 return 0;
32581 }
32582 _ACEOF
32583 rm -f conftest.$ac_objext conftest$ac_exeext
32584 if { (ac_try="$ac_link"
32585 case "(($ac_try" in
32586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32587 *) ac_try_echo=$ac_try;;
32588 esac
32589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32590 (eval "$ac_link") 2>conftest.er1
32591 ac_status=$?
32592 grep -v '^ *+' conftest.er1 >conftest.err
32593 rm -f conftest.er1
32594 cat conftest.err >&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); } && {
32597 test -z "$ac_c_werror_flag" ||
32598 test ! -s conftest.err
32599 } && test -s conftest$ac_exeext &&
32600 $as_test_x conftest$ac_exeext; then
32601 ac_cv_lib_nsl_gethostbyname=yes
32602 else
32603 echo "$as_me: failed program was:" >&5
32604 sed 's/^/| /' conftest.$ac_ext >&5
32605
32606 ac_cv_lib_nsl_gethostbyname=no
32607 fi
32608
32609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32610 conftest$ac_exeext conftest.$ac_ext
32611 LIBS=$ac_check_lib_save_LIBS
32612 fi
32613 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32614 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32615 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32616 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32617 fi
32618
32619 if test $ac_cv_lib_nsl_gethostbyname = no; then
32620 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32621 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32622 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 else
32625 ac_check_lib_save_LIBS=$LIBS
32626 LIBS="-lbsd $LIBS"
32627 cat >conftest.$ac_ext <<_ACEOF
32628 /* confdefs.h. */
32629 _ACEOF
32630 cat confdefs.h >>conftest.$ac_ext
32631 cat >>conftest.$ac_ext <<_ACEOF
32632 /* end confdefs.h. */
32633
32634 /* Override any GCC internal prototype to avoid an error.
32635 Use char because int might match the return type of a GCC
32636 builtin and then its argument prototype would still apply. */
32637 #ifdef __cplusplus
32638 extern "C"
32639 #endif
32640 char gethostbyname ();
32641 int
32642 main ()
32643 {
32644 return gethostbyname ();
32645 ;
32646 return 0;
32647 }
32648 _ACEOF
32649 rm -f conftest.$ac_objext conftest$ac_exeext
32650 if { (ac_try="$ac_link"
32651 case "(($ac_try" in
32652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32653 *) ac_try_echo=$ac_try;;
32654 esac
32655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32656 (eval "$ac_link") 2>conftest.er1
32657 ac_status=$?
32658 grep -v '^ *+' conftest.er1 >conftest.err
32659 rm -f conftest.er1
32660 cat conftest.err >&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } && {
32663 test -z "$ac_c_werror_flag" ||
32664 test ! -s conftest.err
32665 } && test -s conftest$ac_exeext &&
32666 $as_test_x conftest$ac_exeext; then
32667 ac_cv_lib_bsd_gethostbyname=yes
32668 else
32669 echo "$as_me: failed program was:" >&5
32670 sed 's/^/| /' conftest.$ac_ext >&5
32671
32672 ac_cv_lib_bsd_gethostbyname=no
32673 fi
32674
32675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32676 conftest$ac_exeext conftest.$ac_ext
32677 LIBS=$ac_check_lib_save_LIBS
32678 fi
32679 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32680 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32681 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32682 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32683 fi
32684
32685 fi
32686 fi
32687
32688 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32689 # socket/setsockopt and other routines are undefined under SCO ODT
32690 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32691 # on later versions), says Simon Leinen: it contains gethostby*
32692 # variants that don't use the name server (or something). -lsocket
32693 # must be given before -lnsl if both are needed. We assume that
32694 # if connect needs -lnsl, so does gethostbyname.
32695 { echo "$as_me:$LINENO: checking for connect" >&5
32696 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32697 if test "${ac_cv_func_connect+set}" = set; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 else
32700 cat >conftest.$ac_ext <<_ACEOF
32701 /* confdefs.h. */
32702 _ACEOF
32703 cat confdefs.h >>conftest.$ac_ext
32704 cat >>conftest.$ac_ext <<_ACEOF
32705 /* end confdefs.h. */
32706 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32708 #define connect innocuous_connect
32709
32710 /* System header to define __stub macros and hopefully few prototypes,
32711 which can conflict with char connect (); below.
32712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32713 <limits.h> exists even on freestanding compilers. */
32714
32715 #ifdef __STDC__
32716 # include <limits.h>
32717 #else
32718 # include <assert.h>
32719 #endif
32720
32721 #undef connect
32722
32723 /* Override any GCC internal prototype to avoid an error.
32724 Use char because int might match the return type of a GCC
32725 builtin and then its argument prototype would still apply. */
32726 #ifdef __cplusplus
32727 extern "C"
32728 #endif
32729 char connect ();
32730 /* The GNU C library defines this for functions which it implements
32731 to always fail with ENOSYS. Some functions are actually named
32732 something starting with __ and the normal name is an alias. */
32733 #if defined __stub_connect || defined __stub___connect
32734 choke me
32735 #endif
32736
32737 int
32738 main ()
32739 {
32740 return connect ();
32741 ;
32742 return 0;
32743 }
32744 _ACEOF
32745 rm -f conftest.$ac_objext conftest$ac_exeext
32746 if { (ac_try="$ac_link"
32747 case "(($ac_try" in
32748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32749 *) ac_try_echo=$ac_try;;
32750 esac
32751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32752 (eval "$ac_link") 2>conftest.er1
32753 ac_status=$?
32754 grep -v '^ *+' conftest.er1 >conftest.err
32755 rm -f conftest.er1
32756 cat conftest.err >&5
32757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32758 (exit $ac_status); } && {
32759 test -z "$ac_c_werror_flag" ||
32760 test ! -s conftest.err
32761 } && test -s conftest$ac_exeext &&
32762 $as_test_x conftest$ac_exeext; then
32763 ac_cv_func_connect=yes
32764 else
32765 echo "$as_me: failed program was:" >&5
32766 sed 's/^/| /' conftest.$ac_ext >&5
32767
32768 ac_cv_func_connect=no
32769 fi
32770
32771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32772 conftest$ac_exeext conftest.$ac_ext
32773 fi
32774 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32775 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32776
32777 if test $ac_cv_func_connect = no; then
32778 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32779 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32780 if test "${ac_cv_lib_socket_connect+set}" = set; then
32781 echo $ECHO_N "(cached) $ECHO_C" >&6
32782 else
32783 ac_check_lib_save_LIBS=$LIBS
32784 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32785 cat >conftest.$ac_ext <<_ACEOF
32786 /* confdefs.h. */
32787 _ACEOF
32788 cat confdefs.h >>conftest.$ac_ext
32789 cat >>conftest.$ac_ext <<_ACEOF
32790 /* end confdefs.h. */
32791
32792 /* Override any GCC internal prototype to avoid an error.
32793 Use char because int might match the return type of a GCC
32794 builtin and then its argument prototype would still apply. */
32795 #ifdef __cplusplus
32796 extern "C"
32797 #endif
32798 char connect ();
32799 int
32800 main ()
32801 {
32802 return connect ();
32803 ;
32804 return 0;
32805 }
32806 _ACEOF
32807 rm -f conftest.$ac_objext conftest$ac_exeext
32808 if { (ac_try="$ac_link"
32809 case "(($ac_try" in
32810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32811 *) ac_try_echo=$ac_try;;
32812 esac
32813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32814 (eval "$ac_link") 2>conftest.er1
32815 ac_status=$?
32816 grep -v '^ *+' conftest.er1 >conftest.err
32817 rm -f conftest.er1
32818 cat conftest.err >&5
32819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820 (exit $ac_status); } && {
32821 test -z "$ac_c_werror_flag" ||
32822 test ! -s conftest.err
32823 } && test -s conftest$ac_exeext &&
32824 $as_test_x conftest$ac_exeext; then
32825 ac_cv_lib_socket_connect=yes
32826 else
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.$ac_ext >&5
32829
32830 ac_cv_lib_socket_connect=no
32831 fi
32832
32833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32834 conftest$ac_exeext conftest.$ac_ext
32835 LIBS=$ac_check_lib_save_LIBS
32836 fi
32837 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32838 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32839 if test $ac_cv_lib_socket_connect = yes; then
32840 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32841 fi
32842
32843 fi
32844
32845 # Guillermo Gomez says -lposix is necessary on A/UX.
32846 { echo "$as_me:$LINENO: checking for remove" >&5
32847 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32848 if test "${ac_cv_func_remove+set}" = set; then
32849 echo $ECHO_N "(cached) $ECHO_C" >&6
32850 else
32851 cat >conftest.$ac_ext <<_ACEOF
32852 /* confdefs.h. */
32853 _ACEOF
32854 cat confdefs.h >>conftest.$ac_ext
32855 cat >>conftest.$ac_ext <<_ACEOF
32856 /* end confdefs.h. */
32857 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32859 #define remove innocuous_remove
32860
32861 /* System header to define __stub macros and hopefully few prototypes,
32862 which can conflict with char remove (); below.
32863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32864 <limits.h> exists even on freestanding compilers. */
32865
32866 #ifdef __STDC__
32867 # include <limits.h>
32868 #else
32869 # include <assert.h>
32870 #endif
32871
32872 #undef remove
32873
32874 /* Override any GCC internal prototype to avoid an error.
32875 Use char because int might match the return type of a GCC
32876 builtin and then its argument prototype would still apply. */
32877 #ifdef __cplusplus
32878 extern "C"
32879 #endif
32880 char remove ();
32881 /* The GNU C library defines this for functions which it implements
32882 to always fail with ENOSYS. Some functions are actually named
32883 something starting with __ and the normal name is an alias. */
32884 #if defined __stub_remove || defined __stub___remove
32885 choke me
32886 #endif
32887
32888 int
32889 main ()
32890 {
32891 return remove ();
32892 ;
32893 return 0;
32894 }
32895 _ACEOF
32896 rm -f conftest.$ac_objext conftest$ac_exeext
32897 if { (ac_try="$ac_link"
32898 case "(($ac_try" in
32899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32900 *) ac_try_echo=$ac_try;;
32901 esac
32902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32903 (eval "$ac_link") 2>conftest.er1
32904 ac_status=$?
32905 grep -v '^ *+' conftest.er1 >conftest.err
32906 rm -f conftest.er1
32907 cat conftest.err >&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); } && {
32910 test -z "$ac_c_werror_flag" ||
32911 test ! -s conftest.err
32912 } && test -s conftest$ac_exeext &&
32913 $as_test_x conftest$ac_exeext; then
32914 ac_cv_func_remove=yes
32915 else
32916 echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.$ac_ext >&5
32918
32919 ac_cv_func_remove=no
32920 fi
32921
32922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32923 conftest$ac_exeext conftest.$ac_ext
32924 fi
32925 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32926 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32927
32928 if test $ac_cv_func_remove = no; then
32929 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32930 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32931 if test "${ac_cv_lib_posix_remove+set}" = set; then
32932 echo $ECHO_N "(cached) $ECHO_C" >&6
32933 else
32934 ac_check_lib_save_LIBS=$LIBS
32935 LIBS="-lposix $LIBS"
32936 cat >conftest.$ac_ext <<_ACEOF
32937 /* confdefs.h. */
32938 _ACEOF
32939 cat confdefs.h >>conftest.$ac_ext
32940 cat >>conftest.$ac_ext <<_ACEOF
32941 /* end confdefs.h. */
32942
32943 /* Override any GCC internal prototype to avoid an error.
32944 Use char because int might match the return type of a GCC
32945 builtin and then its argument prototype would still apply. */
32946 #ifdef __cplusplus
32947 extern "C"
32948 #endif
32949 char remove ();
32950 int
32951 main ()
32952 {
32953 return remove ();
32954 ;
32955 return 0;
32956 }
32957 _ACEOF
32958 rm -f conftest.$ac_objext conftest$ac_exeext
32959 if { (ac_try="$ac_link"
32960 case "(($ac_try" in
32961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32962 *) ac_try_echo=$ac_try;;
32963 esac
32964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32965 (eval "$ac_link") 2>conftest.er1
32966 ac_status=$?
32967 grep -v '^ *+' conftest.er1 >conftest.err
32968 rm -f conftest.er1
32969 cat conftest.err >&5
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); } && {
32972 test -z "$ac_c_werror_flag" ||
32973 test ! -s conftest.err
32974 } && test -s conftest$ac_exeext &&
32975 $as_test_x conftest$ac_exeext; then
32976 ac_cv_lib_posix_remove=yes
32977 else
32978 echo "$as_me: failed program was:" >&5
32979 sed 's/^/| /' conftest.$ac_ext >&5
32980
32981 ac_cv_lib_posix_remove=no
32982 fi
32983
32984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32985 conftest$ac_exeext conftest.$ac_ext
32986 LIBS=$ac_check_lib_save_LIBS
32987 fi
32988 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32989 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32990 if test $ac_cv_lib_posix_remove = yes; then
32991 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32992 fi
32993
32994 fi
32995
32996 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32997 { echo "$as_me:$LINENO: checking for shmat" >&5
32998 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32999 if test "${ac_cv_func_shmat+set}" = set; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33001 else
33002 cat >conftest.$ac_ext <<_ACEOF
33003 /* confdefs.h. */
33004 _ACEOF
33005 cat confdefs.h >>conftest.$ac_ext
33006 cat >>conftest.$ac_ext <<_ACEOF
33007 /* end confdefs.h. */
33008 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33010 #define shmat innocuous_shmat
33011
33012 /* System header to define __stub macros and hopefully few prototypes,
33013 which can conflict with char shmat (); below.
33014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33015 <limits.h> exists even on freestanding compilers. */
33016
33017 #ifdef __STDC__
33018 # include <limits.h>
33019 #else
33020 # include <assert.h>
33021 #endif
33022
33023 #undef shmat
33024
33025 /* Override any GCC internal prototype to avoid an error.
33026 Use char because int might match the return type of a GCC
33027 builtin and then its argument prototype would still apply. */
33028 #ifdef __cplusplus
33029 extern "C"
33030 #endif
33031 char shmat ();
33032 /* The GNU C library defines this for functions which it implements
33033 to always fail with ENOSYS. Some functions are actually named
33034 something starting with __ and the normal name is an alias. */
33035 #if defined __stub_shmat || defined __stub___shmat
33036 choke me
33037 #endif
33038
33039 int
33040 main ()
33041 {
33042 return shmat ();
33043 ;
33044 return 0;
33045 }
33046 _ACEOF
33047 rm -f conftest.$ac_objext conftest$ac_exeext
33048 if { (ac_try="$ac_link"
33049 case "(($ac_try" in
33050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33051 *) ac_try_echo=$ac_try;;
33052 esac
33053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33054 (eval "$ac_link") 2>conftest.er1
33055 ac_status=$?
33056 grep -v '^ *+' conftest.er1 >conftest.err
33057 rm -f conftest.er1
33058 cat conftest.err >&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } && {
33061 test -z "$ac_c_werror_flag" ||
33062 test ! -s conftest.err
33063 } && test -s conftest$ac_exeext &&
33064 $as_test_x conftest$ac_exeext; then
33065 ac_cv_func_shmat=yes
33066 else
33067 echo "$as_me: failed program was:" >&5
33068 sed 's/^/| /' conftest.$ac_ext >&5
33069
33070 ac_cv_func_shmat=no
33071 fi
33072
33073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33074 conftest$ac_exeext conftest.$ac_ext
33075 fi
33076 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33077 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33078
33079 if test $ac_cv_func_shmat = no; then
33080 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33081 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33082 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33083 echo $ECHO_N "(cached) $ECHO_C" >&6
33084 else
33085 ac_check_lib_save_LIBS=$LIBS
33086 LIBS="-lipc $LIBS"
33087 cat >conftest.$ac_ext <<_ACEOF
33088 /* confdefs.h. */
33089 _ACEOF
33090 cat confdefs.h >>conftest.$ac_ext
33091 cat >>conftest.$ac_ext <<_ACEOF
33092 /* end confdefs.h. */
33093
33094 /* Override any GCC internal prototype to avoid an error.
33095 Use char because int might match the return type of a GCC
33096 builtin and then its argument prototype would still apply. */
33097 #ifdef __cplusplus
33098 extern "C"
33099 #endif
33100 char shmat ();
33101 int
33102 main ()
33103 {
33104 return shmat ();
33105 ;
33106 return 0;
33107 }
33108 _ACEOF
33109 rm -f conftest.$ac_objext conftest$ac_exeext
33110 if { (ac_try="$ac_link"
33111 case "(($ac_try" in
33112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33113 *) ac_try_echo=$ac_try;;
33114 esac
33115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33116 (eval "$ac_link") 2>conftest.er1
33117 ac_status=$?
33118 grep -v '^ *+' conftest.er1 >conftest.err
33119 rm -f conftest.er1
33120 cat conftest.err >&5
33121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122 (exit $ac_status); } && {
33123 test -z "$ac_c_werror_flag" ||
33124 test ! -s conftest.err
33125 } && test -s conftest$ac_exeext &&
33126 $as_test_x conftest$ac_exeext; then
33127 ac_cv_lib_ipc_shmat=yes
33128 else
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.$ac_ext >&5
33131
33132 ac_cv_lib_ipc_shmat=no
33133 fi
33134
33135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33136 conftest$ac_exeext conftest.$ac_ext
33137 LIBS=$ac_check_lib_save_LIBS
33138 fi
33139 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33140 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33141 if test $ac_cv_lib_ipc_shmat = yes; then
33142 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33143 fi
33144
33145 fi
33146 fi
33147
33148 # Check for libraries that X11R6 Xt/Xaw programs need.
33149 ac_save_LDFLAGS=$LDFLAGS
33150 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33151 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33152 # check for ICE first), but we must link in the order -lSM -lICE or
33153 # we get undefined symbols. So assume we have SM if we have ICE.
33154 # These have to be linked with before -lX11, unlike the other
33155 # libraries we check for below, so use a different variable.
33156 # John Interrante, Karl Berry
33157 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33158 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33159 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33161 else
33162 ac_check_lib_save_LIBS=$LIBS
33163 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33164 cat >conftest.$ac_ext <<_ACEOF
33165 /* confdefs.h. */
33166 _ACEOF
33167 cat confdefs.h >>conftest.$ac_ext
33168 cat >>conftest.$ac_ext <<_ACEOF
33169 /* end confdefs.h. */
33170
33171 /* Override any GCC internal prototype to avoid an error.
33172 Use char because int might match the return type of a GCC
33173 builtin and then its argument prototype would still apply. */
33174 #ifdef __cplusplus
33175 extern "C"
33176 #endif
33177 char IceConnectionNumber ();
33178 int
33179 main ()
33180 {
33181 return IceConnectionNumber ();
33182 ;
33183 return 0;
33184 }
33185 _ACEOF
33186 rm -f conftest.$ac_objext conftest$ac_exeext
33187 if { (ac_try="$ac_link"
33188 case "(($ac_try" in
33189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33190 *) ac_try_echo=$ac_try;;
33191 esac
33192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33193 (eval "$ac_link") 2>conftest.er1
33194 ac_status=$?
33195 grep -v '^ *+' conftest.er1 >conftest.err
33196 rm -f conftest.er1
33197 cat conftest.err >&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } && {
33200 test -z "$ac_c_werror_flag" ||
33201 test ! -s conftest.err
33202 } && test -s conftest$ac_exeext &&
33203 $as_test_x conftest$ac_exeext; then
33204 ac_cv_lib_ICE_IceConnectionNumber=yes
33205 else
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.$ac_ext >&5
33208
33209 ac_cv_lib_ICE_IceConnectionNumber=no
33210 fi
33211
33212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33213 conftest$ac_exeext conftest.$ac_ext
33214 LIBS=$ac_check_lib_save_LIBS
33215 fi
33216 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33217 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33218 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33219 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33220 fi
33221
33222 LDFLAGS=$ac_save_LDFLAGS
33223
33224 fi
33225
33226
33227 if test "$no_x" = "yes"; then
33228 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33229 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33230 { (exit 1); exit 1; }; }
33231 fi
33232
33233 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33234 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33235 AFMINSTALL=afminstall
33236 COMPILED_X_PROGRAM=0
33237
33238 fi
33239
33240 if test "$wxUSE_X11" = 1; then
33241 if test "$wxUSE_NANOX" = "yes"; then
33242 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33243 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33244 if test "x$MICROWIN" = x ; then
33245 { echo "$as_me:$LINENO: result: not found" >&5
33246 echo "${ECHO_T}not found" >&6; }
33247 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33248 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33249 { (exit 1); exit 1; }; }
33250 else
33251 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33252 echo "${ECHO_T}$MICROWIN" >&6; }
33253 cat >>confdefs.h <<\_ACEOF
33254 #define wxUSE_NANOX 1
33255 _ACEOF
33256
33257 fi
33258 fi
33259
33260 if test "$wxUSE_UNICODE" = "yes"; then
33261
33262
33263 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33264 if test -n "$ac_tool_prefix"; then
33265 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33266 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33269 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33271 else
33272 case $PKG_CONFIG in
33273 [\\/]* | ?:[\\/]*)
33274 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33275 ;;
33276 *)
33277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33278 for as_dir in $PATH
33279 do
33280 IFS=$as_save_IFS
33281 test -z "$as_dir" && as_dir=.
33282 for ac_exec_ext in '' $ac_executable_extensions; do
33283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33284 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33286 break 2
33287 fi
33288 done
33289 done
33290 IFS=$as_save_IFS
33291
33292 ;;
33293 esac
33294 fi
33295 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33296 if test -n "$PKG_CONFIG"; then
33297 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33298 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33299 else
33300 { echo "$as_me:$LINENO: result: no" >&5
33301 echo "${ECHO_T}no" >&6; }
33302 fi
33303
33304
33305 fi
33306 if test -z "$ac_cv_path_PKG_CONFIG"; then
33307 ac_pt_PKG_CONFIG=$PKG_CONFIG
33308 # Extract the first word of "pkg-config", so it can be a program name with args.
33309 set dummy pkg-config; ac_word=$2
33310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33312 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33313 echo $ECHO_N "(cached) $ECHO_C" >&6
33314 else
33315 case $ac_pt_PKG_CONFIG in
33316 [\\/]* | ?:[\\/]*)
33317 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33318 ;;
33319 *)
33320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33321 for as_dir in $PATH
33322 do
33323 IFS=$as_save_IFS
33324 test -z "$as_dir" && as_dir=.
33325 for ac_exec_ext in '' $ac_executable_extensions; do
33326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33327 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33329 break 2
33330 fi
33331 done
33332 done
33333 IFS=$as_save_IFS
33334
33335 ;;
33336 esac
33337 fi
33338 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33339 if test -n "$ac_pt_PKG_CONFIG"; then
33340 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33341 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33342 else
33343 { echo "$as_me:$LINENO: result: no" >&5
33344 echo "${ECHO_T}no" >&6; }
33345 fi
33346
33347 if test "x$ac_pt_PKG_CONFIG" = x; then
33348 PKG_CONFIG=""
33349 else
33350 case $cross_compiling:$ac_tool_warned in
33351 yes:)
33352 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33353 whose name does not start with the host triplet. If you think this
33354 configuration is useful to you, please write to autoconf@gnu.org." >&5
33355 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33356 whose name does not start with the host triplet. If you think this
33357 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33358 ac_tool_warned=yes ;;
33359 esac
33360 PKG_CONFIG=$ac_pt_PKG_CONFIG
33361 fi
33362 else
33363 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33364 fi
33365
33366 fi
33367 if test -n "$PKG_CONFIG"; then
33368 _pkg_min_version=0.9.0
33369 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33370 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33371 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33372 { echo "$as_me:$LINENO: result: yes" >&5
33373 echo "${ECHO_T}yes" >&6; }
33374 else
33375 { echo "$as_me:$LINENO: result: no" >&5
33376 echo "${ECHO_T}no" >&6; }
33377 PKG_CONFIG=""
33378 fi
33379
33380 fi
33381
33382
33383 pkg_failed=no
33384 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33385 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33386
33387 if test -n "$PKG_CONFIG"; then
33388 if test -n "$PANGOX_CFLAGS"; then
33389 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33390 else
33391 if test -n "$PKG_CONFIG" && \
33392 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33393 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33394 ac_status=$?
33395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396 (exit $ac_status); }; then
33397 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33398 else
33399 pkg_failed=yes
33400 fi
33401 fi
33402 else
33403 pkg_failed=untried
33404 fi
33405 if test -n "$PKG_CONFIG"; then
33406 if test -n "$PANGOX_LIBS"; then
33407 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33408 else
33409 if test -n "$PKG_CONFIG" && \
33410 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33411 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33412 ac_status=$?
33413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33414 (exit $ac_status); }; then
33415 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33416 else
33417 pkg_failed=yes
33418 fi
33419 fi
33420 else
33421 pkg_failed=untried
33422 fi
33423
33424
33425
33426 if test $pkg_failed = yes; then
33427
33428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33429 _pkg_short_errors_supported=yes
33430 else
33431 _pkg_short_errors_supported=no
33432 fi
33433 if test $_pkg_short_errors_supported = yes; then
33434 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33435 else
33436 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33437 fi
33438 # Put the nasty error message in config.log where it belongs
33439 echo "$PANGOX_PKG_ERRORS" >&5
33440
33441
33442 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33443 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33444 { (exit 1); exit 1; }; }
33445
33446
33447 elif test $pkg_failed = untried; then
33448
33449 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33450 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33451 { (exit 1); exit 1; }; }
33452
33453
33454 else
33455 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33456 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33457 { echo "$as_me:$LINENO: result: yes" >&5
33458 echo "${ECHO_T}yes" >&6; }
33459
33460 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33461 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33462 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33463
33464 fi
33465
33466 pkg_failed=no
33467 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33468 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33469
33470 if test -n "$PKG_CONFIG"; then
33471 if test -n "$PANGOFT2_CFLAGS"; then
33472 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33473 else
33474 if test -n "$PKG_CONFIG" && \
33475 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33476 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33477 ac_status=$?
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; then
33480 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33481 else
33482 pkg_failed=yes
33483 fi
33484 fi
33485 else
33486 pkg_failed=untried
33487 fi
33488 if test -n "$PKG_CONFIG"; then
33489 if test -n "$PANGOFT2_LIBS"; then
33490 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33491 else
33492 if test -n "$PKG_CONFIG" && \
33493 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33494 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33495 ac_status=$?
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; then
33498 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33499 else
33500 pkg_failed=yes
33501 fi
33502 fi
33503 else
33504 pkg_failed=untried
33505 fi
33506
33507
33508
33509 if test $pkg_failed = yes; then
33510
33511 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33512 _pkg_short_errors_supported=yes
33513 else
33514 _pkg_short_errors_supported=no
33515 fi
33516 if test $_pkg_short_errors_supported = yes; then
33517 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33518 else
33519 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33520 fi
33521 # Put the nasty error message in config.log where it belongs
33522 echo "$PANGOFT2_PKG_ERRORS" >&5
33523
33524
33525 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33526 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33527 wxUSE_PRINTING_ARCHITECTURE="no"
33528
33529
33530 elif test $pkg_failed = untried; then
33531
33532 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33533 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33534 wxUSE_PRINTING_ARCHITECTURE="no"
33535
33536
33537 else
33538 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33539 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33540 { echo "$as_me:$LINENO: result: yes" >&5
33541 echo "${ECHO_T}yes" >&6; }
33542
33543 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33544 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33545 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33546
33547 fi
33548
33549 pkg_failed=no
33550 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33551 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33552
33553 if test -n "$PKG_CONFIG"; then
33554 if test -n "$PANGOXFT_CFLAGS"; then
33555 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33556 else
33557 if test -n "$PKG_CONFIG" && \
33558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33559 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33560 ac_status=$?
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); }; then
33563 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33564 else
33565 pkg_failed=yes
33566 fi
33567 fi
33568 else
33569 pkg_failed=untried
33570 fi
33571 if test -n "$PKG_CONFIG"; then
33572 if test -n "$PANGOXFT_LIBS"; then
33573 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33574 else
33575 if test -n "$PKG_CONFIG" && \
33576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33577 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33578 ac_status=$?
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); }; then
33581 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33582 else
33583 pkg_failed=yes
33584 fi
33585 fi
33586 else
33587 pkg_failed=untried
33588 fi
33589
33590
33591
33592 if test $pkg_failed = yes; then
33593
33594 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33595 _pkg_short_errors_supported=yes
33596 else
33597 _pkg_short_errors_supported=no
33598 fi
33599 if test $_pkg_short_errors_supported = yes; then
33600 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33601 else
33602 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33603 fi
33604 # Put the nasty error message in config.log where it belongs
33605 echo "$PANGOXFT_PKG_ERRORS" >&5
33606
33607
33608 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33609 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33610
33611
33612 elif test $pkg_failed = untried; then
33613
33614 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33615 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33616
33617
33618 else
33619 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33620 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33621 { echo "$as_me:$LINENO: result: yes" >&5
33622 echo "${ECHO_T}yes" >&6; }
33623
33624 cat >>confdefs.h <<\_ACEOF
33625 #define HAVE_PANGO_XFT 1
33626 _ACEOF
33627
33628 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33629 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33630 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33631
33632 fi
33633 save_LIBS="$LIBS"
33634 LIBS="$LIBS $PANGOX_LIBS"
33635
33636 for ac_func in pango_font_family_is_monospace
33637 do
33638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33642 echo $ECHO_N "(cached) $ECHO_C" >&6
33643 else
33644 cat >conftest.$ac_ext <<_ACEOF
33645 /* confdefs.h. */
33646 _ACEOF
33647 cat confdefs.h >>conftest.$ac_ext
33648 cat >>conftest.$ac_ext <<_ACEOF
33649 /* end confdefs.h. */
33650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33652 #define $ac_func innocuous_$ac_func
33653
33654 /* System header to define __stub macros and hopefully few prototypes,
33655 which can conflict with char $ac_func (); below.
33656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33657 <limits.h> exists even on freestanding compilers. */
33658
33659 #ifdef __STDC__
33660 # include <limits.h>
33661 #else
33662 # include <assert.h>
33663 #endif
33664
33665 #undef $ac_func
33666
33667 /* Override any GCC internal prototype to avoid an error.
33668 Use char because int might match the return type of a GCC
33669 builtin and then its argument prototype would still apply. */
33670 #ifdef __cplusplus
33671 extern "C"
33672 #endif
33673 char $ac_func ();
33674 /* The GNU C library defines this for functions which it implements
33675 to always fail with ENOSYS. Some functions are actually named
33676 something starting with __ and the normal name is an alias. */
33677 #if defined __stub_$ac_func || defined __stub___$ac_func
33678 choke me
33679 #endif
33680
33681 int
33682 main ()
33683 {
33684 return $ac_func ();
33685 ;
33686 return 0;
33687 }
33688 _ACEOF
33689 rm -f conftest.$ac_objext conftest$ac_exeext
33690 if { (ac_try="$ac_link"
33691 case "(($ac_try" in
33692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33693 *) ac_try_echo=$ac_try;;
33694 esac
33695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33696 (eval "$ac_link") 2>conftest.er1
33697 ac_status=$?
33698 grep -v '^ *+' conftest.er1 >conftest.err
33699 rm -f conftest.er1
33700 cat conftest.err >&5
33701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33702 (exit $ac_status); } && {
33703 test -z "$ac_c_werror_flag" ||
33704 test ! -s conftest.err
33705 } && test -s conftest$ac_exeext &&
33706 $as_test_x conftest$ac_exeext; then
33707 eval "$as_ac_var=yes"
33708 else
33709 echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.$ac_ext >&5
33711
33712 eval "$as_ac_var=no"
33713 fi
33714
33715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33716 conftest$ac_exeext conftest.$ac_ext
33717 fi
33718 ac_res=`eval echo '${'$as_ac_var'}'`
33719 { echo "$as_me:$LINENO: result: $ac_res" >&5
33720 echo "${ECHO_T}$ac_res" >&6; }
33721 if test `eval echo '${'$as_ac_var'}'` = yes; then
33722 cat >>confdefs.h <<_ACEOF
33723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33724 _ACEOF
33725
33726 fi
33727 done
33728
33729 LIBS="$save_LIBS"
33730 fi
33731
33732 wxUSE_UNIVERSAL="yes"
33733
33734 if test "$wxUSE_NANOX" = "yes"; then
33735 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33736 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"
33737 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33738 else
33739 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33740 fi
33741
33742 TOOLKIT=X11
33743 GUIDIST=X11_DIST
33744 fi
33745
33746 if test "$wxUSE_MOTIF" = 1; then
33747 if test "$wxUSE_UNICODE" = "yes"; then
33748 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33749 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33750 { (exit 1); exit 1; }; }
33751 fi
33752
33753 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33754 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33755
33756 ac_find_includes=
33757 for ac_dir in $SEARCH_INCLUDE /usr/include;
33758 do
33759 if test -f "$ac_dir/Xm/Xm.h"; then
33760 ac_find_includes=$ac_dir
33761 break
33762 fi
33763 done
33764
33765 if test "$ac_find_includes" != "" ; then
33766 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33767 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33768
33769 if test "x$ac_find_includes" = "x/usr/include"; then
33770 ac_path_to_include=""
33771 else
33772 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33773 result=$?
33774 if test $result = 0; then
33775 ac_path_to_include=""
33776 else
33777 ac_path_to_include=" -I$ac_find_includes"
33778 fi
33779 fi
33780
33781 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33782 else
33783 save_CFLAGS=$CFLAGS
33784 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33785
33786 cat >conftest.$ac_ext <<_ACEOF
33787 /* confdefs.h. */
33788 _ACEOF
33789 cat confdefs.h >>conftest.$ac_ext
33790 cat >>conftest.$ac_ext <<_ACEOF
33791 /* end confdefs.h. */
33792
33793 #include <Xm/Xm.h>
33794
33795 int
33796 main ()
33797 {
33798
33799 int version;
33800 version = xmUseVersion;
33801
33802 ;
33803 return 0;
33804 }
33805 _ACEOF
33806 rm -f conftest.$ac_objext
33807 if { (ac_try="$ac_compile"
33808 case "(($ac_try" in
33809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33810 *) ac_try_echo=$ac_try;;
33811 esac
33812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33813 (eval "$ac_compile") 2>conftest.er1
33814 ac_status=$?
33815 grep -v '^ *+' conftest.er1 >conftest.err
33816 rm -f conftest.er1
33817 cat conftest.err >&5
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); } && {
33820 test -z "$ac_c_werror_flag" ||
33821 test ! -s conftest.err
33822 } && test -s conftest.$ac_objext; then
33823
33824 { echo "$as_me:$LINENO: result: found in default search path" >&5
33825 echo "${ECHO_T}found in default search path" >&6; }
33826 COMPILED_X_PROGRAM=1
33827
33828 else
33829 echo "$as_me: failed program was:" >&5
33830 sed 's/^/| /' conftest.$ac_ext >&5
33831
33832
33833 { echo "$as_me:$LINENO: result: no" >&5
33834 echo "${ECHO_T}no" >&6; }
33835 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33836 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33837 { (exit 1); exit 1; }; }
33838
33839
33840 fi
33841
33842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33843
33844 CFLAGS=$save_CFLAGS
33845 fi
33846
33847
33848 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33849 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33850
33851 ac_find_libraries=
33852 for ac_dir in $SEARCH_LIB;
33853 do
33854 for ac_extension in a so sl dylib dll.a; do
33855 if test -f "$ac_dir/libXm.$ac_extension"; then
33856 ac_find_libraries=$ac_dir
33857 break 2
33858 fi
33859 done
33860 done
33861
33862
33863 if test "x$ac_find_libraries" != "x" ; then
33864 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33865 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33866
33867
33868 if test "$ac_find_libraries" = "default location"; then
33869 ac_path_to_link=""
33870 else
33871 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33872 result=$?
33873 if test $result = 0; then
33874 ac_path_to_link=""
33875 else
33876 ac_path_to_link=" -L$ac_find_libraries"
33877 fi
33878 fi
33879
33880 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33881 else
33882 save_CFLAGS=$CFLAGS
33883 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33884 save_LIBS="$LIBS"
33885 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33886
33887 cat >conftest.$ac_ext <<_ACEOF
33888 /* confdefs.h. */
33889 _ACEOF
33890 cat confdefs.h >>conftest.$ac_ext
33891 cat >>conftest.$ac_ext <<_ACEOF
33892 /* end confdefs.h. */
33893
33894 #include <Xm/Xm.h>
33895
33896 int
33897 main ()
33898 {
33899
33900 int version;
33901 version = xmUseVersion;
33902
33903 ;
33904 return 0;
33905 }
33906 _ACEOF
33907 rm -f conftest.$ac_objext conftest$ac_exeext
33908 if { (ac_try="$ac_link"
33909 case "(($ac_try" in
33910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33911 *) ac_try_echo=$ac_try;;
33912 esac
33913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33914 (eval "$ac_link") 2>conftest.er1
33915 ac_status=$?
33916 grep -v '^ *+' conftest.er1 >conftest.err
33917 rm -f conftest.er1
33918 cat conftest.err >&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); } && {
33921 test -z "$ac_c_werror_flag" ||
33922 test ! -s conftest.err
33923 } && test -s conftest$ac_exeext &&
33924 $as_test_x conftest$ac_exeext; then
33925
33926 { echo "$as_me:$LINENO: result: found in default search path" >&5
33927 echo "${ECHO_T}found in default search path" >&6; }
33928 COMPILED_X_PROGRAM=1
33929
33930 else
33931 echo "$as_me: failed program was:" >&5
33932 sed 's/^/| /' conftest.$ac_ext >&5
33933
33934
33935 { echo "$as_me:$LINENO: result: no" >&5
33936 echo "${ECHO_T}no" >&6; }
33937 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33938 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33939 { (exit 1); exit 1; }; }
33940
33941
33942 fi
33943
33944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33945 conftest$ac_exeext conftest.$ac_ext
33946
33947 CFLAGS=$save_CFLAGS
33948 LIBS="$save_LIBS"
33949 fi
33950
33951 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33952 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33953 libp_link=""
33954 libsm_ice_link=""
33955 libs_found=0
33956 for libp in "" " -lXp"; do
33957 if test "$libs_found" = "0"; then
33958 for libsm_ice in "" " -lSM -lICE"; do
33959 if test "$libs_found" = "0"; then
33960 save_LIBS="$LIBS"
33961 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33962 save_CFLAGS=$CFLAGS
33963 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33964
33965 cat >conftest.$ac_ext <<_ACEOF
33966 /* confdefs.h. */
33967 _ACEOF
33968 cat confdefs.h >>conftest.$ac_ext
33969 cat >>conftest.$ac_ext <<_ACEOF
33970 /* end confdefs.h. */
33971
33972 #include <Xm/Xm.h>
33973 #include <Xm/List.h>
33974
33975 int
33976 main ()
33977 {
33978
33979 XmString string = NULL;
33980 Widget w = NULL;
33981 int position = 0;
33982 XmListAddItem(w, string, position);
33983
33984 ;
33985 return 0;
33986 }
33987 _ACEOF
33988 rm -f conftest.$ac_objext conftest$ac_exeext
33989 if { (ac_try="$ac_link"
33990 case "(($ac_try" in
33991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33992 *) ac_try_echo=$ac_try;;
33993 esac
33994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33995 (eval "$ac_link") 2>conftest.er1
33996 ac_status=$?
33997 grep -v '^ *+' conftest.er1 >conftest.err
33998 rm -f conftest.er1
33999 cat conftest.err >&5
34000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34001 (exit $ac_status); } && {
34002 test -z "$ac_c_werror_flag" ||
34003 test ! -s conftest.err
34004 } && test -s conftest$ac_exeext &&
34005 $as_test_x conftest$ac_exeext; then
34006
34007 libp_link="$libp"
34008 libsm_ice_link="$libsm_ice"
34009 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34010 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34011 libs_found=1
34012
34013 else
34014 echo "$as_me: failed program was:" >&5
34015 sed 's/^/| /' conftest.$ac_ext >&5
34016
34017
34018
34019 fi
34020
34021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34022 conftest$ac_exeext conftest.$ac_ext
34023
34024 LIBS="$save_LIBS"
34025 CFLAGS=$save_CFLAGS
34026 fi
34027 done
34028 fi
34029 done
34030
34031 if test "$libs_found" = "0"; then
34032 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34033 echo "${ECHO_T}can't find the right libraries" >&6; }
34034 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34035 echo "$as_me: error: can't link a simple motif program" >&2;}
34036 { (exit 1); exit 1; }; }
34037 fi
34038
34039 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34040 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34041 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34042 echo $ECHO_N "(cached) $ECHO_C" >&6
34043 else
34044 ac_check_lib_save_LIBS=$LIBS
34045 LIBS="-lSgm $LIBS"
34046 cat >conftest.$ac_ext <<_ACEOF
34047 /* confdefs.h. */
34048 _ACEOF
34049 cat confdefs.h >>conftest.$ac_ext
34050 cat >>conftest.$ac_ext <<_ACEOF
34051 /* end confdefs.h. */
34052
34053 /* Override any GCC internal prototype to avoid an error.
34054 Use char because int might match the return type of a GCC
34055 builtin and then its argument prototype would still apply. */
34056 #ifdef __cplusplus
34057 extern "C"
34058 #endif
34059 char SgCreateList ();
34060 int
34061 main ()
34062 {
34063 return SgCreateList ();
34064 ;
34065 return 0;
34066 }
34067 _ACEOF
34068 rm -f conftest.$ac_objext conftest$ac_exeext
34069 if { (ac_try="$ac_link"
34070 case "(($ac_try" in
34071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34072 *) ac_try_echo=$ac_try;;
34073 esac
34074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34075 (eval "$ac_link") 2>conftest.er1
34076 ac_status=$?
34077 grep -v '^ *+' conftest.er1 >conftest.err
34078 rm -f conftest.er1
34079 cat conftest.err >&5
34080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34081 (exit $ac_status); } && {
34082 test -z "$ac_c_werror_flag" ||
34083 test ! -s conftest.err
34084 } && test -s conftest$ac_exeext &&
34085 $as_test_x conftest$ac_exeext; then
34086 ac_cv_lib_Sgm_SgCreateList=yes
34087 else
34088 echo "$as_me: failed program was:" >&5
34089 sed 's/^/| /' conftest.$ac_ext >&5
34090
34091 ac_cv_lib_Sgm_SgCreateList=no
34092 fi
34093
34094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34095 conftest$ac_exeext conftest.$ac_ext
34096 LIBS=$ac_check_lib_save_LIBS
34097 fi
34098 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34099 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34100 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34101 libsgm_link=" -lSgm"
34102 fi
34103
34104
34105 save_CFLAGS=$CFLAGS
34106 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34107
34108 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34109 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34110 if test "${wx_cv_lib_motif2+set}" = set; then
34111 echo $ECHO_N "(cached) $ECHO_C" >&6
34112 else
34113 cat >conftest.$ac_ext <<_ACEOF
34114 /* confdefs.h. */
34115 _ACEOF
34116 cat confdefs.h >>conftest.$ac_ext
34117 cat >>conftest.$ac_ext <<_ACEOF
34118 /* end confdefs.h. */
34119
34120 #include <Xm/Xm.h>
34121
34122 int
34123 main ()
34124 {
34125
34126 #if XmVersion < 2000
34127 Not Motif 2
34128 #endif
34129
34130 ;
34131 return 0;
34132 }
34133 _ACEOF
34134 rm -f conftest.$ac_objext
34135 if { (ac_try="$ac_compile"
34136 case "(($ac_try" in
34137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34138 *) ac_try_echo=$ac_try;;
34139 esac
34140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34141 (eval "$ac_compile") 2>conftest.er1
34142 ac_status=$?
34143 grep -v '^ *+' conftest.er1 >conftest.err
34144 rm -f conftest.er1
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } && {
34148 test -z "$ac_c_werror_flag" ||
34149 test ! -s conftest.err
34150 } && test -s conftest.$ac_objext; then
34151 wx_cv_lib_motif2="yes"
34152 else
34153 echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.$ac_ext >&5
34155
34156 wx_cv_lib_motif2="no"
34157 fi
34158
34159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160 fi
34161 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34162 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34163 if test "$wx_cv_lib_motif2" = "yes"; then
34164 cat >>confdefs.h <<\_ACEOF
34165 #define __WXMOTIF20__ 1
34166 _ACEOF
34167
34168 else
34169 cat >>confdefs.h <<\_ACEOF
34170 #define __WXMOTIF20__ 0
34171 _ACEOF
34172
34173 fi
34174
34175 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34176 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34177 if test "${wx_cv_lib_lesstif+set}" = set; then
34178 echo $ECHO_N "(cached) $ECHO_C" >&6
34179 else
34180 cat >conftest.$ac_ext <<_ACEOF
34181 /* confdefs.h. */
34182 _ACEOF
34183 cat confdefs.h >>conftest.$ac_ext
34184 cat >>conftest.$ac_ext <<_ACEOF
34185 /* end confdefs.h. */
34186
34187 #include <Xm/Xm.h>
34188
34189 int
34190 main ()
34191 {
34192
34193 #if !defined(LesstifVersion) || LesstifVersion <= 0
34194 Not Lesstif
34195 #endif
34196
34197 ;
34198 return 0;
34199 }
34200 _ACEOF
34201 rm -f conftest.$ac_objext
34202 if { (ac_try="$ac_compile"
34203 case "(($ac_try" in
34204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34205 *) ac_try_echo=$ac_try;;
34206 esac
34207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34208 (eval "$ac_compile") 2>conftest.er1
34209 ac_status=$?
34210 grep -v '^ *+' conftest.er1 >conftest.err
34211 rm -f conftest.er1
34212 cat conftest.err >&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); } && {
34215 test -z "$ac_c_werror_flag" ||
34216 test ! -s conftest.err
34217 } && test -s conftest.$ac_objext; then
34218 wx_cv_lib_lesstif="yes"
34219 else
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34222
34223 wx_cv_lib_lesstif="no"
34224 fi
34225
34226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34227
34228 fi
34229 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34230 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34231 if test "$wx_cv_lib_lesstif" = "yes"; then
34232 cat >>confdefs.h <<\_ACEOF
34233 #define __WXLESSTIF__ 1
34234 _ACEOF
34235
34236 else
34237 cat >>confdefs.h <<\_ACEOF
34238 #define __WXLESSTIF__ 0
34239 _ACEOF
34240
34241 fi
34242
34243 CFLAGS=$save_CFLAGS
34244
34245 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34246 TOOLKIT=MOTIF
34247 GUIDIST=MOTIF_DIST
34248 fi
34249
34250 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34251 if test "$wxUSE_LIBXPM" = "sys"; then
34252 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34253 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34254
34255 ac_find_libraries=
34256 for ac_dir in $SEARCH_LIB;
34257 do
34258 for ac_extension in a so sl dylib dll.a; do
34259 if test -f "$ac_dir/libXpm.$ac_extension"; then
34260 ac_find_libraries=$ac_dir
34261 break 2
34262 fi
34263 done
34264 done
34265
34266 if test "$ac_find_libraries" != "" ; then
34267
34268 if test "$ac_find_libraries" = "default location"; then
34269 ac_path_to_link=""
34270 else
34271 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34272 result=$?
34273 if test $result = 0; then
34274 ac_path_to_link=""
34275 else
34276 ac_path_to_link=" -L$ac_find_libraries"
34277 fi
34278 fi
34279
34280 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34281 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34282 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34283
34284 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34285 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34286 if test "${wx_cv_x11_xpm_h+set}" = set; then
34287 echo $ECHO_N "(cached) $ECHO_C" >&6
34288 else
34289
34290 save_CFLAGS=$CFLAGS
34291 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34292
34293 cat >conftest.$ac_ext <<_ACEOF
34294 /* confdefs.h. */
34295 _ACEOF
34296 cat confdefs.h >>conftest.$ac_ext
34297 cat >>conftest.$ac_ext <<_ACEOF
34298 /* end confdefs.h. */
34299
34300 #include <X11/xpm.h>
34301
34302 int
34303 main ()
34304 {
34305
34306 int version;
34307 version = XpmLibraryVersion();
34308
34309 ;
34310 return 0;
34311 }
34312 _ACEOF
34313 rm -f conftest.$ac_objext
34314 if { (ac_try="$ac_compile"
34315 case "(($ac_try" in
34316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34317 *) ac_try_echo=$ac_try;;
34318 esac
34319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34320 (eval "$ac_compile") 2>conftest.er1
34321 ac_status=$?
34322 grep -v '^ *+' conftest.er1 >conftest.err
34323 rm -f conftest.er1
34324 cat conftest.err >&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); } && {
34327 test -z "$ac_c_werror_flag" ||
34328 test ! -s conftest.err
34329 } && test -s conftest.$ac_objext; then
34330 wx_cv_x11_xpm_h=yes
34331 else
34332 echo "$as_me: failed program was:" >&5
34333 sed 's/^/| /' conftest.$ac_ext >&5
34334
34335 wx_cv_x11_xpm_h=no
34336
34337 fi
34338
34339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34340
34341 CFLAGS=$save_CFLAGS
34342
34343
34344 fi
34345 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34346 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34347
34348 if test $wx_cv_x11_xpm_h = "yes"; then
34349 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34350 cat >>confdefs.h <<\_ACEOF
34351 #define wxHAVE_LIB_XPM 1
34352 _ACEOF
34353
34354 else
34355 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34356 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34357 fi
34358 fi
34359
34360 fi
34361
34362 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34363 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34364 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34366 else
34367 ac_check_lib_save_LIBS=$LIBS
34368 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34369 cat >conftest.$ac_ext <<_ACEOF
34370 /* confdefs.h. */
34371 _ACEOF
34372 cat confdefs.h >>conftest.$ac_ext
34373 cat >>conftest.$ac_ext <<_ACEOF
34374 /* end confdefs.h. */
34375
34376 /* Override any GCC internal prototype to avoid an error.
34377 Use char because int might match the return type of a GCC
34378 builtin and then its argument prototype would still apply. */
34379 #ifdef __cplusplus
34380 extern "C"
34381 #endif
34382 char XShapeQueryExtension ();
34383 int
34384 main ()
34385 {
34386 return XShapeQueryExtension ();
34387 ;
34388 return 0;
34389 }
34390 _ACEOF
34391 rm -f conftest.$ac_objext conftest$ac_exeext
34392 if { (ac_try="$ac_link"
34393 case "(($ac_try" in
34394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34395 *) ac_try_echo=$ac_try;;
34396 esac
34397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34398 (eval "$ac_link") 2>conftest.er1
34399 ac_status=$?
34400 grep -v '^ *+' conftest.er1 >conftest.err
34401 rm -f conftest.er1
34402 cat conftest.err >&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } && {
34405 test -z "$ac_c_werror_flag" ||
34406 test ! -s conftest.err
34407 } && test -s conftest$ac_exeext &&
34408 $as_test_x conftest$ac_exeext; then
34409 ac_cv_lib_Xext_XShapeQueryExtension=yes
34410 else
34411 echo "$as_me: failed program was:" >&5
34412 sed 's/^/| /' conftest.$ac_ext >&5
34413
34414 ac_cv_lib_Xext_XShapeQueryExtension=no
34415 fi
34416
34417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34418 conftest$ac_exeext conftest.$ac_ext
34419 LIBS=$ac_check_lib_save_LIBS
34420 fi
34421 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34422 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34423 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34424
34425 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34426 wxHAVE_XEXT_LIB=1
34427
34428 fi
34429
34430
34431 if test "$wxHAVE_XEXT_LIB" = 1; then
34432 save_CFLAGS="$CFLAGS"
34433 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34434
34435 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34436 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34437 cat >conftest.$ac_ext <<_ACEOF
34438 /* confdefs.h. */
34439 _ACEOF
34440 cat confdefs.h >>conftest.$ac_ext
34441 cat >>conftest.$ac_ext <<_ACEOF
34442 /* end confdefs.h. */
34443
34444 #include <X11/Xlib.h>
34445 #include <X11/extensions/shape.h>
34446
34447 int
34448 main ()
34449 {
34450
34451 int dummy1, dummy2;
34452 XShapeQueryExtension((Display*)NULL,
34453 (int*)NULL, (int*)NULL);
34454
34455 ;
34456 return 0;
34457 }
34458 _ACEOF
34459 rm -f conftest.$ac_objext
34460 if { (ac_try="$ac_compile"
34461 case "(($ac_try" in
34462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34463 *) ac_try_echo=$ac_try;;
34464 esac
34465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34466 (eval "$ac_compile") 2>conftest.er1
34467 ac_status=$?
34468 grep -v '^ *+' conftest.er1 >conftest.err
34469 rm -f conftest.er1
34470 cat conftest.err >&5
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); } && {
34473 test -z "$ac_c_werror_flag" ||
34474 test ! -s conftest.err
34475 } && test -s conftest.$ac_objext; then
34476
34477 cat >>confdefs.h <<\_ACEOF
34478 #define HAVE_XSHAPE 1
34479 _ACEOF
34480
34481 { echo "$as_me:$LINENO: result: found" >&5
34482 echo "${ECHO_T}found" >&6; }
34483
34484 else
34485 echo "$as_me: failed program was:" >&5
34486 sed 's/^/| /' conftest.$ac_ext >&5
34487
34488
34489 { echo "$as_me:$LINENO: result: not found" >&5
34490 echo "${ECHO_T}not found" >&6; }
34491
34492 fi
34493
34494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34495 CFLAGS="$save_CFLAGS"
34496
34497 fi
34498 fi
34499
34500 if test "$wxUSE_MAC" = 1; then
34501 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34502 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34503 if test "$GCC" = yes; then
34504 { echo "$as_me:$LINENO: result: gcc" >&5
34505 echo "${ECHO_T}gcc" >&6; }
34506 CPPFLAGS_PASCAL="-fpascal-strings"
34507 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34508 { echo "$as_me:$LINENO: result: xlc" >&5
34509 echo "${ECHO_T}xlc" >&6; }
34510 CPPFLAGS_PASCAL="-qmacpstr"
34511 else
34512 { echo "$as_me:$LINENO: result: none" >&5
34513 echo "${ECHO_T}none" >&6; }
34514 fi
34515
34516 if test "x$wxUSE_UNIX" = "xyes"; then
34517 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34518 else
34519 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34520 fi
34521
34522 TOOLKIT=MAC
34523 GUIDIST=MACX_DIST
34524 WXBASEPORT="_carbon"
34525 fi
34526
34527 if test "$wxUSE_COCOA" = 1; then
34528 TOOLKIT=COCOA
34529 GUIDIST=COCOA_DIST
34530 fi
34531
34532 if test "$wxUSE_PM" = 1; then
34533 TOOLKIT=PM
34534 GUIDIST=PM_DIST
34535 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34536 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34537 if test "${wx_cv_spbcdata+set}" = set; then
34538 echo $ECHO_N "(cached) $ECHO_C" >&6
34539 else
34540
34541 cat >conftest.$ac_ext <<_ACEOF
34542 /* confdefs.h. */
34543 _ACEOF
34544 cat confdefs.h >>conftest.$ac_ext
34545 cat >>conftest.$ac_ext <<_ACEOF
34546 /* end confdefs.h. */
34547
34548 #define INCL_PM
34549 #include <os2.h>
34550
34551 int
34552 main ()
34553 {
34554
34555 SPBCDATA test;
34556
34557 ;
34558 return 0;
34559 }
34560 _ACEOF
34561 rm -f conftest.$ac_objext
34562 if { (ac_try="$ac_compile"
34563 case "(($ac_try" in
34564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34565 *) ac_try_echo=$ac_try;;
34566 esac
34567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34568 (eval "$ac_compile") 2>conftest.er1
34569 ac_status=$?
34570 grep -v '^ *+' conftest.er1 >conftest.err
34571 rm -f conftest.er1
34572 cat conftest.err >&5
34573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34574 (exit $ac_status); } && {
34575 test -z "$ac_c_werror_flag" ||
34576 test ! -s conftest.err
34577 } && test -s conftest.$ac_objext; then
34578 wx_cv_spbcdata=yes
34579 else
34580 echo "$as_me: failed program was:" >&5
34581 sed 's/^/| /' conftest.$ac_ext >&5
34582
34583 wx_cv_spbcdata=no
34584
34585 fi
34586
34587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34588
34589
34590 fi
34591 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34592 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34593
34594 if test $wx_cv_spbcdata = "yes"; then
34595 cat >>confdefs.h <<\_ACEOF
34596 #define HAVE_SPBCDATA 1
34597 _ACEOF
34598
34599 fi
34600 fi
34601
34602 if test "$TOOLKIT" = "PM" ; then
34603 TOOLKIT_DIR="os2"
34604 else
34605 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34606 fi
34607
34608 if test "$wxUSE_UNIVERSAL" = "yes"; then
34609 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34610 WIDGET_SET=univ
34611 fi
34612
34613 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34614 DISTDIR="wx\$(TOOLKIT)"
34615 else
34616 USE_GUI=0
34617
34618 TOOLKIT_DIR="base"
34619
34620 if test "$USE_WIN32" = 1 ; then
34621 TOOLKIT="MSW"
34622 fi
34623
34624 GUIDIST="BASE_DIST"
34625 DISTDIR="wxBase"
34626 fi
34627
34628
34629
34630 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34631 if test "$TOOLKIT" = "DFB" ; then
34632 wxUSE_UNICODE_UTF8=yes
34633 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34634 wxUSE_UNICODE_UTF8=yes
34635 elif test "$USE_OS2" = "1" ; then
34636 wxUSE_UNICODE_UTF8=yes
34637 else
34638 wxUSE_UNICODE_UTF8=no
34639 fi
34640 fi
34641
34642
34643 if test "$wxUSE_GUI" = "yes"; then
34644 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34645 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34646 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34647 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34648 echo $ECHO_N "(cached) $ECHO_C" >&6
34649 else
34650 cat >conftest.$ac_ext <<_ACEOF
34651 /* confdefs.h. */
34652 _ACEOF
34653 cat confdefs.h >>conftest.$ac_ext
34654 cat >>conftest.$ac_ext <<_ACEOF
34655 /* end confdefs.h. */
34656
34657
34658 #include <X11/Xlib.h>
34659 _ACEOF
34660 rm -f conftest.$ac_objext
34661 if { (ac_try="$ac_compile"
34662 case "(($ac_try" in
34663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34664 *) ac_try_echo=$ac_try;;
34665 esac
34666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34667 (eval "$ac_compile") 2>conftest.er1
34668 ac_status=$?
34669 grep -v '^ *+' conftest.er1 >conftest.err
34670 rm -f conftest.er1
34671 cat conftest.err >&5
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); } && {
34674 test -z "$ac_c_werror_flag" ||
34675 test ! -s conftest.err
34676 } && test -s conftest.$ac_objext; then
34677 ac_cv_header_X11_Xlib_h=yes
34678 else
34679 echo "$as_me: failed program was:" >&5
34680 sed 's/^/| /' conftest.$ac_ext >&5
34681
34682 ac_cv_header_X11_Xlib_h=no
34683 fi
34684
34685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34686 fi
34687 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34688 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34689
34690
34691 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34692 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34693 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34694 echo $ECHO_N "(cached) $ECHO_C" >&6
34695 else
34696 cat >conftest.$ac_ext <<_ACEOF
34697 /* confdefs.h. */
34698 _ACEOF
34699 cat confdefs.h >>conftest.$ac_ext
34700 cat >>conftest.$ac_ext <<_ACEOF
34701 /* end confdefs.h. */
34702
34703 #if HAVE_X11_XLIB_H
34704 #include <X11/Xlib.h>
34705 #endif
34706
34707
34708 #include <X11/XKBlib.h>
34709 _ACEOF
34710 rm -f conftest.$ac_objext
34711 if { (ac_try="$ac_compile"
34712 case "(($ac_try" in
34713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34714 *) ac_try_echo=$ac_try;;
34715 esac
34716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34717 (eval "$ac_compile") 2>conftest.er1
34718 ac_status=$?
34719 grep -v '^ *+' conftest.er1 >conftest.err
34720 rm -f conftest.er1
34721 cat conftest.err >&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } && {
34724 test -z "$ac_c_werror_flag" ||
34725 test ! -s conftest.err
34726 } && test -s conftest.$ac_objext; then
34727 ac_cv_header_X11_XKBlib_h=yes
34728 else
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34731
34732 ac_cv_header_X11_XKBlib_h=no
34733 fi
34734
34735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34736 fi
34737 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34738 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34739
34740
34741 fi
34742 fi
34743
34744
34745
34746 IODBC_C_SRC=""
34747
34748
34749 if test "$TOOLKIT" != "MSW" ; then
34750
34751 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34752
34753 { echo "$as_me:$LINENO: checking for sql.h" >&5
34754 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34755 if test "${ac_cv_header_sql_h+set}" = set; then
34756 echo $ECHO_N "(cached) $ECHO_C" >&6
34757 else
34758 cat >conftest.$ac_ext <<_ACEOF
34759 /* confdefs.h. */
34760 _ACEOF
34761 cat confdefs.h >>conftest.$ac_ext
34762 cat >>conftest.$ac_ext <<_ACEOF
34763 /* end confdefs.h. */
34764
34765
34766 #include <sql.h>
34767 _ACEOF
34768 rm -f conftest.$ac_objext
34769 if { (ac_try="$ac_compile"
34770 case "(($ac_try" in
34771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34772 *) ac_try_echo=$ac_try;;
34773 esac
34774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34775 (eval "$ac_compile") 2>conftest.er1
34776 ac_status=$?
34777 grep -v '^ *+' conftest.er1 >conftest.err
34778 rm -f conftest.er1
34779 cat conftest.err >&5
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); } && {
34782 test -z "$ac_c_werror_flag" ||
34783 test ! -s conftest.err
34784 } && test -s conftest.$ac_objext; then
34785 ac_cv_header_sql_h=yes
34786 else
34787 echo "$as_me: failed program was:" >&5
34788 sed 's/^/| /' conftest.$ac_ext >&5
34789
34790 ac_cv_header_sql_h=no
34791 fi
34792
34793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34794 fi
34795 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34796 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34797 if test $ac_cv_header_sql_h = yes; then
34798 found_sql_h=1
34799 fi
34800
34801
34802 if test "x$found_sql_h" = "x1" ; then
34803 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34804 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34805 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34806 echo $ECHO_N "(cached) $ECHO_C" >&6
34807 else
34808 ac_check_lib_save_LIBS=$LIBS
34809 LIBS="-liodbc $LIBS"
34810 cat >conftest.$ac_ext <<_ACEOF
34811 /* confdefs.h. */
34812 _ACEOF
34813 cat confdefs.h >>conftest.$ac_ext
34814 cat >>conftest.$ac_ext <<_ACEOF
34815 /* end confdefs.h. */
34816
34817 /* Override any GCC internal prototype to avoid an error.
34818 Use char because int might match the return type of a GCC
34819 builtin and then its argument prototype would still apply. */
34820 #ifdef __cplusplus
34821 extern "C"
34822 #endif
34823 char SQLAllocEnv ();
34824 int
34825 main ()
34826 {
34827 return SQLAllocEnv ();
34828 ;
34829 return 0;
34830 }
34831 _ACEOF
34832 rm -f conftest.$ac_objext conftest$ac_exeext
34833 if { (ac_try="$ac_link"
34834 case "(($ac_try" in
34835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34836 *) ac_try_echo=$ac_try;;
34837 esac
34838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34839 (eval "$ac_link") 2>conftest.er1
34840 ac_status=$?
34841 grep -v '^ *+' conftest.er1 >conftest.err
34842 rm -f conftest.er1
34843 cat conftest.err >&5
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); } && {
34846 test -z "$ac_c_werror_flag" ||
34847 test ! -s conftest.err
34848 } && test -s conftest$ac_exeext &&
34849 $as_test_x conftest$ac_exeext; then
34850 ac_cv_lib_iodbc_SQLAllocEnv=yes
34851 else
34852 echo "$as_me: failed program was:" >&5
34853 sed 's/^/| /' conftest.$ac_ext >&5
34854
34855 ac_cv_lib_iodbc_SQLAllocEnv=no
34856 fi
34857
34858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34859 conftest$ac_exeext conftest.$ac_ext
34860 LIBS=$ac_check_lib_save_LIBS
34861 fi
34862 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34863 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34864 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34865 ODBC_LINK=" -liodbc"
34866 else
34867
34868 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34869 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34870 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34871 echo $ECHO_N "(cached) $ECHO_C" >&6
34872 else
34873 ac_check_lib_save_LIBS=$LIBS
34874 LIBS="-lunixodbc $LIBS"
34875 cat >conftest.$ac_ext <<_ACEOF
34876 /* confdefs.h. */
34877 _ACEOF
34878 cat confdefs.h >>conftest.$ac_ext
34879 cat >>conftest.$ac_ext <<_ACEOF
34880 /* end confdefs.h. */
34881
34882 /* Override any GCC internal prototype to avoid an error.
34883 Use char because int might match the return type of a GCC
34884 builtin and then its argument prototype would still apply. */
34885 #ifdef __cplusplus
34886 extern "C"
34887 #endif
34888 char SQLAllocEnv ();
34889 int
34890 main ()
34891 {
34892 return SQLAllocEnv ();
34893 ;
34894 return 0;
34895 }
34896 _ACEOF
34897 rm -f conftest.$ac_objext conftest$ac_exeext
34898 if { (ac_try="$ac_link"
34899 case "(($ac_try" in
34900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34901 *) ac_try_echo=$ac_try;;
34902 esac
34903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34904 (eval "$ac_link") 2>conftest.er1
34905 ac_status=$?
34906 grep -v '^ *+' conftest.er1 >conftest.err
34907 rm -f conftest.er1
34908 cat conftest.err >&5
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); } && {
34911 test -z "$ac_c_werror_flag" ||
34912 test ! -s conftest.err
34913 } && test -s conftest$ac_exeext &&
34914 $as_test_x conftest$ac_exeext; then
34915 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34916 else
34917 echo "$as_me: failed program was:" >&5
34918 sed 's/^/| /' conftest.$ac_ext >&5
34919
34920 ac_cv_lib_unixodbc_SQLAllocEnv=no
34921 fi
34922
34923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34924 conftest$ac_exeext conftest.$ac_ext
34925 LIBS=$ac_check_lib_save_LIBS
34926 fi
34927 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34928 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34929 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34930 ODBC_LINK=" -lunixodbc"
34931 else
34932
34933 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34934 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34935 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34936 echo $ECHO_N "(cached) $ECHO_C" >&6
34937 else
34938 ac_check_lib_save_LIBS=$LIBS
34939 LIBS="-lodbc $LIBS"
34940 cat >conftest.$ac_ext <<_ACEOF
34941 /* confdefs.h. */
34942 _ACEOF
34943 cat confdefs.h >>conftest.$ac_ext
34944 cat >>conftest.$ac_ext <<_ACEOF
34945 /* end confdefs.h. */
34946
34947 /* Override any GCC internal prototype to avoid an error.
34948 Use char because int might match the return type of a GCC
34949 builtin and then its argument prototype would still apply. */
34950 #ifdef __cplusplus
34951 extern "C"
34952 #endif
34953 char SQLAllocEnv ();
34954 int
34955 main ()
34956 {
34957 return SQLAllocEnv ();
34958 ;
34959 return 0;
34960 }
34961 _ACEOF
34962 rm -f conftest.$ac_objext conftest$ac_exeext
34963 if { (ac_try="$ac_link"
34964 case "(($ac_try" in
34965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34966 *) ac_try_echo=$ac_try;;
34967 esac
34968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34969 (eval "$ac_link") 2>conftest.er1
34970 ac_status=$?
34971 grep -v '^ *+' conftest.er1 >conftest.err
34972 rm -f conftest.er1
34973 cat conftest.err >&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); } && {
34976 test -z "$ac_c_werror_flag" ||
34977 test ! -s conftest.err
34978 } && test -s conftest$ac_exeext &&
34979 $as_test_x conftest$ac_exeext; then
34980 ac_cv_lib_odbc_SQLAllocEnv=yes
34981 else
34982 echo "$as_me: failed program was:" >&5
34983 sed 's/^/| /' conftest.$ac_ext >&5
34984
34985 ac_cv_lib_odbc_SQLAllocEnv=no
34986 fi
34987
34988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34989 conftest$ac_exeext conftest.$ac_ext
34990 LIBS=$ac_check_lib_save_LIBS
34991 fi
34992 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34993 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
34994 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34995 ODBC_LINK=" -lodbc"
34996 fi
34997
34998
34999 fi
35000
35001
35002 fi
35003
35004 fi
35005 if test "x$ODBC_LINK" = "x" ; then
35006 if test "$wxUSE_ODBC" = "sys" ; then
35007 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35008 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35009 { (exit 1); exit 1; }; }
35010 else
35011 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35012 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35013 wxUSE_ODBC=builtin
35014 fi
35015 else
35016 wxUSE_ODBC=sys
35017 fi
35018 fi
35019
35020 if test "$wxUSE_ODBC" = "builtin" ; then
35021 cat >>confdefs.h <<\_ACEOF
35022 #define wxUSE_BUILTIN_IODBC 1
35023 _ACEOF
35024
35025 fi
35026 fi
35027
35028 if test "$wxUSE_ODBC" != "no" ; then
35029 cat >>confdefs.h <<\_ACEOF
35030 #define wxUSE_ODBC 1
35031 _ACEOF
35032
35033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35034
35035 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35036 fi
35037
35038
35039 if test "$wxUSE_DISPLAY" = "yes"; then
35040 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35041 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35042 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35043
35044 ac_find_libraries=
35045 for ac_dir in $SEARCH_LIB;
35046 do
35047 for ac_extension in a so sl dylib dll.a; do
35048 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35049 ac_find_libraries=$ac_dir
35050 break 2
35051 fi
35052 done
35053 done
35054
35055 if test "$ac_find_libraries" != "" ; then
35056
35057 if test "$ac_find_libraries" = "default location"; then
35058 ac_path_to_link=""
35059 else
35060 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35061 result=$?
35062 if test $result = 0; then
35063 ac_path_to_link=""
35064 else
35065 ac_path_to_link=" -L$ac_find_libraries"
35066 fi
35067 fi
35068
35069 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35070 LDFLAGS="$LDFLAGS $ac_path_to_link"
35071 fi
35072 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35073 { echo "$as_me:$LINENO: result: yes" >&5
35074 echo "${ECHO_T}yes" >&6; }
35075
35076 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35077 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35078
35079 ac_find_libraries=
35080 for ac_dir in $SEARCH_LIB;
35081 do
35082 for ac_extension in a so sl dylib dll.a; do
35083 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35084 ac_find_libraries=$ac_dir
35085 break 2
35086 fi
35087 done
35088 done
35089
35090 if test "$ac_find_libraries" != "" ; then
35091 { echo "$as_me:$LINENO: result: yes" >&5
35092 echo "${ECHO_T}yes" >&6; }
35093 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35094 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35095 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35096 echo $ECHO_N "(cached) $ECHO_C" >&6
35097 else
35098 cat >conftest.$ac_ext <<_ACEOF
35099 /* confdefs.h. */
35100 _ACEOF
35101 cat confdefs.h >>conftest.$ac_ext
35102 cat >>conftest.$ac_ext <<_ACEOF
35103 /* end confdefs.h. */
35104
35105 #if HAVE_X11_XLIB_H
35106 #include <X11/Xlib.h>
35107 #endif
35108
35109
35110 #include <X11/extensions/xf86vmode.h>
35111 _ACEOF
35112 rm -f conftest.$ac_objext
35113 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
35129 ac_cv_header_X11_extensions_xf86vmode_h=yes
35130 else
35131 echo "$as_me: failed program was:" >&5
35132 sed 's/^/| /' conftest.$ac_ext >&5
35133
35134 ac_cv_header_X11_extensions_xf86vmode_h=no
35135 fi
35136
35137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35138 fi
35139 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35140 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35141 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35142
35143 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35144
35145 fi
35146
35147
35148 else
35149 { echo "$as_me:$LINENO: result: no" >&5
35150 echo "${ECHO_T}no" >&6; }
35151 fi
35152
35153 else
35154 { echo "$as_me:$LINENO: result: no" >&5
35155 echo "${ECHO_T}no" >&6; }
35156 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35157 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35158 wxUSE_DISPLAY="no"
35159 fi
35160 elif test "$wxUSE_MSW" = 1; then
35161 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35162 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35163 if test "${ac_cv_header_ddraw_h+set}" = set; then
35164 echo $ECHO_N "(cached) $ECHO_C" >&6
35165 else
35166 cat >conftest.$ac_ext <<_ACEOF
35167 /* confdefs.h. */
35168 _ACEOF
35169 cat confdefs.h >>conftest.$ac_ext
35170 cat >>conftest.$ac_ext <<_ACEOF
35171 /* end confdefs.h. */
35172 #include <windows.h>
35173
35174 #include <ddraw.h>
35175 _ACEOF
35176 rm -f conftest.$ac_objext
35177 if { (ac_try="$ac_compile"
35178 case "(($ac_try" in
35179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35180 *) ac_try_echo=$ac_try;;
35181 esac
35182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35183 (eval "$ac_compile") 2>conftest.er1
35184 ac_status=$?
35185 grep -v '^ *+' conftest.er1 >conftest.err
35186 rm -f conftest.er1
35187 cat conftest.err >&5
35188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35189 (exit $ac_status); } && {
35190 test -z "$ac_c_werror_flag" ||
35191 test ! -s conftest.err
35192 } && test -s conftest.$ac_objext; then
35193 ac_cv_header_ddraw_h=yes
35194 else
35195 echo "$as_me: failed program was:" >&5
35196 sed 's/^/| /' conftest.$ac_ext >&5
35197
35198 ac_cv_header_ddraw_h=no
35199 fi
35200
35201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35202 fi
35203 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35204 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35205
35206
35207 fi
35208 fi
35209
35210 if test "$wxUSE_DETECT_SM" = "yes"; then
35211 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35212 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35213 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35214
35215 ac_find_libraries=
35216 for ac_dir in $SEARCH_LIB;
35217 do
35218 for ac_extension in a so sl dylib dll.a; do
35219 if test -f "$ac_dir/libSM.$ac_extension"; then
35220 ac_find_libraries=$ac_dir
35221 break 2
35222 fi
35223 done
35224 done
35225
35226 if test "$ac_find_libraries" != "" ; then
35227
35228 if test "$ac_find_libraries" = "default location"; then
35229 ac_path_to_link=""
35230 else
35231 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35232 result=$?
35233 if test $result = 0; then
35234 ac_path_to_link=""
35235 else
35236 ac_path_to_link=" -L$ac_find_libraries"
35237 fi
35238 fi
35239
35240 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35241 LDFLAGS="$LDFLAGS $ac_path_to_link"
35242 fi
35243 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35244 { echo "$as_me:$LINENO: result: yes" >&5
35245 echo "${ECHO_T}yes" >&6; }
35246 else
35247 { echo "$as_me:$LINENO: result: no" >&5
35248 echo "${ECHO_T}no" >&6; }
35249 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35250 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35251 wxUSE_DETECT_SM="no"
35252 fi
35253 else
35254 wxUSE_DETECT_SM="no"
35255 fi
35256 fi
35257
35258
35259
35260 USE_OPENGL=0
35261 if test "$wxUSE_OPENGL" = "yes"; then
35262 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35263 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35264 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35265 wxUSE_OPENGL="no"
35266 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35267 OPENGL_LIBS="-framework OpenGL -framework AGL"
35268 elif test "$wxUSE_MSW" = 1; then
35269 OPENGL_LIBS="-lopengl32 -lglu32"
35270 else
35271 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35272 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35273
35274 ac_find_includes=
35275 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35276 do
35277 if test -f "$ac_dir/GL/gl.h"; then
35278 ac_find_includes=$ac_dir
35279 break
35280 fi
35281 done
35282
35283 if test "$ac_find_includes" != "" ; then
35284 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35285 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35286
35287 if test "x$ac_find_includes" = "x/usr/include"; then
35288 ac_path_to_include=""
35289 else
35290 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35291 result=$?
35292 if test $result = 0; then
35293 ac_path_to_include=""
35294 else
35295 ac_path_to_include=" -I$ac_find_includes"
35296 fi
35297 fi
35298
35299 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35300 else
35301 { echo "$as_me:$LINENO: result: not found" >&5
35302 echo "${ECHO_T}not found" >&6; }
35303 fi
35304
35305 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35306 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35307 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35308 echo $ECHO_N "(cached) $ECHO_C" >&6
35309 else
35310 cat >conftest.$ac_ext <<_ACEOF
35311 /* confdefs.h. */
35312 _ACEOF
35313 cat confdefs.h >>conftest.$ac_ext
35314 cat >>conftest.$ac_ext <<_ACEOF
35315 /* end confdefs.h. */
35316
35317
35318 #include <GL/gl.h>
35319 _ACEOF
35320 rm -f conftest.$ac_objext
35321 if { (ac_try="$ac_compile"
35322 case "(($ac_try" in
35323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35324 *) ac_try_echo=$ac_try;;
35325 esac
35326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35327 (eval "$ac_compile") 2>conftest.er1
35328 ac_status=$?
35329 grep -v '^ *+' conftest.er1 >conftest.err
35330 rm -f conftest.er1
35331 cat conftest.err >&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } && {
35334 test -z "$ac_c_werror_flag" ||
35335 test ! -s conftest.err
35336 } && test -s conftest.$ac_objext; then
35337 ac_cv_header_GL_gl_h=yes
35338 else
35339 echo "$as_me: failed program was:" >&5
35340 sed 's/^/| /' conftest.$ac_ext >&5
35341
35342 ac_cv_header_GL_gl_h=no
35343 fi
35344
35345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35346 fi
35347 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35348 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35349 if test $ac_cv_header_GL_gl_h = yes; then
35350
35351 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35352 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35353 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35354 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35355 echo $ECHO_N "(cached) $ECHO_C" >&6
35356 fi
35357 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35358 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35359 else
35360 # Is the header compilable?
35361 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35362 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35363 cat >conftest.$ac_ext <<_ACEOF
35364 /* confdefs.h. */
35365 _ACEOF
35366 cat confdefs.h >>conftest.$ac_ext
35367 cat >>conftest.$ac_ext <<_ACEOF
35368 /* end confdefs.h. */
35369 $ac_includes_default
35370 #include <GL/glu.h>
35371 _ACEOF
35372 rm -f conftest.$ac_objext
35373 if { (ac_try="$ac_compile"
35374 case "(($ac_try" in
35375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35376 *) ac_try_echo=$ac_try;;
35377 esac
35378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35379 (eval "$ac_compile") 2>conftest.er1
35380 ac_status=$?
35381 grep -v '^ *+' conftest.er1 >conftest.err
35382 rm -f conftest.er1
35383 cat conftest.err >&5
35384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35385 (exit $ac_status); } && {
35386 test -z "$ac_c_werror_flag" ||
35387 test ! -s conftest.err
35388 } && test -s conftest.$ac_objext; then
35389 ac_header_compiler=yes
35390 else
35391 echo "$as_me: failed program was:" >&5
35392 sed 's/^/| /' conftest.$ac_ext >&5
35393
35394 ac_header_compiler=no
35395 fi
35396
35397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35398 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35399 echo "${ECHO_T}$ac_header_compiler" >&6; }
35400
35401 # Is the header present?
35402 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35403 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35404 cat >conftest.$ac_ext <<_ACEOF
35405 /* confdefs.h. */
35406 _ACEOF
35407 cat confdefs.h >>conftest.$ac_ext
35408 cat >>conftest.$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35410 #include <GL/glu.h>
35411 _ACEOF
35412 if { (ac_try="$ac_cpp conftest.$ac_ext"
35413 case "(($ac_try" in
35414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35415 *) ac_try_echo=$ac_try;;
35416 esac
35417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35418 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35419 ac_status=$?
35420 grep -v '^ *+' conftest.er1 >conftest.err
35421 rm -f conftest.er1
35422 cat conftest.err >&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } >/dev/null && {
35425 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35426 test ! -s conftest.err
35427 }; then
35428 ac_header_preproc=yes
35429 else
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.$ac_ext >&5
35432
35433 ac_header_preproc=no
35434 fi
35435
35436 rm -f conftest.err conftest.$ac_ext
35437 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35438 echo "${ECHO_T}$ac_header_preproc" >&6; }
35439
35440 # So? What about this header?
35441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35442 yes:no: )
35443 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35444 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35445 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35446 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35447 ac_header_preproc=yes
35448 ;;
35449 no:yes:* )
35450 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35451 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35452 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35453 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35454 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35455 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35456 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35457 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35458 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35459 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35460 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35461 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35462 ( cat <<\_ASBOX
35463 ## ----------------------------------------- ##
35464 ## Report this to wx-dev@lists.wxwidgets.org ##
35465 ## ----------------------------------------- ##
35466 _ASBOX
35467 ) | sed "s/^/$as_me: WARNING: /" >&2
35468 ;;
35469 esac
35470 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35471 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35472 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35473 echo $ECHO_N "(cached) $ECHO_C" >&6
35474 else
35475 ac_cv_header_GL_glu_h=$ac_header_preproc
35476 fi
35477 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35478 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35479
35480 fi
35481 if test $ac_cv_header_GL_glu_h = yes; then
35482
35483 found_gl=0
35484
35485 { echo "$as_me:$LINENO: checking for -lGL" >&5
35486 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35487
35488 ac_find_libraries=
35489 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35490 do
35491 for ac_extension in a so sl dylib dll.a; do
35492 if test -f "$ac_dir/libGL.$ac_extension"; then
35493 ac_find_libraries=$ac_dir
35494 break 2
35495 fi
35496 done
35497 done
35498
35499 if test "$ac_find_libraries" != "" ; then
35500 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35501 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35502
35503
35504 if test "$ac_find_libraries" = "default location"; then
35505 ac_path_to_link=""
35506 else
35507 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35508 result=$?
35509 if test $result = 0; then
35510 ac_path_to_link=""
35511 else
35512 ac_path_to_link=" -L$ac_find_libraries"
35513 fi
35514 fi
35515
35516 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35517 LDFLAGS_GL="$ac_path_to_link"
35518 fi
35519
35520 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35521 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35522
35523 ac_find_libraries=
35524 for ac_dir in $SEARCH_LIB;
35525 do
35526 for ac_extension in a so sl dylib dll.a; do
35527 if test -f "$ac_dir/libGLU.$ac_extension"; then
35528 ac_find_libraries=$ac_dir
35529 break 2
35530 fi
35531 done
35532 done
35533
35534 if test "$ac_find_libraries" != "" ; then
35535
35536 if test "$ac_find_libraries" = "default location"; then
35537 ac_path_to_link=""
35538 else
35539 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35540 result=$?
35541 if test $result = 0; then
35542 ac_path_to_link=""
35543 else
35544 ac_path_to_link=" -L$ac_find_libraries"
35545 fi
35546 fi
35547
35548 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35549 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35550 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35551 fi
35552
35553 found_gl=1
35554 OPENGL_LIBS="-lGL -lGLU"
35555 { echo "$as_me:$LINENO: result: yes" >&5
35556 echo "${ECHO_T}yes" >&6; }
35557 else
35558 { echo "$as_me:$LINENO: result: no" >&5
35559 echo "${ECHO_T}no" >&6; }
35560 fi
35561 else
35562 { echo "$as_me:$LINENO: result: no" >&5
35563 echo "${ECHO_T}no" >&6; }
35564 fi
35565
35566 if test "$found_gl" != 1; then
35567 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35568 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35569
35570 ac_find_libraries=
35571 for ac_dir in $SEARCH_LIB;
35572 do
35573 for ac_extension in a so sl dylib dll.a; do
35574 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35575 ac_find_libraries=$ac_dir
35576 break 2
35577 fi
35578 done
35579 done
35580
35581 if test "$ac_find_libraries" != "" ; then
35582
35583 if test "$ac_find_libraries" = "default location"; then
35584 ac_path_to_link=""
35585 else
35586 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35587 result=$?
35588 if test $result = 0; then
35589 ac_path_to_link=""
35590 else
35591 ac_path_to_link=" -L$ac_find_libraries"
35592 fi
35593 fi
35594
35595 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35596 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35597 { echo "$as_me:$LINENO: result: yes" >&5
35598 echo "${ECHO_T}yes" >&6; }
35599 else
35600 { echo "$as_me:$LINENO: result: no" >&5
35601 echo "${ECHO_T}no" >&6; }
35602 fi
35603 fi
35604
35605 fi
35606
35607
35608
35609 fi
35610
35611
35612
35613 if test "x$OPENGL_LIBS" = "x"; then
35614 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35615 echo "$as_me: error: OpenGL libraries not available" >&2;}
35616 { (exit 1); exit 1; }; }
35617 fi
35618 fi
35619
35620 if test "$wxUSE_OPENGL" = "yes"; then
35621 USE_OPENGL=1
35622 cat >>confdefs.h <<\_ACEOF
35623 #define wxUSE_OPENGL 1
35624 _ACEOF
35625
35626 cat >>confdefs.h <<\_ACEOF
35627 #define wxUSE_GLCANVAS 1
35628 _ACEOF
35629
35630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35631 fi
35632 fi
35633
35634
35635 if test -n "$TOOLKIT" ; then
35636 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35637 fi
35638
35639
35640
35641 if test "$wxUSE_SHARED" = "yes"; then
35642 case "${host}" in
35643 *-pc-msdosdjgpp )
35644 wxUSE_SHARED=no
35645 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35646 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35647 ;;
35648 esac
35649 fi
35650
35651 if test "$wxUSE_SHARED" = "yes"; then
35652
35653
35654 case "${host}" in
35655 *-*-cygwin* | *-*-mingw* )
35656 wx_cv_version_script=no
35657 ;;
35658
35659 *)
35660 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35661 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35662 if test "${wx_cv_version_script+set}" = set; then
35663 echo $ECHO_N "(cached) $ECHO_C" >&6
35664 else
35665
35666 echo "VER_1 { *; };" >conftest.sym
35667 echo "int main() { return 0; }" >conftest.cpp
35668
35669 if { ac_try='
35670 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35671 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35673 (eval $ac_try) 2>&5
35674 ac_status=$?
35675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35676 (exit $ac_status); }; } ; then
35677 if test -s conftest.stderr ; then
35678 wx_cv_version_script=no
35679 else
35680 wx_cv_version_script=yes
35681 fi
35682 else
35683 wx_cv_version_script=no
35684 fi
35685
35686 if test $wx_cv_version_script = yes
35687 then
35688 echo "struct B { virtual ~B() { } }; \
35689 struct D : public B { }; \
35690 void F() { D d; }" > conftest.cpp
35691
35692 if { ac_try='
35693 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35694 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35696 (eval $ac_try) 2>&5
35697 ac_status=$?
35698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35699 (exit $ac_status); }; } &&
35700 { ac_try='
35701 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35702 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35704 (eval $ac_try) 2>&5
35705 ac_status=$?
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); }; }
35708 then
35709 if { ac_try='
35710 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35711 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35713 (eval $ac_try) 2>&5
35714 ac_status=$?
35715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35716 (exit $ac_status); }; }
35717 then
35718 wx_cv_version_script=yes
35719 else
35720 wx_cv_version_script=no
35721 fi
35722 fi
35723 fi
35724
35725 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35726 rm -f conftest1.output conftest2.output conftest3.output
35727
35728 fi
35729 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35730 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35731
35732 if test $wx_cv_version_script = yes ; then
35733 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35734 fi
35735 ;;
35736 esac
35737
35738
35739 if test "$wxUSE_VISIBILITY" != "no"; then
35740
35741
35742 if test -n "$GCC"; then
35743 CFLAGS_VISIBILITY="-fvisibility=hidden"
35744 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35745 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35746 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35747 if test "${wx_cv_cc_visibility+set}" = set; then
35748 echo $ECHO_N "(cached) $ECHO_C" >&6
35749 else
35750
35751 wx_save_CXXFLAGS="$CXXFLAGS"
35752 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35753 ac_ext=cpp
35754 ac_cpp='$CXXCPP $CPPFLAGS'
35755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35758
35759 cat >conftest.$ac_ext <<_ACEOF
35760 /* confdefs.h. */
35761 _ACEOF
35762 cat confdefs.h >>conftest.$ac_ext
35763 cat >>conftest.$ac_ext <<_ACEOF
35764 /* end confdefs.h. */
35765
35766 /* we need gcc >= 4.0, older versions with visibility support
35767 didn't have class visibility: */
35768 #if defined(__GNUC__) && __GNUC__ < 4
35769 error this gcc is too old;
35770 #endif
35771
35772 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35773 extern __attribute__((__visibility__("default"))) int exportedvar;
35774 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35775 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35776 class __attribute__((__visibility__("default"))) Foo {
35777 Foo() {}
35778 };
35779
35780 int
35781 main ()
35782 {
35783
35784 ;
35785 return 0;
35786 }
35787 _ACEOF
35788 rm -f conftest.$ac_objext
35789 if { (ac_try="$ac_compile"
35790 case "(($ac_try" in
35791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35792 *) ac_try_echo=$ac_try;;
35793 esac
35794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35795 (eval "$ac_compile") 2>conftest.er1
35796 ac_status=$?
35797 grep -v '^ *+' conftest.er1 >conftest.err
35798 rm -f conftest.er1
35799 cat conftest.err >&5
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); } && {
35802 test -z "$ac_cxx_werror_flag" ||
35803 test ! -s conftest.err
35804 } && test -s conftest.$ac_objext; then
35805 wx_cv_cc_visibility=yes
35806 else
35807 echo "$as_me: failed program was:" >&5
35808 sed 's/^/| /' conftest.$ac_ext >&5
35809
35810 wx_cv_cc_visibility=no
35811 fi
35812
35813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35814 ac_ext=c
35815 ac_cpp='$CPP $CPPFLAGS'
35816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35819
35820 CXXFLAGS="$wx_save_CXXFLAGS"
35821 fi
35822
35823 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35824 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35825 if test $wx_cv_cc_visibility = yes; then
35826 cat >>confdefs.h <<\_ACEOF
35827 #define HAVE_VISIBILITY 1
35828 _ACEOF
35829
35830 else
35831 CFLAGS_VISIBILITY=""
35832 CXXFLAGS_VISIBILITY=""
35833 fi
35834
35835
35836 fi
35837
35838 fi
35839
35840 if test "x$SUNCXX" = xyes; then
35841 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35842 WXCONFIG_RPATH="-R\$libdir"
35843 else
35844 case "${host}" in
35845 *-*-linux* | *-*-gnu* )
35846 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35847 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35848 ;;
35849
35850 *-*-solaris2* )
35851
35852 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35853
35854 saveLdflags="$LDFLAGS"
35855 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35856 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35857 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35858 cat >conftest.$ac_ext <<_ACEOF
35859 /* confdefs.h. */
35860 _ACEOF
35861 cat confdefs.h >>conftest.$ac_ext
35862 cat >>conftest.$ac_ext <<_ACEOF
35863 /* end confdefs.h. */
35864
35865 int
35866 main ()
35867 {
35868
35869 ;
35870 return 0;
35871 }
35872 _ACEOF
35873 rm -f conftest.$ac_objext conftest$ac_exeext
35874 if { (ac_try="$ac_link"
35875 case "(($ac_try" in
35876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35877 *) ac_try_echo=$ac_try;;
35878 esac
35879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35880 (eval "$ac_link") 2>conftest.er1
35881 ac_status=$?
35882 grep -v '^ *+' conftest.er1 >conftest.err
35883 rm -f conftest.er1
35884 cat conftest.err >&5
35885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886 (exit $ac_status); } && {
35887 test -z "$ac_c_werror_flag" ||
35888 test ! -s conftest.err
35889 } && test -s conftest$ac_exeext &&
35890 $as_test_x conftest$ac_exeext; then
35891
35892 { echo "$as_me:$LINENO: result: yes" >&5
35893 echo "${ECHO_T}yes" >&6; }
35894 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35895 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35896
35897 else
35898 echo "$as_me: failed program was:" >&5
35899 sed 's/^/| /' conftest.$ac_ext >&5
35900
35901
35902 { echo "$as_me:$LINENO: result: no" >&5
35903 echo "${ECHO_T}no" >&6; }
35904 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35905 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35906 LDFLAGS="$saveLdflags -Wl,-R,/"
35907 cat >conftest.$ac_ext <<_ACEOF
35908 /* confdefs.h. */
35909 _ACEOF
35910 cat confdefs.h >>conftest.$ac_ext
35911 cat >>conftest.$ac_ext <<_ACEOF
35912 /* end confdefs.h. */
35913
35914 int
35915 main ()
35916 {
35917
35918 ;
35919 return 0;
35920 }
35921 _ACEOF
35922 rm -f conftest.$ac_objext conftest$ac_exeext
35923 if { (ac_try="$ac_link"
35924 case "(($ac_try" in
35925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35926 *) ac_try_echo=$ac_try;;
35927 esac
35928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35929 (eval "$ac_link") 2>conftest.er1
35930 ac_status=$?
35931 grep -v '^ *+' conftest.er1 >conftest.err
35932 rm -f conftest.er1
35933 cat conftest.err >&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); } && {
35936 test -z "$ac_c_werror_flag" ||
35937 test ! -s conftest.err
35938 } && test -s conftest$ac_exeext &&
35939 $as_test_x conftest$ac_exeext; then
35940
35941 { echo "$as_me:$LINENO: result: yes" >&5
35942 echo "${ECHO_T}yes" >&6; }
35943 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35944 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35945
35946 else
35947 echo "$as_me: failed program was:" >&5
35948 sed 's/^/| /' conftest.$ac_ext >&5
35949
35950
35951 { echo "$as_me:$LINENO: result: no" >&5
35952 echo "${ECHO_T}no" >&6; }
35953
35954 fi
35955
35956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35957 conftest$ac_exeext conftest.$ac_ext
35958
35959 fi
35960
35961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35962 conftest$ac_exeext conftest.$ac_ext
35963 LDFLAGS="$saveLdflags"
35964 ;;
35965
35966 *-*-darwin* )
35967 install_name_tool=`which install_name_tool`
35968 if test "$install_name_tool" -a -x "$install_name_tool"; then
35969 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35970 cat <<EOF >change-install-names
35971 #!/bin/sh
35972 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35973 inst_cmd="install_name_tool "
35974 for i in \${libnames} ; do
35975 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35976 done
35977 \${inst_cmd} \${3}
35978 EOF
35979 chmod +x change-install-names
35980 fi
35981 ;;
35982
35983 *-*-cygwin* | *-*-mingw32* )
35984 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35985 ;;
35986
35987 *-*-hpux* )
35988 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35989 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35990 ;;
35991
35992 esac
35993 fi
35994
35995 if test $wxUSE_RPATH = "no"; then
35996 SAMPLES_RPATH_FLAG=''
35997 SAMPLES_RPATH_POSTLINK=''
35998 WXCONFIG_RPATH=''
35999 fi
36000
36001 SHARED=1
36002
36003 else
36004
36005 config_linkage_component="-static"
36006 SHARED=0
36007
36008 fi
36009
36010
36011 UNICODE=0
36012 lib_unicode_suffix=
36013 WX_CHARTYPE="ansi"
36014 if test "$wxUSE_UNICODE" = "yes"; then
36015 lib_unicode_suffix=u
36016 WX_CHARTYPE="unicode"
36017 UNICODE=1
36018 fi
36019
36020 lib_debug_suffix=
36021 WX_DEBUGTYPE="release"
36022 DEBUG_FLAG=0
36023 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36024 lib_debug_suffix=d
36025 WX_DEBUGTYPE="debug"
36026 DEBUG_FLAG=1
36027 fi
36028
36029 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36030 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36031
36032 DEBUG_INFO=0
36033 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36034 DEBUG_INFO=1
36035 fi
36036
36037 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36038
36039 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36040
36041 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36042
36043 if test "$cross_compiling" = "yes"; then
36044 HOST_SUFFIX="-$host_alias"
36045 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36046 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36047 fi
36048
36049 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36050 if test "${TOOLKIT_DIR}" = "os2"; then
36051 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36052 else
36053 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36054 fi
36055
36056
36057
36058 if test "$wxUSE_COCOA" = 1; then
36059
36060 ac_ext=c
36061 ac_cpp='$CPP $CPPFLAGS'
36062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36065
36066 ac_ext=m
36067
36068 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36069 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36070 cat >conftest.$ac_ext <<_ACEOF
36071 /* confdefs.h. */
36072 _ACEOF
36073 cat confdefs.h >>conftest.$ac_ext
36074 cat >>conftest.$ac_ext <<_ACEOF
36075 /* end confdefs.h. */
36076 #include <AppKit/NSEvent.h>
36077 #include <CoreFoundation/CoreFoundation.h>
36078
36079 int
36080 main ()
36081 {
36082
36083 ;
36084 return 0;
36085 }
36086 _ACEOF
36087 rm -f conftest.$ac_objext
36088 if { (ac_try="$ac_compile"
36089 case "(($ac_try" in
36090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36091 *) ac_try_echo=$ac_try;;
36092 esac
36093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36094 (eval "$ac_compile") 2>conftest.er1
36095 ac_status=$?
36096 grep -v '^ *+' conftest.er1 >conftest.err
36097 rm -f conftest.er1
36098 cat conftest.err >&5
36099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36100 (exit $ac_status); } && {
36101 test -z "$ac_c_werror_flag" ||
36102 test ! -s conftest.err
36103 } && test -s conftest.$ac_objext; then
36104 { echo "$as_me:$LINENO: result: no" >&5
36105 echo "${ECHO_T}no" >&6; }
36106 else
36107 echo "$as_me: failed program was:" >&5
36108 sed 's/^/| /' conftest.$ac_ext >&5
36109
36110 { echo "$as_me:$LINENO: result: yes" >&5
36111 echo "${ECHO_T}yes" >&6; }
36112 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36113 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36114 cat >conftest.$ac_ext <<_ACEOF
36115 /* confdefs.h. */
36116 _ACEOF
36117 cat confdefs.h >>conftest.$ac_ext
36118 cat >>conftest.$ac_ext <<_ACEOF
36119 /* end confdefs.h. */
36120 #define __Point__ 1
36121 #include <AppKit/NSEvent.h>
36122 #include <CoreFoundation/CoreFoundation.h>
36123
36124 int
36125 main ()
36126 {
36127
36128 ;
36129 return 0;
36130 }
36131 _ACEOF
36132 rm -f conftest.$ac_objext
36133 if { (ac_try="$ac_compile"
36134 case "(($ac_try" in
36135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36136 *) ac_try_echo=$ac_try;;
36137 esac
36138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36139 (eval "$ac_compile") 2>conftest.er1
36140 ac_status=$?
36141 grep -v '^ *+' conftest.er1 >conftest.err
36142 rm -f conftest.er1
36143 cat conftest.err >&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); } && {
36146 test -z "$ac_c_werror_flag" ||
36147 test ! -s conftest.err
36148 } && test -s conftest.$ac_objext; then
36149 { echo "$as_me:$LINENO: result: yes" >&5
36150 echo "${ECHO_T}yes" >&6; }
36151 cat >>confdefs.h <<\_ACEOF
36152 #define __Point__ 1
36153 _ACEOF
36154
36155
36156 else
36157 echo "$as_me: failed program was:" >&5
36158 sed 's/^/| /' conftest.$ac_ext >&5
36159
36160 { { echo "$as_me:$LINENO: error: no
36161 See \`config.log' for more details." >&5
36162 echo "$as_me: error: no
36163 See \`config.log' for more details." >&2;}
36164 { (exit 1); exit 1; }; }
36165
36166 fi
36167
36168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36169
36170 fi
36171
36172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36173 ac_ext=c
36174 ac_cpp='$CPP $CPPFLAGS'
36175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36178
36179 fi
36180
36181 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36182 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36183 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36184
36185 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36186
36187 # Extract the first word of "Rez", so it can be a program name with args.
36188 set dummy Rez; ac_word=$2
36189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36191 if test "${ac_cv_prog_REZ+set}" = set; then
36192 echo $ECHO_N "(cached) $ECHO_C" >&6
36193 else
36194 if test -n "$REZ"; then
36195 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36196 else
36197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36198 for as_dir in $PATH
36199 do
36200 IFS=$as_save_IFS
36201 test -z "$as_dir" && as_dir=.
36202 for ac_exec_ext in '' $ac_executable_extensions; do
36203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36204 ac_cv_prog_REZ="Rez"
36205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36206 break 2
36207 fi
36208 done
36209 done
36210 IFS=$as_save_IFS
36211
36212 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36213 fi
36214 fi
36215 REZ=$ac_cv_prog_REZ
36216 if test -n "$REZ"; then
36217 { echo "$as_me:$LINENO: result: $REZ" >&5
36218 echo "${ECHO_T}$REZ" >&6; }
36219 else
36220 { echo "$as_me:$LINENO: result: no" >&5
36221 echo "${ECHO_T}no" >&6; }
36222 fi
36223
36224
36225 # Extract the first word of "DeRez", so it can be a program name with args.
36226 set dummy DeRez; ac_word=$2
36227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36229 if test "${ac_cv_prog_DEREZ+set}" = set; then
36230 echo $ECHO_N "(cached) $ECHO_C" >&6
36231 else
36232 if test -n "$DEREZ"; then
36233 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36234 else
36235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36236 for as_dir in $PATH
36237 do
36238 IFS=$as_save_IFS
36239 test -z "$as_dir" && as_dir=.
36240 for ac_exec_ext in '' $ac_executable_extensions; do
36241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36242 ac_cv_prog_DEREZ="DeRez"
36243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36244 break 2
36245 fi
36246 done
36247 done
36248 IFS=$as_save_IFS
36249
36250 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36251 fi
36252 fi
36253 DEREZ=$ac_cv_prog_DEREZ
36254 if test -n "$DEREZ"; then
36255 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36256 echo "${ECHO_T}$DEREZ" >&6; }
36257 else
36258 { echo "$as_me:$LINENO: result: no" >&5
36259 echo "${ECHO_T}no" >&6; }
36260 fi
36261
36262
36263 # Extract the first word of "SetFile", so it can be a program name with args.
36264 set dummy SetFile; ac_word=$2
36265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36267 if test "${ac_cv_prog_SETFILE+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36269 else
36270 if test -n "$SETFILE"; then
36271 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36272 else
36273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36274 for as_dir in $PATH
36275 do
36276 IFS=$as_save_IFS
36277 test -z "$as_dir" && as_dir=.
36278 for ac_exec_ext in '' $ac_executable_extensions; do
36279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36280 ac_cv_prog_SETFILE="SetFile"
36281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36282 break 2
36283 fi
36284 done
36285 done
36286 IFS=$as_save_IFS
36287
36288 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36289 fi
36290 fi
36291 SETFILE=$ac_cv_prog_SETFILE
36292 if test -n "$SETFILE"; then
36293 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36294 echo "${ECHO_T}$SETFILE" >&6; }
36295 else
36296 { echo "$as_me:$LINENO: result: no" >&5
36297 echo "${ECHO_T}no" >&6; }
36298 fi
36299
36300
36301
36302 MACSETFILE="\$(SETFILE)"
36303
36304 if test "$wxUSE_MAC" = 1; then
36305 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36306 RESCOMP="$REZ"
36307 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36308 else
36309 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36310 RESCOMP="echo -n \| $REZ"
36311 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36312 fi
36313
36314 else
36315 MACSETFILE="@true"
36316
36317 if test "$wxUSE_PM" = 1; then
36318 RESCOMP="emxbind"
36319 WXCONFIG_RESFLAGS="-ep"
36320
36321 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36322 else
36323 POSTLINK_COMMAND="@true"
36324 fi
36325
36326 fi
36327
36328
36329
36330 { echo "$as_me:$LINENO: checking for mode_t" >&5
36331 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36332 if test "${ac_cv_type_mode_t+set}" = set; then
36333 echo $ECHO_N "(cached) $ECHO_C" >&6
36334 else
36335 cat >conftest.$ac_ext <<_ACEOF
36336 /* confdefs.h. */
36337 _ACEOF
36338 cat confdefs.h >>conftest.$ac_ext
36339 cat >>conftest.$ac_ext <<_ACEOF
36340 /* end confdefs.h. */
36341 $ac_includes_default
36342 typedef mode_t ac__type_new_;
36343 int
36344 main ()
36345 {
36346 if ((ac__type_new_ *) 0)
36347 return 0;
36348 if (sizeof (ac__type_new_))
36349 return 0;
36350 ;
36351 return 0;
36352 }
36353 _ACEOF
36354 rm -f conftest.$ac_objext
36355 if { (ac_try="$ac_compile"
36356 case "(($ac_try" in
36357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36358 *) ac_try_echo=$ac_try;;
36359 esac
36360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36361 (eval "$ac_compile") 2>conftest.er1
36362 ac_status=$?
36363 grep -v '^ *+' conftest.er1 >conftest.err
36364 rm -f conftest.er1
36365 cat conftest.err >&5
36366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36367 (exit $ac_status); } && {
36368 test -z "$ac_c_werror_flag" ||
36369 test ! -s conftest.err
36370 } && test -s conftest.$ac_objext; then
36371 ac_cv_type_mode_t=yes
36372 else
36373 echo "$as_me: failed program was:" >&5
36374 sed 's/^/| /' conftest.$ac_ext >&5
36375
36376 ac_cv_type_mode_t=no
36377 fi
36378
36379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36380 fi
36381 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36382 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36383 if test $ac_cv_type_mode_t = yes; then
36384 :
36385 else
36386
36387 cat >>confdefs.h <<_ACEOF
36388 #define mode_t int
36389 _ACEOF
36390
36391 fi
36392
36393 { echo "$as_me:$LINENO: checking for off_t" >&5
36394 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36395 if test "${ac_cv_type_off_t+set}" = set; then
36396 echo $ECHO_N "(cached) $ECHO_C" >&6
36397 else
36398 cat >conftest.$ac_ext <<_ACEOF
36399 /* confdefs.h. */
36400 _ACEOF
36401 cat confdefs.h >>conftest.$ac_ext
36402 cat >>conftest.$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36404 $ac_includes_default
36405 typedef off_t ac__type_new_;
36406 int
36407 main ()
36408 {
36409 if ((ac__type_new_ *) 0)
36410 return 0;
36411 if (sizeof (ac__type_new_))
36412 return 0;
36413 ;
36414 return 0;
36415 }
36416 _ACEOF
36417 rm -f conftest.$ac_objext
36418 if { (ac_try="$ac_compile"
36419 case "(($ac_try" in
36420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36421 *) ac_try_echo=$ac_try;;
36422 esac
36423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36424 (eval "$ac_compile") 2>conftest.er1
36425 ac_status=$?
36426 grep -v '^ *+' conftest.er1 >conftest.err
36427 rm -f conftest.er1
36428 cat conftest.err >&5
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); } && {
36431 test -z "$ac_c_werror_flag" ||
36432 test ! -s conftest.err
36433 } && test -s conftest.$ac_objext; then
36434 ac_cv_type_off_t=yes
36435 else
36436 echo "$as_me: failed program was:" >&5
36437 sed 's/^/| /' conftest.$ac_ext >&5
36438
36439 ac_cv_type_off_t=no
36440 fi
36441
36442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36443 fi
36444 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36445 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36446 if test $ac_cv_type_off_t = yes; then
36447 :
36448 else
36449
36450 cat >>confdefs.h <<_ACEOF
36451 #define off_t long int
36452 _ACEOF
36453
36454 fi
36455
36456 { echo "$as_me:$LINENO: checking for pid_t" >&5
36457 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36458 if test "${ac_cv_type_pid_t+set}" = set; then
36459 echo $ECHO_N "(cached) $ECHO_C" >&6
36460 else
36461 cat >conftest.$ac_ext <<_ACEOF
36462 /* confdefs.h. */
36463 _ACEOF
36464 cat confdefs.h >>conftest.$ac_ext
36465 cat >>conftest.$ac_ext <<_ACEOF
36466 /* end confdefs.h. */
36467 $ac_includes_default
36468 typedef pid_t ac__type_new_;
36469 int
36470 main ()
36471 {
36472 if ((ac__type_new_ *) 0)
36473 return 0;
36474 if (sizeof (ac__type_new_))
36475 return 0;
36476 ;
36477 return 0;
36478 }
36479 _ACEOF
36480 rm -f conftest.$ac_objext
36481 if { (ac_try="$ac_compile"
36482 case "(($ac_try" in
36483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36484 *) ac_try_echo=$ac_try;;
36485 esac
36486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36487 (eval "$ac_compile") 2>conftest.er1
36488 ac_status=$?
36489 grep -v '^ *+' conftest.er1 >conftest.err
36490 rm -f conftest.er1
36491 cat conftest.err >&5
36492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36493 (exit $ac_status); } && {
36494 test -z "$ac_c_werror_flag" ||
36495 test ! -s conftest.err
36496 } && test -s conftest.$ac_objext; then
36497 ac_cv_type_pid_t=yes
36498 else
36499 echo "$as_me: failed program was:" >&5
36500 sed 's/^/| /' conftest.$ac_ext >&5
36501
36502 ac_cv_type_pid_t=no
36503 fi
36504
36505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36506 fi
36507 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36508 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36509 if test $ac_cv_type_pid_t = yes; then
36510 :
36511 else
36512
36513 cat >>confdefs.h <<_ACEOF
36514 #define pid_t int
36515 _ACEOF
36516
36517 fi
36518
36519 { echo "$as_me:$LINENO: checking for size_t" >&5
36520 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36521 if test "${ac_cv_type_size_t+set}" = set; then
36522 echo $ECHO_N "(cached) $ECHO_C" >&6
36523 else
36524 cat >conftest.$ac_ext <<_ACEOF
36525 /* confdefs.h. */
36526 _ACEOF
36527 cat confdefs.h >>conftest.$ac_ext
36528 cat >>conftest.$ac_ext <<_ACEOF
36529 /* end confdefs.h. */
36530 $ac_includes_default
36531 typedef size_t ac__type_new_;
36532 int
36533 main ()
36534 {
36535 if ((ac__type_new_ *) 0)
36536 return 0;
36537 if (sizeof (ac__type_new_))
36538 return 0;
36539 ;
36540 return 0;
36541 }
36542 _ACEOF
36543 rm -f conftest.$ac_objext
36544 if { (ac_try="$ac_compile"
36545 case "(($ac_try" in
36546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36547 *) ac_try_echo=$ac_try;;
36548 esac
36549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36550 (eval "$ac_compile") 2>conftest.er1
36551 ac_status=$?
36552 grep -v '^ *+' conftest.er1 >conftest.err
36553 rm -f conftest.er1
36554 cat conftest.err >&5
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); } && {
36557 test -z "$ac_c_werror_flag" ||
36558 test ! -s conftest.err
36559 } && test -s conftest.$ac_objext; then
36560 ac_cv_type_size_t=yes
36561 else
36562 echo "$as_me: failed program was:" >&5
36563 sed 's/^/| /' conftest.$ac_ext >&5
36564
36565 ac_cv_type_size_t=no
36566 fi
36567
36568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36569 fi
36570 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36571 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36572 if test $ac_cv_type_size_t = yes; then
36573 :
36574 else
36575
36576 cat >>confdefs.h <<_ACEOF
36577 #define size_t unsigned int
36578 _ACEOF
36579
36580 fi
36581
36582 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36583 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36584 if test "${ac_cv_type_uid_t+set}" = set; then
36585 echo $ECHO_N "(cached) $ECHO_C" >&6
36586 else
36587 cat >conftest.$ac_ext <<_ACEOF
36588 /* confdefs.h. */
36589 _ACEOF
36590 cat confdefs.h >>conftest.$ac_ext
36591 cat >>conftest.$ac_ext <<_ACEOF
36592 /* end confdefs.h. */
36593 #include <sys/types.h>
36594
36595 _ACEOF
36596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36597 $EGREP "uid_t" >/dev/null 2>&1; then
36598 ac_cv_type_uid_t=yes
36599 else
36600 ac_cv_type_uid_t=no
36601 fi
36602 rm -f conftest*
36603
36604 fi
36605 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36606 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36607 if test $ac_cv_type_uid_t = no; then
36608
36609 cat >>confdefs.h <<\_ACEOF
36610 #define uid_t int
36611 _ACEOF
36612
36613
36614 cat >>confdefs.h <<\_ACEOF
36615 #define gid_t int
36616 _ACEOF
36617
36618 fi
36619
36620
36621 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36622 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36623 if test "${ac_cv_type_ssize_t+set}" = set; then
36624 echo $ECHO_N "(cached) $ECHO_C" >&6
36625 else
36626 cat >conftest.$ac_ext <<_ACEOF
36627 /* confdefs.h. */
36628 _ACEOF
36629 cat confdefs.h >>conftest.$ac_ext
36630 cat >>conftest.$ac_ext <<_ACEOF
36631 /* end confdefs.h. */
36632 $ac_includes_default
36633 typedef ssize_t ac__type_new_;
36634 int
36635 main ()
36636 {
36637 if ((ac__type_new_ *) 0)
36638 return 0;
36639 if (sizeof (ac__type_new_))
36640 return 0;
36641 ;
36642 return 0;
36643 }
36644 _ACEOF
36645 rm -f conftest.$ac_objext
36646 if { (ac_try="$ac_compile"
36647 case "(($ac_try" in
36648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36649 *) ac_try_echo=$ac_try;;
36650 esac
36651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36652 (eval "$ac_compile") 2>conftest.er1
36653 ac_status=$?
36654 grep -v '^ *+' conftest.er1 >conftest.err
36655 rm -f conftest.er1
36656 cat conftest.err >&5
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); } && {
36659 test -z "$ac_c_werror_flag" ||
36660 test ! -s conftest.err
36661 } && test -s conftest.$ac_objext; then
36662 ac_cv_type_ssize_t=yes
36663 else
36664 echo "$as_me: failed program was:" >&5
36665 sed 's/^/| /' conftest.$ac_ext >&5
36666
36667 ac_cv_type_ssize_t=no
36668 fi
36669
36670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36671 fi
36672 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36673 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36674 if test $ac_cv_type_ssize_t = yes; then
36675
36676 cat >>confdefs.h <<_ACEOF
36677 #define HAVE_SSIZE_T 1
36678 _ACEOF
36679
36680
36681 fi
36682
36683
36684 ac_ext=cpp
36685 ac_cpp='$CXXCPP $CPPFLAGS'
36686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36689 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36690 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36691 if test "${wx_cv_size_t_is_uint+set}" = set; then
36692 echo $ECHO_N "(cached) $ECHO_C" >&6
36693 else
36694
36695 cat >conftest.$ac_ext <<_ACEOF
36696 /* confdefs.h. */
36697 _ACEOF
36698 cat confdefs.h >>conftest.$ac_ext
36699 cat >>conftest.$ac_ext <<_ACEOF
36700 /* end confdefs.h. */
36701 #include <stddef.h>
36702 int
36703 main ()
36704 {
36705
36706 return 0; }
36707
36708 struct Foo { void foo(size_t); void foo(unsigned int); };
36709
36710 int bar() {
36711
36712 ;
36713 return 0;
36714 }
36715 _ACEOF
36716 rm -f conftest.$ac_objext
36717 if { (ac_try="$ac_compile"
36718 case "(($ac_try" in
36719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36720 *) ac_try_echo=$ac_try;;
36721 esac
36722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36723 (eval "$ac_compile") 2>conftest.er1
36724 ac_status=$?
36725 grep -v '^ *+' conftest.er1 >conftest.err
36726 rm -f conftest.er1
36727 cat conftest.err >&5
36728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 (exit $ac_status); } && {
36730 test -z "$ac_cxx_werror_flag" ||
36731 test ! -s conftest.err
36732 } && test -s conftest.$ac_objext; then
36733 wx_cv_size_t_is_uint=no
36734 else
36735 echo "$as_me: failed program was:" >&5
36736 sed 's/^/| /' conftest.$ac_ext >&5
36737
36738 wx_cv_size_t_is_uint=yes
36739
36740 fi
36741
36742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36743
36744
36745 fi
36746 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36747 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36748
36749 if test "$wx_cv_size_t_is_uint" = "yes"; then
36750 cat >>confdefs.h <<\_ACEOF
36751 #define wxSIZE_T_IS_UINT 1
36752 _ACEOF
36753
36754 else
36755 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36756 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36757 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36758 echo $ECHO_N "(cached) $ECHO_C" >&6
36759 else
36760 cat >conftest.$ac_ext <<_ACEOF
36761 /* confdefs.h. */
36762 _ACEOF
36763 cat confdefs.h >>conftest.$ac_ext
36764 cat >>conftest.$ac_ext <<_ACEOF
36765 /* end confdefs.h. */
36766 #include <stddef.h>
36767 int
36768 main ()
36769 {
36770
36771 return 0; }
36772
36773 struct Foo { void foo(size_t); void foo(unsigned long); };
36774
36775 int bar() {
36776
36777 ;
36778 return 0;
36779 }
36780 _ACEOF
36781 rm -f conftest.$ac_objext
36782 if { (ac_try="$ac_compile"
36783 case "(($ac_try" in
36784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36785 *) ac_try_echo=$ac_try;;
36786 esac
36787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36788 (eval "$ac_compile") 2>conftest.er1
36789 ac_status=$?
36790 grep -v '^ *+' conftest.er1 >conftest.err
36791 rm -f conftest.er1
36792 cat conftest.err >&5
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); } && {
36795 test -z "$ac_cxx_werror_flag" ||
36796 test ! -s conftest.err
36797 } && test -s conftest.$ac_objext; then
36798 wx_cv_size_t_is_ulong=no
36799 else
36800 echo "$as_me: failed program was:" >&5
36801 sed 's/^/| /' conftest.$ac_ext >&5
36802
36803 wx_cv_size_t_is_ulong=yes
36804
36805 fi
36806
36807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36808
36809 fi
36810 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36811 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36812
36813 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36814 cat >>confdefs.h <<\_ACEOF
36815 #define wxSIZE_T_IS_ULONG 1
36816 _ACEOF
36817
36818 fi
36819 fi
36820
36821 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36822 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36823 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36825 else
36826 cat >conftest.$ac_ext <<_ACEOF
36827 /* confdefs.h. */
36828 _ACEOF
36829 cat confdefs.h >>conftest.$ac_ext
36830 cat >>conftest.$ac_ext <<_ACEOF
36831 /* end confdefs.h. */
36832 #include <wchar.h>
36833 int
36834 main ()
36835 {
36836
36837 return 0; }
36838
36839 struct Foo { void foo(wchar_t);
36840 void foo(unsigned short);
36841 void foo(unsigned int);
36842 void foo(unsigned long); };
36843
36844 int bar() {
36845
36846 ;
36847 return 0;
36848 }
36849 _ACEOF
36850 rm -f conftest.$ac_objext
36851 if { (ac_try="$ac_compile"
36852 case "(($ac_try" in
36853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36854 *) ac_try_echo=$ac_try;;
36855 esac
36856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36857 (eval "$ac_compile") 2>conftest.er1
36858 ac_status=$?
36859 grep -v '^ *+' conftest.er1 >conftest.err
36860 rm -f conftest.er1
36861 cat conftest.err >&5
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); } && {
36864 test -z "$ac_cxx_werror_flag" ||
36865 test ! -s conftest.err
36866 } && test -s conftest.$ac_objext; then
36867 wx_cv_wchar_t_is_separate_type=yes
36868 else
36869 echo "$as_me: failed program was:" >&5
36870 sed 's/^/| /' conftest.$ac_ext >&5
36871
36872 wx_cv_wchar_t_is_separate_type=no
36873
36874 fi
36875
36876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36877
36878 fi
36879 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36880 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36881
36882 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36883 cat >>confdefs.h <<\_ACEOF
36884 #define wxWCHAR_T_IS_REAL_TYPE 1
36885 _ACEOF
36886
36887 else
36888 cat >>confdefs.h <<\_ACEOF
36889 #define wxWCHAR_T_IS_REAL_TYPE 0
36890 _ACEOF
36891
36892 fi
36893
36894 ac_ext=c
36895 ac_cpp='$CPP $CPPFLAGS'
36896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36899
36900
36901 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36902 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36903 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36904 echo $ECHO_N "(cached) $ECHO_C" >&6
36905 else
36906
36907 cat >conftest.$ac_ext <<_ACEOF
36908 /* confdefs.h. */
36909 _ACEOF
36910 cat confdefs.h >>conftest.$ac_ext
36911 cat >>conftest.$ac_ext <<_ACEOF
36912 /* end confdefs.h. */
36913 #include <pwd.h>
36914 int
36915 main ()
36916 {
36917
36918 char *p;
36919 struct passwd *pw;
36920 p = pw->pw_gecos;
36921
36922 ;
36923 return 0;
36924 }
36925 _ACEOF
36926 rm -f conftest.$ac_objext
36927 if { (ac_try="$ac_compile"
36928 case "(($ac_try" in
36929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36930 *) ac_try_echo=$ac_try;;
36931 esac
36932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36933 (eval "$ac_compile") 2>conftest.er1
36934 ac_status=$?
36935 grep -v '^ *+' conftest.er1 >conftest.err
36936 rm -f conftest.er1
36937 cat conftest.err >&5
36938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939 (exit $ac_status); } && {
36940 test -z "$ac_c_werror_flag" ||
36941 test ! -s conftest.err
36942 } && test -s conftest.$ac_objext; then
36943
36944 wx_cv_struct_pw_gecos=yes
36945
36946 else
36947 echo "$as_me: failed program was:" >&5
36948 sed 's/^/| /' conftest.$ac_ext >&5
36949
36950
36951 wx_cv_struct_pw_gecos=no
36952
36953
36954 fi
36955
36956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36957
36958
36959 fi
36960 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36961 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36962
36963 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36964 cat >>confdefs.h <<\_ACEOF
36965 #define HAVE_PW_GECOS 1
36966 _ACEOF
36967
36968 fi
36969
36970
36971 if test "$wxUSE_WCHAR_T" = "yes"; then
36972 cat >>confdefs.h <<\_ACEOF
36973 #define wxUSE_WCHAR_T 1
36974 _ACEOF
36975
36976
36977 WCSLEN_FOUND=0
36978 WCHAR_LINK=
36979
36980 for ac_func in wcslen
36981 do
36982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36983 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36985 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36986 echo $ECHO_N "(cached) $ECHO_C" >&6
36987 else
36988 cat >conftest.$ac_ext <<_ACEOF
36989 /* confdefs.h. */
36990 _ACEOF
36991 cat confdefs.h >>conftest.$ac_ext
36992 cat >>conftest.$ac_ext <<_ACEOF
36993 /* end confdefs.h. */
36994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36996 #define $ac_func innocuous_$ac_func
36997
36998 /* System header to define __stub macros and hopefully few prototypes,
36999 which can conflict with char $ac_func (); below.
37000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37001 <limits.h> exists even on freestanding compilers. */
37002
37003 #ifdef __STDC__
37004 # include <limits.h>
37005 #else
37006 # include <assert.h>
37007 #endif
37008
37009 #undef $ac_func
37010
37011 /* Override any GCC internal prototype to avoid an error.
37012 Use char because int might match the return type of a GCC
37013 builtin and then its argument prototype would still apply. */
37014 #ifdef __cplusplus
37015 extern "C"
37016 #endif
37017 char $ac_func ();
37018 /* The GNU C library defines this for functions which it implements
37019 to always fail with ENOSYS. Some functions are actually named
37020 something starting with __ and the normal name is an alias. */
37021 #if defined __stub_$ac_func || defined __stub___$ac_func
37022 choke me
37023 #endif
37024
37025 int
37026 main ()
37027 {
37028 return $ac_func ();
37029 ;
37030 return 0;
37031 }
37032 _ACEOF
37033 rm -f conftest.$ac_objext conftest$ac_exeext
37034 if { (ac_try="$ac_link"
37035 case "(($ac_try" in
37036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37037 *) ac_try_echo=$ac_try;;
37038 esac
37039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37040 (eval "$ac_link") 2>conftest.er1
37041 ac_status=$?
37042 grep -v '^ *+' conftest.er1 >conftest.err
37043 rm -f conftest.er1
37044 cat conftest.err >&5
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); } && {
37047 test -z "$ac_c_werror_flag" ||
37048 test ! -s conftest.err
37049 } && test -s conftest$ac_exeext &&
37050 $as_test_x conftest$ac_exeext; then
37051 eval "$as_ac_var=yes"
37052 else
37053 echo "$as_me: failed program was:" >&5
37054 sed 's/^/| /' conftest.$ac_ext >&5
37055
37056 eval "$as_ac_var=no"
37057 fi
37058
37059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37060 conftest$ac_exeext conftest.$ac_ext
37061 fi
37062 ac_res=`eval echo '${'$as_ac_var'}'`
37063 { echo "$as_me:$LINENO: result: $ac_res" >&5
37064 echo "${ECHO_T}$ac_res" >&6; }
37065 if test `eval echo '${'$as_ac_var'}'` = yes; then
37066 cat >>confdefs.h <<_ACEOF
37067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37068 _ACEOF
37069 WCSLEN_FOUND=1
37070 fi
37071 done
37072
37073
37074 if test "$WCSLEN_FOUND" = 0; then
37075 if test "$TOOLKIT" = "MSW"; then
37076 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37077 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37078 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37079 echo $ECHO_N "(cached) $ECHO_C" >&6
37080 else
37081 ac_check_lib_save_LIBS=$LIBS
37082 LIBS="-lmsvcrt $LIBS"
37083 cat >conftest.$ac_ext <<_ACEOF
37084 /* confdefs.h. */
37085 _ACEOF
37086 cat confdefs.h >>conftest.$ac_ext
37087 cat >>conftest.$ac_ext <<_ACEOF
37088 /* end confdefs.h. */
37089
37090 /* Override any GCC internal prototype to avoid an error.
37091 Use char because int might match the return type of a GCC
37092 builtin and then its argument prototype would still apply. */
37093 #ifdef __cplusplus
37094 extern "C"
37095 #endif
37096 char wcslen ();
37097 int
37098 main ()
37099 {
37100 return wcslen ();
37101 ;
37102 return 0;
37103 }
37104 _ACEOF
37105 rm -f conftest.$ac_objext conftest$ac_exeext
37106 if { (ac_try="$ac_link"
37107 case "(($ac_try" in
37108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37109 *) ac_try_echo=$ac_try;;
37110 esac
37111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37112 (eval "$ac_link") 2>conftest.er1
37113 ac_status=$?
37114 grep -v '^ *+' conftest.er1 >conftest.err
37115 rm -f conftest.er1
37116 cat conftest.err >&5
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); } && {
37119 test -z "$ac_c_werror_flag" ||
37120 test ! -s conftest.err
37121 } && test -s conftest$ac_exeext &&
37122 $as_test_x conftest$ac_exeext; then
37123 ac_cv_lib_msvcrt_wcslen=yes
37124 else
37125 echo "$as_me: failed program was:" >&5
37126 sed 's/^/| /' conftest.$ac_ext >&5
37127
37128 ac_cv_lib_msvcrt_wcslen=no
37129 fi
37130
37131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37132 conftest$ac_exeext conftest.$ac_ext
37133 LIBS=$ac_check_lib_save_LIBS
37134 fi
37135 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37136 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37137 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37138 WCHAR_OK=1
37139 fi
37140
37141 else
37142 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37143 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37144 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37145 echo $ECHO_N "(cached) $ECHO_C" >&6
37146 else
37147 ac_check_lib_save_LIBS=$LIBS
37148 LIBS="-lw $LIBS"
37149 cat >conftest.$ac_ext <<_ACEOF
37150 /* confdefs.h. */
37151 _ACEOF
37152 cat confdefs.h >>conftest.$ac_ext
37153 cat >>conftest.$ac_ext <<_ACEOF
37154 /* end confdefs.h. */
37155
37156 /* Override any GCC internal prototype to avoid an error.
37157 Use char because int might match the return type of a GCC
37158 builtin and then its argument prototype would still apply. */
37159 #ifdef __cplusplus
37160 extern "C"
37161 #endif
37162 char wcslen ();
37163 int
37164 main ()
37165 {
37166 return wcslen ();
37167 ;
37168 return 0;
37169 }
37170 _ACEOF
37171 rm -f conftest.$ac_objext conftest$ac_exeext
37172 if { (ac_try="$ac_link"
37173 case "(($ac_try" in
37174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37175 *) ac_try_echo=$ac_try;;
37176 esac
37177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37178 (eval "$ac_link") 2>conftest.er1
37179 ac_status=$?
37180 grep -v '^ *+' conftest.er1 >conftest.err
37181 rm -f conftest.er1
37182 cat conftest.err >&5
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); } && {
37185 test -z "$ac_c_werror_flag" ||
37186 test ! -s conftest.err
37187 } && test -s conftest$ac_exeext &&
37188 $as_test_x conftest$ac_exeext; then
37189 ac_cv_lib_w_wcslen=yes
37190 else
37191 echo "$as_me: failed program was:" >&5
37192 sed 's/^/| /' conftest.$ac_ext >&5
37193
37194 ac_cv_lib_w_wcslen=no
37195 fi
37196
37197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37198 conftest$ac_exeext conftest.$ac_ext
37199 LIBS=$ac_check_lib_save_LIBS
37200 fi
37201 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37202 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37203 if test $ac_cv_lib_w_wcslen = yes; then
37204
37205 WCHAR_LINK=" -lw"
37206 WCSLEN_FOUND=1
37207
37208 fi
37209
37210 fi
37211 fi
37212
37213 if test "$WCSLEN_FOUND" = 1; then
37214 cat >>confdefs.h <<\_ACEOF
37215 #define HAVE_WCSLEN 1
37216 _ACEOF
37217
37218 fi
37219
37220
37221 for ac_func in wcsdup
37222 do
37223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37224 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37226 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37228 else
37229 cat >conftest.$ac_ext <<_ACEOF
37230 /* confdefs.h. */
37231 _ACEOF
37232 cat confdefs.h >>conftest.$ac_ext
37233 cat >>conftest.$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37237 #define $ac_func innocuous_$ac_func
37238
37239 /* System header to define __stub macros and hopefully few prototypes,
37240 which can conflict with char $ac_func (); below.
37241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37242 <limits.h> exists even on freestanding compilers. */
37243
37244 #ifdef __STDC__
37245 # include <limits.h>
37246 #else
37247 # include <assert.h>
37248 #endif
37249
37250 #undef $ac_func
37251
37252 /* Override any GCC internal prototype to avoid an error.
37253 Use char because int might match the return type of a GCC
37254 builtin and then its argument prototype would still apply. */
37255 #ifdef __cplusplus
37256 extern "C"
37257 #endif
37258 char $ac_func ();
37259 /* The GNU C library defines this for functions which it implements
37260 to always fail with ENOSYS. Some functions are actually named
37261 something starting with __ and the normal name is an alias. */
37262 #if defined __stub_$ac_func || defined __stub___$ac_func
37263 choke me
37264 #endif
37265
37266 int
37267 main ()
37268 {
37269 return $ac_func ();
37270 ;
37271 return 0;
37272 }
37273 _ACEOF
37274 rm -f conftest.$ac_objext conftest$ac_exeext
37275 if { (ac_try="$ac_link"
37276 case "(($ac_try" in
37277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37278 *) ac_try_echo=$ac_try;;
37279 esac
37280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37281 (eval "$ac_link") 2>conftest.er1
37282 ac_status=$?
37283 grep -v '^ *+' conftest.er1 >conftest.err
37284 rm -f conftest.er1
37285 cat conftest.err >&5
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); } && {
37288 test -z "$ac_c_werror_flag" ||
37289 test ! -s conftest.err
37290 } && test -s conftest$ac_exeext &&
37291 $as_test_x conftest$ac_exeext; then
37292 eval "$as_ac_var=yes"
37293 else
37294 echo "$as_me: failed program was:" >&5
37295 sed 's/^/| /' conftest.$ac_ext >&5
37296
37297 eval "$as_ac_var=no"
37298 fi
37299
37300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37301 conftest$ac_exeext conftest.$ac_ext
37302 fi
37303 ac_res=`eval echo '${'$as_ac_var'}'`
37304 { echo "$as_me:$LINENO: result: $ac_res" >&5
37305 echo "${ECHO_T}$ac_res" >&6; }
37306 if test `eval echo '${'$as_ac_var'}'` = yes; then
37307 cat >>confdefs.h <<_ACEOF
37308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37309 _ACEOF
37310
37311 fi
37312 done
37313
37314
37315 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37316 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37317 fi
37318
37319 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37320 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37321 if test "${ac_cv_type_mbstate_t+set}" = set; then
37322 echo $ECHO_N "(cached) $ECHO_C" >&6
37323 else
37324 cat >conftest.$ac_ext <<_ACEOF
37325 /* confdefs.h. */
37326 _ACEOF
37327 cat confdefs.h >>conftest.$ac_ext
37328 cat >>conftest.$ac_ext <<_ACEOF
37329 /* end confdefs.h. */
37330 #include <wchar.h>
37331
37332 typedef mbstate_t ac__type_new_;
37333 int
37334 main ()
37335 {
37336 if ((ac__type_new_ *) 0)
37337 return 0;
37338 if (sizeof (ac__type_new_))
37339 return 0;
37340 ;
37341 return 0;
37342 }
37343 _ACEOF
37344 rm -f conftest.$ac_objext
37345 if { (ac_try="$ac_compile"
37346 case "(($ac_try" in
37347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37348 *) ac_try_echo=$ac_try;;
37349 esac
37350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37351 (eval "$ac_compile") 2>conftest.er1
37352 ac_status=$?
37353 grep -v '^ *+' conftest.er1 >conftest.err
37354 rm -f conftest.er1
37355 cat conftest.err >&5
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); } && {
37358 test -z "$ac_c_werror_flag" ||
37359 test ! -s conftest.err
37360 } && test -s conftest.$ac_objext; then
37361 ac_cv_type_mbstate_t=yes
37362 else
37363 echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37365
37366 ac_cv_type_mbstate_t=no
37367 fi
37368
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37370 fi
37371 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37372 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37373 if test $ac_cv_type_mbstate_t = yes; then
37374
37375 cat >>confdefs.h <<_ACEOF
37376 #define HAVE_MBSTATE_T 1
37377 _ACEOF
37378
37379
37380 for ac_func in wcsrtombs
37381 do
37382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37383 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37385 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37386 echo $ECHO_N "(cached) $ECHO_C" >&6
37387 else
37388 cat >conftest.$ac_ext <<_ACEOF
37389 /* confdefs.h. */
37390 _ACEOF
37391 cat confdefs.h >>conftest.$ac_ext
37392 cat >>conftest.$ac_ext <<_ACEOF
37393 /* end confdefs.h. */
37394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37396 #define $ac_func innocuous_$ac_func
37397
37398 /* System header to define __stub macros and hopefully few prototypes,
37399 which can conflict with char $ac_func (); below.
37400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37401 <limits.h> exists even on freestanding compilers. */
37402
37403 #ifdef __STDC__
37404 # include <limits.h>
37405 #else
37406 # include <assert.h>
37407 #endif
37408
37409 #undef $ac_func
37410
37411 /* Override any GCC internal prototype to avoid an error.
37412 Use char because int might match the return type of a GCC
37413 builtin and then its argument prototype would still apply. */
37414 #ifdef __cplusplus
37415 extern "C"
37416 #endif
37417 char $ac_func ();
37418 /* The GNU C library defines this for functions which it implements
37419 to always fail with ENOSYS. Some functions are actually named
37420 something starting with __ and the normal name is an alias. */
37421 #if defined __stub_$ac_func || defined __stub___$ac_func
37422 choke me
37423 #endif
37424
37425 int
37426 main ()
37427 {
37428 return $ac_func ();
37429 ;
37430 return 0;
37431 }
37432 _ACEOF
37433 rm -f conftest.$ac_objext conftest$ac_exeext
37434 if { (ac_try="$ac_link"
37435 case "(($ac_try" in
37436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37437 *) ac_try_echo=$ac_try;;
37438 esac
37439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37440 (eval "$ac_link") 2>conftest.er1
37441 ac_status=$?
37442 grep -v '^ *+' conftest.er1 >conftest.err
37443 rm -f conftest.er1
37444 cat conftest.err >&5
37445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37446 (exit $ac_status); } && {
37447 test -z "$ac_c_werror_flag" ||
37448 test ! -s conftest.err
37449 } && test -s conftest$ac_exeext &&
37450 $as_test_x conftest$ac_exeext; then
37451 eval "$as_ac_var=yes"
37452 else
37453 echo "$as_me: failed program was:" >&5
37454 sed 's/^/| /' conftest.$ac_ext >&5
37455
37456 eval "$as_ac_var=no"
37457 fi
37458
37459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37460 conftest$ac_exeext conftest.$ac_ext
37461 fi
37462 ac_res=`eval echo '${'$as_ac_var'}'`
37463 { echo "$as_me:$LINENO: result: $ac_res" >&5
37464 echo "${ECHO_T}$ac_res" >&6; }
37465 if test `eval echo '${'$as_ac_var'}'` = yes; then
37466 cat >>confdefs.h <<_ACEOF
37467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37468 _ACEOF
37469
37470 fi
37471 done
37472
37473 fi
37474
37475 else
37476 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37477 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37478 fi
37479
37480
37481
37482 for ac_func in snprintf vsnprintf
37483 do
37484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37485 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37487 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37488 echo $ECHO_N "(cached) $ECHO_C" >&6
37489 else
37490 cat >conftest.$ac_ext <<_ACEOF
37491 /* confdefs.h. */
37492 _ACEOF
37493 cat confdefs.h >>conftest.$ac_ext
37494 cat >>conftest.$ac_ext <<_ACEOF
37495 /* end confdefs.h. */
37496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37498 #define $ac_func innocuous_$ac_func
37499
37500 /* System header to define __stub macros and hopefully few prototypes,
37501 which can conflict with char $ac_func (); below.
37502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37503 <limits.h> exists even on freestanding compilers. */
37504
37505 #ifdef __STDC__
37506 # include <limits.h>
37507 #else
37508 # include <assert.h>
37509 #endif
37510
37511 #undef $ac_func
37512
37513 /* Override any GCC internal prototype to avoid an error.
37514 Use char because int might match the return type of a GCC
37515 builtin and then its argument prototype would still apply. */
37516 #ifdef __cplusplus
37517 extern "C"
37518 #endif
37519 char $ac_func ();
37520 /* The GNU C library defines this for functions which it implements
37521 to always fail with ENOSYS. Some functions are actually named
37522 something starting with __ and the normal name is an alias. */
37523 #if defined __stub_$ac_func || defined __stub___$ac_func
37524 choke me
37525 #endif
37526
37527 int
37528 main ()
37529 {
37530 return $ac_func ();
37531 ;
37532 return 0;
37533 }
37534 _ACEOF
37535 rm -f conftest.$ac_objext conftest$ac_exeext
37536 if { (ac_try="$ac_link"
37537 case "(($ac_try" in
37538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37539 *) ac_try_echo=$ac_try;;
37540 esac
37541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37542 (eval "$ac_link") 2>conftest.er1
37543 ac_status=$?
37544 grep -v '^ *+' conftest.er1 >conftest.err
37545 rm -f conftest.er1
37546 cat conftest.err >&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } && {
37549 test -z "$ac_c_werror_flag" ||
37550 test ! -s conftest.err
37551 } && test -s conftest$ac_exeext &&
37552 $as_test_x conftest$ac_exeext; then
37553 eval "$as_ac_var=yes"
37554 else
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37557
37558 eval "$as_ac_var=no"
37559 fi
37560
37561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37562 conftest$ac_exeext conftest.$ac_ext
37563 fi
37564 ac_res=`eval echo '${'$as_ac_var'}'`
37565 { echo "$as_me:$LINENO: result: $ac_res" >&5
37566 echo "${ECHO_T}$ac_res" >&6; }
37567 if test `eval echo '${'$as_ac_var'}'` = yes; then
37568 cat >>confdefs.h <<_ACEOF
37569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37570 _ACEOF
37571
37572 fi
37573 done
37574
37575
37576 if test "$ac_cv_func_vsnprintf" = "yes"; then
37577 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37578 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37579 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37580 echo $ECHO_N "(cached) $ECHO_C" >&6
37581 else
37582
37583 cat >conftest.$ac_ext <<_ACEOF
37584 /* confdefs.h. */
37585 _ACEOF
37586 cat confdefs.h >>conftest.$ac_ext
37587 cat >>conftest.$ac_ext <<_ACEOF
37588 /* end confdefs.h. */
37589
37590 #include <stdio.h>
37591 #include <stdarg.h>
37592 #ifdef __MSL__
37593 #if __MSL__ >= 0x6000
37594 namespace std {}
37595 using namespace std;
37596 #endif
37597 #endif
37598
37599 int
37600 main ()
37601 {
37602
37603 char *buf;
37604 va_list ap;
37605 vsnprintf(buf, 10u, "%s", ap);
37606
37607 ;
37608 return 0;
37609 }
37610 _ACEOF
37611 rm -f conftest.$ac_objext
37612 if { (ac_try="$ac_compile"
37613 case "(($ac_try" in
37614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37615 *) ac_try_echo=$ac_try;;
37616 esac
37617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37618 (eval "$ac_compile") 2>conftest.er1
37619 ac_status=$?
37620 grep -v '^ *+' conftest.er1 >conftest.err
37621 rm -f conftest.er1
37622 cat conftest.err >&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } && {
37625 test -z "$ac_c_werror_flag" ||
37626 test ! -s conftest.err
37627 } && test -s conftest.$ac_objext; then
37628 wx_cv_func_vsnprintf_decl=yes
37629 else
37630 echo "$as_me: failed program was:" >&5
37631 sed 's/^/| /' conftest.$ac_ext >&5
37632
37633 wx_cv_func_vsnprintf_decl=no
37634
37635 fi
37636
37637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37638
37639
37640 fi
37641 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37642 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37643
37644 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37645 cat >>confdefs.h <<\_ACEOF
37646 #define HAVE_VSNPRINTF_DECL 1
37647 _ACEOF
37648
37649
37650 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37651 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37652 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37653 echo $ECHO_N "(cached) $ECHO_C" >&6
37654 else
37655
37656 cat >conftest.$ac_ext <<_ACEOF
37657 /* confdefs.h. */
37658 _ACEOF
37659 cat confdefs.h >>conftest.$ac_ext
37660 cat >>conftest.$ac_ext <<_ACEOF
37661 /* end confdefs.h. */
37662
37663 #include <stdio.h>
37664 #include <stdarg.h>
37665 #ifdef __MSL__
37666 #if __MSL__ >= 0x6000
37667 namespace std {}
37668 using namespace std;
37669 #endif
37670 #endif
37671
37672 int
37673 main ()
37674 {
37675
37676 char *buf;
37677 va_list ap;
37678 const char *fmt = "%s";
37679 vsnprintf(buf, 10u, fmt, ap);
37680
37681 ;
37682 return 0;
37683 }
37684 _ACEOF
37685 rm -f conftest.$ac_objext
37686 if { (ac_try="$ac_compile"
37687 case "(($ac_try" in
37688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37689 *) ac_try_echo=$ac_try;;
37690 esac
37691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37692 (eval "$ac_compile") 2>conftest.er1
37693 ac_status=$?
37694 grep -v '^ *+' conftest.er1 >conftest.err
37695 rm -f conftest.er1
37696 cat conftest.err >&5
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); } && {
37699 test -z "$ac_c_werror_flag" ||
37700 test ! -s conftest.err
37701 } && test -s conftest.$ac_objext; then
37702 wx_cv_func_broken_vsnprintf_decl=no
37703 else
37704 echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37706
37707 wx_cv_func_broken_vsnprintf_decl=yes
37708
37709 fi
37710
37711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37712
37713
37714 fi
37715 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37716 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37717
37718 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37719 cat >>confdefs.h <<\_ACEOF
37720 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37721 _ACEOF
37722
37723 fi
37724 fi
37725 fi
37726
37727 if test "$ac_cv_func_snprintf" = "yes"; then
37728 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37729 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37730 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37731 echo $ECHO_N "(cached) $ECHO_C" >&6
37732 else
37733
37734 cat >conftest.$ac_ext <<_ACEOF
37735 /* confdefs.h. */
37736 _ACEOF
37737 cat confdefs.h >>conftest.$ac_ext
37738 cat >>conftest.$ac_ext <<_ACEOF
37739 /* end confdefs.h. */
37740
37741 #include <stdio.h>
37742 #include <stdarg.h>
37743 #ifdef __MSL__
37744 #if __MSL__ >= 0x6000
37745 namespace std {}
37746 using namespace std;
37747 #endif
37748 #endif
37749
37750 int
37751 main ()
37752 {
37753
37754 char *buf;
37755 snprintf(buf, 10u, "%s", "wx");
37756
37757 ;
37758 return 0;
37759 }
37760 _ACEOF
37761 rm -f conftest.$ac_objext
37762 if { (ac_try="$ac_compile"
37763 case "(($ac_try" in
37764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37765 *) ac_try_echo=$ac_try;;
37766 esac
37767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37768 (eval "$ac_compile") 2>conftest.er1
37769 ac_status=$?
37770 grep -v '^ *+' conftest.er1 >conftest.err
37771 rm -f conftest.er1
37772 cat conftest.err >&5
37773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774 (exit $ac_status); } && {
37775 test -z "$ac_c_werror_flag" ||
37776 test ! -s conftest.err
37777 } && test -s conftest.$ac_objext; then
37778 wx_cv_func_snprintf_decl=yes
37779 else
37780 echo "$as_me: failed program was:" >&5
37781 sed 's/^/| /' conftest.$ac_ext >&5
37782
37783 wx_cv_func_snprintf_decl=no
37784
37785 fi
37786
37787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37788
37789
37790 fi
37791 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37792 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37793
37794 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37795 cat >>confdefs.h <<\_ACEOF
37796 #define HAVE_SNPRINTF_DECL 1
37797 _ACEOF
37798
37799
37800 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37801 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37802 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37803 echo $ECHO_N "(cached) $ECHO_C" >&6
37804 else
37805
37806 cat >conftest.$ac_ext <<_ACEOF
37807 /* confdefs.h. */
37808 _ACEOF
37809 cat confdefs.h >>conftest.$ac_ext
37810 cat >>conftest.$ac_ext <<_ACEOF
37811 /* end confdefs.h. */
37812
37813 #include <stdio.h>
37814 #include <stdarg.h>
37815 #ifdef __MSL__
37816 #if __MSL__ >= 0x6000
37817 namespace std {}
37818 using namespace std;
37819 #endif
37820 #endif
37821
37822 int
37823 main ()
37824 {
37825
37826 char *buf;
37827 const char *fmt = "%s";
37828 snprintf(buf, 10u, fmt, "wx");
37829
37830 ;
37831 return 0;
37832 }
37833 _ACEOF
37834 rm -f conftest.$ac_objext
37835 if { (ac_try="$ac_compile"
37836 case "(($ac_try" in
37837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37838 *) ac_try_echo=$ac_try;;
37839 esac
37840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37841 (eval "$ac_compile") 2>conftest.er1
37842 ac_status=$?
37843 grep -v '^ *+' conftest.er1 >conftest.err
37844 rm -f conftest.er1
37845 cat conftest.err >&5
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); } && {
37848 test -z "$ac_c_werror_flag" ||
37849 test ! -s conftest.err
37850 } && test -s conftest.$ac_objext; then
37851 wx_cv_func_broken_snprintf_decl=no
37852 else
37853 echo "$as_me: failed program was:" >&5
37854 sed 's/^/| /' conftest.$ac_ext >&5
37855
37856 wx_cv_func_broken_snprintf_decl=yes
37857
37858 fi
37859
37860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37861
37862
37863 fi
37864 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37865 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37866
37867 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37868 cat >>confdefs.h <<\_ACEOF
37869 #define HAVE_BROKEN_SNPRINTF_DECL 1
37870 _ACEOF
37871
37872 fi
37873 fi
37874
37875 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37876
37877 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37878 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37879 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37880 echo $ECHO_N "(cached) $ECHO_C" >&6
37881 else
37882
37883 if test "$cross_compiling" = yes; then
37884
37885 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37886 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37887 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37888 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37889 wx_cv_func_snprintf_pos_params=no
37890
37891
37892 else
37893 cat >conftest.$ac_ext <<_ACEOF
37894 /* confdefs.h. */
37895 _ACEOF
37896 cat confdefs.h >>conftest.$ac_ext
37897 cat >>conftest.$ac_ext <<_ACEOF
37898 /* end confdefs.h. */
37899
37900 #include <stdio.h>
37901
37902 int main (void)
37903 {
37904 char buffer[128];
37905 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37906 if (strcmp ("2 3 1", buffer) == 0)
37907 exit (0);
37908 exit (1);
37909 }
37910
37911 _ACEOF
37912 rm -f conftest$ac_exeext
37913 if { (ac_try="$ac_link"
37914 case "(($ac_try" in
37915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37916 *) ac_try_echo=$ac_try;;
37917 esac
37918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37919 (eval "$ac_link") 2>&5
37920 ac_status=$?
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37923 { (case "(($ac_try" in
37924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37925 *) ac_try_echo=$ac_try;;
37926 esac
37927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37928 (eval "$ac_try") 2>&5
37929 ac_status=$?
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); }; }; then
37932 wx_cv_func_snprintf_pos_params=no
37933 else
37934 echo "$as_me: program exited with status $ac_status" >&5
37935 echo "$as_me: failed program was:" >&5
37936 sed 's/^/| /' conftest.$ac_ext >&5
37937
37938 ( exit $ac_status )
37939 wx_cv_func_snprintf_pos_params=yes
37940 fi
37941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37942 fi
37943
37944
37945
37946
37947 fi
37948 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37949 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37950
37951 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37952 cat >>confdefs.h <<\_ACEOF
37953 #define HAVE_UNIX98_PRINTF 1
37954 _ACEOF
37955
37956 fi
37957 fi
37958 fi
37959
37960 if test "$wxUSE_UNICODE" = yes; then
37961
37962
37963 for ac_func in swprintf
37964 do
37965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37969 echo $ECHO_N "(cached) $ECHO_C" >&6
37970 else
37971 cat >conftest.$ac_ext <<_ACEOF
37972 /* confdefs.h. */
37973 _ACEOF
37974 cat confdefs.h >>conftest.$ac_ext
37975 cat >>conftest.$ac_ext <<_ACEOF
37976 /* end confdefs.h. */
37977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37979 #define $ac_func innocuous_$ac_func
37980
37981 /* System header to define __stub macros and hopefully few prototypes,
37982 which can conflict with char $ac_func (); below.
37983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37984 <limits.h> exists even on freestanding compilers. */
37985
37986 #ifdef __STDC__
37987 # include <limits.h>
37988 #else
37989 # include <assert.h>
37990 #endif
37991
37992 #undef $ac_func
37993
37994 /* Override any GCC internal prototype to avoid an error.
37995 Use char because int might match the return type of a GCC
37996 builtin and then its argument prototype would still apply. */
37997 #ifdef __cplusplus
37998 extern "C"
37999 #endif
38000 char $ac_func ();
38001 /* The GNU C library defines this for functions which it implements
38002 to always fail with ENOSYS. Some functions are actually named
38003 something starting with __ and the normal name is an alias. */
38004 #if defined __stub_$ac_func || defined __stub___$ac_func
38005 choke me
38006 #endif
38007
38008 int
38009 main ()
38010 {
38011 return $ac_func ();
38012 ;
38013 return 0;
38014 }
38015 _ACEOF
38016 rm -f conftest.$ac_objext conftest$ac_exeext
38017 if { (ac_try="$ac_link"
38018 case "(($ac_try" in
38019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38020 *) ac_try_echo=$ac_try;;
38021 esac
38022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38023 (eval "$ac_link") 2>conftest.er1
38024 ac_status=$?
38025 grep -v '^ *+' conftest.er1 >conftest.err
38026 rm -f conftest.er1
38027 cat conftest.err >&5
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); } && {
38030 test -z "$ac_c_werror_flag" ||
38031 test ! -s conftest.err
38032 } && test -s conftest$ac_exeext &&
38033 $as_test_x conftest$ac_exeext; then
38034 eval "$as_ac_var=yes"
38035 else
38036 echo "$as_me: failed program was:" >&5
38037 sed 's/^/| /' conftest.$ac_ext >&5
38038
38039 eval "$as_ac_var=no"
38040 fi
38041
38042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38043 conftest$ac_exeext conftest.$ac_ext
38044 fi
38045 ac_res=`eval echo '${'$as_ac_var'}'`
38046 { echo "$as_me:$LINENO: result: $ac_res" >&5
38047 echo "${ECHO_T}$ac_res" >&6; }
38048 if test `eval echo '${'$as_ac_var'}'` = yes; then
38049 cat >>confdefs.h <<_ACEOF
38050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38051 _ACEOF
38052
38053 fi
38054 done
38055
38056
38057 if test "$ac_cv_func_swprintf" = "yes"; then
38058 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38059 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38060 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38061 echo $ECHO_N "(cached) $ECHO_C" >&6
38062 else
38063
38064 cat >conftest.$ac_ext <<_ACEOF
38065 /* confdefs.h. */
38066 _ACEOF
38067 cat confdefs.h >>conftest.$ac_ext
38068 cat >>conftest.$ac_ext <<_ACEOF
38069 /* end confdefs.h. */
38070
38071 #include <stdio.h>
38072 #include <stdarg.h>
38073 #include <wchar.h>
38074
38075 int
38076 main ()
38077 {
38078
38079 wchar_t *buf;
38080 const wchar_t *fmt = L"test";
38081 swprintf(buf, 10u, fmt);
38082
38083 ;
38084 return 0;
38085 }
38086 _ACEOF
38087 rm -f conftest.$ac_objext
38088 if { (ac_try="$ac_compile"
38089 case "(($ac_try" in
38090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38091 *) ac_try_echo=$ac_try;;
38092 esac
38093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38094 (eval "$ac_compile") 2>conftest.er1
38095 ac_status=$?
38096 grep -v '^ *+' conftest.er1 >conftest.err
38097 rm -f conftest.er1
38098 cat conftest.err >&5
38099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100 (exit $ac_status); } && {
38101 test -z "$ac_c_werror_flag" ||
38102 test ! -s conftest.err
38103 } && test -s conftest.$ac_objext; then
38104 wx_cv_func_broken_swprintf_decl=no
38105 else
38106 echo "$as_me: failed program was:" >&5
38107 sed 's/^/| /' conftest.$ac_ext >&5
38108
38109 wx_cv_func_broken_swprintf_decl=yes
38110
38111 fi
38112
38113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38114
38115
38116 fi
38117 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38118 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38119
38120 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38121 cat >>confdefs.h <<\_ACEOF
38122 #define HAVE_BROKEN_SWPRINTF_DECL 1
38123 _ACEOF
38124
38125 fi
38126 fi
38127
38128 wchar_headers="#include <stdio.h>
38129 #include <wchar.h>"
38130 case "${host}" in
38131 *-*-solaris2* )
38132 { echo "$as_me:$LINENO: checking for widec.h" >&5
38133 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38134 if test "${ac_cv_header_widec_h+set}" = set; then
38135 echo $ECHO_N "(cached) $ECHO_C" >&6
38136 else
38137 cat >conftest.$ac_ext <<_ACEOF
38138 /* confdefs.h. */
38139 _ACEOF
38140 cat confdefs.h >>conftest.$ac_ext
38141 cat >>conftest.$ac_ext <<_ACEOF
38142 /* end confdefs.h. */
38143 $ac_includes_default
38144
38145 #include <widec.h>
38146 _ACEOF
38147 rm -f conftest.$ac_objext
38148 if { (ac_try="$ac_compile"
38149 case "(($ac_try" in
38150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38151 *) ac_try_echo=$ac_try;;
38152 esac
38153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38154 (eval "$ac_compile") 2>conftest.er1
38155 ac_status=$?
38156 grep -v '^ *+' conftest.er1 >conftest.err
38157 rm -f conftest.er1
38158 cat conftest.err >&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); } && {
38161 test -z "$ac_c_werror_flag" ||
38162 test ! -s conftest.err
38163 } && test -s conftest.$ac_objext; then
38164 ac_cv_header_widec_h=yes
38165 else
38166 echo "$as_me: failed program was:" >&5
38167 sed 's/^/| /' conftest.$ac_ext >&5
38168
38169 ac_cv_header_widec_h=no
38170 fi
38171
38172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38173 fi
38174 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38175 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38176
38177
38178 if test "$ac_cv_header_widec_h" = "yes"; then
38179 wchar_headers="$wchar_headers
38180 #include <widec.h>"
38181 fi
38182 esac
38183
38184
38185 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38186 do
38187 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38188 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38189 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38190 echo $ECHO_N "(cached) $ECHO_C" >&6
38191 else
38192
38193 cat >conftest.$ac_ext <<_ACEOF
38194
38195 /* confdefs.h. */
38196 _ACEOF
38197 cat confdefs.h >>conftest.$ac_ext
38198 cat >>conftest.$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38200
38201 $wchar_headers
38202 $ac_includes_default
38203
38204 int
38205 main ()
38206 {
38207
38208 #ifndef $wx_func
38209 &$wx_func;
38210 #endif
38211
38212
38213 ;
38214 return 0;
38215 }
38216
38217 _ACEOF
38218 rm -f conftest.$ac_objext conftest$ac_exeext
38219 if { (ac_try="$ac_link"
38220 case "(($ac_try" in
38221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38222 *) ac_try_echo=$ac_try;;
38223 esac
38224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38225 (eval "$ac_link") 2>conftest.er1
38226 ac_status=$?
38227 grep -v '^ *+' conftest.er1 >conftest.err
38228 rm -f conftest.er1
38229 cat conftest.err >&5
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); } && {
38232 test -z "$ac_c_werror_flag" ||
38233 test ! -s conftest.err
38234 } && test -s conftest$ac_exeext &&
38235 $as_test_x conftest$ac_exeext; then
38236 eval wx_cv_func_$wx_func=yes
38237 else
38238 echo "$as_me: failed program was:" >&5
38239 sed 's/^/| /' conftest.$ac_ext >&5
38240
38241 eval wx_cv_func_$wx_func=no
38242 fi
38243
38244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38245 conftest$ac_exeext conftest.$ac_ext
38246
38247 fi
38248 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38249 { echo "$as_me:$LINENO: result: $ac_res" >&5
38250 echo "${ECHO_T}$ac_res" >&6; }
38251
38252 if eval test \$wx_cv_func_$wx_func = yes
38253 then
38254 cat >>confdefs.h <<_ACEOF
38255 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38256 _ACEOF
38257
38258
38259 else
38260 :
38261
38262 fi
38263 done
38264
38265
38266 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38267 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38268 cat >conftest.$ac_ext <<_ACEOF
38269 /* confdefs.h. */
38270 _ACEOF
38271 cat confdefs.h >>conftest.$ac_ext
38272 cat >>conftest.$ac_ext <<_ACEOF
38273 /* end confdefs.h. */
38274 #include <wchar.h>
38275 int
38276 main ()
38277 {
38278 &_vsnwprintf;
38279 ;
38280 return 0;
38281 }
38282 _ACEOF
38283 rm -f conftest.$ac_objext
38284 if { (ac_try="$ac_compile"
38285 case "(($ac_try" in
38286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38287 *) ac_try_echo=$ac_try;;
38288 esac
38289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38290 (eval "$ac_compile") 2>conftest.er1
38291 ac_status=$?
38292 grep -v '^ *+' conftest.er1 >conftest.err
38293 rm -f conftest.er1
38294 cat conftest.err >&5
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); } && {
38297 test -z "$ac_c_werror_flag" ||
38298 test ! -s conftest.err
38299 } && test -s conftest.$ac_objext; then
38300 { echo "$as_me:$LINENO: result: yes" >&5
38301 echo "${ECHO_T}yes" >&6; }
38302 cat >>confdefs.h <<\_ACEOF
38303 #define HAVE__VSNWPRINTF 1
38304 _ACEOF
38305
38306 else
38307 echo "$as_me: failed program was:" >&5
38308 sed 's/^/| /' conftest.$ac_ext >&5
38309
38310 { echo "$as_me:$LINENO: result: no" >&5
38311 echo "${ECHO_T}no" >&6; }
38312 fi
38313
38314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38315 fi
38316
38317 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38318
38319 for wx_func in fnmatch
38320 do
38321 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38322 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38323 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38324 echo $ECHO_N "(cached) $ECHO_C" >&6
38325 else
38326
38327 cat >conftest.$ac_ext <<_ACEOF
38328
38329 /* confdefs.h. */
38330 _ACEOF
38331 cat confdefs.h >>conftest.$ac_ext
38332 cat >>conftest.$ac_ext <<_ACEOF
38333 /* end confdefs.h. */
38334
38335 #include <fnmatch.h>
38336 $ac_includes_default
38337
38338 int
38339 main ()
38340 {
38341
38342 #ifndef $wx_func
38343 &$wx_func;
38344 #endif
38345
38346
38347 ;
38348 return 0;
38349 }
38350
38351 _ACEOF
38352 rm -f conftest.$ac_objext conftest$ac_exeext
38353 if { (ac_try="$ac_link"
38354 case "(($ac_try" in
38355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38356 *) ac_try_echo=$ac_try;;
38357 esac
38358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38359 (eval "$ac_link") 2>conftest.er1
38360 ac_status=$?
38361 grep -v '^ *+' conftest.er1 >conftest.err
38362 rm -f conftest.er1
38363 cat conftest.err >&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); } && {
38366 test -z "$ac_c_werror_flag" ||
38367 test ! -s conftest.err
38368 } && test -s conftest$ac_exeext &&
38369 $as_test_x conftest$ac_exeext; then
38370 eval wx_cv_func_$wx_func=yes
38371 else
38372 echo "$as_me: failed program was:" >&5
38373 sed 's/^/| /' conftest.$ac_ext >&5
38374
38375 eval wx_cv_func_$wx_func=no
38376 fi
38377
38378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38379 conftest$ac_exeext conftest.$ac_ext
38380
38381 fi
38382 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38383 { echo "$as_me:$LINENO: result: $ac_res" >&5
38384 echo "${ECHO_T}$ac_res" >&6; }
38385
38386 if eval test \$wx_cv_func_$wx_func = yes
38387 then
38388 cat >>confdefs.h <<_ACEOF
38389 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38390 _ACEOF
38391
38392
38393 else
38394 :
38395
38396 fi
38397 done
38398
38399 fi
38400
38401 if test "$wxUSE_FILE" = "yes"; then
38402
38403 for wx_func in fsync
38404 do
38405 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38406 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38407 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38408 echo $ECHO_N "(cached) $ECHO_C" >&6
38409 else
38410
38411 cat >conftest.$ac_ext <<_ACEOF
38412
38413 /* confdefs.h. */
38414 _ACEOF
38415 cat confdefs.h >>conftest.$ac_ext
38416 cat >>conftest.$ac_ext <<_ACEOF
38417 /* end confdefs.h. */
38418
38419
38420 $ac_includes_default
38421
38422 int
38423 main ()
38424 {
38425
38426 #ifndef $wx_func
38427 &$wx_func;
38428 #endif
38429
38430
38431 ;
38432 return 0;
38433 }
38434
38435 _ACEOF
38436 rm -f conftest.$ac_objext conftest$ac_exeext
38437 if { (ac_try="$ac_link"
38438 case "(($ac_try" in
38439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38440 *) ac_try_echo=$ac_try;;
38441 esac
38442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38443 (eval "$ac_link") 2>conftest.er1
38444 ac_status=$?
38445 grep -v '^ *+' conftest.er1 >conftest.err
38446 rm -f conftest.er1
38447 cat conftest.err >&5
38448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38449 (exit $ac_status); } && {
38450 test -z "$ac_c_werror_flag" ||
38451 test ! -s conftest.err
38452 } && test -s conftest$ac_exeext &&
38453 $as_test_x conftest$ac_exeext; then
38454 eval wx_cv_func_$wx_func=yes
38455 else
38456 echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38458
38459 eval wx_cv_func_$wx_func=no
38460 fi
38461
38462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38463 conftest$ac_exeext conftest.$ac_ext
38464
38465 fi
38466 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38467 { echo "$as_me:$LINENO: result: $ac_res" >&5
38468 echo "${ECHO_T}$ac_res" >&6; }
38469
38470 if eval test \$wx_cv_func_$wx_func = yes
38471 then
38472 cat >>confdefs.h <<_ACEOF
38473 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38474 _ACEOF
38475
38476
38477 else
38478 :
38479
38480 fi
38481 done
38482
38483 fi
38484
38485 ac_ext=cpp
38486 ac_cpp='$CXXCPP $CPPFLAGS'
38487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38490
38491
38492 for wx_func in round
38493 do
38494 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38495 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38496 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38497 echo $ECHO_N "(cached) $ECHO_C" >&6
38498 else
38499
38500 cat >conftest.$ac_ext <<_ACEOF
38501
38502 /* confdefs.h. */
38503 _ACEOF
38504 cat confdefs.h >>conftest.$ac_ext
38505 cat >>conftest.$ac_ext <<_ACEOF
38506 /* end confdefs.h. */
38507
38508 #include <math.h>
38509 $ac_includes_default
38510
38511 int
38512 main ()
38513 {
38514
38515 #ifndef $wx_func
38516 &$wx_func;
38517 #endif
38518
38519
38520 ;
38521 return 0;
38522 }
38523
38524 _ACEOF
38525 rm -f conftest.$ac_objext conftest$ac_exeext
38526 if { (ac_try="$ac_link"
38527 case "(($ac_try" in
38528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38529 *) ac_try_echo=$ac_try;;
38530 esac
38531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38532 (eval "$ac_link") 2>conftest.er1
38533 ac_status=$?
38534 grep -v '^ *+' conftest.er1 >conftest.err
38535 rm -f conftest.er1
38536 cat conftest.err >&5
38537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38538 (exit $ac_status); } && {
38539 test -z "$ac_cxx_werror_flag" ||
38540 test ! -s conftest.err
38541 } && test -s conftest$ac_exeext &&
38542 $as_test_x conftest$ac_exeext; then
38543 eval wx_cv_func_$wx_func=yes
38544 else
38545 echo "$as_me: failed program was:" >&5
38546 sed 's/^/| /' conftest.$ac_ext >&5
38547
38548 eval wx_cv_func_$wx_func=no
38549 fi
38550
38551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38552 conftest$ac_exeext conftest.$ac_ext
38553
38554 fi
38555 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38556 { echo "$as_me:$LINENO: result: $ac_res" >&5
38557 echo "${ECHO_T}$ac_res" >&6; }
38558
38559 if eval test \$wx_cv_func_$wx_func = yes
38560 then
38561 cat >>confdefs.h <<_ACEOF
38562 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38563 _ACEOF
38564
38565
38566 else
38567 :
38568
38569 fi
38570 done
38571
38572 ac_ext=c
38573 ac_cpp='$CPP $CPPFLAGS'
38574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38577
38578
38579 if test "$TOOLKIT" != "MSW"; then
38580
38581
38582
38583
38584
38585 # Check whether --with-libiconv-prefix was given.
38586 if test "${with_libiconv_prefix+set}" = set; then
38587 withval=$with_libiconv_prefix;
38588 for dir in `echo "$withval" | tr : ' '`; do
38589 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38590 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38591 done
38592
38593 fi
38594
38595
38596 { echo "$as_me:$LINENO: checking for iconv" >&5
38597 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38598 if test "${am_cv_func_iconv+set}" = set; then
38599 echo $ECHO_N "(cached) $ECHO_C" >&6
38600 else
38601
38602 am_cv_func_iconv="no, consider installing GNU libiconv"
38603 am_cv_lib_iconv=no
38604 cat >conftest.$ac_ext <<_ACEOF
38605 /* confdefs.h. */
38606 _ACEOF
38607 cat confdefs.h >>conftest.$ac_ext
38608 cat >>conftest.$ac_ext <<_ACEOF
38609 /* end confdefs.h. */
38610 #include <stdlib.h>
38611 #include <iconv.h>
38612 int
38613 main ()
38614 {
38615 iconv_t cd = iconv_open("","");
38616 iconv(cd,NULL,NULL,NULL,NULL);
38617 iconv_close(cd);
38618 ;
38619 return 0;
38620 }
38621 _ACEOF
38622 rm -f conftest.$ac_objext conftest$ac_exeext
38623 if { (ac_try="$ac_link"
38624 case "(($ac_try" in
38625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38626 *) ac_try_echo=$ac_try;;
38627 esac
38628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38629 (eval "$ac_link") 2>conftest.er1
38630 ac_status=$?
38631 grep -v '^ *+' conftest.er1 >conftest.err
38632 rm -f conftest.er1
38633 cat conftest.err >&5
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); } && {
38636 test -z "$ac_c_werror_flag" ||
38637 test ! -s conftest.err
38638 } && test -s conftest$ac_exeext &&
38639 $as_test_x conftest$ac_exeext; then
38640 am_cv_func_iconv=yes
38641 else
38642 echo "$as_me: failed program was:" >&5
38643 sed 's/^/| /' conftest.$ac_ext >&5
38644
38645
38646 fi
38647
38648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38649 conftest$ac_exeext conftest.$ac_ext
38650 if test "$am_cv_func_iconv" != yes; then
38651 am_save_LIBS="$LIBS"
38652 LIBS="$LIBS -liconv"
38653 cat >conftest.$ac_ext <<_ACEOF
38654 /* confdefs.h. */
38655 _ACEOF
38656 cat confdefs.h >>conftest.$ac_ext
38657 cat >>conftest.$ac_ext <<_ACEOF
38658 /* end confdefs.h. */
38659 #include <stdlib.h>
38660 #include <iconv.h>
38661 int
38662 main ()
38663 {
38664 iconv_t cd = iconv_open("","");
38665 iconv(cd,NULL,NULL,NULL,NULL);
38666 iconv_close(cd);
38667 ;
38668 return 0;
38669 }
38670 _ACEOF
38671 rm -f conftest.$ac_objext conftest$ac_exeext
38672 if { (ac_try="$ac_link"
38673 case "(($ac_try" in
38674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38675 *) ac_try_echo=$ac_try;;
38676 esac
38677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38678 (eval "$ac_link") 2>conftest.er1
38679 ac_status=$?
38680 grep -v '^ *+' conftest.er1 >conftest.err
38681 rm -f conftest.er1
38682 cat conftest.err >&5
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); } && {
38685 test -z "$ac_c_werror_flag" ||
38686 test ! -s conftest.err
38687 } && test -s conftest$ac_exeext &&
38688 $as_test_x conftest$ac_exeext; then
38689 am_cv_lib_iconv=yes
38690 am_cv_func_iconv=yes
38691 else
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.$ac_ext >&5
38694
38695
38696 fi
38697
38698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38699 conftest$ac_exeext conftest.$ac_ext
38700 LIBS="$am_save_LIBS"
38701 fi
38702
38703 fi
38704 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38705 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38706 if test "$am_cv_func_iconv" = yes; then
38707
38708 cat >>confdefs.h <<\_ACEOF
38709 #define HAVE_ICONV 1
38710 _ACEOF
38711
38712 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38713 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38714 if test "${wx_cv_func_iconv_const+set}" = set; then
38715 echo $ECHO_N "(cached) $ECHO_C" >&6
38716 else
38717 cat >conftest.$ac_ext <<_ACEOF
38718 /* confdefs.h. */
38719 _ACEOF
38720 cat confdefs.h >>conftest.$ac_ext
38721 cat >>conftest.$ac_ext <<_ACEOF
38722 /* end confdefs.h. */
38723
38724 #include <stdlib.h>
38725 #include <iconv.h>
38726 extern
38727 #ifdef __cplusplus
38728 "C"
38729 #endif
38730 #if defined(__STDC__) || defined(__cplusplus)
38731 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38732 #else
38733 size_t iconv();
38734 #endif
38735
38736 int
38737 main ()
38738 {
38739
38740 ;
38741 return 0;
38742 }
38743 _ACEOF
38744 rm -f conftest.$ac_objext
38745 if { (ac_try="$ac_compile"
38746 case "(($ac_try" in
38747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38748 *) ac_try_echo=$ac_try;;
38749 esac
38750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38751 (eval "$ac_compile") 2>conftest.er1
38752 ac_status=$?
38753 grep -v '^ *+' conftest.er1 >conftest.err
38754 rm -f conftest.er1
38755 cat conftest.err >&5
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); } && {
38758 test -z "$ac_c_werror_flag" ||
38759 test ! -s conftest.err
38760 } && test -s conftest.$ac_objext; then
38761 wx_cv_func_iconv_const="no"
38762 else
38763 echo "$as_me: failed program was:" >&5
38764 sed 's/^/| /' conftest.$ac_ext >&5
38765
38766 wx_cv_func_iconv_const="yes"
38767
38768 fi
38769
38770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38771
38772 fi
38773 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38774 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38775
38776 iconv_const=
38777 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38778 iconv_const="const"
38779 fi
38780
38781
38782 cat >>confdefs.h <<_ACEOF
38783 #define ICONV_CONST $iconv_const
38784 _ACEOF
38785
38786 fi
38787 LIBICONV=
38788 if test "$am_cv_lib_iconv" = yes; then
38789 LIBICONV="-liconv"
38790 fi
38791
38792
38793 LIBS="$LIBICONV $LIBS"
38794
38795 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38796
38797 for ac_func in sigaction
38798 do
38799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38800 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38803 echo $ECHO_N "(cached) $ECHO_C" >&6
38804 else
38805 cat >conftest.$ac_ext <<_ACEOF
38806 /* confdefs.h. */
38807 _ACEOF
38808 cat confdefs.h >>conftest.$ac_ext
38809 cat >>conftest.$ac_ext <<_ACEOF
38810 /* end confdefs.h. */
38811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38813 #define $ac_func innocuous_$ac_func
38814
38815 /* System header to define __stub macros and hopefully few prototypes,
38816 which can conflict with char $ac_func (); below.
38817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38818 <limits.h> exists even on freestanding compilers. */
38819
38820 #ifdef __STDC__
38821 # include <limits.h>
38822 #else
38823 # include <assert.h>
38824 #endif
38825
38826 #undef $ac_func
38827
38828 /* Override any GCC internal prototype to avoid an error.
38829 Use char because int might match the return type of a GCC
38830 builtin and then its argument prototype would still apply. */
38831 #ifdef __cplusplus
38832 extern "C"
38833 #endif
38834 char $ac_func ();
38835 /* The GNU C library defines this for functions which it implements
38836 to always fail with ENOSYS. Some functions are actually named
38837 something starting with __ and the normal name is an alias. */
38838 #if defined __stub_$ac_func || defined __stub___$ac_func
38839 choke me
38840 #endif
38841
38842 int
38843 main ()
38844 {
38845 return $ac_func ();
38846 ;
38847 return 0;
38848 }
38849 _ACEOF
38850 rm -f conftest.$ac_objext conftest$ac_exeext
38851 if { (ac_try="$ac_link"
38852 case "(($ac_try" in
38853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38854 *) ac_try_echo=$ac_try;;
38855 esac
38856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38857 (eval "$ac_link") 2>conftest.er1
38858 ac_status=$?
38859 grep -v '^ *+' conftest.er1 >conftest.err
38860 rm -f conftest.er1
38861 cat conftest.err >&5
38862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38863 (exit $ac_status); } && {
38864 test -z "$ac_c_werror_flag" ||
38865 test ! -s conftest.err
38866 } && test -s conftest$ac_exeext &&
38867 $as_test_x conftest$ac_exeext; then
38868 eval "$as_ac_var=yes"
38869 else
38870 echo "$as_me: failed program was:" >&5
38871 sed 's/^/| /' conftest.$ac_ext >&5
38872
38873 eval "$as_ac_var=no"
38874 fi
38875
38876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38877 conftest$ac_exeext conftest.$ac_ext
38878 fi
38879 ac_res=`eval echo '${'$as_ac_var'}'`
38880 { echo "$as_me:$LINENO: result: $ac_res" >&5
38881 echo "${ECHO_T}$ac_res" >&6; }
38882 if test `eval echo '${'$as_ac_var'}'` = yes; then
38883 cat >>confdefs.h <<_ACEOF
38884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38885 _ACEOF
38886
38887 fi
38888 done
38889
38890
38891 if test "$ac_cv_func_sigaction" = "no"; then
38892 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38893 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38894 wxUSE_ON_FATAL_EXCEPTION=no
38895 fi
38896
38897 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38898 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38899 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38900 if test "${wx_cv_type_sa_handler+set}" = set; then
38901 echo $ECHO_N "(cached) $ECHO_C" >&6
38902 else
38903
38904 ac_ext=cpp
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38909
38910 cat >conftest.$ac_ext <<_ACEOF
38911 /* confdefs.h. */
38912 _ACEOF
38913 cat confdefs.h >>conftest.$ac_ext
38914 cat >>conftest.$ac_ext <<_ACEOF
38915 /* end confdefs.h. */
38916 #include <signal.h>
38917 int
38918 main ()
38919 {
38920
38921 extern void testSigHandler(int);
38922
38923 struct sigaction sa;
38924 sa.sa_handler = testSigHandler;
38925
38926 ;
38927 return 0;
38928 }
38929 _ACEOF
38930 rm -f conftest.$ac_objext
38931 if { (ac_try="$ac_compile"
38932 case "(($ac_try" in
38933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38934 *) ac_try_echo=$ac_try;;
38935 esac
38936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38937 (eval "$ac_compile") 2>conftest.er1
38938 ac_status=$?
38939 grep -v '^ *+' conftest.er1 >conftest.err
38940 rm -f conftest.er1
38941 cat conftest.err >&5
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); } && {
38944 test -z "$ac_cxx_werror_flag" ||
38945 test ! -s conftest.err
38946 } && test -s conftest.$ac_objext; then
38947
38948 wx_cv_type_sa_handler=int
38949
38950 else
38951 echo "$as_me: failed program was:" >&5
38952 sed 's/^/| /' conftest.$ac_ext >&5
38953
38954
38955 wx_cv_type_sa_handler=void
38956
38957 fi
38958
38959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38960 ac_ext=c
38961 ac_cpp='$CPP $CPPFLAGS'
38962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38965
38966
38967 fi
38968 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38969 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38970
38971 cat >>confdefs.h <<_ACEOF
38972 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38973 _ACEOF
38974
38975 fi
38976 fi
38977
38978 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38979 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38980 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38981 if test "${wx_cv_func_backtrace+set}" = set; then
38982 echo $ECHO_N "(cached) $ECHO_C" >&6
38983 else
38984
38985 ac_ext=cpp
38986 ac_cpp='$CXXCPP $CPPFLAGS'
38987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38990
38991 cat >conftest.$ac_ext <<_ACEOF
38992 /* confdefs.h. */
38993 _ACEOF
38994 cat confdefs.h >>conftest.$ac_ext
38995 cat >>conftest.$ac_ext <<_ACEOF
38996 /* end confdefs.h. */
38997 #include <execinfo.h>
38998 int
38999 main ()
39000 {
39001
39002 void *trace[1];
39003 char **messages;
39004
39005 backtrace(trace, 1);
39006 messages = backtrace_symbols(trace, 1);
39007
39008 ;
39009 return 0;
39010 }
39011 _ACEOF
39012 rm -f conftest.$ac_objext
39013 if { (ac_try="$ac_compile"
39014 case "(($ac_try" in
39015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39016 *) ac_try_echo=$ac_try;;
39017 esac
39018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39019 (eval "$ac_compile") 2>conftest.er1
39020 ac_status=$?
39021 grep -v '^ *+' conftest.er1 >conftest.err
39022 rm -f conftest.er1
39023 cat conftest.err >&5
39024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39025 (exit $ac_status); } && {
39026 test -z "$ac_cxx_werror_flag" ||
39027 test ! -s conftest.err
39028 } && test -s conftest.$ac_objext; then
39029 wx_cv_func_backtrace=yes
39030 else
39031 echo "$as_me: failed program was:" >&5
39032 sed 's/^/| /' conftest.$ac_ext >&5
39033
39034 wx_cv_func_backtrace=no
39035
39036 fi
39037
39038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39039 ac_ext=c
39040 ac_cpp='$CPP $CPPFLAGS'
39041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39044
39045
39046
39047 fi
39048 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39049 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39050
39051
39052 if test "$wx_cv_func_backtrace" = "no"; then
39053 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39054 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39055 wxUSE_STACKWALKER=no
39056 else
39057 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39058 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39059 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39060 echo $ECHO_N "(cached) $ECHO_C" >&6
39061 else
39062
39063 ac_ext=cpp
39064 ac_cpp='$CXXCPP $CPPFLAGS'
39065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39068
39069 cat >conftest.$ac_ext <<_ACEOF
39070 /* confdefs.h. */
39071 _ACEOF
39072 cat confdefs.h >>conftest.$ac_ext
39073 cat >>conftest.$ac_ext <<_ACEOF
39074 /* end confdefs.h. */
39075 #include <cxxabi.h>
39076 int
39077 main ()
39078 {
39079
39080 int rc;
39081 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39082
39083 ;
39084 return 0;
39085 }
39086 _ACEOF
39087 rm -f conftest.$ac_objext conftest$ac_exeext
39088 if { (ac_try="$ac_link"
39089 case "(($ac_try" in
39090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39091 *) ac_try_echo=$ac_try;;
39092 esac
39093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39094 (eval "$ac_link") 2>conftest.er1
39095 ac_status=$?
39096 grep -v '^ *+' conftest.er1 >conftest.err
39097 rm -f conftest.er1
39098 cat conftest.err >&5
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); } && {
39101 test -z "$ac_cxx_werror_flag" ||
39102 test ! -s conftest.err
39103 } && test -s conftest$ac_exeext &&
39104 $as_test_x conftest$ac_exeext; then
39105 wx_cv_func_cxa_demangle=yes
39106 else
39107 echo "$as_me: failed program was:" >&5
39108 sed 's/^/| /' conftest.$ac_ext >&5
39109
39110 wx_cv_func_cxa_demangle=no
39111
39112 fi
39113
39114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39115 conftest$ac_exeext conftest.$ac_ext
39116 ac_ext=c
39117 ac_cpp='$CPP $CPPFLAGS'
39118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39121
39122
39123
39124 fi
39125 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39126 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39127
39128 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39129 cat >>confdefs.h <<\_ACEOF
39130 #define HAVE_CXA_DEMANGLE 1
39131 _ACEOF
39132
39133 fi
39134 fi
39135 fi
39136
39137 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39138 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39139 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39140 wxUSE_STACKWALKER=no
39141 fi
39142
39143
39144
39145
39146 for ac_func in mkstemp mktemp
39147 do
39148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39149 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39151 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39152 echo $ECHO_N "(cached) $ECHO_C" >&6
39153 else
39154 cat >conftest.$ac_ext <<_ACEOF
39155 /* confdefs.h. */
39156 _ACEOF
39157 cat confdefs.h >>conftest.$ac_ext
39158 cat >>conftest.$ac_ext <<_ACEOF
39159 /* end confdefs.h. */
39160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39162 #define $ac_func innocuous_$ac_func
39163
39164 /* System header to define __stub macros and hopefully few prototypes,
39165 which can conflict with char $ac_func (); below.
39166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39167 <limits.h> exists even on freestanding compilers. */
39168
39169 #ifdef __STDC__
39170 # include <limits.h>
39171 #else
39172 # include <assert.h>
39173 #endif
39174
39175 #undef $ac_func
39176
39177 /* Override any GCC internal prototype to avoid an error.
39178 Use char because int might match the return type of a GCC
39179 builtin and then its argument prototype would still apply. */
39180 #ifdef __cplusplus
39181 extern "C"
39182 #endif
39183 char $ac_func ();
39184 /* The GNU C library defines this for functions which it implements
39185 to always fail with ENOSYS. Some functions are actually named
39186 something starting with __ and the normal name is an alias. */
39187 #if defined __stub_$ac_func || defined __stub___$ac_func
39188 choke me
39189 #endif
39190
39191 int
39192 main ()
39193 {
39194 return $ac_func ();
39195 ;
39196 return 0;
39197 }
39198 _ACEOF
39199 rm -f conftest.$ac_objext conftest$ac_exeext
39200 if { (ac_try="$ac_link"
39201 case "(($ac_try" in
39202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39203 *) ac_try_echo=$ac_try;;
39204 esac
39205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39206 (eval "$ac_link") 2>conftest.er1
39207 ac_status=$?
39208 grep -v '^ *+' conftest.er1 >conftest.err
39209 rm -f conftest.er1
39210 cat conftest.err >&5
39211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39212 (exit $ac_status); } && {
39213 test -z "$ac_c_werror_flag" ||
39214 test ! -s conftest.err
39215 } && test -s conftest$ac_exeext &&
39216 $as_test_x conftest$ac_exeext; then
39217 eval "$as_ac_var=yes"
39218 else
39219 echo "$as_me: failed program was:" >&5
39220 sed 's/^/| /' conftest.$ac_ext >&5
39221
39222 eval "$as_ac_var=no"
39223 fi
39224
39225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39226 conftest$ac_exeext conftest.$ac_ext
39227 fi
39228 ac_res=`eval echo '${'$as_ac_var'}'`
39229 { echo "$as_me:$LINENO: result: $ac_res" >&5
39230 echo "${ECHO_T}$ac_res" >&6; }
39231 if test `eval echo '${'$as_ac_var'}'` = yes; then
39232 cat >>confdefs.h <<_ACEOF
39233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39234 _ACEOF
39235 break
39236 fi
39237 done
39238
39239
39240 { echo "$as_me:$LINENO: checking for statfs" >&5
39241 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39242 if test "${wx_cv_func_statfs+set}" = set; then
39243 echo $ECHO_N "(cached) $ECHO_C" >&6
39244 else
39245 cat >conftest.$ac_ext <<_ACEOF
39246 /* confdefs.h. */
39247 _ACEOF
39248 cat confdefs.h >>conftest.$ac_ext
39249 cat >>conftest.$ac_ext <<_ACEOF
39250 /* end confdefs.h. */
39251
39252 #if defined(__BSD__)
39253 #include <sys/param.h>
39254 #include <sys/mount.h>
39255 #else
39256 #include <sys/vfs.h>
39257 #endif
39258
39259 int
39260 main ()
39261 {
39262
39263 long l;
39264 struct statfs fs;
39265 statfs("/", &fs);
39266 l = fs.f_bsize;
39267 l += fs.f_blocks;
39268 l += fs.f_bavail;
39269
39270 ;
39271 return 0;
39272 }
39273 _ACEOF
39274 rm -f conftest.$ac_objext
39275 if { (ac_try="$ac_compile"
39276 case "(($ac_try" in
39277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39278 *) ac_try_echo=$ac_try;;
39279 esac
39280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39281 (eval "$ac_compile") 2>conftest.er1
39282 ac_status=$?
39283 grep -v '^ *+' conftest.er1 >conftest.err
39284 rm -f conftest.er1
39285 cat conftest.err >&5
39286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39287 (exit $ac_status); } && {
39288 test -z "$ac_c_werror_flag" ||
39289 test ! -s conftest.err
39290 } && test -s conftest.$ac_objext; then
39291 wx_cv_func_statfs=yes
39292 else
39293 echo "$as_me: failed program was:" >&5
39294 sed 's/^/| /' conftest.$ac_ext >&5
39295
39296 wx_cv_func_statfs=no
39297
39298 fi
39299
39300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39301
39302 fi
39303 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39304 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39305
39306 if test "$wx_cv_func_statfs" = "yes"; then
39307 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39308 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39309 if test "${wx_cv_func_statfs_decl+set}" = set; then
39310 echo $ECHO_N "(cached) $ECHO_C" >&6
39311 else
39312 ac_ext=cpp
39313 ac_cpp='$CXXCPP $CPPFLAGS'
39314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39317
39318 cat >conftest.$ac_ext <<_ACEOF
39319 /* confdefs.h. */
39320 _ACEOF
39321 cat confdefs.h >>conftest.$ac_ext
39322 cat >>conftest.$ac_ext <<_ACEOF
39323 /* end confdefs.h. */
39324
39325 #if defined(__BSD__)
39326 #include <sys/param.h>
39327 #include <sys/mount.h>
39328 #else
39329 #include <sys/vfs.h>
39330 #endif
39331
39332 int
39333 main ()
39334 {
39335
39336 struct statfs fs;
39337 statfs("", &fs);
39338
39339 ;
39340 return 0;
39341 }
39342 _ACEOF
39343 rm -f conftest.$ac_objext
39344 if { (ac_try="$ac_compile"
39345 case "(($ac_try" in
39346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39347 *) ac_try_echo=$ac_try;;
39348 esac
39349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39350 (eval "$ac_compile") 2>conftest.er1
39351 ac_status=$?
39352 grep -v '^ *+' conftest.er1 >conftest.err
39353 rm -f conftest.er1
39354 cat conftest.err >&5
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); } && {
39357 test -z "$ac_cxx_werror_flag" ||
39358 test ! -s conftest.err
39359 } && test -s conftest.$ac_objext; then
39360 wx_cv_func_statfs_decl=yes
39361 else
39362 echo "$as_me: failed program was:" >&5
39363 sed 's/^/| /' conftest.$ac_ext >&5
39364
39365 wx_cv_func_statfs_decl=no
39366
39367 fi
39368
39369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39370 ac_ext=c
39371 ac_cpp='$CPP $CPPFLAGS'
39372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39375
39376
39377 fi
39378 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39379 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39380
39381 if test "$wx_cv_func_statfs_decl" = "yes"; then
39382 cat >>confdefs.h <<\_ACEOF
39383 #define HAVE_STATFS_DECL 1
39384 _ACEOF
39385
39386 fi
39387
39388 wx_cv_type_statvfs_t="struct statfs"
39389 cat >>confdefs.h <<\_ACEOF
39390 #define HAVE_STATFS 1
39391 _ACEOF
39392
39393 else
39394 { echo "$as_me:$LINENO: checking for statvfs" >&5
39395 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39396 if test "${wx_cv_func_statvfs+set}" = set; then
39397 echo $ECHO_N "(cached) $ECHO_C" >&6
39398 else
39399 cat >conftest.$ac_ext <<_ACEOF
39400 /* confdefs.h. */
39401 _ACEOF
39402 cat confdefs.h >>conftest.$ac_ext
39403 cat >>conftest.$ac_ext <<_ACEOF
39404 /* end confdefs.h. */
39405
39406 #include <stddef.h>
39407 #include <sys/statvfs.h>
39408
39409 int
39410 main ()
39411 {
39412
39413 statvfs("/", NULL);
39414
39415 ;
39416 return 0;
39417 }
39418 _ACEOF
39419 rm -f conftest.$ac_objext
39420 if { (ac_try="$ac_compile"
39421 case "(($ac_try" in
39422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39423 *) ac_try_echo=$ac_try;;
39424 esac
39425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39426 (eval "$ac_compile") 2>conftest.er1
39427 ac_status=$?
39428 grep -v '^ *+' conftest.er1 >conftest.err
39429 rm -f conftest.er1
39430 cat conftest.err >&5
39431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39432 (exit $ac_status); } && {
39433 test -z "$ac_c_werror_flag" ||
39434 test ! -s conftest.err
39435 } && test -s conftest.$ac_objext; then
39436 wx_cv_func_statvfs=yes
39437 else
39438 echo "$as_me: failed program was:" >&5
39439 sed 's/^/| /' conftest.$ac_ext >&5
39440
39441 wx_cv_func_statvfs=no
39442
39443 fi
39444
39445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39446
39447 fi
39448 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39449 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39450
39451 if test "$wx_cv_func_statvfs" = "yes"; then
39452 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39453 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39454 if test "${wx_cv_type_statvfs_t+set}" = set; then
39455 echo $ECHO_N "(cached) $ECHO_C" >&6
39456 else
39457 ac_ext=cpp
39458 ac_cpp='$CXXCPP $CPPFLAGS'
39459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39462
39463 cat >conftest.$ac_ext <<_ACEOF
39464 /* confdefs.h. */
39465 _ACEOF
39466 cat confdefs.h >>conftest.$ac_ext
39467 cat >>conftest.$ac_ext <<_ACEOF
39468 /* end confdefs.h. */
39469
39470 #include <sys/statvfs.h>
39471
39472 int
39473 main ()
39474 {
39475
39476 long l;
39477 statvfs_t fs;
39478 statvfs("/", &fs);
39479 l = fs.f_bsize;
39480 l += fs.f_blocks;
39481 l += fs.f_bavail;
39482
39483 ;
39484 return 0;
39485 }
39486 _ACEOF
39487 rm -f conftest.$ac_objext
39488 if { (ac_try="$ac_compile"
39489 case "(($ac_try" in
39490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39491 *) ac_try_echo=$ac_try;;
39492 esac
39493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39494 (eval "$ac_compile") 2>conftest.er1
39495 ac_status=$?
39496 grep -v '^ *+' conftest.er1 >conftest.err
39497 rm -f conftest.er1
39498 cat conftest.err >&5
39499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39500 (exit $ac_status); } && {
39501 test -z "$ac_cxx_werror_flag" ||
39502 test ! -s conftest.err
39503 } && test -s conftest.$ac_objext; then
39504 wx_cv_type_statvfs_t=statvfs_t
39505 else
39506 echo "$as_me: failed program was:" >&5
39507 sed 's/^/| /' conftest.$ac_ext >&5
39508
39509
39510 cat >conftest.$ac_ext <<_ACEOF
39511 /* confdefs.h. */
39512 _ACEOF
39513 cat confdefs.h >>conftest.$ac_ext
39514 cat >>conftest.$ac_ext <<_ACEOF
39515 /* end confdefs.h. */
39516
39517 #include <sys/statvfs.h>
39518
39519 int
39520 main ()
39521 {
39522
39523 long l;
39524 struct statvfs fs;
39525 statvfs("/", &fs);
39526 l = fs.f_bsize;
39527 l += fs.f_blocks;
39528 l += fs.f_bavail;
39529
39530 ;
39531 return 0;
39532 }
39533 _ACEOF
39534 rm -f conftest.$ac_objext
39535 if { (ac_try="$ac_compile"
39536 case "(($ac_try" in
39537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39538 *) ac_try_echo=$ac_try;;
39539 esac
39540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39541 (eval "$ac_compile") 2>conftest.er1
39542 ac_status=$?
39543 grep -v '^ *+' conftest.er1 >conftest.err
39544 rm -f conftest.er1
39545 cat conftest.err >&5
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); } && {
39548 test -z "$ac_cxx_werror_flag" ||
39549 test ! -s conftest.err
39550 } && test -s conftest.$ac_objext; then
39551 wx_cv_type_statvfs_t="struct statvfs"
39552 else
39553 echo "$as_me: failed program was:" >&5
39554 sed 's/^/| /' conftest.$ac_ext >&5
39555
39556 wx_cv_type_statvfs_t="unknown"
39557
39558 fi
39559
39560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39561
39562
39563 fi
39564
39565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39566 ac_ext=c
39567 ac_cpp='$CPP $CPPFLAGS'
39568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39571
39572
39573 fi
39574 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39575 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39576
39577 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39578 cat >>confdefs.h <<\_ACEOF
39579 #define HAVE_STATVFS 1
39580 _ACEOF
39581
39582 fi
39583 else
39584 wx_cv_type_statvfs_t="unknown"
39585 fi
39586 fi
39587
39588 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39589 cat >>confdefs.h <<_ACEOF
39590 #define WX_STATFS_T $wx_cv_type_statvfs_t
39591 _ACEOF
39592
39593 else
39594 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39595 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39596 fi
39597
39598 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39599
39600
39601 for ac_func in fcntl flock
39602 do
39603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39604 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39606 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39607 echo $ECHO_N "(cached) $ECHO_C" >&6
39608 else
39609 cat >conftest.$ac_ext <<_ACEOF
39610 /* confdefs.h. */
39611 _ACEOF
39612 cat confdefs.h >>conftest.$ac_ext
39613 cat >>conftest.$ac_ext <<_ACEOF
39614 /* end confdefs.h. */
39615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39617 #define $ac_func innocuous_$ac_func
39618
39619 /* System header to define __stub macros and hopefully few prototypes,
39620 which can conflict with char $ac_func (); below.
39621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39622 <limits.h> exists even on freestanding compilers. */
39623
39624 #ifdef __STDC__
39625 # include <limits.h>
39626 #else
39627 # include <assert.h>
39628 #endif
39629
39630 #undef $ac_func
39631
39632 /* Override any GCC internal prototype to avoid an error.
39633 Use char because int might match the return type of a GCC
39634 builtin and then its argument prototype would still apply. */
39635 #ifdef __cplusplus
39636 extern "C"
39637 #endif
39638 char $ac_func ();
39639 /* The GNU C library defines this for functions which it implements
39640 to always fail with ENOSYS. Some functions are actually named
39641 something starting with __ and the normal name is an alias. */
39642 #if defined __stub_$ac_func || defined __stub___$ac_func
39643 choke me
39644 #endif
39645
39646 int
39647 main ()
39648 {
39649 return $ac_func ();
39650 ;
39651 return 0;
39652 }
39653 _ACEOF
39654 rm -f conftest.$ac_objext conftest$ac_exeext
39655 if { (ac_try="$ac_link"
39656 case "(($ac_try" in
39657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39658 *) ac_try_echo=$ac_try;;
39659 esac
39660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39661 (eval "$ac_link") 2>conftest.er1
39662 ac_status=$?
39663 grep -v '^ *+' conftest.er1 >conftest.err
39664 rm -f conftest.er1
39665 cat conftest.err >&5
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); } && {
39668 test -z "$ac_c_werror_flag" ||
39669 test ! -s conftest.err
39670 } && test -s conftest$ac_exeext &&
39671 $as_test_x conftest$ac_exeext; then
39672 eval "$as_ac_var=yes"
39673 else
39674 echo "$as_me: failed program was:" >&5
39675 sed 's/^/| /' conftest.$ac_ext >&5
39676
39677 eval "$as_ac_var=no"
39678 fi
39679
39680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39681 conftest$ac_exeext conftest.$ac_ext
39682 fi
39683 ac_res=`eval echo '${'$as_ac_var'}'`
39684 { echo "$as_me:$LINENO: result: $ac_res" >&5
39685 echo "${ECHO_T}$ac_res" >&6; }
39686 if test `eval echo '${'$as_ac_var'}'` = yes; then
39687 cat >>confdefs.h <<_ACEOF
39688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39689 _ACEOF
39690 break
39691 fi
39692 done
39693
39694
39695 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39696 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39697 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39698 wxUSE_SNGLINST_CHECKER=no
39699 fi
39700 fi
39701
39702
39703 for ac_func in timegm
39704 do
39705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39708 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39709 echo $ECHO_N "(cached) $ECHO_C" >&6
39710 else
39711 cat >conftest.$ac_ext <<_ACEOF
39712 /* confdefs.h. */
39713 _ACEOF
39714 cat confdefs.h >>conftest.$ac_ext
39715 cat >>conftest.$ac_ext <<_ACEOF
39716 /* end confdefs.h. */
39717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39719 #define $ac_func innocuous_$ac_func
39720
39721 /* System header to define __stub macros and hopefully few prototypes,
39722 which can conflict with char $ac_func (); below.
39723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39724 <limits.h> exists even on freestanding compilers. */
39725
39726 #ifdef __STDC__
39727 # include <limits.h>
39728 #else
39729 # include <assert.h>
39730 #endif
39731
39732 #undef $ac_func
39733
39734 /* Override any GCC internal prototype to avoid an error.
39735 Use char because int might match the return type of a GCC
39736 builtin and then its argument prototype would still apply. */
39737 #ifdef __cplusplus
39738 extern "C"
39739 #endif
39740 char $ac_func ();
39741 /* The GNU C library defines this for functions which it implements
39742 to always fail with ENOSYS. Some functions are actually named
39743 something starting with __ and the normal name is an alias. */
39744 #if defined __stub_$ac_func || defined __stub___$ac_func
39745 choke me
39746 #endif
39747
39748 int
39749 main ()
39750 {
39751 return $ac_func ();
39752 ;
39753 return 0;
39754 }
39755 _ACEOF
39756 rm -f conftest.$ac_objext conftest$ac_exeext
39757 if { (ac_try="$ac_link"
39758 case "(($ac_try" in
39759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39760 *) ac_try_echo=$ac_try;;
39761 esac
39762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39763 (eval "$ac_link") 2>conftest.er1
39764 ac_status=$?
39765 grep -v '^ *+' conftest.er1 >conftest.err
39766 rm -f conftest.er1
39767 cat conftest.err >&5
39768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39769 (exit $ac_status); } && {
39770 test -z "$ac_c_werror_flag" ||
39771 test ! -s conftest.err
39772 } && test -s conftest$ac_exeext &&
39773 $as_test_x conftest$ac_exeext; then
39774 eval "$as_ac_var=yes"
39775 else
39776 echo "$as_me: failed program was:" >&5
39777 sed 's/^/| /' conftest.$ac_ext >&5
39778
39779 eval "$as_ac_var=no"
39780 fi
39781
39782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39783 conftest$ac_exeext conftest.$ac_ext
39784 fi
39785 ac_res=`eval echo '${'$as_ac_var'}'`
39786 { echo "$as_me:$LINENO: result: $ac_res" >&5
39787 echo "${ECHO_T}$ac_res" >&6; }
39788 if test `eval echo '${'$as_ac_var'}'` = yes; then
39789 cat >>confdefs.h <<_ACEOF
39790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39791 _ACEOF
39792
39793 fi
39794 done
39795
39796
39797
39798
39799 for ac_func in putenv setenv
39800 do
39801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39802 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39804 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39805 echo $ECHO_N "(cached) $ECHO_C" >&6
39806 else
39807 cat >conftest.$ac_ext <<_ACEOF
39808 /* confdefs.h. */
39809 _ACEOF
39810 cat confdefs.h >>conftest.$ac_ext
39811 cat >>conftest.$ac_ext <<_ACEOF
39812 /* end confdefs.h. */
39813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39815 #define $ac_func innocuous_$ac_func
39816
39817 /* System header to define __stub macros and hopefully few prototypes,
39818 which can conflict with char $ac_func (); below.
39819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39820 <limits.h> exists even on freestanding compilers. */
39821
39822 #ifdef __STDC__
39823 # include <limits.h>
39824 #else
39825 # include <assert.h>
39826 #endif
39827
39828 #undef $ac_func
39829
39830 /* Override any GCC internal prototype to avoid an error.
39831 Use char because int might match the return type of a GCC
39832 builtin and then its argument prototype would still apply. */
39833 #ifdef __cplusplus
39834 extern "C"
39835 #endif
39836 char $ac_func ();
39837 /* The GNU C library defines this for functions which it implements
39838 to always fail with ENOSYS. Some functions are actually named
39839 something starting with __ and the normal name is an alias. */
39840 #if defined __stub_$ac_func || defined __stub___$ac_func
39841 choke me
39842 #endif
39843
39844 int
39845 main ()
39846 {
39847 return $ac_func ();
39848 ;
39849 return 0;
39850 }
39851 _ACEOF
39852 rm -f conftest.$ac_objext conftest$ac_exeext
39853 if { (ac_try="$ac_link"
39854 case "(($ac_try" in
39855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39856 *) ac_try_echo=$ac_try;;
39857 esac
39858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39859 (eval "$ac_link") 2>conftest.er1
39860 ac_status=$?
39861 grep -v '^ *+' conftest.er1 >conftest.err
39862 rm -f conftest.er1
39863 cat conftest.err >&5
39864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39865 (exit $ac_status); } && {
39866 test -z "$ac_c_werror_flag" ||
39867 test ! -s conftest.err
39868 } && test -s conftest$ac_exeext &&
39869 $as_test_x conftest$ac_exeext; then
39870 eval "$as_ac_var=yes"
39871 else
39872 echo "$as_me: failed program was:" >&5
39873 sed 's/^/| /' conftest.$ac_ext >&5
39874
39875 eval "$as_ac_var=no"
39876 fi
39877
39878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39879 conftest$ac_exeext conftest.$ac_ext
39880 fi
39881 ac_res=`eval echo '${'$as_ac_var'}'`
39882 { echo "$as_me:$LINENO: result: $ac_res" >&5
39883 echo "${ECHO_T}$ac_res" >&6; }
39884 if test `eval echo '${'$as_ac_var'}'` = yes; then
39885 cat >>confdefs.h <<_ACEOF
39886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39887 _ACEOF
39888 break
39889 fi
39890 done
39891
39892
39893 HAVE_SOME_SLEEP_FUNC=0
39894 if test "$USE_BEOS" = 1; then
39895 cat >>confdefs.h <<\_ACEOF
39896 #define HAVE_SLEEP 1
39897 _ACEOF
39898
39899 HAVE_SOME_SLEEP_FUNC=1
39900 fi
39901
39902 if test "$USE_DARWIN" = 1; then
39903 cat >>confdefs.h <<\_ACEOF
39904 #define HAVE_USLEEP 1
39905 _ACEOF
39906
39907 HAVE_SOME_SLEEP_FUNC=1
39908 fi
39909
39910 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39911 POSIX4_LINK=
39912
39913 for ac_func in nanosleep
39914 do
39915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39919 echo $ECHO_N "(cached) $ECHO_C" >&6
39920 else
39921 cat >conftest.$ac_ext <<_ACEOF
39922 /* confdefs.h. */
39923 _ACEOF
39924 cat confdefs.h >>conftest.$ac_ext
39925 cat >>conftest.$ac_ext <<_ACEOF
39926 /* end confdefs.h. */
39927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39929 #define $ac_func innocuous_$ac_func
39930
39931 /* System header to define __stub macros and hopefully few prototypes,
39932 which can conflict with char $ac_func (); below.
39933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39934 <limits.h> exists even on freestanding compilers. */
39935
39936 #ifdef __STDC__
39937 # include <limits.h>
39938 #else
39939 # include <assert.h>
39940 #endif
39941
39942 #undef $ac_func
39943
39944 /* Override any GCC internal prototype to avoid an error.
39945 Use char because int might match the return type of a GCC
39946 builtin and then its argument prototype would still apply. */
39947 #ifdef __cplusplus
39948 extern "C"
39949 #endif
39950 char $ac_func ();
39951 /* The GNU C library defines this for functions which it implements
39952 to always fail with ENOSYS. Some functions are actually named
39953 something starting with __ and the normal name is an alias. */
39954 #if defined __stub_$ac_func || defined __stub___$ac_func
39955 choke me
39956 #endif
39957
39958 int
39959 main ()
39960 {
39961 return $ac_func ();
39962 ;
39963 return 0;
39964 }
39965 _ACEOF
39966 rm -f conftest.$ac_objext conftest$ac_exeext
39967 if { (ac_try="$ac_link"
39968 case "(($ac_try" in
39969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39970 *) ac_try_echo=$ac_try;;
39971 esac
39972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39973 (eval "$ac_link") 2>conftest.er1
39974 ac_status=$?
39975 grep -v '^ *+' conftest.er1 >conftest.err
39976 rm -f conftest.er1
39977 cat conftest.err >&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); } && {
39980 test -z "$ac_c_werror_flag" ||
39981 test ! -s conftest.err
39982 } && test -s conftest$ac_exeext &&
39983 $as_test_x conftest$ac_exeext; then
39984 eval "$as_ac_var=yes"
39985 else
39986 echo "$as_me: failed program was:" >&5
39987 sed 's/^/| /' conftest.$ac_ext >&5
39988
39989 eval "$as_ac_var=no"
39990 fi
39991
39992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39993 conftest$ac_exeext conftest.$ac_ext
39994 fi
39995 ac_res=`eval echo '${'$as_ac_var'}'`
39996 { echo "$as_me:$LINENO: result: $ac_res" >&5
39997 echo "${ECHO_T}$ac_res" >&6; }
39998 if test `eval echo '${'$as_ac_var'}'` = yes; then
39999 cat >>confdefs.h <<_ACEOF
40000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40001 _ACEOF
40002 cat >>confdefs.h <<\_ACEOF
40003 #define HAVE_NANOSLEEP 1
40004 _ACEOF
40005
40006 else
40007
40008 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40009 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40010 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40011 echo $ECHO_N "(cached) $ECHO_C" >&6
40012 else
40013 ac_check_lib_save_LIBS=$LIBS
40014 LIBS="-lposix4 $LIBS"
40015 cat >conftest.$ac_ext <<_ACEOF
40016 /* confdefs.h. */
40017 _ACEOF
40018 cat confdefs.h >>conftest.$ac_ext
40019 cat >>conftest.$ac_ext <<_ACEOF
40020 /* end confdefs.h. */
40021
40022 /* Override any GCC internal prototype to avoid an error.
40023 Use char because int might match the return type of a GCC
40024 builtin and then its argument prototype would still apply. */
40025 #ifdef __cplusplus
40026 extern "C"
40027 #endif
40028 char nanosleep ();
40029 int
40030 main ()
40031 {
40032 return nanosleep ();
40033 ;
40034 return 0;
40035 }
40036 _ACEOF
40037 rm -f conftest.$ac_objext conftest$ac_exeext
40038 if { (ac_try="$ac_link"
40039 case "(($ac_try" in
40040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40041 *) ac_try_echo=$ac_try;;
40042 esac
40043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40044 (eval "$ac_link") 2>conftest.er1
40045 ac_status=$?
40046 grep -v '^ *+' conftest.er1 >conftest.err
40047 rm -f conftest.er1
40048 cat conftest.err >&5
40049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40050 (exit $ac_status); } && {
40051 test -z "$ac_c_werror_flag" ||
40052 test ! -s conftest.err
40053 } && test -s conftest$ac_exeext &&
40054 $as_test_x conftest$ac_exeext; then
40055 ac_cv_lib_posix4_nanosleep=yes
40056 else
40057 echo "$as_me: failed program was:" >&5
40058 sed 's/^/| /' conftest.$ac_ext >&5
40059
40060 ac_cv_lib_posix4_nanosleep=no
40061 fi
40062
40063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40064 conftest$ac_exeext conftest.$ac_ext
40065 LIBS=$ac_check_lib_save_LIBS
40066 fi
40067 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40068 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40069 if test $ac_cv_lib_posix4_nanosleep = yes; then
40070
40071 cat >>confdefs.h <<\_ACEOF
40072 #define HAVE_NANOSLEEP 1
40073 _ACEOF
40074
40075 POSIX4_LINK=" -lposix4"
40076
40077 else
40078
40079
40080 for wx_func in usleep
40081 do
40082 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40083 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40084 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40085 echo $ECHO_N "(cached) $ECHO_C" >&6
40086 else
40087
40088 cat >conftest.$ac_ext <<_ACEOF
40089
40090 /* confdefs.h. */
40091 _ACEOF
40092 cat confdefs.h >>conftest.$ac_ext
40093 cat >>conftest.$ac_ext <<_ACEOF
40094 /* end confdefs.h. */
40095
40096
40097 $ac_includes_default
40098
40099 int
40100 main ()
40101 {
40102
40103 #ifndef $wx_func
40104 &$wx_func;
40105 #endif
40106
40107
40108 ;
40109 return 0;
40110 }
40111
40112 _ACEOF
40113 rm -f conftest.$ac_objext conftest$ac_exeext
40114 if { (ac_try="$ac_link"
40115 case "(($ac_try" in
40116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40117 *) ac_try_echo=$ac_try;;
40118 esac
40119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40120 (eval "$ac_link") 2>conftest.er1
40121 ac_status=$?
40122 grep -v '^ *+' conftest.er1 >conftest.err
40123 rm -f conftest.er1
40124 cat conftest.err >&5
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); } && {
40127 test -z "$ac_c_werror_flag" ||
40128 test ! -s conftest.err
40129 } && test -s conftest$ac_exeext &&
40130 $as_test_x conftest$ac_exeext; then
40131 eval wx_cv_func_$wx_func=yes
40132 else
40133 echo "$as_me: failed program was:" >&5
40134 sed 's/^/| /' conftest.$ac_ext >&5
40135
40136 eval wx_cv_func_$wx_func=no
40137 fi
40138
40139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40140 conftest$ac_exeext conftest.$ac_ext
40141
40142 fi
40143 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40144 { echo "$as_me:$LINENO: result: $ac_res" >&5
40145 echo "${ECHO_T}$ac_res" >&6; }
40146
40147 if eval test \$wx_cv_func_$wx_func = yes
40148 then
40149 cat >>confdefs.h <<_ACEOF
40150 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40151 _ACEOF
40152
40153
40154 else
40155 :
40156 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40157 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40158
40159 fi
40160 done
40161
40162
40163
40164 fi
40165
40166
40167
40168 fi
40169 done
40170
40171 fi
40172
40173
40174 for wx_func in uname
40175 do
40176 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40177 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40178 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40179 echo $ECHO_N "(cached) $ECHO_C" >&6
40180 else
40181
40182 cat >conftest.$ac_ext <<_ACEOF
40183
40184 /* confdefs.h. */
40185 _ACEOF
40186 cat confdefs.h >>conftest.$ac_ext
40187 cat >>conftest.$ac_ext <<_ACEOF
40188 /* end confdefs.h. */
40189
40190 #include <sys/utsname.h>
40191 $ac_includes_default
40192
40193 int
40194 main ()
40195 {
40196
40197 #ifndef $wx_func
40198 &$wx_func;
40199 #endif
40200
40201
40202 ;
40203 return 0;
40204 }
40205
40206 _ACEOF
40207 rm -f conftest.$ac_objext conftest$ac_exeext
40208 if { (ac_try="$ac_link"
40209 case "(($ac_try" in
40210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40211 *) ac_try_echo=$ac_try;;
40212 esac
40213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40214 (eval "$ac_link") 2>conftest.er1
40215 ac_status=$?
40216 grep -v '^ *+' conftest.er1 >conftest.err
40217 rm -f conftest.er1
40218 cat conftest.err >&5
40219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40220 (exit $ac_status); } && {
40221 test -z "$ac_c_werror_flag" ||
40222 test ! -s conftest.err
40223 } && test -s conftest$ac_exeext &&
40224 $as_test_x conftest$ac_exeext; then
40225 eval wx_cv_func_$wx_func=yes
40226 else
40227 echo "$as_me: failed program was:" >&5
40228 sed 's/^/| /' conftest.$ac_ext >&5
40229
40230 eval wx_cv_func_$wx_func=no
40231 fi
40232
40233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40234 conftest$ac_exeext conftest.$ac_ext
40235
40236 fi
40237 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40238 { echo "$as_me:$LINENO: result: $ac_res" >&5
40239 echo "${ECHO_T}$ac_res" >&6; }
40240
40241 if eval test \$wx_cv_func_$wx_func = yes
40242 then
40243 cat >>confdefs.h <<_ACEOF
40244 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40245 _ACEOF
40246
40247
40248 else
40249 :
40250
40251 fi
40252 done
40253
40254 if test "$wx_cv_func_uname" != yes; then
40255
40256 for wx_func in gethostname
40257 do
40258 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40259 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40260 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40261 echo $ECHO_N "(cached) $ECHO_C" >&6
40262 else
40263
40264 cat >conftest.$ac_ext <<_ACEOF
40265
40266 /* confdefs.h. */
40267 _ACEOF
40268 cat confdefs.h >>conftest.$ac_ext
40269 cat >>conftest.$ac_ext <<_ACEOF
40270 /* end confdefs.h. */
40271
40272
40273 $ac_includes_default
40274
40275 int
40276 main ()
40277 {
40278
40279 #ifndef $wx_func
40280 &$wx_func;
40281 #endif
40282
40283
40284 ;
40285 return 0;
40286 }
40287
40288 _ACEOF
40289 rm -f conftest.$ac_objext conftest$ac_exeext
40290 if { (ac_try="$ac_link"
40291 case "(($ac_try" in
40292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40293 *) ac_try_echo=$ac_try;;
40294 esac
40295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40296 (eval "$ac_link") 2>conftest.er1
40297 ac_status=$?
40298 grep -v '^ *+' conftest.er1 >conftest.err
40299 rm -f conftest.er1
40300 cat conftest.err >&5
40301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40302 (exit $ac_status); } && {
40303 test -z "$ac_c_werror_flag" ||
40304 test ! -s conftest.err
40305 } && test -s conftest$ac_exeext &&
40306 $as_test_x conftest$ac_exeext; then
40307 eval wx_cv_func_$wx_func=yes
40308 else
40309 echo "$as_me: failed program was:" >&5
40310 sed 's/^/| /' conftest.$ac_ext >&5
40311
40312 eval wx_cv_func_$wx_func=no
40313 fi
40314
40315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40316 conftest$ac_exeext conftest.$ac_ext
40317
40318 fi
40319 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40320 { echo "$as_me:$LINENO: result: $ac_res" >&5
40321 echo "${ECHO_T}$ac_res" >&6; }
40322
40323 if eval test \$wx_cv_func_$wx_func = yes
40324 then
40325 cat >>confdefs.h <<_ACEOF
40326 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40327 _ACEOF
40328
40329
40330 else
40331 :
40332
40333 fi
40334 done
40335
40336 fi
40337
40338
40339 for wx_func in strtok_r
40340 do
40341 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40342 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40343 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40344 echo $ECHO_N "(cached) $ECHO_C" >&6
40345 else
40346
40347 cat >conftest.$ac_ext <<_ACEOF
40348
40349 /* confdefs.h. */
40350 _ACEOF
40351 cat confdefs.h >>conftest.$ac_ext
40352 cat >>conftest.$ac_ext <<_ACEOF
40353 /* end confdefs.h. */
40354
40355 #define _REENTRANT
40356 $ac_includes_default
40357
40358 int
40359 main ()
40360 {
40361
40362 #ifndef $wx_func
40363 &$wx_func;
40364 #endif
40365
40366
40367 ;
40368 return 0;
40369 }
40370
40371 _ACEOF
40372 rm -f conftest.$ac_objext conftest$ac_exeext
40373 if { (ac_try="$ac_link"
40374 case "(($ac_try" in
40375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40376 *) ac_try_echo=$ac_try;;
40377 esac
40378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40379 (eval "$ac_link") 2>conftest.er1
40380 ac_status=$?
40381 grep -v '^ *+' conftest.er1 >conftest.err
40382 rm -f conftest.er1
40383 cat conftest.err >&5
40384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40385 (exit $ac_status); } && {
40386 test -z "$ac_c_werror_flag" ||
40387 test ! -s conftest.err
40388 } && test -s conftest$ac_exeext &&
40389 $as_test_x conftest$ac_exeext; then
40390 eval wx_cv_func_$wx_func=yes
40391 else
40392 echo "$as_me: failed program was:" >&5
40393 sed 's/^/| /' conftest.$ac_ext >&5
40394
40395 eval wx_cv_func_$wx_func=no
40396 fi
40397
40398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40399 conftest$ac_exeext conftest.$ac_ext
40400
40401 fi
40402 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40403 { echo "$as_me:$LINENO: result: $ac_res" >&5
40404 echo "${ECHO_T}$ac_res" >&6; }
40405
40406 if eval test \$wx_cv_func_$wx_func = yes
40407 then
40408 cat >>confdefs.h <<_ACEOF
40409 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40410 _ACEOF
40411
40412
40413 else
40414 :
40415
40416 fi
40417 done
40418
40419
40420 INET_LINK=
40421
40422 for ac_func in inet_addr
40423 do
40424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40425 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40427 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40428 echo $ECHO_N "(cached) $ECHO_C" >&6
40429 else
40430 cat >conftest.$ac_ext <<_ACEOF
40431 /* confdefs.h. */
40432 _ACEOF
40433 cat confdefs.h >>conftest.$ac_ext
40434 cat >>conftest.$ac_ext <<_ACEOF
40435 /* end confdefs.h. */
40436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40438 #define $ac_func innocuous_$ac_func
40439
40440 /* System header to define __stub macros and hopefully few prototypes,
40441 which can conflict with char $ac_func (); below.
40442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40443 <limits.h> exists even on freestanding compilers. */
40444
40445 #ifdef __STDC__
40446 # include <limits.h>
40447 #else
40448 # include <assert.h>
40449 #endif
40450
40451 #undef $ac_func
40452
40453 /* Override any GCC internal prototype to avoid an error.
40454 Use char because int might match the return type of a GCC
40455 builtin and then its argument prototype would still apply. */
40456 #ifdef __cplusplus
40457 extern "C"
40458 #endif
40459 char $ac_func ();
40460 /* The GNU C library defines this for functions which it implements
40461 to always fail with ENOSYS. Some functions are actually named
40462 something starting with __ and the normal name is an alias. */
40463 #if defined __stub_$ac_func || defined __stub___$ac_func
40464 choke me
40465 #endif
40466
40467 int
40468 main ()
40469 {
40470 return $ac_func ();
40471 ;
40472 return 0;
40473 }
40474 _ACEOF
40475 rm -f conftest.$ac_objext conftest$ac_exeext
40476 if { (ac_try="$ac_link"
40477 case "(($ac_try" in
40478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40479 *) ac_try_echo=$ac_try;;
40480 esac
40481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40482 (eval "$ac_link") 2>conftest.er1
40483 ac_status=$?
40484 grep -v '^ *+' conftest.er1 >conftest.err
40485 rm -f conftest.er1
40486 cat conftest.err >&5
40487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40488 (exit $ac_status); } && {
40489 test -z "$ac_c_werror_flag" ||
40490 test ! -s conftest.err
40491 } && test -s conftest$ac_exeext &&
40492 $as_test_x conftest$ac_exeext; then
40493 eval "$as_ac_var=yes"
40494 else
40495 echo "$as_me: failed program was:" >&5
40496 sed 's/^/| /' conftest.$ac_ext >&5
40497
40498 eval "$as_ac_var=no"
40499 fi
40500
40501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40502 conftest$ac_exeext conftest.$ac_ext
40503 fi
40504 ac_res=`eval echo '${'$as_ac_var'}'`
40505 { echo "$as_me:$LINENO: result: $ac_res" >&5
40506 echo "${ECHO_T}$ac_res" >&6; }
40507 if test `eval echo '${'$as_ac_var'}'` = yes; then
40508 cat >>confdefs.h <<_ACEOF
40509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40510 _ACEOF
40511 cat >>confdefs.h <<\_ACEOF
40512 #define HAVE_INET_ADDR 1
40513 _ACEOF
40514
40515 else
40516
40517 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40518 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40519 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40520 echo $ECHO_N "(cached) $ECHO_C" >&6
40521 else
40522 ac_check_lib_save_LIBS=$LIBS
40523 LIBS="-lnsl $LIBS"
40524 cat >conftest.$ac_ext <<_ACEOF
40525 /* confdefs.h. */
40526 _ACEOF
40527 cat confdefs.h >>conftest.$ac_ext
40528 cat >>conftest.$ac_ext <<_ACEOF
40529 /* end confdefs.h. */
40530
40531 /* Override any GCC internal prototype to avoid an error.
40532 Use char because int might match the return type of a GCC
40533 builtin and then its argument prototype would still apply. */
40534 #ifdef __cplusplus
40535 extern "C"
40536 #endif
40537 char inet_addr ();
40538 int
40539 main ()
40540 {
40541 return inet_addr ();
40542 ;
40543 return 0;
40544 }
40545 _ACEOF
40546 rm -f conftest.$ac_objext conftest$ac_exeext
40547 if { (ac_try="$ac_link"
40548 case "(($ac_try" in
40549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40550 *) ac_try_echo=$ac_try;;
40551 esac
40552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40553 (eval "$ac_link") 2>conftest.er1
40554 ac_status=$?
40555 grep -v '^ *+' conftest.er1 >conftest.err
40556 rm -f conftest.er1
40557 cat conftest.err >&5
40558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559 (exit $ac_status); } && {
40560 test -z "$ac_c_werror_flag" ||
40561 test ! -s conftest.err
40562 } && test -s conftest$ac_exeext &&
40563 $as_test_x conftest$ac_exeext; then
40564 ac_cv_lib_nsl_inet_addr=yes
40565 else
40566 echo "$as_me: failed program was:" >&5
40567 sed 's/^/| /' conftest.$ac_ext >&5
40568
40569 ac_cv_lib_nsl_inet_addr=no
40570 fi
40571
40572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40573 conftest$ac_exeext conftest.$ac_ext
40574 LIBS=$ac_check_lib_save_LIBS
40575 fi
40576 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40577 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40578 if test $ac_cv_lib_nsl_inet_addr = yes; then
40579 INET_LINK="nsl"
40580 else
40581
40582 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40583 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40584 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40585 echo $ECHO_N "(cached) $ECHO_C" >&6
40586 else
40587 ac_check_lib_save_LIBS=$LIBS
40588 LIBS="-lresolv $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 inet_addr ();
40603 int
40604 main ()
40605 {
40606 return inet_addr ();
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_resolv_inet_addr=yes
40630 else
40631 echo "$as_me: failed program was:" >&5
40632 sed 's/^/| /' conftest.$ac_ext >&5
40633
40634 ac_cv_lib_resolv_inet_addr=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_resolv_inet_addr" >&5
40642 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40643 if test $ac_cv_lib_resolv_inet_addr = yes; then
40644 INET_LINK="resolv"
40645 else
40646
40647 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40648 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40649 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40650 echo $ECHO_N "(cached) $ECHO_C" >&6
40651 else
40652 ac_check_lib_save_LIBS=$LIBS
40653 LIBS="-lsocket $LIBS"
40654 cat >conftest.$ac_ext <<_ACEOF
40655 /* confdefs.h. */
40656 _ACEOF
40657 cat confdefs.h >>conftest.$ac_ext
40658 cat >>conftest.$ac_ext <<_ACEOF
40659 /* end confdefs.h. */
40660
40661 /* Override any GCC internal prototype to avoid an error.
40662 Use char because int might match the return type of a GCC
40663 builtin and then its argument prototype would still apply. */
40664 #ifdef __cplusplus
40665 extern "C"
40666 #endif
40667 char inet_addr ();
40668 int
40669 main ()
40670 {
40671 return inet_addr ();
40672 ;
40673 return 0;
40674 }
40675 _ACEOF
40676 rm -f conftest.$ac_objext conftest$ac_exeext
40677 if { (ac_try="$ac_link"
40678 case "(($ac_try" in
40679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40680 *) ac_try_echo=$ac_try;;
40681 esac
40682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40683 (eval "$ac_link") 2>conftest.er1
40684 ac_status=$?
40685 grep -v '^ *+' conftest.er1 >conftest.err
40686 rm -f conftest.er1
40687 cat conftest.err >&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } && {
40690 test -z "$ac_c_werror_flag" ||
40691 test ! -s conftest.err
40692 } && test -s conftest$ac_exeext &&
40693 $as_test_x conftest$ac_exeext; then
40694 ac_cv_lib_socket_inet_addr=yes
40695 else
40696 echo "$as_me: failed program was:" >&5
40697 sed 's/^/| /' conftest.$ac_ext >&5
40698
40699 ac_cv_lib_socket_inet_addr=no
40700 fi
40701
40702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40703 conftest$ac_exeext conftest.$ac_ext
40704 LIBS=$ac_check_lib_save_LIBS
40705 fi
40706 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40707 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40708 if test $ac_cv_lib_socket_inet_addr = yes; then
40709 INET_LINK="socket"
40710
40711 fi
40712
40713
40714
40715 fi
40716
40717
40718
40719 fi
40720
40721
40722
40723 fi
40724 done
40725
40726
40727
40728 for ac_func in inet_aton
40729 do
40730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40734 echo $ECHO_N "(cached) $ECHO_C" >&6
40735 else
40736 cat >conftest.$ac_ext <<_ACEOF
40737 /* confdefs.h. */
40738 _ACEOF
40739 cat confdefs.h >>conftest.$ac_ext
40740 cat >>conftest.$ac_ext <<_ACEOF
40741 /* end confdefs.h. */
40742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40744 #define $ac_func innocuous_$ac_func
40745
40746 /* System header to define __stub macros and hopefully few prototypes,
40747 which can conflict with char $ac_func (); below.
40748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40749 <limits.h> exists even on freestanding compilers. */
40750
40751 #ifdef __STDC__
40752 # include <limits.h>
40753 #else
40754 # include <assert.h>
40755 #endif
40756
40757 #undef $ac_func
40758
40759 /* Override any GCC internal prototype to avoid an error.
40760 Use char because int might match the return type of a GCC
40761 builtin and then its argument prototype would still apply. */
40762 #ifdef __cplusplus
40763 extern "C"
40764 #endif
40765 char $ac_func ();
40766 /* The GNU C library defines this for functions which it implements
40767 to always fail with ENOSYS. Some functions are actually named
40768 something starting with __ and the normal name is an alias. */
40769 #if defined __stub_$ac_func || defined __stub___$ac_func
40770 choke me
40771 #endif
40772
40773 int
40774 main ()
40775 {
40776 return $ac_func ();
40777 ;
40778 return 0;
40779 }
40780 _ACEOF
40781 rm -f conftest.$ac_objext conftest$ac_exeext
40782 if { (ac_try="$ac_link"
40783 case "(($ac_try" in
40784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40785 *) ac_try_echo=$ac_try;;
40786 esac
40787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40788 (eval "$ac_link") 2>conftest.er1
40789 ac_status=$?
40790 grep -v '^ *+' conftest.er1 >conftest.err
40791 rm -f conftest.er1
40792 cat conftest.err >&5
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); } && {
40795 test -z "$ac_c_werror_flag" ||
40796 test ! -s conftest.err
40797 } && test -s conftest$ac_exeext &&
40798 $as_test_x conftest$ac_exeext; then
40799 eval "$as_ac_var=yes"
40800 else
40801 echo "$as_me: failed program was:" >&5
40802 sed 's/^/| /' conftest.$ac_ext >&5
40803
40804 eval "$as_ac_var=no"
40805 fi
40806
40807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40808 conftest$ac_exeext conftest.$ac_ext
40809 fi
40810 ac_res=`eval echo '${'$as_ac_var'}'`
40811 { echo "$as_me:$LINENO: result: $ac_res" >&5
40812 echo "${ECHO_T}$ac_res" >&6; }
40813 if test `eval echo '${'$as_ac_var'}'` = yes; then
40814 cat >>confdefs.h <<_ACEOF
40815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40816 _ACEOF
40817 cat >>confdefs.h <<\_ACEOF
40818 #define HAVE_INET_ATON 1
40819 _ACEOF
40820
40821 else
40822
40823 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40824 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40825 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40826 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40827 echo $ECHO_N "(cached) $ECHO_C" >&6
40828 else
40829 ac_check_lib_save_LIBS=$LIBS
40830 LIBS="-l$INET_LINK $LIBS"
40831 cat >conftest.$ac_ext <<_ACEOF
40832 /* confdefs.h. */
40833 _ACEOF
40834 cat confdefs.h >>conftest.$ac_ext
40835 cat >>conftest.$ac_ext <<_ACEOF
40836 /* end confdefs.h. */
40837
40838 /* Override any GCC internal prototype to avoid an error.
40839 Use char because int might match the return type of a GCC
40840 builtin and then its argument prototype would still apply. */
40841 #ifdef __cplusplus
40842 extern "C"
40843 #endif
40844 char inet_aton ();
40845 int
40846 main ()
40847 {
40848 return inet_aton ();
40849 ;
40850 return 0;
40851 }
40852 _ACEOF
40853 rm -f conftest.$ac_objext conftest$ac_exeext
40854 if { (ac_try="$ac_link"
40855 case "(($ac_try" in
40856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40857 *) ac_try_echo=$ac_try;;
40858 esac
40859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40860 (eval "$ac_link") 2>conftest.er1
40861 ac_status=$?
40862 grep -v '^ *+' conftest.er1 >conftest.err
40863 rm -f conftest.er1
40864 cat conftest.err >&5
40865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40866 (exit $ac_status); } && {
40867 test -z "$ac_c_werror_flag" ||
40868 test ! -s conftest.err
40869 } && test -s conftest$ac_exeext &&
40870 $as_test_x conftest$ac_exeext; then
40871 eval "$as_ac_Lib=yes"
40872 else
40873 echo "$as_me: failed program was:" >&5
40874 sed 's/^/| /' conftest.$ac_ext >&5
40875
40876 eval "$as_ac_Lib=no"
40877 fi
40878
40879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40880 conftest$ac_exeext conftest.$ac_ext
40881 LIBS=$ac_check_lib_save_LIBS
40882 fi
40883 ac_res=`eval echo '${'$as_ac_Lib'}'`
40884 { echo "$as_me:$LINENO: result: $ac_res" >&5
40885 echo "${ECHO_T}$ac_res" >&6; }
40886 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40887 cat >>confdefs.h <<\_ACEOF
40888 #define HAVE_INET_ATON 1
40889 _ACEOF
40890
40891 fi
40892
40893
40894 fi
40895 done
40896
40897
40898 if test "x$INET_LINK" != "x"; then
40899 cat >>confdefs.h <<\_ACEOF
40900 #define HAVE_INET_ADDR 1
40901 _ACEOF
40902
40903 INET_LINK=" -l$INET_LINK"
40904 fi
40905
40906
40907 for wx_func in fdopen
40908 do
40909 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40910 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40911 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40912 echo $ECHO_N "(cached) $ECHO_C" >&6
40913 else
40914
40915 cat >conftest.$ac_ext <<_ACEOF
40916
40917 /* confdefs.h. */
40918 _ACEOF
40919 cat confdefs.h >>conftest.$ac_ext
40920 cat >>conftest.$ac_ext <<_ACEOF
40921 /* end confdefs.h. */
40922
40923
40924 $ac_includes_default
40925
40926 int
40927 main ()
40928 {
40929
40930 #ifndef $wx_func
40931 &$wx_func;
40932 #endif
40933
40934
40935 ;
40936 return 0;
40937 }
40938
40939 _ACEOF
40940 rm -f conftest.$ac_objext conftest$ac_exeext
40941 if { (ac_try="$ac_link"
40942 case "(($ac_try" in
40943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40944 *) ac_try_echo=$ac_try;;
40945 esac
40946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40947 (eval "$ac_link") 2>conftest.er1
40948 ac_status=$?
40949 grep -v '^ *+' conftest.er1 >conftest.err
40950 rm -f conftest.er1
40951 cat conftest.err >&5
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); } && {
40954 test -z "$ac_c_werror_flag" ||
40955 test ! -s conftest.err
40956 } && test -s conftest$ac_exeext &&
40957 $as_test_x conftest$ac_exeext; then
40958 eval wx_cv_func_$wx_func=yes
40959 else
40960 echo "$as_me: failed program was:" >&5
40961 sed 's/^/| /' conftest.$ac_ext >&5
40962
40963 eval wx_cv_func_$wx_func=no
40964 fi
40965
40966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40967 conftest$ac_exeext conftest.$ac_ext
40968
40969 fi
40970 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40971 { echo "$as_me:$LINENO: result: $ac_res" >&5
40972 echo "${ECHO_T}$ac_res" >&6; }
40973
40974 if eval test \$wx_cv_func_$wx_func = yes
40975 then
40976 cat >>confdefs.h <<_ACEOF
40977 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40978 _ACEOF
40979
40980
40981 else
40982 :
40983
40984 fi
40985 done
40986
40987
40988 fi
40989
40990
40991
40992 cat >confcache <<\_ACEOF
40993 # This file is a shell script that caches the results of configure
40994 # tests run on this system so they can be shared between configure
40995 # scripts and configure runs, see configure's option --config-cache.
40996 # It is not useful on other systems. If it contains results you don't
40997 # want to keep, you may remove or edit it.
40998 #
40999 # config.status only pays attention to the cache file if you give it
41000 # the --recheck option to rerun configure.
41001 #
41002 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41003 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41004 # following values.
41005
41006 _ACEOF
41007
41008 # The following way of writing the cache mishandles newlines in values,
41009 # but we know of no workaround that is simple, portable, and efficient.
41010 # So, we kill variables containing newlines.
41011 # Ultrix sh set writes to stderr and can't be redirected directly,
41012 # and sets the high bit in the cache file unless we assign to the vars.
41013 (
41014 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41015 eval ac_val=\$$ac_var
41016 case $ac_val in #(
41017 *${as_nl}*)
41018 case $ac_var in #(
41019 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41020 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41021 esac
41022 case $ac_var in #(
41023 _ | IFS | as_nl) ;; #(
41024 *) $as_unset $ac_var ;;
41025 esac ;;
41026 esac
41027 done
41028
41029 (set) 2>&1 |
41030 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41031 *${as_nl}ac_space=\ *)
41032 # `set' does not quote correctly, so add quotes (double-quote
41033 # substitution turns \\\\ into \\, and sed turns \\ into \).
41034 sed -n \
41035 "s/'/'\\\\''/g;
41036 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41037 ;; #(
41038 *)
41039 # `set' quotes correctly as required by POSIX, so do not add quotes.
41040 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41041 ;;
41042 esac |
41043 sort
41044 ) |
41045 sed '
41046 /^ac_cv_env_/b end
41047 t clear
41048 :clear
41049 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41050 t end
41051 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41052 :end' >>confcache
41053 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41054 if test -w "$cache_file"; then
41055 test "x$cache_file" != "x/dev/null" &&
41056 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41057 echo "$as_me: updating cache $cache_file" >&6;}
41058 cat confcache >$cache_file
41059 else
41060 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41061 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41062 fi
41063 fi
41064 rm -f confcache
41065
41066
41067 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41068
41069
41070 THREADS_LINK=
41071 THREADS_CFLAGS=
41072
41073 if test "$wxUSE_THREADS" = "yes" ; then
41074 if test "$USE_BEOS" = 1; then
41075 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41076 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41077 wxUSE_THREADS="no"
41078 fi
41079 fi
41080
41081 if test "$wxUSE_THREADS" = "yes" ; then
41082
41083
41084 THREAD_OPTS="-pthread"
41085 if test "x$SUNCXX" = xyes; then
41086 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41087 fi
41088
41089 case "${host}" in
41090 *-*-solaris2* | *-*-sunos4* )
41091 if test "x$GCC" = "xyes"; then
41092 THREAD_OPTS="-pthreads $THREAD_OPTS"
41093 fi
41094 ;;
41095 *-*-freebsd*)
41096 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41097 ;;
41098 *-*-darwin* | *-*-cygwin* )
41099 THREAD_OPTS=""
41100 ;;
41101 *-*-aix*)
41102 THREAD_OPTS="pthreads"
41103 ;;
41104 *-hp-hpux* )
41105 if test "x$GCC" = "xyes"; then
41106 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41107 THREAD_OPTS=""
41108 else
41109 THREAD_OPTS="-mt"
41110 fi
41111 ;;
41112
41113 *-*-irix* )
41114 if test "x$GCC" = "xyes"; then
41115 THREAD_OPTS=""
41116 fi
41117 ;;
41118
41119 *-*-*UnixWare*)
41120 if test "x$GCC" != "xyes"; then
41121 THREAD_OPTS="-Ethread"
41122 fi
41123 ;;
41124 esac
41125
41126 THREAD_OPTS="$THREAD_OPTS pthread none"
41127
41128 THREADS_OK=no
41129 for flag in $THREAD_OPTS; do
41130 case $flag in
41131 none)
41132 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41133 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41134 ;;
41135
41136 -*)
41137 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41138 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41139 THREADS_CFLAGS="$flag"
41140 ;;
41141
41142 *)
41143 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41144 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41145 THREADS_LINK="-l$flag"
41146 ;;
41147 esac
41148
41149 save_LIBS="$LIBS"
41150 save_CFLAGS="$CFLAGS"
41151 LIBS="$THREADS_LINK $LIBS"
41152 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41153
41154 cat >conftest.$ac_ext <<_ACEOF
41155 /* confdefs.h. */
41156 _ACEOF
41157 cat confdefs.h >>conftest.$ac_ext
41158 cat >>conftest.$ac_ext <<_ACEOF
41159 /* end confdefs.h. */
41160 #include <pthread.h>
41161 int
41162 main ()
41163 {
41164 pthread_create(0,0,0,0);
41165 ;
41166 return 0;
41167 }
41168 _ACEOF
41169 rm -f conftest.$ac_objext conftest$ac_exeext
41170 if { (ac_try="$ac_link"
41171 case "(($ac_try" in
41172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41173 *) ac_try_echo=$ac_try;;
41174 esac
41175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41176 (eval "$ac_link") 2>conftest.er1
41177 ac_status=$?
41178 grep -v '^ *+' conftest.er1 >conftest.err
41179 rm -f conftest.er1
41180 cat conftest.err >&5
41181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 (exit $ac_status); } && {
41183 test -z "$ac_c_werror_flag" ||
41184 test ! -s conftest.err
41185 } && test -s conftest$ac_exeext &&
41186 $as_test_x conftest$ac_exeext; then
41187 THREADS_OK=yes
41188 else
41189 echo "$as_me: failed program was:" >&5
41190 sed 's/^/| /' conftest.$ac_ext >&5
41191
41192
41193 fi
41194
41195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41196 conftest$ac_exeext conftest.$ac_ext
41197
41198 LIBS="$save_LIBS"
41199 CFLAGS="$save_CFLAGS"
41200
41201 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41202 echo "${ECHO_T}$THREADS_OK" >&6; }
41203 if test "x$THREADS_OK" = "xyes"; then
41204 break;
41205 fi
41206
41207 THREADS_LINK=""
41208 THREADS_CFLAGS=""
41209 done
41210
41211 if test "x$THREADS_OK" != "xyes"; then
41212 wxUSE_THREADS=no
41213 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41214 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41215 else
41216 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41217 LIBS="$THREADS_LINK $LIBS"
41218
41219 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41220 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41221 flag=no
41222 case "${host}" in
41223 *-aix*)
41224 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41225 flag="-D_THREAD_SAFE"
41226 ;;
41227 *-freebsd*)
41228 flag="-D_THREAD_SAFE"
41229 ;;
41230 *-hp-hpux* )
41231 flag="-D_REENTRANT"
41232 if test "x$GCC" != "xyes"; then
41233 flag="$flag -D_RWSTD_MULTI_THREAD"
41234 fi
41235 ;;
41236 *solaris* | alpha*-osf*)
41237 flag="-D_REENTRANT"
41238 ;;
41239 esac
41240 { echo "$as_me:$LINENO: result: ${flag}" >&5
41241 echo "${ECHO_T}${flag}" >&6; }
41242 if test "x$flag" != xno; then
41243 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41244 fi
41245
41246 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41247 fi
41248 fi
41249
41250 if test "$wxUSE_THREADS" = "yes" ; then
41251
41252 for ac_func in thr_setconcurrency
41253 do
41254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41258 echo $ECHO_N "(cached) $ECHO_C" >&6
41259 else
41260 cat >conftest.$ac_ext <<_ACEOF
41261 /* confdefs.h. */
41262 _ACEOF
41263 cat confdefs.h >>conftest.$ac_ext
41264 cat >>conftest.$ac_ext <<_ACEOF
41265 /* end confdefs.h. */
41266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41268 #define $ac_func innocuous_$ac_func
41269
41270 /* System header to define __stub macros and hopefully few prototypes,
41271 which can conflict with char $ac_func (); below.
41272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41273 <limits.h> exists even on freestanding compilers. */
41274
41275 #ifdef __STDC__
41276 # include <limits.h>
41277 #else
41278 # include <assert.h>
41279 #endif
41280
41281 #undef $ac_func
41282
41283 /* Override any GCC internal prototype to avoid an error.
41284 Use char because int might match the return type of a GCC
41285 builtin and then its argument prototype would still apply. */
41286 #ifdef __cplusplus
41287 extern "C"
41288 #endif
41289 char $ac_func ();
41290 /* The GNU C library defines this for functions which it implements
41291 to always fail with ENOSYS. Some functions are actually named
41292 something starting with __ and the normal name is an alias. */
41293 #if defined __stub_$ac_func || defined __stub___$ac_func
41294 choke me
41295 #endif
41296
41297 int
41298 main ()
41299 {
41300 return $ac_func ();
41301 ;
41302 return 0;
41303 }
41304 _ACEOF
41305 rm -f conftest.$ac_objext conftest$ac_exeext
41306 if { (ac_try="$ac_link"
41307 case "(($ac_try" in
41308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41309 *) ac_try_echo=$ac_try;;
41310 esac
41311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41312 (eval "$ac_link") 2>conftest.er1
41313 ac_status=$?
41314 grep -v '^ *+' conftest.er1 >conftest.err
41315 rm -f conftest.er1
41316 cat conftest.err >&5
41317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41318 (exit $ac_status); } && {
41319 test -z "$ac_c_werror_flag" ||
41320 test ! -s conftest.err
41321 } && test -s conftest$ac_exeext &&
41322 $as_test_x conftest$ac_exeext; then
41323 eval "$as_ac_var=yes"
41324 else
41325 echo "$as_me: failed program was:" >&5
41326 sed 's/^/| /' conftest.$ac_ext >&5
41327
41328 eval "$as_ac_var=no"
41329 fi
41330
41331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41332 conftest$ac_exeext conftest.$ac_ext
41333 fi
41334 ac_res=`eval echo '${'$as_ac_var'}'`
41335 { echo "$as_me:$LINENO: result: $ac_res" >&5
41336 echo "${ECHO_T}$ac_res" >&6; }
41337 if test `eval echo '${'$as_ac_var'}'` = yes; then
41338 cat >>confdefs.h <<_ACEOF
41339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41340 _ACEOF
41341
41342 fi
41343 done
41344
41345
41346 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41347 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41348 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41349 echo $ECHO_N "(cached) $ECHO_C" >&6
41350 else
41351
41352 ac_ext=cpp
41353 ac_cpp='$CXXCPP $CPPFLAGS'
41354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41357
41358 cat >conftest.$ac_ext <<_ACEOF
41359 /* confdefs.h. */
41360 _ACEOF
41361 cat confdefs.h >>conftest.$ac_ext
41362 cat >>conftest.$ac_ext <<_ACEOF
41363 /* end confdefs.h. */
41364 #include <pthread.h>
41365 void ThreadCleanupFunc(void *p);
41366
41367 int
41368 main ()
41369 {
41370
41371 void *p;
41372 pthread_cleanup_push(ThreadCleanupFunc, p);
41373 pthread_cleanup_pop(0);
41374
41375 ;
41376 return 0;
41377 }
41378 _ACEOF
41379 rm -f conftest.$ac_objext
41380 if { (ac_try="$ac_compile"
41381 case "(($ac_try" in
41382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41383 *) ac_try_echo=$ac_try;;
41384 esac
41385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41386 (eval "$ac_compile") 2>conftest.er1
41387 ac_status=$?
41388 grep -v '^ *+' conftest.er1 >conftest.err
41389 rm -f conftest.er1
41390 cat conftest.err >&5
41391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41392 (exit $ac_status); } && {
41393 test -z "$ac_cxx_werror_flag" ||
41394 test ! -s conftest.err
41395 } && test -s conftest.$ac_objext; then
41396
41397 wx_cv_func_pthread_cleanup=yes
41398
41399 else
41400 echo "$as_me: failed program was:" >&5
41401 sed 's/^/| /' conftest.$ac_ext >&5
41402
41403
41404 wx_cv_func_pthread_cleanup=no
41405
41406
41407 fi
41408
41409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41410 ac_ext=c
41411 ac_cpp='$CPP $CPPFLAGS'
41412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41415
41416
41417 fi
41418 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41419 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41420 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41421 cat >>confdefs.h <<\_ACEOF
41422 #define wxHAVE_PTHREAD_CLEANUP 1
41423 _ACEOF
41424
41425 fi
41426
41427 { echo "$as_me:$LINENO: checking for sched.h" >&5
41428 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
41429 if test "${ac_cv_header_sched_h+set}" = set; then
41430 echo $ECHO_N "(cached) $ECHO_C" >&6
41431 else
41432 cat >conftest.$ac_ext <<_ACEOF
41433 /* confdefs.h. */
41434 _ACEOF
41435 cat confdefs.h >>conftest.$ac_ext
41436 cat >>conftest.$ac_ext <<_ACEOF
41437 /* end confdefs.h. */
41438 $ac_includes_default
41439
41440 #include <sched.h>
41441 _ACEOF
41442 rm -f conftest.$ac_objext
41443 if { (ac_try="$ac_compile"
41444 case "(($ac_try" in
41445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41446 *) ac_try_echo=$ac_try;;
41447 esac
41448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41449 (eval "$ac_compile") 2>conftest.er1
41450 ac_status=$?
41451 grep -v '^ *+' conftest.er1 >conftest.err
41452 rm -f conftest.er1
41453 cat conftest.err >&5
41454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41455 (exit $ac_status); } && {
41456 test -z "$ac_c_werror_flag" ||
41457 test ! -s conftest.err
41458 } && test -s conftest.$ac_objext; then
41459 ac_cv_header_sched_h=yes
41460 else
41461 echo "$as_me: failed program was:" >&5
41462 sed 's/^/| /' conftest.$ac_ext >&5
41463
41464 ac_cv_header_sched_h=no
41465 fi
41466
41467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41468 fi
41469 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
41470 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
41471
41472
41473 if test "$ac_cv_header_sched_h" = "yes"; then
41474 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41475 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41476 if test "${ac_cv_func_sched_yield+set}" = set; then
41477 echo $ECHO_N "(cached) $ECHO_C" >&6
41478 else
41479 cat >conftest.$ac_ext <<_ACEOF
41480 /* confdefs.h. */
41481 _ACEOF
41482 cat confdefs.h >>conftest.$ac_ext
41483 cat >>conftest.$ac_ext <<_ACEOF
41484 /* end confdefs.h. */
41485 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41487 #define sched_yield innocuous_sched_yield
41488
41489 /* System header to define __stub macros and hopefully few prototypes,
41490 which can conflict with char sched_yield (); below.
41491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41492 <limits.h> exists even on freestanding compilers. */
41493
41494 #ifdef __STDC__
41495 # include <limits.h>
41496 #else
41497 # include <assert.h>
41498 #endif
41499
41500 #undef sched_yield
41501
41502 /* Override any GCC internal prototype to avoid an error.
41503 Use char because int might match the return type of a GCC
41504 builtin and then its argument prototype would still apply. */
41505 #ifdef __cplusplus
41506 extern "C"
41507 #endif
41508 char sched_yield ();
41509 /* The GNU C library defines this for functions which it implements
41510 to always fail with ENOSYS. Some functions are actually named
41511 something starting with __ and the normal name is an alias. */
41512 #if defined __stub_sched_yield || defined __stub___sched_yield
41513 choke me
41514 #endif
41515
41516 int
41517 main ()
41518 {
41519 return sched_yield ();
41520 ;
41521 return 0;
41522 }
41523 _ACEOF
41524 rm -f conftest.$ac_objext conftest$ac_exeext
41525 if { (ac_try="$ac_link"
41526 case "(($ac_try" in
41527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41528 *) ac_try_echo=$ac_try;;
41529 esac
41530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41531 (eval "$ac_link") 2>conftest.er1
41532 ac_status=$?
41533 grep -v '^ *+' conftest.er1 >conftest.err
41534 rm -f conftest.er1
41535 cat conftest.err >&5
41536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537 (exit $ac_status); } && {
41538 test -z "$ac_c_werror_flag" ||
41539 test ! -s conftest.err
41540 } && test -s conftest$ac_exeext &&
41541 $as_test_x conftest$ac_exeext; then
41542 ac_cv_func_sched_yield=yes
41543 else
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.$ac_ext >&5
41546
41547 ac_cv_func_sched_yield=no
41548 fi
41549
41550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41551 conftest$ac_exeext conftest.$ac_ext
41552 fi
41553 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41554 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41555 if test $ac_cv_func_sched_yield = yes; then
41556 cat >>confdefs.h <<\_ACEOF
41557 #define HAVE_SCHED_YIELD 1
41558 _ACEOF
41559
41560 else
41561
41562 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41563 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41564 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41565 echo $ECHO_N "(cached) $ECHO_C" >&6
41566 else
41567 ac_check_lib_save_LIBS=$LIBS
41568 LIBS="-lposix4 $LIBS"
41569 cat >conftest.$ac_ext <<_ACEOF
41570 /* confdefs.h. */
41571 _ACEOF
41572 cat confdefs.h >>conftest.$ac_ext
41573 cat >>conftest.$ac_ext <<_ACEOF
41574 /* end confdefs.h. */
41575
41576 /* Override any GCC internal prototype to avoid an error.
41577 Use char because int might match the return type of a GCC
41578 builtin and then its argument prototype would still apply. */
41579 #ifdef __cplusplus
41580 extern "C"
41581 #endif
41582 char sched_yield ();
41583 int
41584 main ()
41585 {
41586 return sched_yield ();
41587 ;
41588 return 0;
41589 }
41590 _ACEOF
41591 rm -f conftest.$ac_objext conftest$ac_exeext
41592 if { (ac_try="$ac_link"
41593 case "(($ac_try" in
41594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41595 *) ac_try_echo=$ac_try;;
41596 esac
41597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41598 (eval "$ac_link") 2>conftest.er1
41599 ac_status=$?
41600 grep -v '^ *+' conftest.er1 >conftest.err
41601 rm -f conftest.er1
41602 cat conftest.err >&5
41603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41604 (exit $ac_status); } && {
41605 test -z "$ac_c_werror_flag" ||
41606 test ! -s conftest.err
41607 } && test -s conftest$ac_exeext &&
41608 $as_test_x conftest$ac_exeext; then
41609 ac_cv_lib_posix4_sched_yield=yes
41610 else
41611 echo "$as_me: failed program was:" >&5
41612 sed 's/^/| /' conftest.$ac_ext >&5
41613
41614 ac_cv_lib_posix4_sched_yield=no
41615 fi
41616
41617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41618 conftest$ac_exeext conftest.$ac_ext
41619 LIBS=$ac_check_lib_save_LIBS
41620 fi
41621 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41622 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41623 if test $ac_cv_lib_posix4_sched_yield = yes; then
41624 cat >>confdefs.h <<\_ACEOF
41625 #define HAVE_SCHED_YIELD 1
41626 _ACEOF
41627 POSIX4_LINK=" -lposix4"
41628 else
41629 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41630 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41631
41632 fi
41633
41634
41635
41636 fi
41637
41638 fi
41639
41640 HAVE_PRIOR_FUNCS=0
41641 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41642 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41643 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41644 echo $ECHO_N "(cached) $ECHO_C" >&6
41645 else
41646 cat >conftest.$ac_ext <<_ACEOF
41647 /* confdefs.h. */
41648 _ACEOF
41649 cat confdefs.h >>conftest.$ac_ext
41650 cat >>conftest.$ac_ext <<_ACEOF
41651 /* end confdefs.h. */
41652 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41654 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41655
41656 /* System header to define __stub macros and hopefully few prototypes,
41657 which can conflict with char pthread_attr_getschedpolicy (); below.
41658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41659 <limits.h> exists even on freestanding compilers. */
41660
41661 #ifdef __STDC__
41662 # include <limits.h>
41663 #else
41664 # include <assert.h>
41665 #endif
41666
41667 #undef pthread_attr_getschedpolicy
41668
41669 /* Override any GCC internal prototype to avoid an error.
41670 Use char because int might match the return type of a GCC
41671 builtin and then its argument prototype would still apply. */
41672 #ifdef __cplusplus
41673 extern "C"
41674 #endif
41675 char pthread_attr_getschedpolicy ();
41676 /* The GNU C library defines this for functions which it implements
41677 to always fail with ENOSYS. Some functions are actually named
41678 something starting with __ and the normal name is an alias. */
41679 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41680 choke me
41681 #endif
41682
41683 int
41684 main ()
41685 {
41686 return pthread_attr_getschedpolicy ();
41687 ;
41688 return 0;
41689 }
41690 _ACEOF
41691 rm -f conftest.$ac_objext conftest$ac_exeext
41692 if { (ac_try="$ac_link"
41693 case "(($ac_try" in
41694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41695 *) ac_try_echo=$ac_try;;
41696 esac
41697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41698 (eval "$ac_link") 2>conftest.er1
41699 ac_status=$?
41700 grep -v '^ *+' conftest.er1 >conftest.err
41701 rm -f conftest.er1
41702 cat conftest.err >&5
41703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41704 (exit $ac_status); } && {
41705 test -z "$ac_c_werror_flag" ||
41706 test ! -s conftest.err
41707 } && test -s conftest$ac_exeext &&
41708 $as_test_x conftest$ac_exeext; then
41709 ac_cv_func_pthread_attr_getschedpolicy=yes
41710 else
41711 echo "$as_me: failed program was:" >&5
41712 sed 's/^/| /' conftest.$ac_ext >&5
41713
41714 ac_cv_func_pthread_attr_getschedpolicy=no
41715 fi
41716
41717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41718 conftest$ac_exeext conftest.$ac_ext
41719 fi
41720 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41721 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41722 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41723 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41724 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41725 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41726 echo $ECHO_N "(cached) $ECHO_C" >&6
41727 else
41728 cat >conftest.$ac_ext <<_ACEOF
41729 /* confdefs.h. */
41730 _ACEOF
41731 cat confdefs.h >>conftest.$ac_ext
41732 cat >>conftest.$ac_ext <<_ACEOF
41733 /* end confdefs.h. */
41734 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41736 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41737
41738 /* System header to define __stub macros and hopefully few prototypes,
41739 which can conflict with char pthread_attr_setschedparam (); below.
41740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41741 <limits.h> exists even on freestanding compilers. */
41742
41743 #ifdef __STDC__
41744 # include <limits.h>
41745 #else
41746 # include <assert.h>
41747 #endif
41748
41749 #undef pthread_attr_setschedparam
41750
41751 /* Override any GCC internal prototype to avoid an error.
41752 Use char because int might match the return type of a GCC
41753 builtin and then its argument prototype would still apply. */
41754 #ifdef __cplusplus
41755 extern "C"
41756 #endif
41757 char pthread_attr_setschedparam ();
41758 /* The GNU C library defines this for functions which it implements
41759 to always fail with ENOSYS. Some functions are actually named
41760 something starting with __ and the normal name is an alias. */
41761 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41762 choke me
41763 #endif
41764
41765 int
41766 main ()
41767 {
41768 return pthread_attr_setschedparam ();
41769 ;
41770 return 0;
41771 }
41772 _ACEOF
41773 rm -f conftest.$ac_objext conftest$ac_exeext
41774 if { (ac_try="$ac_link"
41775 case "(($ac_try" in
41776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41777 *) ac_try_echo=$ac_try;;
41778 esac
41779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41780 (eval "$ac_link") 2>conftest.er1
41781 ac_status=$?
41782 grep -v '^ *+' conftest.er1 >conftest.err
41783 rm -f conftest.er1
41784 cat conftest.err >&5
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); } && {
41787 test -z "$ac_c_werror_flag" ||
41788 test ! -s conftest.err
41789 } && test -s conftest$ac_exeext &&
41790 $as_test_x conftest$ac_exeext; then
41791 ac_cv_func_pthread_attr_setschedparam=yes
41792 else
41793 echo "$as_me: failed program was:" >&5
41794 sed 's/^/| /' conftest.$ac_ext >&5
41795
41796 ac_cv_func_pthread_attr_setschedparam=no
41797 fi
41798
41799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41800 conftest$ac_exeext conftest.$ac_ext
41801 fi
41802 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41803 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41804 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41805 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41806 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41807 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41808 echo $ECHO_N "(cached) $ECHO_C" >&6
41809 else
41810 cat >conftest.$ac_ext <<_ACEOF
41811 /* confdefs.h. */
41812 _ACEOF
41813 cat confdefs.h >>conftest.$ac_ext
41814 cat >>conftest.$ac_ext <<_ACEOF
41815 /* end confdefs.h. */
41816 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41818 #define sched_get_priority_max innocuous_sched_get_priority_max
41819
41820 /* System header to define __stub macros and hopefully few prototypes,
41821 which can conflict with char sched_get_priority_max (); below.
41822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41823 <limits.h> exists even on freestanding compilers. */
41824
41825 #ifdef __STDC__
41826 # include <limits.h>
41827 #else
41828 # include <assert.h>
41829 #endif
41830
41831 #undef sched_get_priority_max
41832
41833 /* Override any GCC internal prototype to avoid an error.
41834 Use char because int might match the return type of a GCC
41835 builtin and then its argument prototype would still apply. */
41836 #ifdef __cplusplus
41837 extern "C"
41838 #endif
41839 char sched_get_priority_max ();
41840 /* The GNU C library defines this for functions which it implements
41841 to always fail with ENOSYS. Some functions are actually named
41842 something starting with __ and the normal name is an alias. */
41843 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41844 choke me
41845 #endif
41846
41847 int
41848 main ()
41849 {
41850 return sched_get_priority_max ();
41851 ;
41852 return 0;
41853 }
41854 _ACEOF
41855 rm -f conftest.$ac_objext conftest$ac_exeext
41856 if { (ac_try="$ac_link"
41857 case "(($ac_try" in
41858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41859 *) ac_try_echo=$ac_try;;
41860 esac
41861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41862 (eval "$ac_link") 2>conftest.er1
41863 ac_status=$?
41864 grep -v '^ *+' conftest.er1 >conftest.err
41865 rm -f conftest.er1
41866 cat conftest.err >&5
41867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41868 (exit $ac_status); } && {
41869 test -z "$ac_c_werror_flag" ||
41870 test ! -s conftest.err
41871 } && test -s conftest$ac_exeext &&
41872 $as_test_x conftest$ac_exeext; then
41873 ac_cv_func_sched_get_priority_max=yes
41874 else
41875 echo "$as_me: failed program was:" >&5
41876 sed 's/^/| /' conftest.$ac_ext >&5
41877
41878 ac_cv_func_sched_get_priority_max=no
41879 fi
41880
41881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41882 conftest$ac_exeext conftest.$ac_ext
41883 fi
41884 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41885 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41886 if test $ac_cv_func_sched_get_priority_max = yes; then
41887 HAVE_PRIOR_FUNCS=1
41888 else
41889 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41890 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41891 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41892 echo $ECHO_N "(cached) $ECHO_C" >&6
41893 else
41894 ac_check_lib_save_LIBS=$LIBS
41895 LIBS="-lposix4 $LIBS"
41896 cat >conftest.$ac_ext <<_ACEOF
41897 /* confdefs.h. */
41898 _ACEOF
41899 cat confdefs.h >>conftest.$ac_ext
41900 cat >>conftest.$ac_ext <<_ACEOF
41901 /* end confdefs.h. */
41902
41903 /* Override any GCC internal prototype to avoid an error.
41904 Use char because int might match the return type of a GCC
41905 builtin and then its argument prototype would still apply. */
41906 #ifdef __cplusplus
41907 extern "C"
41908 #endif
41909 char sched_get_priority_max ();
41910 int
41911 main ()
41912 {
41913 return sched_get_priority_max ();
41914 ;
41915 return 0;
41916 }
41917 _ACEOF
41918 rm -f conftest.$ac_objext conftest$ac_exeext
41919 if { (ac_try="$ac_link"
41920 case "(($ac_try" in
41921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41922 *) ac_try_echo=$ac_try;;
41923 esac
41924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41925 (eval "$ac_link") 2>conftest.er1
41926 ac_status=$?
41927 grep -v '^ *+' conftest.er1 >conftest.err
41928 rm -f conftest.er1
41929 cat conftest.err >&5
41930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41931 (exit $ac_status); } && {
41932 test -z "$ac_c_werror_flag" ||
41933 test ! -s conftest.err
41934 } && test -s conftest$ac_exeext &&
41935 $as_test_x conftest$ac_exeext; then
41936 ac_cv_lib_posix4_sched_get_priority_max=yes
41937 else
41938 echo "$as_me: failed program was:" >&5
41939 sed 's/^/| /' conftest.$ac_ext >&5
41940
41941 ac_cv_lib_posix4_sched_get_priority_max=no
41942 fi
41943
41944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41945 conftest$ac_exeext conftest.$ac_ext
41946 LIBS=$ac_check_lib_save_LIBS
41947 fi
41948 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41949 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41950 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41951
41952 HAVE_PRIOR_FUNCS=1
41953 POSIX4_LINK=" -lposix4"
41954
41955 fi
41956
41957
41958 fi
41959
41960
41961 fi
41962
41963
41964 fi
41965
41966
41967 if test "$HAVE_PRIOR_FUNCS" = 1; then
41968 cat >>confdefs.h <<\_ACEOF
41969 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41970 _ACEOF
41971
41972 else
41973 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41974 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41975 fi
41976
41977 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41978 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41979 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41980 echo $ECHO_N "(cached) $ECHO_C" >&6
41981 else
41982 cat >conftest.$ac_ext <<_ACEOF
41983 /* confdefs.h. */
41984 _ACEOF
41985 cat confdefs.h >>conftest.$ac_ext
41986 cat >>conftest.$ac_ext <<_ACEOF
41987 /* end confdefs.h. */
41988 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41990 #define pthread_cancel innocuous_pthread_cancel
41991
41992 /* System header to define __stub macros and hopefully few prototypes,
41993 which can conflict with char pthread_cancel (); below.
41994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41995 <limits.h> exists even on freestanding compilers. */
41996
41997 #ifdef __STDC__
41998 # include <limits.h>
41999 #else
42000 # include <assert.h>
42001 #endif
42002
42003 #undef pthread_cancel
42004
42005 /* Override any GCC internal prototype to avoid an error.
42006 Use char because int might match the return type of a GCC
42007 builtin and then its argument prototype would still apply. */
42008 #ifdef __cplusplus
42009 extern "C"
42010 #endif
42011 char pthread_cancel ();
42012 /* The GNU C library defines this for functions which it implements
42013 to always fail with ENOSYS. Some functions are actually named
42014 something starting with __ and the normal name is an alias. */
42015 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42016 choke me
42017 #endif
42018
42019 int
42020 main ()
42021 {
42022 return pthread_cancel ();
42023 ;
42024 return 0;
42025 }
42026 _ACEOF
42027 rm -f conftest.$ac_objext conftest$ac_exeext
42028 if { (ac_try="$ac_link"
42029 case "(($ac_try" in
42030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42031 *) ac_try_echo=$ac_try;;
42032 esac
42033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42034 (eval "$ac_link") 2>conftest.er1
42035 ac_status=$?
42036 grep -v '^ *+' conftest.er1 >conftest.err
42037 rm -f conftest.er1
42038 cat conftest.err >&5
42039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42040 (exit $ac_status); } && {
42041 test -z "$ac_c_werror_flag" ||
42042 test ! -s conftest.err
42043 } && test -s conftest$ac_exeext &&
42044 $as_test_x conftest$ac_exeext; then
42045 ac_cv_func_pthread_cancel=yes
42046 else
42047 echo "$as_me: failed program was:" >&5
42048 sed 's/^/| /' conftest.$ac_ext >&5
42049
42050 ac_cv_func_pthread_cancel=no
42051 fi
42052
42053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42054 conftest$ac_exeext conftest.$ac_ext
42055 fi
42056 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42057 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42058 if test $ac_cv_func_pthread_cancel = yes; then
42059 cat >>confdefs.h <<\_ACEOF
42060 #define HAVE_PTHREAD_CANCEL 1
42061 _ACEOF
42062
42063 else
42064 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42065 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42066 fi
42067
42068
42069 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42070 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42071 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42072 echo $ECHO_N "(cached) $ECHO_C" >&6
42073 else
42074 cat >conftest.$ac_ext <<_ACEOF
42075 /* confdefs.h. */
42076 _ACEOF
42077 cat confdefs.h >>conftest.$ac_ext
42078 cat >>conftest.$ac_ext <<_ACEOF
42079 /* end confdefs.h. */
42080 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42082 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42083
42084 /* System header to define __stub macros and hopefully few prototypes,
42085 which can conflict with char pthread_mutex_timedlock (); below.
42086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42087 <limits.h> exists even on freestanding compilers. */
42088
42089 #ifdef __STDC__
42090 # include <limits.h>
42091 #else
42092 # include <assert.h>
42093 #endif
42094
42095 #undef pthread_mutex_timedlock
42096
42097 /* Override any GCC internal prototype to avoid an error.
42098 Use char because int might match the return type of a GCC
42099 builtin and then its argument prototype would still apply. */
42100 #ifdef __cplusplus
42101 extern "C"
42102 #endif
42103 char pthread_mutex_timedlock ();
42104 /* The GNU C library defines this for functions which it implements
42105 to always fail with ENOSYS. Some functions are actually named
42106 something starting with __ and the normal name is an alias. */
42107 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42108 choke me
42109 #endif
42110
42111 int
42112 main ()
42113 {
42114 return pthread_mutex_timedlock ();
42115 ;
42116 return 0;
42117 }
42118 _ACEOF
42119 rm -f conftest.$ac_objext conftest$ac_exeext
42120 if { (ac_try="$ac_link"
42121 case "(($ac_try" in
42122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42123 *) ac_try_echo=$ac_try;;
42124 esac
42125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42126 (eval "$ac_link") 2>conftest.er1
42127 ac_status=$?
42128 grep -v '^ *+' conftest.er1 >conftest.err
42129 rm -f conftest.er1
42130 cat conftest.err >&5
42131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42132 (exit $ac_status); } && {
42133 test -z "$ac_c_werror_flag" ||
42134 test ! -s conftest.err
42135 } && test -s conftest$ac_exeext &&
42136 $as_test_x conftest$ac_exeext; then
42137 ac_cv_func_pthread_mutex_timedlock=yes
42138 else
42139 echo "$as_me: failed program was:" >&5
42140 sed 's/^/| /' conftest.$ac_ext >&5
42141
42142 ac_cv_func_pthread_mutex_timedlock=no
42143 fi
42144
42145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42146 conftest$ac_exeext conftest.$ac_ext
42147 fi
42148 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42149 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42150 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42151 cat >>confdefs.h <<\_ACEOF
42152 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42153 _ACEOF
42154
42155 else
42156 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42157 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42158 fi
42159
42160
42161 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42162 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42163 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42164 echo $ECHO_N "(cached) $ECHO_C" >&6
42165 else
42166 cat >conftest.$ac_ext <<_ACEOF
42167 /* confdefs.h. */
42168 _ACEOF
42169 cat confdefs.h >>conftest.$ac_ext
42170 cat >>conftest.$ac_ext <<_ACEOF
42171 /* end confdefs.h. */
42172 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42174 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42175
42176 /* System header to define __stub macros and hopefully few prototypes,
42177 which can conflict with char pthread_attr_setstacksize (); below.
42178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42179 <limits.h> exists even on freestanding compilers. */
42180
42181 #ifdef __STDC__
42182 # include <limits.h>
42183 #else
42184 # include <assert.h>
42185 #endif
42186
42187 #undef pthread_attr_setstacksize
42188
42189 /* Override any GCC internal prototype to avoid an error.
42190 Use char because int might match the return type of a GCC
42191 builtin and then its argument prototype would still apply. */
42192 #ifdef __cplusplus
42193 extern "C"
42194 #endif
42195 char pthread_attr_setstacksize ();
42196 /* The GNU C library defines this for functions which it implements
42197 to always fail with ENOSYS. Some functions are actually named
42198 something starting with __ and the normal name is an alias. */
42199 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42200 choke me
42201 #endif
42202
42203 int
42204 main ()
42205 {
42206 return pthread_attr_setstacksize ();
42207 ;
42208 return 0;
42209 }
42210 _ACEOF
42211 rm -f conftest.$ac_objext conftest$ac_exeext
42212 if { (ac_try="$ac_link"
42213 case "(($ac_try" in
42214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42215 *) ac_try_echo=$ac_try;;
42216 esac
42217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42218 (eval "$ac_link") 2>conftest.er1
42219 ac_status=$?
42220 grep -v '^ *+' conftest.er1 >conftest.err
42221 rm -f conftest.er1
42222 cat conftest.err >&5
42223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42224 (exit $ac_status); } && {
42225 test -z "$ac_c_werror_flag" ||
42226 test ! -s conftest.err
42227 } && test -s conftest$ac_exeext &&
42228 $as_test_x conftest$ac_exeext; then
42229 ac_cv_func_pthread_attr_setstacksize=yes
42230 else
42231 echo "$as_me: failed program was:" >&5
42232 sed 's/^/| /' conftest.$ac_ext >&5
42233
42234 ac_cv_func_pthread_attr_setstacksize=no
42235 fi
42236
42237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42238 conftest$ac_exeext conftest.$ac_ext
42239 fi
42240 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42241 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42242 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42243 cat >>confdefs.h <<\_ACEOF
42244 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42245 _ACEOF
42246
42247 fi
42248
42249
42250
42251 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42252 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42253 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42254 echo $ECHO_N "(cached) $ECHO_C" >&6
42255 else
42256
42257 cat >conftest.$ac_ext <<_ACEOF
42258 /* confdefs.h. */
42259 _ACEOF
42260 cat confdefs.h >>conftest.$ac_ext
42261 cat >>conftest.$ac_ext <<_ACEOF
42262 /* end confdefs.h. */
42263 #include <pthread.h>
42264 int
42265 main ()
42266 {
42267
42268 pthread_mutexattr_t attr;
42269 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42270
42271 ;
42272 return 0;
42273 }
42274 _ACEOF
42275 rm -f conftest.$ac_objext
42276 if { (ac_try="$ac_compile"
42277 case "(($ac_try" in
42278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42279 *) ac_try_echo=$ac_try;;
42280 esac
42281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42282 (eval "$ac_compile") 2>conftest.er1
42283 ac_status=$?
42284 grep -v '^ *+' conftest.er1 >conftest.err
42285 rm -f conftest.er1
42286 cat conftest.err >&5
42287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42288 (exit $ac_status); } && {
42289 test -z "$ac_c_werror_flag" ||
42290 test ! -s conftest.err
42291 } && test -s conftest.$ac_objext; then
42292 wx_cv_type_pthread_mutexattr_t=yes
42293 else
42294 echo "$as_me: failed program was:" >&5
42295 sed 's/^/| /' conftest.$ac_ext >&5
42296
42297 wx_cv_type_pthread_mutexattr_t=no
42298
42299 fi
42300
42301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42302
42303 fi
42304 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42305 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42306
42307 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42308 cat >>confdefs.h <<\_ACEOF
42309 #define HAVE_PTHREAD_MUTEXATTR_T 1
42310 _ACEOF
42311
42312
42313 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42314 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42315 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42316 echo $ECHO_N "(cached) $ECHO_C" >&6
42317 else
42318
42319 cat >conftest.$ac_ext <<_ACEOF
42320 /* confdefs.h. */
42321 _ACEOF
42322 cat confdefs.h >>conftest.$ac_ext
42323 cat >>conftest.$ac_ext <<_ACEOF
42324 /* end confdefs.h. */
42325 #include <pthread.h>
42326 int
42327 main ()
42328 {
42329
42330 pthread_mutexattr_t attr;
42331 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42332
42333 ;
42334 return 0;
42335 }
42336 _ACEOF
42337 rm -f conftest.$ac_objext
42338 if { (ac_try="$ac_compile"
42339 case "(($ac_try" in
42340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42341 *) ac_try_echo=$ac_try;;
42342 esac
42343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42344 (eval "$ac_compile") 2>conftest.er1
42345 ac_status=$?
42346 grep -v '^ *+' conftest.er1 >conftest.err
42347 rm -f conftest.er1
42348 cat conftest.err >&5
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); } && {
42351 test -z "$ac_c_werror_flag" ||
42352 test ! -s conftest.err
42353 } && test -s conftest.$ac_objext; then
42354 wx_cv_func_pthread_mutexattr_settype_decl=yes
42355 else
42356 echo "$as_me: failed program was:" >&5
42357 sed 's/^/| /' conftest.$ac_ext >&5
42358
42359 wx_cv_func_pthread_mutexattr_settype_decl=no
42360
42361 fi
42362
42363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42364
42365 fi
42366 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42367 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42368 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42369 cat >>confdefs.h <<\_ACEOF
42370 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42371 _ACEOF
42372
42373 fi
42374 else
42375 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42376 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42377 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42378 echo $ECHO_N "(cached) $ECHO_C" >&6
42379 else
42380
42381 cat >conftest.$ac_ext <<_ACEOF
42382 /* confdefs.h. */
42383 _ACEOF
42384 cat confdefs.h >>conftest.$ac_ext
42385 cat >>conftest.$ac_ext <<_ACEOF
42386 /* end confdefs.h. */
42387 #include <pthread.h>
42388 int
42389 main ()
42390 {
42391
42392 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42393
42394 ;
42395 return 0;
42396 }
42397 _ACEOF
42398 rm -f conftest.$ac_objext
42399 if { (ac_try="$ac_compile"
42400 case "(($ac_try" in
42401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42402 *) ac_try_echo=$ac_try;;
42403 esac
42404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42405 (eval "$ac_compile") 2>conftest.er1
42406 ac_status=$?
42407 grep -v '^ *+' conftest.er1 >conftest.err
42408 rm -f conftest.er1
42409 cat conftest.err >&5
42410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42411 (exit $ac_status); } && {
42412 test -z "$ac_c_werror_flag" ||
42413 test ! -s conftest.err
42414 } && test -s conftest.$ac_objext; then
42415
42416 wx_cv_type_pthread_rec_mutex_init=yes
42417
42418 else
42419 echo "$as_me: failed program was:" >&5
42420 sed 's/^/| /' conftest.$ac_ext >&5
42421
42422
42423 wx_cv_type_pthread_rec_mutex_init=no
42424
42425
42426 fi
42427
42428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42429
42430 fi
42431 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42432 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42433 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42434 cat >>confdefs.h <<\_ACEOF
42435 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42436 _ACEOF
42437
42438 else
42439 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42440 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42441 fi
42442 fi
42443 fi
42444
42445 else
42446 if test "$wxUSE_THREADS" = "yes" ; then
42447 case "${host}" in
42448 *-*-mingw32* )
42449 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42450 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42451 if test "${wx_cv_cflags_mthread+set}" = set; then
42452 echo $ECHO_N "(cached) $ECHO_C" >&6
42453 else
42454
42455 CFLAGS_OLD="$CFLAGS"
42456 CFLAGS="-mthreads $CFLAGS"
42457 cat >conftest.$ac_ext <<_ACEOF
42458 /* confdefs.h. */
42459 _ACEOF
42460 cat confdefs.h >>conftest.$ac_ext
42461 cat >>conftest.$ac_ext <<_ACEOF
42462 /* end confdefs.h. */
42463
42464 int
42465 main ()
42466 {
42467
42468 ;
42469 return 0;
42470 }
42471 _ACEOF
42472 rm -f conftest.$ac_objext
42473 if { (ac_try="$ac_compile"
42474 case "(($ac_try" in
42475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42476 *) ac_try_echo=$ac_try;;
42477 esac
42478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42479 (eval "$ac_compile") 2>conftest.er1
42480 ac_status=$?
42481 grep -v '^ *+' conftest.er1 >conftest.err
42482 rm -f conftest.er1
42483 cat conftest.err >&5
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); } && {
42486 test -z "$ac_c_werror_flag" ||
42487 test ! -s conftest.err
42488 } && test -s conftest.$ac_objext; then
42489 wx_cv_cflags_mthread=yes
42490 else
42491 echo "$as_me: failed program was:" >&5
42492 sed 's/^/| /' conftest.$ac_ext >&5
42493
42494 wx_cv_cflags_mthread=no
42495
42496 fi
42497
42498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42499
42500
42501 fi
42502 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42503 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42504
42505 if test "$wx_cv_cflags_mthread" = "yes"; then
42506 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42507 LDFLAGS="$LDFLAGS -mthreads"
42508 else
42509 CFLAGS="$CFLAGS_OLD"
42510 fi
42511 ;;
42512 *-pc-os2*emx )
42513 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42514 LDFLAGS="$LDFLAGS -Zmt"
42515 ;;
42516 esac
42517 fi
42518 fi
42519
42520 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42521 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42522 if test "${ac_cv_func_localtime_r+set}" = set; then
42523 echo $ECHO_N "(cached) $ECHO_C" >&6
42524 else
42525 cat >conftest.$ac_ext <<_ACEOF
42526 /* confdefs.h. */
42527 _ACEOF
42528 cat confdefs.h >>conftest.$ac_ext
42529 cat >>conftest.$ac_ext <<_ACEOF
42530 /* end confdefs.h. */
42531 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42533 #define localtime_r innocuous_localtime_r
42534
42535 /* System header to define __stub macros and hopefully few prototypes,
42536 which can conflict with char localtime_r (); below.
42537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42538 <limits.h> exists even on freestanding compilers. */
42539
42540 #ifdef __STDC__
42541 # include <limits.h>
42542 #else
42543 # include <assert.h>
42544 #endif
42545
42546 #undef localtime_r
42547
42548 /* Override any GCC internal prototype to avoid an error.
42549 Use char because int might match the return type of a GCC
42550 builtin and then its argument prototype would still apply. */
42551 #ifdef __cplusplus
42552 extern "C"
42553 #endif
42554 char localtime_r ();
42555 /* The GNU C library defines this for functions which it implements
42556 to always fail with ENOSYS. Some functions are actually named
42557 something starting with __ and the normal name is an alias. */
42558 #if defined __stub_localtime_r || defined __stub___localtime_r
42559 choke me
42560 #endif
42561
42562 int
42563 main ()
42564 {
42565 return localtime_r ();
42566 ;
42567 return 0;
42568 }
42569 _ACEOF
42570 rm -f conftest.$ac_objext conftest$ac_exeext
42571 if { (ac_try="$ac_link"
42572 case "(($ac_try" in
42573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42574 *) ac_try_echo=$ac_try;;
42575 esac
42576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42577 (eval "$ac_link") 2>conftest.er1
42578 ac_status=$?
42579 grep -v '^ *+' conftest.er1 >conftest.err
42580 rm -f conftest.er1
42581 cat conftest.err >&5
42582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42583 (exit $ac_status); } && {
42584 test -z "$ac_c_werror_flag" ||
42585 test ! -s conftest.err
42586 } && test -s conftest$ac_exeext &&
42587 $as_test_x conftest$ac_exeext; then
42588 ac_cv_func_localtime_r=yes
42589 else
42590 echo "$as_me: failed program was:" >&5
42591 sed 's/^/| /' conftest.$ac_ext >&5
42592
42593 ac_cv_func_localtime_r=no
42594 fi
42595
42596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42597 conftest$ac_exeext conftest.$ac_ext
42598 fi
42599 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42600 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42601 if test $ac_cv_func_localtime_r = yes; then
42602 cat >>confdefs.h <<\_ACEOF
42603 #define HAVE_LOCALTIME_R 1
42604 _ACEOF
42605
42606 fi
42607
42608 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42609 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42610 if test "${ac_cv_func_gmtime_r+set}" = set; then
42611 echo $ECHO_N "(cached) $ECHO_C" >&6
42612 else
42613 cat >conftest.$ac_ext <<_ACEOF
42614 /* confdefs.h. */
42615 _ACEOF
42616 cat confdefs.h >>conftest.$ac_ext
42617 cat >>conftest.$ac_ext <<_ACEOF
42618 /* end confdefs.h. */
42619 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42621 #define gmtime_r innocuous_gmtime_r
42622
42623 /* System header to define __stub macros and hopefully few prototypes,
42624 which can conflict with char gmtime_r (); below.
42625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42626 <limits.h> exists even on freestanding compilers. */
42627
42628 #ifdef __STDC__
42629 # include <limits.h>
42630 #else
42631 # include <assert.h>
42632 #endif
42633
42634 #undef gmtime_r
42635
42636 /* Override any GCC internal prototype to avoid an error.
42637 Use char because int might match the return type of a GCC
42638 builtin and then its argument prototype would still apply. */
42639 #ifdef __cplusplus
42640 extern "C"
42641 #endif
42642 char gmtime_r ();
42643 /* The GNU C library defines this for functions which it implements
42644 to always fail with ENOSYS. Some functions are actually named
42645 something starting with __ and the normal name is an alias. */
42646 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42647 choke me
42648 #endif
42649
42650 int
42651 main ()
42652 {
42653 return gmtime_r ();
42654 ;
42655 return 0;
42656 }
42657 _ACEOF
42658 rm -f conftest.$ac_objext conftest$ac_exeext
42659 if { (ac_try="$ac_link"
42660 case "(($ac_try" in
42661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42662 *) ac_try_echo=$ac_try;;
42663 esac
42664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42665 (eval "$ac_link") 2>conftest.er1
42666 ac_status=$?
42667 grep -v '^ *+' conftest.er1 >conftest.err
42668 rm -f conftest.er1
42669 cat conftest.err >&5
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); } && {
42672 test -z "$ac_c_werror_flag" ||
42673 test ! -s conftest.err
42674 } && test -s conftest$ac_exeext &&
42675 $as_test_x conftest$ac_exeext; then
42676 ac_cv_func_gmtime_r=yes
42677 else
42678 echo "$as_me: failed program was:" >&5
42679 sed 's/^/| /' conftest.$ac_ext >&5
42680
42681 ac_cv_func_gmtime_r=no
42682 fi
42683
42684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42685 conftest$ac_exeext conftest.$ac_ext
42686 fi
42687 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42688 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42689 if test $ac_cv_func_gmtime_r = yes; then
42690 cat >>confdefs.h <<\_ACEOF
42691 #define HAVE_GMTIME_R 1
42692 _ACEOF
42693
42694 fi
42695
42696 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42697 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42698 if test "${ac_cv_func_readdir_r+set}" = set; then
42699 echo $ECHO_N "(cached) $ECHO_C" >&6
42700 else
42701 cat >conftest.$ac_ext <<_ACEOF
42702 /* confdefs.h. */
42703 _ACEOF
42704 cat confdefs.h >>conftest.$ac_ext
42705 cat >>conftest.$ac_ext <<_ACEOF
42706 /* end confdefs.h. */
42707 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42709 #define readdir_r innocuous_readdir_r
42710
42711 /* System header to define __stub macros and hopefully few prototypes,
42712 which can conflict with char readdir_r (); below.
42713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42714 <limits.h> exists even on freestanding compilers. */
42715
42716 #ifdef __STDC__
42717 # include <limits.h>
42718 #else
42719 # include <assert.h>
42720 #endif
42721
42722 #undef readdir_r
42723
42724 /* Override any GCC internal prototype to avoid an error.
42725 Use char because int might match the return type of a GCC
42726 builtin and then its argument prototype would still apply. */
42727 #ifdef __cplusplus
42728 extern "C"
42729 #endif
42730 char readdir_r ();
42731 /* The GNU C library defines this for functions which it implements
42732 to always fail with ENOSYS. Some functions are actually named
42733 something starting with __ and the normal name is an alias. */
42734 #if defined __stub_readdir_r || defined __stub___readdir_r
42735 choke me
42736 #endif
42737
42738 int
42739 main ()
42740 {
42741 return readdir_r ();
42742 ;
42743 return 0;
42744 }
42745 _ACEOF
42746 rm -f conftest.$ac_objext conftest$ac_exeext
42747 if { (ac_try="$ac_link"
42748 case "(($ac_try" in
42749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42750 *) ac_try_echo=$ac_try;;
42751 esac
42752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42753 (eval "$ac_link") 2>conftest.er1
42754 ac_status=$?
42755 grep -v '^ *+' conftest.er1 >conftest.err
42756 rm -f conftest.er1
42757 cat conftest.err >&5
42758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759 (exit $ac_status); } && {
42760 test -z "$ac_c_werror_flag" ||
42761 test ! -s conftest.err
42762 } && test -s conftest$ac_exeext &&
42763 $as_test_x conftest$ac_exeext; then
42764 ac_cv_func_readdir_r=yes
42765 else
42766 echo "$as_me: failed program was:" >&5
42767 sed 's/^/| /' conftest.$ac_ext >&5
42768
42769 ac_cv_func_readdir_r=no
42770 fi
42771
42772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42773 conftest$ac_exeext conftest.$ac_ext
42774 fi
42775 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42776 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42777 if test $ac_cv_func_readdir_r = yes; then
42778 cat >>confdefs.h <<\_ACEOF
42779 #define HAVE_READDIR_R 1
42780 _ACEOF
42781
42782 fi
42783
42784
42785
42786
42787 ac_ext=c
42788 ac_cpp='$CPP $CPPFLAGS'
42789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42792
42793 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42794 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42795
42796 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42797 echo $ECHO_N "(cached) $ECHO_C" >&6
42798 else
42799
42800
42801 ################################################################
42802
42803 ac_cv_func_which_gethostbyname_r=unknown
42804
42805 #
42806 # ONE ARGUMENT (sanity check)
42807 #
42808
42809 # This should fail, as there is no variant of gethostbyname_r() that takes
42810 # a single argument. If it actually compiles, then we can assume that
42811 # netdb.h is not declaring the function, and the compiler is thereby
42812 # assuming an implicit prototype. In which case, we're out of luck.
42813 #
42814 cat >conftest.$ac_ext <<_ACEOF
42815 /* confdefs.h. */
42816 _ACEOF
42817 cat confdefs.h >>conftest.$ac_ext
42818 cat >>conftest.$ac_ext <<_ACEOF
42819 /* end confdefs.h. */
42820 #include <netdb.h>
42821 int
42822 main ()
42823 {
42824
42825 char *name = "www.gnu.org";
42826 (void)gethostbyname_r(name) /* ; */
42827
42828 ;
42829 return 0;
42830 }
42831 _ACEOF
42832 rm -f conftest.$ac_objext
42833 if { (ac_try="$ac_compile"
42834 case "(($ac_try" in
42835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42836 *) ac_try_echo=$ac_try;;
42837 esac
42838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42839 (eval "$ac_compile") 2>conftest.er1
42840 ac_status=$?
42841 grep -v '^ *+' conftest.er1 >conftest.err
42842 rm -f conftest.er1
42843 cat conftest.err >&5
42844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42845 (exit $ac_status); } && {
42846 test -z "$ac_c_werror_flag" ||
42847 test ! -s conftest.err
42848 } && test -s conftest.$ac_objext; then
42849 ac_cv_func_which_gethostbyname_r=no
42850 else
42851 echo "$as_me: failed program was:" >&5
42852 sed 's/^/| /' conftest.$ac_ext >&5
42853
42854
42855 fi
42856
42857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42858
42859 #
42860 # SIX ARGUMENTS
42861 # (e.g. Linux)
42862 #
42863
42864 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42865
42866 cat >conftest.$ac_ext <<_ACEOF
42867 /* confdefs.h. */
42868 _ACEOF
42869 cat confdefs.h >>conftest.$ac_ext
42870 cat >>conftest.$ac_ext <<_ACEOF
42871 /* end confdefs.h. */
42872 #include <netdb.h>
42873 int
42874 main ()
42875 {
42876
42877 char *name = "www.gnu.org";
42878 struct hostent ret, *retp;
42879 char buf[1024];
42880 int buflen = 1024;
42881 int my_h_errno;
42882 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42883
42884 ;
42885 return 0;
42886 }
42887 _ACEOF
42888 rm -f conftest.$ac_objext
42889 if { (ac_try="$ac_compile"
42890 case "(($ac_try" in
42891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42892 *) ac_try_echo=$ac_try;;
42893 esac
42894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42895 (eval "$ac_compile") 2>conftest.er1
42896 ac_status=$?
42897 grep -v '^ *+' conftest.er1 >conftest.err
42898 rm -f conftest.er1
42899 cat conftest.err >&5
42900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42901 (exit $ac_status); } && {
42902 test -z "$ac_c_werror_flag" ||
42903 test ! -s conftest.err
42904 } && test -s conftest.$ac_objext; then
42905 ac_cv_func_which_gethostbyname_r=six
42906 else
42907 echo "$as_me: failed program was:" >&5
42908 sed 's/^/| /' conftest.$ac_ext >&5
42909
42910
42911 fi
42912
42913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42914
42915 fi
42916
42917 #
42918 # FIVE ARGUMENTS
42919 # (e.g. Solaris)
42920 #
42921
42922 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42923
42924 cat >conftest.$ac_ext <<_ACEOF
42925 /* confdefs.h. */
42926 _ACEOF
42927 cat confdefs.h >>conftest.$ac_ext
42928 cat >>conftest.$ac_ext <<_ACEOF
42929 /* end confdefs.h. */
42930 #include <netdb.h>
42931 int
42932 main ()
42933 {
42934
42935 char *name = "www.gnu.org";
42936 struct hostent ret;
42937 char buf[1024];
42938 int buflen = 1024;
42939 int my_h_errno;
42940 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42941
42942 ;
42943 return 0;
42944 }
42945 _ACEOF
42946 rm -f conftest.$ac_objext
42947 if { (ac_try="$ac_compile"
42948 case "(($ac_try" in
42949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42950 *) ac_try_echo=$ac_try;;
42951 esac
42952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42953 (eval "$ac_compile") 2>conftest.er1
42954 ac_status=$?
42955 grep -v '^ *+' conftest.er1 >conftest.err
42956 rm -f conftest.er1
42957 cat conftest.err >&5
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); } && {
42960 test -z "$ac_c_werror_flag" ||
42961 test ! -s conftest.err
42962 } && test -s conftest.$ac_objext; then
42963 ac_cv_func_which_gethostbyname_r=five
42964 else
42965 echo "$as_me: failed program was:" >&5
42966 sed 's/^/| /' conftest.$ac_ext >&5
42967
42968
42969 fi
42970
42971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42972
42973 fi
42974
42975 #
42976 # THREE ARGUMENTS
42977 # (e.g. AIX, HP-UX, Tru64)
42978 #
42979
42980 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42981
42982 cat >conftest.$ac_ext <<_ACEOF
42983 /* confdefs.h. */
42984 _ACEOF
42985 cat confdefs.h >>conftest.$ac_ext
42986 cat >>conftest.$ac_ext <<_ACEOF
42987 /* end confdefs.h. */
42988 #include <netdb.h>
42989 int
42990 main ()
42991 {
42992
42993 char *name = "www.gnu.org";
42994 struct hostent ret;
42995 struct hostent_data data;
42996 (void)gethostbyname_r(name, &ret, &data) /* ; */
42997
42998 ;
42999 return 0;
43000 }
43001 _ACEOF
43002 rm -f conftest.$ac_objext
43003 if { (ac_try="$ac_compile"
43004 case "(($ac_try" in
43005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43006 *) ac_try_echo=$ac_try;;
43007 esac
43008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43009 (eval "$ac_compile") 2>conftest.er1
43010 ac_status=$?
43011 grep -v '^ *+' conftest.er1 >conftest.err
43012 rm -f conftest.er1
43013 cat conftest.err >&5
43014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43015 (exit $ac_status); } && {
43016 test -z "$ac_c_werror_flag" ||
43017 test ! -s conftest.err
43018 } && test -s conftest.$ac_objext; then
43019 ac_cv_func_which_gethostbyname_r=three
43020 else
43021 echo "$as_me: failed program was:" >&5
43022 sed 's/^/| /' conftest.$ac_ext >&5
43023
43024
43025 fi
43026
43027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43028
43029 fi
43030
43031 ################################################################
43032
43033
43034 fi
43035
43036 case "$ac_cv_func_which_gethostbyname_r" in
43037 three)
43038 { echo "$as_me:$LINENO: result: three" >&5
43039 echo "${ECHO_T}three" >&6; }
43040 cat >>confdefs.h <<\_ACEOF
43041 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43042 _ACEOF
43043
43044 ;;
43045
43046 five)
43047 { echo "$as_me:$LINENO: result: five" >&5
43048 echo "${ECHO_T}five" >&6; }
43049 cat >>confdefs.h <<\_ACEOF
43050 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43051 _ACEOF
43052
43053 ;;
43054
43055 six)
43056 { echo "$as_me:$LINENO: result: six" >&5
43057 echo "${ECHO_T}six" >&6; }
43058 cat >>confdefs.h <<\_ACEOF
43059 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43060 _ACEOF
43061
43062 ;;
43063
43064 no)
43065 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43066 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43067 ;;
43068
43069 unknown)
43070 { echo "$as_me:$LINENO: result: can't tell" >&5
43071 echo "${ECHO_T}can't tell" >&6; }
43072 ;;
43073
43074 *)
43075 { { echo "$as_me:$LINENO: error: internal error" >&5
43076 echo "$as_me: error: internal error" >&2;}
43077 { (exit 1); exit 1; }; }
43078 ;;
43079 esac
43080
43081 ac_ext=c
43082 ac_cpp='$CPP $CPPFLAGS'
43083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43086
43087
43088
43089 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43090 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43091 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43092 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43093 if test "${ac_cv_func_gethostbyname+set}" = set; then
43094 echo $ECHO_N "(cached) $ECHO_C" >&6
43095 else
43096 cat >conftest.$ac_ext <<_ACEOF
43097 /* confdefs.h. */
43098 _ACEOF
43099 cat confdefs.h >>conftest.$ac_ext
43100 cat >>conftest.$ac_ext <<_ACEOF
43101 /* end confdefs.h. */
43102 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43104 #define gethostbyname innocuous_gethostbyname
43105
43106 /* System header to define __stub macros and hopefully few prototypes,
43107 which can conflict with char gethostbyname (); below.
43108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43109 <limits.h> exists even on freestanding compilers. */
43110
43111 #ifdef __STDC__
43112 # include <limits.h>
43113 #else
43114 # include <assert.h>
43115 #endif
43116
43117 #undef gethostbyname
43118
43119 /* Override any GCC internal prototype to avoid an error.
43120 Use char because int might match the return type of a GCC
43121 builtin and then its argument prototype would still apply. */
43122 #ifdef __cplusplus
43123 extern "C"
43124 #endif
43125 char gethostbyname ();
43126 /* The GNU C library defines this for functions which it implements
43127 to always fail with ENOSYS. Some functions are actually named
43128 something starting with __ and the normal name is an alias. */
43129 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43130 choke me
43131 #endif
43132
43133 int
43134 main ()
43135 {
43136 return gethostbyname ();
43137 ;
43138 return 0;
43139 }
43140 _ACEOF
43141 rm -f conftest.$ac_objext conftest$ac_exeext
43142 if { (ac_try="$ac_link"
43143 case "(($ac_try" in
43144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43145 *) ac_try_echo=$ac_try;;
43146 esac
43147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43148 (eval "$ac_link") 2>conftest.er1
43149 ac_status=$?
43150 grep -v '^ *+' conftest.er1 >conftest.err
43151 rm -f conftest.er1
43152 cat conftest.err >&5
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); } && {
43155 test -z "$ac_c_werror_flag" ||
43156 test ! -s conftest.err
43157 } && test -s conftest$ac_exeext &&
43158 $as_test_x conftest$ac_exeext; then
43159 ac_cv_func_gethostbyname=yes
43160 else
43161 echo "$as_me: failed program was:" >&5
43162 sed 's/^/| /' conftest.$ac_ext >&5
43163
43164 ac_cv_func_gethostbyname=no
43165 fi
43166
43167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43168 conftest$ac_exeext conftest.$ac_ext
43169 fi
43170 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43171 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43172 if test $ac_cv_func_gethostbyname = yes; then
43173 cat >>confdefs.h <<\_ACEOF
43174 #define HAVE_GETHOSTBYNAME 1
43175 _ACEOF
43176
43177 fi
43178
43179 fi
43180
43181 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43182 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43183 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43184 echo $ECHO_N "(cached) $ECHO_C" >&6
43185 else
43186
43187 ac_ext=cpp
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43192
43193
43194 cat >conftest.$ac_ext <<_ACEOF
43195 /* confdefs.h. */
43196 _ACEOF
43197 cat confdefs.h >>conftest.$ac_ext
43198 cat >>conftest.$ac_ext <<_ACEOF
43199 /* end confdefs.h. */
43200 #include <netdb.h>
43201 int
43202 main ()
43203 {
43204
43205 char *name;
43206 char *proto;
43207 struct servent *se, *res;
43208 char buffer[2048];
43209 int buflen = 2048;
43210 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43211
43212 ;
43213 return 0;
43214 }
43215 _ACEOF
43216 rm -f conftest.$ac_objext
43217 if { (ac_try="$ac_compile"
43218 case "(($ac_try" in
43219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43220 *) ac_try_echo=$ac_try;;
43221 esac
43222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43223 (eval "$ac_compile") 2>conftest.er1
43224 ac_status=$?
43225 grep -v '^ *+' conftest.er1 >conftest.err
43226 rm -f conftest.er1
43227 cat conftest.err >&5
43228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43229 (exit $ac_status); } && {
43230 test -z "$ac_cxx_werror_flag" ||
43231 test ! -s conftest.err
43232 } && test -s conftest.$ac_objext; then
43233 ac_cv_func_which_getservbyname_r=six
43234 else
43235 echo "$as_me: failed program was:" >&5
43236 sed 's/^/| /' conftest.$ac_ext >&5
43237
43238
43239 cat >conftest.$ac_ext <<_ACEOF
43240 /* confdefs.h. */
43241 _ACEOF
43242 cat confdefs.h >>conftest.$ac_ext
43243 cat >>conftest.$ac_ext <<_ACEOF
43244 /* end confdefs.h. */
43245 #include <netdb.h>
43246 int
43247 main ()
43248 {
43249
43250 char *name;
43251 char *proto;
43252 struct servent *se;
43253 char buffer[2048];
43254 int buflen = 2048;
43255 (void) getservbyname_r(name, proto, se, buffer, buflen)
43256
43257 ;
43258 return 0;
43259 }
43260 _ACEOF
43261 rm -f conftest.$ac_objext
43262 if { (ac_try="$ac_compile"
43263 case "(($ac_try" in
43264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43265 *) ac_try_echo=$ac_try;;
43266 esac
43267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43268 (eval "$ac_compile") 2>conftest.er1
43269 ac_status=$?
43270 grep -v '^ *+' conftest.er1 >conftest.err
43271 rm -f conftest.er1
43272 cat conftest.err >&5
43273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43274 (exit $ac_status); } && {
43275 test -z "$ac_cxx_werror_flag" ||
43276 test ! -s conftest.err
43277 } && test -s conftest.$ac_objext; then
43278 ac_cv_func_which_getservbyname_r=five
43279 else
43280 echo "$as_me: failed program was:" >&5
43281 sed 's/^/| /' conftest.$ac_ext >&5
43282
43283
43284 cat >conftest.$ac_ext <<_ACEOF
43285 /* confdefs.h. */
43286 _ACEOF
43287 cat confdefs.h >>conftest.$ac_ext
43288 cat >>conftest.$ac_ext <<_ACEOF
43289 /* end confdefs.h. */
43290 #include <netdb.h>
43291 int
43292 main ()
43293 {
43294
43295 char *name;
43296 char *proto;
43297 struct servent *se;
43298 struct servent_data data;
43299 (void) getservbyname_r(name, proto, se, &data);
43300
43301 ;
43302 return 0;
43303 }
43304 _ACEOF
43305 rm -f conftest.$ac_objext
43306 if { (ac_try="$ac_compile"
43307 case "(($ac_try" in
43308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43309 *) ac_try_echo=$ac_try;;
43310 esac
43311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43312 (eval "$ac_compile") 2>conftest.er1
43313 ac_status=$?
43314 grep -v '^ *+' conftest.er1 >conftest.err
43315 rm -f conftest.er1
43316 cat conftest.err >&5
43317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43318 (exit $ac_status); } && {
43319 test -z "$ac_cxx_werror_flag" ||
43320 test ! -s conftest.err
43321 } && test -s conftest.$ac_objext; then
43322 ac_cv_func_which_getservbyname_r=four
43323 else
43324 echo "$as_me: failed program was:" >&5
43325 sed 's/^/| /' conftest.$ac_ext >&5
43326
43327 ac_cv_func_which_getservbyname_r=no
43328
43329 fi
43330
43331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43332
43333
43334 fi
43335
43336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43337
43338
43339 fi
43340
43341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43342 ac_ext=c
43343 ac_cpp='$CPP $CPPFLAGS'
43344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43347
43348
43349
43350 fi
43351 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43352 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43353
43354 if test $ac_cv_func_which_getservbyname_r = six; then
43355 cat >>confdefs.h <<\_ACEOF
43356 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43357 _ACEOF
43358
43359 elif test $ac_cv_func_which_getservbyname_r = five; then
43360 cat >>confdefs.h <<\_ACEOF
43361 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43362 _ACEOF
43363
43364 elif test $ac_cv_func_which_getservbyname_r = four; then
43365 cat >>confdefs.h <<\_ACEOF
43366 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43367 _ACEOF
43368
43369 fi
43370
43371
43372 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43373 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43374
43375 for ac_func in getservbyname
43376 do
43377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43378 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43380 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43381 echo $ECHO_N "(cached) $ECHO_C" >&6
43382 else
43383 cat >conftest.$ac_ext <<_ACEOF
43384 /* confdefs.h. */
43385 _ACEOF
43386 cat confdefs.h >>conftest.$ac_ext
43387 cat >>conftest.$ac_ext <<_ACEOF
43388 /* end confdefs.h. */
43389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43391 #define $ac_func innocuous_$ac_func
43392
43393 /* System header to define __stub macros and hopefully few prototypes,
43394 which can conflict with char $ac_func (); below.
43395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43396 <limits.h> exists even on freestanding compilers. */
43397
43398 #ifdef __STDC__
43399 # include <limits.h>
43400 #else
43401 # include <assert.h>
43402 #endif
43403
43404 #undef $ac_func
43405
43406 /* Override any GCC internal prototype to avoid an error.
43407 Use char because int might match the return type of a GCC
43408 builtin and then its argument prototype would still apply. */
43409 #ifdef __cplusplus
43410 extern "C"
43411 #endif
43412 char $ac_func ();
43413 /* The GNU C library defines this for functions which it implements
43414 to always fail with ENOSYS. Some functions are actually named
43415 something starting with __ and the normal name is an alias. */
43416 #if defined __stub_$ac_func || defined __stub___$ac_func
43417 choke me
43418 #endif
43419
43420 int
43421 main ()
43422 {
43423 return $ac_func ();
43424 ;
43425 return 0;
43426 }
43427 _ACEOF
43428 rm -f conftest.$ac_objext conftest$ac_exeext
43429 if { (ac_try="$ac_link"
43430 case "(($ac_try" in
43431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43432 *) ac_try_echo=$ac_try;;
43433 esac
43434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43435 (eval "$ac_link") 2>conftest.er1
43436 ac_status=$?
43437 grep -v '^ *+' conftest.er1 >conftest.err
43438 rm -f conftest.er1
43439 cat conftest.err >&5
43440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43441 (exit $ac_status); } && {
43442 test -z "$ac_c_werror_flag" ||
43443 test ! -s conftest.err
43444 } && test -s conftest$ac_exeext &&
43445 $as_test_x conftest$ac_exeext; then
43446 eval "$as_ac_var=yes"
43447 else
43448 echo "$as_me: failed program was:" >&5
43449 sed 's/^/| /' conftest.$ac_ext >&5
43450
43451 eval "$as_ac_var=no"
43452 fi
43453
43454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43455 conftest$ac_exeext conftest.$ac_ext
43456 fi
43457 ac_res=`eval echo '${'$as_ac_var'}'`
43458 { echo "$as_me:$LINENO: result: $ac_res" >&5
43459 echo "${ECHO_T}$ac_res" >&6; }
43460 if test `eval echo '${'$as_ac_var'}'` = yes; then
43461 cat >>confdefs.h <<_ACEOF
43462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43463 _ACEOF
43464 cat >>confdefs.h <<\_ACEOF
43465 #define HAVE_GETSERVBYNAME 1
43466 _ACEOF
43467
43468 fi
43469 done
43470
43471 fi
43472
43473 if test "$wxUSE_THREADS" = "yes"; then
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_THREADS 1
43476 _ACEOF
43477
43478
43479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43480 else
43481 if test "$wx_cv_func_strtok_r" = "yes"; then
43482 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43483 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43484 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43485 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43486 { echo "$as_me:$LINENO: result: yes" >&5
43487 echo "${ECHO_T}yes" >&6; }
43488 else
43489 { echo "$as_me:$LINENO: result: no" >&5
43490 echo "${ECHO_T}no" >&6; }
43491 fi
43492 fi
43493 fi
43494
43495 if test "$WXGTK20" = 1 ; then
43496 cat >>confdefs.h <<_ACEOF
43497 #define __WXGTK20__ $WXGTK20
43498 _ACEOF
43499
43500 WXGTK12=1
43501 fi
43502
43503 if test "$WXGTK12" = 1 ; then
43504 cat >>confdefs.h <<_ACEOF
43505 #define __WXGTK12__ $WXGTK12
43506 _ACEOF
43507
43508 fi
43509
43510 if test "$WXGTK127" = 1 ; then
43511 cat >>confdefs.h <<_ACEOF
43512 #define __WXGTK127__ $WXGTK127
43513 _ACEOF
43514
43515 fi
43516
43517 if test "$WXGPE" = 1 ; then
43518 cat >>confdefs.h <<_ACEOF
43519 #define __WXGPE__ $WXGPE
43520 _ACEOF
43521
43522 fi
43523
43524 DEBUG_CFLAGS=
43525 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43526 DEBUG_CFLAGS="-g"
43527 wxUSE_OPTIMISE=no
43528 fi
43529
43530 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43531 wxUSE_DEBUG_INFO=yes
43532 if test "$GCC" = yes; then
43533 DEBUG_CFLAGS="-ggdb"
43534 fi
43535 fi
43536
43537 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define WXDEBUG 1
43540 _ACEOF
43541
43542 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43543 else
43544 if test "$wxUSE_GTK" = 1 ; then
43545 if test "x$wxGTK_VERSION" = "x1" ; then
43546 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43547 fi
43548 fi
43549 fi
43550
43551 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43552 cat >>confdefs.h <<\_ACEOF
43553 #define wxUSE_MEMORY_TRACING 1
43554 _ACEOF
43555
43556 cat >>confdefs.h <<\_ACEOF
43557 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43558 _ACEOF
43559
43560 cat >>confdefs.h <<\_ACEOF
43561 #define wxUSE_DEBUG_NEW_ALWAYS 1
43562 _ACEOF
43563
43564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43565 fi
43566
43567 if test "$wxUSE_DMALLOC" = "yes" ; then
43568 DMALLOC_LIBS="-ldmallocthcxx"
43569 fi
43570
43571 PROFILE_FLAGS=
43572 if test "$wxUSE_PROFILE" = "yes" ; then
43573 PROFILE_FLAGS=" -pg"
43574 fi
43575
43576 if test "$GCC" = "yes" ; then
43577 if test "$wxUSE_NO_RTTI" = "yes" ; then
43578 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43579 fi
43580 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43581 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43582 fi
43583 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43584 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43585 fi
43586
43587 case "${host}" in
43588 powerpc*-*-aix* )
43589 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43590 ;;
43591 *-hppa* )
43592 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43593 ;;
43594 esac
43595 fi
43596
43597 OPTIMISE_CFLAGS=
43598 if test "$wxUSE_OPTIMISE" = "no" ; then
43599 if test "$GCC" = yes ; then
43600 OPTIMISE_CFLAGS="-O0"
43601 fi
43602 else
43603 if test "$GCC" = yes ; then
43604 case "${host}" in
43605 *-pc-os2_emx | *-pc-os2-emx )
43606 OPTIMISE_CFLAGS="-O2"
43607 ;;
43608 *)
43609 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43610 ;;
43611 esac
43612 else
43613 OPTIMISE_CFLAGS="-O"
43614 fi
43615 fi
43616
43617
43618 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43619 cat >>confdefs.h <<\_ACEOF
43620 #define WXWIN_COMPATIBILITY_2_6 1
43621 _ACEOF
43622
43623
43624 WXWIN_COMPATIBILITY_2_8="yes"
43625 fi
43626
43627 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43628 cat >>confdefs.h <<\_ACEOF
43629 #define WXWIN_COMPATIBILITY_2_8 1
43630 _ACEOF
43631
43632 fi
43633
43634
43635 if test "$wxUSE_GUI" = "yes"; then
43636 cat >>confdefs.h <<\_ACEOF
43637 #define wxUSE_GUI 1
43638 _ACEOF
43639
43640
43641 fi
43642
43643
43644 if test "$wxUSE_UNIX" = "yes"; then
43645 cat >>confdefs.h <<\_ACEOF
43646 #define wxUSE_UNIX 1
43647 _ACEOF
43648
43649 fi
43650
43651
43652 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43653
43654 HAVE_DL_FUNCS=0
43655 HAVE_SHL_FUNCS=0
43656 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43657 if test "$USE_DARWIN" = 1; then
43658 HAVE_DL_FUNCS=1
43659 elif test "$USE_DOS" = 1; then
43660 HAVE_DL_FUNCS=0
43661 else
43662
43663 for ac_func in dlopen
43664 do
43665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43666 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43668 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43669 echo $ECHO_N "(cached) $ECHO_C" >&6
43670 else
43671 cat >conftest.$ac_ext <<_ACEOF
43672 /* confdefs.h. */
43673 _ACEOF
43674 cat confdefs.h >>conftest.$ac_ext
43675 cat >>conftest.$ac_ext <<_ACEOF
43676 /* end confdefs.h. */
43677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43679 #define $ac_func innocuous_$ac_func
43680
43681 /* System header to define __stub macros and hopefully few prototypes,
43682 which can conflict with char $ac_func (); below.
43683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43684 <limits.h> exists even on freestanding compilers. */
43685
43686 #ifdef __STDC__
43687 # include <limits.h>
43688 #else
43689 # include <assert.h>
43690 #endif
43691
43692 #undef $ac_func
43693
43694 /* Override any GCC internal prototype to avoid an error.
43695 Use char because int might match the return type of a GCC
43696 builtin and then its argument prototype would still apply. */
43697 #ifdef __cplusplus
43698 extern "C"
43699 #endif
43700 char $ac_func ();
43701 /* The GNU C library defines this for functions which it implements
43702 to always fail with ENOSYS. Some functions are actually named
43703 something starting with __ and the normal name is an alias. */
43704 #if defined __stub_$ac_func || defined __stub___$ac_func
43705 choke me
43706 #endif
43707
43708 int
43709 main ()
43710 {
43711 return $ac_func ();
43712 ;
43713 return 0;
43714 }
43715 _ACEOF
43716 rm -f conftest.$ac_objext conftest$ac_exeext
43717 if { (ac_try="$ac_link"
43718 case "(($ac_try" in
43719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43720 *) ac_try_echo=$ac_try;;
43721 esac
43722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43723 (eval "$ac_link") 2>conftest.er1
43724 ac_status=$?
43725 grep -v '^ *+' conftest.er1 >conftest.err
43726 rm -f conftest.er1
43727 cat conftest.err >&5
43728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43729 (exit $ac_status); } && {
43730 test -z "$ac_c_werror_flag" ||
43731 test ! -s conftest.err
43732 } && test -s conftest$ac_exeext &&
43733 $as_test_x conftest$ac_exeext; then
43734 eval "$as_ac_var=yes"
43735 else
43736 echo "$as_me: failed program was:" >&5
43737 sed 's/^/| /' conftest.$ac_ext >&5
43738
43739 eval "$as_ac_var=no"
43740 fi
43741
43742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43743 conftest$ac_exeext conftest.$ac_ext
43744 fi
43745 ac_res=`eval echo '${'$as_ac_var'}'`
43746 { echo "$as_me:$LINENO: result: $ac_res" >&5
43747 echo "${ECHO_T}$ac_res" >&6; }
43748 if test `eval echo '${'$as_ac_var'}'` = yes; then
43749 cat >>confdefs.h <<_ACEOF
43750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43751 _ACEOF
43752
43753 cat >>confdefs.h <<\_ACEOF
43754 #define HAVE_DLOPEN 1
43755 _ACEOF
43756
43757 HAVE_DL_FUNCS=1
43758
43759 else
43760
43761 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43762 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43763 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43764 echo $ECHO_N "(cached) $ECHO_C" >&6
43765 else
43766 ac_check_lib_save_LIBS=$LIBS
43767 LIBS="-ldl $LIBS"
43768 cat >conftest.$ac_ext <<_ACEOF
43769 /* confdefs.h. */
43770 _ACEOF
43771 cat confdefs.h >>conftest.$ac_ext
43772 cat >>conftest.$ac_ext <<_ACEOF
43773 /* end confdefs.h. */
43774
43775 /* Override any GCC internal prototype to avoid an error.
43776 Use char because int might match the return type of a GCC
43777 builtin and then its argument prototype would still apply. */
43778 #ifdef __cplusplus
43779 extern "C"
43780 #endif
43781 char dlopen ();
43782 int
43783 main ()
43784 {
43785 return dlopen ();
43786 ;
43787 return 0;
43788 }
43789 _ACEOF
43790 rm -f conftest.$ac_objext conftest$ac_exeext
43791 if { (ac_try="$ac_link"
43792 case "(($ac_try" in
43793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43794 *) ac_try_echo=$ac_try;;
43795 esac
43796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43797 (eval "$ac_link") 2>conftest.er1
43798 ac_status=$?
43799 grep -v '^ *+' conftest.er1 >conftest.err
43800 rm -f conftest.er1
43801 cat conftest.err >&5
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); } && {
43804 test -z "$ac_c_werror_flag" ||
43805 test ! -s conftest.err
43806 } && test -s conftest$ac_exeext &&
43807 $as_test_x conftest$ac_exeext; then
43808 ac_cv_lib_dl_dlopen=yes
43809 else
43810 echo "$as_me: failed program was:" >&5
43811 sed 's/^/| /' conftest.$ac_ext >&5
43812
43813 ac_cv_lib_dl_dlopen=no
43814 fi
43815
43816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43817 conftest$ac_exeext conftest.$ac_ext
43818 LIBS=$ac_check_lib_save_LIBS
43819 fi
43820 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43821 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43822 if test $ac_cv_lib_dl_dlopen = yes; then
43823
43824 cat >>confdefs.h <<\_ACEOF
43825 #define HAVE_DLOPEN 1
43826 _ACEOF
43827
43828 HAVE_DL_FUNCS=1
43829 DL_LINK=" -ldl$DL_LINK"
43830
43831 else
43832
43833
43834 for ac_func in shl_load
43835 do
43836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43837 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43839 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43840 echo $ECHO_N "(cached) $ECHO_C" >&6
43841 else
43842 cat >conftest.$ac_ext <<_ACEOF
43843 /* confdefs.h. */
43844 _ACEOF
43845 cat confdefs.h >>conftest.$ac_ext
43846 cat >>conftest.$ac_ext <<_ACEOF
43847 /* end confdefs.h. */
43848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43850 #define $ac_func innocuous_$ac_func
43851
43852 /* System header to define __stub macros and hopefully few prototypes,
43853 which can conflict with char $ac_func (); below.
43854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43855 <limits.h> exists even on freestanding compilers. */
43856
43857 #ifdef __STDC__
43858 # include <limits.h>
43859 #else
43860 # include <assert.h>
43861 #endif
43862
43863 #undef $ac_func
43864
43865 /* Override any GCC internal prototype to avoid an error.
43866 Use char because int might match the return type of a GCC
43867 builtin and then its argument prototype would still apply. */
43868 #ifdef __cplusplus
43869 extern "C"
43870 #endif
43871 char $ac_func ();
43872 /* The GNU C library defines this for functions which it implements
43873 to always fail with ENOSYS. Some functions are actually named
43874 something starting with __ and the normal name is an alias. */
43875 #if defined __stub_$ac_func || defined __stub___$ac_func
43876 choke me
43877 #endif
43878
43879 int
43880 main ()
43881 {
43882 return $ac_func ();
43883 ;
43884 return 0;
43885 }
43886 _ACEOF
43887 rm -f conftest.$ac_objext conftest$ac_exeext
43888 if { (ac_try="$ac_link"
43889 case "(($ac_try" in
43890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43891 *) ac_try_echo=$ac_try;;
43892 esac
43893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43894 (eval "$ac_link") 2>conftest.er1
43895 ac_status=$?
43896 grep -v '^ *+' conftest.er1 >conftest.err
43897 rm -f conftest.er1
43898 cat conftest.err >&5
43899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43900 (exit $ac_status); } && {
43901 test -z "$ac_c_werror_flag" ||
43902 test ! -s conftest.err
43903 } && test -s conftest$ac_exeext &&
43904 $as_test_x conftest$ac_exeext; then
43905 eval "$as_ac_var=yes"
43906 else
43907 echo "$as_me: failed program was:" >&5
43908 sed 's/^/| /' conftest.$ac_ext >&5
43909
43910 eval "$as_ac_var=no"
43911 fi
43912
43913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43914 conftest$ac_exeext conftest.$ac_ext
43915 fi
43916 ac_res=`eval echo '${'$as_ac_var'}'`
43917 { echo "$as_me:$LINENO: result: $ac_res" >&5
43918 echo "${ECHO_T}$ac_res" >&6; }
43919 if test `eval echo '${'$as_ac_var'}'` = yes; then
43920 cat >>confdefs.h <<_ACEOF
43921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43922 _ACEOF
43923
43924 cat >>confdefs.h <<\_ACEOF
43925 #define HAVE_SHL_LOAD 1
43926 _ACEOF
43927
43928 HAVE_SHL_FUNCS=1
43929
43930 else
43931
43932 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43933 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43934 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43935 echo $ECHO_N "(cached) $ECHO_C" >&6
43936 else
43937 ac_check_lib_save_LIBS=$LIBS
43938 LIBS="-lshl_load $LIBS"
43939 cat >conftest.$ac_ext <<_ACEOF
43940 /* confdefs.h. */
43941 _ACEOF
43942 cat confdefs.h >>conftest.$ac_ext
43943 cat >>conftest.$ac_ext <<_ACEOF
43944 /* end confdefs.h. */
43945
43946 /* Override any GCC internal prototype to avoid an error.
43947 Use char because int might match the return type of a GCC
43948 builtin and then its argument prototype would still apply. */
43949 #ifdef __cplusplus
43950 extern "C"
43951 #endif
43952 char dld ();
43953 int
43954 main ()
43955 {
43956 return dld ();
43957 ;
43958 return 0;
43959 }
43960 _ACEOF
43961 rm -f conftest.$ac_objext conftest$ac_exeext
43962 if { (ac_try="$ac_link"
43963 case "(($ac_try" in
43964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43965 *) ac_try_echo=$ac_try;;
43966 esac
43967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43968 (eval "$ac_link") 2>conftest.er1
43969 ac_status=$?
43970 grep -v '^ *+' conftest.er1 >conftest.err
43971 rm -f conftest.er1
43972 cat conftest.err >&5
43973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43974 (exit $ac_status); } && {
43975 test -z "$ac_c_werror_flag" ||
43976 test ! -s conftest.err
43977 } && test -s conftest$ac_exeext &&
43978 $as_test_x conftest$ac_exeext; then
43979 ac_cv_lib_shl_load_dld=yes
43980 else
43981 echo "$as_me: failed program was:" >&5
43982 sed 's/^/| /' conftest.$ac_ext >&5
43983
43984 ac_cv_lib_shl_load_dld=no
43985 fi
43986
43987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43988 conftest$ac_exeext conftest.$ac_ext
43989 LIBS=$ac_check_lib_save_LIBS
43990 fi
43991 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43992 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43993 if test $ac_cv_lib_shl_load_dld = yes; then
43994
43995 HAVE_SHL_FUNCS=1
43996 DL_LINK=" -ldld$DL_LINK"
43997
43998 fi
43999
44000
44001 fi
44002 done
44003
44004
44005 fi
44006
44007
44008 fi
44009 done
44010
44011
44012 if test "$HAVE_DL_FUNCS" = 1; then
44013
44014 for ac_func in dlerror
44015 do
44016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44017 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44019 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44020 echo $ECHO_N "(cached) $ECHO_C" >&6
44021 else
44022 cat >conftest.$ac_ext <<_ACEOF
44023 /* confdefs.h. */
44024 _ACEOF
44025 cat confdefs.h >>conftest.$ac_ext
44026 cat >>conftest.$ac_ext <<_ACEOF
44027 /* end confdefs.h. */
44028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44030 #define $ac_func innocuous_$ac_func
44031
44032 /* System header to define __stub macros and hopefully few prototypes,
44033 which can conflict with char $ac_func (); below.
44034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44035 <limits.h> exists even on freestanding compilers. */
44036
44037 #ifdef __STDC__
44038 # include <limits.h>
44039 #else
44040 # include <assert.h>
44041 #endif
44042
44043 #undef $ac_func
44044
44045 /* Override any GCC internal prototype to avoid an error.
44046 Use char because int might match the return type of a GCC
44047 builtin and then its argument prototype would still apply. */
44048 #ifdef __cplusplus
44049 extern "C"
44050 #endif
44051 char $ac_func ();
44052 /* The GNU C library defines this for functions which it implements
44053 to always fail with ENOSYS. Some functions are actually named
44054 something starting with __ and the normal name is an alias. */
44055 #if defined __stub_$ac_func || defined __stub___$ac_func
44056 choke me
44057 #endif
44058
44059 int
44060 main ()
44061 {
44062 return $ac_func ();
44063 ;
44064 return 0;
44065 }
44066 _ACEOF
44067 rm -f conftest.$ac_objext conftest$ac_exeext
44068 if { (ac_try="$ac_link"
44069 case "(($ac_try" in
44070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44071 *) ac_try_echo=$ac_try;;
44072 esac
44073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44074 (eval "$ac_link") 2>conftest.er1
44075 ac_status=$?
44076 grep -v '^ *+' conftest.er1 >conftest.err
44077 rm -f conftest.er1
44078 cat conftest.err >&5
44079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44080 (exit $ac_status); } && {
44081 test -z "$ac_c_werror_flag" ||
44082 test ! -s conftest.err
44083 } && test -s conftest$ac_exeext &&
44084 $as_test_x conftest$ac_exeext; then
44085 eval "$as_ac_var=yes"
44086 else
44087 echo "$as_me: failed program was:" >&5
44088 sed 's/^/| /' conftest.$ac_ext >&5
44089
44090 eval "$as_ac_var=no"
44091 fi
44092
44093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44094 conftest$ac_exeext conftest.$ac_ext
44095 fi
44096 ac_res=`eval echo '${'$as_ac_var'}'`
44097 { echo "$as_me:$LINENO: result: $ac_res" >&5
44098 echo "${ECHO_T}$ac_res" >&6; }
44099 if test `eval echo '${'$as_ac_var'}'` = yes; then
44100 cat >>confdefs.h <<_ACEOF
44101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44102 _ACEOF
44103 cat >>confdefs.h <<\_ACEOF
44104 #define HAVE_DLERROR 1
44105 _ACEOF
44106
44107 else
44108
44109 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44110 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44111 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44112 echo $ECHO_N "(cached) $ECHO_C" >&6
44113 else
44114 ac_check_lib_save_LIBS=$LIBS
44115 LIBS="-ldl $LIBS"
44116 cat >conftest.$ac_ext <<_ACEOF
44117 /* confdefs.h. */
44118 _ACEOF
44119 cat confdefs.h >>conftest.$ac_ext
44120 cat >>conftest.$ac_ext <<_ACEOF
44121 /* end confdefs.h. */
44122
44123 /* Override any GCC internal prototype to avoid an error.
44124 Use char because int might match the return type of a GCC
44125 builtin and then its argument prototype would still apply. */
44126 #ifdef __cplusplus
44127 extern "C"
44128 #endif
44129 char dlerror ();
44130 int
44131 main ()
44132 {
44133 return dlerror ();
44134 ;
44135 return 0;
44136 }
44137 _ACEOF
44138 rm -f conftest.$ac_objext conftest$ac_exeext
44139 if { (ac_try="$ac_link"
44140 case "(($ac_try" in
44141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44142 *) ac_try_echo=$ac_try;;
44143 esac
44144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44145 (eval "$ac_link") 2>conftest.er1
44146 ac_status=$?
44147 grep -v '^ *+' conftest.er1 >conftest.err
44148 rm -f conftest.er1
44149 cat conftest.err >&5
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); } && {
44152 test -z "$ac_c_werror_flag" ||
44153 test ! -s conftest.err
44154 } && test -s conftest$ac_exeext &&
44155 $as_test_x conftest$ac_exeext; then
44156 ac_cv_lib_dl_dlerror=yes
44157 else
44158 echo "$as_me: failed program was:" >&5
44159 sed 's/^/| /' conftest.$ac_ext >&5
44160
44161 ac_cv_lib_dl_dlerror=no
44162 fi
44163
44164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44165 conftest$ac_exeext conftest.$ac_ext
44166 LIBS=$ac_check_lib_save_LIBS
44167 fi
44168 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44169 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44170 if test $ac_cv_lib_dl_dlerror = yes; then
44171 cat >>confdefs.h <<\_ACEOF
44172 #define HAVE_DLERROR 1
44173 _ACEOF
44174
44175 fi
44176
44177
44178
44179 fi
44180 done
44181
44182 fi
44183 fi
44184
44185 if test "$HAVE_DL_FUNCS" = 0; then
44186 if test "$HAVE_SHL_FUNCS" = 0; then
44187 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44188 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44189 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44190 wxUSE_DYNAMIC_LOADER=no
44191 wxUSE_DYNLIB_CLASS=no
44192 else
44193 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44194 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44195 fi
44196 fi
44197 fi
44198 fi
44199 fi
44200
44201 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44202 cat >>confdefs.h <<\_ACEOF
44203 #define wxUSE_DYNAMIC_LOADER 1
44204 _ACEOF
44205
44206 fi
44207 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44208 cat >>confdefs.h <<\_ACEOF
44209 #define wxUSE_DYNLIB_CLASS 1
44210 _ACEOF
44211
44212 fi
44213
44214
44215
44216 if test "$wxUSE_PLUGINS" = "yes" ; then
44217 if test "$wxUSE_SHARED" = "no" ; then
44218 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44219 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44220 wxUSE_PLUGINS=no
44221 fi
44222 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44223 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44224 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44225 wxUSE_PLUGINS=no
44226 fi
44227 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44228 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44229 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44230 wxUSE_PLUGINS=no
44231 fi
44232 if test "$wxUSE_PLUGINS" = "yes" ; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_PLUGINS 1
44235 _ACEOF
44236
44237 fi
44238 fi
44239
44240
44241 if test "$wxUSE_STL" = "yes"; then
44242 cat >>confdefs.h <<\_ACEOF
44243 #define wxUSE_STL 1
44244 _ACEOF
44245
44246 fi
44247
44248 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44249 cat >>confdefs.h <<\_ACEOF
44250 #define wxUSE_EXTENDED_RTTI 1
44251 _ACEOF
44252
44253 fi
44254
44255 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44256 cat >>confdefs.h <<\_ACEOF
44257 #define wxUSE_APPLE_IEEE 1
44258 _ACEOF
44259
44260 fi
44261
44262 if test "$wxUSE_TIMER" = "yes"; then
44263 cat >>confdefs.h <<\_ACEOF
44264 #define wxUSE_TIMER 1
44265 _ACEOF
44266
44267 fi
44268
44269 if test "$USE_UNIX" = "1" ; then
44270 if test "$wxUSE_MGL" != 1; then
44271 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44272 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44273 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44274 echo $ECHO_N "(cached) $ECHO_C" >&6
44275 else
44276
44277 cat >conftest.$ac_ext <<_ACEOF
44278 /* confdefs.h. */
44279 _ACEOF
44280 cat confdefs.h >>conftest.$ac_ext
44281 cat >>conftest.$ac_ext <<_ACEOF
44282 /* end confdefs.h. */
44283
44284 #include <sys/ioctl.h>
44285 #include <sys/soundcard.h>
44286
44287 int
44288 main ()
44289 {
44290
44291 ioctl(0, SNDCTL_DSP_SPEED, 0);
44292
44293 ;
44294 return 0;
44295 }
44296 _ACEOF
44297 rm -f conftest.$ac_objext conftest$ac_exeext
44298 if { (ac_try="$ac_link"
44299 case "(($ac_try" in
44300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44301 *) ac_try_echo=$ac_try;;
44302 esac
44303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44304 (eval "$ac_link") 2>conftest.er1
44305 ac_status=$?
44306 grep -v '^ *+' conftest.er1 >conftest.err
44307 rm -f conftest.er1
44308 cat conftest.err >&5
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); } && {
44311 test -z "$ac_c_werror_flag" ||
44312 test ! -s conftest.err
44313 } && test -s conftest$ac_exeext &&
44314 $as_test_x conftest$ac_exeext; then
44315 ac_cv_header_sys_soundcard=yes
44316 else
44317 echo "$as_me: failed program was:" >&5
44318 sed 's/^/| /' conftest.$ac_ext >&5
44319
44320
44321 saveLibs="$LIBS"
44322 LIBS="$saveLibs -lossaudio"
44323 cat >conftest.$ac_ext <<_ACEOF
44324 /* confdefs.h. */
44325 _ACEOF
44326 cat confdefs.h >>conftest.$ac_ext
44327 cat >>conftest.$ac_ext <<_ACEOF
44328 /* end confdefs.h. */
44329
44330 #include <sys/ioctl.h>
44331 #include <sys/soundcard.h>
44332
44333 int
44334 main ()
44335 {
44336
44337 ioctl(0, SNDCTL_DSP_SPEED, 0);
44338
44339 ;
44340 return 0;
44341 }
44342 _ACEOF
44343 rm -f conftest.$ac_objext conftest$ac_exeext
44344 if { (ac_try="$ac_link"
44345 case "(($ac_try" in
44346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44347 *) ac_try_echo=$ac_try;;
44348 esac
44349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44350 (eval "$ac_link") 2>conftest.er1
44351 ac_status=$?
44352 grep -v '^ *+' conftest.er1 >conftest.err
44353 rm -f conftest.er1
44354 cat conftest.err >&5
44355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44356 (exit $ac_status); } && {
44357 test -z "$ac_c_werror_flag" ||
44358 test ! -s conftest.err
44359 } && test -s conftest$ac_exeext &&
44360 $as_test_x conftest$ac_exeext; then
44361 ac_cv_header_sys_soundcard=yes
44362 else
44363 echo "$as_me: failed program was:" >&5
44364 sed 's/^/| /' conftest.$ac_ext >&5
44365
44366
44367 LIBS="$saveLibs"
44368 ac_cv_header_sys_soundcard=no
44369
44370
44371 fi
44372
44373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44374 conftest$ac_exeext conftest.$ac_ext
44375
44376
44377 fi
44378
44379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44380 conftest$ac_exeext conftest.$ac_ext
44381
44382 fi
44383 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44384 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44385 fi
44386
44387 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44388 cat >>confdefs.h <<\_ACEOF
44389 #define HAVE_SYS_SOUNDCARD_H 1
44390 _ACEOF
44391
44392 fi
44393 fi
44394
44395 WITH_PLUGIN_SDL=0
44396 if test "$wxUSE_SOUND" = "yes"; then
44397 if test "$USE_UNIX" = "1" ; then
44398 if test "$wxUSE_LIBSDL" != "no"; then
44399
44400 # Check whether --with-sdl-prefix was given.
44401 if test "${with_sdl_prefix+set}" = set; then
44402 withval=$with_sdl_prefix; sdl_prefix="$withval"
44403 else
44404 sdl_prefix=""
44405 fi
44406
44407
44408 # Check whether --with-sdl-exec-prefix was given.
44409 if test "${with_sdl_exec_prefix+set}" = set; then
44410 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44411 else
44412 sdl_exec_prefix=""
44413 fi
44414
44415 # Check whether --enable-sdltest was given.
44416 if test "${enable_sdltest+set}" = set; then
44417 enableval=$enable_sdltest;
44418 else
44419 enable_sdltest=yes
44420 fi
44421
44422
44423 if test x$sdl_exec_prefix != x ; then
44424 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44425 if test x${SDL_CONFIG+set} != xset ; then
44426 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44427 fi
44428 fi
44429 if test x$sdl_prefix != x ; then
44430 sdl_args="$sdl_args --prefix=$sdl_prefix"
44431 if test x${SDL_CONFIG+set} != xset ; then
44432 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44433 fi
44434 fi
44435
44436 if test "x$prefix" != xNONE; then
44437 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44438 fi
44439 # Extract the first word of "sdl-config", so it can be a program name with args.
44440 set dummy sdl-config; ac_word=$2
44441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44443 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44444 echo $ECHO_N "(cached) $ECHO_C" >&6
44445 else
44446 case $SDL_CONFIG in
44447 [\\/]* | ?:[\\/]*)
44448 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44449 ;;
44450 *)
44451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44452 for as_dir in $PATH
44453 do
44454 IFS=$as_save_IFS
44455 test -z "$as_dir" && as_dir=.
44456 for ac_exec_ext in '' $ac_executable_extensions; do
44457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44458 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44460 break 2
44461 fi
44462 done
44463 done
44464 IFS=$as_save_IFS
44465
44466 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44467 ;;
44468 esac
44469 fi
44470 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44471 if test -n "$SDL_CONFIG"; then
44472 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44473 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44474 else
44475 { echo "$as_me:$LINENO: result: no" >&5
44476 echo "${ECHO_T}no" >&6; }
44477 fi
44478
44479
44480 min_sdl_version=1.2.0
44481 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44482 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44483 no_sdl=""
44484 if test "$SDL_CONFIG" = "no" ; then
44485 no_sdl=yes
44486 else
44487 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44488 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44489
44490 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44491 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44492 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44493 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44494 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44495 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44496 if test "x$enable_sdltest" = "xyes" ; then
44497 ac_save_CFLAGS="$CFLAGS"
44498 ac_save_CXXFLAGS="$CXXFLAGS"
44499 ac_save_LIBS="$LIBS"
44500 CFLAGS="$CFLAGS $SDL_CFLAGS"
44501 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44502 LIBS="$LIBS $SDL_LIBS"
44503 rm -f conf.sdltest
44504 if test "$cross_compiling" = yes; then
44505 echo $ac_n "cross compiling; assumed OK... $ac_c"
44506 else
44507 cat >conftest.$ac_ext <<_ACEOF
44508 /* confdefs.h. */
44509 _ACEOF
44510 cat confdefs.h >>conftest.$ac_ext
44511 cat >>conftest.$ac_ext <<_ACEOF
44512 /* end confdefs.h. */
44513
44514 #include <stdio.h>
44515 #include <stdlib.h>
44516 #include <string.h>
44517 #include "SDL.h"
44518
44519 char*
44520 my_strdup (char *str)
44521 {
44522 char *new_str;
44523
44524 if (str)
44525 {
44526 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44527 strcpy (new_str, str);
44528 }
44529 else
44530 new_str = NULL;
44531
44532 return new_str;
44533 }
44534
44535 int main (int argc, char *argv[])
44536 {
44537 int major, minor, micro;
44538 char *tmp_version;
44539
44540 /* This hangs on some systems (?)
44541 system ("touch conf.sdltest");
44542 */
44543 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44544
44545 /* HP/UX 9 (%@#!) writes to sscanf strings */
44546 tmp_version = my_strdup("$min_sdl_version");
44547 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44548 printf("%s, bad version string\n", "$min_sdl_version");
44549 exit(1);
44550 }
44551
44552 if (($sdl_major_version > major) ||
44553 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44554 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44555 {
44556 return 0;
44557 }
44558 else
44559 {
44560 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44561 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44562 printf("*** best to upgrade to the required version.\n");
44563 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44564 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44565 printf("*** config.cache before re-running configure\n");
44566 return 1;
44567 }
44568 }
44569
44570
44571 _ACEOF
44572 rm -f conftest$ac_exeext
44573 if { (ac_try="$ac_link"
44574 case "(($ac_try" in
44575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44576 *) ac_try_echo=$ac_try;;
44577 esac
44578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44579 (eval "$ac_link") 2>&5
44580 ac_status=$?
44581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44582 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44583 { (case "(($ac_try" in
44584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44585 *) ac_try_echo=$ac_try;;
44586 esac
44587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44588 (eval "$ac_try") 2>&5
44589 ac_status=$?
44590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44591 (exit $ac_status); }; }; then
44592 :
44593 else
44594 echo "$as_me: program exited with status $ac_status" >&5
44595 echo "$as_me: failed program was:" >&5
44596 sed 's/^/| /' conftest.$ac_ext >&5
44597
44598 ( exit $ac_status )
44599 no_sdl=yes
44600 fi
44601 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44602 fi
44603
44604
44605 CFLAGS="$ac_save_CFLAGS"
44606 CXXFLAGS="$ac_save_CXXFLAGS"
44607 LIBS="$ac_save_LIBS"
44608 fi
44609 fi
44610 if test "x$no_sdl" = x ; then
44611 { echo "$as_me:$LINENO: result: yes" >&5
44612 echo "${ECHO_T}yes" >&6; }
44613
44614 EXTRALIBS_SDL="$SDL_LIBS"
44615 CFLAGS="$SDL_CFLAGS $CFLAGS"
44616 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44617 cat >>confdefs.h <<\_ACEOF
44618 #define wxUSE_LIBSDL 1
44619 _ACEOF
44620
44621
44622 else
44623 { echo "$as_me:$LINENO: result: no" >&5
44624 echo "${ECHO_T}no" >&6; }
44625 if test "$SDL_CONFIG" = "no" ; then
44626 echo "*** The sdl-config script installed by SDL could not be found"
44627 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44628 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44629 echo "*** full path to sdl-config."
44630 else
44631 if test -f conf.sdltest ; then
44632 :
44633 else
44634 echo "*** Could not run SDL test program, checking why..."
44635 CFLAGS="$CFLAGS $SDL_CFLAGS"
44636 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44637 LIBS="$LIBS $SDL_LIBS"
44638 cat >conftest.$ac_ext <<_ACEOF
44639 /* confdefs.h. */
44640 _ACEOF
44641 cat confdefs.h >>conftest.$ac_ext
44642 cat >>conftest.$ac_ext <<_ACEOF
44643 /* end confdefs.h. */
44644
44645 #include <stdio.h>
44646 #include "SDL.h"
44647
44648 int main(int argc, char *argv[])
44649 { return 0; }
44650 #undef main
44651 #define main K_and_R_C_main
44652
44653 int
44654 main ()
44655 {
44656 return 0;
44657 ;
44658 return 0;
44659 }
44660 _ACEOF
44661 rm -f conftest.$ac_objext conftest$ac_exeext
44662 if { (ac_try="$ac_link"
44663 case "(($ac_try" in
44664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44665 *) ac_try_echo=$ac_try;;
44666 esac
44667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44668 (eval "$ac_link") 2>conftest.er1
44669 ac_status=$?
44670 grep -v '^ *+' conftest.er1 >conftest.err
44671 rm -f conftest.er1
44672 cat conftest.err >&5
44673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674 (exit $ac_status); } && {
44675 test -z "$ac_c_werror_flag" ||
44676 test ! -s conftest.err
44677 } && test -s conftest$ac_exeext &&
44678 $as_test_x conftest$ac_exeext; then
44679 echo "*** The test program compiled, but did not run. This usually means"
44680 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44681 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44682 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44683 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44684 echo "*** is required on your system"
44685 echo "***"
44686 echo "*** If you have an old version installed, it is best to remove it, although"
44687 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44688 else
44689 echo "$as_me: failed program was:" >&5
44690 sed 's/^/| /' conftest.$ac_ext >&5
44691
44692 echo "*** The test program failed to compile or link. See the file config.log for the"
44693 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44694 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44695 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44696 fi
44697
44698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44699 conftest$ac_exeext conftest.$ac_ext
44700 CFLAGS="$ac_save_CFLAGS"
44701 CXXFLAGS="$ac_save_CXXFLAGS"
44702 LIBS="$ac_save_LIBS"
44703 fi
44704 fi
44705 SDL_CFLAGS=""
44706 SDL_LIBS=""
44707 wxUSE_LIBSDL="no"
44708 fi
44709
44710
44711 rm -f conf.sdltest
44712
44713 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44714 WITH_PLUGIN_SDL=1
44715 fi
44716 fi
44717 else
44718 if test "$wxUSE_MGL" = 1; then
44719 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44720 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44721 wxUSE_SOUND="no"
44722 fi
44723 fi
44724 fi
44725
44726 if test "$wxUSE_SOUND" = "yes"; then
44727 cat >>confdefs.h <<\_ACEOF
44728 #define wxUSE_SOUND 1
44729 _ACEOF
44730
44731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44732 fi
44733
44734 if test "$WXGTK20" = 1; then
44735
44736
44737 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44738 if test -n "$ac_tool_prefix"; then
44739 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44740 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44743 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44744 echo $ECHO_N "(cached) $ECHO_C" >&6
44745 else
44746 case $PKG_CONFIG in
44747 [\\/]* | ?:[\\/]*)
44748 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44749 ;;
44750 *)
44751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44752 for as_dir in $PATH
44753 do
44754 IFS=$as_save_IFS
44755 test -z "$as_dir" && as_dir=.
44756 for ac_exec_ext in '' $ac_executable_extensions; do
44757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44758 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44760 break 2
44761 fi
44762 done
44763 done
44764 IFS=$as_save_IFS
44765
44766 ;;
44767 esac
44768 fi
44769 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44770 if test -n "$PKG_CONFIG"; then
44771 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44772 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44773 else
44774 { echo "$as_me:$LINENO: result: no" >&5
44775 echo "${ECHO_T}no" >&6; }
44776 fi
44777
44778
44779 fi
44780 if test -z "$ac_cv_path_PKG_CONFIG"; then
44781 ac_pt_PKG_CONFIG=$PKG_CONFIG
44782 # Extract the first word of "pkg-config", so it can be a program name with args.
44783 set dummy pkg-config; ac_word=$2
44784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44786 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44787 echo $ECHO_N "(cached) $ECHO_C" >&6
44788 else
44789 case $ac_pt_PKG_CONFIG in
44790 [\\/]* | ?:[\\/]*)
44791 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44792 ;;
44793 *)
44794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44795 for as_dir in $PATH
44796 do
44797 IFS=$as_save_IFS
44798 test -z "$as_dir" && as_dir=.
44799 for ac_exec_ext in '' $ac_executable_extensions; do
44800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44801 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44803 break 2
44804 fi
44805 done
44806 done
44807 IFS=$as_save_IFS
44808
44809 ;;
44810 esac
44811 fi
44812 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44813 if test -n "$ac_pt_PKG_CONFIG"; then
44814 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44815 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44816 else
44817 { echo "$as_me:$LINENO: result: no" >&5
44818 echo "${ECHO_T}no" >&6; }
44819 fi
44820
44821 if test "x$ac_pt_PKG_CONFIG" = x; then
44822 PKG_CONFIG=""
44823 else
44824 case $cross_compiling:$ac_tool_warned in
44825 yes:)
44826 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44827 whose name does not start with the host triplet. If you think this
44828 configuration is useful to you, please write to autoconf@gnu.org." >&5
44829 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44830 whose name does not start with the host triplet. If you think this
44831 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44832 ac_tool_warned=yes ;;
44833 esac
44834 PKG_CONFIG=$ac_pt_PKG_CONFIG
44835 fi
44836 else
44837 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44838 fi
44839
44840 fi
44841 if test -n "$PKG_CONFIG"; then
44842 _pkg_min_version=0.9.0
44843 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44844 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44845 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44846 { echo "$as_me:$LINENO: result: yes" >&5
44847 echo "${ECHO_T}yes" >&6; }
44848 else
44849 { echo "$as_me:$LINENO: result: no" >&5
44850 echo "${ECHO_T}no" >&6; }
44851 PKG_CONFIG=""
44852 fi
44853
44854 fi
44855
44856 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44857 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44858
44859
44860 pkg_failed=no
44861 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44862 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44863
44864 if test -n "$PKG_CONFIG"; then
44865 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44866 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44867 else
44868 if test -n "$PKG_CONFIG" && \
44869 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44870 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44871 ac_status=$?
44872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44873 (exit $ac_status); }; then
44874 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44875 else
44876 pkg_failed=yes
44877 fi
44878 fi
44879 else
44880 pkg_failed=untried
44881 fi
44882 if test -n "$PKG_CONFIG"; then
44883 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44884 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44885 else
44886 if test -n "$PKG_CONFIG" && \
44887 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44888 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44889 ac_status=$?
44890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44891 (exit $ac_status); }; then
44892 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44893 else
44894 pkg_failed=yes
44895 fi
44896 fi
44897 else
44898 pkg_failed=untried
44899 fi
44900
44901
44902
44903 if test $pkg_failed = yes; then
44904
44905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44906 _pkg_short_errors_supported=yes
44907 else
44908 _pkg_short_errors_supported=no
44909 fi
44910 if test $_pkg_short_errors_supported = yes; then
44911 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44912 else
44913 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44914 fi
44915 # Put the nasty error message in config.log where it belongs
44916 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44917
44918
44919 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44920 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44921 wxUSE_LIBGNOMEPRINT="no"
44922
44923
44924 elif test $pkg_failed = untried; then
44925
44926 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44927 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44928 wxUSE_LIBGNOMEPRINT="no"
44929
44930
44931 else
44932 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44933 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44934 { echo "$as_me:$LINENO: result: yes" >&5
44935 echo "${ECHO_T}yes" >&6; }
44936
44937 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44938 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44939 cat >>confdefs.h <<\_ACEOF
44940 #define wxUSE_LIBGNOMEPRINT 1
44941 _ACEOF
44942
44943
44944 fi
44945 fi
44946 fi
44947
44948 if test "$wxUSE_MIMETYPE" = "yes" ; then
44949 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44950
44951
44952 pkg_failed=no
44953 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44954 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44955
44956 if test -n "$PKG_CONFIG"; then
44957 if test -n "$GNOMEVFS_CFLAGS"; then
44958 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44959 else
44960 if test -n "$PKG_CONFIG" && \
44961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44962 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44963 ac_status=$?
44964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44965 (exit $ac_status); }; then
44966 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44967 else
44968 pkg_failed=yes
44969 fi
44970 fi
44971 else
44972 pkg_failed=untried
44973 fi
44974 if test -n "$PKG_CONFIG"; then
44975 if test -n "$GNOMEVFS_LIBS"; then
44976 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44977 else
44978 if test -n "$PKG_CONFIG" && \
44979 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44980 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44981 ac_status=$?
44982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983 (exit $ac_status); }; then
44984 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44985 else
44986 pkg_failed=yes
44987 fi
44988 fi
44989 else
44990 pkg_failed=untried
44991 fi
44992
44993
44994
44995 if test $pkg_failed = yes; then
44996
44997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44998 _pkg_short_errors_supported=yes
44999 else
45000 _pkg_short_errors_supported=no
45001 fi
45002 if test $_pkg_short_errors_supported = yes; then
45003 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45004 else
45005 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45006 fi
45007 # Put the nasty error message in config.log where it belongs
45008 echo "$GNOMEVFS_PKG_ERRORS" >&5
45009
45010
45011 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45012 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45013 wxUSE_LIBGNOMEVFS="no"
45014
45015
45016 elif test $pkg_failed = untried; then
45017
45018 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45019 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45020 wxUSE_LIBGNOMEVFS="no"
45021
45022
45023 else
45024 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45025 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45026 { echo "$as_me:$LINENO: result: yes" >&5
45027 echo "${ECHO_T}yes" >&6; }
45028
45029 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45030 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_LIBGNOMEVFS 1
45033 _ACEOF
45034
45035
45036 fi
45037 fi
45038 fi
45039
45040 if test "$wxUSE_LIBHILDON" = "yes" ; then
45041
45042 pkg_failed=no
45043 { echo "$as_me:$LINENO: checking for HILDON" >&5
45044 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45045
45046 if test -n "$PKG_CONFIG"; then
45047 if test -n "$HILDON_CFLAGS"; then
45048 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45049 else
45050 if test -n "$PKG_CONFIG" && \
45051 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45052 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45053 ac_status=$?
45054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45055 (exit $ac_status); }; then
45056 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45057 else
45058 pkg_failed=yes
45059 fi
45060 fi
45061 else
45062 pkg_failed=untried
45063 fi
45064 if test -n "$PKG_CONFIG"; then
45065 if test -n "$HILDON_LIBS"; then
45066 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45067 else
45068 if test -n "$PKG_CONFIG" && \
45069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45070 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45071 ac_status=$?
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); }; then
45074 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45075 else
45076 pkg_failed=yes
45077 fi
45078 fi
45079 else
45080 pkg_failed=untried
45081 fi
45082
45083
45084
45085 if test $pkg_failed = yes; then
45086
45087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45088 _pkg_short_errors_supported=yes
45089 else
45090 _pkg_short_errors_supported=no
45091 fi
45092 if test $_pkg_short_errors_supported = yes; then
45093 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45094 else
45095 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45096 fi
45097 # Put the nasty error message in config.log where it belongs
45098 echo "$HILDON_PKG_ERRORS" >&5
45099
45100
45101 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45102 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45103 wxUSE_LIBHILDON="no"
45104
45105
45106 elif test $pkg_failed = untried; then
45107
45108 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45109 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45110 wxUSE_LIBHILDON="no"
45111
45112
45113 else
45114 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45115 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45116 { echo "$as_me:$LINENO: result: yes" >&5
45117 echo "${ECHO_T}yes" >&6; }
45118
45119 EXTRALIBS_HILDON="$HILDON_LIBS"
45120 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45121 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45122 cat >>confdefs.h <<\_ACEOF
45123 #define wxUSE_LIBHILDON 1
45124 _ACEOF
45125
45126
45127 fi
45128 fi
45129 fi
45130
45131 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45132 cat >>confdefs.h <<\_ACEOF
45133 #define wxUSE_CMDLINE_PARSER 1
45134 _ACEOF
45135
45136 fi
45137
45138 if test "$wxUSE_STOPWATCH" = "yes"; then
45139 cat >>confdefs.h <<\_ACEOF
45140 #define wxUSE_STOPWATCH 1
45141 _ACEOF
45142
45143 fi
45144
45145 if test "$wxUSE_DATETIME" = "yes"; then
45146 cat >>confdefs.h <<\_ACEOF
45147 #define wxUSE_DATETIME 1
45148 _ACEOF
45149
45150 fi
45151
45152 if test "$wxUSE_FILE" = "yes"; then
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_FILE 1
45155 _ACEOF
45156
45157 fi
45158
45159 if test "$wxUSE_FFILE" = "yes"; then
45160 cat >>confdefs.h <<\_ACEOF
45161 #define wxUSE_FFILE 1
45162 _ACEOF
45163
45164 fi
45165
45166 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45167 if test "$wxUSE_STREAMS" != yes; then
45168 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45169 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45170 wxUSE_ARCHIVE_STREAMS=no
45171 else
45172 cat >>confdefs.h <<\_ACEOF
45173 #define wxUSE_ARCHIVE_STREAMS 1
45174 _ACEOF
45175
45176 fi
45177 fi
45178
45179 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45180 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45181 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45182 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45183 elif test "$wxUSE_ZLIB" = "no"; then
45184 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45185 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45186 else
45187 cat >>confdefs.h <<\_ACEOF
45188 #define wxUSE_ZIPSTREAM 1
45189 _ACEOF
45190
45191 fi
45192 fi
45193
45194 if test "$wxUSE_TARSTREAM" = "yes"; then
45195 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45196 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45197 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45198 else
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_TARSTREAM 1
45201 _ACEOF
45202
45203 fi
45204 fi
45205
45206 if test "$wxUSE_FILESYSTEM" = "yes"; then
45207 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45208 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45209 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45210 wxUSE_FILESYSTEM=no
45211 else
45212 cat >>confdefs.h <<\_ACEOF
45213 #define wxUSE_FILESYSTEM 1
45214 _ACEOF
45215
45216 fi
45217 fi
45218
45219 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45220 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45221 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45222 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45223 else
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_FS_ARCHIVE 1
45226 _ACEOF
45227
45228 fi
45229 fi
45230
45231 if test "$wxUSE_FS_ZIP" = "yes"; then
45232 if test "$wxUSE_FS_ARCHIVE" != yes; then
45233 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45234 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45235 else
45236 cat >>confdefs.h <<\_ACEOF
45237 #define wxUSE_FS_ZIP 1
45238 _ACEOF
45239
45240 fi
45241 fi
45242
45243 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45244 if test "$USE_UNIX" != 1; then
45245 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45246 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45247 wxUSE_ON_FATAL_EXCEPTION=no
45248 else
45249 cat >>confdefs.h <<\_ACEOF
45250 #define wxUSE_ON_FATAL_EXCEPTION 1
45251 _ACEOF
45252
45253 fi
45254 fi
45255
45256 if test "$wxUSE_STACKWALKER" = "yes"; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_STACKWALKER 1
45259 _ACEOF
45260
45261 fi
45262
45263 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45264 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45265 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45266 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45267 wxUSE_DEBUGREPORT=no
45268 else
45269 cat >>confdefs.h <<\_ACEOF
45270 #define wxUSE_DEBUGREPORT 1
45271 _ACEOF
45272
45273 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45275 fi
45276 fi
45277 fi
45278
45279 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45280 cat >>confdefs.h <<\_ACEOF
45281 #define wxUSE_SNGLINST_CHECKER 1
45282 _ACEOF
45283
45284 fi
45285
45286 if test "$wxUSE_BUSYINFO" = "yes"; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_BUSYINFO 1
45289 _ACEOF
45290
45291 fi
45292
45293 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45294 cat >>confdefs.h <<\_ACEOF
45295 #define wxUSE_STD_IOSTREAM 1
45296 _ACEOF
45297
45298 fi
45299
45300 if test "$wxUSE_STD_STRING" = "yes"; then
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_STD_STRING 1
45303 _ACEOF
45304
45305 fi
45306
45307 if test "$wxUSE_STDPATHS" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_STDPATHS 1
45310 _ACEOF
45311
45312 fi
45313
45314 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_TEXTBUFFER 1
45317 _ACEOF
45318
45319 fi
45320
45321 if test "$wxUSE_TEXTFILE" = "yes"; then
45322 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45323 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45324 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45325 else
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_TEXTFILE 1
45328 _ACEOF
45329
45330 fi
45331 fi
45332
45333 if test "$wxUSE_CONFIG" = "yes" ; then
45334 if test "$wxUSE_TEXTFILE" != "yes"; then
45335 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45336 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45337 else
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_CONFIG 1
45340 _ACEOF
45341
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_CONFIG_NATIVE 1
45344 _ACEOF
45345
45346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45347 fi
45348 fi
45349
45350 if test "$wxUSE_INTL" = "yes" ; then
45351 if test "$wxUSE_FILE" != "yes"; then
45352 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45353 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45354 else
45355 cat >>confdefs.h <<\_ACEOF
45356 #define wxUSE_INTL 1
45357 _ACEOF
45358
45359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45360 GUIDIST="$GUIDIST INTL_DIST"
45361 fi
45362 fi
45363
45364 if test "$wxUSE_LOG" = "yes"; then
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_LOG 1
45367 _ACEOF
45368
45369
45370 if test "$wxUSE_LOGGUI" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_LOGGUI 1
45373 _ACEOF
45374
45375 fi
45376
45377 if test "$wxUSE_LOGWINDOW" = "yes"; then
45378 cat >>confdefs.h <<\_ACEOF
45379 #define wxUSE_LOGWINDOW 1
45380 _ACEOF
45381
45382 fi
45383
45384 if test "$wxUSE_LOGDIALOG" = "yes"; then
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_LOG_DIALOG 1
45387 _ACEOF
45388
45389 fi
45390
45391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45392 fi
45393
45394 if test "$wxUSE_LONGLONG" = "yes"; then
45395 cat >>confdefs.h <<\_ACEOF
45396 #define wxUSE_LONGLONG 1
45397 _ACEOF
45398
45399 fi
45400
45401 if test "$wxUSE_GEOMETRY" = "yes"; then
45402 cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_GEOMETRY 1
45404 _ACEOF
45405
45406 fi
45407
45408 if test "$wxUSE_BASE64" = "yes"; then
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_BASE64 1
45411 _ACEOF
45412
45413 fi
45414
45415 if test "$wxUSE_STREAMS" = "yes" ; then
45416 cat >>confdefs.h <<\_ACEOF
45417 #define wxUSE_STREAMS 1
45418 _ACEOF
45419
45420 fi
45421
45422 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45423 cat >>confdefs.h <<\_ACEOF
45424 #define wxUSE_PRINTF_POS_PARAMS 1
45425 _ACEOF
45426
45427 fi
45428
45429 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_OBJC_UNIQUIFYING 1
45432 _ACEOF
45433
45434 fi
45435
45436
45437 if test "$wxUSE_DATETIME" = "yes"; then
45438 { echo "$as_me:$LINENO: checking for strptime" >&5
45439 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45440 if test "${ac_cv_func_strptime+set}" = set; then
45441 echo $ECHO_N "(cached) $ECHO_C" >&6
45442 else
45443 cat >conftest.$ac_ext <<_ACEOF
45444 /* confdefs.h. */
45445 _ACEOF
45446 cat confdefs.h >>conftest.$ac_ext
45447 cat >>conftest.$ac_ext <<_ACEOF
45448 /* end confdefs.h. */
45449 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45451 #define strptime innocuous_strptime
45452
45453 /* System header to define __stub macros and hopefully few prototypes,
45454 which can conflict with char strptime (); below.
45455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45456 <limits.h> exists even on freestanding compilers. */
45457
45458 #ifdef __STDC__
45459 # include <limits.h>
45460 #else
45461 # include <assert.h>
45462 #endif
45463
45464 #undef strptime
45465
45466 /* Override any GCC internal prototype to avoid an error.
45467 Use char because int might match the return type of a GCC
45468 builtin and then its argument prototype would still apply. */
45469 #ifdef __cplusplus
45470 extern "C"
45471 #endif
45472 char strptime ();
45473 /* The GNU C library defines this for functions which it implements
45474 to always fail with ENOSYS. Some functions are actually named
45475 something starting with __ and the normal name is an alias. */
45476 #if defined __stub_strptime || defined __stub___strptime
45477 choke me
45478 #endif
45479
45480 int
45481 main ()
45482 {
45483 return strptime ();
45484 ;
45485 return 0;
45486 }
45487 _ACEOF
45488 rm -f conftest.$ac_objext conftest$ac_exeext
45489 if { (ac_try="$ac_link"
45490 case "(($ac_try" in
45491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45492 *) ac_try_echo=$ac_try;;
45493 esac
45494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45495 (eval "$ac_link") 2>conftest.er1
45496 ac_status=$?
45497 grep -v '^ *+' conftest.er1 >conftest.err
45498 rm -f conftest.er1
45499 cat conftest.err >&5
45500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45501 (exit $ac_status); } && {
45502 test -z "$ac_c_werror_flag" ||
45503 test ! -s conftest.err
45504 } && test -s conftest$ac_exeext &&
45505 $as_test_x conftest$ac_exeext; then
45506 ac_cv_func_strptime=yes
45507 else
45508 echo "$as_me: failed program was:" >&5
45509 sed 's/^/| /' conftest.$ac_ext >&5
45510
45511 ac_cv_func_strptime=no
45512 fi
45513
45514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45515 conftest$ac_exeext conftest.$ac_ext
45516 fi
45517 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45518 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45519
45520 if test "$ac_cv_func_strptime" = "yes"; then
45521 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45522 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45523 if test "${wx_cv_func_strptime_decl+set}" = set; then
45524 echo $ECHO_N "(cached) $ECHO_C" >&6
45525 else
45526
45527 ac_ext=cpp
45528 ac_cpp='$CXXCPP $CPPFLAGS'
45529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45532
45533 cat >conftest.$ac_ext <<_ACEOF
45534 /* confdefs.h. */
45535 _ACEOF
45536 cat confdefs.h >>conftest.$ac_ext
45537 cat >>conftest.$ac_ext <<_ACEOF
45538 /* end confdefs.h. */
45539
45540 #include <time.h>
45541
45542 int
45543 main ()
45544 {
45545
45546 struct tm t;
45547 strptime("foo", "bar", &t);
45548
45549 ;
45550 return 0;
45551 }
45552 _ACEOF
45553 rm -f conftest.$ac_objext
45554 if { (ac_try="$ac_compile"
45555 case "(($ac_try" in
45556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45557 *) ac_try_echo=$ac_try;;
45558 esac
45559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45560 (eval "$ac_compile") 2>conftest.er1
45561 ac_status=$?
45562 grep -v '^ *+' conftest.er1 >conftest.err
45563 rm -f conftest.er1
45564 cat conftest.err >&5
45565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45566 (exit $ac_status); } && {
45567 test -z "$ac_cxx_werror_flag" ||
45568 test ! -s conftest.err
45569 } && test -s conftest.$ac_objext; then
45570 wx_cv_func_strptime_decl=yes
45571 else
45572 echo "$as_me: failed program was:" >&5
45573 sed 's/^/| /' conftest.$ac_ext >&5
45574
45575 wx_cv_func_strptime_decl=no
45576
45577 fi
45578
45579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45580 ac_ext=c
45581 ac_cpp='$CPP $CPPFLAGS'
45582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45585
45586
45587
45588 fi
45589 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45590 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45591 fi
45592 if test "$wx_cv_func_strptime_decl" = "yes"; then
45593 cat >>confdefs.h <<\_ACEOF
45594 #define HAVE_STRPTIME_DECL 1
45595 _ACEOF
45596
45597 else
45598 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
45599 fi
45600 if test "$ac_cv_func_strptime" = "yes"; then
45601 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45602 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
45603 if test "${wx_cv_func_strptime_ok+set}" = set; then
45604 echo $ECHO_N "(cached) $ECHO_C" >&6
45605 else
45606 if test "$cross_compiling" = yes; then
45607 wx_cv_func_strptime_ok=no
45608
45609 else
45610 cat >conftest.$ac_ext <<_ACEOF
45611
45612 #include <stdlib.h>
45613 #include <time.h>
45614 #include "confdefs.h"
45615
45616 $wx_strptime_decl
45617
45618 int main()
45619 {
45620 struct tm t;
45621 return !!strptime("", "%x", &t);
45622 }
45623
45624 _ACEOF
45625 rm -f conftest$ac_exeext
45626 if { (ac_try="$ac_link"
45627 case "(($ac_try" in
45628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45629 *) ac_try_echo=$ac_try;;
45630 esac
45631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45632 (eval "$ac_link") 2>&5
45633 ac_status=$?
45634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45636 { (case "(($ac_try" in
45637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45638 *) ac_try_echo=$ac_try;;
45639 esac
45640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45641 (eval "$ac_try") 2>&5
45642 ac_status=$?
45643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644 (exit $ac_status); }; }; then
45645 wx_cv_func_strptime_ok=yes
45646 else
45647 echo "$as_me: program exited with status $ac_status" >&5
45648 echo "$as_me: failed program was:" >&5
45649 sed 's/^/| /' conftest.$ac_ext >&5
45650
45651 ( exit $ac_status )
45652 wx_cv_func_strptime_ok=no
45653 fi
45654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45655 fi
45656
45657
45658
45659 fi
45660 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45661 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
45662
45663 if test "$wx_cv_func_strptime_ok" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define HAVE_STRPTIME 1
45666 _ACEOF
45667
45668 fi
45669 fi
45670
45671 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45672 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45673 if test "${wx_cv_var_timezone+set}" = set; then
45674 echo $ECHO_N "(cached) $ECHO_C" >&6
45675 else
45676
45677 ac_ext=cpp
45678 ac_cpp='$CXXCPP $CPPFLAGS'
45679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45682
45683 cat >conftest.$ac_ext <<_ACEOF
45684 /* confdefs.h. */
45685 _ACEOF
45686 cat confdefs.h >>conftest.$ac_ext
45687 cat >>conftest.$ac_ext <<_ACEOF
45688 /* end confdefs.h. */
45689
45690 #include <time.h>
45691
45692 int
45693 main ()
45694 {
45695
45696 int tz;
45697 tz = timezone;
45698
45699 ;
45700 return 0;
45701 }
45702 _ACEOF
45703 rm -f conftest.$ac_objext
45704 if { (ac_try="$ac_compile"
45705 case "(($ac_try" in
45706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45707 *) ac_try_echo=$ac_try;;
45708 esac
45709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45710 (eval "$ac_compile") 2>conftest.er1
45711 ac_status=$?
45712 grep -v '^ *+' conftest.er1 >conftest.err
45713 rm -f conftest.er1
45714 cat conftest.err >&5
45715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716 (exit $ac_status); } && {
45717 test -z "$ac_cxx_werror_flag" ||
45718 test ! -s conftest.err
45719 } && test -s conftest.$ac_objext; then
45720
45721 wx_cv_var_timezone=timezone
45722
45723 else
45724 echo "$as_me: failed program was:" >&5
45725 sed 's/^/| /' conftest.$ac_ext >&5
45726
45727
45728 cat >conftest.$ac_ext <<_ACEOF
45729 /* confdefs.h. */
45730 _ACEOF
45731 cat confdefs.h >>conftest.$ac_ext
45732 cat >>conftest.$ac_ext <<_ACEOF
45733 /* end confdefs.h. */
45734
45735 #include <time.h>
45736
45737 int
45738 main ()
45739 {
45740
45741 int tz;
45742 tz = _timezone;
45743
45744 ;
45745 return 0;
45746 }
45747 _ACEOF
45748 rm -f conftest.$ac_objext
45749 if { (ac_try="$ac_compile"
45750 case "(($ac_try" in
45751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45752 *) ac_try_echo=$ac_try;;
45753 esac
45754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45755 (eval "$ac_compile") 2>conftest.er1
45756 ac_status=$?
45757 grep -v '^ *+' conftest.er1 >conftest.err
45758 rm -f conftest.er1
45759 cat conftest.err >&5
45760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45761 (exit $ac_status); } && {
45762 test -z "$ac_cxx_werror_flag" ||
45763 test ! -s conftest.err
45764 } && test -s conftest.$ac_objext; then
45765
45766 wx_cv_var_timezone=_timezone
45767
45768 else
45769 echo "$as_me: failed program was:" >&5
45770 sed 's/^/| /' conftest.$ac_ext >&5
45771
45772
45773 cat >conftest.$ac_ext <<_ACEOF
45774 /* confdefs.h. */
45775 _ACEOF
45776 cat confdefs.h >>conftest.$ac_ext
45777 cat >>conftest.$ac_ext <<_ACEOF
45778 /* end confdefs.h. */
45779
45780 #include <time.h>
45781
45782 int
45783 main ()
45784 {
45785
45786 int tz;
45787 tz = __timezone;
45788
45789 ;
45790 return 0;
45791 }
45792 _ACEOF
45793 rm -f conftest.$ac_objext
45794 if { (ac_try="$ac_compile"
45795 case "(($ac_try" in
45796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45797 *) ac_try_echo=$ac_try;;
45798 esac
45799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45800 (eval "$ac_compile") 2>conftest.er1
45801 ac_status=$?
45802 grep -v '^ *+' conftest.er1 >conftest.err
45803 rm -f conftest.er1
45804 cat conftest.err >&5
45805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45806 (exit $ac_status); } && {
45807 test -z "$ac_cxx_werror_flag" ||
45808 test ! -s conftest.err
45809 } && test -s conftest.$ac_objext; then
45810
45811 wx_cv_var_timezone=__timezone
45812
45813 else
45814 echo "$as_me: failed program was:" >&5
45815 sed 's/^/| /' conftest.$ac_ext >&5
45816
45817
45818 if test "$USE_DOS" = 0 ; then
45819 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45820 echo "$as_me: WARNING: no timezone variable" >&2;}
45821 fi
45822
45823
45824 fi
45825
45826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45827
45828
45829 fi
45830
45831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45832
45833
45834 fi
45835
45836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45837 ac_ext=c
45838 ac_cpp='$CPP $CPPFLAGS'
45839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45842
45843
45844
45845 fi
45846 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45847 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45848
45849 if test "x$wx_cv_var_timezone" != x ; then
45850 cat >>confdefs.h <<_ACEOF
45851 #define WX_TIMEZONE $wx_cv_var_timezone
45852 _ACEOF
45853
45854 fi
45855
45856
45857 for ac_func in localtime
45858 do
45859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45860 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45863 echo $ECHO_N "(cached) $ECHO_C" >&6
45864 else
45865 cat >conftest.$ac_ext <<_ACEOF
45866 /* confdefs.h. */
45867 _ACEOF
45868 cat confdefs.h >>conftest.$ac_ext
45869 cat >>conftest.$ac_ext <<_ACEOF
45870 /* end confdefs.h. */
45871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45873 #define $ac_func innocuous_$ac_func
45874
45875 /* System header to define __stub macros and hopefully few prototypes,
45876 which can conflict with char $ac_func (); below.
45877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45878 <limits.h> exists even on freestanding compilers. */
45879
45880 #ifdef __STDC__
45881 # include <limits.h>
45882 #else
45883 # include <assert.h>
45884 #endif
45885
45886 #undef $ac_func
45887
45888 /* Override any GCC internal prototype to avoid an error.
45889 Use char because int might match the return type of a GCC
45890 builtin and then its argument prototype would still apply. */
45891 #ifdef __cplusplus
45892 extern "C"
45893 #endif
45894 char $ac_func ();
45895 /* The GNU C library defines this for functions which it implements
45896 to always fail with ENOSYS. Some functions are actually named
45897 something starting with __ and the normal name is an alias. */
45898 #if defined __stub_$ac_func || defined __stub___$ac_func
45899 choke me
45900 #endif
45901
45902 int
45903 main ()
45904 {
45905 return $ac_func ();
45906 ;
45907 return 0;
45908 }
45909 _ACEOF
45910 rm -f conftest.$ac_objext conftest$ac_exeext
45911 if { (ac_try="$ac_link"
45912 case "(($ac_try" in
45913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45914 *) ac_try_echo=$ac_try;;
45915 esac
45916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45917 (eval "$ac_link") 2>conftest.er1
45918 ac_status=$?
45919 grep -v '^ *+' conftest.er1 >conftest.err
45920 rm -f conftest.er1
45921 cat conftest.err >&5
45922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45923 (exit $ac_status); } && {
45924 test -z "$ac_c_werror_flag" ||
45925 test ! -s conftest.err
45926 } && test -s conftest$ac_exeext &&
45927 $as_test_x conftest$ac_exeext; then
45928 eval "$as_ac_var=yes"
45929 else
45930 echo "$as_me: failed program was:" >&5
45931 sed 's/^/| /' conftest.$ac_ext >&5
45932
45933 eval "$as_ac_var=no"
45934 fi
45935
45936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45937 conftest$ac_exeext conftest.$ac_ext
45938 fi
45939 ac_res=`eval echo '${'$as_ac_var'}'`
45940 { echo "$as_me:$LINENO: result: $ac_res" >&5
45941 echo "${ECHO_T}$ac_res" >&6; }
45942 if test `eval echo '${'$as_ac_var'}'` = yes; then
45943 cat >>confdefs.h <<_ACEOF
45944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45945 _ACEOF
45946
45947 fi
45948 done
45949
45950
45951 if test "$ac_cv_func_localtime" = "yes"; then
45952 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45953 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45954 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45955 echo $ECHO_N "(cached) $ECHO_C" >&6
45956 else
45957
45958 cat >conftest.$ac_ext <<_ACEOF
45959 /* confdefs.h. */
45960 _ACEOF
45961 cat confdefs.h >>conftest.$ac_ext
45962 cat >>conftest.$ac_ext <<_ACEOF
45963 /* end confdefs.h. */
45964
45965 #include <time.h>
45966
45967 int
45968 main ()
45969 {
45970
45971 struct tm tm;
45972 tm.tm_gmtoff++;
45973
45974 ;
45975 return 0;
45976 }
45977 _ACEOF
45978 rm -f conftest.$ac_objext
45979 if { (ac_try="$ac_compile"
45980 case "(($ac_try" in
45981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45982 *) ac_try_echo=$ac_try;;
45983 esac
45984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45985 (eval "$ac_compile") 2>conftest.er1
45986 ac_status=$?
45987 grep -v '^ *+' conftest.er1 >conftest.err
45988 rm -f conftest.er1
45989 cat conftest.err >&5
45990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991 (exit $ac_status); } && {
45992 test -z "$ac_c_werror_flag" ||
45993 test ! -s conftest.err
45994 } && test -s conftest.$ac_objext; then
45995
45996 wx_cv_struct_tm_has_gmtoff=yes
45997
45998 else
45999 echo "$as_me: failed program was:" >&5
46000 sed 's/^/| /' conftest.$ac_ext >&5
46001
46002 wx_cv_struct_tm_has_gmtoff=no
46003
46004 fi
46005
46006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46007
46008 fi
46009 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46010 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46011 fi
46012
46013 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46014 cat >>confdefs.h <<\_ACEOF
46015 #define WX_GMTOFF_IN_TM 1
46016 _ACEOF
46017
46018 fi
46019
46020
46021
46022 for ac_func in gettimeofday ftime
46023 do
46024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46027 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46028 echo $ECHO_N "(cached) $ECHO_C" >&6
46029 else
46030 cat >conftest.$ac_ext <<_ACEOF
46031 /* confdefs.h. */
46032 _ACEOF
46033 cat confdefs.h >>conftest.$ac_ext
46034 cat >>conftest.$ac_ext <<_ACEOF
46035 /* end confdefs.h. */
46036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46038 #define $ac_func innocuous_$ac_func
46039
46040 /* System header to define __stub macros and hopefully few prototypes,
46041 which can conflict with char $ac_func (); below.
46042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46043 <limits.h> exists even on freestanding compilers. */
46044
46045 #ifdef __STDC__
46046 # include <limits.h>
46047 #else
46048 # include <assert.h>
46049 #endif
46050
46051 #undef $ac_func
46052
46053 /* Override any GCC internal prototype to avoid an error.
46054 Use char because int might match the return type of a GCC
46055 builtin and then its argument prototype would still apply. */
46056 #ifdef __cplusplus
46057 extern "C"
46058 #endif
46059 char $ac_func ();
46060 /* The GNU C library defines this for functions which it implements
46061 to always fail with ENOSYS. Some functions are actually named
46062 something starting with __ and the normal name is an alias. */
46063 #if defined __stub_$ac_func || defined __stub___$ac_func
46064 choke me
46065 #endif
46066
46067 int
46068 main ()
46069 {
46070 return $ac_func ();
46071 ;
46072 return 0;
46073 }
46074 _ACEOF
46075 rm -f conftest.$ac_objext conftest$ac_exeext
46076 if { (ac_try="$ac_link"
46077 case "(($ac_try" in
46078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46079 *) ac_try_echo=$ac_try;;
46080 esac
46081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46082 (eval "$ac_link") 2>conftest.er1
46083 ac_status=$?
46084 grep -v '^ *+' conftest.er1 >conftest.err
46085 rm -f conftest.er1
46086 cat conftest.err >&5
46087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46088 (exit $ac_status); } && {
46089 test -z "$ac_c_werror_flag" ||
46090 test ! -s conftest.err
46091 } && test -s conftest$ac_exeext &&
46092 $as_test_x conftest$ac_exeext; then
46093 eval "$as_ac_var=yes"
46094 else
46095 echo "$as_me: failed program was:" >&5
46096 sed 's/^/| /' conftest.$ac_ext >&5
46097
46098 eval "$as_ac_var=no"
46099 fi
46100
46101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46102 conftest$ac_exeext conftest.$ac_ext
46103 fi
46104 ac_res=`eval echo '${'$as_ac_var'}'`
46105 { echo "$as_me:$LINENO: result: $ac_res" >&5
46106 echo "${ECHO_T}$ac_res" >&6; }
46107 if test `eval echo '${'$as_ac_var'}'` = yes; then
46108 cat >>confdefs.h <<_ACEOF
46109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46110 _ACEOF
46111 break
46112 fi
46113 done
46114
46115
46116 if test "$ac_cv_func_gettimeofday" = "yes"; then
46117 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46118 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46119 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46120 echo $ECHO_N "(cached) $ECHO_C" >&6
46121 else
46122
46123 cat >conftest.$ac_ext <<_ACEOF
46124 /* confdefs.h. */
46125 _ACEOF
46126 cat confdefs.h >>conftest.$ac_ext
46127 cat >>conftest.$ac_ext <<_ACEOF
46128 /* end confdefs.h. */
46129
46130 #include <sys/time.h>
46131 #include <unistd.h>
46132
46133 int
46134 main ()
46135 {
46136
46137 struct timeval tv;
46138 gettimeofday(&tv, NULL);
46139
46140 ;
46141 return 0;
46142 }
46143 _ACEOF
46144 rm -f conftest.$ac_objext
46145 if { (ac_try="$ac_compile"
46146 case "(($ac_try" in
46147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46148 *) ac_try_echo=$ac_try;;
46149 esac
46150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46151 (eval "$ac_compile") 2>conftest.er1
46152 ac_status=$?
46153 grep -v '^ *+' conftest.er1 >conftest.err
46154 rm -f conftest.er1
46155 cat conftest.err >&5
46156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46157 (exit $ac_status); } && {
46158 test -z "$ac_c_werror_flag" ||
46159 test ! -s conftest.err
46160 } && test -s conftest.$ac_objext; then
46161 wx_cv_func_gettimeofday_has_2_args=yes
46162 else
46163 echo "$as_me: failed program was:" >&5
46164 sed 's/^/| /' conftest.$ac_ext >&5
46165
46166 cat >conftest.$ac_ext <<_ACEOF
46167 /* confdefs.h. */
46168 _ACEOF
46169 cat confdefs.h >>conftest.$ac_ext
46170 cat >>conftest.$ac_ext <<_ACEOF
46171 /* end confdefs.h. */
46172
46173 #include <sys/time.h>
46174 #include <unistd.h>
46175
46176 int
46177 main ()
46178 {
46179
46180 struct timeval tv;
46181 gettimeofday(&tv);
46182
46183 ;
46184 return 0;
46185 }
46186 _ACEOF
46187 rm -f conftest.$ac_objext
46188 if { (ac_try="$ac_compile"
46189 case "(($ac_try" in
46190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46191 *) ac_try_echo=$ac_try;;
46192 esac
46193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46194 (eval "$ac_compile") 2>conftest.er1
46195 ac_status=$?
46196 grep -v '^ *+' conftest.er1 >conftest.err
46197 rm -f conftest.er1
46198 cat conftest.err >&5
46199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46200 (exit $ac_status); } && {
46201 test -z "$ac_c_werror_flag" ||
46202 test ! -s conftest.err
46203 } && test -s conftest.$ac_objext; then
46204 wx_cv_func_gettimeofday_has_2_args=no
46205 else
46206 echo "$as_me: failed program was:" >&5
46207 sed 's/^/| /' conftest.$ac_ext >&5
46208
46209
46210 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46211 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46212 wx_cv_func_gettimeofday_has_2_args=unknown
46213
46214
46215 fi
46216
46217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46218
46219 fi
46220
46221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46222
46223 fi
46224 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46225 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46226
46227 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46228 cat >>confdefs.h <<\_ACEOF
46229 #define WX_GETTIMEOFDAY_NO_TZ 1
46230 _ACEOF
46231
46232 fi
46233 fi
46234
46235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46236 fi
46237
46238
46239 if test "$wxUSE_SOCKETS" = "yes"; then
46240 if test "$wxUSE_MGL" = "1"; then
46241 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46242 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46243 wxUSE_SOCKETS="no"
46244 fi
46245 fi
46246
46247 if test "$wxUSE_SOCKETS" = "yes"; then
46248 if test "$TOOLKIT" != "MSW"; then
46249 { echo "$as_me:$LINENO: checking for socket" >&5
46250 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46251 if test "${ac_cv_func_socket+set}" = set; then
46252 echo $ECHO_N "(cached) $ECHO_C" >&6
46253 else
46254 cat >conftest.$ac_ext <<_ACEOF
46255 /* confdefs.h. */
46256 _ACEOF
46257 cat confdefs.h >>conftest.$ac_ext
46258 cat >>conftest.$ac_ext <<_ACEOF
46259 /* end confdefs.h. */
46260 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46262 #define socket innocuous_socket
46263
46264 /* System header to define __stub macros and hopefully few prototypes,
46265 which can conflict with char socket (); below.
46266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46267 <limits.h> exists even on freestanding compilers. */
46268
46269 #ifdef __STDC__
46270 # include <limits.h>
46271 #else
46272 # include <assert.h>
46273 #endif
46274
46275 #undef socket
46276
46277 /* Override any GCC internal prototype to avoid an error.
46278 Use char because int might match the return type of a GCC
46279 builtin and then its argument prototype would still apply. */
46280 #ifdef __cplusplus
46281 extern "C"
46282 #endif
46283 char socket ();
46284 /* The GNU C library defines this for functions which it implements
46285 to always fail with ENOSYS. Some functions are actually named
46286 something starting with __ and the normal name is an alias. */
46287 #if defined __stub_socket || defined __stub___socket
46288 choke me
46289 #endif
46290
46291 int
46292 main ()
46293 {
46294 return socket ();
46295 ;
46296 return 0;
46297 }
46298 _ACEOF
46299 rm -f conftest.$ac_objext conftest$ac_exeext
46300 if { (ac_try="$ac_link"
46301 case "(($ac_try" in
46302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46303 *) ac_try_echo=$ac_try;;
46304 esac
46305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46306 (eval "$ac_link") 2>conftest.er1
46307 ac_status=$?
46308 grep -v '^ *+' conftest.er1 >conftest.err
46309 rm -f conftest.er1
46310 cat conftest.err >&5
46311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312 (exit $ac_status); } && {
46313 test -z "$ac_c_werror_flag" ||
46314 test ! -s conftest.err
46315 } && test -s conftest$ac_exeext &&
46316 $as_test_x conftest$ac_exeext; then
46317 ac_cv_func_socket=yes
46318 else
46319 echo "$as_me: failed program was:" >&5
46320 sed 's/^/| /' conftest.$ac_ext >&5
46321
46322 ac_cv_func_socket=no
46323 fi
46324
46325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46326 conftest$ac_exeext conftest.$ac_ext
46327 fi
46328 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46329 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46330 if test $ac_cv_func_socket = yes; then
46331 :
46332 else
46333
46334 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46335 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46336 if test "${ac_cv_lib_socket_socket+set}" = set; then
46337 echo $ECHO_N "(cached) $ECHO_C" >&6
46338 else
46339 ac_check_lib_save_LIBS=$LIBS
46340 LIBS="-lsocket $LIBS"
46341 cat >conftest.$ac_ext <<_ACEOF
46342 /* confdefs.h. */
46343 _ACEOF
46344 cat confdefs.h >>conftest.$ac_ext
46345 cat >>conftest.$ac_ext <<_ACEOF
46346 /* end confdefs.h. */
46347
46348 /* Override any GCC internal prototype to avoid an error.
46349 Use char because int might match the return type of a GCC
46350 builtin and then its argument prototype would still apply. */
46351 #ifdef __cplusplus
46352 extern "C"
46353 #endif
46354 char socket ();
46355 int
46356 main ()
46357 {
46358 return socket ();
46359 ;
46360 return 0;
46361 }
46362 _ACEOF
46363 rm -f conftest.$ac_objext conftest$ac_exeext
46364 if { (ac_try="$ac_link"
46365 case "(($ac_try" in
46366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46367 *) ac_try_echo=$ac_try;;
46368 esac
46369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46370 (eval "$ac_link") 2>conftest.er1
46371 ac_status=$?
46372 grep -v '^ *+' conftest.er1 >conftest.err
46373 rm -f conftest.er1
46374 cat conftest.err >&5
46375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46376 (exit $ac_status); } && {
46377 test -z "$ac_c_werror_flag" ||
46378 test ! -s conftest.err
46379 } && test -s conftest$ac_exeext &&
46380 $as_test_x conftest$ac_exeext; then
46381 ac_cv_lib_socket_socket=yes
46382 else
46383 echo "$as_me: failed program was:" >&5
46384 sed 's/^/| /' conftest.$ac_ext >&5
46385
46386 ac_cv_lib_socket_socket=no
46387 fi
46388
46389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46390 conftest$ac_exeext conftest.$ac_ext
46391 LIBS=$ac_check_lib_save_LIBS
46392 fi
46393 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46394 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46395 if test $ac_cv_lib_socket_socket = yes; then
46396 if test "$INET_LINK" != " -lsocket"; then
46397 INET_LINK="$INET_LINK -lsocket"
46398 fi
46399 else
46400
46401 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46402 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46403 wxUSE_SOCKETS=no
46404
46405
46406 fi
46407
46408
46409
46410 fi
46411
46412 fi
46413 fi
46414
46415 if test "$wxUSE_SOCKETS" = "yes" ; then
46416 if test "$TOOLKIT" != "MSW"; then
46417 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46418 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46419 if test "${wx_cv_type_getsockname3+set}" = set; then
46420 echo $ECHO_N "(cached) $ECHO_C" >&6
46421 else
46422
46423 ac_ext=cpp
46424 ac_cpp='$CXXCPP $CPPFLAGS'
46425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46428
46429 cat >conftest.$ac_ext <<_ACEOF
46430 /* confdefs.h. */
46431 _ACEOF
46432 cat confdefs.h >>conftest.$ac_ext
46433 cat >>conftest.$ac_ext <<_ACEOF
46434 /* end confdefs.h. */
46435
46436 #include <sys/types.h>
46437 #include <sys/socket.h>
46438
46439 int
46440 main ()
46441 {
46442
46443 socklen_t len;
46444 getsockname(0, 0, &len);
46445
46446 ;
46447 return 0;
46448 }
46449 _ACEOF
46450 rm -f conftest.$ac_objext
46451 if { (ac_try="$ac_compile"
46452 case "(($ac_try" in
46453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46454 *) ac_try_echo=$ac_try;;
46455 esac
46456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46457 (eval "$ac_compile") 2>conftest.er1
46458 ac_status=$?
46459 grep -v '^ *+' conftest.er1 >conftest.err
46460 rm -f conftest.er1
46461 cat conftest.err >&5
46462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46463 (exit $ac_status); } && {
46464 test -z "$ac_cxx_werror_flag" ||
46465 test ! -s conftest.err
46466 } && test -s conftest.$ac_objext; then
46467 wx_cv_type_getsockname3=socklen_t
46468 else
46469 echo "$as_me: failed program was:" >&5
46470 sed 's/^/| /' conftest.$ac_ext >&5
46471
46472
46473 CFLAGS_OLD="$CFLAGS"
46474 if test "$GCC" = yes ; then
46475 CFLAGS="-Werror $CFLAGS"
46476 fi
46477
46478 cat >conftest.$ac_ext <<_ACEOF
46479 /* confdefs.h. */
46480 _ACEOF
46481 cat confdefs.h >>conftest.$ac_ext
46482 cat >>conftest.$ac_ext <<_ACEOF
46483 /* end confdefs.h. */
46484
46485 #include <sys/types.h>
46486 #include <sys/socket.h>
46487
46488 int
46489 main ()
46490 {
46491
46492 size_t len;
46493 getsockname(0, 0, &len);
46494
46495 ;
46496 return 0;
46497 }
46498 _ACEOF
46499 rm -f conftest.$ac_objext
46500 if { (ac_try="$ac_compile"
46501 case "(($ac_try" in
46502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46503 *) ac_try_echo=$ac_try;;
46504 esac
46505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46506 (eval "$ac_compile") 2>conftest.er1
46507 ac_status=$?
46508 grep -v '^ *+' conftest.er1 >conftest.err
46509 rm -f conftest.er1
46510 cat conftest.err >&5
46511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46512 (exit $ac_status); } && {
46513 test -z "$ac_cxx_werror_flag" ||
46514 test ! -s conftest.err
46515 } && test -s conftest.$ac_objext; then
46516 wx_cv_type_getsockname3=size_t
46517 else
46518 echo "$as_me: failed program was:" >&5
46519 sed 's/^/| /' conftest.$ac_ext >&5
46520
46521 cat >conftest.$ac_ext <<_ACEOF
46522 /* confdefs.h. */
46523 _ACEOF
46524 cat confdefs.h >>conftest.$ac_ext
46525 cat >>conftest.$ac_ext <<_ACEOF
46526 /* end confdefs.h. */
46527
46528 #include <sys/types.h>
46529 #include <sys/socket.h>
46530
46531 int
46532 main ()
46533 {
46534
46535 int len;
46536 getsockname(0, 0, &len);
46537
46538 ;
46539 return 0;
46540 }
46541 _ACEOF
46542 rm -f conftest.$ac_objext
46543 if { (ac_try="$ac_compile"
46544 case "(($ac_try" in
46545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46546 *) ac_try_echo=$ac_try;;
46547 esac
46548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46549 (eval "$ac_compile") 2>conftest.er1
46550 ac_status=$?
46551 grep -v '^ *+' conftest.er1 >conftest.err
46552 rm -f conftest.er1
46553 cat conftest.err >&5
46554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46555 (exit $ac_status); } && {
46556 test -z "$ac_cxx_werror_flag" ||
46557 test ! -s conftest.err
46558 } && test -s conftest.$ac_objext; then
46559 wx_cv_type_getsockname3=int
46560 else
46561 echo "$as_me: failed program was:" >&5
46562 sed 's/^/| /' conftest.$ac_ext >&5
46563
46564 wx_cv_type_getsockname3=unknown
46565
46566 fi
46567
46568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46569
46570 fi
46571
46572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46573
46574 CFLAGS="$CFLAGS_OLD"
46575
46576
46577 fi
46578
46579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46580 ac_ext=c
46581 ac_cpp='$CPP $CPPFLAGS'
46582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46585
46586
46587 fi
46588 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46589 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46590
46591 if test "$wx_cv_type_getsockname3" = "unknown"; then
46592 wxUSE_SOCKETS=no
46593 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46594 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46595 else
46596 cat >>confdefs.h <<_ACEOF
46597 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46598 _ACEOF
46599
46600 fi
46601 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46602 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46603 if test "${wx_cv_type_getsockopt5+set}" = set; then
46604 echo $ECHO_N "(cached) $ECHO_C" >&6
46605 else
46606
46607 ac_ext=cpp
46608 ac_cpp='$CXXCPP $CPPFLAGS'
46609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46612
46613 cat >conftest.$ac_ext <<_ACEOF
46614 /* confdefs.h. */
46615 _ACEOF
46616 cat confdefs.h >>conftest.$ac_ext
46617 cat >>conftest.$ac_ext <<_ACEOF
46618 /* end confdefs.h. */
46619
46620 #include <sys/types.h>
46621 #include <sys/socket.h>
46622
46623 int
46624 main ()
46625 {
46626
46627 socklen_t len;
46628 getsockopt(0, 0, 0, 0, &len);
46629
46630 ;
46631 return 0;
46632 }
46633 _ACEOF
46634 rm -f conftest.$ac_objext
46635 if { (ac_try="$ac_compile"
46636 case "(($ac_try" in
46637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46638 *) ac_try_echo=$ac_try;;
46639 esac
46640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46641 (eval "$ac_compile") 2>conftest.er1
46642 ac_status=$?
46643 grep -v '^ *+' conftest.er1 >conftest.err
46644 rm -f conftest.er1
46645 cat conftest.err >&5
46646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46647 (exit $ac_status); } && {
46648 test -z "$ac_cxx_werror_flag" ||
46649 test ! -s conftest.err
46650 } && test -s conftest.$ac_objext; then
46651 wx_cv_type_getsockopt5=socklen_t
46652 else
46653 echo "$as_me: failed program was:" >&5
46654 sed 's/^/| /' conftest.$ac_ext >&5
46655
46656
46657 cat >conftest.$ac_ext <<_ACEOF
46658 /* confdefs.h. */
46659 _ACEOF
46660 cat confdefs.h >>conftest.$ac_ext
46661 cat >>conftest.$ac_ext <<_ACEOF
46662 /* end confdefs.h. */
46663
46664 #include <sys/types.h>
46665 #include <sys/socket.h>
46666
46667 int
46668 main ()
46669 {
46670
46671 size_t len;
46672 getsockopt(0, 0, 0, 0, &len);
46673
46674 ;
46675 return 0;
46676 }
46677 _ACEOF
46678 rm -f conftest.$ac_objext
46679 if { (ac_try="$ac_compile"
46680 case "(($ac_try" in
46681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46682 *) ac_try_echo=$ac_try;;
46683 esac
46684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46685 (eval "$ac_compile") 2>conftest.er1
46686 ac_status=$?
46687 grep -v '^ *+' conftest.er1 >conftest.err
46688 rm -f conftest.er1
46689 cat conftest.err >&5
46690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46691 (exit $ac_status); } && {
46692 test -z "$ac_cxx_werror_flag" ||
46693 test ! -s conftest.err
46694 } && test -s conftest.$ac_objext; then
46695 wx_cv_type_getsockopt5=size_t
46696 else
46697 echo "$as_me: failed program was:" >&5
46698 sed 's/^/| /' conftest.$ac_ext >&5
46699
46700 cat >conftest.$ac_ext <<_ACEOF
46701 /* confdefs.h. */
46702 _ACEOF
46703 cat confdefs.h >>conftest.$ac_ext
46704 cat >>conftest.$ac_ext <<_ACEOF
46705 /* end confdefs.h. */
46706
46707 #include <sys/types.h>
46708 #include <sys/socket.h>
46709
46710 int
46711 main ()
46712 {
46713
46714 int len;
46715 getsockopt(0, 0, 0, 0, &len);
46716
46717 ;
46718 return 0;
46719 }
46720 _ACEOF
46721 rm -f conftest.$ac_objext
46722 if { (ac_try="$ac_compile"
46723 case "(($ac_try" in
46724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46725 *) ac_try_echo=$ac_try;;
46726 esac
46727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46728 (eval "$ac_compile") 2>conftest.er1
46729 ac_status=$?
46730 grep -v '^ *+' conftest.er1 >conftest.err
46731 rm -f conftest.er1
46732 cat conftest.err >&5
46733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46734 (exit $ac_status); } && {
46735 test -z "$ac_cxx_werror_flag" ||
46736 test ! -s conftest.err
46737 } && test -s conftest.$ac_objext; then
46738 wx_cv_type_getsockopt5=int
46739 else
46740 echo "$as_me: failed program was:" >&5
46741 sed 's/^/| /' conftest.$ac_ext >&5
46742
46743 wx_cv_type_getsockopt5=unknown
46744
46745 fi
46746
46747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46748
46749 fi
46750
46751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46752
46753
46754 fi
46755
46756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46757 ac_ext=c
46758 ac_cpp='$CPP $CPPFLAGS'
46759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46762
46763
46764 fi
46765 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46766 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46767
46768 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46769 wxUSE_SOCKETS=no
46770 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46771 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46772 else
46773 cat >>confdefs.h <<_ACEOF
46774 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46775 _ACEOF
46776
46777 fi
46778 fi
46779 fi
46780
46781 if test "$wxUSE_SOCKETS" = "yes" ; then
46782 cat >>confdefs.h <<\_ACEOF
46783 #define wxUSE_SOCKETS 1
46784 _ACEOF
46785
46786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46787 fi
46788
46789 if test "$wxUSE_PROTOCOL" = "yes"; then
46790 if test "$wxUSE_SOCKETS" != "yes"; then
46791 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46792 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46793 wxUSE_PROTOCOL=no
46794 fi
46795 fi
46796
46797 if test "$wxUSE_PROTOCOL" = "yes"; then
46798 cat >>confdefs.h <<\_ACEOF
46799 #define wxUSE_PROTOCOL 1
46800 _ACEOF
46801
46802
46803 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46804 cat >>confdefs.h <<\_ACEOF
46805 #define wxUSE_PROTOCOL_HTTP 1
46806 _ACEOF
46807
46808 fi
46809 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46810 cat >>confdefs.h <<\_ACEOF
46811 #define wxUSE_PROTOCOL_FTP 1
46812 _ACEOF
46813
46814 fi
46815 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46816 cat >>confdefs.h <<\_ACEOF
46817 #define wxUSE_PROTOCOL_FILE 1
46818 _ACEOF
46819
46820 fi
46821 else
46822 if test "$wxUSE_FS_INET" = "yes"; then
46823 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46824 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46825 wxUSE_FS_INET="no"
46826 fi
46827 fi
46828
46829 if test "$wxUSE_URL" = "yes"; then
46830 if test "$wxUSE_PROTOCOL" != "yes"; then
46831 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46832 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46833 wxUSE_URL=no
46834 fi
46835 if test "$wxUSE_URL" = "yes"; then
46836 cat >>confdefs.h <<\_ACEOF
46837 #define wxUSE_URL 1
46838 _ACEOF
46839
46840 fi
46841 fi
46842
46843 if test "$wxUSE_VARIANT" = "yes"; then
46844 cat >>confdefs.h <<\_ACEOF
46845 #define wxUSE_VARIANT 1
46846 _ACEOF
46847
46848 fi
46849
46850 if test "$wxUSE_FS_INET" = "yes"; then
46851 cat >>confdefs.h <<\_ACEOF
46852 #define wxUSE_FS_INET 1
46853 _ACEOF
46854
46855 fi
46856
46857
46858 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46859 wxUSE_JOYSTICK=no
46860
46861 if test "$TOOLKIT" = "MSW"; then
46862 wxUSE_JOYSTICK=yes
46863
46864 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46865 if test "$USE_DARWIN" = 1; then
46866 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46867 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46868 ac_ext=cpp
46869 ac_cpp='$CXXCPP $CPPFLAGS'
46870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46873
46874 cat >conftest.$ac_ext <<_ACEOF
46875 /* confdefs.h. */
46876 _ACEOF
46877 cat confdefs.h >>conftest.$ac_ext
46878 cat >>conftest.$ac_ext <<_ACEOF
46879 /* end confdefs.h. */
46880 #include <IOKit/hid/IOHIDLib.h>
46881 int
46882 main ()
46883 {
46884 IOHIDQueueInterface *qi = NULL;
46885 IOHIDCallbackFunction cb = NULL;
46886 qi->setEventCallout(NULL, cb, NULL, NULL);
46887 ;
46888 return 0;
46889 }
46890 _ACEOF
46891 rm -f conftest.$ac_objext
46892 if { (ac_try="$ac_compile"
46893 case "(($ac_try" in
46894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46895 *) ac_try_echo=$ac_try;;
46896 esac
46897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46898 (eval "$ac_compile") 2>conftest.er1
46899 ac_status=$?
46900 grep -v '^ *+' conftest.er1 >conftest.err
46901 rm -f conftest.er1
46902 cat conftest.err >&5
46903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46904 (exit $ac_status); } && {
46905 test -z "$ac_cxx_werror_flag" ||
46906 test ! -s conftest.err
46907 } && test -s conftest.$ac_objext; then
46908 wxUSE_JOYSTICK=yes
46909
46910 else
46911 echo "$as_me: failed program was:" >&5
46912 sed 's/^/| /' conftest.$ac_ext >&5
46913
46914
46915 fi
46916
46917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46918 ac_ext=c
46919 ac_cpp='$CPP $CPPFLAGS'
46920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46923
46924 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46925 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46926 fi
46927
46928 else
46929 if test "$wxUSE_MGL" != "1"; then
46930 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46931 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
46932 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46933 echo $ECHO_N "(cached) $ECHO_C" >&6
46934 else
46935 cat >conftest.$ac_ext <<_ACEOF
46936 /* confdefs.h. */
46937 _ACEOF
46938 cat confdefs.h >>conftest.$ac_ext
46939 cat >>conftest.$ac_ext <<_ACEOF
46940 /* end confdefs.h. */
46941 $ac_includes_default
46942
46943 #include <linux/joystick.h>
46944 _ACEOF
46945 rm -f conftest.$ac_objext
46946 if { (ac_try="$ac_compile"
46947 case "(($ac_try" in
46948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46949 *) ac_try_echo=$ac_try;;
46950 esac
46951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46952 (eval "$ac_compile") 2>conftest.er1
46953 ac_status=$?
46954 grep -v '^ *+' conftest.er1 >conftest.err
46955 rm -f conftest.er1
46956 cat conftest.err >&5
46957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46958 (exit $ac_status); } && {
46959 test -z "$ac_c_werror_flag" ||
46960 test ! -s conftest.err
46961 } && test -s conftest.$ac_objext; then
46962 ac_cv_header_linux_joystick_h=yes
46963 else
46964 echo "$as_me: failed program was:" >&5
46965 sed 's/^/| /' conftest.$ac_ext >&5
46966
46967 ac_cv_header_linux_joystick_h=no
46968 fi
46969
46970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46971 fi
46972 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46973 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
46974 if test $ac_cv_header_linux_joystick_h = yes; then
46975 wxUSE_JOYSTICK=yes
46976 fi
46977
46978
46979 fi
46980 fi
46981
46982 if test "$wxUSE_JOYSTICK" = "yes"; then
46983 cat >>confdefs.h <<\_ACEOF
46984 #define wxUSE_JOYSTICK 1
46985 _ACEOF
46986
46987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46988 else
46989 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46990 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46991 fi
46992 fi
46993
46994
46995
46996 if test "$wxUSE_FONTMAP" = "yes" ; then
46997 cat >>confdefs.h <<\_ACEOF
46998 #define wxUSE_FONTMAP 1
46999 _ACEOF
47000
47001 fi
47002
47003 if test "$wxUSE_UNICODE" = "yes" ; then
47004 cat >>confdefs.h <<\_ACEOF
47005 #define wxUSE_UNICODE 1
47006 _ACEOF
47007
47008
47009 if test "$USE_WIN32" != 1; then
47010 wxUSE_UNICODE_MSLU=no
47011 fi
47012
47013 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47014 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47015 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47016 if test "${ac_cv_lib_unicows_main+set}" = set; then
47017 echo $ECHO_N "(cached) $ECHO_C" >&6
47018 else
47019 ac_check_lib_save_LIBS=$LIBS
47020 LIBS="-lunicows $LIBS"
47021 cat >conftest.$ac_ext <<_ACEOF
47022 /* confdefs.h. */
47023 _ACEOF
47024 cat confdefs.h >>conftest.$ac_ext
47025 cat >>conftest.$ac_ext <<_ACEOF
47026 /* end confdefs.h. */
47027
47028
47029 int
47030 main ()
47031 {
47032 return main ();
47033 ;
47034 return 0;
47035 }
47036 _ACEOF
47037 rm -f conftest.$ac_objext conftest$ac_exeext
47038 if { (ac_try="$ac_link"
47039 case "(($ac_try" in
47040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47041 *) ac_try_echo=$ac_try;;
47042 esac
47043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47044 (eval "$ac_link") 2>conftest.er1
47045 ac_status=$?
47046 grep -v '^ *+' conftest.er1 >conftest.err
47047 rm -f conftest.er1
47048 cat conftest.err >&5
47049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050 (exit $ac_status); } && {
47051 test -z "$ac_c_werror_flag" ||
47052 test ! -s conftest.err
47053 } && test -s conftest$ac_exeext &&
47054 $as_test_x conftest$ac_exeext; then
47055 ac_cv_lib_unicows_main=yes
47056 else
47057 echo "$as_me: failed program was:" >&5
47058 sed 's/^/| /' conftest.$ac_ext >&5
47059
47060 ac_cv_lib_unicows_main=no
47061 fi
47062
47063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47064 conftest$ac_exeext conftest.$ac_ext
47065 LIBS=$ac_check_lib_save_LIBS
47066 fi
47067 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47068 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47069 if test $ac_cv_lib_unicows_main = yes; then
47070
47071 cat >>confdefs.h <<\_ACEOF
47072 #define wxUSE_UNICODE_MSLU 1
47073 _ACEOF
47074
47075
47076 else
47077
47078 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47079 Applications will only run on Windows NT/2000/XP!" >&5
47080 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47081 Applications will only run on Windows NT/2000/XP!" >&2;}
47082 wxUSE_UNICODE_MSLU=no
47083
47084 fi
47085
47086 fi
47087 fi
47088
47089 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47090 cat >>confdefs.h <<\_ACEOF
47091 #define wxUSE_UNICODE_UTF8 1
47092 _ACEOF
47093
47094
47095 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47096 cat >>confdefs.h <<\_ACEOF
47097 #define wxUSE_UTF8_LOCALE_ONLY 1
47098 _ACEOF
47099
47100 fi
47101 fi
47102
47103 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_EXPERIMENTAL_PRINTF 1
47106 _ACEOF
47107
47108 fi
47109
47110
47111 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_CONSTRAINTS 1
47114 _ACEOF
47115
47116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47117 fi
47118
47119 if test "$wxUSE_MDI" = "yes"; then
47120 cat >>confdefs.h <<\_ACEOF
47121 #define wxUSE_MDI 1
47122 _ACEOF
47123
47124
47125 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47126 cat >>confdefs.h <<\_ACEOF
47127 #define wxUSE_MDI_ARCHITECTURE 1
47128 _ACEOF
47129
47130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47131 fi
47132 fi
47133
47134 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47135 cat >>confdefs.h <<\_ACEOF
47136 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47137 _ACEOF
47138
47139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47140 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47142 fi
47143 fi
47144
47145 if test "$wxUSE_HELP" = "yes"; then
47146 cat >>confdefs.h <<\_ACEOF
47147 #define wxUSE_HELP 1
47148 _ACEOF
47149
47150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47151
47152 if test "$wxUSE_MSW" = 1; then
47153 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47154 cat >>confdefs.h <<\_ACEOF
47155 #define wxUSE_MS_HTML_HELP 1
47156 _ACEOF
47157
47158 fi
47159 fi
47160
47161 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47162 if test "$wxUSE_HTML" = "yes"; then
47163 cat >>confdefs.h <<\_ACEOF
47164 #define wxUSE_WXHTML_HELP 1
47165 _ACEOF
47166
47167 else
47168 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47169 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47170 wxUSE_WXHTML_HELP=no
47171 fi
47172 fi
47173 fi
47174
47175 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47176 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47177 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47178 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47179 else
47180 cat >>confdefs.h <<\_ACEOF
47181 #define wxUSE_PRINTING_ARCHITECTURE 1
47182 _ACEOF
47183
47184 fi
47185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47186 fi
47187
47188 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47189 cat >>confdefs.h <<\_ACEOF
47190 #define wxUSE_POSTSCRIPT 1
47191 _ACEOF
47192
47193 fi
47194
47195 cat >>confdefs.h <<\_ACEOF
47196 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47197 _ACEOF
47198
47199
47200 cat >>confdefs.h <<\_ACEOF
47201 #define wxUSE_NORMALIZED_PS_FONTS 1
47202 _ACEOF
47203
47204
47205 if test "$wxUSE_SVG" = "yes"; then
47206 cat >>confdefs.h <<\_ACEOF
47207 #define wxUSE_SVG 1
47208 _ACEOF
47209
47210 fi
47211
47212
47213 if test "$wxUSE_METAFILE" = "yes"; then
47214 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47215 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47216 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47217 wxUSE_METAFILE=no
47218 fi
47219 fi
47220
47221
47222 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47223 -o "$wxUSE_CLIPBOARD" = "yes" \
47224 -o "$wxUSE_OLE" = "yes" \
47225 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47226 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47227 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47228 if test "${ac_cv_header_ole2_h+set}" = set; then
47229 echo $ECHO_N "(cached) $ECHO_C" >&6
47230 else
47231 cat >conftest.$ac_ext <<_ACEOF
47232 /* confdefs.h. */
47233 _ACEOF
47234 cat confdefs.h >>conftest.$ac_ext
47235 cat >>conftest.$ac_ext <<_ACEOF
47236 /* end confdefs.h. */
47237
47238
47239 #include <ole2.h>
47240 _ACEOF
47241 rm -f conftest.$ac_objext
47242 if { (ac_try="$ac_compile"
47243 case "(($ac_try" in
47244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47245 *) ac_try_echo=$ac_try;;
47246 esac
47247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47248 (eval "$ac_compile") 2>conftest.er1
47249 ac_status=$?
47250 grep -v '^ *+' conftest.er1 >conftest.err
47251 rm -f conftest.er1
47252 cat conftest.err >&5
47253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47254 (exit $ac_status); } && {
47255 test -z "$ac_c_werror_flag" ||
47256 test ! -s conftest.err
47257 } && test -s conftest.$ac_objext; then
47258 ac_cv_header_ole2_h=yes
47259 else
47260 echo "$as_me: failed program was:" >&5
47261 sed 's/^/| /' conftest.$ac_ext >&5
47262
47263 ac_cv_header_ole2_h=no
47264 fi
47265
47266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47267 fi
47268 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47269 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47270
47271
47272
47273 if test "$ac_cv_header_ole2_h" = "yes" ; then
47274 if test "$GCC" = yes ; then
47275 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47276 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47277 cat >conftest.$ac_ext <<_ACEOF
47278 /* confdefs.h. */
47279 _ACEOF
47280 cat confdefs.h >>conftest.$ac_ext
47281 cat >>conftest.$ac_ext <<_ACEOF
47282 /* end confdefs.h. */
47283 #include <windows.h>
47284 #include <ole2.h>
47285 int
47286 main ()
47287 {
47288
47289 ;
47290 return 0;
47291 }
47292 _ACEOF
47293 rm -f conftest.$ac_objext
47294 if { (ac_try="$ac_compile"
47295 case "(($ac_try" in
47296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47297 *) ac_try_echo=$ac_try;;
47298 esac
47299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47300 (eval "$ac_compile") 2>conftest.er1
47301 ac_status=$?
47302 grep -v '^ *+' conftest.er1 >conftest.err
47303 rm -f conftest.er1
47304 cat conftest.err >&5
47305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47306 (exit $ac_status); } && {
47307 test -z "$ac_c_werror_flag" ||
47308 test ! -s conftest.err
47309 } && test -s conftest.$ac_objext; then
47310 { echo "$as_me:$LINENO: result: no" >&5
47311 echo "${ECHO_T}no" >&6; }
47312 else
47313 echo "$as_me: failed program was:" >&5
47314 sed 's/^/| /' conftest.$ac_ext >&5
47315
47316 { echo "$as_me:$LINENO: result: yes" >&5
47317 echo "${ECHO_T}yes" >&6; }
47318 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47319 fi
47320
47321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47322 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47323 if test "$wxUSE_OLE" = "yes" ; then
47324 cat >>confdefs.h <<\_ACEOF
47325 #define wxUSE_OLE 1
47326 _ACEOF
47327
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_OLE_AUTOMATION 1
47330 _ACEOF
47331
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_ACTIVEX 1
47334 _ACEOF
47335
47336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47337 fi
47338 fi
47339
47340 if test "$wxUSE_DATAOBJ" = "yes" ; then
47341 cat >>confdefs.h <<\_ACEOF
47342 #define wxUSE_DATAOBJ 1
47343 _ACEOF
47344
47345 fi
47346 else
47347 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47348 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47349
47350 wxUSE_CLIPBOARD=no
47351 wxUSE_DRAG_AND_DROP=no
47352 wxUSE_DATAOBJ=no
47353 wxUSE_OLE=no
47354 fi
47355
47356 if test "$wxUSE_METAFILE" = "yes"; then
47357 cat >>confdefs.h <<\_ACEOF
47358 #define wxUSE_METAFILE 1
47359 _ACEOF
47360
47361
47362 cat >>confdefs.h <<\_ACEOF
47363 #define wxUSE_ENH_METAFILE 1
47364 _ACEOF
47365
47366 fi
47367 fi
47368
47369 if test "$wxUSE_IPC" = "yes"; then
47370 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47371 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47372 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47373 wxUSE_IPC=no
47374 fi
47375
47376 if test "$wxUSE_IPC" = "yes"; then
47377 cat >>confdefs.h <<\_ACEOF
47378 #define wxUSE_IPC 1
47379 _ACEOF
47380
47381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47382 fi
47383 fi
47384
47385 if test "$wxUSE_DATAOBJ" = "yes"; then
47386 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47387 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47388 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47389 wxUSE_DATAOBJ=no
47390 else
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_DATAOBJ 1
47393 _ACEOF
47394
47395 fi
47396 else
47397 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47398 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47399 wxUSE_CLIPBOARD=no
47400 wxUSE_DRAG_AND_DROP=no
47401 fi
47402
47403 if test "$wxUSE_CLIPBOARD" = "yes"; then
47404 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47405 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47406 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47407 wxUSE_CLIPBOARD=no
47408 fi
47409
47410 if test "$wxUSE_CLIPBOARD" = "yes"; then
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_CLIPBOARD 1
47413 _ACEOF
47414
47415 fi
47416 fi
47417
47418 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47419 if test "$wxUSE_GTK" = 1; then
47420 if test "$WXGTK12" != 1; then
47421 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47422 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47423 wxUSE_DRAG_AND_DROP=no
47424 fi
47425 fi
47426
47427 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47428 "$wxUSE_DFB" = 1; then
47429 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47430 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47431 wxUSE_DRAG_AND_DROP=no
47432 fi
47433
47434 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47435 cat >>confdefs.h <<\_ACEOF
47436 #define wxUSE_DRAG_AND_DROP 1
47437 _ACEOF
47438
47439 fi
47440
47441 fi
47442
47443 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47445 fi
47446
47447 if test "$wxUSE_SPLINES" = "yes" ; then
47448 cat >>confdefs.h <<\_ACEOF
47449 #define wxUSE_SPLINES 1
47450 _ACEOF
47451
47452 fi
47453
47454 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_MOUSEWHEEL 1
47457 _ACEOF
47458
47459 fi
47460
47461
47462 USES_CONTROLS=0
47463 if test "$wxUSE_CONTROLS" = "yes"; then
47464 USES_CONTROLS=1
47465 fi
47466
47467 if test "$wxUSE_ACCEL" = "yes"; then
47468 cat >>confdefs.h <<\_ACEOF
47469 #define wxUSE_ACCEL 1
47470 _ACEOF
47471
47472 USES_CONTROLS=1
47473 fi
47474
47475 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47476 cat >>confdefs.h <<\_ACEOF
47477 #define wxUSE_ANIMATIONCTRL 1
47478 _ACEOF
47479
47480 USES_CONTROLS=1
47481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47482 fi
47483
47484 if test "$wxUSE_BUTTON" = "yes"; then
47485 cat >>confdefs.h <<\_ACEOF
47486 #define wxUSE_BUTTON 1
47487 _ACEOF
47488
47489 USES_CONTROLS=1
47490 fi
47491
47492 if test "$wxUSE_BMPBUTTON" = "yes"; then
47493 cat >>confdefs.h <<\_ACEOF
47494 #define wxUSE_BMPBUTTON 1
47495 _ACEOF
47496
47497 USES_CONTROLS=1
47498 fi
47499
47500 if test "$wxUSE_CALCTRL" = "yes"; then
47501 cat >>confdefs.h <<\_ACEOF
47502 #define wxUSE_CALENDARCTRL 1
47503 _ACEOF
47504
47505 USES_CONTROLS=1
47506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47507 fi
47508
47509 if test "$wxUSE_CARET" = "yes"; then
47510 cat >>confdefs.h <<\_ACEOF
47511 #define wxUSE_CARET 1
47512 _ACEOF
47513
47514 USES_CONTROLS=1
47515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47516 fi
47517
47518 if test "$wxUSE_COLLPANE" = "yes"; then
47519 cat >>confdefs.h <<\_ACEOF
47520 #define wxUSE_COLLPANE 1
47521 _ACEOF
47522
47523 USES_CONTROLS=1
47524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47525 fi
47526
47527 if test "$wxUSE_COMBOBOX" = "yes"; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_COMBOBOX 1
47530 _ACEOF
47531
47532 USES_CONTROLS=1
47533 fi
47534
47535 if test "$wxUSE_COMBOCTRL" = "yes"; then
47536 cat >>confdefs.h <<\_ACEOF
47537 #define wxUSE_COMBOCTRL 1
47538 _ACEOF
47539
47540 USES_CONTROLS=1
47541 fi
47542
47543 if test "$wxUSE_CHOICE" = "yes"; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_CHOICE 1
47546 _ACEOF
47547
47548 USES_CONTROLS=1
47549 fi
47550
47551 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47552 cat >>confdefs.h <<\_ACEOF
47553 #define wxUSE_CHOICEBOOK 1
47554 _ACEOF
47555
47556 USES_CONTROLS=1
47557 fi
47558
47559 if test "$wxUSE_CHECKBOX" = "yes"; then
47560 cat >>confdefs.h <<\_ACEOF
47561 #define wxUSE_CHECKBOX 1
47562 _ACEOF
47563
47564 USES_CONTROLS=1
47565 fi
47566
47567 if test "$wxUSE_CHECKLST" = "yes"; then
47568 cat >>confdefs.h <<\_ACEOF
47569 #define wxUSE_CHECKLISTBOX 1
47570 _ACEOF
47571
47572 USES_CONTROLS=1
47573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47574 fi
47575
47576 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47577 cat >>confdefs.h <<\_ACEOF
47578 #define wxUSE_COLOURPICKERCTRL 1
47579 _ACEOF
47580
47581 USES_CONTROLS=1
47582 fi
47583
47584 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47585 cat >>confdefs.h <<\_ACEOF
47586 #define wxUSE_DATEPICKCTRL 1
47587 _ACEOF
47588
47589 USES_CONTROLS=1
47590 fi
47591
47592 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47593 cat >>confdefs.h <<\_ACEOF
47594 #define wxUSE_DIRPICKERCTRL 1
47595 _ACEOF
47596
47597 USES_CONTROLS=1
47598 fi
47599
47600 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47601 cat >>confdefs.h <<\_ACEOF
47602 #define wxUSE_FILEPICKERCTRL 1
47603 _ACEOF
47604
47605 USES_CONTROLS=1
47606 fi
47607
47608 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47609 cat >>confdefs.h <<\_ACEOF
47610 #define wxUSE_FONTPICKERCTRL 1
47611 _ACEOF
47612
47613 USES_CONTROLS=1
47614 fi
47615
47616 if test "$wxUSE_DISPLAY" = "yes"; then
47617 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47618 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47619 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47620 wxUSE_DISPLAY=no
47621 else
47622 cat >>confdefs.h <<\_ACEOF
47623 #define wxUSE_DISPLAY 1
47624 _ACEOF
47625
47626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47627 fi
47628 fi
47629
47630 if test "$wxUSE_DETECT_SM" = "yes"; then
47631 cat >>confdefs.h <<\_ACEOF
47632 #define wxUSE_DETECT_SM 1
47633 _ACEOF
47634
47635 fi
47636
47637 if test "$wxUSE_GAUGE" = "yes"; then
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_GAUGE 1
47640 _ACEOF
47641
47642 USES_CONTROLS=1
47643 fi
47644
47645 if test "$wxUSE_GRID" = "yes"; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_GRID 1
47648 _ACEOF
47649
47650 USES_CONTROLS=1
47651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47652 fi
47653
47654 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47655 cat >>confdefs.h <<\_ACEOF
47656 #define wxUSE_HYPERLINKCTRL 1
47657 _ACEOF
47658
47659 USES_CONTROLS=1
47660 fi
47661
47662 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_BITMAPCOMBOBOX 1
47665 _ACEOF
47666
47667 USES_CONTROLS=1
47668 fi
47669
47670 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47671 cat >>confdefs.h <<\_ACEOF
47672 #define wxUSE_DATAVIEWCTRL 1
47673 _ACEOF
47674
47675 USES_CONTROLS=1
47676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47677 fi
47678
47679 if test "$wxUSE_IMAGLIST" = "yes"; then
47680 cat >>confdefs.h <<\_ACEOF
47681 #define wxUSE_IMAGLIST 1
47682 _ACEOF
47683
47684 fi
47685
47686 if test "$wxUSE_LISTBOOK" = "yes"; then
47687 cat >>confdefs.h <<\_ACEOF
47688 #define wxUSE_LISTBOOK 1
47689 _ACEOF
47690
47691 USES_CONTROLS=1
47692 fi
47693
47694 if test "$wxUSE_LISTBOX" = "yes"; then
47695 cat >>confdefs.h <<\_ACEOF
47696 #define wxUSE_LISTBOX 1
47697 _ACEOF
47698
47699 USES_CONTROLS=1
47700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47701 fi
47702
47703 if test "$wxUSE_LISTCTRL" = "yes"; then
47704 if test "$wxUSE_IMAGLIST" = "yes"; then
47705 cat >>confdefs.h <<\_ACEOF
47706 #define wxUSE_LISTCTRL 1
47707 _ACEOF
47708
47709 USES_CONTROLS=1
47710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47711 else
47712 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47713 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47714 fi
47715 fi
47716
47717 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47718 cat >>confdefs.h <<\_ACEOF
47719 #define wxUSE_EDITABLELISTBOX 1
47720 _ACEOF
47721
47722 USES_CONTROLS=1
47723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47724 fi
47725
47726 if test "$wxUSE_NOTEBOOK" = "yes"; then
47727 cat >>confdefs.h <<\_ACEOF
47728 #define wxUSE_NOTEBOOK 1
47729 _ACEOF
47730
47731 USES_CONTROLS=1
47732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47733 fi
47734
47735 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47736 cat >>confdefs.h <<\_ACEOF
47737 #define wxUSE_ODCOMBOBOX 1
47738 _ACEOF
47739
47740 USES_CONTROLS=1
47741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47742 fi
47743
47744
47745 if test "$wxUSE_RADIOBOX" = "yes"; then
47746 cat >>confdefs.h <<\_ACEOF
47747 #define wxUSE_RADIOBOX 1
47748 _ACEOF
47749
47750 USES_CONTROLS=1
47751 fi
47752
47753 if test "$wxUSE_RADIOBTN" = "yes"; then
47754 cat >>confdefs.h <<\_ACEOF
47755 #define wxUSE_RADIOBTN 1
47756 _ACEOF
47757
47758 USES_CONTROLS=1
47759 fi
47760
47761 if test "$wxUSE_SASH" = "yes"; then
47762 cat >>confdefs.h <<\_ACEOF
47763 #define wxUSE_SASH 1
47764 _ACEOF
47765
47766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47767 fi
47768
47769 if test "$wxUSE_SCROLLBAR" = "yes"; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_SCROLLBAR 1
47772 _ACEOF
47773
47774 USES_CONTROLS=1
47775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47776 fi
47777
47778 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47779 cat >>confdefs.h <<\_ACEOF
47780 #define wxUSE_SEARCHCTRL 1
47781 _ACEOF
47782
47783 USES_CONTROLS=1
47784 fi
47785
47786 if test "$wxUSE_SLIDER" = "yes"; then
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_SLIDER 1
47789 _ACEOF
47790
47791 USES_CONTROLS=1
47792 fi
47793
47794 if test "$wxUSE_SPINBTN" = "yes"; then
47795 cat >>confdefs.h <<\_ACEOF
47796 #define wxUSE_SPINBTN 1
47797 _ACEOF
47798
47799 USES_CONTROLS=1
47800 fi
47801
47802 if test "$wxUSE_SPINCTRL" = "yes"; then
47803 cat >>confdefs.h <<\_ACEOF
47804 #define wxUSE_SPINCTRL 1
47805 _ACEOF
47806
47807 USES_CONTROLS=1
47808 fi
47809
47810 if test "$wxUSE_SPLITTER" = "yes"; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_SPLITTER 1
47813 _ACEOF
47814
47815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47816 fi
47817
47818 if test "$wxUSE_STATBMP" = "yes"; then
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_STATBMP 1
47821 _ACEOF
47822
47823 USES_CONTROLS=1
47824 fi
47825
47826 if test "$wxUSE_STATBOX" = "yes"; then
47827 cat >>confdefs.h <<\_ACEOF
47828 #define wxUSE_STATBOX 1
47829 _ACEOF
47830
47831 USES_CONTROLS=1
47832 fi
47833
47834 if test "$wxUSE_STATTEXT" = "yes"; then
47835 cat >>confdefs.h <<\_ACEOF
47836 #define wxUSE_STATTEXT 1
47837 _ACEOF
47838
47839 USES_CONTROLS=1
47840 fi
47841
47842 if test "$wxUSE_STATLINE" = "yes"; then
47843 cat >>confdefs.h <<\_ACEOF
47844 #define wxUSE_STATLINE 1
47845 _ACEOF
47846
47847 USES_CONTROLS=1
47848 fi
47849
47850 if test "$wxUSE_STATUSBAR" = "yes"; then
47851 cat >>confdefs.h <<\_ACEOF
47852 #define wxUSE_NATIVE_STATUSBAR 1
47853 _ACEOF
47854
47855 cat >>confdefs.h <<\_ACEOF
47856 #define wxUSE_STATUSBAR 1
47857 _ACEOF
47858
47859 USES_CONTROLS=1
47860
47861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47862 fi
47863
47864 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47865 cat >>confdefs.h <<\_ACEOF
47866 #define wxUSE_TAB_DIALOG 1
47867 _ACEOF
47868
47869 fi
47870
47871 if test "$wxUSE_TEXTCTRL" = "yes"; then
47872 cat >>confdefs.h <<\_ACEOF
47873 #define wxUSE_TEXTCTRL 1
47874 _ACEOF
47875
47876 USES_CONTROLS=1
47877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47878 fi
47879
47880 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47881 if test "$wxUSE_COCOA" = 1 ; then
47882 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47883 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47884 wxUSE_TOGGLEBTN=no
47885 fi
47886
47887 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_TOGGLEBTN 1
47890 _ACEOF
47891
47892 USES_CONTROLS=1
47893 fi
47894 fi
47895
47896 if test "$wxUSE_TOOLBAR" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_TOOLBAR 1
47899 _ACEOF
47900
47901 USES_CONTROLS=1
47902
47903 if test "$wxUSE_UNIVERSAL" = "yes"; then
47904 wxUSE_TOOLBAR_NATIVE="no"
47905 else
47906 wxUSE_TOOLBAR_NATIVE="yes"
47907 cat >>confdefs.h <<\_ACEOF
47908 #define wxUSE_TOOLBAR_NATIVE 1
47909 _ACEOF
47910
47911 fi
47912
47913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47914 fi
47915
47916 if test "$wxUSE_TOOLTIPS" = "yes"; then
47917 if test "$wxUSE_MOTIF" = 1; then
47918 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47919 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47920 else
47921 if test "$wxUSE_UNIVERSAL" = "yes"; then
47922 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47923 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47924 else
47925 cat >>confdefs.h <<\_ACEOF
47926 #define wxUSE_TOOLTIPS 1
47927 _ACEOF
47928
47929 fi
47930 fi
47931 fi
47932
47933 if test "$wxUSE_TREEBOOK" = "yes"; then
47934 cat >>confdefs.h <<\_ACEOF
47935 #define wxUSE_TREEBOOK 1
47936 _ACEOF
47937
47938 USES_CONTROLS=1
47939 fi
47940
47941 if test "$wxUSE_TOOLBOOK" = "yes"; then
47942 cat >>confdefs.h <<\_ACEOF
47943 #define wxUSE_TOOLBOOK 1
47944 _ACEOF
47945
47946 USES_CONTROLS=1
47947 fi
47948
47949 if test "$wxUSE_TREECTRL" = "yes"; then
47950 if test "$wxUSE_IMAGLIST" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_TREECTRL 1
47953 _ACEOF
47954
47955 USES_CONTROLS=1
47956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47957 else
47958 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47959 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47960 fi
47961 fi
47962
47963 if test "$wxUSE_POPUPWIN" = "yes"; then
47964 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47965 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47966 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47967 else
47968 if test "$wxUSE_PM" = 1; then
47969 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47970 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47971 else
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_POPUPWIN 1
47974 _ACEOF
47975
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47977
47978 USES_CONTROLS=1
47979 fi
47980 fi
47981 fi
47982
47983 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47984 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47985 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47986 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47987 else
47988 cat >>confdefs.h <<\_ACEOF
47989 #define wxUSE_DIALUP_MANAGER 1
47990 _ACEOF
47991
47992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47993 fi
47994 fi
47995
47996 if test "$wxUSE_TIPWINDOW" = "yes"; then
47997 if test "$wxUSE_PM" = 1; then
47998 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47999 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48000 else
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_TIPWINDOW 1
48003 _ACEOF
48004
48005 fi
48006 fi
48007
48008 if test "$USES_CONTROLS" = 1; then
48009 cat >>confdefs.h <<\_ACEOF
48010 #define wxUSE_CONTROLS 1
48011 _ACEOF
48012
48013 fi
48014
48015
48016 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48017 cat >>confdefs.h <<\_ACEOF
48018 #define wxUSE_ACCESSIBILITY 1
48019 _ACEOF
48020
48021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48022 fi
48023
48024 if test "$wxUSE_DC_CACHEING" = "yes"; then
48025 cat >>confdefs.h <<\_ACEOF
48026 #define wxUSE_DC_CACHEING 1
48027 _ACEOF
48028
48029 fi
48030
48031 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48032 cat >>confdefs.h <<\_ACEOF
48033 #define wxUSE_DRAGIMAGE 1
48034 _ACEOF
48035
48036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48037 fi
48038
48039 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48040 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48041 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48042 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48043 else
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_EXCEPTIONS 1
48046 _ACEOF
48047
48048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48049 fi
48050 fi
48051
48052 USE_HTML=0
48053 if test "$wxUSE_HTML" = "yes"; then
48054 cat >>confdefs.h <<\_ACEOF
48055 #define wxUSE_HTML 1
48056 _ACEOF
48057
48058 USE_HTML=1
48059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48060 if test "$wxUSE_MAC" = 1; then
48061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48062 fi
48063 fi
48064 if test "$wxUSE_WEBKIT" = "yes"; then
48065 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48066 old_CPPFLAGS="$CPPFLAGS"
48067 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48068 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48069 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48070 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48071 echo $ECHO_N "(cached) $ECHO_C" >&6
48072 else
48073 cat >conftest.$ac_ext <<_ACEOF
48074 /* confdefs.h. */
48075 _ACEOF
48076 cat confdefs.h >>conftest.$ac_ext
48077 cat >>conftest.$ac_ext <<_ACEOF
48078 /* end confdefs.h. */
48079
48080 #include <Carbon/Carbon.h>
48081 #include <WebKit/WebKit.h>
48082
48083
48084 #include <WebKit/HIWebView.h>
48085 _ACEOF
48086 rm -f conftest.$ac_objext
48087 if { (ac_try="$ac_compile"
48088 case "(($ac_try" in
48089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48090 *) ac_try_echo=$ac_try;;
48091 esac
48092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48093 (eval "$ac_compile") 2>conftest.er1
48094 ac_status=$?
48095 grep -v '^ *+' conftest.er1 >conftest.err
48096 rm -f conftest.er1
48097 cat conftest.err >&5
48098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48099 (exit $ac_status); } && {
48100 test -z "$ac_c_werror_flag" ||
48101 test ! -s conftest.err
48102 } && test -s conftest.$ac_objext; then
48103 ac_cv_header_WebKit_HIWebView_h=yes
48104 else
48105 echo "$as_me: failed program was:" >&5
48106 sed 's/^/| /' conftest.$ac_ext >&5
48107
48108 ac_cv_header_WebKit_HIWebView_h=no
48109 fi
48110
48111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48112 fi
48113 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48114 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48115 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48116
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_WEBKIT 1
48119 _ACEOF
48120
48121 WEBKIT_LINK="-framework WebKit"
48122
48123 else
48124
48125 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48126 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48127 wxUSE_WEBKIT=no
48128
48129 fi
48130
48131
48132 CPPFLAGS="$old_CPPFLAGS"
48133 elif test "$wxUSE_COCOA" = 1; then
48134 cat >>confdefs.h <<\_ACEOF
48135 #define wxUSE_WEBKIT 1
48136 _ACEOF
48137
48138 else
48139 wxUSE_WEBKIT=no
48140 fi
48141 fi
48142
48143 USE_XRC=0
48144 if test "$wxUSE_XRC" = "yes"; then
48145 if test "$wxUSE_XML" != "yes"; then
48146 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48147 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48148 wxUSE_XRC=no
48149 else
48150 cat >>confdefs.h <<\_ACEOF
48151 #define wxUSE_XRC 1
48152 _ACEOF
48153
48154 USE_XRC=1
48155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48156 fi
48157 fi
48158
48159 USE_AUI=0
48160 if test "$wxUSE_AUI" = "yes"; then
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_AUI 1
48163 _ACEOF
48164
48165 USE_AUI=1
48166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48167 fi
48168
48169 USE_STC=0
48170 if test "$wxUSE_STC" = "yes"; then
48171 cat >>confdefs.h <<\_ACEOF
48172 #define wxUSE_STC 1
48173 _ACEOF
48174
48175 USE_STC=1
48176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48177 fi
48178
48179 if test "$wxUSE_MENUS" = "yes"; then
48180 cat >>confdefs.h <<\_ACEOF
48181 #define wxUSE_MENUS 1
48182 _ACEOF
48183
48184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48185 fi
48186
48187 if test "$wxUSE_METAFILE" = "yes"; then
48188 cat >>confdefs.h <<\_ACEOF
48189 #define wxUSE_METAFILE 1
48190 _ACEOF
48191
48192 fi
48193
48194 if test "$wxUSE_MIMETYPE" = "yes"; then
48195 cat >>confdefs.h <<\_ACEOF
48196 #define wxUSE_MIMETYPE 1
48197 _ACEOF
48198
48199 fi
48200
48201 if test "$wxUSE_MINIFRAME" = "yes"; then
48202 cat >>confdefs.h <<\_ACEOF
48203 #define wxUSE_MINIFRAME 1
48204 _ACEOF
48205
48206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48207 fi
48208
48209 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48210 cat >>confdefs.h <<\_ACEOF
48211 #define wxUSE_SYSTEM_OPTIONS 1
48212 _ACEOF
48213
48214 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
48215 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
48216 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48217 fi
48218 fi
48219
48220
48221 if test "$wxUSE_VALIDATORS" = "yes"; then
48222 cat >>confdefs.h <<\_ACEOF
48223 #define wxUSE_VALIDATORS 1
48224 _ACEOF
48225
48226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48227 fi
48228
48229 if test "$wxUSE_PALETTE" = "yes" ; then
48230 if test "$wxUSE_DFB" = 1; then
48231 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48232 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48233 wxUSE_PALETTE=no
48234 else
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_PALETTE 1
48237 _ACEOF
48238
48239 fi
48240 fi
48241
48242 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48243 LIBS=" -lunicows $LIBS"
48244 fi
48245
48246 USE_RICHTEXT=0
48247 if test "$wxUSE_RICHTEXT" = "yes"; then
48248 cat >>confdefs.h <<\_ACEOF
48249 #define wxUSE_RICHTEXT 1
48250 _ACEOF
48251
48252 USE_RICHTEXT=1
48253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48254 fi
48255
48256
48257 if test "$wxUSE_IMAGE" = "yes" ; then
48258 cat >>confdefs.h <<\_ACEOF
48259 #define wxUSE_IMAGE 1
48260 _ACEOF
48261
48262
48263 if test "$wxUSE_GIF" = "yes" ; then
48264 cat >>confdefs.h <<\_ACEOF
48265 #define wxUSE_GIF 1
48266 _ACEOF
48267
48268 fi
48269
48270 if test "$wxUSE_PCX" = "yes" ; then
48271 cat >>confdefs.h <<\_ACEOF
48272 #define wxUSE_PCX 1
48273 _ACEOF
48274
48275 fi
48276
48277 if test "$wxUSE_TGA" = "yes" ; then
48278 cat >>confdefs.h <<\_ACEOF
48279 #define wxUSE_TGA 1
48280 _ACEOF
48281
48282 fi
48283
48284 if test "$wxUSE_IFF" = "yes" ; then
48285 cat >>confdefs.h <<\_ACEOF
48286 #define wxUSE_IFF 1
48287 _ACEOF
48288
48289 fi
48290
48291 if test "$wxUSE_PNM" = "yes" ; then
48292 cat >>confdefs.h <<\_ACEOF
48293 #define wxUSE_PNM 1
48294 _ACEOF
48295
48296 fi
48297
48298 if test "$wxUSE_XPM" = "yes" ; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_XPM 1
48301 _ACEOF
48302
48303 fi
48304
48305 if test "$wxUSE_ICO_CUR" = "yes" ; then
48306 cat >>confdefs.h <<\_ACEOF
48307 #define wxUSE_ICO_CUR 1
48308 _ACEOF
48309
48310 fi
48311 fi
48312
48313
48314 if test "$wxUSE_ABOUTDLG" = "yes"; then
48315 cat >>confdefs.h <<\_ACEOF
48316 #define wxUSE_ABOUTDLG 1
48317 _ACEOF
48318
48319 fi
48320
48321 if test "$wxUSE_CHOICEDLG" = "yes"; then
48322 cat >>confdefs.h <<\_ACEOF
48323 #define wxUSE_CHOICEDLG 1
48324 _ACEOF
48325
48326 fi
48327
48328 if test "$wxUSE_COLOURDLG" = "yes"; then
48329 cat >>confdefs.h <<\_ACEOF
48330 #define wxUSE_COLOURDLG 1
48331 _ACEOF
48332
48333 fi
48334
48335 if test "$wxUSE_FILEDLG" = "yes"; then
48336 cat >>confdefs.h <<\_ACEOF
48337 #define wxUSE_FILEDLG 1
48338 _ACEOF
48339
48340 fi
48341
48342 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48343 cat >>confdefs.h <<\_ACEOF
48344 #define wxUSE_FINDREPLDLG 1
48345 _ACEOF
48346
48347 fi
48348
48349 if test "$wxUSE_FONTDLG" = "yes"; then
48350 cat >>confdefs.h <<\_ACEOF
48351 #define wxUSE_FONTDLG 1
48352 _ACEOF
48353
48354 fi
48355
48356 if test "$wxUSE_DIRDLG" = "yes"; then
48357 if test "$wxUSE_TREECTRL" != "yes"; then
48358 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48359 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48360 else
48361 cat >>confdefs.h <<\_ACEOF
48362 #define wxUSE_DIRDLG 1
48363 _ACEOF
48364
48365 fi
48366 fi
48367
48368 if test "$wxUSE_MSGDLG" = "yes"; then
48369 cat >>confdefs.h <<\_ACEOF
48370 #define wxUSE_MSGDLG 1
48371 _ACEOF
48372
48373 fi
48374
48375 if test "$wxUSE_NUMBERDLG" = "yes"; then
48376 cat >>confdefs.h <<\_ACEOF
48377 #define wxUSE_NUMBERDLG 1
48378 _ACEOF
48379
48380 fi
48381
48382 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48383 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48384 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48385 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48386 else
48387 cat >>confdefs.h <<\_ACEOF
48388 #define wxUSE_PROGRESSDLG 1
48389 _ACEOF
48390
48391 fi
48392 fi
48393
48394 if test "$wxUSE_SPLASH" = "yes"; then
48395 cat >>confdefs.h <<\_ACEOF
48396 #define wxUSE_SPLASH 1
48397 _ACEOF
48398
48399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48400 fi
48401
48402 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48403 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48404 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48405 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48406 else
48407 cat >>confdefs.h <<\_ACEOF
48408 #define wxUSE_STARTUP_TIPS 1
48409 _ACEOF
48410
48411 fi
48412 fi
48413
48414 if test "$wxUSE_TEXTDLG" = "yes"; then
48415 cat >>confdefs.h <<\_ACEOF
48416 #define wxUSE_TEXTDLG 1
48417 _ACEOF
48418
48419 fi
48420
48421 if test "$wxUSE_WIZARDDLG" = "yes"; then
48422 cat >>confdefs.h <<\_ACEOF
48423 #define wxUSE_WIZARDDLG 1
48424 _ACEOF
48425
48426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48427 fi
48428
48429
48430 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48431 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48432 cat >>confdefs.h <<\_ACEOF
48433 #define wxUSE_GRAPHICS_CONTEXT 1
48434 _ACEOF
48435
48436 elif test "$wxUSE_GTK" != 1; then
48437 cat >>confdefs.h <<\_ACEOF
48438 #define wxUSE_GRAPHICS_CONTEXT 1
48439 _ACEOF
48440
48441 else
48442
48443 pkg_failed=no
48444 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48445 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48446
48447 if test -n "$PKG_CONFIG"; then
48448 if test -n "$CAIRO_CFLAGS"; then
48449 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48450 else
48451 if test -n "$PKG_CONFIG" && \
48452 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48453 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48454 ac_status=$?
48455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48456 (exit $ac_status); }; then
48457 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48458 else
48459 pkg_failed=yes
48460 fi
48461 fi
48462 else
48463 pkg_failed=untried
48464 fi
48465 if test -n "$PKG_CONFIG"; then
48466 if test -n "$CAIRO_LIBS"; then
48467 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48468 else
48469 if test -n "$PKG_CONFIG" && \
48470 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48471 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48472 ac_status=$?
48473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48474 (exit $ac_status); }; then
48475 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48476 else
48477 pkg_failed=yes
48478 fi
48479 fi
48480 else
48481 pkg_failed=untried
48482 fi
48483
48484
48485
48486 if test $pkg_failed = yes; then
48487
48488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48489 _pkg_short_errors_supported=yes
48490 else
48491 _pkg_short_errors_supported=no
48492 fi
48493 if test $_pkg_short_errors_supported = yes; then
48494 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48495 else
48496 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48497 fi
48498 # Put the nasty error message in config.log where it belongs
48499 echo "$CAIRO_PKG_ERRORS" >&5
48500
48501 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48502 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48503
48504 elif test $pkg_failed = untried; then
48505 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48506 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48507
48508 else
48509 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48510 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48511 { echo "$as_me:$LINENO: result: yes" >&5
48512 echo "${ECHO_T}yes" >&6; }
48513 cat >>confdefs.h <<\_ACEOF
48514 #define wxUSE_GRAPHICS_CONTEXT 1
48515 _ACEOF
48516
48517 fi
48518 fi
48519 fi
48520
48521
48522 USE_MEDIA=0
48523
48524 if test "$wxUSE_MEDIACTRL" = "yes"; then
48525 USE_MEDIA=1
48526
48527 if test "$wxUSE_GTK" = 1; then
48528 wxUSE_GSTREAMER="no"
48529
48530 GST_VERSION_MAJOR=0
48531 GST_VERSION_MINOR=10
48532 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48533
48534 if test "$wxUSE_GSTREAMER8" = "no"; then
48535
48536 pkg_failed=no
48537 { echo "$as_me:$LINENO: checking for GST" >&5
48538 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48539
48540 if test -n "$PKG_CONFIG"; then
48541 if test -n "$GST_CFLAGS"; then
48542 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48543 else
48544 if test -n "$PKG_CONFIG" && \
48545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48546 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48547 ac_status=$?
48548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48549 (exit $ac_status); }; then
48550 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48551 else
48552 pkg_failed=yes
48553 fi
48554 fi
48555 else
48556 pkg_failed=untried
48557 fi
48558 if test -n "$PKG_CONFIG"; then
48559 if test -n "$GST_LIBS"; then
48560 pkg_cv_GST_LIBS="$GST_LIBS"
48561 else
48562 if test -n "$PKG_CONFIG" && \
48563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48564 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48565 ac_status=$?
48566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48567 (exit $ac_status); }; then
48568 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48569 else
48570 pkg_failed=yes
48571 fi
48572 fi
48573 else
48574 pkg_failed=untried
48575 fi
48576
48577
48578
48579 if test $pkg_failed = yes; then
48580
48581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48582 _pkg_short_errors_supported=yes
48583 else
48584 _pkg_short_errors_supported=no
48585 fi
48586 if test $_pkg_short_errors_supported = yes; then
48587 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48588 else
48589 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48590 fi
48591 # Put the nasty error message in config.log where it belongs
48592 echo "$GST_PKG_ERRORS" >&5
48593
48594
48595 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48596 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48597 GST_VERSION_MINOR=8
48598
48599
48600 elif test $pkg_failed = untried; then
48601
48602 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48603 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48604 GST_VERSION_MINOR=8
48605
48606
48607 else
48608 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48609 GST_LIBS=$pkg_cv_GST_LIBS
48610 { echo "$as_me:$LINENO: result: yes" >&5
48611 echo "${ECHO_T}yes" >&6; }
48612
48613 wxUSE_GSTREAMER="yes"
48614 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48615
48616 fi
48617 else
48618 GST_VERSION_MINOR=8
48619 fi
48620
48621 if test $GST_VERSION_MINOR = "8"; then
48622 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48623
48624 pkg_failed=no
48625 { echo "$as_me:$LINENO: checking for GST" >&5
48626 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48627
48628 if test -n "$PKG_CONFIG"; then
48629 if test -n "$GST_CFLAGS"; then
48630 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48631 else
48632 if test -n "$PKG_CONFIG" && \
48633 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48634 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48635 ac_status=$?
48636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48637 (exit $ac_status); }; then
48638 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48639 else
48640 pkg_failed=yes
48641 fi
48642 fi
48643 else
48644 pkg_failed=untried
48645 fi
48646 if test -n "$PKG_CONFIG"; then
48647 if test -n "$GST_LIBS"; then
48648 pkg_cv_GST_LIBS="$GST_LIBS"
48649 else
48650 if test -n "$PKG_CONFIG" && \
48651 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48652 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48653 ac_status=$?
48654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48655 (exit $ac_status); }; then
48656 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48657 else
48658 pkg_failed=yes
48659 fi
48660 fi
48661 else
48662 pkg_failed=untried
48663 fi
48664
48665
48666
48667 if test $pkg_failed = yes; then
48668
48669 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48670 _pkg_short_errors_supported=yes
48671 else
48672 _pkg_short_errors_supported=no
48673 fi
48674 if test $_pkg_short_errors_supported = yes; then
48675 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48676 else
48677 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48678 fi
48679 # Put the nasty error message in config.log where it belongs
48680 echo "$GST_PKG_ERRORS" >&5
48681
48682
48683 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48684 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48685
48686 elif test $pkg_failed = untried; then
48687
48688 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48689 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48690
48691 else
48692 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48693 GST_LIBS=$pkg_cv_GST_LIBS
48694 { echo "$as_me:$LINENO: result: yes" >&5
48695 echo "${ECHO_T}yes" >&6; }
48696 wxUSE_GSTREAMER="yes"
48697 fi
48698 fi
48699
48700
48701 if test "$wxUSE_GSTREAMER" = "yes"; then
48702 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48703 LIBS="$GST_LIBS $LIBS"
48704
48705 cat >>confdefs.h <<\_ACEOF
48706 #define wxUSE_GSTREAMER 1
48707 _ACEOF
48708
48709 else
48710 USE_MEDIA=0
48711 fi
48712 fi
48713
48714 if test $USE_MEDIA = 1; then
48715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48716 cat >>confdefs.h <<\_ACEOF
48717 #define wxUSE_MEDIACTRL 1
48718 _ACEOF
48719
48720 fi
48721 fi
48722
48723
48724 if test "$cross_compiling" = "yes"; then
48725 OSINFO="\"$host\""
48726 else
48727 OSINFO=`uname -s -r -m`
48728 OSINFO="\"$OSINFO\""
48729 fi
48730
48731 cat >>confdefs.h <<_ACEOF
48732 #define WXWIN_OS_DESCRIPTION $OSINFO
48733 _ACEOF
48734
48735
48736
48737 if test "x$prefix" != "xNONE"; then
48738 wxPREFIX=$prefix
48739 else
48740 wxPREFIX=$ac_default_prefix
48741 fi
48742
48743 cat >>confdefs.h <<_ACEOF
48744 #define wxINSTALL_PREFIX "$wxPREFIX"
48745 _ACEOF
48746
48747
48748
48749
48750 STD_BASE_LIBS="base"
48751 STD_GUI_LIBS=""
48752 BUILT_WX_LIBS="base"
48753 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48754
48755 if test "$wxUSE_SOCKETS" = "yes" ; then
48756 STD_BASE_LIBS="net $STD_BASE_LIBS"
48757 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48758 fi
48759 if test "$wxUSE_ODBC" != "no" ; then
48760 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48761 fi
48762 if test "$wxUSE_XML" = "yes" ; then
48763 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48764 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48765 fi
48766
48767 if test "$wxUSE_GUI" = "yes"; then
48768 STD_GUI_LIBS="adv core"
48769 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48770
48771 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48772 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48773 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48774 fi
48775 if test "$wxUSE_ODBC" != "no" ; then
48776 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
48777 fi
48778 if test "$wxUSE_HTML" = "yes" ; then
48779 STD_GUI_LIBS="html $STD_GUI_LIBS"
48780 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48781 fi
48782 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48783 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48784 fi
48785 if test "$wxUSE_OPENGL" = "yes" ; then
48786 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48787 fi
48788 if test "$wxUSE_AUI" = "yes" ; then
48789 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48790 fi
48791 if test "$wxUSE_STC" = "yes" ; then
48792 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48793 fi
48794 if test "$wxUSE_XRC" = "yes" ; then
48795 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48796 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48797 fi
48798 fi
48799
48800
48801
48802
48803
48804
48805
48806
48807 if test "$wxUSE_MAC" = 1 ; then
48808 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48809 if test "$USE_DARWIN" = 1; then
48810 LDFLAGS="$LDFLAGS -framework QuickTime"
48811 else
48812 LDFLAGS="$LDFLAGS -lQuickTimeLib"
48813 fi
48814 fi
48815 if test "$USE_DARWIN" = 1; then
48816 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48817 else
48818 LDFLAGS="$LDFLAGS -lCarbonLib"
48819 fi
48820 fi
48821 if test "$wxUSE_COCOA" = 1 ; then
48822 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
48823 if test "$wxUSE_MEDIACTRL" = "yes"; then
48824 LDFLAGS="$LDFLAGS -framework QuickTime"
48825 fi
48826 fi
48827 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48828 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48829 fi
48830
48831 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48832
48833 if test "$wxUSE_GUI" = "yes"; then
48834
48835
48836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48837 dynamic erase event exec font image minimal mobile \
48838 mobile/wxedit mobile/styles propsize render \
48839 rotate shaped svg taborder vscroll widgets"
48840
48841 if test "$wxUSE_MONOLITHIC" != "yes"; then
48842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48843 fi
48844 if test "$TOOLKIT" = "MSW"; then
48845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48846 if test "$wxUSE_UNIVERSAL" != "yes"; then
48847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48848 fi
48849 fi
48850 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48852 fi
48853 else
48854 SAMPLES_SUBDIRS="console"
48855 fi
48856
48857
48858 if test "x$INTELCC" = "xyes" ; then
48859 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48860 elif test "$GCC" = yes ; then
48861 CWARNINGS="-Wall -Wundef"
48862 fi
48863
48864 if test "x$INTELCXX" = "xyes" ; then
48865 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48866 elif test "$GXX" = yes ; then
48867 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48868 fi
48869
48870
48871 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48872 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48873
48874
48875 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48876 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48877 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48878 $CPPFLAGS `
48879
48880 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48881 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48882 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48883
48884 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48885
48886
48887 if test "x$MWCC" = "xyes"; then
48888
48889 CC="$CC -cwd source -I-"
48890 CXX="$CXX -cwd source -I-"
48891 fi
48892
48893
48894 LIBS=`echo $LIBS`
48895 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48896 EXTRALIBS_XML="$EXPAT_LINK"
48897 EXTRALIBS_HTML="$MSPACK_LINK"
48898 EXTRALIBS_ODBC="$ODBC_LINK"
48899 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48900 if test "$wxUSE_GUI" = "yes"; then
48901 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48902 fi
48903 if test "$wxUSE_OPENGL" = "yes"; then
48904 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48905 fi
48906
48907 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48908
48909 WXCONFIG_LIBS="$LIBS"
48910
48911 if test "$wxUSE_REGEX" = "builtin" ; then
48912 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48913 fi
48914 if test "$wxUSE_EXPAT" = "builtin" ; then
48915 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48916 fi
48917 if test "$wxUSE_ODBC" = "builtin" ; then
48918 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
48919 fi
48920 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48921 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48922 fi
48923 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48924 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48925 fi
48926 if test "$wxUSE_LIBPNG" = "builtin" ; then
48927 wxconfig_3rdparty="png $wxconfig_3rdparty"
48928 fi
48929 if test "$wxUSE_ZLIB" = "builtin" ; then
48930 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48931 fi
48932
48933 for i in $wxconfig_3rdparty ; do
48934 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48935 done
48936
48937
48938 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48939 WXUNIV=1
48940
48941 case "$wxUNIV_THEMES" in
48942 ''|all)
48943 cat >>confdefs.h <<\_ACEOF
48944 #define wxUSE_ALL_THEMES 1
48945 _ACEOF
48946
48947 ;;
48948
48949 *)
48950 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48951 cat >>confdefs.h <<_ACEOF
48952 #define wxUSE_THEME_$t 1
48953 _ACEOF
48954
48955 done
48956 esac
48957 else
48958 WXUNIV=0
48959 fi
48960
48961
48962
48963
48964
48965
48966
48967
48968
48969 if test $wxUSE_MONOLITHIC = "yes" ; then
48970 MONOLITHIC=1
48971 else
48972 MONOLITHIC=0
48973 fi
48974
48975 if test $wxUSE_PLUGINS = "yes" ; then
48976 USE_PLUGINS=1
48977 else
48978 USE_PLUGINS=0
48979 fi
48980
48981 if test $wxUSE_ODBC != "no" ; then
48982 USE_ODBC=1
48983 else
48984 USE_ODBC=0
48985 fi
48986
48987 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48988 USE_QA=1
48989 else
48990 USE_QA=0
48991 fi
48992
48993 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48994 OFFICIAL_BUILD=1
48995 else
48996 OFFICIAL_BUILD=0
48997 fi
48998
48999
49000
49001
49002
49003
49004
49005
49006
49007
49008
49009
49010
49011
49012
49013
49014
49015
49016
49017
49018
49019
49020
49021
49022
49023
49024 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49025
49026
49027
49028
49029
49030
49031
49032
49033 case "$TOOLKIT" in
49034 GTK)
49035 TOOLKIT_DESC="GTK+"
49036 if test "$WXGTK20" = 1; then
49037 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49038 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49039 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49040 fi
49041 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49042 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49043 fi
49044 if test "$wxUSE_LIBHILDON" = "yes"; then
49045 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49046 fi
49047
49048 if test "$TOOLKIT_EXTRA" != ""; then
49049 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49050 fi
49051 fi
49052 ;;
49053
49054 ?*)
49055 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49056 ;;
49057
49058 *)
49059 TOOLKIT_DESC="base only"
49060 ;;
49061 esac
49062
49063 if test "$wxUSE_WINE" = "yes"; then
49064 BAKEFILE_FORCE_PLATFORM=win32
49065 fi
49066
49067 if test "$wxUSE_MAC" = 1 ; then
49068 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49069 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49070 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49071 else
49072 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49073 fi
49074 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49075 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49076 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49077 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49078 bk_use_pch=no
49079 fi
49080 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49081 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49082 fi
49083
49084 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49085 then
49086 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49087 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49088 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49089 echo $ECHO_N "(cached) $ECHO_C" >&6
49090 else
49091
49092 echo '#include <stdio.h>
49093 const wchar_t test_var[] = L"awidetest";' > conftest.h
49094
49095 echo '#include "conftest.h"
49096 int main()
49097 {
49098 printf("%ls", test_var);
49099 return 0;
49100 }' > conftest.cpp
49101
49102 wx_cv_gcc_pch_bug="pch not supported"
49103
49104 if $CXX conftest.h >/dev/null 2>&1
49105 then
49106 wx_cv_gcc_pch_bug=
49107
49108 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49109 then
49110 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49111 grep awidetest >/dev/null
49112 then
49113 wx_cv_gcc_pch_bug=no
49114 else
49115 wx_cv_gcc_pch_bug=yes
49116 fi
49117 fi
49118 fi
49119
49120 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49121
49122 fi
49123 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49124 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49125
49126 if test "$wx_cv_gcc_pch_bug" = yes; then
49127 bk_use_pch=no
49128 fi
49129 fi
49130
49131
49132
49133
49134 if test "x$BAKEFILE_HOST" = "x"; then
49135 if test "x${host}" = "x" ; then
49136 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49137 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49138 { (exit 1); exit 1; }; }
49139 fi
49140
49141 BAKEFILE_HOST="${host}"
49142 fi
49143
49144 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49145
49146 if test -n "$ac_tool_prefix"; then
49147 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49148 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49151 if test "${ac_cv_prog_RANLIB+set}" = set; then
49152 echo $ECHO_N "(cached) $ECHO_C" >&6
49153 else
49154 if test -n "$RANLIB"; then
49155 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49156 else
49157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49158 for as_dir in $PATH
49159 do
49160 IFS=$as_save_IFS
49161 test -z "$as_dir" && as_dir=.
49162 for ac_exec_ext in '' $ac_executable_extensions; do
49163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49164 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49166 break 2
49167 fi
49168 done
49169 done
49170 IFS=$as_save_IFS
49171
49172 fi
49173 fi
49174 RANLIB=$ac_cv_prog_RANLIB
49175 if test -n "$RANLIB"; then
49176 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49177 echo "${ECHO_T}$RANLIB" >&6; }
49178 else
49179 { echo "$as_me:$LINENO: result: no" >&5
49180 echo "${ECHO_T}no" >&6; }
49181 fi
49182
49183
49184 fi
49185 if test -z "$ac_cv_prog_RANLIB"; then
49186 ac_ct_RANLIB=$RANLIB
49187 # Extract the first word of "ranlib", so it can be a program name with args.
49188 set dummy ranlib; ac_word=$2
49189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49191 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49192 echo $ECHO_N "(cached) $ECHO_C" >&6
49193 else
49194 if test -n "$ac_ct_RANLIB"; then
49195 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49196 else
49197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49198 for as_dir in $PATH
49199 do
49200 IFS=$as_save_IFS
49201 test -z "$as_dir" && as_dir=.
49202 for ac_exec_ext in '' $ac_executable_extensions; do
49203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49204 ac_cv_prog_ac_ct_RANLIB="ranlib"
49205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49206 break 2
49207 fi
49208 done
49209 done
49210 IFS=$as_save_IFS
49211
49212 fi
49213 fi
49214 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49215 if test -n "$ac_ct_RANLIB"; then
49216 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49217 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49218 else
49219 { echo "$as_me:$LINENO: result: no" >&5
49220 echo "${ECHO_T}no" >&6; }
49221 fi
49222
49223 if test "x$ac_ct_RANLIB" = x; then
49224 RANLIB=":"
49225 else
49226 case $cross_compiling:$ac_tool_warned in
49227 yes:)
49228 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49229 whose name does not start with the host triplet. If you think this
49230 configuration is useful to you, please write to autoconf@gnu.org." >&5
49231 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49232 whose name does not start with the host triplet. If you think this
49233 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49234 ac_tool_warned=yes ;;
49235 esac
49236 RANLIB=$ac_ct_RANLIB
49237 fi
49238 else
49239 RANLIB="$ac_cv_prog_RANLIB"
49240 fi
49241
49242 # Find a good install program. We prefer a C program (faster),
49243 # so one script is as good as another. But avoid the broken or
49244 # incompatible versions:
49245 # SysV /etc/install, /usr/sbin/install
49246 # SunOS /usr/etc/install
49247 # IRIX /sbin/install
49248 # AIX /bin/install
49249 # AmigaOS /C/install, which installs bootblocks on floppy discs
49250 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49251 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49252 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49253 # OS/2's system install, which has a completely different semantic
49254 # ./install, which can be erroneously created by make from ./install.sh.
49255 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49256 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49257 if test -z "$INSTALL"; then
49258 if test "${ac_cv_path_install+set}" = set; then
49259 echo $ECHO_N "(cached) $ECHO_C" >&6
49260 else
49261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49262 for as_dir in $PATH
49263 do
49264 IFS=$as_save_IFS
49265 test -z "$as_dir" && as_dir=.
49266 # Account for people who put trailing slashes in PATH elements.
49267 case $as_dir/ in
49268 ./ | .// | /cC/* | \
49269 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49270 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49271 /usr/ucb/* ) ;;
49272 *)
49273 # OSF1 and SCO ODT 3.0 have their own names for install.
49274 # Don't use installbsd from OSF since it installs stuff as root
49275 # by default.
49276 for ac_prog in ginstall scoinst install; do
49277 for ac_exec_ext in '' $ac_executable_extensions; do
49278 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49279 if test $ac_prog = install &&
49280 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49281 # AIX install. It has an incompatible calling convention.
49282 :
49283 elif test $ac_prog = install &&
49284 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49285 # program-specific install script used by HP pwplus--don't use.
49286 :
49287 else
49288 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49289 break 3
49290 fi
49291 fi
49292 done
49293 done
49294 ;;
49295 esac
49296 done
49297 IFS=$as_save_IFS
49298
49299
49300 fi
49301 if test "${ac_cv_path_install+set}" = set; then
49302 INSTALL=$ac_cv_path_install
49303 else
49304 # As a last resort, use the slow shell script. Don't cache a
49305 # value for INSTALL within a source directory, because that will
49306 # break other packages using the cache if that directory is
49307 # removed, or if the value is a relative name.
49308 INSTALL=$ac_install_sh
49309 fi
49310 fi
49311 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49312 echo "${ECHO_T}$INSTALL" >&6; }
49313
49314 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49315 # It thinks the first close brace ends the variable substitution.
49316 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49317
49318 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49319
49320 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49321
49322 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49323 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49324 LN_S=$as_ln_s
49325 if test "$LN_S" = "ln -s"; then
49326 { echo "$as_me:$LINENO: result: yes" >&5
49327 echo "${ECHO_T}yes" >&6; }
49328 else
49329 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49330 echo "${ECHO_T}no, using $LN_S" >&6; }
49331 fi
49332
49333
49334 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49335 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49336 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49337 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49338 echo $ECHO_N "(cached) $ECHO_C" >&6
49339 else
49340 cat >conftest.make <<\_ACEOF
49341 SHELL = /bin/sh
49342 all:
49343 @echo '@@@%%%=$(MAKE)=@@@%%%'
49344 _ACEOF
49345 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49346 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49347 *@@@%%%=?*=@@@%%%*)
49348 eval ac_cv_prog_make_${ac_make}_set=yes;;
49349 *)
49350 eval ac_cv_prog_make_${ac_make}_set=no;;
49351 esac
49352 rm -f conftest.make
49353 fi
49354 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49355 { echo "$as_me:$LINENO: result: yes" >&5
49356 echo "${ECHO_T}yes" >&6; }
49357 SET_MAKE=
49358 else
49359 { echo "$as_me:$LINENO: result: no" >&5
49360 echo "${ECHO_T}no" >&6; }
49361 SET_MAKE="MAKE=${MAKE-make}"
49362 fi
49363
49364
49365
49366 if test "x$SUNCXX" = "xyes"; then
49367 AR=$CXX
49368 AROPTIONS="-xar -o"
49369
49370 elif test "x$SGICC" = "xyes"; then
49371 AR=$CXX
49372 AROPTIONS="-ar -o"
49373
49374 else
49375 if test -n "$ac_tool_prefix"; then
49376 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49377 set dummy ${ac_tool_prefix}ar; ac_word=$2
49378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49380 if test "${ac_cv_prog_AR+set}" = set; then
49381 echo $ECHO_N "(cached) $ECHO_C" >&6
49382 else
49383 if test -n "$AR"; then
49384 ac_cv_prog_AR="$AR" # Let the user override the test.
49385 else
49386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49387 for as_dir in $PATH
49388 do
49389 IFS=$as_save_IFS
49390 test -z "$as_dir" && as_dir=.
49391 for ac_exec_ext in '' $ac_executable_extensions; do
49392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49393 ac_cv_prog_AR="${ac_tool_prefix}ar"
49394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49395 break 2
49396 fi
49397 done
49398 done
49399 IFS=$as_save_IFS
49400
49401 fi
49402 fi
49403 AR=$ac_cv_prog_AR
49404 if test -n "$AR"; then
49405 { echo "$as_me:$LINENO: result: $AR" >&5
49406 echo "${ECHO_T}$AR" >&6; }
49407 else
49408 { echo "$as_me:$LINENO: result: no" >&5
49409 echo "${ECHO_T}no" >&6; }
49410 fi
49411
49412
49413 fi
49414 if test -z "$ac_cv_prog_AR"; then
49415 ac_ct_AR=$AR
49416 # Extract the first word of "ar", so it can be a program name with args.
49417 set dummy ar; ac_word=$2
49418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49420 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49421 echo $ECHO_N "(cached) $ECHO_C" >&6
49422 else
49423 if test -n "$ac_ct_AR"; then
49424 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49425 else
49426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49427 for as_dir in $PATH
49428 do
49429 IFS=$as_save_IFS
49430 test -z "$as_dir" && as_dir=.
49431 for ac_exec_ext in '' $ac_executable_extensions; do
49432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49433 ac_cv_prog_ac_ct_AR="ar"
49434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49435 break 2
49436 fi
49437 done
49438 done
49439 IFS=$as_save_IFS
49440
49441 fi
49442 fi
49443 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49444 if test -n "$ac_ct_AR"; then
49445 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49446 echo "${ECHO_T}$ac_ct_AR" >&6; }
49447 else
49448 { echo "$as_me:$LINENO: result: no" >&5
49449 echo "${ECHO_T}no" >&6; }
49450 fi
49451
49452 if test "x$ac_ct_AR" = x; then
49453 AR="ar"
49454 else
49455 case $cross_compiling:$ac_tool_warned in
49456 yes:)
49457 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49458 whose name does not start with the host triplet. If you think this
49459 configuration is useful to you, please write to autoconf@gnu.org." >&5
49460 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49461 whose name does not start with the host triplet. If you think this
49462 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49463 ac_tool_warned=yes ;;
49464 esac
49465 AR=$ac_ct_AR
49466 fi
49467 else
49468 AR="$ac_cv_prog_AR"
49469 fi
49470
49471 AROPTIONS=rcu
49472 fi
49473
49474
49475 if test -n "$ac_tool_prefix"; then
49476 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49477 set dummy ${ac_tool_prefix}strip; ac_word=$2
49478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49480 if test "${ac_cv_prog_STRIP+set}" = set; then
49481 echo $ECHO_N "(cached) $ECHO_C" >&6
49482 else
49483 if test -n "$STRIP"; then
49484 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49485 else
49486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49487 for as_dir in $PATH
49488 do
49489 IFS=$as_save_IFS
49490 test -z "$as_dir" && as_dir=.
49491 for ac_exec_ext in '' $ac_executable_extensions; do
49492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49493 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49495 break 2
49496 fi
49497 done
49498 done
49499 IFS=$as_save_IFS
49500
49501 fi
49502 fi
49503 STRIP=$ac_cv_prog_STRIP
49504 if test -n "$STRIP"; then
49505 { echo "$as_me:$LINENO: result: $STRIP" >&5
49506 echo "${ECHO_T}$STRIP" >&6; }
49507 else
49508 { echo "$as_me:$LINENO: result: no" >&5
49509 echo "${ECHO_T}no" >&6; }
49510 fi
49511
49512
49513 fi
49514 if test -z "$ac_cv_prog_STRIP"; then
49515 ac_ct_STRIP=$STRIP
49516 # Extract the first word of "strip", so it can be a program name with args.
49517 set dummy strip; ac_word=$2
49518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49520 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49521 echo $ECHO_N "(cached) $ECHO_C" >&6
49522 else
49523 if test -n "$ac_ct_STRIP"; then
49524 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49525 else
49526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49527 for as_dir in $PATH
49528 do
49529 IFS=$as_save_IFS
49530 test -z "$as_dir" && as_dir=.
49531 for ac_exec_ext in '' $ac_executable_extensions; do
49532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49533 ac_cv_prog_ac_ct_STRIP="strip"
49534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49535 break 2
49536 fi
49537 done
49538 done
49539 IFS=$as_save_IFS
49540
49541 fi
49542 fi
49543 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49544 if test -n "$ac_ct_STRIP"; then
49545 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49546 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49547 else
49548 { echo "$as_me:$LINENO: result: no" >&5
49549 echo "${ECHO_T}no" >&6; }
49550 fi
49551
49552 if test "x$ac_ct_STRIP" = x; then
49553 STRIP=":"
49554 else
49555 case $cross_compiling:$ac_tool_warned in
49556 yes:)
49557 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49558 whose name does not start with the host triplet. If you think this
49559 configuration is useful to you, please write to autoconf@gnu.org." >&5
49560 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49561 whose name does not start with the host triplet. If you think this
49562 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49563 ac_tool_warned=yes ;;
49564 esac
49565 STRIP=$ac_ct_STRIP
49566 fi
49567 else
49568 STRIP="$ac_cv_prog_STRIP"
49569 fi
49570
49571 if test -n "$ac_tool_prefix"; then
49572 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49573 set dummy ${ac_tool_prefix}nm; ac_word=$2
49574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49576 if test "${ac_cv_prog_NM+set}" = set; then
49577 echo $ECHO_N "(cached) $ECHO_C" >&6
49578 else
49579 if test -n "$NM"; then
49580 ac_cv_prog_NM="$NM" # Let the user override the test.
49581 else
49582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49583 for as_dir in $PATH
49584 do
49585 IFS=$as_save_IFS
49586 test -z "$as_dir" && as_dir=.
49587 for ac_exec_ext in '' $ac_executable_extensions; do
49588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49589 ac_cv_prog_NM="${ac_tool_prefix}nm"
49590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49591 break 2
49592 fi
49593 done
49594 done
49595 IFS=$as_save_IFS
49596
49597 fi
49598 fi
49599 NM=$ac_cv_prog_NM
49600 if test -n "$NM"; then
49601 { echo "$as_me:$LINENO: result: $NM" >&5
49602 echo "${ECHO_T}$NM" >&6; }
49603 else
49604 { echo "$as_me:$LINENO: result: no" >&5
49605 echo "${ECHO_T}no" >&6; }
49606 fi
49607
49608
49609 fi
49610 if test -z "$ac_cv_prog_NM"; then
49611 ac_ct_NM=$NM
49612 # Extract the first word of "nm", so it can be a program name with args.
49613 set dummy nm; ac_word=$2
49614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49616 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49617 echo $ECHO_N "(cached) $ECHO_C" >&6
49618 else
49619 if test -n "$ac_ct_NM"; then
49620 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49621 else
49622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49623 for as_dir in $PATH
49624 do
49625 IFS=$as_save_IFS
49626 test -z "$as_dir" && as_dir=.
49627 for ac_exec_ext in '' $ac_executable_extensions; do
49628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49629 ac_cv_prog_ac_ct_NM="nm"
49630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49631 break 2
49632 fi
49633 done
49634 done
49635 IFS=$as_save_IFS
49636
49637 fi
49638 fi
49639 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49640 if test -n "$ac_ct_NM"; then
49641 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49642 echo "${ECHO_T}$ac_ct_NM" >&6; }
49643 else
49644 { echo "$as_me:$LINENO: result: no" >&5
49645 echo "${ECHO_T}no" >&6; }
49646 fi
49647
49648 if test "x$ac_ct_NM" = x; then
49649 NM=":"
49650 else
49651 case $cross_compiling:$ac_tool_warned in
49652 yes:)
49653 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49654 whose name does not start with the host triplet. If you think this
49655 configuration is useful to you, please write to autoconf@gnu.org." >&5
49656 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49657 whose name does not start with the host triplet. If you think this
49658 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49659 ac_tool_warned=yes ;;
49660 esac
49661 NM=$ac_ct_NM
49662 fi
49663 else
49664 NM="$ac_cv_prog_NM"
49665 fi
49666
49667
49668 case ${BAKEFILE_HOST} in
49669 *-hp-hpux* )
49670 INSTALL_DIR="mkdir -p"
49671 ;;
49672 * )
49673 INSTALL_DIR='$(INSTALL) -d'
49674 ;;
49675 esac
49676
49677
49678 LDFLAGS_GUI=
49679 case ${BAKEFILE_HOST} in
49680 *-*-cygwin* | *-*-mingw32* )
49681 LDFLAGS_GUI="-mwindows"
49682 esac
49683
49684
49685 fi
49686
49687 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49688 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49689 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49690 echo $ECHO_N "(cached) $ECHO_C" >&6
49691 else
49692
49693 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49694 egrep -s GNU > /dev/null); then
49695 bakefile_cv_prog_makeisgnu="yes"
49696 else
49697 bakefile_cv_prog_makeisgnu="no"
49698 fi
49699
49700 fi
49701 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49702 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49703
49704 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49705 IF_GNU_MAKE=""
49706 else
49707 IF_GNU_MAKE="#"
49708 fi
49709
49710
49711
49712 PLATFORM_UNIX=0
49713 PLATFORM_WIN32=0
49714 PLATFORM_MSDOS=0
49715 PLATFORM_MAC=0
49716 PLATFORM_MACOS=0
49717 PLATFORM_MACOSX=0
49718 PLATFORM_OS2=0
49719 PLATFORM_BEOS=0
49720
49721 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49722 case "${BAKEFILE_HOST}" in
49723 *-*-mingw32* )
49724 PLATFORM_WIN32=1
49725 ;;
49726 *-pc-msdosdjgpp )
49727 PLATFORM_MSDOS=1
49728 ;;
49729 *-pc-os2_emx | *-pc-os2-emx )
49730 PLATFORM_OS2=1
49731 ;;
49732 *-*-darwin* )
49733 PLATFORM_MAC=1
49734 PLATFORM_MACOSX=1
49735 ;;
49736 *-*-beos* )
49737 PLATFORM_BEOS=1
49738 ;;
49739 powerpc-apple-macos* )
49740 PLATFORM_MAC=1
49741 PLATFORM_MACOS=1
49742 ;;
49743 * )
49744 PLATFORM_UNIX=1
49745 ;;
49746 esac
49747 else
49748 case "$BAKEFILE_FORCE_PLATFORM" in
49749 win32 )
49750 PLATFORM_WIN32=1
49751 ;;
49752 msdos )
49753 PLATFORM_MSDOS=1
49754 ;;
49755 os2 )
49756 PLATFORM_OS2=1
49757 ;;
49758 darwin )
49759 PLATFORM_MAC=1
49760 PLATFORM_MACOSX=1
49761 ;;
49762 unix )
49763 PLATFORM_UNIX=1
49764 ;;
49765 beos )
49766 PLATFORM_BEOS=1
49767 ;;
49768 * )
49769 ;;
49770 esac
49771 fi
49772
49773
49774
49775
49776
49777
49778
49779
49780
49781
49782
49783 # Check whether --enable-omf was given.
49784 if test "${enable_omf+set}" = set; then
49785 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49786 fi
49787
49788
49789 case "${BAKEFILE_HOST}" in
49790 *-*-darwin* )
49791 if test "x$GCC" = "xyes"; then
49792 CFLAGS="$CFLAGS -fno-common"
49793 CXXFLAGS="$CXXFLAGS -fno-common"
49794 fi
49795 if test "x$XLCC" = "xyes"; then
49796 CFLAGS="$CFLAGS -qnocommon"
49797 CXXFLAGS="$CXXFLAGS -qnocommon"
49798 fi
49799 ;;
49800
49801 *-pc-os2_emx | *-pc-os2-emx )
49802 if test "x$bk_os2_use_omf" = "xyes" ; then
49803 AR=emxomfar
49804 RANLIB=:
49805 LDFLAGS="-Zomf $LDFLAGS"
49806 CFLAGS="-Zomf $CFLAGS"
49807 CXXFLAGS="-Zomf $CXXFLAGS"
49808 OS2_LIBEXT="lib"
49809 else
49810 OS2_LIBEXT="a"
49811 fi
49812 ;;
49813
49814 i*86-*-beos* )
49815 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49816 ;;
49817 esac
49818
49819
49820 SO_SUFFIX="so"
49821 SO_SUFFIX_MODULE="so"
49822 EXEEXT=""
49823 LIBPREFIX="lib"
49824 LIBEXT=".a"
49825 DLLPREFIX="lib"
49826 DLLPREFIX_MODULE=""
49827 DLLIMP_SUFFIX=""
49828 dlldir="$libdir"
49829
49830 case "${BAKEFILE_HOST}" in
49831 *-hp-hpux* )
49832 SO_SUFFIX="sl"
49833 SO_SUFFIX_MODULE="sl"
49834 ;;
49835 *-*-aix* )
49836 SO_SUFFIX="a"
49837 SO_SUFFIX_MODULE="a"
49838 ;;
49839 *-*-cygwin* )
49840 SO_SUFFIX="dll"
49841 SO_SUFFIX_MODULE="dll"
49842 DLLIMP_SUFFIX="dll.a"
49843 EXEEXT=".exe"
49844 DLLPREFIX="cyg"
49845 dlldir="$bindir"
49846 ;;
49847 *-*-mingw32* )
49848 SO_SUFFIX="dll"
49849 SO_SUFFIX_MODULE="dll"
49850 DLLIMP_SUFFIX="dll.a"
49851 EXEEXT=".exe"
49852 DLLPREFIX=""
49853 dlldir="$bindir"
49854 ;;
49855 *-pc-msdosdjgpp )
49856 EXEEXT=".exe"
49857 DLLPREFIX=""
49858 dlldir="$bindir"
49859 ;;
49860 *-pc-os2_emx | *-pc-os2-emx )
49861 SO_SUFFIX="dll"
49862 SO_SUFFIX_MODULE="dll"
49863 DLLIMP_SUFFIX=$OS2_LIBEXT
49864 EXEEXT=".exe"
49865 DLLPREFIX=""
49866 LIBPREFIX=""
49867 LIBEXT=".$OS2_LIBEXT"
49868 dlldir="$bindir"
49869 ;;
49870 *-*-darwin* )
49871 SO_SUFFIX="dylib"
49872 SO_SUFFIX_MODULE="bundle"
49873 ;;
49874 esac
49875
49876 if test "x$DLLIMP_SUFFIX" = "x" ; then
49877 DLLIMP_SUFFIX="$SO_SUFFIX"
49878 fi
49879
49880
49881
49882
49883
49884
49885
49886
49887
49888
49889
49890
49891 PIC_FLAG=""
49892 if test "x$GCC" = "xyes"; then
49893 PIC_FLAG="-fPIC"
49894 fi
49895
49896 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49897 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49898 WINDOWS_IMPLIB=0
49899
49900 case "${BAKEFILE_HOST}" in
49901 *-hp-hpux* )
49902 if test "x$GCC" != "xyes"; then
49903 LDFLAGS="$LDFLAGS -L/usr/lib"
49904
49905 SHARED_LD_CC="${CC} -b -o"
49906 SHARED_LD_CXX="${CXX} -b -o"
49907 PIC_FLAG="+Z"
49908 fi
49909 ;;
49910
49911 *-*-linux* )
49912 if test "$INTELCC" = "yes"; then
49913 PIC_FLAG="-KPIC"
49914 elif test "x$SUNCXX" = "xyes"; then
49915 SHARED_LD_CC="${CC} -G -o"
49916 SHARED_LD_CXX="${CXX} -G -o"
49917 PIC_FLAG="-KPIC"
49918 fi
49919 ;;
49920
49921 *-*-solaris2* )
49922 if test "x$SUNCXX" = xyes ; then
49923 SHARED_LD_CC="${CC} -G -o"
49924 SHARED_LD_CXX="${CXX} -G -o"
49925 PIC_FLAG="-KPIC"
49926 fi
49927 ;;
49928
49929 *-*-darwin* )
49930
49931 D='$'
49932 cat <<EOF >shared-ld-sh
49933 #!/bin/sh
49934 #-----------------------------------------------------------------------------
49935 #-- Name: distrib/mac/shared-ld-sh
49936 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49937 #-- Author: Gilles Depeyrot
49938 #-- Copyright: (c) 2002 Gilles Depeyrot
49939 #-- Licence: any use permitted
49940 #-----------------------------------------------------------------------------
49941
49942 verbose=0
49943 args=""
49944 objects=""
49945 linking_flag="-dynamiclib"
49946 ldargs="-r -keep_private_externs -nostdlib"
49947
49948 while test ${D}# -gt 0; do
49949 case ${D}1 in
49950
49951 -v)
49952 verbose=1
49953 ;;
49954
49955 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49956 # collect these options and values
49957 args="${D}{args} ${D}1 ${D}2"
49958 shift
49959 ;;
49960
49961 -s|-Wl,*)
49962 # collect these load args
49963 ldargs="${D}{ldargs} ${D}1"
49964 ;;
49965
49966 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49967 # collect these options
49968 args="${D}{args} ${D}1"
49969 ;;
49970
49971 -dynamiclib|-bundle)
49972 linking_flag="${D}1"
49973 ;;
49974
49975 -*)
49976 echo "shared-ld: unhandled option '${D}1'"
49977 exit 1
49978 ;;
49979
49980 *.o | *.a | *.dylib)
49981 # collect object files
49982 objects="${D}{objects} ${D}1"
49983 ;;
49984
49985 *)
49986 echo "shared-ld: unhandled argument '${D}1'"
49987 exit 1
49988 ;;
49989
49990 esac
49991 shift
49992 done
49993
49994 status=0
49995
49996 #
49997 # Link one module containing all the others
49998 #
49999 if test ${D}{verbose} = 1; then
50000 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50001 fi
50002 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50003 status=${D}?
50004
50005 #
50006 # Link the shared library from the single module created, but only if the
50007 # previous command didn't fail:
50008 #
50009 if test ${D}{status} = 0; then
50010 if test ${D}{verbose} = 1; then
50011 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50012 fi
50013 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50014 status=${D}?
50015 fi
50016
50017 #
50018 # Remove intermediate module
50019 #
50020 rm -f master.${D}${D}.o
50021
50022 exit ${D}status
50023 EOF
50024
50025 chmod +x shared-ld-sh
50026
50027 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50028 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50029
50030
50031 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50032 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50033 if test "${bakefile_cv_gcc31+set}" = set; then
50034 echo $ECHO_N "(cached) $ECHO_C" >&6
50035 else
50036
50037 cat >conftest.$ac_ext <<_ACEOF
50038 /* confdefs.h. */
50039 _ACEOF
50040 cat confdefs.h >>conftest.$ac_ext
50041 cat >>conftest.$ac_ext <<_ACEOF
50042 /* end confdefs.h. */
50043
50044 int
50045 main ()
50046 {
50047
50048 #if (__GNUC__ < 3) || \
50049 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50050 This is old gcc
50051 #endif
50052
50053 ;
50054 return 0;
50055 }
50056 _ACEOF
50057 rm -f conftest.$ac_objext
50058 if { (ac_try="$ac_compile"
50059 case "(($ac_try" in
50060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50061 *) ac_try_echo=$ac_try;;
50062 esac
50063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50064 (eval "$ac_compile") 2>conftest.er1
50065 ac_status=$?
50066 grep -v '^ *+' conftest.er1 >conftest.err
50067 rm -f conftest.er1
50068 cat conftest.err >&5
50069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50070 (exit $ac_status); } && {
50071 test -z "$ac_c_werror_flag" ||
50072 test ! -s conftest.err
50073 } && test -s conftest.$ac_objext; then
50074
50075 bakefile_cv_gcc31=yes
50076
50077 else
50078 echo "$as_me: failed program was:" >&5
50079 sed 's/^/| /' conftest.$ac_ext >&5
50080
50081
50082 bakefile_cv_gcc31=no
50083
50084
50085 fi
50086
50087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50088
50089 fi
50090 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50091 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50092 if test "$bakefile_cv_gcc31" = "no"; then
50093 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50094 SHARED_LD_CXX="$SHARED_LD_CC"
50095 else
50096 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50097 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50098 fi
50099
50100 if test "x$GCC" == "xyes"; then
50101 PIC_FLAG="-dynamic -fPIC"
50102 fi
50103 if test "x$XLCC" = "xyes"; then
50104 PIC_FLAG="-dynamic -DPIC"
50105 fi
50106 ;;
50107
50108 *-*-aix* )
50109 if test "x$GCC" = "xyes"; then
50110 PIC_FLAG=""
50111
50112 case "${BAKEFILE_HOST}" in
50113 *-*-aix5* )
50114 LD_EXPFULL="-Wl,-bexpfull"
50115 ;;
50116 esac
50117
50118 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50119 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50120 else
50121 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50122 set dummy makeC++SharedLib; ac_word=$2
50123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50125 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50126 echo $ECHO_N "(cached) $ECHO_C" >&6
50127 else
50128 if test -n "$AIX_CXX_LD"; then
50129 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50130 else
50131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50132 for as_dir in $PATH
50133 do
50134 IFS=$as_save_IFS
50135 test -z "$as_dir" && as_dir=.
50136 for ac_exec_ext in '' $ac_executable_extensions; do
50137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50138 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50140 break 2
50141 fi
50142 done
50143 done
50144 IFS=$as_save_IFS
50145
50146 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50147 fi
50148 fi
50149 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50150 if test -n "$AIX_CXX_LD"; then
50151 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50152 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50153 else
50154 { echo "$as_me:$LINENO: result: no" >&5
50155 echo "${ECHO_T}no" >&6; }
50156 fi
50157
50158
50159 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50160 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50161 fi
50162 ;;
50163
50164 *-*-beos* )
50165 SHARED_LD_CC="${LD} -nostart -o"
50166 SHARED_LD_CXX="${LD} -nostart -o"
50167 ;;
50168
50169 *-*-irix* )
50170 if test "x$GCC" != "xyes"; then
50171 PIC_FLAG="-KPIC"
50172 fi
50173 ;;
50174
50175 *-*-cygwin* | *-*-mingw32* )
50176 PIC_FLAG=""
50177 SHARED_LD_CC="\$(CC) -shared -o"
50178 SHARED_LD_CXX="\$(CXX) -shared -o"
50179 WINDOWS_IMPLIB=1
50180 ;;
50181
50182 *-pc-os2_emx | *-pc-os2-emx )
50183 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50184 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50185 PIC_FLAG=""
50186
50187 D='$'
50188 cat <<EOF >dllar.sh
50189 #!/bin/sh
50190 #
50191 # dllar - a tool to build both a .dll and an .a file
50192 # from a set of object (.o) files for EMX/OS2.
50193 #
50194 # Written by Andrew Zabolotny, bit@freya.etu.ru
50195 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50196 #
50197 # This script will accept a set of files on the command line.
50198 # All the public symbols from the .o files will be exported into
50199 # a .DEF file, then linker will be run (through gcc) against them to
50200 # build a shared library consisting of all given .o files. All libraries
50201 # (.a) will be first decompressed into component .o files then act as
50202 # described above. You can optionally give a description (-d "description")
50203 # which will be put into .DLL. To see the list of accepted options (as well
50204 # as command-line format) simply run this program without options. The .DLL
50205 # is built to be imported by name (there is no guarantee that new versions
50206 # of the library you build will have same ordinals for same symbols).
50207 #
50208 # dllar is free software; you can redistribute it and/or modify
50209 # it under the terms of the GNU General Public License as published by
50210 # the Free Software Foundation; either version 2, or (at your option)
50211 # any later version.
50212 #
50213 # dllar is distributed in the hope that it will be useful,
50214 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50215 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50216 # GNU General Public License for more details.
50217 #
50218 # You should have received a copy of the GNU General Public License
50219 # along with dllar; see the file COPYING. If not, write to the Free
50220 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50221 # 02111-1307, USA.
50222
50223 # To successfuly run this program you will need:
50224 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50225 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50226 # - gcc
50227 # (used to build the .dll)
50228 # - emxexp
50229 # (used to create .def file from .o files)
50230 # - emximp
50231 # (used to create .a file from .def file)
50232 # - GNU text utilites (cat, sort, uniq)
50233 # used to process emxexp output
50234 # - GNU file utilities (mv, rm)
50235 # - GNU sed
50236 # - lxlite (optional, see flag below)
50237 # (used for general .dll cleanup)
50238 #
50239
50240 flag_USE_LXLITE=1;
50241
50242 #
50243 # helper functions
50244 # basnam, variant of basename, which does _not_ remove the path, _iff_
50245 # second argument (suffix to remove) is given
50246 basnam(){
50247 case ${D}# in
50248 1)
50249 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50250 ;;
50251 2)
50252 echo ${D}1 | sed 's/'${D}2'${D}//'
50253 ;;
50254 *)
50255 echo "error in basnam ${D}*"
50256 exit 8
50257 ;;
50258 esac
50259 }
50260
50261 # Cleanup temporary files and output
50262 CleanUp() {
50263 cd ${D}curDir
50264 for i in ${D}inputFiles ; do
50265 case ${D}i in
50266 *!)
50267 rm -rf \`basnam ${D}i !\`
50268 ;;
50269 *)
50270 ;;
50271 esac
50272 done
50273
50274 # Kill result in case of failure as there is just to many stupid make/nmake
50275 # things out there which doesn't do this.
50276 if [ ${D}# -eq 0 ]; then
50277 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50278 fi
50279 }
50280
50281 # Print usage and exit script with rc=1.
50282 PrintHelp() {
50283 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50284 echo ' [-name-mangler-script script.sh]'
50285 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50286 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50287 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50288 echo ' [*.o] [*.a]'
50289 echo '*> "output_file" should have no extension.'
50290 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50291 echo ' The import library name is derived from this and is set to "name".a,'
50292 echo ' unless overridden by -import'
50293 echo '*> "importlib_name" should have no extension.'
50294 echo ' If it has the .o, or .a extension, it is automatically removed.'
50295 echo ' This name is used as the import library name and may be longer and'
50296 echo ' more descriptive than the DLL name which has to follow the old '
50297 echo ' 8.3 convention of FAT.'
50298 echo '*> "script.sh may be given to override the output_file name by a'
50299 echo ' different name. It is mainly useful if the regular make process'
50300 echo ' of some package does not take into account OS/2 restriction of'
50301 echo ' DLL name lengths. It takes the importlib name as input and is'
50302 echo ' supposed to procude a shorter name as output. The script should'
50303 echo ' expect to get importlib_name without extension and should produce'
50304 echo ' a (max.) 8 letter name without extension.'
50305 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50306 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50307 echo ' These flags will be put at the start of GCC command line.'
50308 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50309 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50310 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50311 echo ' If the last character of a symbol is "*", all symbols beginning'
50312 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50313 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50314 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50315 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50316 echo ' C runtime DLLs.'
50317 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50318 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50319 echo ' unchanged to GCC at the end of command line.'
50320 echo '*> If you create a DLL from a library and you do not specify -o,'
50321 echo ' the basename for DLL and import library will be set to library name,'
50322 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50323 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50324 echo ' library will be renamed into gcc_s.a.'
50325 echo '--------'
50326 echo 'Example:'
50327 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50328 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50329 CleanUp
50330 exit 1
50331 }
50332
50333 # Execute a command.
50334 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50335 # @Uses Whatever CleanUp() uses.
50336 doCommand() {
50337 echo "${D}*"
50338 eval ${D}*
50339 rcCmd=${D}?
50340
50341 if [ ${D}rcCmd -ne 0 ]; then
50342 echo "command failed, exit code="${D}rcCmd
50343 CleanUp
50344 exit ${D}rcCmd
50345 fi
50346 }
50347
50348 # main routine
50349 # setup globals
50350 cmdLine=${D}*
50351 outFile=""
50352 outimpFile=""
50353 inputFiles=""
50354 renameScript=""
50355 description=""
50356 CC=gcc.exe
50357 CFLAGS="-s -Zcrtdll"
50358 EXTRA_CFLAGS=""
50359 EXPORT_BY_ORDINALS=0
50360 exclude_symbols=""
50361 library_flags=""
50362 curDir=\`pwd\`
50363 curDirS=curDir
50364 case ${D}curDirS in
50365 */)
50366 ;;
50367 *)
50368 curDirS=${D}{curDirS}"/"
50369 ;;
50370 esac
50371 # Parse commandline
50372 libsToLink=0
50373 omfLinking=0
50374 while [ ${D}1 ]; do
50375 case ${D}1 in
50376 -ord*)
50377 EXPORT_BY_ORDINALS=1;
50378 ;;
50379 -o*)
50380 shift
50381 outFile=${D}1
50382 ;;
50383 -i*)
50384 shift
50385 outimpFile=${D}1
50386 ;;
50387 -name-mangler-script)
50388 shift
50389 renameScript=${D}1
50390 ;;
50391 -d*)
50392 shift
50393 description=${D}1
50394 ;;
50395 -f*)
50396 shift
50397 CFLAGS=${D}1
50398 ;;
50399 -c*)
50400 shift
50401 CC=${D}1
50402 ;;
50403 -h*)
50404 PrintHelp
50405 ;;
50406 -ex*)
50407 shift
50408 exclude_symbols=${D}{exclude_symbols}${D}1" "
50409 ;;
50410 -libf*)
50411 shift
50412 library_flags=${D}{library_flags}${D}1" "
50413 ;;
50414 -nocrt*)
50415 CFLAGS="-s"
50416 ;;
50417 -nolxl*)
50418 flag_USE_LXLITE=0
50419 ;;
50420 -* | /*)
50421 case ${D}1 in
50422 -L* | -l*)
50423 libsToLink=1
50424 ;;
50425 -Zomf)
50426 omfLinking=1
50427 ;;
50428 *)
50429 ;;
50430 esac
50431 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50432 ;;
50433 *.dll)
50434 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50435 if [ ${D}omfLinking -eq 1 ]; then
50436 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50437 else
50438 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50439 fi
50440 ;;
50441 *)
50442 found=0;
50443 if [ ${D}libsToLink -ne 0 ]; then
50444 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50445 else
50446 for file in ${D}1 ; do
50447 if [ -f ${D}file ]; then
50448 inputFiles="${D}{inputFiles} ${D}file"
50449 found=1
50450 fi
50451 done
50452 if [ ${D}found -eq 0 ]; then
50453 echo "ERROR: No file(s) found: "${D}1
50454 exit 8
50455 fi
50456 fi
50457 ;;
50458 esac
50459 shift
50460 done # iterate cmdline words
50461
50462 #
50463 if [ -z "${D}inputFiles" ]; then
50464 echo "dllar: no input files"
50465 PrintHelp
50466 fi
50467
50468 # Now extract all .o files from .a files
50469 newInputFiles=""
50470 for file in ${D}inputFiles ; do
50471 case ${D}file in
50472 *.a | *.lib)
50473 case ${D}file in
50474 *.a)
50475 suffix=".a"
50476 AR="ar"
50477 ;;
50478 *.lib)
50479 suffix=".lib"
50480 AR="emxomfar"
50481 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50482 ;;
50483 *)
50484 ;;
50485 esac
50486 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50487 mkdir ${D}dirname
50488 if [ ${D}? -ne 0 ]; then
50489 echo "Failed to create subdirectory ./${D}dirname"
50490 CleanUp
50491 exit 8;
50492 fi
50493 # Append '!' to indicate archive
50494 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50495 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50496 cd ${D}curDir
50497 found=0;
50498 for subfile in ${D}dirname/*.o* ; do
50499 if [ -f ${D}subfile ]; then
50500 found=1
50501 if [ -s ${D}subfile ]; then
50502 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50503 newInputFiles="${D}newInputFiles ${D}subfile"
50504 fi
50505 fi
50506 done
50507 if [ ${D}found -eq 0 ]; then
50508 echo "WARNING: there are no files in archive \\'${D}file\\'"
50509 fi
50510 ;;
50511 *)
50512 newInputFiles="${D}{newInputFiles} ${D}file"
50513 ;;
50514 esac
50515 done
50516 inputFiles="${D}newInputFiles"
50517
50518 # Output filename(s).
50519 do_backup=0;
50520 if [ -z ${D}outFile ]; then
50521 do_backup=1;
50522 set outFile ${D}inputFiles; outFile=${D}2
50523 fi
50524
50525 # If it is an archive, remove the '!' and the '_%' suffixes
50526 case ${D}outFile in
50527 *_%!)
50528 outFile=\`basnam ${D}outFile _%!\`
50529 ;;
50530 *)
50531 ;;
50532 esac
50533 case ${D}outFile in
50534 *.dll)
50535 outFile=\`basnam ${D}outFile .dll\`
50536 ;;
50537 *.DLL)
50538 outFile=\`basnam ${D}outFile .DLL\`
50539 ;;
50540 *.o)
50541 outFile=\`basnam ${D}outFile .o\`
50542 ;;
50543 *.obj)
50544 outFile=\`basnam ${D}outFile .obj\`
50545 ;;
50546 *.a)
50547 outFile=\`basnam ${D}outFile .a\`
50548 ;;
50549 *.lib)
50550 outFile=\`basnam ${D}outFile .lib\`
50551 ;;
50552 *)
50553 ;;
50554 esac
50555 case ${D}outimpFile in
50556 *.a)
50557 outimpFile=\`basnam ${D}outimpFile .a\`
50558 ;;
50559 *.lib)
50560 outimpFile=\`basnam ${D}outimpFile .lib\`
50561 ;;
50562 *)
50563 ;;
50564 esac
50565 if [ -z ${D}outimpFile ]; then
50566 outimpFile=${D}outFile
50567 fi
50568 defFile="${D}{outFile}.def"
50569 arcFile="${D}{outimpFile}.a"
50570 arcFile2="${D}{outimpFile}.lib"
50571
50572 #create ${D}dllFile as something matching 8.3 restrictions,
50573 if [ -z ${D}renameScript ] ; then
50574 dllFile="${D}outFile"
50575 else
50576 dllFile=\`${D}renameScript ${D}outimpFile\`
50577 fi
50578
50579 if [ ${D}do_backup -ne 0 ] ; then
50580 if [ -f ${D}arcFile ] ; then
50581 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50582 fi
50583 if [ -f ${D}arcFile2 ] ; then
50584 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50585 fi
50586 fi
50587
50588 # Extract public symbols from all the object files.
50589 tmpdefFile=${D}{defFile}_%
50590 rm -f ${D}tmpdefFile
50591 for file in ${D}inputFiles ; do
50592 case ${D}file in
50593 *!)
50594 ;;
50595 *)
50596 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50597 ;;
50598 esac
50599 done
50600
50601 # Create the def file.
50602 rm -f ${D}defFile
50603 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50604 dllFile="${D}{dllFile}.dll"
50605 if [ ! -z ${D}description ]; then
50606 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50607 fi
50608 echo "EXPORTS" >> ${D}defFile
50609
50610 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50611 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50612
50613 # Checks if the export is ok or not.
50614 for word in ${D}exclude_symbols; do
50615 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50616 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50617 done
50618
50619
50620 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50621 sed "=" < ${D}tmpdefFile | \\
50622 sed '
50623 N
50624 : loop
50625 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50626 t loop
50627 ' > ${D}{tmpdefFile}%
50628 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50629 else
50630 rm -f ${D}{tmpdefFile}%
50631 fi
50632 cat ${D}tmpdefFile >> ${D}defFile
50633 rm -f ${D}tmpdefFile
50634
50635 # Do linking, create implib, and apply lxlite.
50636 gccCmdl="";
50637 for file in ${D}inputFiles ; do
50638 case ${D}file in
50639 *!)
50640 ;;
50641 *)
50642 gccCmdl="${D}gccCmdl ${D}file"
50643 ;;
50644 esac
50645 done
50646 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50647 touch "${D}{outFile}.dll"
50648
50649 doCommand "emximp -o ${D}arcFile ${D}defFile"
50650 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50651 add_flags="";
50652 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50653 add_flags="-ynd"
50654 fi
50655 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50656 fi
50657 doCommand "emxomf -s -l ${D}arcFile"
50658
50659 # Successful exit.
50660 CleanUp 1
50661 exit 0
50662 EOF
50663
50664 chmod +x dllar.sh
50665 ;;
50666
50667 powerpc-apple-macos* | \
50668 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50669 *-*-mirbsd* | \
50670 *-*-sunos4* | \
50671 *-*-osf* | \
50672 *-*-dgux5* | \
50673 *-*-sysv5* | \
50674 *-pc-msdosdjgpp )
50675 ;;
50676
50677 *)
50678 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50679 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50680 { (exit 1); exit 1; }; }
50681 esac
50682
50683 if test "x$PIC_FLAG" != "x" ; then
50684 PIC_FLAG="$PIC_FLAG -DPIC"
50685 fi
50686
50687 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50688 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50689 fi
50690 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50691 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50692 fi
50693
50694
50695
50696
50697
50698
50699
50700
50701
50702 USE_SOVERSION=0
50703 USE_SOVERLINUX=0
50704 USE_SOVERSOLARIS=0
50705 USE_SOVERCYGWIN=0
50706 USE_SOSYMLINKS=0
50707 USE_MACVERSION=0
50708 SONAME_FLAG=
50709
50710 case "${BAKEFILE_HOST}" in
50711 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50712 if test "x$SUNCXX" = "xyes"; then
50713 SONAME_FLAG="-h "
50714 else
50715 SONAME_FLAG="-Wl,-soname,"
50716 fi
50717 USE_SOVERSION=1
50718 USE_SOVERLINUX=1
50719 USE_SOSYMLINKS=1
50720 ;;
50721
50722 *-*-solaris2* )
50723 SONAME_FLAG="-h "
50724 USE_SOVERSION=1
50725 USE_SOVERSOLARIS=1
50726 USE_SOSYMLINKS=1
50727 ;;
50728
50729 *-*-darwin* )
50730 USE_MACVERSION=1
50731 USE_SOVERSION=1
50732 USE_SOSYMLINKS=1
50733 ;;
50734
50735 *-*-cygwin* )
50736 USE_SOVERSION=1
50737 USE_SOVERCYGWIN=1
50738 ;;
50739 esac
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750 # Check whether --enable-dependency-tracking was given.
50751 if test "${enable_dependency_tracking+set}" = set; then
50752 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50753 fi
50754
50755
50756 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50757 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50758
50759 BK_DEPS=""
50760 if test "x$bk_use_trackdeps" = "xno" ; then
50761 DEPS_TRACKING=0
50762 { echo "$as_me:$LINENO: result: disabled" >&5
50763 echo "${ECHO_T}disabled" >&6; }
50764 else
50765 DEPS_TRACKING=1
50766
50767 if test "x$GCC" = "xyes"; then
50768 DEPSMODE=gcc
50769 case "${BAKEFILE_HOST}" in
50770 *-*-darwin* )
50771 DEPSFLAG="-no-cpp-precomp -MMD"
50772 ;;
50773 * )
50774 DEPSFLAG="-MMD"
50775 ;;
50776 esac
50777 { echo "$as_me:$LINENO: result: gcc" >&5
50778 echo "${ECHO_T}gcc" >&6; }
50779 elif test "x$MWCC" = "xyes"; then
50780 DEPSMODE=mwcc
50781 DEPSFLAG="-MM"
50782 { echo "$as_me:$LINENO: result: mwcc" >&5
50783 echo "${ECHO_T}mwcc" >&6; }
50784 elif test "x$SUNCC" = "xyes"; then
50785 DEPSMODE=unixcc
50786 DEPSFLAG="-xM1"
50787 { echo "$as_me:$LINENO: result: Sun cc" >&5
50788 echo "${ECHO_T}Sun cc" >&6; }
50789 elif test "x$SGICC" = "xyes"; then
50790 DEPSMODE=unixcc
50791 DEPSFLAG="-M"
50792 { echo "$as_me:$LINENO: result: SGI cc" >&5
50793 echo "${ECHO_T}SGI cc" >&6; }
50794 elif test "x$HPCC" = "xyes"; then
50795 DEPSMODE=unixcc
50796 DEPSFLAG="+make"
50797 { echo "$as_me:$LINENO: result: HP cc" >&5
50798 echo "${ECHO_T}HP cc" >&6; }
50799 elif test "x$COMPAQCC" = "xyes"; then
50800 DEPSMODE=gcc
50801 DEPSFLAG="-MD"
50802 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50803 echo "${ECHO_T}Compaq cc" >&6; }
50804 else
50805 DEPS_TRACKING=0
50806 { echo "$as_me:$LINENO: result: none" >&5
50807 echo "${ECHO_T}none" >&6; }
50808 fi
50809
50810 if test $DEPS_TRACKING = 1 ; then
50811
50812 D='$'
50813 cat <<EOF >bk-deps
50814 #!/bin/sh
50815
50816 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50817 # script. It is used to track C/C++ files dependencies in portable way.
50818 #
50819 # Permission is given to use this file in any way.
50820
50821 DEPSMODE=${DEPSMODE}
50822 DEPSDIR=.deps
50823 DEPSFLAG="${DEPSFLAG}"
50824
50825 mkdir -p ${D}DEPSDIR
50826
50827 if test ${D}DEPSMODE = gcc ; then
50828 ${D}* ${D}{DEPSFLAG}
50829 status=${D}?
50830 if test ${D}{status} != 0 ; then
50831 exit ${D}{status}
50832 fi
50833 # move created file to the location we want it in:
50834 while test ${D}# -gt 0; do
50835 case "${D}1" in
50836 -o )
50837 shift
50838 objfile=${D}1
50839 ;;
50840 -* )
50841 ;;
50842 * )
50843 srcfile=${D}1
50844 ;;
50845 esac
50846 shift
50847 done
50848 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50849 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50850 if test -f ${D}depfile ; then
50851 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50852 rm -f ${D}depfile
50853 else
50854 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50855 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50856 if test ! -f ${D}depfile ; then
50857 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50858 depfile="${D}objfile.d"
50859 fi
50860 if test -f ${D}depfile ; then
50861 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50862 rm -f ${D}depfile
50863 fi
50864 fi
50865 exit 0
50866 elif test ${D}DEPSMODE = mwcc ; then
50867 ${D}* || exit ${D}?
50868 # Run mwcc again with -MM and redirect into the dep file we want
50869 # NOTE: We can't use shift here because we need ${D}* to be valid
50870 prevarg=
50871 for arg in ${D}* ; do
50872 if test "${D}prevarg" = "-o"; then
50873 objfile=${D}arg
50874 else
50875 case "${D}arg" in
50876 -* )
50877 ;;
50878 * )
50879 srcfile=${D}arg
50880 ;;
50881 esac
50882 fi
50883 prevarg="${D}arg"
50884 done
50885 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50886 exit 0
50887 elif test ${D}DEPSMODE = unixcc; then
50888 ${D}* || exit ${D}?
50889 # Run compiler again with deps flag and redirect into the dep file.
50890 # It doesn't work if the '-o FILE' option is used, but without it the
50891 # dependency file will contain the wrong name for the object. So it is
50892 # removed from the command line, and the dep file is fixed with sed.
50893 cmd=""
50894 while test ${D}# -gt 0; do
50895 case "${D}1" in
50896 -o )
50897 shift
50898 objfile=${D}1
50899 ;;
50900 * )
50901 eval arg${D}#=\\${D}1
50902 cmd="${D}cmd \\${D}arg${D}#"
50903 ;;
50904 esac
50905 shift
50906 done
50907 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50908 exit 0
50909 else
50910 ${D}*
50911 exit ${D}?
50912 fi
50913 EOF
50914
50915 chmod +x bk-deps
50916 BK_DEPS="`pwd`/bk-deps"
50917 fi
50918 fi
50919
50920
50921
50922
50923
50924 case ${BAKEFILE_HOST} in
50925 *-*-cygwin* | *-*-mingw32* )
50926 if test -n "$ac_tool_prefix"; then
50927 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50928 set dummy ${ac_tool_prefix}windres; ac_word=$2
50929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50931 if test "${ac_cv_prog_WINDRES+set}" = set; then
50932 echo $ECHO_N "(cached) $ECHO_C" >&6
50933 else
50934 if test -n "$WINDRES"; then
50935 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50936 else
50937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50938 for as_dir in $PATH
50939 do
50940 IFS=$as_save_IFS
50941 test -z "$as_dir" && as_dir=.
50942 for ac_exec_ext in '' $ac_executable_extensions; do
50943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50944 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50946 break 2
50947 fi
50948 done
50949 done
50950 IFS=$as_save_IFS
50951
50952 fi
50953 fi
50954 WINDRES=$ac_cv_prog_WINDRES
50955 if test -n "$WINDRES"; then
50956 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50957 echo "${ECHO_T}$WINDRES" >&6; }
50958 else
50959 { echo "$as_me:$LINENO: result: no" >&5
50960 echo "${ECHO_T}no" >&6; }
50961 fi
50962
50963
50964 fi
50965 if test -z "$ac_cv_prog_WINDRES"; then
50966 ac_ct_WINDRES=$WINDRES
50967 # Extract the first word of "windres", so it can be a program name with args.
50968 set dummy windres; ac_word=$2
50969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50971 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50972 echo $ECHO_N "(cached) $ECHO_C" >&6
50973 else
50974 if test -n "$ac_ct_WINDRES"; then
50975 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50976 else
50977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50978 for as_dir in $PATH
50979 do
50980 IFS=$as_save_IFS
50981 test -z "$as_dir" && as_dir=.
50982 for ac_exec_ext in '' $ac_executable_extensions; do
50983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50984 ac_cv_prog_ac_ct_WINDRES="windres"
50985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50986 break 2
50987 fi
50988 done
50989 done
50990 IFS=$as_save_IFS
50991
50992 fi
50993 fi
50994 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50995 if test -n "$ac_ct_WINDRES"; then
50996 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50997 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50998 else
50999 { echo "$as_me:$LINENO: result: no" >&5
51000 echo "${ECHO_T}no" >&6; }
51001 fi
51002
51003 if test "x$ac_ct_WINDRES" = x; then
51004 WINDRES=""
51005 else
51006 case $cross_compiling:$ac_tool_warned in
51007 yes:)
51008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51009 whose name does not start with the host triplet. If you think this
51010 configuration is useful to you, please write to autoconf@gnu.org." >&5
51011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51012 whose name does not start with the host triplet. If you think this
51013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51014 ac_tool_warned=yes ;;
51015 esac
51016 WINDRES=$ac_ct_WINDRES
51017 fi
51018 else
51019 WINDRES="$ac_cv_prog_WINDRES"
51020 fi
51021
51022 ;;
51023
51024 *-*-darwin* | powerpc-apple-macos* )
51025 # Extract the first word of "Rez", so it can be a program name with args.
51026 set dummy Rez; ac_word=$2
51027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51029 if test "${ac_cv_prog_REZ+set}" = set; then
51030 echo $ECHO_N "(cached) $ECHO_C" >&6
51031 else
51032 if test -n "$REZ"; then
51033 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51034 else
51035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51036 for as_dir in $PATH
51037 do
51038 IFS=$as_save_IFS
51039 test -z "$as_dir" && as_dir=.
51040 for ac_exec_ext in '' $ac_executable_extensions; do
51041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51042 ac_cv_prog_REZ="Rez"
51043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51044 break 2
51045 fi
51046 done
51047 done
51048 IFS=$as_save_IFS
51049
51050 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51051 fi
51052 fi
51053 REZ=$ac_cv_prog_REZ
51054 if test -n "$REZ"; then
51055 { echo "$as_me:$LINENO: result: $REZ" >&5
51056 echo "${ECHO_T}$REZ" >&6; }
51057 else
51058 { echo "$as_me:$LINENO: result: no" >&5
51059 echo "${ECHO_T}no" >&6; }
51060 fi
51061
51062
51063 # Extract the first word of "SetFile", so it can be a program name with args.
51064 set dummy SetFile; ac_word=$2
51065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51067 if test "${ac_cv_prog_SETFILE+set}" = set; then
51068 echo $ECHO_N "(cached) $ECHO_C" >&6
51069 else
51070 if test -n "$SETFILE"; then
51071 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51072 else
51073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51074 for as_dir in $PATH
51075 do
51076 IFS=$as_save_IFS
51077 test -z "$as_dir" && as_dir=.
51078 for ac_exec_ext in '' $ac_executable_extensions; do
51079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51080 ac_cv_prog_SETFILE="SetFile"
51081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51082 break 2
51083 fi
51084 done
51085 done
51086 IFS=$as_save_IFS
51087
51088 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51089 fi
51090 fi
51091 SETFILE=$ac_cv_prog_SETFILE
51092 if test -n "$SETFILE"; then
51093 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51094 echo "${ECHO_T}$SETFILE" >&6; }
51095 else
51096 { echo "$as_me:$LINENO: result: no" >&5
51097 echo "${ECHO_T}no" >&6; }
51098 fi
51099
51100
51101 ;;
51102 esac
51103
51104
51105
51106
51107
51108
51109 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51110
51111
51112 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51113
51114
51115
51116 # Check whether --enable-precomp-headers was given.
51117 if test "${enable_precomp_headers+set}" = set; then
51118 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51119 fi
51120
51121
51122 GCC_PCH=0
51123 ICC_PCH=0
51124 USE_PCH=0
51125 BK_MAKE_PCH=""
51126
51127 case ${BAKEFILE_HOST} in
51128 *-*-cygwin* )
51129 bk_use_pch="no"
51130 ;;
51131 esac
51132
51133 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51134 if test "x$GCC" = "xyes"; then
51135 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51136 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51137 cat >conftest.$ac_ext <<_ACEOF
51138 /* confdefs.h. */
51139 _ACEOF
51140 cat confdefs.h >>conftest.$ac_ext
51141 cat >>conftest.$ac_ext <<_ACEOF
51142 /* end confdefs.h. */
51143
51144 int
51145 main ()
51146 {
51147
51148 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51149 There is no PCH support
51150 #endif
51151 #if (__GNUC__ < 3)
51152 There is no PCH support
51153 #endif
51154 #if (__GNUC__ == 3) && \
51155 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51156 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51157 ( defined(__INTEL_COMPILER) )
51158 There is no PCH support
51159 #endif
51160
51161 ;
51162 return 0;
51163 }
51164 _ACEOF
51165 rm -f conftest.$ac_objext
51166 if { (ac_try="$ac_compile"
51167 case "(($ac_try" in
51168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51169 *) ac_try_echo=$ac_try;;
51170 esac
51171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51172 (eval "$ac_compile") 2>conftest.er1
51173 ac_status=$?
51174 grep -v '^ *+' conftest.er1 >conftest.err
51175 rm -f conftest.er1
51176 cat conftest.err >&5
51177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51178 (exit $ac_status); } && {
51179 test -z "$ac_c_werror_flag" ||
51180 test ! -s conftest.err
51181 } && test -s conftest.$ac_objext; then
51182
51183 { echo "$as_me:$LINENO: result: yes" >&5
51184 echo "${ECHO_T}yes" >&6; }
51185 GCC_PCH=1
51186
51187 else
51188 echo "$as_me: failed program was:" >&5
51189 sed 's/^/| /' conftest.$ac_ext >&5
51190
51191
51192 cat >conftest.$ac_ext <<_ACEOF
51193 /* confdefs.h. */
51194 _ACEOF
51195 cat confdefs.h >>conftest.$ac_ext
51196 cat >>conftest.$ac_ext <<_ACEOF
51197 /* end confdefs.h. */
51198
51199 int
51200 main ()
51201 {
51202
51203 #if !defined(__INTEL_COMPILER) || \
51204 (__INTEL_COMPILER < 800)
51205 There is no PCH support
51206 #endif
51207
51208 ;
51209 return 0;
51210 }
51211 _ACEOF
51212 rm -f conftest.$ac_objext
51213 if { (ac_try="$ac_compile"
51214 case "(($ac_try" in
51215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51216 *) ac_try_echo=$ac_try;;
51217 esac
51218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51219 (eval "$ac_compile") 2>conftest.er1
51220 ac_status=$?
51221 grep -v '^ *+' conftest.er1 >conftest.err
51222 rm -f conftest.er1
51223 cat conftest.err >&5
51224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51225 (exit $ac_status); } && {
51226 test -z "$ac_c_werror_flag" ||
51227 test ! -s conftest.err
51228 } && test -s conftest.$ac_objext; then
51229
51230 { echo "$as_me:$LINENO: result: yes" >&5
51231 echo "${ECHO_T}yes" >&6; }
51232 ICC_PCH=1
51233
51234 else
51235 echo "$as_me: failed program was:" >&5
51236 sed 's/^/| /' conftest.$ac_ext >&5
51237
51238
51239 { echo "$as_me:$LINENO: result: no" >&5
51240 echo "${ECHO_T}no" >&6; }
51241
51242 fi
51243
51244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51245
51246 fi
51247
51248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51249 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51250 USE_PCH=1
51251
51252 D='$'
51253 cat <<EOF >bk-make-pch
51254 #!/bin/sh
51255
51256 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51257 # script. It is used to generated precompiled headers.
51258 #
51259 # Permission is given to use this file in any way.
51260
51261 outfile="${D}{1}"
51262 header="${D}{2}"
51263 shift
51264 shift
51265
51266 compiler=""
51267 headerfile=""
51268
51269 while test ${D}{#} -gt 0; do
51270 add_to_cmdline=1
51271 case "${D}{1}" in
51272 -I* )
51273 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51274 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51275 headerfile="${D}{incdir}/${D}{header}"
51276 fi
51277 ;;
51278 -use-pch|-use_pch )
51279 shift
51280 add_to_cmdline=0
51281 ;;
51282 esac
51283 if test ${D}add_to_cmdline = 1 ; then
51284 compiler="${D}{compiler} ${D}{1}"
51285 fi
51286 shift
51287 done
51288
51289 if test "x${D}{headerfile}" = "x" ; then
51290 echo "error: can't find header ${D}{header} in include paths" >&2
51291 else
51292 if test -f ${D}{outfile} ; then
51293 rm -f ${D}{outfile}
51294 else
51295 mkdir -p \`dirname ${D}{outfile}\`
51296 fi
51297 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51298 mkdir -p .deps
51299 if test "x${GCC_PCH}" = "x1" ; then
51300 # can do this because gcc is >= 3.4:
51301 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51302 elif test "x${ICC_PCH}" = "x1" ; then
51303 filename=pch_gen-${D}${D}
51304 file=${D}{filename}.c
51305 dfile=${D}{filename}.d
51306 cat > ${D}file <<EOT
51307 #include "${D}header"
51308 EOT
51309 # using -MF icc complains about differing command lines in creation/use
51310 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51311 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51312 rm -f ${D}file ${D}dfile ${D}{filename}.o
51313 fi
51314 exit ${D}{?}
51315 fi
51316 EOF
51317
51318 chmod +x bk-make-pch
51319 BK_MAKE_PCH="`pwd`/bk-make-pch"
51320 fi
51321 fi
51322 fi
51323
51324
51325
51326
51327
51328 COND_BUILD_DEBUG="#"
51329 if test "x$BUILD" = "xdebug" ; then
51330 COND_BUILD_DEBUG=""
51331 fi
51332
51333 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51334 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51335 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51336 fi
51337
51338 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51339 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51340 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51341 fi
51342
51343 COND_BUILD_DEBUG_UNICODE_0="#"
51344 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51345 COND_BUILD_DEBUG_UNICODE_0=""
51346 fi
51347
51348 COND_BUILD_DEBUG_UNICODE_1="#"
51349 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51350 COND_BUILD_DEBUG_UNICODE_1=""
51351 fi
51352
51353 COND_BUILD_RELEASE="#"
51354 if test "x$BUILD" = "xrelease" ; then
51355 COND_BUILD_RELEASE=""
51356 fi
51357
51358 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51359 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51360 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51361 fi
51362
51363 COND_BUILD_RELEASE_UNICODE_0="#"
51364 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51365 COND_BUILD_RELEASE_UNICODE_0=""
51366 fi
51367
51368 COND_BUILD_RELEASE_UNICODE_1="#"
51369 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51370 COND_BUILD_RELEASE_UNICODE_1=""
51371 fi
51372
51373 COND_DEBUG_FLAG_1="#"
51374 if test "x$DEBUG_FLAG" = "x1" ; then
51375 COND_DEBUG_FLAG_1=""
51376 fi
51377
51378 COND_DEBUG_INFO_0="#"
51379 if test "x$DEBUG_INFO" = "x0" ; then
51380 COND_DEBUG_INFO_0=""
51381 fi
51382
51383 COND_DEBUG_INFO_1="#"
51384 if test "x$DEBUG_INFO" = "x1" ; then
51385 COND_DEBUG_INFO_1=""
51386 fi
51387
51388 COND_DEPS_TRACKING_0="#"
51389 if test "x$DEPS_TRACKING" = "x0" ; then
51390 COND_DEPS_TRACKING_0=""
51391 fi
51392
51393 COND_DEPS_TRACKING_1="#"
51394 if test "x$DEPS_TRACKING" = "x1" ; then
51395 COND_DEPS_TRACKING_1=""
51396 fi
51397
51398 COND_GCC_PCH_1="#"
51399 if test "x$GCC_PCH" = "x1" ; then
51400 COND_GCC_PCH_1=""
51401 fi
51402
51403 COND_ICC_PCH_1="#"
51404 if test "x$ICC_PCH" = "x1" ; then
51405 COND_ICC_PCH_1=""
51406 fi
51407
51408 COND_MONOLITHIC_0="#"
51409 if test "x$MONOLITHIC" = "x0" ; then
51410 COND_MONOLITHIC_0=""
51411 fi
51412
51413 COND_MONOLITHIC_0_SHARED_0="#"
51414 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51415 COND_MONOLITHIC_0_SHARED_0=""
51416 fi
51417
51418 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51419 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51420 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51421 fi
51422
51423 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51424 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51425 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51426 fi
51427
51428 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51429 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51430 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51431 fi
51432
51433 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51434 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51435 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51436 fi
51437
51438 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51439 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51440 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51441 fi
51442
51443 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51444 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51445 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51446 fi
51447
51448 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51449 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51450 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51451 fi
51452
51453 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51454 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51455 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51456 fi
51457
51458 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51459 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51460 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51461 fi
51462
51463 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51464 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51465 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51466 fi
51467
51468 COND_MONOLITHIC_0_SHARED_1="#"
51469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51470 COND_MONOLITHIC_0_SHARED_1=""
51471 fi
51472
51473 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51475 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51476 fi
51477
51478 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51480 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51481 fi
51482
51483 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51485 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51486 fi
51487
51488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51490 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51491 fi
51492
51493 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51495 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51496 fi
51497
51498 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51500 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51501 fi
51502
51503 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51505 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51506 fi
51507
51508 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51510 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51511 fi
51512
51513 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51515 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51516 fi
51517
51518 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51520 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51521 fi
51522
51523 COND_MONOLITHIC_0_USE_AUI_1="#"
51524 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51525 COND_MONOLITHIC_0_USE_AUI_1=""
51526 fi
51527
51528 COND_MONOLITHIC_0_USE_GUI_1="#"
51529 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51530 COND_MONOLITHIC_0_USE_GUI_1=""
51531 fi
51532
51533 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51534 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51535 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51536 fi
51537
51538 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51539 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51540 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51541 fi
51542
51543 COND_MONOLITHIC_0_USE_HTML_1="#"
51544 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51545 COND_MONOLITHIC_0_USE_HTML_1=""
51546 fi
51547
51548 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51549 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51550 COND_MONOLITHIC_0_USE_MEDIA_1=""
51551 fi
51552
51553 COND_MONOLITHIC_0_USE_ODBC_1="#"
51554 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51555 COND_MONOLITHIC_0_USE_ODBC_1=""
51556 fi
51557
51558 COND_MONOLITHIC_0_USE_QA_1="#"
51559 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51560 COND_MONOLITHIC_0_USE_QA_1=""
51561 fi
51562
51563 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51564 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51565 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51566 fi
51567
51568 COND_MONOLITHIC_0_USE_STC_1="#"
51569 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51570 COND_MONOLITHIC_0_USE_STC_1=""
51571 fi
51572
51573 COND_MONOLITHIC_0_USE_XRC_1="#"
51574 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51575 COND_MONOLITHIC_0_USE_XRC_1=""
51576 fi
51577
51578 COND_MONOLITHIC_1="#"
51579 if test "x$MONOLITHIC" = "x1" ; then
51580 COND_MONOLITHIC_1=""
51581 fi
51582
51583 COND_MONOLITHIC_1_SHARED_0="#"
51584 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51585 COND_MONOLITHIC_1_SHARED_0=""
51586 fi
51587
51588 COND_MONOLITHIC_1_SHARED_1="#"
51589 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51590 COND_MONOLITHIC_1_SHARED_1=""
51591 fi
51592
51593 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51594 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51595 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51596 fi
51597
51598 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51599 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51600 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51601 fi
51602
51603 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51604 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51605 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51606 fi
51607
51608 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51609 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51610 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51611 fi
51612
51613 COND_PLATFORM_MACOSX_1="#"
51614 if test "x$PLATFORM_MACOSX" = "x1" ; then
51615 COND_PLATFORM_MACOSX_1=""
51616 fi
51617
51618 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51619 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51620 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51621 fi
51622
51623 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51625 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51626 fi
51627
51628 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51630 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51631 fi
51632
51633 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51635 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51636 fi
51637
51638 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51640 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51641 fi
51642
51643 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51644 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51645 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51646 fi
51647
51648 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51649 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51650 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51651 fi
51652
51653 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51654 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51655 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51656 fi
51657
51658 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51659 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51660 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51661 fi
51662
51663 COND_PLATFORM_MACOS_1="#"
51664 if test "x$PLATFORM_MACOS" = "x1" ; then
51665 COND_PLATFORM_MACOS_1=""
51666 fi
51667
51668 COND_PLATFORM_MAC_1="#"
51669 if test "x$PLATFORM_MAC" = "x1" ; then
51670 COND_PLATFORM_MAC_1=""
51671 fi
51672
51673 COND_PLATFORM_MSDOS_0="#"
51674 if test "x$PLATFORM_MSDOS" = "x0" ; then
51675 COND_PLATFORM_MSDOS_0=""
51676 fi
51677
51678 COND_PLATFORM_MSDOS_1="#"
51679 if test "x$PLATFORM_MSDOS" = "x1" ; then
51680 COND_PLATFORM_MSDOS_1=""
51681 fi
51682
51683 COND_PLATFORM_OS2_1="#"
51684 if test "x$PLATFORM_OS2" = "x1" ; then
51685 COND_PLATFORM_OS2_1=""
51686 fi
51687
51688 COND_PLATFORM_UNIX_0="#"
51689 if test "x$PLATFORM_UNIX" = "x0" ; then
51690 COND_PLATFORM_UNIX_0=""
51691 fi
51692
51693 COND_PLATFORM_UNIX_1="#"
51694 if test "x$PLATFORM_UNIX" = "x1" ; then
51695 COND_PLATFORM_UNIX_1=""
51696 fi
51697
51698 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51699 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51700 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51701 fi
51702
51703 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51704 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51705 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51706 fi
51707
51708 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51709 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51710 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51711 fi
51712
51713 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51714 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51715 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51716 fi
51717
51718 COND_PLATFORM_WIN32_0="#"
51719 if test "x$PLATFORM_WIN32" = "x0" ; then
51720 COND_PLATFORM_WIN32_0=""
51721 fi
51722
51723 COND_PLATFORM_WIN32_1="#"
51724 if test "x$PLATFORM_WIN32" = "x1" ; then
51725 COND_PLATFORM_WIN32_1=""
51726 fi
51727
51728 COND_SHARED_0="#"
51729 if test "x$SHARED" = "x0" ; then
51730 COND_SHARED_0=""
51731 fi
51732
51733 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51734 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51735 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51736 fi
51737
51738 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51739 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51740 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51741 fi
51742
51743 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51744 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51745 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51746 fi
51747
51748 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51749 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51750 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51751 fi
51752
51753 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51754 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51755 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51756 fi
51757
51758 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51759 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51760 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51761 fi
51762
51763 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51764 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51765 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51766 fi
51767
51768 COND_SHARED_0_USE_STC_1="#"
51769 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51770 COND_SHARED_0_USE_STC_1=""
51771 fi
51772
51773 COND_SHARED_0_USE_XRC_1="#"
51774 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51775 COND_SHARED_0_USE_XRC_1=""
51776 fi
51777
51778 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51779 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51780 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51781 fi
51782
51783 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51784 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51785 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51786 fi
51787
51788 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51789 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51790 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51791 fi
51792
51793 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51794 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51795 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51796 fi
51797
51798 COND_SHARED_1="#"
51799 if test "x$SHARED" = "x1" ; then
51800 COND_SHARED_1=""
51801 fi
51802
51803 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51804 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51805 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51806 fi
51807
51808 COND_SHARED_1_USE_XRC_1="#"
51809 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51810 COND_SHARED_1_USE_XRC_1=""
51811 fi
51812
51813 COND_TOOLKIT_="#"
51814 if test "x$TOOLKIT" = "x" ; then
51815 COND_TOOLKIT_=""
51816 fi
51817
51818 COND_TOOLKIT_COCOA="#"
51819 if test "x$TOOLKIT" = "xCOCOA" ; then
51820 COND_TOOLKIT_COCOA=""
51821 fi
51822
51823 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51824 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51825 COND_TOOLKIT_COCOA_USE_GUI_1=""
51826 fi
51827
51828 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51829 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51830 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51831 fi
51832
51833 COND_TOOLKIT_DFB="#"
51834 if test "x$TOOLKIT" = "xDFB" ; then
51835 COND_TOOLKIT_DFB=""
51836 fi
51837
51838 COND_TOOLKIT_DFB_USE_GUI_1="#"
51839 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51840 COND_TOOLKIT_DFB_USE_GUI_1=""
51841 fi
51842
51843 COND_TOOLKIT_GTK="#"
51844 if test "x$TOOLKIT" = "xGTK" ; then
51845 COND_TOOLKIT_GTK=""
51846 fi
51847
51848 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51849 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51850 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51851 fi
51852
51853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51854 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51856 fi
51857
51858 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51859 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51860 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51861 fi
51862
51863 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51864 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51865 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51866 fi
51867
51868 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51869 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51870 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51871 fi
51872
51873 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51874 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51875 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51876 fi
51877
51878 COND_TOOLKIT_GTK_USE_GUI_1="#"
51879 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51880 COND_TOOLKIT_GTK_USE_GUI_1=""
51881 fi
51882
51883 COND_TOOLKIT_MAC="#"
51884 if test "x$TOOLKIT" = "xMAC" ; then
51885 COND_TOOLKIT_MAC=""
51886 fi
51887
51888 COND_TOOLKIT_MAC_USE_GUI_1="#"
51889 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51890 COND_TOOLKIT_MAC_USE_GUI_1=""
51891 fi
51892
51893 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51894 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51895 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51896 fi
51897
51898 COND_TOOLKIT_MGL="#"
51899 if test "x$TOOLKIT" = "xMGL" ; then
51900 COND_TOOLKIT_MGL=""
51901 fi
51902
51903 COND_TOOLKIT_MGL_USE_GUI_1="#"
51904 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51905 COND_TOOLKIT_MGL_USE_GUI_1=""
51906 fi
51907
51908 COND_TOOLKIT_MOTIF="#"
51909 if test "x$TOOLKIT" = "xMOTIF" ; then
51910 COND_TOOLKIT_MOTIF=""
51911 fi
51912
51913 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51914 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51915 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51916 fi
51917
51918 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51919 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51921 fi
51922
51923 COND_TOOLKIT_MSW="#"
51924 if test "x$TOOLKIT" = "xMSW" ; then
51925 COND_TOOLKIT_MSW=""
51926 fi
51927
51928 COND_TOOLKIT_MSW_USE_GUI_1="#"
51929 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51930 COND_TOOLKIT_MSW_USE_GUI_1=""
51931 fi
51932
51933 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51934 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51936 fi
51937
51938 COND_TOOLKIT_MSW_WXUNIV_0="#"
51939 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51940 COND_TOOLKIT_MSW_WXUNIV_0=""
51941 fi
51942
51943 COND_TOOLKIT_PM="#"
51944 if test "x$TOOLKIT" = "xPM" ; then
51945 COND_TOOLKIT_PM=""
51946 fi
51947
51948 COND_TOOLKIT_PM_USE_GUI_1="#"
51949 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51950 COND_TOOLKIT_PM_USE_GUI_1=""
51951 fi
51952
51953 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51954 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51955 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51956 fi
51957
51958 COND_TOOLKIT_WINCE="#"
51959 if test "x$TOOLKIT" = "xWINCE" ; then
51960 COND_TOOLKIT_WINCE=""
51961 fi
51962
51963 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51964 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51965 COND_TOOLKIT_WINCE_USE_GUI_1=""
51966 fi
51967
51968 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51969 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51970 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51971 fi
51972
51973 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51974 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51975 COND_TOOLKIT_WINCE_WXUNIV_0=""
51976 fi
51977
51978 COND_TOOLKIT_X11="#"
51979 if test "x$TOOLKIT" = "xX11" ; then
51980 COND_TOOLKIT_X11=""
51981 fi
51982
51983 COND_TOOLKIT_X11_USE_GUI_1="#"
51984 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51985 COND_TOOLKIT_X11_USE_GUI_1=""
51986 fi
51987
51988 COND_UNICODE_1="#"
51989 if test "x$UNICODE" = "x1" ; then
51990 COND_UNICODE_1=""
51991 fi
51992
51993 COND_USE_EXCEPTIONS_0="#"
51994 if test "x$USE_EXCEPTIONS" = "x0" ; then
51995 COND_USE_EXCEPTIONS_0=""
51996 fi
51997
51998 COND_USE_EXCEPTIONS_1="#"
51999 if test "x$USE_EXCEPTIONS" = "x1" ; then
52000 COND_USE_EXCEPTIONS_1=""
52001 fi
52002
52003 COND_USE_GUI_0="#"
52004 if test "x$USE_GUI" = "x0" ; then
52005 COND_USE_GUI_0=""
52006 fi
52007
52008 COND_USE_GUI_1="#"
52009 if test "x$USE_GUI" = "x1" ; then
52010 COND_USE_GUI_1=""
52011 fi
52012
52013 COND_USE_GUI_1_USE_OPENGL_1="#"
52014 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52015 COND_USE_GUI_1_USE_OPENGL_1=""
52016 fi
52017
52018 COND_USE_GUI_1_WXUNIV_0="#"
52019 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52020 COND_USE_GUI_1_WXUNIV_0=""
52021 fi
52022
52023 COND_USE_GUI_1_WXUNIV_1="#"
52024 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52025 COND_USE_GUI_1_WXUNIV_1=""
52026 fi
52027
52028 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52029 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52030 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52031 fi
52032
52033 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52034 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52035 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52036 fi
52037
52038 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52039 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52040 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52041 fi
52042
52043 COND_USE_ODBC_1="#"
52044 if test "x$USE_ODBC" = "x1" ; then
52045 COND_USE_ODBC_1=""
52046 fi
52047
52048 COND_USE_OPENGL_1="#"
52049 if test "x$USE_OPENGL" = "x1" ; then
52050 COND_USE_OPENGL_1=""
52051 fi
52052
52053 COND_USE_PCH_1="#"
52054 if test "x$USE_PCH" = "x1" ; then
52055 COND_USE_PCH_1=""
52056 fi
52057
52058 COND_USE_PLUGINS_0="#"
52059 if test "x$USE_PLUGINS" = "x0" ; then
52060 COND_USE_PLUGINS_0=""
52061 fi
52062
52063 COND_USE_RTTI_0="#"
52064 if test "x$USE_RTTI" = "x0" ; then
52065 COND_USE_RTTI_0=""
52066 fi
52067
52068 COND_USE_RTTI_1="#"
52069 if test "x$USE_RTTI" = "x1" ; then
52070 COND_USE_RTTI_1=""
52071 fi
52072
52073 COND_USE_SOSYMLINKS_1="#"
52074 if test "x$USE_SOSYMLINKS" = "x1" ; then
52075 COND_USE_SOSYMLINKS_1=""
52076 fi
52077
52078 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52079 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52080 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52081 fi
52082
52083 COND_USE_SOVERLINUX_1="#"
52084 if test "x$USE_SOVERLINUX" = "x1" ; then
52085 COND_USE_SOVERLINUX_1=""
52086 fi
52087
52088 COND_USE_SOVERSION_0="#"
52089 if test "x$USE_SOVERSION" = "x0" ; then
52090 COND_USE_SOVERSION_0=""
52091 fi
52092
52093 COND_USE_SOVERSOLARIS_1="#"
52094 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52095 COND_USE_SOVERSOLARIS_1=""
52096 fi
52097
52098 COND_USE_STC_1="#"
52099 if test "x$USE_STC" = "x1" ; then
52100 COND_USE_STC_1=""
52101 fi
52102
52103 COND_USE_THREADS_0="#"
52104 if test "x$USE_THREADS" = "x0" ; then
52105 COND_USE_THREADS_0=""
52106 fi
52107
52108 COND_USE_THREADS_1="#"
52109 if test "x$USE_THREADS" = "x1" ; then
52110 COND_USE_THREADS_1=""
52111 fi
52112
52113 COND_USE_XRC_1="#"
52114 if test "x$USE_XRC" = "x1" ; then
52115 COND_USE_XRC_1=""
52116 fi
52117
52118 COND_WINDOWS_IMPLIB_1="#"
52119 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52120 COND_WINDOWS_IMPLIB_1=""
52121 fi
52122
52123 COND_WITH_PLUGIN_SDL_1="#"
52124 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52125 COND_WITH_PLUGIN_SDL_1=""
52126 fi
52127
52128 COND_WXUNIV_0="#"
52129 if test "x$WXUNIV" = "x0" ; then
52130 COND_WXUNIV_0=""
52131 fi
52132
52133 COND_WXUNIV_1="#"
52134 if test "x$WXUNIV" = "x1" ; then
52135 COND_WXUNIV_1=""
52136 fi
52137
52138 COND_WXUSE_EXPAT_BUILTIN="#"
52139 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52140 COND_WXUSE_EXPAT_BUILTIN=""
52141 fi
52142
52143 COND_WXUSE_LIBJPEG_BUILTIN="#"
52144 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52145 COND_WXUSE_LIBJPEG_BUILTIN=""
52146 fi
52147
52148 COND_WXUSE_LIBPNG_BUILTIN="#"
52149 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52150 COND_WXUSE_LIBPNG_BUILTIN=""
52151 fi
52152
52153 COND_WXUSE_LIBTIFF_BUILTIN="#"
52154 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52155 COND_WXUSE_LIBTIFF_BUILTIN=""
52156 fi
52157
52158 COND_WXUSE_ODBC_BUILTIN="#"
52159 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52160 COND_WXUSE_ODBC_BUILTIN=""
52161 fi
52162
52163 COND_WXUSE_REGEX_BUILTIN="#"
52164 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52165 COND_WXUSE_REGEX_BUILTIN=""
52166 fi
52167
52168 COND_WXUSE_ZLIB_BUILTIN="#"
52169 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52170 COND_WXUSE_ZLIB_BUILTIN=""
52171 fi
52172
52173
52174
52175 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52176 { { 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
52177 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;}
52178 { (exit 1); exit 1; }; }
52179 fi
52180
52181 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52182 { { 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
52183 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;}
52184 { (exit 1); exit 1; }; }
52185 fi
52186
52187
52188 if test $GCC_PCH = 1
52189 then
52190 if test "$wx_cv_gcc_pch_bug" = yes; then
52191 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52192 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52193 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52194 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52195 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52196 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52197 fi
52198
52199 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52200 fi
52201
52202
52203 if test "$wxUSE_MAC" = 1 ; then
52204 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52205 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52206 mv temp bk-deps
52207 chmod +x bk-deps
52208 fi
52209 fi
52210
52211 if test "$wxUSE_SHARED" = "yes"; then
52212
52213 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52214 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52215
52216 case "${host}" in
52217 *-pc-os2_emx | *-pc-os2-emx )
52218 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52219 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52220 cp -p ${srcdir}/src/os2/dllnames.sh .
52221 cp -p ${srcdir}/src/os2/dllar.sh .
52222 ;;
52223 esac
52224 else
52225
52226 EXE_LINKER="$CXX -o"
52227
52228 fi
52229 if test "$wxUSE_OMF" = "yes"; then
52230 case "${host}" in
52231 *-pc-os2_emx | *-pc-os2-emx )
52232 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52233 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52234 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52235 ;;
52236 esac
52237 fi
52238
52239 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52240
52241
52242 case "${host}" in
52243 *-*-solaris2* )
52244 if "$GCC" = yes; then
52245 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52246 LIBS=`echo $LIBS | sed 's/-mt//'`
52247 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52248 fi
52249 ;;
52250
52251 *-*-linux* )
52252 if test "x$SUNCXX" = xyes; then
52253 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52254 LIBS=`echo $LIBS | sed 's/-pthread//'`
52255 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52256 fi
52257 ;;
52258 esac
52259
52260 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52261 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52262
52263 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52264
52265
52266
52267
52268
52269
52270
52271
52272
52273
52274
52275
52276
52277
52278
52279
52280
52281
52282
52283
52284
52285
52286
52287
52288
52289
52290
52291
52292
52293
52294
52295
52296
52297
52298
52299
52300
52301
52302
52303
52304
52305
52306
52307
52308
52309
52310
52311
52312
52313
52314
52315
52316
52317
52318
52319
52320
52321
52322
52323
52324
52325 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52326 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52327 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52328 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52329 echo $ECHO_N "(cached) $ECHO_C" >&6
52330 else
52331 cat >conftest.make <<\_ACEOF
52332 SHELL = /bin/sh
52333 all:
52334 @echo '@@@%%%=$(MAKE)=@@@%%%'
52335 _ACEOF
52336 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52337 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52338 *@@@%%%=?*=@@@%%%*)
52339 eval ac_cv_prog_make_${ac_make}_set=yes;;
52340 *)
52341 eval ac_cv_prog_make_${ac_make}_set=no;;
52342 esac
52343 rm -f conftest.make
52344 fi
52345 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52346 { echo "$as_me:$LINENO: result: yes" >&5
52347 echo "${ECHO_T}yes" >&6; }
52348 SET_MAKE=
52349 else
52350 { echo "$as_me:$LINENO: result: no" >&5
52351 echo "${ECHO_T}no" >&6; }
52352 SET_MAKE="MAKE=${MAKE-make}"
52353 fi
52354
52355
52356
52357 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52358
52359
52360 if test "$USE_WIN32" = 1; then
52361 ac_config_commands="$ac_config_commands
52362 rcdefs.h
52363 "
52364
52365 fi
52366
52367 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52368
52369
52370 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52371
52372
52373 if test "$wx_cv_version_script" = "yes"; then
52374 ac_config_files="$ac_config_files version-script"
52375
52376 fi
52377 ac_config_files="$ac_config_files Makefile"
52378
52379
52380 ac_config_commands="$ac_config_commands wx-config"
52381
52382
52383
52384 if test "$wxWITH_SUBDIRS" != "no"; then
52385 if test "$wxUSE_GUI" = "yes"; then
52386 SUBDIRS="samples demos utils"
52387 else SUBDIRS="samples utils"
52388 fi
52389
52390
52391
52392 # Check whether --with-cppunit-prefix was given.
52393 if test "${with_cppunit_prefix+set}" = set; then
52394 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52395 else
52396 cppunit_config_prefix=""
52397 fi
52398
52399
52400 # Check whether --with-cppunit-exec-prefix was given.
52401 if test "${with_cppunit_exec_prefix+set}" = set; then
52402 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52403 else
52404 cppunit_config_exec_prefix=""
52405 fi
52406
52407
52408 if test x$cppunit_config_exec_prefix != x ; then
52409 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52410 if test x${CPPUNIT_CONFIG+set} != xset ; then
52411 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52412 fi
52413 fi
52414 if test x$cppunit_config_prefix != x ; then
52415 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52416 if test x${CPPUNIT_CONFIG+set} != xset ; then
52417 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52418 fi
52419 fi
52420
52421 # Extract the first word of "cppunit-config", so it can be a program name with args.
52422 set dummy cppunit-config; ac_word=$2
52423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52425 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52426 echo $ECHO_N "(cached) $ECHO_C" >&6
52427 else
52428 case $CPPUNIT_CONFIG in
52429 [\\/]* | ?:[\\/]*)
52430 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52431 ;;
52432 *)
52433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52434 for as_dir in $PATH
52435 do
52436 IFS=$as_save_IFS
52437 test -z "$as_dir" && as_dir=.
52438 for ac_exec_ext in '' $ac_executable_extensions; do
52439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52440 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52442 break 2
52443 fi
52444 done
52445 done
52446 IFS=$as_save_IFS
52447
52448 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52449 ;;
52450 esac
52451 fi
52452 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52453 if test -n "$CPPUNIT_CONFIG"; then
52454 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52455 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52456 else
52457 { echo "$as_me:$LINENO: result: no" >&5
52458 echo "${ECHO_T}no" >&6; }
52459 fi
52460
52461
52462 cppunit_version_min=1.8.0
52463
52464 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52465 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52466 no_cppunit=""
52467 if test "$CPPUNIT_CONFIG" = "no" ; then
52468 { echo "$as_me:$LINENO: result: no" >&5
52469 echo "${ECHO_T}no" >&6; }
52470 no_cppunit=yes
52471 else
52472 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52473 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52474 cppunit_version=`$CPPUNIT_CONFIG --version`
52475
52476 cppunit_major_version=`echo $cppunit_version | \
52477 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52478 cppunit_minor_version=`echo $cppunit_version | \
52479 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52480 cppunit_micro_version=`echo $cppunit_version | \
52481 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52482
52483 cppunit_major_min=`echo $cppunit_version_min | \
52484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52485 cppunit_minor_min=`echo $cppunit_version_min | \
52486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52487 cppunit_micro_min=`echo $cppunit_version_min | \
52488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52489
52490 cppunit_version_proper=`expr \
52491 $cppunit_major_version \> $cppunit_major_min \| \
52492 $cppunit_major_version \= $cppunit_major_min \& \
52493 $cppunit_minor_version \> $cppunit_minor_min \| \
52494 $cppunit_major_version \= $cppunit_major_min \& \
52495 $cppunit_minor_version \= $cppunit_minor_min \& \
52496 $cppunit_micro_version \>= $cppunit_micro_min `
52497
52498 if test "$cppunit_version_proper" = "1" ; then
52499 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52500 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52501 else
52502 { echo "$as_me:$LINENO: result: no" >&5
52503 echo "${ECHO_T}no" >&6; }
52504 no_cppunit=yes
52505 fi
52506 fi
52507
52508 if test "x$no_cppunit" = x ; then
52509 SUBDIRS="$SUBDIRS tests"
52510 else
52511 CPPUNIT_CFLAGS=""
52512 CPPUNIT_LIBS=""
52513 :
52514 fi
52515
52516
52517
52518
52519
52520 for subdir in `echo $SUBDIRS`; do
52521 if test -d ${srcdir}/${subdir} ; then
52522 if test "$wxUSE_GUI" = "yes"; then
52523 if test ${subdir} = "samples"; then
52524 makefiles="samples/Makefile.in $makefiles"
52525 for sample in `echo $SAMPLES_SUBDIRS`; do
52526 if test -d $srcdir/samples/$sample; then
52527 makefiles="samples/$sample/Makefile.in $makefiles"
52528 fi
52529 done
52530 else
52531 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52532 eval "disabled=\$$disabled_var"
52533 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52534 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52535 fi
52536 else if test ${subdir} = "samples"; then
52537 makefiles="samples/Makefile.in samples/console/Makefile.in"
52538 elif test ${subdir} = "utils"; then
52539 makefiles=""
52540 for util in HelpGen tex2rtf ; do
52541 if test -d $srcdir/utils/$util ; then
52542 makefiles="utils/$util/Makefile.in \
52543 utils/$util/src/Makefile.in \
52544 $makefiles"
52545 fi
52546 done
52547 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52548 fi
52549 fi
52550
52551 for mkin in $makefiles ; do
52552 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52553 ac_config_files="$ac_config_files $mk"
52554
52555 done
52556 fi
52557 done
52558 fi
52559 cat >confcache <<\_ACEOF
52560 # This file is a shell script that caches the results of configure
52561 # tests run on this system so they can be shared between configure
52562 # scripts and configure runs, see configure's option --config-cache.
52563 # It is not useful on other systems. If it contains results you don't
52564 # want to keep, you may remove or edit it.
52565 #
52566 # config.status only pays attention to the cache file if you give it
52567 # the --recheck option to rerun configure.
52568 #
52569 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52570 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52571 # following values.
52572
52573 _ACEOF
52574
52575 # The following way of writing the cache mishandles newlines in values,
52576 # but we know of no workaround that is simple, portable, and efficient.
52577 # So, we kill variables containing newlines.
52578 # Ultrix sh set writes to stderr and can't be redirected directly,
52579 # and sets the high bit in the cache file unless we assign to the vars.
52580 (
52581 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52582 eval ac_val=\$$ac_var
52583 case $ac_val in #(
52584 *${as_nl}*)
52585 case $ac_var in #(
52586 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52587 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52588 esac
52589 case $ac_var in #(
52590 _ | IFS | as_nl) ;; #(
52591 *) $as_unset $ac_var ;;
52592 esac ;;
52593 esac
52594 done
52595
52596 (set) 2>&1 |
52597 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52598 *${as_nl}ac_space=\ *)
52599 # `set' does not quote correctly, so add quotes (double-quote
52600 # substitution turns \\\\ into \\, and sed turns \\ into \).
52601 sed -n \
52602 "s/'/'\\\\''/g;
52603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52604 ;; #(
52605 *)
52606 # `set' quotes correctly as required by POSIX, so do not add quotes.
52607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52608 ;;
52609 esac |
52610 sort
52611 ) |
52612 sed '
52613 /^ac_cv_env_/b end
52614 t clear
52615 :clear
52616 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52617 t end
52618 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52619 :end' >>confcache
52620 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52621 if test -w "$cache_file"; then
52622 test "x$cache_file" != "x/dev/null" &&
52623 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52624 echo "$as_me: updating cache $cache_file" >&6;}
52625 cat confcache >$cache_file
52626 else
52627 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52628 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52629 fi
52630 fi
52631 rm -f confcache
52632
52633 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52634 # Let make expand exec_prefix.
52635 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52636
52637 DEFS=-DHAVE_CONFIG_H
52638
52639 ac_libobjs=
52640 ac_ltlibobjs=
52641 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52642 # 1. Remove the extension, and $U if already installed.
52643 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52644 ac_i=`echo "$ac_i" | sed "$ac_script"`
52645 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52646 # will be set to the directory where LIBOBJS objects are built.
52647 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52648 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52649 done
52650 LIBOBJS=$ac_libobjs
52651
52652 LTLIBOBJS=$ac_ltlibobjs
52653
52654
52655
52656 : ${CONFIG_STATUS=./config.status}
52657 ac_clean_files_save=$ac_clean_files
52658 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52659 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52660 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52661 cat >$CONFIG_STATUS <<_ACEOF
52662 #! $SHELL
52663 # Generated by $as_me.
52664 # Run this file to recreate the current configuration.
52665 # Compiler output produced by configure, useful for debugging
52666 # configure, is in config.log if it exists.
52667
52668 debug=false
52669 ac_cs_recheck=false
52670 ac_cs_silent=false
52671 SHELL=\${CONFIG_SHELL-$SHELL}
52672 _ACEOF
52673
52674 cat >>$CONFIG_STATUS <<\_ACEOF
52675 ## --------------------- ##
52676 ## M4sh Initialization. ##
52677 ## --------------------- ##
52678
52679 # Be more Bourne compatible
52680 DUALCASE=1; export DUALCASE # for MKS sh
52681 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52682 emulate sh
52683 NULLCMD=:
52684 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52685 # is contrary to our usage. Disable this feature.
52686 alias -g '${1+"$@"}'='"$@"'
52687 setopt NO_GLOB_SUBST
52688 else
52689 case `(set -o) 2>/dev/null` in
52690 *posix*) set -o posix ;;
52691 esac
52692
52693 fi
52694
52695
52696
52697
52698 # PATH needs CR
52699 # Avoid depending upon Character Ranges.
52700 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52701 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52702 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52703 as_cr_digits='0123456789'
52704 as_cr_alnum=$as_cr_Letters$as_cr_digits
52705
52706 # The user is always right.
52707 if test "${PATH_SEPARATOR+set}" != set; then
52708 echo "#! /bin/sh" >conf$$.sh
52709 echo "exit 0" >>conf$$.sh
52710 chmod +x conf$$.sh
52711 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52712 PATH_SEPARATOR=';'
52713 else
52714 PATH_SEPARATOR=:
52715 fi
52716 rm -f conf$$.sh
52717 fi
52718
52719 # Support unset when possible.
52720 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52721 as_unset=unset
52722 else
52723 as_unset=false
52724 fi
52725
52726
52727 # IFS
52728 # We need space, tab and new line, in precisely that order. Quoting is
52729 # there to prevent editors from complaining about space-tab.
52730 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52731 # splitting by setting IFS to empty value.)
52732 as_nl='
52733 '
52734 IFS=" "" $as_nl"
52735
52736 # Find who we are. Look in the path if we contain no directory separator.
52737 case $0 in
52738 *[\\/]* ) as_myself=$0 ;;
52739 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52740 for as_dir in $PATH
52741 do
52742 IFS=$as_save_IFS
52743 test -z "$as_dir" && as_dir=.
52744 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52745 done
52746 IFS=$as_save_IFS
52747
52748 ;;
52749 esac
52750 # We did not find ourselves, most probably we were run as `sh COMMAND'
52751 # in which case we are not to be found in the path.
52752 if test "x$as_myself" = x; then
52753 as_myself=$0
52754 fi
52755 if test ! -f "$as_myself"; then
52756 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52757 { (exit 1); exit 1; }
52758 fi
52759
52760 # Work around bugs in pre-3.0 UWIN ksh.
52761 for as_var in ENV MAIL MAILPATH
52762 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52763 done
52764 PS1='$ '
52765 PS2='> '
52766 PS4='+ '
52767
52768 # NLS nuisances.
52769 for as_var in \
52770 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52771 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52772 LC_TELEPHONE LC_TIME
52773 do
52774 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52775 eval $as_var=C; export $as_var
52776 else
52777 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52778 fi
52779 done
52780
52781 # Required to use basename.
52782 if expr a : '\(a\)' >/dev/null 2>&1 &&
52783 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52784 as_expr=expr
52785 else
52786 as_expr=false
52787 fi
52788
52789 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52790 as_basename=basename
52791 else
52792 as_basename=false
52793 fi
52794
52795
52796 # Name of the executable.
52797 as_me=`$as_basename -- "$0" ||
52798 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52799 X"$0" : 'X\(//\)$' \| \
52800 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52801 echo X/"$0" |
52802 sed '/^.*\/\([^/][^/]*\)\/*$/{
52803 s//\1/
52804 q
52805 }
52806 /^X\/\(\/\/\)$/{
52807 s//\1/
52808 q
52809 }
52810 /^X\/\(\/\).*/{
52811 s//\1/
52812 q
52813 }
52814 s/.*/./; q'`
52815
52816 # CDPATH.
52817 $as_unset CDPATH
52818
52819
52820
52821 as_lineno_1=$LINENO
52822 as_lineno_2=$LINENO
52823 test "x$as_lineno_1" != "x$as_lineno_2" &&
52824 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52825
52826 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52827 # uniformly replaced by the line number. The first 'sed' inserts a
52828 # line-number line after each line using $LINENO; the second 'sed'
52829 # does the real work. The second script uses 'N' to pair each
52830 # line-number line with the line containing $LINENO, and appends
52831 # trailing '-' during substitution so that $LINENO is not a special
52832 # case at line end.
52833 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52834 # scripts with optimization help from Paolo Bonzini. Blame Lee
52835 # E. McMahon (1931-1989) for sed's syntax. :-)
52836 sed -n '
52837 p
52838 /[$]LINENO/=
52839 ' <$as_myself |
52840 sed '
52841 s/[$]LINENO.*/&-/
52842 t lineno
52843 b
52844 :lineno
52845 N
52846 :loop
52847 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52848 t loop
52849 s/-\n.*//
52850 ' >$as_me.lineno &&
52851 chmod +x "$as_me.lineno" ||
52852 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52853 { (exit 1); exit 1; }; }
52854
52855 # Don't try to exec as it changes $[0], causing all sort of problems
52856 # (the dirname of $[0] is not the place where we might find the
52857 # original and so on. Autoconf is especially sensitive to this).
52858 . "./$as_me.lineno"
52859 # Exit status is that of the last command.
52860 exit
52861 }
52862
52863
52864 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52865 as_dirname=dirname
52866 else
52867 as_dirname=false
52868 fi
52869
52870 ECHO_C= ECHO_N= ECHO_T=
52871 case `echo -n x` in
52872 -n*)
52873 case `echo 'x\c'` in
52874 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52875 *) ECHO_C='\c';;
52876 esac;;
52877 *)
52878 ECHO_N='-n';;
52879 esac
52880
52881 if expr a : '\(a\)' >/dev/null 2>&1 &&
52882 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52883 as_expr=expr
52884 else
52885 as_expr=false
52886 fi
52887
52888 rm -f conf$$ conf$$.exe conf$$.file
52889 if test -d conf$$.dir; then
52890 rm -f conf$$.dir/conf$$.file
52891 else
52892 rm -f conf$$.dir
52893 mkdir conf$$.dir
52894 fi
52895 echo >conf$$.file
52896 if ln -s conf$$.file conf$$ 2>/dev/null; then
52897 as_ln_s='ln -s'
52898 # ... but there are two gotchas:
52899 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52900 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52901 # In both cases, we have to default to `cp -p'.
52902 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52903 as_ln_s='cp -p'
52904 elif ln conf$$.file conf$$ 2>/dev/null; then
52905 as_ln_s=ln
52906 else
52907 as_ln_s='cp -p'
52908 fi
52909 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52910 rmdir conf$$.dir 2>/dev/null
52911
52912 if mkdir -p . 2>/dev/null; then
52913 as_mkdir_p=:
52914 else
52915 test -d ./-p && rmdir ./-p
52916 as_mkdir_p=false
52917 fi
52918
52919 if test -x / >/dev/null 2>&1; then
52920 as_test_x='test -x'
52921 else
52922 if ls -dL / >/dev/null 2>&1; then
52923 as_ls_L_option=L
52924 else
52925 as_ls_L_option=
52926 fi
52927 as_test_x='
52928 eval sh -c '\''
52929 if test -d "$1"; then
52930 test -d "$1/.";
52931 else
52932 case $1 in
52933 -*)set "./$1";;
52934 esac;
52935 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52936 ???[sx]*):;;*)false;;esac;fi
52937 '\'' sh
52938 '
52939 fi
52940 as_executable_p=$as_test_x
52941
52942 # Sed expression to map a string onto a valid CPP name.
52943 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52944
52945 # Sed expression to map a string onto a valid variable name.
52946 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52947
52948
52949 exec 6>&1
52950
52951 # Save the log message, to keep $[0] and so on meaningful, and to
52952 # report actual input values of CONFIG_FILES etc. instead of their
52953 # values after options handling.
52954 ac_log="
52955 This file was extended by wxWidgets $as_me 2.9.0, which was
52956 generated by GNU Autoconf 2.61. Invocation command line was
52957
52958 CONFIG_FILES = $CONFIG_FILES
52959 CONFIG_HEADERS = $CONFIG_HEADERS
52960 CONFIG_LINKS = $CONFIG_LINKS
52961 CONFIG_COMMANDS = $CONFIG_COMMANDS
52962 $ $0 $@
52963
52964 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52965 "
52966
52967 _ACEOF
52968
52969 cat >>$CONFIG_STATUS <<_ACEOF
52970 # Files that config.status was made for.
52971 config_files="$ac_config_files"
52972 config_headers="$ac_config_headers"
52973 config_commands="$ac_config_commands"
52974
52975 _ACEOF
52976
52977 cat >>$CONFIG_STATUS <<\_ACEOF
52978 ac_cs_usage="\
52979 \`$as_me' instantiates files from templates according to the
52980 current configuration.
52981
52982 Usage: $0 [OPTIONS] [FILE]...
52983
52984 -h, --help print this help, then exit
52985 -V, --version print version number and configuration settings, then exit
52986 -q, --quiet do not print progress messages
52987 -d, --debug don't remove temporary files
52988 --recheck update $as_me by reconfiguring in the same conditions
52989 --file=FILE[:TEMPLATE]
52990 instantiate the configuration file FILE
52991 --header=FILE[:TEMPLATE]
52992 instantiate the configuration header FILE
52993
52994 Configuration files:
52995 $config_files
52996
52997 Configuration headers:
52998 $config_headers
52999
53000 Configuration commands:
53001 $config_commands
53002
53003 Report bugs to <bug-autoconf@gnu.org>."
53004
53005 _ACEOF
53006 cat >>$CONFIG_STATUS <<_ACEOF
53007 ac_cs_version="\\
53008 wxWidgets config.status 2.9.0
53009 configured by $0, generated by GNU Autoconf 2.61,
53010 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53011
53012 Copyright (C) 2006 Free Software Foundation, Inc.
53013 This config.status script is free software; the Free Software Foundation
53014 gives unlimited permission to copy, distribute and modify it."
53015
53016 ac_pwd='$ac_pwd'
53017 srcdir='$srcdir'
53018 INSTALL='$INSTALL'
53019 _ACEOF
53020
53021 cat >>$CONFIG_STATUS <<\_ACEOF
53022 # If no file are specified by the user, then we need to provide default
53023 # value. By we need to know if files were specified by the user.
53024 ac_need_defaults=:
53025 while test $# != 0
53026 do
53027 case $1 in
53028 --*=*)
53029 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53030 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53031 ac_shift=:
53032 ;;
53033 *)
53034 ac_option=$1
53035 ac_optarg=$2
53036 ac_shift=shift
53037 ;;
53038 esac
53039
53040 case $ac_option in
53041 # Handling of the options.
53042 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53043 ac_cs_recheck=: ;;
53044 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53045 echo "$ac_cs_version"; exit ;;
53046 --debug | --debu | --deb | --de | --d | -d )
53047 debug=: ;;
53048 --file | --fil | --fi | --f )
53049 $ac_shift
53050 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53051 ac_need_defaults=false;;
53052 --header | --heade | --head | --hea )
53053 $ac_shift
53054 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53055 ac_need_defaults=false;;
53056 --he | --h)
53057 # Conflict between --help and --header
53058 { echo "$as_me: error: ambiguous option: $1
53059 Try \`$0 --help' for more information." >&2
53060 { (exit 1); exit 1; }; };;
53061 --help | --hel | -h )
53062 echo "$ac_cs_usage"; exit ;;
53063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53064 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53065 ac_cs_silent=: ;;
53066
53067 # This is an error.
53068 -*) { echo "$as_me: error: unrecognized option: $1
53069 Try \`$0 --help' for more information." >&2
53070 { (exit 1); exit 1; }; } ;;
53071
53072 *) ac_config_targets="$ac_config_targets $1"
53073 ac_need_defaults=false ;;
53074
53075 esac
53076 shift
53077 done
53078
53079 ac_configure_extra_args=
53080
53081 if $ac_cs_silent; then
53082 exec 6>/dev/null
53083 ac_configure_extra_args="$ac_configure_extra_args --silent"
53084 fi
53085
53086 _ACEOF
53087 cat >>$CONFIG_STATUS <<_ACEOF
53088 if \$ac_cs_recheck; then
53089 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53090 CONFIG_SHELL=$SHELL
53091 export CONFIG_SHELL
53092 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53093 fi
53094
53095 _ACEOF
53096 cat >>$CONFIG_STATUS <<\_ACEOF
53097 exec 5>>config.log
53098 {
53099 echo
53100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53101 ## Running $as_me. ##
53102 _ASBOX
53103 echo "$ac_log"
53104 } >&5
53105
53106 _ACEOF
53107 cat >>$CONFIG_STATUS <<_ACEOF
53108 #
53109 # INIT-COMMANDS
53110 #
53111
53112 CPP="$CPP"
53113 infile="$srcdir/include/wx/msw/genrcdefs.h"
53114 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53115
53116
53117 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53118 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53119 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53120 LN_S="${LN_S}"
53121
53122
53123 _ACEOF
53124
53125 cat >>$CONFIG_STATUS <<\_ACEOF
53126
53127 # Handling of arguments.
53128 for ac_config_target in $ac_config_targets
53129 do
53130 case $ac_config_target in
53131 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53132 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53133 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53134 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53135 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53136 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53137 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53138 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53139
53140 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53141 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53142 { (exit 1); exit 1; }; };;
53143 esac
53144 done
53145
53146
53147 # If the user did not use the arguments to specify the items to instantiate,
53148 # then the envvar interface is used. Set only those that are not.
53149 # We use the long form for the default assignment because of an extremely
53150 # bizarre bug on SunOS 4.1.3.
53151 if $ac_need_defaults; then
53152 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53153 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53154 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53155 fi
53156
53157 # Have a temporary directory for convenience. Make it in the build tree
53158 # simply because there is no reason against having it here, and in addition,
53159 # creating and moving files from /tmp can sometimes cause problems.
53160 # Hook for its removal unless debugging.
53161 # Note that there is a small window in which the directory will not be cleaned:
53162 # after its creation but before its name has been assigned to `$tmp'.
53163 $debug ||
53164 {
53165 tmp=
53166 trap 'exit_status=$?
53167 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53168 ' 0
53169 trap '{ (exit 1); exit 1; }' 1 2 13 15
53170 }
53171 # Create a (secure) tmp directory for tmp files.
53172
53173 {
53174 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53175 test -n "$tmp" && test -d "$tmp"
53176 } ||
53177 {
53178 tmp=./conf$$-$RANDOM
53179 (umask 077 && mkdir "$tmp")
53180 } ||
53181 {
53182 echo "$me: cannot create a temporary directory in ." >&2
53183 { (exit 1); exit 1; }
53184 }
53185
53186 #
53187 # Set up the sed scripts for CONFIG_FILES section.
53188 #
53189
53190 # No need to generate the scripts if there are no CONFIG_FILES.
53191 # This happens for instance when ./config.status config.h
53192 if test -n "$CONFIG_FILES"; then
53193
53194 _ACEOF
53195
53196
53197
53198 ac_delim='%!_!# '
53199 for ac_last_try in false false false false false :; do
53200 cat >conf$$subs.sed <<_ACEOF
53201 SHELL!$SHELL$ac_delim
53202 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53203 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53204 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53205 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53206 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53207 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53208 exec_prefix!$exec_prefix$ac_delim
53209 prefix!$prefix$ac_delim
53210 program_transform_name!$program_transform_name$ac_delim
53211 bindir!$bindir$ac_delim
53212 sbindir!$sbindir$ac_delim
53213 libexecdir!$libexecdir$ac_delim
53214 datarootdir!$datarootdir$ac_delim
53215 datadir!$datadir$ac_delim
53216 sysconfdir!$sysconfdir$ac_delim
53217 sharedstatedir!$sharedstatedir$ac_delim
53218 localstatedir!$localstatedir$ac_delim
53219 includedir!$includedir$ac_delim
53220 oldincludedir!$oldincludedir$ac_delim
53221 docdir!$docdir$ac_delim
53222 infodir!$infodir$ac_delim
53223 htmldir!$htmldir$ac_delim
53224 dvidir!$dvidir$ac_delim
53225 pdfdir!$pdfdir$ac_delim
53226 psdir!$psdir$ac_delim
53227 libdir!$libdir$ac_delim
53228 localedir!$localedir$ac_delim
53229 mandir!$mandir$ac_delim
53230 DEFS!$DEFS$ac_delim
53231 ECHO_C!$ECHO_C$ac_delim
53232 ECHO_N!$ECHO_N$ac_delim
53233 ECHO_T!$ECHO_T$ac_delim
53234 LIBS!$LIBS$ac_delim
53235 build_alias!$build_alias$ac_delim
53236 host_alias!$host_alias$ac_delim
53237 target_alias!$target_alias$ac_delim
53238 build!$build$ac_delim
53239 build_cpu!$build_cpu$ac_delim
53240 build_vendor!$build_vendor$ac_delim
53241 build_os!$build_os$ac_delim
53242 host!$host$ac_delim
53243 host_cpu!$host_cpu$ac_delim
53244 host_vendor!$host_vendor$ac_delim
53245 host_os!$host_os$ac_delim
53246 target!$target$ac_delim
53247 target_cpu!$target_cpu$ac_delim
53248 target_vendor!$target_vendor$ac_delim
53249 target_os!$target_os$ac_delim
53250 wx_top_builddir!$wx_top_builddir$ac_delim
53251 CC!$CC$ac_delim
53252 CFLAGS!$CFLAGS$ac_delim
53253 LDFLAGS!$LDFLAGS$ac_delim
53254 CPPFLAGS!$CPPFLAGS$ac_delim
53255 ac_ct_CC!$ac_ct_CC$ac_delim
53256 EXEEXT!$EXEEXT$ac_delim
53257 OBJEXT!$OBJEXT$ac_delim
53258 CPP!$CPP$ac_delim
53259 GREP!$GREP$ac_delim
53260 EGREP!$EGREP$ac_delim
53261 CXX!$CXX$ac_delim
53262 CXXFLAGS!$CXXFLAGS$ac_delim
53263 ac_ct_CXX!$ac_ct_CXX$ac_delim
53264 RANLIB!$RANLIB$ac_delim
53265 AR!$AR$ac_delim
53266 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53267 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53268 INSTALL_DATA!$INSTALL_DATA$ac_delim
53269 STRIP!$STRIP$ac_delim
53270 WINDRES!$WINDRES$ac_delim
53271 DLLTOOL!$DLLTOOL$ac_delim
53272 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53273 LN_S!$LN_S$ac_delim
53274 subdirs!$subdirs$ac_delim
53275 PKG_CONFIG!$PKG_CONFIG$ac_delim
53276 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53277 GTK_LIBS!$GTK_LIBS$ac_delim
53278 GTK_CONFIG!$GTK_CONFIG$ac_delim
53279 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53280 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53281 XMKMF!$XMKMF$ac_delim
53282 X_CFLAGS!$X_CFLAGS$ac_delim
53283 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53284 X_LIBS!$X_LIBS$ac_delim
53285 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53286 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53287 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53288 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53289 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53290 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53291 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53292 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53293 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53294 REZ!$REZ$ac_delim
53295 DEREZ!$DEREZ$ac_delim
53296 SETFILE!$SETFILE$ac_delim
53297 LIBICONV!$LIBICONV$ac_delim
53298 _ACEOF
53299
53300 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53301 break
53302 elif $ac_last_try; then
53303 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53304 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53305 { (exit 1); exit 1; }; }
53306 else
53307 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53308 fi
53309 done
53310
53311 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53312 if test -n "$ac_eof"; then
53313 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53314 ac_eof=`expr $ac_eof + 1`
53315 fi
53316
53317 cat >>$CONFIG_STATUS <<_ACEOF
53318 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53319 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53320 _ACEOF
53321 sed '
53322 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53323 s/^/s,@/; s/!/@,|#_!!_#|/
53324 :n
53325 t n
53326 s/'"$ac_delim"'$/,g/; t
53327 s/$/\\/; p
53328 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53329 ' >>$CONFIG_STATUS <conf$$subs.sed
53330 rm -f conf$$subs.sed
53331 cat >>$CONFIG_STATUS <<_ACEOF
53332 CEOF$ac_eof
53333 _ACEOF
53334
53335
53336 ac_delim='%!_!# '
53337 for ac_last_try in false false false false false :; do
53338 cat >conf$$subs.sed <<_ACEOF
53339 SDL_CONFIG!$SDL_CONFIG$ac_delim
53340 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53341 SDL_LIBS!$SDL_LIBS$ac_delim
53342 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53343 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53344 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53345 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53346 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53347 HILDON_LIBS!$HILDON_LIBS$ac_delim
53348 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53349 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53350 GST_CFLAGS!$GST_CFLAGS$ac_delim
53351 GST_LIBS!$GST_LIBS$ac_delim
53352 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53353 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53354 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53355 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53356 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53357 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53358 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53359 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53360 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53361 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53362 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53363 VENDOR!$VENDOR$ac_delim
53364 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53365 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53366 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53367 WXUNIV!$WXUNIV$ac_delim
53368 MONOLITHIC!$MONOLITHIC$ac_delim
53369 USE_PLUGINS!$USE_PLUGINS$ac_delim
53370 CXXWARNINGS!$CXXWARNINGS$ac_delim
53371 EXTRALIBS!$EXTRALIBS$ac_delim
53372 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53373 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53374 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53375 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53376 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53377 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53378 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53379 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53380 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53381 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53382 UNICODE!$UNICODE$ac_delim
53383 BUILD!$BUILD$ac_delim
53384 DEBUG_INFO!$DEBUG_INFO$ac_delim
53385 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53386 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53387 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53388 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53389 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53390 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53391 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53392 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53393 SET_MAKE!$SET_MAKE$ac_delim
53394 MAKE_SET!$MAKE_SET$ac_delim
53395 AROPTIONS!$AROPTIONS$ac_delim
53396 NM!$NM$ac_delim
53397 INSTALL_DIR!$INSTALL_DIR$ac_delim
53398 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53399 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53400 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53401 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53402 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53403 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53404 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53405 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53406 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53407 SO_SUFFIX!$SO_SUFFIX$ac_delim
53408 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53409 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53410 LIBPREFIX!$LIBPREFIX$ac_delim
53411 LIBEXT!$LIBEXT$ac_delim
53412 DLLPREFIX!$DLLPREFIX$ac_delim
53413 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53414 dlldir!$dlldir$ac_delim
53415 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53416 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53417 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53418 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53419 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53420 PIC_FLAG!$PIC_FLAG$ac_delim
53421 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53422 USE_SOVERSION!$USE_SOVERSION$ac_delim
53423 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53424 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53425 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53426 USE_MACVERSION!$USE_MACVERSION$ac_delim
53427 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53428 SONAME_FLAG!$SONAME_FLAG$ac_delim
53429 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53430 BK_DEPS!$BK_DEPS$ac_delim
53431 GCC_PCH!$GCC_PCH$ac_delim
53432 ICC_PCH!$ICC_PCH$ac_delim
53433 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53434 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53435 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53436 _ACEOF
53437
53438 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53439 break
53440 elif $ac_last_try; then
53441 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53442 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53443 { (exit 1); exit 1; }; }
53444 else
53445 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53446 fi
53447 done
53448
53449 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53450 if test -n "$ac_eof"; then
53451 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53452 ac_eof=`expr $ac_eof + 1`
53453 fi
53454
53455 cat >>$CONFIG_STATUS <<_ACEOF
53456 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53457 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53458 _ACEOF
53459 sed '
53460 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53461 s/^/s,@/; s/!/@,|#_!!_#|/
53462 :n
53463 t n
53464 s/'"$ac_delim"'$/,g/; t
53465 s/$/\\/; p
53466 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53467 ' >>$CONFIG_STATUS <conf$$subs.sed
53468 rm -f conf$$subs.sed
53469 cat >>$CONFIG_STATUS <<_ACEOF
53470 CEOF$ac_eof
53471 _ACEOF
53472
53473
53474 ac_delim='%!_!# '
53475 for ac_last_try in false false false false false :; do
53476 cat >conf$$subs.sed <<_ACEOF
53477 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53478 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53479 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53480 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53481 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53482 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53483 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53484 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53485 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53486 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53487 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53488 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53489 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53490 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53491 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53492 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53493 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53494 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53495 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53496 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53497 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53498 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53499 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53500 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53501 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53502 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53503 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53504 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53506 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53507 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53508 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53509 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53510 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53511 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53512 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53513 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53514 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53515 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53516 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53517 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53518 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53519 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53520 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53521 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53522 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53523 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53524 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53525 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53526 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53527 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53528 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53529 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53530 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53531 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53532 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53533 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53534 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53535 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53536 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53537 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53538 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53539 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53540 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53541 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53542 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53543 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53544 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53545 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53546 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53547 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53548 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53549 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53550 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53551 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53552 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53553 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53554 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53555 COND_SHARED_0!$COND_SHARED_0$ac_delim
53556 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53557 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53558 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53559 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53560 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53561 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53562 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53563 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53564 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53565 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53566 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53567 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53568 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53569 COND_SHARED_1!$COND_SHARED_1$ac_delim
53570 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53571 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53572 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53573 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53574 _ACEOF
53575
53576 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53577 break
53578 elif $ac_last_try; then
53579 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53580 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53581 { (exit 1); exit 1; }; }
53582 else
53583 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53584 fi
53585 done
53586
53587 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53588 if test -n "$ac_eof"; then
53589 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53590 ac_eof=`expr $ac_eof + 1`
53591 fi
53592
53593 cat >>$CONFIG_STATUS <<_ACEOF
53594 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53595 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53596 _ACEOF
53597 sed '
53598 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53599 s/^/s,@/; s/!/@,|#_!!_#|/
53600 :n
53601 t n
53602 s/'"$ac_delim"'$/,g/; t
53603 s/$/\\/; p
53604 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53605 ' >>$CONFIG_STATUS <conf$$subs.sed
53606 rm -f conf$$subs.sed
53607 cat >>$CONFIG_STATUS <<_ACEOF
53608 CEOF$ac_eof
53609 _ACEOF
53610
53611
53612 ac_delim='%!_!# '
53613 for ac_last_try in false false false false false :; do
53614 cat >conf$$subs.sed <<_ACEOF
53615 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53616 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53617 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53618 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53619 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53620 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53621 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53622 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53623 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53624 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53625 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53626 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53627 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53628 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53629 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53630 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53631 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53632 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53633 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53634 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53635 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53636 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53637 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53638 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53639 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53640 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53641 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53642 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53643 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53644 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53645 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53646 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53647 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53648 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53649 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53650 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53651 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53652 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53653 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53654 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53655 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53656 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53657 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53658 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53659 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53660 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53661 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53662 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53663 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53664 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53665 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53666 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53667 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53668 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53669 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53670 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53671 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53672 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53673 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53674 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53675 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53676 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53677 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53678 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53679 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53680 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53681 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53682 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53683 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53684 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53685 SHARED!$SHARED$ac_delim
53686 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53687 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53688 USE_GUI!$USE_GUI$ac_delim
53689 AFMINSTALL!$AFMINSTALL$ac_delim
53690 WIN32INSTALL!$WIN32INSTALL$ac_delim
53691 TOOLKIT!$TOOLKIT$ac_delim
53692 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53693 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53694 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53695 cross_compiling!$cross_compiling$ac_delim
53696 WIDGET_SET!$WIDGET_SET$ac_delim
53697 WX_RELEASE!$WX_RELEASE$ac_delim
53698 WX_VERSION!$WX_VERSION$ac_delim
53699 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53700 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53701 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53702 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53703 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53704 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53705 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53706 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53707 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53708 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53709 EXE_LINKER!$EXE_LINKER$ac_delim
53710 GUIDIST!$GUIDIST$ac_delim
53711 DISTDIR!$DISTDIR$ac_delim
53712 _ACEOF
53713
53714 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53715 break
53716 elif $ac_last_try; then
53717 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53718 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53719 { (exit 1); exit 1; }; }
53720 else
53721 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53722 fi
53723 done
53724
53725 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53726 if test -n "$ac_eof"; then
53727 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53728 ac_eof=`expr $ac_eof + 1`
53729 fi
53730
53731 cat >>$CONFIG_STATUS <<_ACEOF
53732 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53733 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53734 _ACEOF
53735 sed '
53736 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53737 s/^/s,@/; s/!/@,|#_!!_#|/
53738 :n
53739 t n
53740 s/'"$ac_delim"'$/,g/; t
53741 s/$/\\/; p
53742 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53743 ' >>$CONFIG_STATUS <conf$$subs.sed
53744 rm -f conf$$subs.sed
53745 cat >>$CONFIG_STATUS <<_ACEOF
53746 CEOF$ac_eof
53747 _ACEOF
53748
53749
53750 ac_delim='%!_!# '
53751 for ac_last_try in false false false false false :; do
53752 cat >conf$$subs.sed <<_ACEOF
53753 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53754 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53755 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53756 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53757 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53758 RESCOMP!$RESCOMP$ac_delim
53759 RESFLAGS!$RESFLAGS$ac_delim
53760 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53761 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53762 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53763 LIBWXMACRES!$LIBWXMACRES$ac_delim
53764 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53765 MACSETFILE!$MACSETFILE$ac_delim
53766 GCC!$GCC$ac_delim
53767 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53768 LIBOBJS!$LIBOBJS$ac_delim
53769 LTLIBOBJS!$LTLIBOBJS$ac_delim
53770 _ACEOF
53771
53772 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
53773 break
53774 elif $ac_last_try; then
53775 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53776 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53777 { (exit 1); exit 1; }; }
53778 else
53779 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53780 fi
53781 done
53782
53783 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53784 if test -n "$ac_eof"; then
53785 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53786 ac_eof=`expr $ac_eof + 1`
53787 fi
53788
53789 cat >>$CONFIG_STATUS <<_ACEOF
53790 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53792 _ACEOF
53793 sed '
53794 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53795 s/^/s,@/; s/!/@,|#_!!_#|/
53796 :n
53797 t n
53798 s/'"$ac_delim"'$/,g/; t
53799 s/$/\\/; p
53800 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53801 ' >>$CONFIG_STATUS <conf$$subs.sed
53802 rm -f conf$$subs.sed
53803 cat >>$CONFIG_STATUS <<_ACEOF
53804 :end
53805 s/|#_!!_#|//g
53806 CEOF$ac_eof
53807 _ACEOF
53808
53809
53810 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53811 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53812 # trailing colons and then remove the whole line if VPATH becomes empty
53813 # (actually we leave an empty line to preserve line numbers).
53814 if test "x$srcdir" = x.; then
53815 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53816 s/:*\$(srcdir):*/:/
53817 s/:*\${srcdir}:*/:/
53818 s/:*@srcdir@:*/:/
53819 s/^\([^=]*=[ ]*\):*/\1/
53820 s/:*$//
53821 s/^[^=]*=[ ]*$//
53822 }'
53823 fi
53824
53825 cat >>$CONFIG_STATUS <<\_ACEOF
53826 fi # test -n "$CONFIG_FILES"
53827
53828
53829 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53830 do
53831 case $ac_tag in
53832 :[FHLC]) ac_mode=$ac_tag; continue;;
53833 esac
53834 case $ac_mode$ac_tag in
53835 :[FHL]*:*);;
53836 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53837 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53838 { (exit 1); exit 1; }; };;
53839 :[FH]-) ac_tag=-:-;;
53840 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53841 esac
53842 ac_save_IFS=$IFS
53843 IFS=:
53844 set x $ac_tag
53845 IFS=$ac_save_IFS
53846 shift
53847 ac_file=$1
53848 shift
53849
53850 case $ac_mode in
53851 :L) ac_source=$1;;
53852 :[FH])
53853 ac_file_inputs=
53854 for ac_f
53855 do
53856 case $ac_f in
53857 -) ac_f="$tmp/stdin";;
53858 *) # Look for the file first in the build tree, then in the source tree
53859 # (if the path is not absolute). The absolute path cannot be DOS-style,
53860 # because $ac_f cannot contain `:'.
53861 test -f "$ac_f" ||
53862 case $ac_f in
53863 [\\/$]*) false;;
53864 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53865 esac ||
53866 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53867 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53868 { (exit 1); exit 1; }; };;
53869 esac
53870 ac_file_inputs="$ac_file_inputs $ac_f"
53871 done
53872
53873 # Let's still pretend it is `configure' which instantiates (i.e., don't
53874 # use $as_me), people would be surprised to read:
53875 # /* config.h. Generated by config.status. */
53876 configure_input="Generated from "`IFS=:
53877 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53878 if test x"$ac_file" != x-; then
53879 configure_input="$ac_file. $configure_input"
53880 { echo "$as_me:$LINENO: creating $ac_file" >&5
53881 echo "$as_me: creating $ac_file" >&6;}
53882 fi
53883
53884 case $ac_tag in
53885 *:-:* | *:-) cat >"$tmp/stdin";;
53886 esac
53887 ;;
53888 esac
53889
53890 ac_dir=`$as_dirname -- "$ac_file" ||
53891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53892 X"$ac_file" : 'X\(//\)[^/]' \| \
53893 X"$ac_file" : 'X\(//\)$' \| \
53894 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53895 echo X"$ac_file" |
53896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53897 s//\1/
53898 q
53899 }
53900 /^X\(\/\/\)[^/].*/{
53901 s//\1/
53902 q
53903 }
53904 /^X\(\/\/\)$/{
53905 s//\1/
53906 q
53907 }
53908 /^X\(\/\).*/{
53909 s//\1/
53910 q
53911 }
53912 s/.*/./; q'`
53913 { as_dir="$ac_dir"
53914 case $as_dir in #(
53915 -*) as_dir=./$as_dir;;
53916 esac
53917 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53918 as_dirs=
53919 while :; do
53920 case $as_dir in #(
53921 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53922 *) as_qdir=$as_dir;;
53923 esac
53924 as_dirs="'$as_qdir' $as_dirs"
53925 as_dir=`$as_dirname -- "$as_dir" ||
53926 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53927 X"$as_dir" : 'X\(//\)[^/]' \| \
53928 X"$as_dir" : 'X\(//\)$' \| \
53929 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53930 echo X"$as_dir" |
53931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53932 s//\1/
53933 q
53934 }
53935 /^X\(\/\/\)[^/].*/{
53936 s//\1/
53937 q
53938 }
53939 /^X\(\/\/\)$/{
53940 s//\1/
53941 q
53942 }
53943 /^X\(\/\).*/{
53944 s//\1/
53945 q
53946 }
53947 s/.*/./; q'`
53948 test -d "$as_dir" && break
53949 done
53950 test -z "$as_dirs" || eval "mkdir $as_dirs"
53951 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53952 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53953 { (exit 1); exit 1; }; }; }
53954 ac_builddir=.
53955
53956 case "$ac_dir" in
53957 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53958 *)
53959 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53960 # A ".." for each directory in $ac_dir_suffix.
53961 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53962 case $ac_top_builddir_sub in
53963 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53964 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53965 esac ;;
53966 esac
53967 ac_abs_top_builddir=$ac_pwd
53968 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53969 # for backward compatibility:
53970 ac_top_builddir=$ac_top_build_prefix
53971
53972 case $srcdir in
53973 .) # We are building in place.
53974 ac_srcdir=.
53975 ac_top_srcdir=$ac_top_builddir_sub
53976 ac_abs_top_srcdir=$ac_pwd ;;
53977 [\\/]* | ?:[\\/]* ) # Absolute name.
53978 ac_srcdir=$srcdir$ac_dir_suffix;
53979 ac_top_srcdir=$srcdir
53980 ac_abs_top_srcdir=$srcdir ;;
53981 *) # Relative name.
53982 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53983 ac_top_srcdir=$ac_top_build_prefix$srcdir
53984 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53985 esac
53986 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53987
53988
53989 case $ac_mode in
53990 :F)
53991 #
53992 # CONFIG_FILE
53993 #
53994
53995 case $INSTALL in
53996 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53997 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53998 esac
53999 _ACEOF
54000
54001 cat >>$CONFIG_STATUS <<\_ACEOF
54002 # If the template does not know about datarootdir, expand it.
54003 # FIXME: This hack should be removed a few years after 2.60.
54004 ac_datarootdir_hack=; ac_datarootdir_seen=
54005
54006 case `sed -n '/datarootdir/ {
54007 p
54008 q
54009 }
54010 /@datadir@/p
54011 /@docdir@/p
54012 /@infodir@/p
54013 /@localedir@/p
54014 /@mandir@/p
54015 ' $ac_file_inputs` in
54016 *datarootdir*) ac_datarootdir_seen=yes;;
54017 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54018 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54019 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54020 _ACEOF
54021 cat >>$CONFIG_STATUS <<_ACEOF
54022 ac_datarootdir_hack='
54023 s&@datadir@&$datadir&g
54024 s&@docdir@&$docdir&g
54025 s&@infodir@&$infodir&g
54026 s&@localedir@&$localedir&g
54027 s&@mandir@&$mandir&g
54028 s&\\\${datarootdir}&$datarootdir&g' ;;
54029 esac
54030 _ACEOF
54031
54032 # Neutralize VPATH when `$srcdir' = `.'.
54033 # Shell code in configure.ac might set extrasub.
54034 # FIXME: do we really want to maintain this feature?
54035 cat >>$CONFIG_STATUS <<_ACEOF
54036 sed "$ac_vpsub
54037 $extrasub
54038 _ACEOF
54039 cat >>$CONFIG_STATUS <<\_ACEOF
54040 :t
54041 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54042 s&@configure_input@&$configure_input&;t t
54043 s&@top_builddir@&$ac_top_builddir_sub&;t t
54044 s&@srcdir@&$ac_srcdir&;t t
54045 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54046 s&@top_srcdir@&$ac_top_srcdir&;t t
54047 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54048 s&@builddir@&$ac_builddir&;t t
54049 s&@abs_builddir@&$ac_abs_builddir&;t t
54050 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54051 s&@INSTALL@&$ac_INSTALL&;t t
54052 $ac_datarootdir_hack
54053 " $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
54054
54055 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54056 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54057 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54058 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54059 which seems to be undefined. Please make sure it is defined." >&5
54060 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54061 which seems to be undefined. Please make sure it is defined." >&2;}
54062
54063 rm -f "$tmp/stdin"
54064 case $ac_file in
54065 -) cat "$tmp/out"; rm -f "$tmp/out";;
54066 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54067 esac
54068 ;;
54069 :H)
54070 #
54071 # CONFIG_HEADER
54072 #
54073 _ACEOF
54074
54075 # Transform confdefs.h into a sed script `conftest.defines', that
54076 # substitutes the proper values into config.h.in to produce config.h.
54077 rm -f conftest.defines conftest.tail
54078 # First, append a space to every undef/define line, to ease matching.
54079 echo 's/$/ /' >conftest.defines
54080 # Then, protect against being on the right side of a sed subst, or in
54081 # an unquoted here document, in config.status. If some macros were
54082 # called several times there might be several #defines for the same
54083 # symbol, which is useless. But do not sort them, since the last
54084 # AC_DEFINE must be honored.
54085 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54086 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54087 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54088 # PARAMS is the parameter list in the macro definition--in most cases, it's
54089 # just an empty string.
54090 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54091 ac_dB='\\)[ (].*,\\1define\\2'
54092 ac_dC=' '
54093 ac_dD=' ,'
54094
54095 uniq confdefs.h |
54096 sed -n '
54097 t rset
54098 :rset
54099 s/^[ ]*#[ ]*define[ ][ ]*//
54100 t ok
54101 d
54102 :ok
54103 s/[\\&,]/\\&/g
54104 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54105 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54106 ' >>conftest.defines
54107
54108 # Remove the space that was appended to ease matching.
54109 # Then replace #undef with comments. This is necessary, for
54110 # example, in the case of _POSIX_SOURCE, which is predefined and required
54111 # on some systems where configure will not decide to define it.
54112 # (The regexp can be short, since the line contains either #define or #undef.)
54113 echo 's/ $//
54114 s,^[ #]*u.*,/* & */,' >>conftest.defines
54115
54116 # Break up conftest.defines:
54117 ac_max_sed_lines=50
54118
54119 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54120 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54121 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54122 # et cetera.
54123 ac_in='$ac_file_inputs'
54124 ac_out='"$tmp/out1"'
54125 ac_nxt='"$tmp/out2"'
54126
54127 while :
54128 do
54129 # Write a here document:
54130 cat >>$CONFIG_STATUS <<_ACEOF
54131 # First, check the format of the line:
54132 cat >"\$tmp/defines.sed" <<\\CEOF
54133 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54134 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54135 b
54136 :def
54137 _ACEOF
54138 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54139 echo 'CEOF
54140 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54141 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54142 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54143 grep . conftest.tail >/dev/null || break
54144 rm -f conftest.defines
54145 mv conftest.tail conftest.defines
54146 done
54147 rm -f conftest.defines conftest.tail
54148
54149 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54150 cat >>$CONFIG_STATUS <<\_ACEOF
54151 if test x"$ac_file" != x-; then
54152 echo "/* $configure_input */" >"$tmp/config.h"
54153 cat "$ac_result" >>"$tmp/config.h"
54154 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54155 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54156 echo "$as_me: $ac_file is unchanged" >&6;}
54157 else
54158 rm -f $ac_file
54159 mv "$tmp/config.h" $ac_file
54160 fi
54161 else
54162 echo "/* $configure_input */"
54163 cat "$ac_result"
54164 fi
54165 rm -f "$tmp/out12"
54166 ;;
54167
54168 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54169 echo "$as_me: executing $ac_file commands" >&6;}
54170 ;;
54171 esac
54172
54173
54174 case $ac_file$ac_mode in
54175 "rcdefs.h":C)
54176 mkdir -p $outdir &&
54177 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54178 ;;
54179 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54180 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54181 "wx-config":C) rm -f wx-config
54182 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54183 ;;
54184
54185 esac
54186 done # for ac_tag
54187
54188
54189 { (exit 0); exit 0; }
54190 _ACEOF
54191 chmod +x $CONFIG_STATUS
54192 ac_clean_files=$ac_clean_files_save
54193
54194
54195 # configure is writing to config.log, and then calls config.status.
54196 # config.status does its own redirection, appending to config.log.
54197 # Unfortunately, on DOS this fails, as config.log is still kept open
54198 # by configure, so config.status won't be able to write to it; its
54199 # output is simply discarded. So we exec the FD to /dev/null,
54200 # effectively closing config.log, so it can be properly (re)opened and
54201 # appended to by config.status. When coming back to configure, we
54202 # need to make the FD available again.
54203 if test "$no_create" != yes; then
54204 ac_cs_success=:
54205 ac_config_status_args=
54206 test "$silent" = yes &&
54207 ac_config_status_args="$ac_config_status_args --quiet"
54208 exec 5>/dev/null
54209 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54210 exec 5>>config.log
54211 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54212 # would make configure fail if this is the last instruction.
54213 $ac_cs_success || { (exit 1); exit 1; }
54214 fi
54215
54216 #
54217 # CONFIG_SUBDIRS section.
54218 #
54219 if test "$no_recursion" != yes; then
54220
54221 # Remove --cache-file and --srcdir arguments so they do not pile up.
54222 ac_sub_configure_args=
54223 ac_prev=
54224 eval "set x $ac_configure_args"
54225 shift
54226 for ac_arg
54227 do
54228 if test -n "$ac_prev"; then
54229 ac_prev=
54230 continue
54231 fi
54232 case $ac_arg in
54233 -cache-file | --cache-file | --cache-fil | --cache-fi \
54234 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54235 ac_prev=cache_file ;;
54236 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54237 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54238 | --c=*)
54239 ;;
54240 --config-cache | -C)
54241 ;;
54242 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54243 ac_prev=srcdir ;;
54244 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54245 ;;
54246 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54247 ac_prev=prefix ;;
54248 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54249 ;;
54250 *)
54251 case $ac_arg in
54252 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54253 esac
54254 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54255 esac
54256 done
54257
54258 # Always prepend --prefix to ensure using the same prefix
54259 # in subdir configurations.
54260 ac_arg="--prefix=$prefix"
54261 case $ac_arg in
54262 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54263 esac
54264 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54265
54266 # Pass --silent
54267 if test "$silent" = yes; then
54268 ac_sub_configure_args="--silent $ac_sub_configure_args"
54269 fi
54270
54271 ac_popdir=`pwd`
54272 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54273
54274 # Do not complain, so a configure script can configure whichever
54275 # parts of a large source tree are present.
54276 test -d "$srcdir/$ac_dir" || continue
54277
54278 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54279 echo "$as_me:$LINENO: $ac_msg" >&5
54280 echo "$ac_msg" >&6
54281 { as_dir="$ac_dir"
54282 case $as_dir in #(
54283 -*) as_dir=./$as_dir;;
54284 esac
54285 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54286 as_dirs=
54287 while :; do
54288 case $as_dir in #(
54289 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54290 *) as_qdir=$as_dir;;
54291 esac
54292 as_dirs="'$as_qdir' $as_dirs"
54293 as_dir=`$as_dirname -- "$as_dir" ||
54294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54295 X"$as_dir" : 'X\(//\)[^/]' \| \
54296 X"$as_dir" : 'X\(//\)$' \| \
54297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54298 echo X"$as_dir" |
54299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54300 s//\1/
54301 q
54302 }
54303 /^X\(\/\/\)[^/].*/{
54304 s//\1/
54305 q
54306 }
54307 /^X\(\/\/\)$/{
54308 s//\1/
54309 q
54310 }
54311 /^X\(\/\).*/{
54312 s//\1/
54313 q
54314 }
54315 s/.*/./; q'`
54316 test -d "$as_dir" && break
54317 done
54318 test -z "$as_dirs" || eval "mkdir $as_dirs"
54319 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54320 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54321 { (exit 1); exit 1; }; }; }
54322 ac_builddir=.
54323
54324 case "$ac_dir" in
54325 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54326 *)
54327 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54328 # A ".." for each directory in $ac_dir_suffix.
54329 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54330 case $ac_top_builddir_sub in
54331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54333 esac ;;
54334 esac
54335 ac_abs_top_builddir=$ac_pwd
54336 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54337 # for backward compatibility:
54338 ac_top_builddir=$ac_top_build_prefix
54339
54340 case $srcdir in
54341 .) # We are building in place.
54342 ac_srcdir=.
54343 ac_top_srcdir=$ac_top_builddir_sub
54344 ac_abs_top_srcdir=$ac_pwd ;;
54345 [\\/]* | ?:[\\/]* ) # Absolute name.
54346 ac_srcdir=$srcdir$ac_dir_suffix;
54347 ac_top_srcdir=$srcdir
54348 ac_abs_top_srcdir=$srcdir ;;
54349 *) # Relative name.
54350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54351 ac_top_srcdir=$ac_top_build_prefix$srcdir
54352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54353 esac
54354 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54355
54356
54357 cd "$ac_dir"
54358
54359 # Check for guested configure; otherwise get Cygnus style configure.
54360 if test -f "$ac_srcdir/configure.gnu"; then
54361 ac_sub_configure=$ac_srcdir/configure.gnu
54362 elif test -f "$ac_srcdir/configure"; then
54363 ac_sub_configure=$ac_srcdir/configure
54364 elif test -f "$ac_srcdir/configure.in"; then
54365 # This should be Cygnus configure.
54366 ac_sub_configure=$ac_aux_dir/configure
54367 else
54368 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54369 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54370 ac_sub_configure=
54371 fi
54372
54373 # The recursion is here.
54374 if test -n "$ac_sub_configure"; then
54375 # Make the cache file name correct relative to the subdirectory.
54376 case $cache_file in
54377 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54378 *) # Relative name.
54379 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54380 esac
54381
54382 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54383 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54384 # The eval makes quoting arguments work.
54385 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54386 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54387 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54388 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54389 { (exit 1); exit 1; }; }
54390 fi
54391
54392 cd "$ac_popdir"
54393 done
54394 fi
54395
54396
54397 echo
54398 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54399 echo ""
54400 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54401 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54402
54403 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54404 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54405 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54406 if test "$wxUSE_UNICODE" = "yes"; then
54407 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54408 echo " (using UTF-8)"
54409 else
54410 echo " (using wchar_t)"
54411 fi
54412 else
54413 echo
54414 fi
54415
54416 echo " What level of wxWidgets compatibility should be enabled?"
54417 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54418 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54419
54420 echo " Which libraries should wxWidgets use?"
54421 echo " jpeg ${wxUSE_LIBJPEG-none}"
54422 echo " png ${wxUSE_LIBPNG-none}"
54423 echo " regex ${wxUSE_REGEX}"
54424 echo " tiff ${wxUSE_LIBTIFF-none}"
54425 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54426 echo " xpm ${wxUSE_LIBXPM-none}"
54427 fi
54428 echo " zlib ${wxUSE_ZLIB}"
54429 echo " odbc ${wxUSE_ODBC}"
54430 echo " expat ${wxUSE_EXPAT}"
54431 echo " libmspack ${wxUSE_LIBMSPACK}"
54432 echo " sdl ${wxUSE_LIBSDL}"
54433
54434 echo ""
54435