]> git.saurik.com Git - wxWidgets.git/blob - configure
added wxUSE_REARRANGECTRL
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 57865 2009-01-06 22:28:16Z 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 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 CAIRO_CFLAGS
713 CAIRO_LIBS
714 GST_CFLAGS
715 GST_LIBS
716 ALL_WX_LIBS
717 BUILT_WX_LIBS
718 STD_BASE_LIBS
719 STD_GUI_LIBS
720 wxUSE_ZLIB
721 wxUSE_REGEX
722 wxUSE_EXPAT
723 wxUSE_LIBJPEG
724 wxUSE_LIBPNG
725 wxUSE_LIBTIFF
726 VENDOR
727 OFFICIAL_BUILD
728 WX_FLAVOUR
729 WX_LIB_FLAVOUR
730 WXUNIV
731 MONOLITHIC
732 USE_PLUGINS
733 CXXWARNINGS
734 EXTRALIBS
735 EXTRALIBS_XML
736 EXTRALIBS_HTML
737 EXTRALIBS_MEDIA
738 EXTRALIBS_GUI
739 EXTRALIBS_OPENGL
740 EXTRALIBS_SDL
741 EXTRALIBS_STC
742 WITH_PLUGIN_SDL
743 EXTRALIBS_GTKPRINT
744 EXTRALIBS_GNOMEPRINT
745 EXTRALIBS_GNOMEVFS
746 EXTRALIBS_HILDON
747 UNICODE
748 BUILD
749 DEBUG_INFO
750 DEBUG_FLAG
751 TOOLKIT_LOWERCASE
752 TOOLKIT_VERSION
753 SAMPLES_RPATH_FLAG
754 SAMPLES_RPATH_POSTLINK
755 HEADER_PAD_OPTION
756 HOST_SUFFIX
757 CPPUNIT_CFLAGS
758 CPPUNIT_LIBS
759 RANLIB
760 INSTALL_PROGRAM
761 INSTALL_SCRIPT
762 INSTALL_DATA
763 LN_S
764 SET_MAKE
765 MAKE_SET
766 AROPTIONS
767 STRIP
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 IF_GNU_MAKE
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 WINDRES
805 REZ
806 SETFILE
807 OBJCXXFLAGS
808 GCC_PCH
809 ICC_PCH
810 ICC_PCH_CREATE_SWITCH
811 ICC_PCH_USE_SWITCH
812 BK_MAKE_PCH
813 COND_BUILD_DEBUG
814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
816 COND_BUILD_DEBUG_UNICODE_0
817 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE
819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
820 COND_BUILD_RELEASE_UNICODE_0
821 COND_BUILD_RELEASE_UNICODE_1
822 COND_BUILD_debug
823 COND_BUILD_debug_DEBUG_FLAG_default
824 COND_BUILD_debug_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_0
826 COND_BUILD_debug_UNICODE_1
827 COND_BUILD_release
828 COND_BUILD_release_DEBUG_INFO_default
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_UNICODE_1
831 COND_DEBUG_FLAG_1
832 COND_DEBUG_INFO_0
833 COND_DEBUG_INFO_1
834 COND_DEPS_TRACKING_0
835 COND_DEPS_TRACKING_1
836 COND_GCC_PCH_1
837 COND_ICC_PCH_1
838 COND_MONOLITHIC_0
839 COND_MONOLITHIC_0_SHARED_0
840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
849 COND_MONOLITHIC_0_SHARED_1
850 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
859 COND_MONOLITHIC_0_USE_AUI_1
860 COND_MONOLITHIC_0_USE_GUI_1
861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_USE_HTML_1
863 COND_MONOLITHIC_0_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_PROPGRID_1
865 COND_MONOLITHIC_0_USE_QA_1
866 COND_MONOLITHIC_0_USE_RICHTEXT_1
867 COND_MONOLITHIC_0_USE_STC_1
868 COND_MONOLITHIC_0_USE_XRC_1
869 COND_MONOLITHIC_1
870 COND_MONOLITHIC_1_SHARED_0
871 COND_MONOLITHIC_1_SHARED_1
872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_1
877 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
885 COND_PLATFORM_MACOS_1
886 COND_PLATFORM_MAC_0
887 COND_PLATFORM_MAC_1
888 COND_PLATFORM_MSDOS_0
889 COND_PLATFORM_MSDOS_1
890 COND_PLATFORM_OS2_1
891 COND_PLATFORM_UNIX_0
892 COND_PLATFORM_UNIX_1
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
897 COND_PLATFORM_WIN32_0
898 COND_PLATFORM_WIN32_1
899 COND_SHARED_0
900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
907 COND_SHARED_0_USE_STC_1
908 COND_SHARED_0_wxUSE_EXPAT_builtin
909 COND_SHARED_0_wxUSE_REGEX_builtin
910 COND_SHARED_0_wxUSE_ZLIB_builtin
911 COND_SHARED_1
912 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
913 COND_TOOLKIT_
914 COND_TOOLKIT_COCOA
915 COND_TOOLKIT_COCOA_USE_GUI_1
916 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_DFB
918 COND_TOOLKIT_DFB_USE_GUI_1
919 COND_TOOLKIT_GTK
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_USE_GUI_1
927 COND_TOOLKIT_MAC
928 COND_TOOLKIT_MGL
929 COND_TOOLKIT_MGL_USE_GUI_1
930 COND_TOOLKIT_MOTIF
931 COND_TOOLKIT_MOTIF_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW
934 COND_TOOLKIT_MSW_USE_GUI_1
935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW_WXUNIV_0
937 COND_TOOLKIT_OSX_CARBON
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_OSX_COCOA
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_IPHONE
944 COND_TOOLKIT_PM
945 COND_TOOLKIT_PM_USE_GUI_1
946 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_WINCE
948 COND_TOOLKIT_WINCE_USE_GUI_1
949 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE_WXUNIV_0
951 COND_TOOLKIT_X11
952 COND_TOOLKIT_X11_USE_GUI_1
953 COND_UNICODE_1
954 COND_USE_EXCEPTIONS_0
955 COND_USE_EXCEPTIONS_1
956 COND_USE_GUI_0
957 COND_USE_GUI_1
958 COND_USE_GUI_1_USE_OPENGL_1
959 COND_USE_GUI_1_WXUNIV_0
960 COND_USE_GUI_1_WXUNIV_1
961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
964 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
965 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
966 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
967 COND_USE_OPENGL_1
968 COND_USE_PCH_1
969 COND_USE_PLUGINS_0
970 COND_USE_RTTI_0
971 COND_USE_RTTI_1
972 COND_USE_SOSYMLINKS_1
973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
974 COND_USE_SOVERLINUX_1
975 COND_USE_SOVERSION_0
976 COND_USE_SOVERSOLARIS_1
977 COND_USE_STC_1
978 COND_USE_THREADS_0
979 COND_USE_THREADS_1
980 COND_USE_XRC_1
981 COND_WINDOWS_IMPLIB_1
982 COND_WITH_PLUGIN_SDL_1
983 COND_WXUNIV_0
984 COND_WXUNIV_1
985 COND_WXUSE_EXPAT_BUILTIN
986 COND_WXUSE_LIBJPEG_BUILTIN
987 COND_WXUSE_LIBPNG_BUILTIN
988 COND_WXUSE_LIBTIFF_BUILTIN
989 COND_WXUSE_REGEX_BUILTIN
990 COND_WXUSE_ZLIB_BUILTIN
991 COND_wxUSE_EXPAT_builtin
992 COND_wxUSE_LIBJPEG_builtin
993 COND_wxUSE_LIBPNG_builtin
994 COND_wxUSE_LIBTIFF_builtin
995 COND_wxUSE_REGEX_builtin
996 COND_wxUSE_ZLIB_builtin
997 DEREZ
998 SHARED
999 WX_LIBRARY_BASENAME_NOGUI
1000 WX_LIBRARY_BASENAME_GUI
1001 USE_GUI
1002 AFMINSTALL
1003 WIN32INSTALL
1004 TOOLKIT
1005 TOOLKIT_DIR
1006 TOOLCHAIN_NAME
1007 TOOLCHAIN_FULLNAME
1008 cross_compiling
1009 WIDGET_SET
1010 WX_RELEASE
1011 WX_VERSION
1012 WX_SUBVERSION
1013 WX_CHARTYPE
1014 WX_DEBUGTYPE
1015 WXCONFIG_CPPFLAGS
1016 WXCONFIG_CFLAGS
1017 WXCONFIG_CXXFLAGS
1018 WXCONFIG_LIBS
1019 WXCONFIG_RPATH
1020 WXCONFIG_LDFLAGS_GUI
1021 WXCONFIG_RESFLAGS
1022 GUIDIST
1023 DISTDIR
1024 SAMPLES_SUBDIRS
1025 LDFLAGS_GL
1026 OPENGL_LIBS
1027 DMALLOC_LIBS
1028 WX_VERSION_TAG
1029 RESCOMP
1030 RESFLAGS
1031 RESPROGRAMOBJ
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1034 LIBWXMACRES
1035 POSTLINK_COMMAND
1036 MACSETFILE
1037 GCC
1038 DLLTOOL
1039 CPPUNIT_CONFIG
1040 LIBOBJS
1041 LTLIBOBJS'
1042 ac_subst_files=''
1043 ac_precious_vars='build_alias
1044 host_alias
1045 target_alias
1046 CC
1047 CFLAGS
1048 LDFLAGS
1049 LIBS
1050 CPPFLAGS
1051 CPP
1052 CXX
1053 CXXFLAGS
1054 CCC
1055 PKG_CONFIG
1056 DIRECTFB_CFLAGS
1057 DIRECTFB_LIBS
1058 XMKMF
1059 PANGOX_CFLAGS
1060 PANGOX_LIBS
1061 PANGOFT2_CFLAGS
1062 PANGOFT2_LIBS
1063 PANGOXFT_CFLAGS
1064 PANGOXFT_LIBS
1065 GTKPRINT_CFLAGS
1066 GTKPRINT_LIBS
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1069 GNOMEVFS_CFLAGS
1070 GNOMEVFS_LIBS
1071 HILDON_CFLAGS
1072 HILDON_LIBS
1073 CAIRO_CFLAGS
1074 CAIRO_LIBS
1075 GST_CFLAGS
1076 GST_LIBS'
1077 ac_subdirs_all='src/tiff
1078 src/expat'
1079
1080 # Initialize some variables set by options.
1081 ac_init_help=
1082 ac_init_version=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file=/dev/null
1086 exec_prefix=NONE
1087 no_create=
1088 no_recursion=
1089 prefix=NONE
1090 program_prefix=NONE
1091 program_suffix=NONE
1092 program_transform_name=s,x,x,
1093 silent=
1094 site=
1095 srcdir=
1096 verbose=
1097 x_includes=NONE
1098 x_libraries=NONE
1099
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir='${exec_prefix}/bin'
1107 sbindir='${exec_prefix}/sbin'
1108 libexecdir='${exec_prefix}/libexec'
1109 datarootdir='${prefix}/share'
1110 datadir='${datarootdir}'
1111 sysconfdir='${prefix}/etc'
1112 sharedstatedir='${prefix}/com'
1113 localstatedir='${prefix}/var'
1114 includedir='${prefix}/include'
1115 oldincludedir='/usr/include'
1116 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir='${datarootdir}/info'
1118 htmldir='${docdir}'
1119 dvidir='${docdir}'
1120 pdfdir='${docdir}'
1121 psdir='${docdir}'
1122 libdir='${exec_prefix}/lib'
1123 localedir='${datarootdir}/locale'
1124 mandir='${datarootdir}/man'
1125
1126 ac_prev=
1127 ac_dashdash=
1128 for ac_option
1129 do
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\$ac_option
1133 ac_prev=
1134 continue
1135 fi
1136
1137 case $ac_option in
1138 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1139 *) ac_optarg=yes ;;
1140 esac
1141
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1143
1144 case $ac_dashdash$ac_option in
1145 --)
1146 ac_dashdash=yes ;;
1147
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1149 ac_prev=bindir ;;
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir=$ac_optarg ;;
1152
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev=build_alias ;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias=$ac_optarg ;;
1157
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev=cache_file ;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file=$ac_optarg ;;
1164
1165 --config-cache | -C)
1166 cache_file=config.cache ;;
1167
1168 -datadir | --datadir | --datadi | --datad)
1169 ac_prev=datadir ;;
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir=$ac_optarg ;;
1172
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev=datarootdir ;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir=$ac_optarg ;;
1179
1180 -disable-* | --disable-*)
1181 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_$ac_feature=no ;;
1188
1189 -docdir | --docdir | --docdi | --doc | --do)
1190 ac_prev=docdir ;;
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir=$ac_optarg ;;
1193
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1195 ac_prev=dvidir ;;
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir=$ac_optarg ;;
1198
1199 -enable-* | --enable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=\$ac_optarg ;;
1207
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev=exec_prefix ;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix=$ac_optarg ;;
1216
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1219 with_gas=yes ;;
1220
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help=long ;;
1223 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1224 ac_init_help=recursive ;;
1225 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1226 ac_init_help=short ;;
1227
1228 -host | --host | --hos | --ho)
1229 ac_prev=host_alias ;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias=$ac_optarg ;;
1232
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1234 ac_prev=htmldir ;;
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1236 | --ht=*)
1237 htmldir=$ac_optarg ;;
1238
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev=includedir ;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir=$ac_optarg ;;
1245
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1247 ac_prev=infodir ;;
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir=$ac_optarg ;;
1250
1251 -libdir | --libdir | --libdi | --libd)
1252 ac_prev=libdir ;;
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir=$ac_optarg ;;
1255
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev=libexecdir ;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir=$ac_optarg ;;
1262
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev=localedir ;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir=$ac_optarg ;;
1267
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev=localstatedir ;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir=$ac_optarg ;;
1274
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1276 ac_prev=mandir ;;
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir=$ac_optarg ;;
1279
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1282 with_fp=no ;;
1283
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1286 no_create=yes ;;
1287
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1290 no_recursion=yes ;;
1291
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev=oldincludedir ;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir=$ac_optarg ;;
1300
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1302 ac_prev=prefix ;;
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix=$ac_optarg ;;
1305
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev=program_prefix ;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix=$ac_optarg ;;
1312
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev=program_suffix ;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix=$ac_optarg ;;
1319
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev=program_transform_name ;;
1328 -program-transform-name=* | --program-transform-name=* \
1329 | --program-transform-nam=* | --program-transform-na=* \
1330 | --program-transform-n=* | --program-transform-=* \
1331 | --program-transform=* | --program-transfor=* \
1332 | --program-transfo=* | --program-transf=* \
1333 | --program-trans=* | --program-tran=* \
1334 | --progr-tra=* | --program-tr=* | --program-t=*)
1335 program_transform_name=$ac_optarg ;;
1336
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1338 ac_prev=pdfdir ;;
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir=$ac_optarg ;;
1341
1342 -psdir | --psdir | --psdi | --psd | --ps)
1343 ac_prev=psdir ;;
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1345 psdir=$ac_optarg ;;
1346
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1349 silent=yes ;;
1350
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1352 ac_prev=sbindir ;;
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1354 | --sbi=* | --sb=*)
1355 sbindir=$ac_optarg ;;
1356
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1360 | --sha | --sh)
1361 ac_prev=sharedstatedir ;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1365 | --sha=* | --sh=*)
1366 sharedstatedir=$ac_optarg ;;
1367
1368 -site | --site | --sit)
1369 ac_prev=site ;;
1370 -site=* | --site=* | --sit=*)
1371 site=$ac_optarg ;;
1372
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1374 ac_prev=srcdir ;;
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir=$ac_optarg ;;
1377
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev=sysconfdir ;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir=$ac_optarg ;;
1384
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev=target_alias ;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias=$ac_optarg ;;
1389
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1391 verbose=yes ;;
1392
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version=: ;;
1395
1396 -with-* | --with-*)
1397 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_$ac_package=\$ac_optarg ;;
1404
1405 -without-* | --without-*)
1406 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_$ac_package=no ;;
1413
1414 --x)
1415 # Obsolete; use --with-x.
1416 with_x=yes ;;
1417
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev=x_includes ;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes=$ac_optarg ;;
1424
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev=x_libraries ;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries=$ac_optarg ;;
1431
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1435 ;;
1436
1437 *=*)
1438 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\$ac_optarg
1444 export $ac_envvar ;;
1445
1446 *)
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1452 ;;
1453
1454 esac
1455 done
1456
1457 if test -n "$ac_prev"; then
1458 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1461 fi
1462
1463 # Be sure to have absolute directory names.
1464 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1468 do
1469 eval ac_val=\$$ac_var
1470 case $ac_val in
1471 [\\/$]* | ?:[\\/]* ) continue;;
1472 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1473 esac
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1476 done
1477
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1481 build=$build_alias
1482 host=$host_alias
1483 target=$target_alias
1484
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x; then
1487 if test "x$build_alias" = x; then
1488 cross_compiling=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1492 cross_compiling=yes
1493 fi
1494 fi
1495
1496 ac_tool_prefix=
1497 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1498
1499 test "$silent" = yes && exec 6>/dev/null
1500
1501
1502 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di=`ls -di .` &&
1504 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1510
1511
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1521 echo X"$0" |
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1523 s//\1/
1524 q
1525 }
1526 /^X\(\/\/\)[^/].*/{
1527 s//\1/
1528 q
1529 }
1530 /^X\(\/\/\)$/{
1531 s//\1/
1532 q
1533 }
1534 /^X\(\/\).*/{
1535 s//\1/
1536 q
1537 }
1538 s/.*/./; q'`
1539 srcdir=$ac_confdir
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1541 srcdir=..
1542 fi
1543 else
1544 ac_srcdir_defaulted=no
1545 fi
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1550 fi
1551 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1552 ac_abs_confdir=`(
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1555 pwd)`
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1558 srcdir=.
1559 fi
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1563 case $srcdir in
1564 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1565 esac
1566 for ac_var in $ac_precious_vars; do
1567 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1568 eval ac_env_${ac_var}_value=\$${ac_var}
1569 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1570 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1571 done
1572
1573 #
1574 # Report the --help message.
1575 #
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1579 cat <<_ACEOF
1580 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1581
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1583
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1586
1587 Defaults for the options are specified in brackets.
1588
1589 Configuration:
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1599
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1604 [PREFIX]
1605
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1610
1611 For better control, use the options below.
1612
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1633 _ACEOF
1634
1635 cat <<\_ACEOF
1636
1637 X features:
1638 --x-includes=DIR X include files are in DIR
1639 --x-libraries=DIR X library files are in DIR
1640
1641 System types:
1642 --build=BUILD configure for building on BUILD [guessed]
1643 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1644 _ACEOF
1645 fi
1646
1647 if test -n "$ac_init_help"; then
1648 case $ac_init_help in
1649 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1650 esac
1651 cat <<\_ACEOF
1652
1653 Optional Features:
1654 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1655 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1656 --disable-gui don't build GUI parts of the library
1657 --enable-monolithic build wxWidgets as single library
1658 --enable-plugins build parts of wxWidgets as loadable components
1659 --enable-official_build official build of wxWidgets (win32 DLL only)
1660 --enable-vendor=VENDOR vendor name (win32 DLL only)
1661 --disable-all-features disable all optional features to build minimal library
1662 --enable-universal use wxWidgets GUI controls instead of native ones
1663 --enable-nanox use NanoX
1664 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1665 --enable-gpe use GNOME PDA Environment features if possible
1666 --disable-shared create static library instead of shared
1667 --enable-debug same as debug_flag and debug_info
1668 --enable-stl use STL for containers
1669 --enable-std_iostreams use standard C++ stream classes
1670 --enable-std_string use standard C++ string classes
1671 --disable-unicode compile without Unicode support
1672 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1673 --enable-utf8 use UTF-8 representation for strings (Unix only)
1674 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1675 --enable-extended_rtti use extended RTTI (XTI)
1676 --enable-omf use OMF object format
1677 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1678 --enable-debug_info create code with debugging information
1679 --disable-optimise compile without optimisations
1680 --enable-debug_gdb create code with extra GDB debugging information
1681 --enable-debug_cntxt use wxDebugContext
1682 --enable-mem_tracing create code with memory tracing
1683 --enable-profile create code with profiling information
1684 --enable-no_rtti create code without RTTI information
1685 --enable-no_exceptions create code without C++ exceptions handling
1686 --enable-permissive compile code disregarding strict ANSI
1687 --enable-no_deps create code without dependency information
1688 --disable-vararg_macros don't use vararg macros, even if they are supported
1689 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1690 --enable-compat26 enable wxWidgets 2.6 compatibility
1691 --disable-compat28 disable wxWidgets 2.8 compatibility
1692 --disable-rpath disable use of rpath for uninstalled builds
1693 --enable-objc_uniquifying enable Objective-C class name uniquifying
1694 --disable-visibility disable use of ELF symbols visibility even if supported
1695 --enable-intl use internationalization system
1696 --enable-xlocale use x-locale support (requires wxLocale)
1697 --enable-config use wxConfig (and derived) classes
1698 --enable-protocols use wxProtocol and derived classes
1699 --enable-ftp use wxFTP (requires wxProtocol
1700 --enable-http use wxHTTP (requires wxProtocol
1701 --enable-fileproto use wxFileProto class (requires wxProtocol
1702 --enable-sockets use socket/network classes
1703 --enable-ipv6 enable IPv6 support in wxSocket
1704 --enable-ole use OLE classes (Win32 only)
1705 --enable-dataobj use data object classes
1706 --enable-ipc use interprocess communication (wxSocket etc.)
1707 --enable-baseevtloop use event loop in console programs too
1708 --enable-epollloop use wxEpollDispatcher class (Linux only)
1709 --enable-selectloop use wxSelectDispatcher class
1710 --enable-apple_ieee use the Apple IEEE codec
1711 --enable-arcstream use wxArchive streams
1712 --enable-base64 use base64 encoding/decoding functions
1713 --enable-backtrace use wxStackWalker class for getting backtraces
1714 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1715 --enable-cmdline use wxCmdLineParser class
1716 --enable-datetime use wxDateTime class
1717 --enable-debugreport use wxDebugReport class
1718 --enable-dialupman use dialup network classes
1719 --enable-dynlib use wxLibrary class for DLL loading
1720 --enable-dynamicloader use (new) wxDynamicLibrary class
1721 --enable-exceptions build exception-safe library
1722 --enable-ffile use wxFFile class
1723 --enable-file use wxFile class
1724 --enable-filesystem use virtual file systems classes
1725 --enable-fontenum use wxFontEnumerator class
1726 --enable-fontmap use font encodings conversion classes
1727 --enable-fs_archive use virtual archive filesystems
1728 --enable-fs_inet use virtual HTTP/FTP filesystems
1729 --enable-fs_zip now replaced by fs_archive
1730 --enable-geometry use geometry class
1731 --enable-log use logging system
1732 --enable-longlong use wxLongLong class
1733 --enable-mimetype use wxMimeTypesManager
1734 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1735 --enable-snglinst use wxSingleInstanceChecker class
1736 --enable-sound use wxSound class
1737 --enable-stdpaths use wxStandardPaths class
1738 --enable-stopwatch use wxStopWatch class
1739 --enable-streams use wxStream etc classes
1740 --enable-sysoptions use wxSystemOptions
1741 --enable-tarstream use wxTar streams
1742 --enable-textbuf use wxTextBuffer class
1743 --enable-textfile use wxTextFile class
1744 --enable-timer use wxTimer class
1745 --enable-variant use wxVariant class
1746 --enable-zipstream use wxZip streams
1747 --enable-url use wxURL class
1748 --enable-protocol use wxProtocol class
1749 --enable-protocol-http HTTP support in wxProtocol
1750 --enable-protocol-ftp FTP support in wxProtocol
1751 --enable-protocol-file FILE support in wxProtocol
1752 --enable-threads use threads
1753 --enable-iniconf use wxIniConfig (Win32 only)
1754 --enable-regkey use wxRegKey class (Win32 only)
1755 --enable-docview use document view architecture
1756 --enable-help use help subsystem
1757 --enable-mshtmlhelp use MS HTML Help (win32)
1758 --enable-html use wxHTML sub-library
1759 --enable-htmlhelp use wxHTML-based help
1760 --enable-xrc use XRC resources sub-library
1761 --enable-aui use AUI docking library
1762 --enable-propgrid use wxPropertyGrid library
1763 --enable-stc use wxStyledTextCtrl library
1764 --enable-constraints use layout-constraints system
1765 --enable-loggui use standard GUI logger
1766 --enable-logwin use wxLogWindow
1767 --enable-logdialog use wxLogDialog
1768 --enable-mdi use multiple document interface architecture
1769 --enable-mdidoc use docview architecture with MDI
1770 --enable-mediactrl use wxMediaCtrl class
1771 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1772 --enable-webkit use wxWebKitCtrl (Mac)
1773 --enable-richtext use wxRichTextCtrl
1774 --enable-graphics_ctx use graphics context 2D drawing API
1775 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1776 --enable-printarch use printing architecture
1777 --enable-svg use wxSVGFileDC device context
1778 --enable-clipboard use wxClipboard class
1779 --enable-dnd use Drag'n'Drop classes
1780 --enable-metafile use win32 metafiles
1781 --disable-controls disable compilation of all standard controls
1782 --enable-accel use accelerators
1783 --enable-animatectrl use wxAnimationCtrl class
1784 --enable-button use wxButton class
1785 --enable-bmpbutton use wxBitmapButton class
1786 --enable-bmpcombobox use wxBitmapComboBox class
1787 --enable-calendar use wxCalendarCtrl class
1788 --enable-caret use wxCaret class
1789 --enable-checkbox use wxCheckBox class
1790 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1791 --enable-choice use wxChoice class
1792 --enable-choicebook use wxChoicebook class
1793 --enable-collpane use wxCollapsiblePane class
1794 --enable-colourpicker use wxColourPickerCtrl class
1795 --enable-combobox use wxComboBox class
1796 --enable-comboctrl use wxComboCtrl class
1797 --enable-datepick use wxDatePickerCtrl class
1798 --enable-dirpicker use wxDirPickerCtrl class
1799 --enable-display use wxDisplay class
1800 --enable-detect_sm use code to detect X11 session manager
1801 --enable-editablebox use wxEditableListBox class
1802 --enable-filepicker use wxFilePickerCtrl class
1803 --enable-filectrl use wxFileCtrl class
1804 --enable-fontpicker use wxFontPickerCtrl class
1805 --enable-gauge use wxGauge class
1806 --enable-grid use wxGrid class
1807 --enable-dataviewctrl use wxDataViewCtrl class
1808 --enable-hyperlink use wxHyperlinkCtrl class
1809 --enable-imaglist use wxImageList class
1810 --enable-listbook use wxListbook class
1811 --enable-listbox use wxListBox class
1812 --enable-listctrl use wxListCtrl class
1813 --enable-notebook use wxNotebook class
1814 --enable-notifmsg use wxNotificationMessage class
1815 --enable-odcombobox use wxOwnerDrawnComboBox class
1816 --enable-radiobox use wxRadioBox class
1817 --enable-radiobtn use wxRadioButton class
1818 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1819 --enable-sash use wxSashWindow class
1820 --enable-scrollbar use wxScrollBar class and scrollable windows
1821 --enable-searchctrl use wxSearchCtrl class
1822 --enable-slider use wxSlider class
1823 --enable-spinbtn use wxSpinButton class
1824 --enable-spinctrl use wxSpinCtrl class
1825 --enable-splitter use wxSplitterWindow class
1826 --enable-statbmp use wxStaticBitmap class
1827 --enable-statbox use wxStaticBox class
1828 --enable-statline use wxStaticLine class
1829 --enable-stattext use wxStaticText class
1830 --enable-statusbar use wxStatusBar class
1831 --enable-taskbaricon use wxTaskBarIcon class
1832 --enable-textctrl use wxTextCtrl class
1833 --enable-togglebtn use wxToggleButton class
1834 --enable-toolbar use wxToolBar class
1835 --enable-tbarnative use native wxToolBar class
1836 --enable-treebook use wxTreebook class
1837 --enable-toolbook use wxToolbook class
1838 --enable-treectrl use wxTreeCtrl class
1839 --enable-tipwindow use wxTipWindow class
1840 --enable-popupwin use wxPopUpWindow class
1841 --enable-commondlg use all common dialogs
1842 --enable-aboutdlg use wxAboutBox
1843 --enable-choicedlg use wxChoiceDialog
1844 --enable-coldlg use wxColourDialog
1845 --enable-filedlg use wxFileDialog
1846 --enable-finddlg use wxFindReplaceDialog
1847 --enable-fontdlg use wxFontDialog
1848 --enable-dirdlg use wxDirDialog
1849 --enable-msgdlg use wxMessageDialog
1850 --enable-numberdlg use wxNumberEntryDialog
1851 --enable-splash use wxSplashScreen
1852 --enable-textdlg use wxTextDialog
1853 --enable-tipdlg use startup tips
1854 --enable-progressdlg use wxProgressDialog
1855 --enable-wizarddlg use wxWizard
1856 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1857 --enable-miniframe use wxMiniFrame class
1858 --enable-tooltips use wxToolTip class
1859 --enable-splines use spline drawing code
1860 --enable-mousewheel use mousewheel
1861 --enable-validators use wxValidator and derived classes
1862 --enable-busyinfo use wxBusyInfo
1863 --enable-joystick use wxJoystick
1864 --enable-metafiles use wxMetaFile (Win32 only)
1865 --enable-dragimage use wxDragImage
1866 --enable-accessibility enable accessibility support
1867 --enable-palette use wxPalette class
1868 --enable-image use wxImage class
1869 --enable-gif use gif images (GIF file format)
1870 --enable-pcx use pcx images (PCX file format)
1871 --enable-tga use tga images (TGA file format)
1872 --enable-iff use iff images (IFF file format)
1873 --enable-pnm use pnm images (PNM file format)
1874 --enable-xpm use xpm images (XPM file format)
1875 --enable-ico_cur use Windows ICO and CUR formats
1876 --enable-dccache cache temporary wxDC objects (Win32 only)
1877 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1878 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1879 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1880 --enable-wxdib use wxDIB class (Win32 only)
1881 --enable-autoidman use automatic ids management
1882 --disable-largefile omit support for large files
1883 --disable-gtktest do not try to compile and run a test GTK+ program
1884 --disable-gtktest Do not try to compile and run a test GTK program
1885 --disable-sdltest Do not try to compile and run a test SDL program
1886 --enable-omf use OMF object format (OS/2)
1887 --disable-dependency-tracking
1888 don't use dependency tracking even if the compiler
1889 can
1890 --disable-precomp-headers
1891 don't use precompiled headers even if compiler can
1892
1893 Optional Packages:
1894 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1895 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1896 --without-subdirs don't generate makefiles for samples/demos/...
1897 --with-flavour=NAME specify a name to identify this build
1898 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1899 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1900 --with-motif use Motif/Lesstif
1901 --with-osx_carbon use Mac OS X (Carbon)
1902 --with-osx_cocoa use Mac OS X (Cocoa)
1903 --with-mac use Mac OS X (Default)
1904 --with-cocoa use Cocoa
1905 --with-wine use Wine
1906 --with-msw use MS-Windows
1907 --with-pm use OS/2 Presentation Manager
1908 --with-mgl use SciTech MGL
1909 --with-directfb use DirectFB
1910 --with-microwin use MicroWindows
1911 --with-x11 use X11
1912 --with-libpng use libpng (PNG image format)
1913 --with-libjpeg use libjpeg (JPEG file format)
1914 --with-libtiff use libtiff (TIFF file format)
1915 --with-libxpm use libxpm (XPM file format)
1916 --with-libiconv use libiconv (character conversion)
1917 --with-libmspack use libmspack (CHM help files loading)
1918 --without-gtkprint don't use GTK printing support
1919 --without-gnomeprint don't use GNOME printing libraries
1920 --with-gnomevfs use GNOME VFS for associating MIME types
1921 --with-hildon use Hildon framework for Nokia 770
1922 --with-opengl use OpenGL (or Mesa)
1923 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1924 --with-sdl use SDL for audio on Unix
1925 --with-regex enable support for wxRegEx class
1926 --with-zlib use zlib for LZW compression
1927 --with-expat enable XML support using expat parser
1928 --with-macosx-sdk=PATH use an OS X SDK at PATH
1929 --with-macosx-version-min=VER build binaries which require at least this OS X version
1930 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1931 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1932 --with-x use the X Window System
1933 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1934 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1935 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1936 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1937 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1938
1939 Some influential environment variables:
1940 CC C compiler command
1941 CFLAGS C compiler flags
1942 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1943 nonstandard directory <lib dir>
1944 LIBS libraries to pass to the linker, e.g. -l<library>
1945 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1946 you have headers in a nonstandard directory <include dir>
1947 CPP C preprocessor
1948 CXX C++ compiler command
1949 CXXFLAGS C++ compiler flags
1950 PKG_CONFIG path to pkg-config utility
1951 DIRECTFB_CFLAGS
1952 C compiler flags for DIRECTFB, overriding pkg-config
1953 DIRECTFB_LIBS
1954 linker flags for DIRECTFB, overriding pkg-config
1955 XMKMF Path to xmkmf, Makefile generator for X Window System
1956 PANGOX_CFLAGS
1957 C compiler flags for PANGOX, overriding pkg-config
1958 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1959 PANGOFT2_CFLAGS
1960 C compiler flags for PANGOFT2, overriding pkg-config
1961 PANGOFT2_LIBS
1962 linker flags for PANGOFT2, overriding pkg-config
1963 PANGOXFT_CFLAGS
1964 C compiler flags for PANGOXFT, overriding pkg-config
1965 PANGOXFT_LIBS
1966 linker flags for PANGOXFT, overriding pkg-config
1967 GTKPRINT_CFLAGS
1968 C compiler flags for GTKPRINT, overriding pkg-config
1969 GTKPRINT_LIBS
1970 linker flags for GTKPRINT, overriding pkg-config
1971 LIBGNOMEPRINTUI_CFLAGS
1972 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1973 LIBGNOMEPRINTUI_LIBS
1974 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1975 GNOMEVFS_CFLAGS
1976 C compiler flags for GNOMEVFS, overriding pkg-config
1977 GNOMEVFS_LIBS
1978 linker flags for GNOMEVFS, overriding pkg-config
1979 HILDON_CFLAGS
1980 C compiler flags for HILDON, overriding pkg-config
1981 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1982 CAIRO_CFLAGS
1983 C compiler flags for CAIRO, overriding pkg-config
1984 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1985 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1986 GST_LIBS linker flags for GST, overriding pkg-config
1987
1988 Use these variables to override the choices made by `configure' or to help
1989 it to find libraries and programs with nonstandard names/locations.
1990
1991 Report bugs to <wx-dev@lists.wxwidgets.org>.
1992 _ACEOF
1993 ac_status=$?
1994 fi
1995
1996 if test "$ac_init_help" = "recursive"; then
1997 # If there are subdirs, report their specific --help.
1998 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1999 test -d "$ac_dir" || continue
2000 ac_builddir=.
2001
2002 case "$ac_dir" in
2003 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2004 *)
2005 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2006 # A ".." for each directory in $ac_dir_suffix.
2007 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2008 case $ac_top_builddir_sub in
2009 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2010 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2011 esac ;;
2012 esac
2013 ac_abs_top_builddir=$ac_pwd
2014 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2015 # for backward compatibility:
2016 ac_top_builddir=$ac_top_build_prefix
2017
2018 case $srcdir in
2019 .) # We are building in place.
2020 ac_srcdir=.
2021 ac_top_srcdir=$ac_top_builddir_sub
2022 ac_abs_top_srcdir=$ac_pwd ;;
2023 [\\/]* | ?:[\\/]* ) # Absolute name.
2024 ac_srcdir=$srcdir$ac_dir_suffix;
2025 ac_top_srcdir=$srcdir
2026 ac_abs_top_srcdir=$srcdir ;;
2027 *) # Relative name.
2028 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2029 ac_top_srcdir=$ac_top_build_prefix$srcdir
2030 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2031 esac
2032 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2033
2034 cd "$ac_dir" || { ac_status=$?; continue; }
2035 # Check for guested configure.
2036 if test -f "$ac_srcdir/configure.gnu"; then
2037 echo &&
2038 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2039 elif test -f "$ac_srcdir/configure"; then
2040 echo &&
2041 $SHELL "$ac_srcdir/configure" --help=recursive
2042 else
2043 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2044 fi || ac_status=$?
2045 cd "$ac_pwd" || { ac_status=$?; break; }
2046 done
2047 fi
2048
2049 test -n "$ac_init_help" && exit $ac_status
2050 if $ac_init_version; then
2051 cat <<\_ACEOF
2052 wxWidgets configure 2.9.0
2053 generated by GNU Autoconf 2.61
2054
2055 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2056 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2057 This configure script is free software; the Free Software Foundation
2058 gives unlimited permission to copy, distribute and modify it.
2059 _ACEOF
2060 exit
2061 fi
2062 cat >config.log <<_ACEOF
2063 This file contains any messages produced by compilers while
2064 running configure, to aid debugging if configure makes a mistake.
2065
2066 It was created by wxWidgets $as_me 2.9.0, which was
2067 generated by GNU Autoconf 2.61. Invocation command line was
2068
2069 $ $0 $@
2070
2071 _ACEOF
2072 exec 5>>config.log
2073 {
2074 cat <<_ASUNAME
2075 ## --------- ##
2076 ## Platform. ##
2077 ## --------- ##
2078
2079 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2080 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2081 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2082 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2083 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2084
2085 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2086 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2087
2088 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2089 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2090 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2091 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2092 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2093 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2094 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2095
2096 _ASUNAME
2097
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2100 do
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 echo "PATH: $as_dir"
2104 done
2105 IFS=$as_save_IFS
2106
2107 } >&5
2108
2109 cat >&5 <<_ACEOF
2110
2111
2112 ## ----------- ##
2113 ## Core tests. ##
2114 ## ----------- ##
2115
2116 _ACEOF
2117
2118
2119 # Keep a trace of the command line.
2120 # Strip out --no-create and --no-recursion so they do not pile up.
2121 # Strip out --silent because we don't want to record it for future runs.
2122 # Also quote any args containing shell meta-characters.
2123 # Make two passes to allow for proper duplicate-argument suppression.
2124 ac_configure_args=
2125 ac_configure_args0=
2126 ac_configure_args1=
2127 ac_must_keep_next=false
2128 for ac_pass in 1 2
2129 do
2130 for ac_arg
2131 do
2132 case $ac_arg in
2133 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2135 | -silent | --silent | --silen | --sile | --sil)
2136 continue ;;
2137 *\'*)
2138 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2139 esac
2140 case $ac_pass in
2141 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2142 2)
2143 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2144 if test $ac_must_keep_next = true; then
2145 ac_must_keep_next=false # Got value, back to normal.
2146 else
2147 case $ac_arg in
2148 *=* | --config-cache | -C | -disable-* | --disable-* \
2149 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2150 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2151 | -with-* | --with-* | -without-* | --without-* | --x)
2152 case "$ac_configure_args0 " in
2153 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2154 esac
2155 ;;
2156 -* ) ac_must_keep_next=true ;;
2157 esac
2158 fi
2159 ac_configure_args="$ac_configure_args '$ac_arg'"
2160 ;;
2161 esac
2162 done
2163 done
2164 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2165 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2166
2167 # When interrupted or exit'd, cleanup temporary files, and complete
2168 # config.log. We remove comments because anyway the quotes in there
2169 # would cause problems or look ugly.
2170 # WARNING: Use '\'' to represent an apostrophe within the trap.
2171 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2172 trap 'exit_status=$?
2173 # Save into config.log some information that might help in debugging.
2174 {
2175 echo
2176
2177 cat <<\_ASBOX
2178 ## ---------------- ##
2179 ## Cache variables. ##
2180 ## ---------------- ##
2181 _ASBOX
2182 echo
2183 # The following way of writing the cache mishandles newlines in values,
2184 (
2185 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2186 eval ac_val=\$$ac_var
2187 case $ac_val in #(
2188 *${as_nl}*)
2189 case $ac_var in #(
2190 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2191 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2192 esac
2193 case $ac_var in #(
2194 _ | IFS | as_nl) ;; #(
2195 *) $as_unset $ac_var ;;
2196 esac ;;
2197 esac
2198 done
2199 (set) 2>&1 |
2200 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2201 *${as_nl}ac_space=\ *)
2202 sed -n \
2203 "s/'\''/'\''\\\\'\'''\''/g;
2204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2205 ;; #(
2206 *)
2207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2208 ;;
2209 esac |
2210 sort
2211 )
2212 echo
2213
2214 cat <<\_ASBOX
2215 ## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##
2218 _ASBOX
2219 echo
2220 for ac_var in $ac_subst_vars
2221 do
2222 eval ac_val=\$$ac_var
2223 case $ac_val in
2224 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225 esac
2226 echo "$ac_var='\''$ac_val'\''"
2227 done | sort
2228 echo
2229
2230 if test -n "$ac_subst_files"; then
2231 cat <<\_ASBOX
2232 ## ------------------- ##
2233 ## File substitutions. ##
2234 ## ------------------- ##
2235 _ASBOX
2236 echo
2237 for ac_var in $ac_subst_files
2238 do
2239 eval ac_val=\$$ac_var
2240 case $ac_val in
2241 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2242 esac
2243 echo "$ac_var='\''$ac_val'\''"
2244 done | sort
2245 echo
2246 fi
2247
2248 if test -s confdefs.h; then
2249 cat <<\_ASBOX
2250 ## ----------- ##
2251 ## confdefs.h. ##
2252 ## ----------- ##
2253 _ASBOX
2254 echo
2255 cat confdefs.h
2256 echo
2257 fi
2258 test "$ac_signal" != 0 &&
2259 echo "$as_me: caught signal $ac_signal"
2260 echo "$as_me: exit $exit_status"
2261 } >&5
2262 rm -f core *.core core.conftest.* &&
2263 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2264 exit $exit_status
2265 ' 0
2266 for ac_signal in 1 2 13 15; do
2267 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2268 done
2269 ac_signal=0
2270
2271 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2272 rm -f -r conftest* confdefs.h
2273
2274 # Predefined preprocessor variables.
2275
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE_NAME "$PACKAGE_NAME"
2278 _ACEOF
2279
2280
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2283 _ACEOF
2284
2285
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2288 _ACEOF
2289
2290
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_STRING "$PACKAGE_STRING"
2293 _ACEOF
2294
2295
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2298 _ACEOF
2299
2300
2301 # Let the site file select an alternate cache file if it wants to.
2302 # Prefer explicitly selected file to automatically selected ones.
2303 if test -n "$CONFIG_SITE"; then
2304 set x "$CONFIG_SITE"
2305 elif test "x$prefix" != xNONE; then
2306 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2307 else
2308 set x "$ac_default_prefix/share/config.site" \
2309 "$ac_default_prefix/etc/config.site"
2310 fi
2311 shift
2312 for ac_site_file
2313 do
2314 if test -r "$ac_site_file"; then
2315 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2316 echo "$as_me: loading site script $ac_site_file" >&6;}
2317 sed 's/^/| /' "$ac_site_file" >&5
2318 . "$ac_site_file"
2319 fi
2320 done
2321
2322 if test -r "$cache_file"; then
2323 # Some versions of bash will fail to source /dev/null (special
2324 # files actually), so we avoid doing that.
2325 if test -f "$cache_file"; then
2326 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2327 echo "$as_me: loading cache $cache_file" >&6;}
2328 case $cache_file in
2329 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2330 *) . "./$cache_file";;
2331 esac
2332 fi
2333 else
2334 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2335 echo "$as_me: creating cache $cache_file" >&6;}
2336 >$cache_file
2337 fi
2338
2339 # Check that the precious variables saved in the cache have kept the same
2340 # value.
2341 ac_cache_corrupted=false
2342 for ac_var in $ac_precious_vars; do
2343 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2344 eval ac_new_set=\$ac_env_${ac_var}_set
2345 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2346 eval ac_new_val=\$ac_env_${ac_var}_value
2347 case $ac_old_set,$ac_new_set in
2348 set,)
2349 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2350 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2351 ac_cache_corrupted=: ;;
2352 ,set)
2353 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2354 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2355 ac_cache_corrupted=: ;;
2356 ,);;
2357 *)
2358 if test "x$ac_old_val" != "x$ac_new_val"; then
2359 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2360 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2361 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2362 echo "$as_me: former value: $ac_old_val" >&2;}
2363 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2364 echo "$as_me: current value: $ac_new_val" >&2;}
2365 ac_cache_corrupted=:
2366 fi;;
2367 esac
2368 # Pass precious variables to config.status.
2369 if test "$ac_new_set" = set; then
2370 case $ac_new_val in
2371 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2372 *) ac_arg=$ac_var=$ac_new_val ;;
2373 esac
2374 case " $ac_configure_args " in
2375 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2376 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2377 esac
2378 fi
2379 done
2380 if $ac_cache_corrupted; then
2381 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2382 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2383 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2384 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2385 { (exit 1); exit 1; }; }
2386 fi
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412 ac_ext=c
2413 ac_cpp='$CPP $CPPFLAGS'
2414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2417
2418
2419
2420
2421
2422 ac_aux_dir=
2423 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2424 if test -f "$ac_dir/install-sh"; then
2425 ac_aux_dir=$ac_dir
2426 ac_install_sh="$ac_aux_dir/install-sh -c"
2427 break
2428 elif test -f "$ac_dir/install.sh"; then
2429 ac_aux_dir=$ac_dir
2430 ac_install_sh="$ac_aux_dir/install.sh -c"
2431 break
2432 elif test -f "$ac_dir/shtool"; then
2433 ac_aux_dir=$ac_dir
2434 ac_install_sh="$ac_aux_dir/shtool install -c"
2435 break
2436 fi
2437 done
2438 if test -z "$ac_aux_dir"; then
2439 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2440 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2441 { (exit 1); exit 1; }; }
2442 fi
2443
2444 # These three variables are undocumented and unsupported,
2445 # and are intended to be withdrawn in a future Autoconf release.
2446 # They can cause serious problems if a builder's source tree is in a directory
2447 # whose full name contains unusual characters.
2448 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2449 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2450 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2451
2452
2453 # Make sure we can run config.sub.
2454 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2455 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2456 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2457 { (exit 1); exit 1; }; }
2458
2459 { echo "$as_me:$LINENO: checking build system type" >&5
2460 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2461 if test "${ac_cv_build+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 else
2464 ac_build_alias=$build_alias
2465 test "x$ac_build_alias" = x &&
2466 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2467 test "x$ac_build_alias" = x &&
2468 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2469 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2470 { (exit 1); exit 1; }; }
2471 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2475
2476 fi
2477 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2478 echo "${ECHO_T}$ac_cv_build" >&6; }
2479 case $ac_cv_build in
2480 *-*-*) ;;
2481 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2482 echo "$as_me: error: invalid value of canonical build" >&2;}
2483 { (exit 1); exit 1; }; };;
2484 esac
2485 build=$ac_cv_build
2486 ac_save_IFS=$IFS; IFS='-'
2487 set x $ac_cv_build
2488 shift
2489 build_cpu=$1
2490 build_vendor=$2
2491 shift; shift
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2494 build_os=$*
2495 IFS=$ac_save_IFS
2496 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2497
2498
2499 { echo "$as_me:$LINENO: checking host system type" >&5
2500 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2501 if test "${ac_cv_host+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 else
2504 if test "x$host_alias" = x; then
2505 ac_cv_host=$ac_cv_build
2506 else
2507 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2508 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2509 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2510 { (exit 1); exit 1; }; }
2511 fi
2512
2513 fi
2514 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2515 echo "${ECHO_T}$ac_cv_host" >&6; }
2516 case $ac_cv_host in
2517 *-*-*) ;;
2518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2519 echo "$as_me: error: invalid value of canonical host" >&2;}
2520 { (exit 1); exit 1; }; };;
2521 esac
2522 host=$ac_cv_host
2523 ac_save_IFS=$IFS; IFS='-'
2524 set x $ac_cv_host
2525 shift
2526 host_cpu=$1
2527 host_vendor=$2
2528 shift; shift
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2531 host_os=$*
2532 IFS=$ac_save_IFS
2533 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2534
2535
2536
2537
2538
2539 wx_major_version_number=2
2540 wx_minor_version_number=9
2541 wx_release_number=0
2542 wx_subrelease_number=0
2543
2544 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2545 WX_VERSION=$WX_RELEASE.$wx_release_number
2546 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2547
2548 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2549
2550
2551 wx_top_builddir="`pwd`"
2552
2553
2554
2555
2556 USE_UNIX=1
2557 USE_OS2=0
2558 USE_WIN32=0
2559 USE_DOS=0
2560 USE_BEOS=0
2561 USE_MAC=0
2562
2563 USE_AIX=
2564 USE_BSD= USE_DARWIN= USE_FREEBSD=
2565 USE_GNU= USE_HPUX=
2566 USE_LINUX=
2567 USE_NETBSD=
2568 USE_OPENBSD=
2569 USE_OSF= USE_SGI=
2570 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2571 USE_ULTRIX=
2572 USE_UNIXWARE=
2573
2574 USE_ALPHA=
2575
2576 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2577
2578 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2579
2580 DEFAULT_wxUSE_COCOA=0
2581 DEFAULT_wxUSE_GTK=0
2582 DEFAULT_wxUSE_OSX_CARBON=0
2583 DEFAULT_wxUSE_OSX_COCOA=0
2584 DEFAULT_wxUSE_MGL=0
2585 DEFAULT_wxUSE_MICROWIN=0
2586 DEFAULT_wxUSE_MOTIF=0
2587 DEFAULT_wxUSE_MSW=0
2588 DEFAULT_wxUSE_PM=0
2589 DEFAULT_wxUSE_X11=0
2590 DEFAULT_wxUSE_DFB=0
2591
2592 DEFAULT_DEFAULT_wxUSE_COCOA=0
2593 DEFAULT_DEFAULT_wxUSE_GTK=0
2594 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2595 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2596 DEFAULT_DEFAULT_wxUSE_MGL=0
2597 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2598 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2599 DEFAULT_DEFAULT_wxUSE_MSW=0
2600 DEFAULT_DEFAULT_wxUSE_PM=0
2601 DEFAULT_DEFAULT_wxUSE_X11=0
2602 DEFAULT_DEFAULT_wxUSE_DFB=0
2603
2604 PROGRAM_EXT=
2605 SAMPLES_RPATH_FLAG=
2606 SAMPLES_RPATH_POSTLINK=
2607
2608 DEFAULT_STD_FLAG=yes
2609
2610 case "${host}" in
2611 *-hp-hpux* )
2612 USE_HPUX=1
2613 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2614 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2615 cat >>confdefs.h <<\_ACEOF
2616 #define __HPUX__ 1
2617 _ACEOF
2618
2619
2620 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2621 ;;
2622 *-*-linux* )
2623 USE_LINUX=1
2624 cat >>confdefs.h <<\_ACEOF
2625 #define __LINUX__ 1
2626 _ACEOF
2627
2628 TMP=`uname -m`
2629 if test "x$TMP" = "xalpha"; then
2630 USE_ALPHA=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __ALPHA__ 1
2633 _ACEOF
2634
2635 fi
2636 DEFAULT_DEFAULT_wxUSE_GTK=1
2637 ;;
2638 *-*-gnu* | *-*-k*bsd*-gnu )
2639 USE_GNU=1
2640 TMP=`uname -m`
2641 if test "x$TMP" = "xalpha"; then
2642 USE_ALPHA=1
2643 cat >>confdefs.h <<\_ACEOF
2644 #define __ALPHA__ 1
2645 _ACEOF
2646
2647 fi
2648 DEFAULT_DEFAULT_wxUSE_GTK=1
2649 ;;
2650 *-*-irix5* | *-*-irix6* )
2651 USE_SGI=1
2652 USE_SVR4=1
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __SGI__ 1
2655 _ACEOF
2656
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __SVR4__ 1
2659 _ACEOF
2660
2661 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2662 ;;
2663 *-*-solaris2* )
2664 USE_SUN=1
2665 USE_SOLARIS=1
2666 USE_SVR4=1
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __SUN__ 1
2669 _ACEOF
2670
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SOLARIS__ 1
2673 _ACEOF
2674
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SVR4__ 1
2677 _ACEOF
2678
2679 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2680 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2681 ;;
2682 *-*-sunos4* )
2683 USE_SUN=1
2684 USE_SUNOS=1
2685 USE_BSD=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SUN__ 1
2688 _ACEOF
2689
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __SUNOS__ 1
2692 _ACEOF
2693
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __BSD__ 1
2696 _ACEOF
2697
2698 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2699 ;;
2700 *-*-freebsd*)
2701 USE_BSD=1
2702 USE_FREEBSD=1
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __FREEBSD__ 1
2705 _ACEOF
2706
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __BSD__ 1
2709 _ACEOF
2710
2711 DEFAULT_DEFAULT_wxUSE_GTK=1
2712 ;;
2713 *-*-openbsd*|*-*-mirbsd*)
2714 USE_BSD=1
2715 USE_OPENBSD=1
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __OPENBSD__ 1
2718 _ACEOF
2719
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __BSD__ 1
2722 _ACEOF
2723
2724 DEFAULT_DEFAULT_wxUSE_GTK=1
2725 ;;
2726 *-*-netbsd*)
2727 USE_BSD=1
2728 USE_NETBSD=1
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __NETBSD__ 1
2731 _ACEOF
2732
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __BSD__ 1
2735 _ACEOF
2736
2737 DEFAULT_DEFAULT_wxUSE_GTK=1
2738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2739
2740 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2741 ;;
2742 *-*-osf* )
2743 USE_ALPHA=1
2744 USE_OSF=1
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __ALPHA__ 1
2747 _ACEOF
2748
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __OSF__ 1
2751 _ACEOF
2752
2753 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2754 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2755 ;;
2756 *-*-dgux5* )
2757 USE_ALPHA=1
2758 USE_SVR4=1
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __ALPHA__ 1
2761 _ACEOF
2762
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __SVR4__ 1
2765 _ACEOF
2766
2767 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2768 ;;
2769 *-*-sysv5* )
2770 USE_SYSV=1
2771 USE_SVR4=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __SYSV__ 1
2774 _ACEOF
2775
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __SVR4__ 1
2778 _ACEOF
2779
2780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2781 ;;
2782 *-*-aix* )
2783 USE_AIX=1
2784 USE_SYSV=1
2785 USE_SVR4=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __AIX__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SYSV__ 1
2792 _ACEOF
2793
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __SVR4__ 1
2796 _ACEOF
2797
2798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2799 ;;
2800
2801 *-*-*UnixWare*)
2802 USE_SYSV=1
2803 USE_SVR4=1
2804 USE_UNIXWARE=1
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __UNIXWARE__ 1
2807 _ACEOF
2808
2809 ;;
2810
2811 *-*-cygwin* | *-*-mingw32* )
2812 PROGRAM_EXT=".exe"
2813 DEFAULT_DEFAULT_wxUSE_MSW=1
2814 ;;
2815
2816 *-pc-msdosdjgpp )
2817 USE_UNIX=0
2818 USE_DOS=1
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __DOS__ 1
2821 _ACEOF
2822
2823 PROGRAM_EXT=".exe"
2824 DEFAULT_DEFAULT_wxUSE_MGL=1
2825 ;;
2826
2827 *-pc-os2_emx | *-pc-os2-emx )
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __EMX__ 1
2830 _ACEOF
2831
2832 USE_OS2=1
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __OS2__ 1
2835 _ACEOF
2836
2837 PROGRAM_EXT=".exe"
2838 DEFAULT_DEFAULT_wxUSE_PM=1
2839 CXX=gcc
2840 LDFLAGS="$LDFLAGS -Zcrtdll"
2841 ac_executable_extensions=".exe"
2842 export ac_executable_extensions
2843 ac_save_IFS="$IFS"
2844 IFS='\\'
2845 ac_TEMP_PATH=
2846 for ac_dir in $PATH; do
2847 IFS=$ac_save_IFS
2848 if test -z "$ac_TEMP_PATH"; then
2849 ac_TEMP_PATH="$ac_dir"
2850 else
2851 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2852 fi
2853 done
2854 export PATH="$ac_TEMP_PATH"
2855 unset ac_TEMP_PATH
2856 DEFAULT_STD_FLAG=no
2857 ;;
2858
2859 *-*-darwin* )
2860 USE_BSD=1
2861 USE_DARWIN=1
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_OSX_CARBON=1
2875 DEFAULT_STD_FLAG=no
2876 ;;
2877 powerpc-apple-macos* )
2878 USE_UNIX=0
2879 ac_cv_c_bigendian=yes
2880 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2881 DEFAULT_STD_FLAG=no
2882 ;;
2883
2884 *-*-beos* )
2885 USE_BEOS=1
2886 cat >>confdefs.h <<\_ACEOF
2887 #define __BEOS__ 1
2888 _ACEOF
2889
2890 ;;
2891
2892 *)
2893 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2894 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2895 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2896 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2897
2898 DEFAULT_DEFAULT_wxUSE_X11=1
2899 DEFAULT_wxUSE_SHARED=no
2900 esac
2901
2902
2903
2904 DEFAULT_wxUSE_ALL_FEATURES=yes
2905
2906 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2907 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2908
2909 DEFAULT_wxUSE_DMALLOC=no
2910 DEFAULT_wxUSE_LIBGNOMEVFS=no
2911 DEFAULT_wxUSE_LIBHILDON=no
2912 DEFAULT_wxUSE_LIBMSPACK=no
2913 DEFAULT_wxUSE_LIBSDL=no
2914
2915 DEFAULT_wxUSE_ACCESSIBILITY=no
2916 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2917 DEFAULT_wxUSE_IPV6=no
2918 DEFAULT_wxUSE_GSTREAMER8=no
2919
2920 DEFAULT_wxUSE_UNICODE_UTF8=auto
2921 DEFAULT_wxUSE_OPENGL=auto
2922 DEFAULT_wxUSE_MEDIACTRL=auto
2923
2924 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2925
2926 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2927
2928 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2929
2930 DEFAULT_wxUSE_GTK2=yes
2931
2932 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2933
2934
2935
2936
2937
2938 enablestring=disable
2939 defaultval=
2940 if test -z "$defaultval"; then
2941 if test x"$enablestring" = xdisable; then
2942 defaultval=yes
2943 else
2944 defaultval=no
2945 fi
2946 fi
2947
2948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2949 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2950 # Check whether --enable-gui was given.
2951 if test "${enable_gui+set}" = set; then
2952 enableval=$enable_gui;
2953 if test "$enableval" = yes; then
2954 wx_cv_use_gui='wxUSE_GUI=yes'
2955 else
2956 wx_cv_use_gui='wxUSE_GUI=no'
2957 fi
2958
2959 else
2960
2961 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2962
2963 fi
2964
2965
2966 eval "$wx_cv_use_gui"
2967
2968 if test x"$enablestring" = xdisable; then
2969 if test $wxUSE_GUI = yes; then
2970 result=no
2971 else
2972 result=yes
2973 fi
2974 else
2975 result=$wxUSE_GUI
2976 fi
2977
2978 { echo "$as_me:$LINENO: result: $result" >&5
2979 echo "${ECHO_T}$result" >&6; }
2980
2981
2982 enablestring=
2983 defaultval=
2984 if test -z "$defaultval"; then
2985 if test x"$enablestring" = xdisable; then
2986 defaultval=yes
2987 else
2988 defaultval=no
2989 fi
2990 fi
2991
2992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2993 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2994 # Check whether --enable-monolithic was given.
2995 if test "${enable_monolithic+set}" = set; then
2996 enableval=$enable_monolithic;
2997 if test "$enableval" = yes; then
2998 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2999 else
3000 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3001 fi
3002
3003 else
3004
3005 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3006
3007 fi
3008
3009
3010 eval "$wx_cv_use_monolithic"
3011
3012 if test x"$enablestring" = xdisable; then
3013 if test $wxUSE_MONOLITHIC = yes; then
3014 result=no
3015 else
3016 result=yes
3017 fi
3018 else
3019 result=$wxUSE_MONOLITHIC
3020 fi
3021
3022 { echo "$as_me:$LINENO: result: $result" >&5
3023 echo "${ECHO_T}$result" >&6; }
3024
3025
3026 enablestring=
3027 defaultval=
3028 if test -z "$defaultval"; then
3029 if test x"$enablestring" = xdisable; then
3030 defaultval=yes
3031 else
3032 defaultval=no
3033 fi
3034 fi
3035
3036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3037 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3038 # Check whether --enable-plugins was given.
3039 if test "${enable_plugins+set}" = set; then
3040 enableval=$enable_plugins;
3041 if test "$enableval" = yes; then
3042 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3043 else
3044 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3045 fi
3046
3047 else
3048
3049 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3050
3051 fi
3052
3053
3054 eval "$wx_cv_use_plugins"
3055
3056 if test x"$enablestring" = xdisable; then
3057 if test $wxUSE_PLUGINS = yes; then
3058 result=no
3059 else
3060 result=yes
3061 fi
3062 else
3063 result=$wxUSE_PLUGINS
3064 fi
3065
3066 { echo "$as_me:$LINENO: result: $result" >&5
3067 echo "${ECHO_T}$result" >&6; }
3068
3069
3070 withstring=without
3071 defaultval=$wxUSE_ALL_FEATURES
3072 if test -z "$defaultval"; then
3073 if test x"$withstring" = xwithout; then
3074 defaultval=yes
3075 else
3076 defaultval=no
3077 fi
3078 fi
3079 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3080 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3081
3082 # Check whether --with-subdirs was given.
3083 if test "${with_subdirs+set}" = set; then
3084 withval=$with_subdirs;
3085 if test "$withval" = yes; then
3086 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3087 else
3088 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3089 fi
3090
3091 else
3092
3093 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3094
3095 fi
3096
3097
3098 eval "$wx_cv_use_subdirs"
3099
3100 if test x"$withstring" = xwithout; then
3101 if test $wxWITH_SUBDIRS = yes; then
3102 result=no
3103 else
3104 result=yes
3105 fi
3106 else
3107 result=$wxWITH_SUBDIRS
3108 fi
3109
3110 { echo "$as_me:$LINENO: result: $result" >&5
3111 echo "${ECHO_T}$result" >&6; }
3112
3113
3114 # Check whether --with-flavour was given.
3115 if test "${with_flavour+set}" = set; then
3116 withval=$with_flavour; WX_FLAVOUR="$withval"
3117 fi
3118
3119
3120 enablestring=
3121 defaultval=
3122 if test -z "$defaultval"; then
3123 if test x"$enablestring" = xdisable; then
3124 defaultval=yes
3125 else
3126 defaultval=no
3127 fi
3128 fi
3129
3130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3131 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3132 # Check whether --enable-official_build was given.
3133 if test "${enable_official_build+set}" = set; then
3134 enableval=$enable_official_build;
3135 if test "$enableval" = yes; then
3136 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3137 else
3138 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3139 fi
3140
3141 else
3142
3143 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3144
3145 fi
3146
3147
3148 eval "$wx_cv_use_official_build"
3149
3150 if test x"$enablestring" = xdisable; then
3151 if test $wxUSE_OFFICIAL_BUILD = yes; then
3152 result=no
3153 else
3154 result=yes
3155 fi
3156 else
3157 result=$wxUSE_OFFICIAL_BUILD
3158 fi
3159
3160 { echo "$as_me:$LINENO: result: $result" >&5
3161 echo "${ECHO_T}$result" >&6; }
3162
3163 # Check whether --enable-vendor was given.
3164 if test "${enable_vendor+set}" = set; then
3165 enableval=$enable_vendor; VENDOR="$enableval"
3166 fi
3167
3168 if test "x$VENDOR" = "x"; then
3169 VENDOR="custom"
3170 fi
3171
3172
3173 enablestring=disable
3174 defaultval=
3175 if test -z "$defaultval"; then
3176 if test x"$enablestring" = xdisable; then
3177 defaultval=yes
3178 else
3179 defaultval=no
3180 fi
3181 fi
3182
3183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3184 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3185 # Check whether --enable-all-features was given.
3186 if test "${enable_all_features+set}" = set; then
3187 enableval=$enable_all_features;
3188 if test "$enableval" = yes; then
3189 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3190 else
3191 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3192 fi
3193
3194 else
3195
3196 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3197
3198 fi
3199
3200
3201 eval "$wx_cv_use_all_features"
3202
3203 if test x"$enablestring" = xdisable; then
3204 if test $wxUSE_ALL_FEATURES = yes; then
3205 result=no
3206 else
3207 result=yes
3208 fi
3209 else
3210 result=$wxUSE_ALL_FEATURES
3211 fi
3212
3213 { echo "$as_me:$LINENO: result: $result" >&5
3214 echo "${ECHO_T}$result" >&6; }
3215
3216
3217
3218 if test "$wxUSE_GUI" = "yes"; then
3219
3220
3221 enablestring=
3222 defaultval=
3223 if test -z "$defaultval"; then
3224 if test x"$enablestring" = xdisable; then
3225 defaultval=yes
3226 else
3227 defaultval=no
3228 fi
3229 fi
3230
3231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3232 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3233 # Check whether --enable-universal was given.
3234 if test "${enable_universal+set}" = set; then
3235 enableval=$enable_universal;
3236 if test "$enableval" = yes; then
3237 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3238 else
3239 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3240 fi
3241
3242 else
3243
3244 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3245
3246 fi
3247
3248
3249 eval "$wx_cv_use_universal"
3250
3251 if test x"$enablestring" = xdisable; then
3252 if test $wxUSE_UNIVERSAL = yes; then
3253 result=no
3254 else
3255 result=yes
3256 fi
3257 else
3258 result=$wxUSE_UNIVERSAL
3259 fi
3260
3261 { echo "$as_me:$LINENO: result: $result" >&5
3262 echo "${ECHO_T}$result" >&6; }
3263
3264 if test "$wxUSE_UNIVERSAL" = "yes"; then
3265
3266 # Check whether --with-themes was given.
3267 if test "${with_themes+set}" = set; then
3268 withval=$with_themes; wxUNIV_THEMES="$withval"
3269 fi
3270
3271 fi
3272
3273
3274 # Check whether --with-gtk was given.
3275 if test "${with_gtk+set}" = set; then
3276 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3277 fi
3278
3279
3280 # Check whether --with-motif was given.
3281 if test "${with_motif+set}" = set; then
3282 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3283 fi
3284
3285
3286 # Check whether --with-osx_carbon was given.
3287 if test "${with_osx_carbon+set}" = set; then
3288 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3289 fi
3290
3291
3292 # Check whether --with-osx_cocoa was given.
3293 if test "${with_osx_cocoa+set}" = set; then
3294 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3295 fi
3296
3297
3298 # Check whether --with-mac was given.
3299 if test "${with_mac+set}" = set; then
3300 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3301 fi
3302
3303
3304 # Check whether --with-cocoa was given.
3305 if test "${with_cocoa+set}" = set; then
3306 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3307 fi
3308
3309
3310 # Check whether --with-wine was given.
3311 if test "${with_wine+set}" = set; then
3312 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3313 fi
3314
3315
3316 # Check whether --with-msw was given.
3317 if test "${with_msw+set}" = set; then
3318 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3319 fi
3320
3321
3322 # Check whether --with-pm was given.
3323 if test "${with_pm+set}" = set; then
3324 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3325 fi
3326
3327
3328 # Check whether --with-mgl was given.
3329 if test "${with_mgl+set}" = set; then
3330 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3331 fi
3332
3333
3334 # Check whether --with-directfb was given.
3335 if test "${with_directfb+set}" = set; then
3336 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3337 fi
3338
3339
3340 # Check whether --with-microwin was given.
3341 if test "${with_microwin+set}" = set; then
3342 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3343 fi
3344
3345
3346 # Check whether --with-x11 was given.
3347 if test "${with_x11+set}" = set; then
3348 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3349 fi
3350
3351
3352 enablestring=
3353 defaultval=
3354 if test -z "$defaultval"; then
3355 if test x"$enablestring" = xdisable; then
3356 defaultval=yes
3357 else
3358 defaultval=no
3359 fi
3360 fi
3361
3362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3363 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3364 # Check whether --enable-nanox was given.
3365 if test "${enable_nanox+set}" = set; then
3366 enableval=$enable_nanox;
3367 if test "$enableval" = yes; then
3368 wx_cv_use_nanox='wxUSE_NANOX=yes'
3369 else
3370 wx_cv_use_nanox='wxUSE_NANOX=no'
3371 fi
3372
3373 else
3374
3375 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3376
3377 fi
3378
3379
3380 eval "$wx_cv_use_nanox"
3381
3382 if test x"$enablestring" = xdisable; then
3383 if test $wxUSE_NANOX = yes; then
3384 result=no
3385 else
3386 result=yes
3387 fi
3388 else
3389 result=$wxUSE_NANOX
3390 fi
3391
3392 { echo "$as_me:$LINENO: result: $result" >&5
3393 echo "${ECHO_T}$result" >&6; }
3394
3395
3396 # Check whether --enable-gtk2 was given.
3397 if test "${enable_gtk2+set}" = set; then
3398 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3399 fi
3400
3401
3402 enablestring=
3403 defaultval=
3404 if test -z "$defaultval"; then
3405 if test x"$enablestring" = xdisable; then
3406 defaultval=yes
3407 else
3408 defaultval=no
3409 fi
3410 fi
3411
3412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3413 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3414 # Check whether --enable-gpe was given.
3415 if test "${enable_gpe+set}" = set; then
3416 enableval=$enable_gpe;
3417 if test "$enableval" = yes; then
3418 wx_cv_use_gpe='wxUSE_GPE=yes'
3419 else
3420 wx_cv_use_gpe='wxUSE_GPE=no'
3421 fi
3422
3423 else
3424
3425 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3426
3427 fi
3428
3429
3430 eval "$wx_cv_use_gpe"
3431
3432 if test x"$enablestring" = xdisable; then
3433 if test $wxUSE_GPE = yes; then
3434 result=no
3435 else
3436 result=yes
3437 fi
3438 else
3439 result=$wxUSE_GPE
3440 fi
3441
3442 { echo "$as_me:$LINENO: result: $result" >&5
3443 echo "${ECHO_T}$result" >&6; }
3444
3445
3446
3447 { echo "$as_me:$LINENO: checking for toolkit" >&5
3448 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3449
3450
3451
3452 # In Wine, we need to default to MSW, not GTK or MOTIF
3453 if test "$wxUSE_WINE" = "yes"; then
3454 DEFAULT_DEFAULT_wxUSE_GTK=0
3455 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3456 DEFAULT_DEFAULT_wxUSE_MSW=1
3457 wxUSE_SHARED=no
3458 CC=${CC:-winegcc}
3459 CXX=${CXX:-wineg++}
3460 fi
3461
3462
3463 if test "$wxUSE_GUI" = "yes"; then
3464
3465 if test "$USE_BEOS" = 1; then
3466 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3467 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3468 { (exit 1); exit 1; }; }
3469 fi
3470
3471 if test "$TOOLKIT_GIVEN" = 1; then
3472 for toolkit in $ALL_TOOLKITS; do
3473 var=wxUSE_$toolkit
3474 eval "value=\$${var}"
3475 if test "x$value" = "xno"; then
3476 eval "$var=0"
3477 elif test "x$value" != "x"; then
3478 eval "$var=1"
3479 fi
3480
3481 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3482 eval "wx${toolkit}_VERSION=$value"
3483 fi
3484 done
3485 else
3486 for toolkit in $ALL_TOOLKITS; do
3487 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3488 eval "wxUSE_$toolkit=\$${var}"
3489 done
3490 fi
3491
3492 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3493 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3494 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3495
3496 case "${host}" in
3497 *-pc-os2_emx | *-pc-os2-emx )
3498 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3499 esac
3500
3501 case "$NUM_TOOLKITS" in
3502 1)
3503 ;;
3504 0)
3505 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3506 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3507 { (exit 1); exit 1; }; }
3508 ;;
3509 *)
3510 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3511 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3512 { (exit 1); exit 1; }; }
3513 esac
3514
3515 # to be removed when --disable-gtk2 isn't needed
3516 if test "x$wxUSE_GTK2" = "xyes"; then
3517 wxGTK_VERSION=2
3518 elif test "x$wxUSE_GTK2" = "xno"; then
3519 wxGTK_VERSION=1
3520 fi
3521
3522 for toolkit in $ALL_TOOLKITS; do
3523 var=wxUSE_$toolkit
3524 eval "value=\$${var}"
3525 if test "$value" = 1; then
3526 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3527 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3528 echo "${ECHO_T}$toolkit_echo" >&6; }
3529 fi
3530 done
3531 else
3532 if test "x$host_alias" != "x"; then
3533 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3534 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3535 else
3536 { echo "$as_me:$LINENO: result: base only" >&5
3537 echo "${ECHO_T}base only" >&6; }
3538 fi
3539 fi
3540
3541 wxUSE_MAC=0
3542 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3543 wxUSE_MAC=1
3544 fi
3545
3546
3547
3548 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3549 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3550
3551 # Check whether --with-libpng was given.
3552 if test "${with_libpng+set}" = set; then
3553 withval=$with_libpng;
3554 if test "$withval" = yes; then
3555 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3556 elif test "$withval" = no; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3558 elif test "$withval" = sys; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3560 elif test "$withval" = builtin; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3562 else
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3566 fi
3567
3568 else
3569
3570 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3571
3572 fi
3573
3574
3575 eval "$wx_cv_use_libpng"
3576
3577 if test "$wxUSE_LIBPNG" = yes; then
3578 { echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6; }
3580 elif test "$wxUSE_LIBPNG" = no; then
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3583 elif test "$wxUSE_LIBPNG" = sys; then
3584 { echo "$as_me:$LINENO: result: system version" >&5
3585 echo "${ECHO_T}system version" >&6; }
3586 elif test "$wxUSE_LIBPNG" = builtin; then
3587 { echo "$as_me:$LINENO: result: builtin version" >&5
3588 echo "${ECHO_T}builtin version" >&6; }
3589 else
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3593 fi
3594
3595
3596 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3597 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3598
3599 # Check whether --with-libjpeg was given.
3600 if test "${with_libjpeg+set}" = set; then
3601 withval=$with_libjpeg;
3602 if test "$withval" = yes; then
3603 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3604 elif test "$withval" = no; then
3605 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3606 elif test "$withval" = sys; then
3607 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3608 elif test "$withval" = builtin; then
3609 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3610 else
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3614 fi
3615
3616 else
3617
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3619
3620 fi
3621
3622
3623 eval "$wx_cv_use_libjpeg"
3624
3625 if test "$wxUSE_LIBJPEG" = yes; then
3626 { echo "$as_me:$LINENO: result: yes" >&5
3627 echo "${ECHO_T}yes" >&6; }
3628 elif test "$wxUSE_LIBJPEG" = no; then
3629 { echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = sys; then
3632 { echo "$as_me:$LINENO: result: system version" >&5
3633 echo "${ECHO_T}system version" >&6; }
3634 elif test "$wxUSE_LIBJPEG" = builtin; then
3635 { echo "$as_me:$LINENO: result: builtin version" >&5
3636 echo "${ECHO_T}builtin version" >&6; }
3637 else
3638 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3639 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3640 { (exit 1); exit 1; }; }
3641 fi
3642
3643
3644 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3645 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3646
3647 # Check whether --with-libtiff was given.
3648 if test "${with_libtiff+set}" = set; then
3649 withval=$with_libtiff;
3650 if test "$withval" = yes; then
3651 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3652 elif test "$withval" = no; then
3653 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3654 elif test "$withval" = sys; then
3655 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3656 elif test "$withval" = builtin; then
3657 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3658 else
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3662 fi
3663
3664 else
3665
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3667
3668 fi
3669
3670
3671 eval "$wx_cv_use_libtiff"
3672
3673 if test "$wxUSE_LIBTIFF" = yes; then
3674 { echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6; }
3676 elif test "$wxUSE_LIBTIFF" = no; then
3677 { echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = sys; then
3680 { echo "$as_me:$LINENO: result: system version" >&5
3681 echo "${ECHO_T}system version" >&6; }
3682 elif test "$wxUSE_LIBTIFF" = builtin; then
3683 { echo "$as_me:$LINENO: result: builtin version" >&5
3684 echo "${ECHO_T}builtin version" >&6; }
3685 else
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3689 fi
3690
3691
3692 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3693 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3694
3695 # Check whether --with-libxpm was given.
3696 if test "${with_libxpm+set}" = set; then
3697 withval=$with_libxpm;
3698 if test "$withval" = yes; then
3699 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3700 elif test "$withval" = no; then
3701 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3702 elif test "$withval" = sys; then
3703 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3704 elif test "$withval" = builtin; then
3705 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3706 else
3707 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3708 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3710 fi
3711
3712 else
3713
3714 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3715
3716 fi
3717
3718
3719 eval "$wx_cv_use_libxpm"
3720
3721 if test "$wxUSE_LIBXPM" = yes; then
3722 { echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6; }
3724 elif test "$wxUSE_LIBXPM" = no; then
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3727 elif test "$wxUSE_LIBXPM" = sys; then
3728 { echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6; }
3730 elif test "$wxUSE_LIBXPM" = builtin; then
3731 { echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6; }
3733 else
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3737 fi
3738
3739
3740 withstring=
3741 defaultval=$wxUSE_ALL_FEATURES
3742 if test -z "$defaultval"; then
3743 if test x"$withstring" = xwithout; then
3744 defaultval=yes
3745 else
3746 defaultval=no
3747 fi
3748 fi
3749 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3750 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3751
3752 # Check whether --with-libiconv was given.
3753 if test "${with_libiconv+set}" = set; then
3754 withval=$with_libiconv;
3755 if test "$withval" = yes; then
3756 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3757 else
3758 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3759 fi
3760
3761 else
3762
3763 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3764
3765 fi
3766
3767
3768 eval "$wx_cv_use_libiconv"
3769
3770 if test x"$withstring" = xwithout; then
3771 if test $wxUSE_LIBICONV = yes; then
3772 result=no
3773 else
3774 result=yes
3775 fi
3776 else
3777 result=$wxUSE_LIBICONV
3778 fi
3779
3780 { echo "$as_me:$LINENO: result: $result" >&5
3781 echo "${ECHO_T}$result" >&6; }
3782
3783
3784 withstring=
3785 defaultval=$wxUSE_ALL_FEATURES
3786 if test -z "$defaultval"; then
3787 if test x"$withstring" = xwithout; then
3788 defaultval=yes
3789 else
3790 defaultval=no
3791 fi
3792 fi
3793 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3794 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3795
3796 # Check whether --with-libmspack was given.
3797 if test "${with_libmspack+set}" = set; then
3798 withval=$with_libmspack;
3799 if test "$withval" = yes; then
3800 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3801 else
3802 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3803 fi
3804
3805 else
3806
3807 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3808
3809 fi
3810
3811
3812 eval "$wx_cv_use_libmspack"
3813
3814 if test x"$withstring" = xwithout; then
3815 if test $wxUSE_LIBMSPACK = yes; then
3816 result=no
3817 else
3818 result=yes
3819 fi
3820 else
3821 result=$wxUSE_LIBMSPACK
3822 fi
3823
3824 { echo "$as_me:$LINENO: result: $result" >&5
3825 echo "${ECHO_T}$result" >&6; }
3826
3827
3828 withstring=without
3829 defaultval=$wxUSE_ALL_FEATURES
3830 if test -z "$defaultval"; then
3831 if test x"$withstring" = xwithout; then
3832 defaultval=yes
3833 else
3834 defaultval=no
3835 fi
3836 fi
3837 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3838 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3839
3840 # Check whether --with-gtkprint was given.
3841 if test "${with_gtkprint+set}" = set; then
3842 withval=$with_gtkprint;
3843 if test "$withval" = yes; then
3844 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3845 else
3846 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3847 fi
3848
3849 else
3850
3851 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3852
3853 fi
3854
3855
3856 eval "$wx_cv_use_gtkprint"
3857
3858 if test x"$withstring" = xwithout; then
3859 if test $wxUSE_GTKPRINT = yes; then
3860 result=no
3861 else
3862 result=yes
3863 fi
3864 else
3865 result=$wxUSE_GTKPRINT
3866 fi
3867
3868 { echo "$as_me:$LINENO: result: $result" >&5
3869 echo "${ECHO_T}$result" >&6; }
3870
3871
3872 withstring=without
3873 defaultval=$wxUSE_ALL_FEATURES
3874 if test -z "$defaultval"; then
3875 if test x"$withstring" = xwithout; then
3876 defaultval=yes
3877 else
3878 defaultval=no
3879 fi
3880 fi
3881 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3882 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3883
3884 # Check whether --with-gnomeprint was given.
3885 if test "${with_gnomeprint+set}" = set; then
3886 withval=$with_gnomeprint;
3887 if test "$withval" = yes; then
3888 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3889 else
3890 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3891 fi
3892
3893 else
3894
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3896
3897 fi
3898
3899
3900 eval "$wx_cv_use_gnomeprint"
3901
3902 if test x"$withstring" = xwithout; then
3903 if test $wxUSE_LIBGNOMEPRINT = yes; then
3904 result=no
3905 else
3906 result=yes
3907 fi
3908 else
3909 result=$wxUSE_LIBGNOMEPRINT
3910 fi
3911
3912 { echo "$as_me:$LINENO: result: $result" >&5
3913 echo "${ECHO_T}$result" >&6; }
3914
3915
3916 withstring=
3917 defaultval=$wxUSE_ALL_FEATURES
3918 if test -z "$defaultval"; then
3919 if test x"$withstring" = xwithout; then
3920 defaultval=yes
3921 else
3922 defaultval=no
3923 fi
3924 fi
3925 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3926 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3927
3928 # Check whether --with-gnomevfs was given.
3929 if test "${with_gnomevfs+set}" = set; then
3930 withval=$with_gnomevfs;
3931 if test "$withval" = yes; then
3932 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3933 else
3934 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3935 fi
3936
3937 else
3938
3939 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3940
3941 fi
3942
3943
3944 eval "$wx_cv_use_gnomevfs"
3945
3946 if test x"$withstring" = xwithout; then
3947 if test $wxUSE_LIBGNOMEVFS = yes; then
3948 result=no
3949 else
3950 result=yes
3951 fi
3952 else
3953 result=$wxUSE_LIBGNOMEVFS
3954 fi
3955
3956 { echo "$as_me:$LINENO: result: $result" >&5
3957 echo "${ECHO_T}$result" >&6; }
3958
3959
3960 withstring=
3961 defaultval=$wxUSE_ALL_FEATURES
3962 if test -z "$defaultval"; then
3963 if test x"$withstring" = xwithout; then
3964 defaultval=yes
3965 else
3966 defaultval=no
3967 fi
3968 fi
3969 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3970 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3971
3972 # Check whether --with-hildon was given.
3973 if test "${with_hildon+set}" = set; then
3974 withval=$with_hildon;
3975 if test "$withval" = yes; then
3976 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3977 else
3978 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3979 fi
3980
3981 else
3982
3983 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3984
3985 fi
3986
3987
3988 eval "$wx_cv_use_hildon"
3989
3990 if test x"$withstring" = xwithout; then
3991 if test $wxUSE_LIBHILDON = yes; then
3992 result=no
3993 else
3994 result=yes
3995 fi
3996 else
3997 result=$wxUSE_LIBHILDON
3998 fi
3999
4000 { echo "$as_me:$LINENO: result: $result" >&5
4001 echo "${ECHO_T}$result" >&6; }
4002
4003
4004 withstring=
4005 defaultval=$wxUSE_ALL_FEATURES
4006 if test -z "$defaultval"; then
4007 if test x"$withstring" = xwithout; then
4008 defaultval=yes
4009 else
4010 defaultval=no
4011 fi
4012 fi
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4015
4016 # Check whether --with-opengl was given.
4017 if test "${with_opengl+set}" = set; then
4018 withval=$with_opengl;
4019 if test "$withval" = yes; then
4020 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4021 else
4022 wx_cv_use_opengl='wxUSE_OPENGL=no'
4023 fi
4024
4025 else
4026
4027 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4028
4029 fi
4030
4031
4032 eval "$wx_cv_use_opengl"
4033
4034 if test x"$withstring" = xwithout; then
4035 if test $wxUSE_OPENGL = yes; then
4036 result=no
4037 else
4038 result=yes
4039 fi
4040 else
4041 result=$wxUSE_OPENGL
4042 fi
4043
4044 { echo "$as_me:$LINENO: result: $result" >&5
4045 echo "${ECHO_T}$result" >&6; }
4046
4047
4048 fi
4049
4050
4051 withstring=
4052 defaultval=$wxUSE_ALL_FEATURES
4053 if test -z "$defaultval"; then
4054 if test x"$withstring" = xwithout; then
4055 defaultval=yes
4056 else
4057 defaultval=no
4058 fi
4059 fi
4060 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4061 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4062
4063 # Check whether --with-dmalloc was given.
4064 if test "${with_dmalloc+set}" = set; then
4065 withval=$with_dmalloc;
4066 if test "$withval" = yes; then
4067 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4068 else
4069 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4070 fi
4071
4072 else
4073
4074 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4075
4076 fi
4077
4078
4079 eval "$wx_cv_use_dmalloc"
4080
4081 if test x"$withstring" = xwithout; then
4082 if test $wxUSE_DMALLOC = yes; then
4083 result=no
4084 else
4085 result=yes
4086 fi
4087 else
4088 result=$wxUSE_DMALLOC
4089 fi
4090
4091 { echo "$as_me:$LINENO: result: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4093
4094
4095 withstring=
4096 defaultval=$wxUSE_ALL_FEATURES
4097 if test -z "$defaultval"; then
4098 if test x"$withstring" = xwithout; then
4099 defaultval=yes
4100 else
4101 defaultval=no
4102 fi
4103 fi
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4106
4107 # Check whether --with-sdl was given.
4108 if test "${with_sdl+set}" = set; then
4109 withval=$with_sdl;
4110 if test "$withval" = yes; then
4111 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4112 else
4113 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4114 fi
4115
4116 else
4117
4118 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4119
4120 fi
4121
4122
4123 eval "$wx_cv_use_sdl"
4124
4125 if test x"$withstring" = xwithout; then
4126 if test $wxUSE_LIBSDL = yes; then
4127 result=no
4128 else
4129 result=yes
4130 fi
4131 else
4132 result=$wxUSE_LIBSDL
4133 fi
4134
4135 { echo "$as_me:$LINENO: result: $result" >&5
4136 echo "${ECHO_T}$result" >&6; }
4137
4138
4139 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4140 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4141
4142 # Check whether --with-regex was given.
4143 if test "${with_regex+set}" = set; then
4144 withval=$with_regex;
4145 if test "$withval" = yes; then
4146 wx_cv_use_regex='wxUSE_REGEX=yes'
4147 elif test "$withval" = no; then
4148 wx_cv_use_regex='wxUSE_REGEX=no'
4149 elif test "$withval" = sys; then
4150 wx_cv_use_regex='wxUSE_REGEX=sys'
4151 elif test "$withval" = builtin; then
4152 wx_cv_use_regex='wxUSE_REGEX=builtin'
4153 else
4154 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4155 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4156 { (exit 1); exit 1; }; }
4157 fi
4158
4159 else
4160
4161 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4162
4163 fi
4164
4165
4166 eval "$wx_cv_use_regex"
4167
4168 if test "$wxUSE_REGEX" = yes; then
4169 { echo "$as_me:$LINENO: result: yes" >&5
4170 echo "${ECHO_T}yes" >&6; }
4171 elif test "$wxUSE_REGEX" = no; then
4172 { echo "$as_me:$LINENO: result: no" >&5
4173 echo "${ECHO_T}no" >&6; }
4174 elif test "$wxUSE_REGEX" = sys; then
4175 { echo "$as_me:$LINENO: result: system version" >&5
4176 echo "${ECHO_T}system version" >&6; }
4177 elif test "$wxUSE_REGEX" = builtin; then
4178 { echo "$as_me:$LINENO: result: builtin version" >&5
4179 echo "${ECHO_T}builtin version" >&6; }
4180 else
4181 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4182 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4183 { (exit 1); exit 1; }; }
4184 fi
4185
4186
4187 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4188 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4189
4190 # Check whether --with-zlib was given.
4191 if test "${with_zlib+set}" = set; then
4192 withval=$with_zlib;
4193 if test "$withval" = yes; then
4194 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4195 elif test "$withval" = no; then
4196 wx_cv_use_zlib='wxUSE_ZLIB=no'
4197 elif test "$withval" = sys; then
4198 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4199 elif test "$withval" = builtin; then
4200 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4201 else
4202 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4203 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4205 fi
4206
4207 else
4208
4209 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4210
4211 fi
4212
4213
4214 eval "$wx_cv_use_zlib"
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-expat" >&5
4236 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4237
4238 # Check whether --with-expat was given.
4239 if test "${with_expat+set}" = set; then
4240 withval=$with_expat;
4241 if test "$withval" = yes; then
4242 wx_cv_use_expat='wxUSE_EXPAT=yes'
4243 elif test "$withval" = no; then
4244 wx_cv_use_expat='wxUSE_EXPAT=no'
4245 elif test "$withval" = sys; then
4246 wx_cv_use_expat='wxUSE_EXPAT=sys'
4247 elif test "$withval" = builtin; then
4248 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4249 else
4250 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4251 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4252 { (exit 1); exit 1; }; }
4253 fi
4254
4255 else
4256
4257 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4258
4259 fi
4260
4261
4262 eval "$wx_cv_use_expat"
4263
4264 if test "$wxUSE_EXPAT" = yes; then
4265 { echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6; }
4267 elif test "$wxUSE_EXPAT" = no; then
4268 { echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6; }
4270 elif test "$wxUSE_EXPAT" = sys; then
4271 { echo "$as_me:$LINENO: result: system version" >&5
4272 echo "${ECHO_T}system version" >&6; }
4273 elif test "$wxUSE_EXPAT" = builtin; then
4274 { echo "$as_me:$LINENO: result: builtin version" >&5
4275 echo "${ECHO_T}builtin version" >&6; }
4276 else
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4280 fi
4281
4282
4283 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4284 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4285
4286 # Check whether --with-macosx-sdk was given.
4287 if test "${with_macosx_sdk+set}" = set; then
4288 withval=$with_macosx_sdk;
4289 wxUSE_MACOSX_SDK=$withval
4290 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4291
4292 fi
4293
4294 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4295 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4296
4297 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4298 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4299
4300 # Check whether --with-macosx-version-min was given.
4301 if test "${with_macosx_version_min+set}" = set; then
4302 withval=$with_macosx_version_min;
4303 wxUSE_MACOSX_VERSION_MIN=$withval
4304 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4305
4306 fi
4307
4308 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4309 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4310
4311
4312
4313 enablestring=disable
4314 defaultval=
4315 if test -z "$defaultval"; then
4316 if test x"$enablestring" = xdisable; then
4317 defaultval=yes
4318 else
4319 defaultval=no
4320 fi
4321 fi
4322
4323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4325 # Check whether --enable-shared was given.
4326 if test "${enable_shared+set}" = set; then
4327 enableval=$enable_shared;
4328 if test "$enableval" = yes; then
4329 wx_cv_use_shared='wxUSE_SHARED=yes'
4330 else
4331 wx_cv_use_shared='wxUSE_SHARED=no'
4332 fi
4333
4334 else
4335
4336 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4337
4338 fi
4339
4340
4341 eval "$wx_cv_use_shared"
4342
4343 if test x"$enablestring" = xdisable; then
4344 if test $wxUSE_SHARED = yes; then
4345 result=no
4346 else
4347 result=yes
4348 fi
4349 else
4350 result=$wxUSE_SHARED
4351 fi
4352
4353 { echo "$as_me:$LINENO: result: $result" >&5
4354 echo "${ECHO_T}$result" >&6; }
4355
4356
4357 enablestring=
4358 defaultval=
4359 if test -z "$defaultval"; then
4360 if test x"$enablestring" = xdisable; then
4361 defaultval=yes
4362 else
4363 defaultval=no
4364 fi
4365 fi
4366
4367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4369 # Check whether --enable-debug was given.
4370 if test "${enable_debug+set}" = set; then
4371 enableval=$enable_debug;
4372 if test "$enableval" = yes; then
4373 wx_cv_use_debug='wxUSE_DEBUG=yes'
4374 else
4375 wx_cv_use_debug='wxUSE_DEBUG=no'
4376 fi
4377
4378 else
4379
4380 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4381
4382 fi
4383
4384
4385 eval "$wx_cv_use_debug"
4386
4387 if test x"$enablestring" = xdisable; then
4388 if test $wxUSE_DEBUG = yes; then
4389 result=no
4390 else
4391 result=yes
4392 fi
4393 else
4394 result=$wxUSE_DEBUG
4395 fi
4396
4397 { echo "$as_me:$LINENO: result: $result" >&5
4398 echo "${ECHO_T}$result" >&6; }
4399
4400
4401 enablestring=
4402 defaultval=
4403 if test -z "$defaultval"; then
4404 if test x"$enablestring" = xdisable; then
4405 defaultval=yes
4406 else
4407 defaultval=no
4408 fi
4409 fi
4410
4411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4412 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4413 # Check whether --enable-stl was given.
4414 if test "${enable_stl+set}" = set; then
4415 enableval=$enable_stl;
4416 if test "$enableval" = yes; then
4417 wx_cv_use_stl='wxUSE_STL=yes'
4418 else
4419 wx_cv_use_stl='wxUSE_STL=no'
4420 fi
4421
4422 else
4423
4424 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4425
4426 fi
4427
4428
4429 eval "$wx_cv_use_stl"
4430
4431 if test x"$enablestring" = xdisable; then
4432 if test $wxUSE_STL = yes; then
4433 result=no
4434 else
4435 result=yes
4436 fi
4437 else
4438 result=$wxUSE_STL
4439 fi
4440
4441 { echo "$as_me:$LINENO: result: $result" >&5
4442 echo "${ECHO_T}$result" >&6; }
4443
4444
4445 enablestring=
4446 defaultval=
4447 if test -z "$defaultval"; then
4448 if test x"$enablestring" = xdisable; then
4449 defaultval=yes
4450 else
4451 defaultval=no
4452 fi
4453 fi
4454
4455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4457 # Check whether --enable-std_iostreams was given.
4458 if test "${enable_std_iostreams+set}" = set; then
4459 enableval=$enable_std_iostreams;
4460 if test "$enableval" = yes; then
4461 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4462 else
4463 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4464 fi
4465
4466 else
4467
4468 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4469
4470 fi
4471
4472
4473 eval "$wx_cv_use_std_iostreams"
4474
4475 if test x"$enablestring" = xdisable; then
4476 if test $wxUSE_STD_IOSTREAM = yes; then
4477 result=no
4478 else
4479 result=yes
4480 fi
4481 else
4482 result=$wxUSE_STD_IOSTREAM
4483 fi
4484
4485 { echo "$as_me:$LINENO: result: $result" >&5
4486 echo "${ECHO_T}$result" >&6; }
4487
4488
4489 enablestring=
4490 defaultval=
4491 if test -z "$defaultval"; then
4492 if test x"$enablestring" = xdisable; then
4493 defaultval=yes
4494 else
4495 defaultval=no
4496 fi
4497 fi
4498
4499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4500 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4501 # Check whether --enable-std_string was given.
4502 if test "${enable_std_string+set}" = set; then
4503 enableval=$enable_std_string;
4504 if test "$enableval" = yes; then
4505 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4506 else
4507 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4508 fi
4509
4510 else
4511
4512 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4513
4514 fi
4515
4516
4517 eval "$wx_cv_use_std_string"
4518
4519 if test x"$enablestring" = xdisable; then
4520 if test $wxUSE_STD_STRING = yes; then
4521 result=no
4522 else
4523 result=yes
4524 fi
4525 else
4526 result=$wxUSE_STD_STRING
4527 fi
4528
4529 { echo "$as_me:$LINENO: result: $result" >&5
4530 echo "${ECHO_T}$result" >&6; }
4531
4532
4533 enablestring=disable
4534 defaultval=
4535 if test -z "$defaultval"; then
4536 if test x"$enablestring" = xdisable; then
4537 defaultval=yes
4538 else
4539 defaultval=no
4540 fi
4541 fi
4542
4543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4545 # Check whether --enable-unicode was given.
4546 if test "${enable_unicode+set}" = set; then
4547 enableval=$enable_unicode;
4548 if test "$enableval" = yes; then
4549 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4550 else
4551 wx_cv_use_unicode='wxUSE_UNICODE=no'
4552 fi
4553
4554 else
4555
4556 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4557
4558 fi
4559
4560
4561 eval "$wx_cv_use_unicode"
4562
4563 if test x"$enablestring" = xdisable; then
4564 if test $wxUSE_UNICODE = yes; then
4565 result=no
4566 else
4567 result=yes
4568 fi
4569 else
4570 result=$wxUSE_UNICODE
4571 fi
4572
4573 { echo "$as_me:$LINENO: result: $result" >&5
4574 echo "${ECHO_T}$result" >&6; }
4575
4576
4577 enablestring=
4578 defaultval=
4579 if test -z "$defaultval"; then
4580 if test x"$enablestring" = xdisable; then
4581 defaultval=yes
4582 else
4583 defaultval=no
4584 fi
4585 fi
4586
4587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4589 # Check whether --enable-mslu was given.
4590 if test "${enable_mslu+set}" = set; then
4591 enableval=$enable_mslu;
4592 if test "$enableval" = yes; then
4593 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4594 else
4595 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4596 fi
4597
4598 else
4599
4600 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4601
4602 fi
4603
4604
4605 eval "$wx_cv_use_mslu"
4606
4607 if test x"$enablestring" = xdisable; then
4608 if test $wxUSE_UNICODE_MSLU = yes; then
4609 result=no
4610 else
4611 result=yes
4612 fi
4613 else
4614 result=$wxUSE_UNICODE_MSLU
4615 fi
4616
4617 { echo "$as_me:$LINENO: result: $result" >&5
4618 echo "${ECHO_T}$result" >&6; }
4619
4620
4621 enablestring=
4622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4623 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4624 # Check whether --enable-utf8 was given.
4625 if test "${enable_utf8+set}" = set; then
4626 enableval=$enable_utf8;
4627 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4628
4629 else
4630
4631 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4632
4633 fi
4634
4635
4636 eval "$wx_cv_use_utf8"
4637
4638 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4639 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4640
4641
4642 enablestring=
4643 defaultval=
4644 if test -z "$defaultval"; then
4645 if test x"$enablestring" = xdisable; then
4646 defaultval=yes
4647 else
4648 defaultval=no
4649 fi
4650 fi
4651
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4654 # Check whether --enable-utf8only was given.
4655 if test "${enable_utf8only+set}" = set; then
4656 enableval=$enable_utf8only;
4657 if test "$enableval" = yes; then
4658 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4659 else
4660 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4661 fi
4662
4663 else
4664
4665 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4666
4667 fi
4668
4669
4670 eval "$wx_cv_use_utf8only"
4671
4672 if test x"$enablestring" = xdisable; then
4673 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4674 result=no
4675 else
4676 result=yes
4677 fi
4678 else
4679 result=$wxUSE_UNICODE_UTF8_LOCALE
4680 fi
4681
4682 { echo "$as_me:$LINENO: result: $result" >&5
4683 echo "${ECHO_T}$result" >&6; }
4684
4685
4686 enablestring=
4687 defaultval=
4688 if test -z "$defaultval"; then
4689 if test x"$enablestring" = xdisable; then
4690 defaultval=yes
4691 else
4692 defaultval=no
4693 fi
4694 fi
4695
4696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4698 # Check whether --enable-extended_rtti was given.
4699 if test "${enable_extended_rtti+set}" = set; then
4700 enableval=$enable_extended_rtti;
4701 if test "$enableval" = yes; then
4702 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4703 else
4704 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4705 fi
4706
4707 else
4708
4709 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4710
4711 fi
4712
4713
4714 eval "$wx_cv_use_extended_rtti"
4715
4716 if test x"$enablestring" = xdisable; then
4717 if test $wxUSE_EXTENDED_RTTI = yes; then
4718 result=no
4719 else
4720 result=yes
4721 fi
4722 else
4723 result=$wxUSE_EXTENDED_RTTI
4724 fi
4725
4726 { echo "$as_me:$LINENO: result: $result" >&5
4727 echo "${ECHO_T}$result" >&6; }
4728
4729 if test "$USE_OS2" = 1; then
4730 DEFAULT_wxUSE_OMF=no
4731
4732 enablestring=
4733 defaultval=
4734 if test -z "$defaultval"; then
4735 if test x"$enablestring" = xdisable; then
4736 defaultval=yes
4737 else
4738 defaultval=no
4739 fi
4740 fi
4741
4742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4744 # Check whether --enable-omf was given.
4745 if test "${enable_omf+set}" = set; then
4746 enableval=$enable_omf;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_omf='wxUSE_OMF=yes'
4749 else
4750 wx_cv_use_omf='wxUSE_OMF=no'
4751 fi
4752
4753 else
4754
4755 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4756
4757 fi
4758
4759
4760 eval "$wx_cv_use_omf"
4761
4762 if test x"$enablestring" = xdisable; then
4763 if test $wxUSE_OMF = yes; then
4764 result=no
4765 else
4766 result=yes
4767 fi
4768 else
4769 result=$wxUSE_OMF
4770 fi
4771
4772 { echo "$as_me:$LINENO: result: $result" >&5
4773 echo "${ECHO_T}$result" >&6; }
4774
4775 fi
4776
4777 if test "$wxUSE_DEBUG" = "yes"; then
4778 DEFAULT_wxUSE_DEBUG_FLAG=yes
4779 DEFAULT_wxUSE_DEBUG_INFO=yes
4780 BUILD=debug
4781 elif test "$wxUSE_DEBUG" = "no"; then
4782 DEFAULT_wxUSE_DEBUG_FLAG=no
4783 DEFAULT_wxUSE_DEBUG_INFO=no
4784 BUILD=release
4785 fi
4786
4787
4788 enablestring=
4789 defaultval=
4790 if test -z "$defaultval"; then
4791 if test x"$enablestring" = xdisable; then
4792 defaultval=yes
4793 else
4794 defaultval=no
4795 fi
4796 fi
4797
4798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4799 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4800 # Check whether --enable-debug_flag was given.
4801 if test "${enable_debug_flag+set}" = set; then
4802 enableval=$enable_debug_flag;
4803 if test "$enableval" = yes; then
4804 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4805 else
4806 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4807 fi
4808
4809 else
4810
4811 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4812
4813 fi
4814
4815
4816 eval "$wx_cv_use_debug_flag"
4817
4818 if test x"$enablestring" = xdisable; then
4819 if test $wxUSE_DEBUG_FLAG = yes; then
4820 result=no
4821 else
4822 result=yes
4823 fi
4824 else
4825 result=$wxUSE_DEBUG_FLAG
4826 fi
4827
4828 { echo "$as_me:$LINENO: result: $result" >&5
4829 echo "${ECHO_T}$result" >&6; }
4830
4831
4832 enablestring=
4833 defaultval=
4834 if test -z "$defaultval"; then
4835 if test x"$enablestring" = xdisable; then
4836 defaultval=yes
4837 else
4838 defaultval=no
4839 fi
4840 fi
4841
4842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4844 # Check whether --enable-debug_info was given.
4845 if test "${enable_debug_info+set}" = set; then
4846 enableval=$enable_debug_info;
4847 if test "$enableval" = yes; then
4848 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4849 else
4850 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4851 fi
4852
4853 else
4854
4855 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4856
4857 fi
4858
4859
4860 eval "$wx_cv_use_debug_info"
4861
4862 if test x"$enablestring" = xdisable; then
4863 if test $wxUSE_DEBUG_INFO = yes; then
4864 result=no
4865 else
4866 result=yes
4867 fi
4868 else
4869 result=$wxUSE_DEBUG_INFO
4870 fi
4871
4872 { echo "$as_me:$LINENO: result: $result" >&5
4873 echo "${ECHO_T}$result" >&6; }
4874
4875
4876 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4877 wxUSE_DEBUG=yes
4878 BUILD=debug
4879 fi
4880
4881 if test "$wxUSE_DEBUG" = "yes"; then
4882 DEFAULT_wxUSE_OPTIMISE=no
4883 fi
4884
4885
4886 enablestring=disable
4887 defaultval=
4888 if test -z "$defaultval"; then
4889 if test x"$enablestring" = xdisable; then
4890 defaultval=yes
4891 else
4892 defaultval=no
4893 fi
4894 fi
4895
4896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4898 # Check whether --enable-optimise was given.
4899 if test "${enable_optimise+set}" = set; then
4900 enableval=$enable_optimise;
4901 if test "$enableval" = yes; then
4902 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4903 else
4904 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4905 fi
4906
4907 else
4908
4909 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4910
4911 fi
4912
4913
4914 eval "$wx_cv_use_optimise"
4915
4916 if test x"$enablestring" = xdisable; then
4917 if test $wxUSE_OPTIMISE = yes; then
4918 result=no
4919 else
4920 result=yes
4921 fi
4922 else
4923 result=$wxUSE_OPTIMISE
4924 fi
4925
4926 { echo "$as_me:$LINENO: result: $result" >&5
4927 echo "${ECHO_T}$result" >&6; }
4928
4929
4930
4931 enablestring=
4932 defaultval=
4933 if test -z "$defaultval"; then
4934 if test x"$enablestring" = xdisable; then
4935 defaultval=yes
4936 else
4937 defaultval=no
4938 fi
4939 fi
4940
4941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4942 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4943 # Check whether --enable-debug_gdb was given.
4944 if test "${enable_debug_gdb+set}" = set; then
4945 enableval=$enable_debug_gdb;
4946 if test "$enableval" = yes; then
4947 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4948 else
4949 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4950 fi
4951
4952 else
4953
4954 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4955
4956 fi
4957
4958
4959 eval "$wx_cv_use_debug_gdb"
4960
4961 if test x"$enablestring" = xdisable; then
4962 if test $wxUSE_DEBUG_GDB = yes; then
4963 result=no
4964 else
4965 result=yes
4966 fi
4967 else
4968 result=$wxUSE_DEBUG_GDB
4969 fi
4970
4971 { echo "$as_me:$LINENO: result: $result" >&5
4972 echo "${ECHO_T}$result" >&6; }
4973
4974
4975 enablestring=
4976 defaultval=
4977 if test -z "$defaultval"; then
4978 if test x"$enablestring" = xdisable; then
4979 defaultval=yes
4980 else
4981 defaultval=no
4982 fi
4983 fi
4984
4985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4986 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4987 # Check whether --enable-debug_cntxt was given.
4988 if test "${enable_debug_cntxt+set}" = set; then
4989 enableval=$enable_debug_cntxt;
4990 if test "$enableval" = yes; then
4991 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4992 else
4993 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4994 fi
4995
4996 else
4997
4998 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4999
5000 fi
5001
5002
5003 eval "$wx_cv_use_debug_cntxt"
5004
5005 if test x"$enablestring" = xdisable; then
5006 if test $wxUSE_DEBUG_CONTEXT = yes; then
5007 result=no
5008 else
5009 result=yes
5010 fi
5011 else
5012 result=$wxUSE_DEBUG_CONTEXT
5013 fi
5014
5015 { echo "$as_me:$LINENO: result: $result" >&5
5016 echo "${ECHO_T}$result" >&6; }
5017
5018
5019 enablestring=
5020 defaultval=
5021 if test -z "$defaultval"; then
5022 if test x"$enablestring" = xdisable; then
5023 defaultval=yes
5024 else
5025 defaultval=no
5026 fi
5027 fi
5028
5029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5031 # Check whether --enable-mem_tracing was given.
5032 if test "${enable_mem_tracing+set}" = set; then
5033 enableval=$enable_mem_tracing;
5034 if test "$enableval" = yes; then
5035 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5036 else
5037 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5038 fi
5039
5040 else
5041
5042 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5043
5044 fi
5045
5046
5047 eval "$wx_cv_use_mem_tracing"
5048
5049 if test x"$enablestring" = xdisable; then
5050 if test $wxUSE_MEM_TRACING = yes; then
5051 result=no
5052 else
5053 result=yes
5054 fi
5055 else
5056 result=$wxUSE_MEM_TRACING
5057 fi
5058
5059 { echo "$as_me:$LINENO: result: $result" >&5
5060 echo "${ECHO_T}$result" >&6; }
5061
5062
5063 enablestring=
5064 defaultval=
5065 if test -z "$defaultval"; then
5066 if test x"$enablestring" = xdisable; then
5067 defaultval=yes
5068 else
5069 defaultval=no
5070 fi
5071 fi
5072
5073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5074 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5075 # Check whether --enable-profile was given.
5076 if test "${enable_profile+set}" = set; then
5077 enableval=$enable_profile;
5078 if test "$enableval" = yes; then
5079 wx_cv_use_profile='wxUSE_PROFILE=yes'
5080 else
5081 wx_cv_use_profile='wxUSE_PROFILE=no'
5082 fi
5083
5084 else
5085
5086 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5087
5088 fi
5089
5090
5091 eval "$wx_cv_use_profile"
5092
5093 if test x"$enablestring" = xdisable; then
5094 if test $wxUSE_PROFILE = yes; then
5095 result=no
5096 else
5097 result=yes
5098 fi
5099 else
5100 result=$wxUSE_PROFILE
5101 fi
5102
5103 { echo "$as_me:$LINENO: result: $result" >&5
5104 echo "${ECHO_T}$result" >&6; }
5105
5106
5107 enablestring=
5108 defaultval=
5109 if test -z "$defaultval"; then
5110 if test x"$enablestring" = xdisable; then
5111 defaultval=yes
5112 else
5113 defaultval=no
5114 fi
5115 fi
5116
5117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5118 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5119 # Check whether --enable-no_rtti was given.
5120 if test "${enable_no_rtti+set}" = set; then
5121 enableval=$enable_no_rtti;
5122 if test "$enableval" = yes; then
5123 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5124 else
5125 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5126 fi
5127
5128 else
5129
5130 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5131
5132 fi
5133
5134
5135 eval "$wx_cv_use_no_rtti"
5136
5137 if test x"$enablestring" = xdisable; then
5138 if test $wxUSE_NO_RTTI = yes; then
5139 result=no
5140 else
5141 result=yes
5142 fi
5143 else
5144 result=$wxUSE_NO_RTTI
5145 fi
5146
5147 { echo "$as_me:$LINENO: result: $result" >&5
5148 echo "${ECHO_T}$result" >&6; }
5149
5150
5151 enablestring=
5152 defaultval=
5153 if test -z "$defaultval"; then
5154 if test x"$enablestring" = xdisable; then
5155 defaultval=yes
5156 else
5157 defaultval=no
5158 fi
5159 fi
5160
5161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5163 # Check whether --enable-no_exceptions was given.
5164 if test "${enable_no_exceptions+set}" = set; then
5165 enableval=$enable_no_exceptions;
5166 if test "$enableval" = yes; then
5167 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5168 else
5169 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5170 fi
5171
5172 else
5173
5174 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5175
5176 fi
5177
5178
5179 eval "$wx_cv_use_no_exceptions"
5180
5181 if test x"$enablestring" = xdisable; then
5182 if test $wxUSE_NO_EXCEPTIONS = yes; then
5183 result=no
5184 else
5185 result=yes
5186 fi
5187 else
5188 result=$wxUSE_NO_EXCEPTIONS
5189 fi
5190
5191 { echo "$as_me:$LINENO: result: $result" >&5
5192 echo "${ECHO_T}$result" >&6; }
5193
5194
5195 enablestring=
5196 defaultval=
5197 if test -z "$defaultval"; then
5198 if test x"$enablestring" = xdisable; then
5199 defaultval=yes
5200 else
5201 defaultval=no
5202 fi
5203 fi
5204
5205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5206 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5207 # Check whether --enable-permissive was given.
5208 if test "${enable_permissive+set}" = set; then
5209 enableval=$enable_permissive;
5210 if test "$enableval" = yes; then
5211 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5212 else
5213 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5214 fi
5215
5216 else
5217
5218 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5219
5220 fi
5221
5222
5223 eval "$wx_cv_use_permissive"
5224
5225 if test x"$enablestring" = xdisable; then
5226 if test $wxUSE_PERMISSIVE = yes; then
5227 result=no
5228 else
5229 result=yes
5230 fi
5231 else
5232 result=$wxUSE_PERMISSIVE
5233 fi
5234
5235 { echo "$as_me:$LINENO: result: $result" >&5
5236 echo "${ECHO_T}$result" >&6; }
5237
5238
5239 enablestring=
5240 defaultval=
5241 if test -z "$defaultval"; then
5242 if test x"$enablestring" = xdisable; then
5243 defaultval=yes
5244 else
5245 defaultval=no
5246 fi
5247 fi
5248
5249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5251 # Check whether --enable-no_deps was given.
5252 if test "${enable_no_deps+set}" = set; then
5253 enableval=$enable_no_deps;
5254 if test "$enableval" = yes; then
5255 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5256 else
5257 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5258 fi
5259
5260 else
5261
5262 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5263
5264 fi
5265
5266
5267 eval "$wx_cv_use_no_deps"
5268
5269 if test x"$enablestring" = xdisable; then
5270 if test $wxUSE_NO_DEPS = yes; then
5271 result=no
5272 else
5273 result=yes
5274 fi
5275 else
5276 result=$wxUSE_NO_DEPS
5277 fi
5278
5279 { echo "$as_me:$LINENO: result: $result" >&5
5280 echo "${ECHO_T}$result" >&6; }
5281
5282
5283 enablestring=disable
5284 defaultval=
5285 if test -z "$defaultval"; then
5286 if test x"$enablestring" = xdisable; then
5287 defaultval=yes
5288 else
5289 defaultval=no
5290 fi
5291 fi
5292
5293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5295 # Check whether --enable-vararg_macros was given.
5296 if test "${enable_vararg_macros+set}" = set; then
5297 enableval=$enable_vararg_macros;
5298 if test "$enableval" = yes; then
5299 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5300 else
5301 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5302 fi
5303
5304 else
5305
5306 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5307
5308 fi
5309
5310
5311 eval "$wx_cv_use_vararg_macros"
5312
5313 if test x"$enablestring" = xdisable; then
5314 if test $wxUSE_VARARG_MACROS = yes; then
5315 result=no
5316 else
5317 result=yes
5318 fi
5319 else
5320 result=$wxUSE_VARARG_MACROS
5321 fi
5322
5323 { echo "$as_me:$LINENO: result: $result" >&5
5324 echo "${ECHO_T}$result" >&6; }
5325
5326
5327 enablestring=
5328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5329 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5330 # Check whether --enable-universal_binary was given.
5331 if test "${enable_universal_binary+set}" = set; then
5332 enableval=$enable_universal_binary;
5333 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5334
5335 else
5336
5337 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5338
5339 fi
5340
5341
5342 eval "$wx_cv_use_universal_binary"
5343
5344 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5345 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5346
5347
5348
5349 enablestring=
5350 defaultval=
5351 if test -z "$defaultval"; then
5352 if test x"$enablestring" = xdisable; then
5353 defaultval=yes
5354 else
5355 defaultval=no
5356 fi
5357 fi
5358
5359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5361 # Check whether --enable-compat26 was given.
5362 if test "${enable_compat26+set}" = set; then
5363 enableval=$enable_compat26;
5364 if test "$enableval" = yes; then
5365 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5366 else
5367 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5368 fi
5369
5370 else
5371
5372 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5373
5374 fi
5375
5376
5377 eval "$wx_cv_use_compat26"
5378
5379 if test x"$enablestring" = xdisable; then
5380 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5381 result=no
5382 else
5383 result=yes
5384 fi
5385 else
5386 result=$WXWIN_COMPATIBILITY_2_6
5387 fi
5388
5389 { echo "$as_me:$LINENO: result: $result" >&5
5390 echo "${ECHO_T}$result" >&6; }
5391
5392
5393 enablestring=disable
5394 defaultval=
5395 if test -z "$defaultval"; then
5396 if test x"$enablestring" = xdisable; then
5397 defaultval=yes
5398 else
5399 defaultval=no
5400 fi
5401 fi
5402
5403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5404 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5405 # Check whether --enable-compat28 was given.
5406 if test "${enable_compat28+set}" = set; then
5407 enableval=$enable_compat28;
5408 if test "$enableval" = yes; then
5409 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5410 else
5411 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5412 fi
5413
5414 else
5415
5416 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5417
5418 fi
5419
5420
5421 eval "$wx_cv_use_compat28"
5422
5423 if test x"$enablestring" = xdisable; then
5424 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5425 result=no
5426 else
5427 result=yes
5428 fi
5429 else
5430 result=$WXWIN_COMPATIBILITY_2_8
5431 fi
5432
5433 { echo "$as_me:$LINENO: result: $result" >&5
5434 echo "${ECHO_T}$result" >&6; }
5435
5436
5437
5438 enablestring=disable
5439 defaultval=
5440 if test -z "$defaultval"; then
5441 if test x"$enablestring" = xdisable; then
5442 defaultval=yes
5443 else
5444 defaultval=no
5445 fi
5446 fi
5447
5448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5449 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5450 # Check whether --enable-rpath was given.
5451 if test "${enable_rpath+set}" = set; then
5452 enableval=$enable_rpath;
5453 if test "$enableval" = yes; then
5454 wx_cv_use_rpath='wxUSE_RPATH=yes'
5455 else
5456 wx_cv_use_rpath='wxUSE_RPATH=no'
5457 fi
5458
5459 else
5460
5461 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5462
5463 fi
5464
5465
5466 eval "$wx_cv_use_rpath"
5467
5468 if test x"$enablestring" = xdisable; then
5469 if test $wxUSE_RPATH = yes; then
5470 result=no
5471 else
5472 result=yes
5473 fi
5474 else
5475 result=$wxUSE_RPATH
5476 fi
5477
5478 { echo "$as_me:$LINENO: result: $result" >&5
5479 echo "${ECHO_T}$result" >&6; }
5480
5481
5482
5483 enablestring=
5484 defaultval=
5485 if test -z "$defaultval"; then
5486 if test x"$enablestring" = xdisable; then
5487 defaultval=yes
5488 else
5489 defaultval=no
5490 fi
5491 fi
5492
5493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5495 # Check whether --enable-objc_uniquifying was given.
5496 if test "${enable_objc_uniquifying+set}" = set; then
5497 enableval=$enable_objc_uniquifying;
5498 if test "$enableval" = yes; then
5499 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5500 else
5501 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5502 fi
5503
5504 else
5505
5506 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5507
5508 fi
5509
5510
5511 eval "$wx_cv_use_objc_uniquifying"
5512
5513 if test x"$enablestring" = xdisable; then
5514 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5515 result=no
5516 else
5517 result=yes
5518 fi
5519 else
5520 result=$wxUSE_OBJC_UNIQUIFYING
5521 fi
5522
5523 { echo "$as_me:$LINENO: result: $result" >&5
5524 echo "${ECHO_T}$result" >&6; }
5525
5526
5527
5528 enablestring=disable
5529 defaultval=
5530 if test -z "$defaultval"; then
5531 if test x"$enablestring" = xdisable; then
5532 defaultval=yes
5533 else
5534 defaultval=no
5535 fi
5536 fi
5537
5538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5539 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5540 # Check whether --enable-visibility was given.
5541 if test "${enable_visibility+set}" = set; then
5542 enableval=$enable_visibility;
5543 if test "$enableval" = yes; then
5544 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5545 else
5546 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5547 fi
5548
5549 else
5550
5551 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5552
5553 fi
5554
5555
5556 eval "$wx_cv_use_visibility"
5557
5558 if test x"$enablestring" = xdisable; then
5559 if test $wxUSE_VISIBILITY = yes; then
5560 result=no
5561 else
5562 result=yes
5563 fi
5564 else
5565 result=$wxUSE_VISIBILITY
5566 fi
5567
5568 { echo "$as_me:$LINENO: result: $result" >&5
5569 echo "${ECHO_T}$result" >&6; }
5570
5571
5572
5573
5574 enablestring=
5575 defaultval=$wxUSE_ALL_FEATURES
5576 if test -z "$defaultval"; then
5577 if test x"$enablestring" = xdisable; then
5578 defaultval=yes
5579 else
5580 defaultval=no
5581 fi
5582 fi
5583
5584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5586 # Check whether --enable-intl was given.
5587 if test "${enable_intl+set}" = set; then
5588 enableval=$enable_intl;
5589 if test "$enableval" = yes; then
5590 wx_cv_use_intl='wxUSE_INTL=yes'
5591 else
5592 wx_cv_use_intl='wxUSE_INTL=no'
5593 fi
5594
5595 else
5596
5597 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5598
5599 fi
5600
5601
5602 eval "$wx_cv_use_intl"
5603
5604 if test x"$enablestring" = xdisable; then
5605 if test $wxUSE_INTL = yes; then
5606 result=no
5607 else
5608 result=yes
5609 fi
5610 else
5611 result=$wxUSE_INTL
5612 fi
5613
5614 { echo "$as_me:$LINENO: result: $result" >&5
5615 echo "${ECHO_T}$result" >&6; }
5616
5617
5618 enablestring=
5619 defaultval=$wxUSE_ALL_FEATURES
5620 if test -z "$defaultval"; then
5621 if test x"$enablestring" = xdisable; then
5622 defaultval=yes
5623 else
5624 defaultval=no
5625 fi
5626 fi
5627
5628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5630 # Check whether --enable-xlocale was given.
5631 if test "${enable_xlocale+set}" = set; then
5632 enableval=$enable_xlocale;
5633 if test "$enableval" = yes; then
5634 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5635 else
5636 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5637 fi
5638
5639 else
5640
5641 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5642
5643 fi
5644
5645
5646 eval "$wx_cv_use_xlocale"
5647
5648 if test x"$enablestring" = xdisable; then
5649 if test $wxUSE_XLOCALE = yes; then
5650 result=no
5651 else
5652 result=yes
5653 fi
5654 else
5655 result=$wxUSE_XLOCALE
5656 fi
5657
5658 { echo "$as_me:$LINENO: result: $result" >&5
5659 echo "${ECHO_T}$result" >&6; }
5660
5661
5662 enablestring=
5663 defaultval=$wxUSE_ALL_FEATURES
5664 if test -z "$defaultval"; then
5665 if test x"$enablestring" = xdisable; then
5666 defaultval=yes
5667 else
5668 defaultval=no
5669 fi
5670 fi
5671
5672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5674 # Check whether --enable-config was given.
5675 if test "${enable_config+set}" = set; then
5676 enableval=$enable_config;
5677 if test "$enableval" = yes; then
5678 wx_cv_use_config='wxUSE_CONFIG=yes'
5679 else
5680 wx_cv_use_config='wxUSE_CONFIG=no'
5681 fi
5682
5683 else
5684
5685 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5686
5687 fi
5688
5689
5690 eval "$wx_cv_use_config"
5691
5692 if test x"$enablestring" = xdisable; then
5693 if test $wxUSE_CONFIG = yes; then
5694 result=no
5695 else
5696 result=yes
5697 fi
5698 else
5699 result=$wxUSE_CONFIG
5700 fi
5701
5702 { echo "$as_me:$LINENO: result: $result" >&5
5703 echo "${ECHO_T}$result" >&6; }
5704
5705
5706
5707 enablestring=
5708 defaultval=$wxUSE_ALL_FEATURES
5709 if test -z "$defaultval"; then
5710 if test x"$enablestring" = xdisable; then
5711 defaultval=yes
5712 else
5713 defaultval=no
5714 fi
5715 fi
5716
5717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5719 # Check whether --enable-protocols was given.
5720 if test "${enable_protocols+set}" = set; then
5721 enableval=$enable_protocols;
5722 if test "$enableval" = yes; then
5723 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5724 else
5725 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5726 fi
5727
5728 else
5729
5730 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5731
5732 fi
5733
5734
5735 eval "$wx_cv_use_protocols"
5736
5737 if test x"$enablestring" = xdisable; then
5738 if test $wxUSE_PROTOCOL = yes; then
5739 result=no
5740 else
5741 result=yes
5742 fi
5743 else
5744 result=$wxUSE_PROTOCOL
5745 fi
5746
5747 { echo "$as_me:$LINENO: result: $result" >&5
5748 echo "${ECHO_T}$result" >&6; }
5749
5750
5751 enablestring=
5752 defaultval=$wxUSE_ALL_FEATURES
5753 if test -z "$defaultval"; then
5754 if test x"$enablestring" = xdisable; then
5755 defaultval=yes
5756 else
5757 defaultval=no
5758 fi
5759 fi
5760
5761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5763 # Check whether --enable-ftp was given.
5764 if test "${enable_ftp+set}" = set; then
5765 enableval=$enable_ftp;
5766 if test "$enableval" = yes; then
5767 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5768 else
5769 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5770 fi
5771
5772 else
5773
5774 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5775
5776 fi
5777
5778
5779 eval "$wx_cv_use_ftp"
5780
5781 if test x"$enablestring" = xdisable; then
5782 if test $wxUSE_PROTOCOL_FTP = yes; then
5783 result=no
5784 else
5785 result=yes
5786 fi
5787 else
5788 result=$wxUSE_PROTOCOL_FTP
5789 fi
5790
5791 { echo "$as_me:$LINENO: result: $result" >&5
5792 echo "${ECHO_T}$result" >&6; }
5793
5794
5795 enablestring=
5796 defaultval=$wxUSE_ALL_FEATURES
5797 if test -z "$defaultval"; then
5798 if test x"$enablestring" = xdisable; then
5799 defaultval=yes
5800 else
5801 defaultval=no
5802 fi
5803 fi
5804
5805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5806 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5807 # Check whether --enable-http was given.
5808 if test "${enable_http+set}" = set; then
5809 enableval=$enable_http;
5810 if test "$enableval" = yes; then
5811 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5812 else
5813 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5814 fi
5815
5816 else
5817
5818 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5819
5820 fi
5821
5822
5823 eval "$wx_cv_use_http"
5824
5825 if test x"$enablestring" = xdisable; then
5826 if test $wxUSE_PROTOCOL_HTTP = yes; then
5827 result=no
5828 else
5829 result=yes
5830 fi
5831 else
5832 result=$wxUSE_PROTOCOL_HTTP
5833 fi
5834
5835 { echo "$as_me:$LINENO: result: $result" >&5
5836 echo "${ECHO_T}$result" >&6; }
5837
5838
5839 enablestring=
5840 defaultval=$wxUSE_ALL_FEATURES
5841 if test -z "$defaultval"; then
5842 if test x"$enablestring" = xdisable; then
5843 defaultval=yes
5844 else
5845 defaultval=no
5846 fi
5847 fi
5848
5849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5850 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5851 # Check whether --enable-fileproto was given.
5852 if test "${enable_fileproto+set}" = set; then
5853 enableval=$enable_fileproto;
5854 if test "$enableval" = yes; then
5855 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5856 else
5857 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5858 fi
5859
5860 else
5861
5862 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5863
5864 fi
5865
5866
5867 eval "$wx_cv_use_fileproto"
5868
5869 if test x"$enablestring" = xdisable; then
5870 if test $wxUSE_PROTOCOL_FILE = yes; then
5871 result=no
5872 else
5873 result=yes
5874 fi
5875 else
5876 result=$wxUSE_PROTOCOL_FILE
5877 fi
5878
5879 { echo "$as_me:$LINENO: result: $result" >&5
5880 echo "${ECHO_T}$result" >&6; }
5881
5882
5883 enablestring=
5884 defaultval=$wxUSE_ALL_FEATURES
5885 if test -z "$defaultval"; then
5886 if test x"$enablestring" = xdisable; then
5887 defaultval=yes
5888 else
5889 defaultval=no
5890 fi
5891 fi
5892
5893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5894 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5895 # Check whether --enable-sockets was given.
5896 if test "${enable_sockets+set}" = set; then
5897 enableval=$enable_sockets;
5898 if test "$enableval" = yes; then
5899 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5900 else
5901 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5902 fi
5903
5904 else
5905
5906 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5907
5908 fi
5909
5910
5911 eval "$wx_cv_use_sockets"
5912
5913 if test x"$enablestring" = xdisable; then
5914 if test $wxUSE_SOCKETS = yes; then
5915 result=no
5916 else
5917 result=yes
5918 fi
5919 else
5920 result=$wxUSE_SOCKETS
5921 fi
5922
5923 { echo "$as_me:$LINENO: result: $result" >&5
5924 echo "${ECHO_T}$result" >&6; }
5925
5926
5927 enablestring=
5928 defaultval=$wxUSE_ALL_FEATURES
5929 if test -z "$defaultval"; then
5930 if test x"$enablestring" = xdisable; then
5931 defaultval=yes
5932 else
5933 defaultval=no
5934 fi
5935 fi
5936
5937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5939 # Check whether --enable-ipv6 was given.
5940 if test "${enable_ipv6+set}" = set; then
5941 enableval=$enable_ipv6;
5942 if test "$enableval" = yes; then
5943 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5944 else
5945 wx_cv_use_ipv6='wxUSE_IPV6=no'
5946 fi
5947
5948 else
5949
5950 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5951
5952 fi
5953
5954
5955 eval "$wx_cv_use_ipv6"
5956
5957 if test x"$enablestring" = xdisable; then
5958 if test $wxUSE_IPV6 = yes; then
5959 result=no
5960 else
5961 result=yes
5962 fi
5963 else
5964 result=$wxUSE_IPV6
5965 fi
5966
5967 { echo "$as_me:$LINENO: result: $result" >&5
5968 echo "${ECHO_T}$result" >&6; }
5969
5970
5971 enablestring=
5972 defaultval=$wxUSE_ALL_FEATURES
5973 if test -z "$defaultval"; then
5974 if test x"$enablestring" = xdisable; then
5975 defaultval=yes
5976 else
5977 defaultval=no
5978 fi
5979 fi
5980
5981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5982 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5983 # Check whether --enable-ole was given.
5984 if test "${enable_ole+set}" = set; then
5985 enableval=$enable_ole;
5986 if test "$enableval" = yes; then
5987 wx_cv_use_ole='wxUSE_OLE=yes'
5988 else
5989 wx_cv_use_ole='wxUSE_OLE=no'
5990 fi
5991
5992 else
5993
5994 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5995
5996 fi
5997
5998
5999 eval "$wx_cv_use_ole"
6000
6001 if test x"$enablestring" = xdisable; then
6002 if test $wxUSE_OLE = yes; then
6003 result=no
6004 else
6005 result=yes
6006 fi
6007 else
6008 result=$wxUSE_OLE
6009 fi
6010
6011 { echo "$as_me:$LINENO: result: $result" >&5
6012 echo "${ECHO_T}$result" >&6; }
6013
6014
6015 enablestring=
6016 defaultval=$wxUSE_ALL_FEATURES
6017 if test -z "$defaultval"; then
6018 if test x"$enablestring" = xdisable; then
6019 defaultval=yes
6020 else
6021 defaultval=no
6022 fi
6023 fi
6024
6025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6026 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6027 # Check whether --enable-dataobj was given.
6028 if test "${enable_dataobj+set}" = set; then
6029 enableval=$enable_dataobj;
6030 if test "$enableval" = yes; then
6031 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6032 else
6033 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6034 fi
6035
6036 else
6037
6038 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6039
6040 fi
6041
6042
6043 eval "$wx_cv_use_dataobj"
6044
6045 if test x"$enablestring" = xdisable; then
6046 if test $wxUSE_DATAOBJ = yes; then
6047 result=no
6048 else
6049 result=yes
6050 fi
6051 else
6052 result=$wxUSE_DATAOBJ
6053 fi
6054
6055 { echo "$as_me:$LINENO: result: $result" >&5
6056 echo "${ECHO_T}$result" >&6; }
6057
6058
6059
6060 enablestring=
6061 defaultval=$wxUSE_ALL_FEATURES
6062 if test -z "$defaultval"; then
6063 if test x"$enablestring" = xdisable; then
6064 defaultval=yes
6065 else
6066 defaultval=no
6067 fi
6068 fi
6069
6070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6072 # Check whether --enable-ipc was given.
6073 if test "${enable_ipc+set}" = set; then
6074 enableval=$enable_ipc;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_ipc='wxUSE_IPC=yes'
6077 else
6078 wx_cv_use_ipc='wxUSE_IPC=no'
6079 fi
6080
6081 else
6082
6083 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6084
6085 fi
6086
6087
6088 eval "$wx_cv_use_ipc"
6089
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_IPC = yes; then
6092 result=no
6093 else
6094 result=yes
6095 fi
6096 else
6097 result=$wxUSE_IPC
6098 fi
6099
6100 { echo "$as_me:$LINENO: result: $result" >&5
6101 echo "${ECHO_T}$result" >&6; }
6102
6103
6104
6105 enablestring=
6106 defaultval=$wxUSE_ALL_FEATURES
6107 if test -z "$defaultval"; then
6108 if test x"$enablestring" = xdisable; then
6109 defaultval=yes
6110 else
6111 defaultval=no
6112 fi
6113 fi
6114
6115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6117 # Check whether --enable-baseevtloop was given.
6118 if test "${enable_baseevtloop+set}" = set; then
6119 enableval=$enable_baseevtloop;
6120 if test "$enableval" = yes; then
6121 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6122 else
6123 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6124 fi
6125
6126 else
6127
6128 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6129
6130 fi
6131
6132
6133 eval "$wx_cv_use_baseevtloop"
6134
6135 if test x"$enablestring" = xdisable; then
6136 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6137 result=no
6138 else
6139 result=yes
6140 fi
6141 else
6142 result=$wxUSE_CONSOLE_EVENTLOOP
6143 fi
6144
6145 { echo "$as_me:$LINENO: result: $result" >&5
6146 echo "${ECHO_T}$result" >&6; }
6147
6148
6149 enablestring=
6150 defaultval=$wxUSE_ALL_FEATURES
6151 if test -z "$defaultval"; then
6152 if test x"$enablestring" = xdisable; then
6153 defaultval=yes
6154 else
6155 defaultval=no
6156 fi
6157 fi
6158
6159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6160 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6161 # Check whether --enable-epollloop was given.
6162 if test "${enable_epollloop+set}" = set; then
6163 enableval=$enable_epollloop;
6164 if test "$enableval" = yes; then
6165 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6166 else
6167 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6168 fi
6169
6170 else
6171
6172 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6173
6174 fi
6175
6176
6177 eval "$wx_cv_use_epollloop"
6178
6179 if test x"$enablestring" = xdisable; then
6180 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6181 result=no
6182 else
6183 result=yes
6184 fi
6185 else
6186 result=$wxUSE_EPOLL_DISPATCHER
6187 fi
6188
6189 { echo "$as_me:$LINENO: result: $result" >&5
6190 echo "${ECHO_T}$result" >&6; }
6191
6192
6193 enablestring=
6194 defaultval=$wxUSE_ALL_FEATURES
6195 if test -z "$defaultval"; then
6196 if test x"$enablestring" = xdisable; then
6197 defaultval=yes
6198 else
6199 defaultval=no
6200 fi
6201 fi
6202
6203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6204 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6205 # Check whether --enable-selectloop was given.
6206 if test "${enable_selectloop+set}" = set; then
6207 enableval=$enable_selectloop;
6208 if test "$enableval" = yes; then
6209 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6210 else
6211 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6212 fi
6213
6214 else
6215
6216 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6217
6218 fi
6219
6220
6221 eval "$wx_cv_use_selectloop"
6222
6223 if test x"$enablestring" = xdisable; then
6224 if test $wxUSE_SELECT_DISPATCHER = yes; then
6225 result=no
6226 else
6227 result=yes
6228 fi
6229 else
6230 result=$wxUSE_SELECT_DISPATCHER
6231 fi
6232
6233 { echo "$as_me:$LINENO: result: $result" >&5
6234 echo "${ECHO_T}$result" >&6; }
6235
6236
6237
6238 enablestring=
6239 defaultval=$wxUSE_ALL_FEATURES
6240 if test -z "$defaultval"; then
6241 if test x"$enablestring" = xdisable; then
6242 defaultval=yes
6243 else
6244 defaultval=no
6245 fi
6246 fi
6247
6248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6249 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6250 # Check whether --enable-apple_ieee was given.
6251 if test "${enable_apple_ieee+set}" = set; then
6252 enableval=$enable_apple_ieee;
6253 if test "$enableval" = yes; then
6254 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6255 else
6256 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6257 fi
6258
6259 else
6260
6261 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6262
6263 fi
6264
6265
6266 eval "$wx_cv_use_apple_ieee"
6267
6268 if test x"$enablestring" = xdisable; then
6269 if test $wxUSE_APPLE_IEEE = yes; then
6270 result=no
6271 else
6272 result=yes
6273 fi
6274 else
6275 result=$wxUSE_APPLE_IEEE
6276 fi
6277
6278 { echo "$as_me:$LINENO: result: $result" >&5
6279 echo "${ECHO_T}$result" >&6; }
6280
6281
6282 enablestring=
6283 defaultval=$wxUSE_ALL_FEATURES
6284 if test -z "$defaultval"; then
6285 if test x"$enablestring" = xdisable; then
6286 defaultval=yes
6287 else
6288 defaultval=no
6289 fi
6290 fi
6291
6292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6294 # Check whether --enable-arcstream was given.
6295 if test "${enable_arcstream+set}" = set; then
6296 enableval=$enable_arcstream;
6297 if test "$enableval" = yes; then
6298 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6299 else
6300 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6301 fi
6302
6303 else
6304
6305 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6306
6307 fi
6308
6309
6310 eval "$wx_cv_use_arcstream"
6311
6312 if test x"$enablestring" = xdisable; then
6313 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6314 result=no
6315 else
6316 result=yes
6317 fi
6318 else
6319 result=$wxUSE_ARCHIVE_STREAMS
6320 fi
6321
6322 { echo "$as_me:$LINENO: result: $result" >&5
6323 echo "${ECHO_T}$result" >&6; }
6324
6325
6326 enablestring=
6327 defaultval=$wxUSE_ALL_FEATURES
6328 if test -z "$defaultval"; then
6329 if test x"$enablestring" = xdisable; then
6330 defaultval=yes
6331 else
6332 defaultval=no
6333 fi
6334 fi
6335
6336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6338 # Check whether --enable-base64 was given.
6339 if test "${enable_base64+set}" = set; then
6340 enableval=$enable_base64;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_base64='wxUSE_BASE64=yes'
6343 else
6344 wx_cv_use_base64='wxUSE_BASE64=no'
6345 fi
6346
6347 else
6348
6349 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6350
6351 fi
6352
6353
6354 eval "$wx_cv_use_base64"
6355
6356 if test x"$enablestring" = xdisable; then
6357 if test $wxUSE_BASE64 = yes; then
6358 result=no
6359 else
6360 result=yes
6361 fi
6362 else
6363 result=$wxUSE_BASE64
6364 fi
6365
6366 { echo "$as_me:$LINENO: result: $result" >&5
6367 echo "${ECHO_T}$result" >&6; }
6368
6369
6370 enablestring=
6371 defaultval=$wxUSE_ALL_FEATURES
6372 if test -z "$defaultval"; then
6373 if test x"$enablestring" = xdisable; then
6374 defaultval=yes
6375 else
6376 defaultval=no
6377 fi
6378 fi
6379
6380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6382 # Check whether --enable-backtrace was given.
6383 if test "${enable_backtrace+set}" = set; then
6384 enableval=$enable_backtrace;
6385 if test "$enableval" = yes; then
6386 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6387 else
6388 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6389 fi
6390
6391 else
6392
6393 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6394
6395 fi
6396
6397
6398 eval "$wx_cv_use_backtrace"
6399
6400 if test x"$enablestring" = xdisable; then
6401 if test $wxUSE_STACKWALKER = yes; then
6402 result=no
6403 else
6404 result=yes
6405 fi
6406 else
6407 result=$wxUSE_STACKWALKER
6408 fi
6409
6410 { echo "$as_me:$LINENO: result: $result" >&5
6411 echo "${ECHO_T}$result" >&6; }
6412
6413
6414 enablestring=
6415 defaultval=$wxUSE_ALL_FEATURES
6416 if test -z "$defaultval"; then
6417 if test x"$enablestring" = xdisable; then
6418 defaultval=yes
6419 else
6420 defaultval=no
6421 fi
6422 fi
6423
6424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6426 # Check whether --enable-catch_segvs was given.
6427 if test "${enable_catch_segvs+set}" = set; then
6428 enableval=$enable_catch_segvs;
6429 if test "$enableval" = yes; then
6430 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6431 else
6432 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6433 fi
6434
6435 else
6436
6437 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6438
6439 fi
6440
6441
6442 eval "$wx_cv_use_catch_segvs"
6443
6444 if test x"$enablestring" = xdisable; then
6445 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6446 result=no
6447 else
6448 result=yes
6449 fi
6450 else
6451 result=$wxUSE_ON_FATAL_EXCEPTION
6452 fi
6453
6454 { echo "$as_me:$LINENO: result: $result" >&5
6455 echo "${ECHO_T}$result" >&6; }
6456
6457
6458 enablestring=
6459 defaultval=$wxUSE_ALL_FEATURES
6460 if test -z "$defaultval"; then
6461 if test x"$enablestring" = xdisable; then
6462 defaultval=yes
6463 else
6464 defaultval=no
6465 fi
6466 fi
6467
6468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6470 # Check whether --enable-cmdline was given.
6471 if test "${enable_cmdline+set}" = set; then
6472 enableval=$enable_cmdline;
6473 if test "$enableval" = yes; then
6474 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6475 else
6476 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6477 fi
6478
6479 else
6480
6481 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6482
6483 fi
6484
6485
6486 eval "$wx_cv_use_cmdline"
6487
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_CMDLINE_PARSER = yes; then
6490 result=no
6491 else
6492 result=yes
6493 fi
6494 else
6495 result=$wxUSE_CMDLINE_PARSER
6496 fi
6497
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6500
6501
6502 enablestring=
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6506 defaultval=yes
6507 else
6508 defaultval=no
6509 fi
6510 fi
6511
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6514 # Check whether --enable-datetime was given.
6515 if test "${enable_datetime+set}" = set; then
6516 enableval=$enable_datetime;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6519 else
6520 wx_cv_use_datetime='wxUSE_DATETIME=no'
6521 fi
6522
6523 else
6524
6525 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6526
6527 fi
6528
6529
6530 eval "$wx_cv_use_datetime"
6531
6532 if test x"$enablestring" = xdisable; then
6533 if test $wxUSE_DATETIME = yes; then
6534 result=no
6535 else
6536 result=yes
6537 fi
6538 else
6539 result=$wxUSE_DATETIME
6540 fi
6541
6542 { echo "$as_me:$LINENO: result: $result" >&5
6543 echo "${ECHO_T}$result" >&6; }
6544
6545
6546 enablestring=
6547 defaultval=$wxUSE_ALL_FEATURES
6548 if test -z "$defaultval"; then
6549 if test x"$enablestring" = xdisable; then
6550 defaultval=yes
6551 else
6552 defaultval=no
6553 fi
6554 fi
6555
6556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6558 # Check whether --enable-debugreport was given.
6559 if test "${enable_debugreport+set}" = set; then
6560 enableval=$enable_debugreport;
6561 if test "$enableval" = yes; then
6562 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6563 else
6564 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6565 fi
6566
6567 else
6568
6569 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6570
6571 fi
6572
6573
6574 eval "$wx_cv_use_debugreport"
6575
6576 if test x"$enablestring" = xdisable; then
6577 if test $wxUSE_DEBUGREPORT = yes; then
6578 result=no
6579 else
6580 result=yes
6581 fi
6582 else
6583 result=$wxUSE_DEBUGREPORT
6584 fi
6585
6586 { echo "$as_me:$LINENO: result: $result" >&5
6587 echo "${ECHO_T}$result" >&6; }
6588
6589
6590 enablestring=
6591 defaultval=$wxUSE_ALL_FEATURES
6592 if test -z "$defaultval"; then
6593 if test x"$enablestring" = xdisable; then
6594 defaultval=yes
6595 else
6596 defaultval=no
6597 fi
6598 fi
6599
6600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6601 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6602 # Check whether --enable-dialupman was given.
6603 if test "${enable_dialupman+set}" = set; then
6604 enableval=$enable_dialupman;
6605 if test "$enableval" = yes; then
6606 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6607 else
6608 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6609 fi
6610
6611 else
6612
6613 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6614
6615 fi
6616
6617
6618 eval "$wx_cv_use_dialupman"
6619
6620 if test x"$enablestring" = xdisable; then
6621 if test $wxUSE_DIALUP_MANAGER = yes; then
6622 result=no
6623 else
6624 result=yes
6625 fi
6626 else
6627 result=$wxUSE_DIALUP_MANAGER
6628 fi
6629
6630 { echo "$as_me:$LINENO: result: $result" >&5
6631 echo "${ECHO_T}$result" >&6; }
6632
6633
6634 enablestring=
6635 defaultval=$wxUSE_ALL_FEATURES
6636 if test -z "$defaultval"; then
6637 if test x"$enablestring" = xdisable; then
6638 defaultval=yes
6639 else
6640 defaultval=no
6641 fi
6642 fi
6643
6644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6645 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6646 # Check whether --enable-dynlib was given.
6647 if test "${enable_dynlib+set}" = set; then
6648 enableval=$enable_dynlib;
6649 if test "$enableval" = yes; then
6650 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6651 else
6652 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6653 fi
6654
6655 else
6656
6657 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6658
6659 fi
6660
6661
6662 eval "$wx_cv_use_dynlib"
6663
6664 if test x"$enablestring" = xdisable; then
6665 if test $wxUSE_DYNLIB_CLASS = yes; then
6666 result=no
6667 else
6668 result=yes
6669 fi
6670 else
6671 result=$wxUSE_DYNLIB_CLASS
6672 fi
6673
6674 { echo "$as_me:$LINENO: result: $result" >&5
6675 echo "${ECHO_T}$result" >&6; }
6676
6677
6678 enablestring=
6679 defaultval=$wxUSE_ALL_FEATURES
6680 if test -z "$defaultval"; then
6681 if test x"$enablestring" = xdisable; then
6682 defaultval=yes
6683 else
6684 defaultval=no
6685 fi
6686 fi
6687
6688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6689 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6690 # Check whether --enable-dynamicloader was given.
6691 if test "${enable_dynamicloader+set}" = set; then
6692 enableval=$enable_dynamicloader;
6693 if test "$enableval" = yes; then
6694 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6695 else
6696 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6697 fi
6698
6699 else
6700
6701 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6702
6703 fi
6704
6705
6706 eval "$wx_cv_use_dynamicloader"
6707
6708 if test x"$enablestring" = xdisable; then
6709 if test $wxUSE_DYNAMIC_LOADER = yes; then
6710 result=no
6711 else
6712 result=yes
6713 fi
6714 else
6715 result=$wxUSE_DYNAMIC_LOADER
6716 fi
6717
6718 { echo "$as_me:$LINENO: result: $result" >&5
6719 echo "${ECHO_T}$result" >&6; }
6720
6721
6722 enablestring=
6723 defaultval=$wxUSE_ALL_FEATURES
6724 if test -z "$defaultval"; then
6725 if test x"$enablestring" = xdisable; then
6726 defaultval=yes
6727 else
6728 defaultval=no
6729 fi
6730 fi
6731
6732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6733 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6734 # Check whether --enable-exceptions was given.
6735 if test "${enable_exceptions+set}" = set; then
6736 enableval=$enable_exceptions;
6737 if test "$enableval" = yes; then
6738 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6739 else
6740 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6741 fi
6742
6743 else
6744
6745 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6746
6747 fi
6748
6749
6750 eval "$wx_cv_use_exceptions"
6751
6752 if test x"$enablestring" = xdisable; then
6753 if test $wxUSE_EXCEPTIONS = yes; then
6754 result=no
6755 else
6756 result=yes
6757 fi
6758 else
6759 result=$wxUSE_EXCEPTIONS
6760 fi
6761
6762 { echo "$as_me:$LINENO: result: $result" >&5
6763 echo "${ECHO_T}$result" >&6; }
6764
6765
6766 enablestring=
6767 defaultval=$wxUSE_ALL_FEATURES
6768 if test -z "$defaultval"; then
6769 if test x"$enablestring" = xdisable; then
6770 defaultval=yes
6771 else
6772 defaultval=no
6773 fi
6774 fi
6775
6776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6778 # Check whether --enable-ffile was given.
6779 if test "${enable_ffile+set}" = set; then
6780 enableval=$enable_ffile;
6781 if test "$enableval" = yes; then
6782 wx_cv_use_ffile='wxUSE_FFILE=yes'
6783 else
6784 wx_cv_use_ffile='wxUSE_FFILE=no'
6785 fi
6786
6787 else
6788
6789 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6790
6791 fi
6792
6793
6794 eval "$wx_cv_use_ffile"
6795
6796 if test x"$enablestring" = xdisable; then
6797 if test $wxUSE_FFILE = yes; then
6798 result=no
6799 else
6800 result=yes
6801 fi
6802 else
6803 result=$wxUSE_FFILE
6804 fi
6805
6806 { echo "$as_me:$LINENO: result: $result" >&5
6807 echo "${ECHO_T}$result" >&6; }
6808
6809
6810 enablestring=
6811 defaultval=$wxUSE_ALL_FEATURES
6812 if test -z "$defaultval"; then
6813 if test x"$enablestring" = xdisable; then
6814 defaultval=yes
6815 else
6816 defaultval=no
6817 fi
6818 fi
6819
6820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6821 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6822 # Check whether --enable-file was given.
6823 if test "${enable_file+set}" = set; then
6824 enableval=$enable_file;
6825 if test "$enableval" = yes; then
6826 wx_cv_use_file='wxUSE_FILE=yes'
6827 else
6828 wx_cv_use_file='wxUSE_FILE=no'
6829 fi
6830
6831 else
6832
6833 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6834
6835 fi
6836
6837
6838 eval "$wx_cv_use_file"
6839
6840 if test x"$enablestring" = xdisable; then
6841 if test $wxUSE_FILE = yes; then
6842 result=no
6843 else
6844 result=yes
6845 fi
6846 else
6847 result=$wxUSE_FILE
6848 fi
6849
6850 { echo "$as_me:$LINENO: result: $result" >&5
6851 echo "${ECHO_T}$result" >&6; }
6852
6853
6854 enablestring=
6855 defaultval=$wxUSE_ALL_FEATURES
6856 if test -z "$defaultval"; then
6857 if test x"$enablestring" = xdisable; then
6858 defaultval=yes
6859 else
6860 defaultval=no
6861 fi
6862 fi
6863
6864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6865 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6866 # Check whether --enable-filesystem was given.
6867 if test "${enable_filesystem+set}" = set; then
6868 enableval=$enable_filesystem;
6869 if test "$enableval" = yes; then
6870 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6871 else
6872 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6873 fi
6874
6875 else
6876
6877 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6878
6879 fi
6880
6881
6882 eval "$wx_cv_use_filesystem"
6883
6884 if test x"$enablestring" = xdisable; then
6885 if test $wxUSE_FILESYSTEM = yes; then
6886 result=no
6887 else
6888 result=yes
6889 fi
6890 else
6891 result=$wxUSE_FILESYSTEM
6892 fi
6893
6894 { echo "$as_me:$LINENO: result: $result" >&5
6895 echo "${ECHO_T}$result" >&6; }
6896
6897
6898 enablestring=
6899 defaultval=$wxUSE_ALL_FEATURES
6900 if test -z "$defaultval"; then
6901 if test x"$enablestring" = xdisable; then
6902 defaultval=yes
6903 else
6904 defaultval=no
6905 fi
6906 fi
6907
6908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6909 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6910 # Check whether --enable-fontenum was given.
6911 if test "${enable_fontenum+set}" = set; then
6912 enableval=$enable_fontenum;
6913 if test "$enableval" = yes; then
6914 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6915 else
6916 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6917 fi
6918
6919 else
6920
6921 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6922
6923 fi
6924
6925
6926 eval "$wx_cv_use_fontenum"
6927
6928 if test x"$enablestring" = xdisable; then
6929 if test $wxUSE_FONTENUM = yes; then
6930 result=no
6931 else
6932 result=yes
6933 fi
6934 else
6935 result=$wxUSE_FONTENUM
6936 fi
6937
6938 { echo "$as_me:$LINENO: result: $result" >&5
6939 echo "${ECHO_T}$result" >&6; }
6940
6941
6942 enablestring=
6943 defaultval=$wxUSE_ALL_FEATURES
6944 if test -z "$defaultval"; then
6945 if test x"$enablestring" = xdisable; then
6946 defaultval=yes
6947 else
6948 defaultval=no
6949 fi
6950 fi
6951
6952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6954 # Check whether --enable-fontmap was given.
6955 if test "${enable_fontmap+set}" = set; then
6956 enableval=$enable_fontmap;
6957 if test "$enableval" = yes; then
6958 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6959 else
6960 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6961 fi
6962
6963 else
6964
6965 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6966
6967 fi
6968
6969
6970 eval "$wx_cv_use_fontmap"
6971
6972 if test x"$enablestring" = xdisable; then
6973 if test $wxUSE_FONTMAP = yes; then
6974 result=no
6975 else
6976 result=yes
6977 fi
6978 else
6979 result=$wxUSE_FONTMAP
6980 fi
6981
6982 { echo "$as_me:$LINENO: result: $result" >&5
6983 echo "${ECHO_T}$result" >&6; }
6984
6985
6986 enablestring=
6987 defaultval=$wxUSE_ALL_FEATURES
6988 if test -z "$defaultval"; then
6989 if test x"$enablestring" = xdisable; then
6990 defaultval=yes
6991 else
6992 defaultval=no
6993 fi
6994 fi
6995
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6998 # Check whether --enable-fs_archive was given.
6999 if test "${enable_fs_archive+set}" = set; then
7000 enableval=$enable_fs_archive;
7001 if test "$enableval" = yes; then
7002 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7003 else
7004 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7005 fi
7006
7007 else
7008
7009 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7010
7011 fi
7012
7013
7014 eval "$wx_cv_use_fs_archive"
7015
7016 if test x"$enablestring" = xdisable; then
7017 if test $wxUSE_FS_ARCHIVE = yes; then
7018 result=no
7019 else
7020 result=yes
7021 fi
7022 else
7023 result=$wxUSE_FS_ARCHIVE
7024 fi
7025
7026 { echo "$as_me:$LINENO: result: $result" >&5
7027 echo "${ECHO_T}$result" >&6; }
7028
7029
7030 enablestring=
7031 defaultval=$wxUSE_ALL_FEATURES
7032 if test -z "$defaultval"; then
7033 if test x"$enablestring" = xdisable; then
7034 defaultval=yes
7035 else
7036 defaultval=no
7037 fi
7038 fi
7039
7040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7041 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7042 # Check whether --enable-fs_inet was given.
7043 if test "${enable_fs_inet+set}" = set; then
7044 enableval=$enable_fs_inet;
7045 if test "$enableval" = yes; then
7046 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7047 else
7048 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7049 fi
7050
7051 else
7052
7053 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7054
7055 fi
7056
7057
7058 eval "$wx_cv_use_fs_inet"
7059
7060 if test x"$enablestring" = xdisable; then
7061 if test $wxUSE_FS_INET = yes; then
7062 result=no
7063 else
7064 result=yes
7065 fi
7066 else
7067 result=$wxUSE_FS_INET
7068 fi
7069
7070 { echo "$as_me:$LINENO: result: $result" >&5
7071 echo "${ECHO_T}$result" >&6; }
7072
7073
7074 enablestring=
7075 defaultval=$wxUSE_ALL_FEATURES
7076 if test -z "$defaultval"; then
7077 if test x"$enablestring" = xdisable; then
7078 defaultval=yes
7079 else
7080 defaultval=no
7081 fi
7082 fi
7083
7084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7085 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7086 # Check whether --enable-fs_zip was given.
7087 if test "${enable_fs_zip+set}" = set; then
7088 enableval=$enable_fs_zip;
7089 if test "$enableval" = yes; then
7090 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7091 else
7092 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7093 fi
7094
7095 else
7096
7097 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7098
7099 fi
7100
7101
7102 eval "$wx_cv_use_fs_zip"
7103
7104 if test x"$enablestring" = xdisable; then
7105 if test $wxUSE_FS_ZIP = yes; then
7106 result=no
7107 else
7108 result=yes
7109 fi
7110 else
7111 result=$wxUSE_FS_ZIP
7112 fi
7113
7114 { echo "$as_me:$LINENO: result: $result" >&5
7115 echo "${ECHO_T}$result" >&6; }
7116
7117
7118 enablestring=
7119 defaultval=$wxUSE_ALL_FEATURES
7120 if test -z "$defaultval"; then
7121 if test x"$enablestring" = xdisable; then
7122 defaultval=yes
7123 else
7124 defaultval=no
7125 fi
7126 fi
7127
7128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7129 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7130 # Check whether --enable-geometry was given.
7131 if test "${enable_geometry+set}" = set; then
7132 enableval=$enable_geometry;
7133 if test "$enableval" = yes; then
7134 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7135 else
7136 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7137 fi
7138
7139 else
7140
7141 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7142
7143 fi
7144
7145
7146 eval "$wx_cv_use_geometry"
7147
7148 if test x"$enablestring" = xdisable; then
7149 if test $wxUSE_GEOMETRY = yes; then
7150 result=no
7151 else
7152 result=yes
7153 fi
7154 else
7155 result=$wxUSE_GEOMETRY
7156 fi
7157
7158 { echo "$as_me:$LINENO: result: $result" >&5
7159 echo "${ECHO_T}$result" >&6; }
7160
7161
7162 enablestring=
7163 defaultval=$wxUSE_ALL_FEATURES
7164 if test -z "$defaultval"; then
7165 if test x"$enablestring" = xdisable; then
7166 defaultval=yes
7167 else
7168 defaultval=no
7169 fi
7170 fi
7171
7172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7173 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7174 # Check whether --enable-log was given.
7175 if test "${enable_log+set}" = set; then
7176 enableval=$enable_log;
7177 if test "$enableval" = yes; then
7178 wx_cv_use_log='wxUSE_LOG=yes'
7179 else
7180 wx_cv_use_log='wxUSE_LOG=no'
7181 fi
7182
7183 else
7184
7185 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7186
7187 fi
7188
7189
7190 eval "$wx_cv_use_log"
7191
7192 if test x"$enablestring" = xdisable; then
7193 if test $wxUSE_LOG = yes; then
7194 result=no
7195 else
7196 result=yes
7197 fi
7198 else
7199 result=$wxUSE_LOG
7200 fi
7201
7202 { echo "$as_me:$LINENO: result: $result" >&5
7203 echo "${ECHO_T}$result" >&6; }
7204
7205
7206 enablestring=
7207 defaultval=$wxUSE_ALL_FEATURES
7208 if test -z "$defaultval"; then
7209 if test x"$enablestring" = xdisable; then
7210 defaultval=yes
7211 else
7212 defaultval=no
7213 fi
7214 fi
7215
7216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7217 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7218 # Check whether --enable-longlong was given.
7219 if test "${enable_longlong+set}" = set; then
7220 enableval=$enable_longlong;
7221 if test "$enableval" = yes; then
7222 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7223 else
7224 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7225 fi
7226
7227 else
7228
7229 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7230
7231 fi
7232
7233
7234 eval "$wx_cv_use_longlong"
7235
7236 if test x"$enablestring" = xdisable; then
7237 if test $wxUSE_LONGLONG = yes; then
7238 result=no
7239 else
7240 result=yes
7241 fi
7242 else
7243 result=$wxUSE_LONGLONG
7244 fi
7245
7246 { echo "$as_me:$LINENO: result: $result" >&5
7247 echo "${ECHO_T}$result" >&6; }
7248
7249
7250 enablestring=
7251 defaultval=$wxUSE_ALL_FEATURES
7252 if test -z "$defaultval"; then
7253 if test x"$enablestring" = xdisable; then
7254 defaultval=yes
7255 else
7256 defaultval=no
7257 fi
7258 fi
7259
7260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7261 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7262 # Check whether --enable-mimetype was given.
7263 if test "${enable_mimetype+set}" = set; then
7264 enableval=$enable_mimetype;
7265 if test "$enableval" = yes; then
7266 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7267 else
7268 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7269 fi
7270
7271 else
7272
7273 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7274
7275 fi
7276
7277
7278 eval "$wx_cv_use_mimetype"
7279
7280 if test x"$enablestring" = xdisable; then
7281 if test $wxUSE_MIMETYPE = yes; then
7282 result=no
7283 else
7284 result=yes
7285 fi
7286 else
7287 result=$wxUSE_MIMETYPE
7288 fi
7289
7290 { echo "$as_me:$LINENO: result: $result" >&5
7291 echo "${ECHO_T}$result" >&6; }
7292
7293
7294 enablestring=
7295 defaultval=$wxUSE_ALL_FEATURES
7296 if test -z "$defaultval"; then
7297 if test x"$enablestring" = xdisable; then
7298 defaultval=yes
7299 else
7300 defaultval=no
7301 fi
7302 fi
7303
7304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7305 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7306 # Check whether --enable-printfposparam was given.
7307 if test "${enable_printfposparam+set}" = set; then
7308 enableval=$enable_printfposparam;
7309 if test "$enableval" = yes; then
7310 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7311 else
7312 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7313 fi
7314
7315 else
7316
7317 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7318
7319 fi
7320
7321
7322 eval "$wx_cv_use_printfposparam"
7323
7324 if test x"$enablestring" = xdisable; then
7325 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7326 result=no
7327 else
7328 result=yes
7329 fi
7330 else
7331 result=$wxUSE_PRINTF_POS_PARAMS
7332 fi
7333
7334 { echo "$as_me:$LINENO: result: $result" >&5
7335 echo "${ECHO_T}$result" >&6; }
7336
7337
7338 enablestring=
7339 defaultval=$wxUSE_ALL_FEATURES
7340 if test -z "$defaultval"; then
7341 if test x"$enablestring" = xdisable; then
7342 defaultval=yes
7343 else
7344 defaultval=no
7345 fi
7346 fi
7347
7348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7350 # Check whether --enable-snglinst was given.
7351 if test "${enable_snglinst+set}" = set; then
7352 enableval=$enable_snglinst;
7353 if test "$enableval" = yes; then
7354 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7355 else
7356 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7357 fi
7358
7359 else
7360
7361 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7362
7363 fi
7364
7365
7366 eval "$wx_cv_use_snglinst"
7367
7368 if test x"$enablestring" = xdisable; then
7369 if test $wxUSE_SNGLINST_CHECKER = yes; then
7370 result=no
7371 else
7372 result=yes
7373 fi
7374 else
7375 result=$wxUSE_SNGLINST_CHECKER
7376 fi
7377
7378 { echo "$as_me:$LINENO: result: $result" >&5
7379 echo "${ECHO_T}$result" >&6; }
7380
7381
7382 enablestring=
7383 defaultval=$wxUSE_ALL_FEATURES
7384 if test -z "$defaultval"; then
7385 if test x"$enablestring" = xdisable; then
7386 defaultval=yes
7387 else
7388 defaultval=no
7389 fi
7390 fi
7391
7392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7394 # Check whether --enable-sound was given.
7395 if test "${enable_sound+set}" = set; then
7396 enableval=$enable_sound;
7397 if test "$enableval" = yes; then
7398 wx_cv_use_sound='wxUSE_SOUND=yes'
7399 else
7400 wx_cv_use_sound='wxUSE_SOUND=no'
7401 fi
7402
7403 else
7404
7405 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7406
7407 fi
7408
7409
7410 eval "$wx_cv_use_sound"
7411
7412 if test x"$enablestring" = xdisable; then
7413 if test $wxUSE_SOUND = yes; then
7414 result=no
7415 else
7416 result=yes
7417 fi
7418 else
7419 result=$wxUSE_SOUND
7420 fi
7421
7422 { echo "$as_me:$LINENO: result: $result" >&5
7423 echo "${ECHO_T}$result" >&6; }
7424
7425
7426 enablestring=
7427 defaultval=$wxUSE_ALL_FEATURES
7428 if test -z "$defaultval"; then
7429 if test x"$enablestring" = xdisable; then
7430 defaultval=yes
7431 else
7432 defaultval=no
7433 fi
7434 fi
7435
7436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7437 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7438 # Check whether --enable-stdpaths was given.
7439 if test "${enable_stdpaths+set}" = set; then
7440 enableval=$enable_stdpaths;
7441 if test "$enableval" = yes; then
7442 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7443 else
7444 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7445 fi
7446
7447 else
7448
7449 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7450
7451 fi
7452
7453
7454 eval "$wx_cv_use_stdpaths"
7455
7456 if test x"$enablestring" = xdisable; then
7457 if test $wxUSE_STDPATHS = yes; then
7458 result=no
7459 else
7460 result=yes
7461 fi
7462 else
7463 result=$wxUSE_STDPATHS
7464 fi
7465
7466 { echo "$as_me:$LINENO: result: $result" >&5
7467 echo "${ECHO_T}$result" >&6; }
7468
7469
7470 enablestring=
7471 defaultval=$wxUSE_ALL_FEATURES
7472 if test -z "$defaultval"; then
7473 if test x"$enablestring" = xdisable; then
7474 defaultval=yes
7475 else
7476 defaultval=no
7477 fi
7478 fi
7479
7480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7481 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7482 # Check whether --enable-stopwatch was given.
7483 if test "${enable_stopwatch+set}" = set; then
7484 enableval=$enable_stopwatch;
7485 if test "$enableval" = yes; then
7486 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7487 else
7488 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7489 fi
7490
7491 else
7492
7493 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7494
7495 fi
7496
7497
7498 eval "$wx_cv_use_stopwatch"
7499
7500 if test x"$enablestring" = xdisable; then
7501 if test $wxUSE_STOPWATCH = yes; then
7502 result=no
7503 else
7504 result=yes
7505 fi
7506 else
7507 result=$wxUSE_STOPWATCH
7508 fi
7509
7510 { echo "$as_me:$LINENO: result: $result" >&5
7511 echo "${ECHO_T}$result" >&6; }
7512
7513
7514 enablestring=
7515 defaultval=$wxUSE_ALL_FEATURES
7516 if test -z "$defaultval"; then
7517 if test x"$enablestring" = xdisable; then
7518 defaultval=yes
7519 else
7520 defaultval=no
7521 fi
7522 fi
7523
7524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7525 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7526 # Check whether --enable-streams was given.
7527 if test "${enable_streams+set}" = set; then
7528 enableval=$enable_streams;
7529 if test "$enableval" = yes; then
7530 wx_cv_use_streams='wxUSE_STREAMS=yes'
7531 else
7532 wx_cv_use_streams='wxUSE_STREAMS=no'
7533 fi
7534
7535 else
7536
7537 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7538
7539 fi
7540
7541
7542 eval "$wx_cv_use_streams"
7543
7544 if test x"$enablestring" = xdisable; then
7545 if test $wxUSE_STREAMS = yes; then
7546 result=no
7547 else
7548 result=yes
7549 fi
7550 else
7551 result=$wxUSE_STREAMS
7552 fi
7553
7554 { echo "$as_me:$LINENO: result: $result" >&5
7555 echo "${ECHO_T}$result" >&6; }
7556
7557
7558 enablestring=
7559 defaultval=$wxUSE_ALL_FEATURES
7560 if test -z "$defaultval"; then
7561 if test x"$enablestring" = xdisable; then
7562 defaultval=yes
7563 else
7564 defaultval=no
7565 fi
7566 fi
7567
7568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7569 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7570 # Check whether --enable-system_options was given.
7571 if test "${enable_system_options+set}" = set; then
7572 enableval=$enable_system_options;
7573 if test "$enableval" = yes; then
7574 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7575 else
7576 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7577 fi
7578
7579 else
7580
7581 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7582
7583 fi
7584
7585
7586 eval "$wx_cv_use_system_options"
7587
7588 if test x"$enablestring" = xdisable; then
7589 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7590 result=no
7591 else
7592 result=yes
7593 fi
7594 else
7595 result=$wxUSE_SYSTEM_OPTIONS
7596 fi
7597
7598 { echo "$as_me:$LINENO: result: $result" >&5
7599 echo "${ECHO_T}$result" >&6; }
7600
7601
7602 enablestring=
7603 defaultval=$wxUSE_ALL_FEATURES
7604 if test -z "$defaultval"; then
7605 if test x"$enablestring" = xdisable; then
7606 defaultval=yes
7607 else
7608 defaultval=no
7609 fi
7610 fi
7611
7612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7613 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7614 # Check whether --enable-tarstream was given.
7615 if test "${enable_tarstream+set}" = set; then
7616 enableval=$enable_tarstream;
7617 if test "$enableval" = yes; then
7618 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7619 else
7620 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7621 fi
7622
7623 else
7624
7625 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7626
7627 fi
7628
7629
7630 eval "$wx_cv_use_tarstream"
7631
7632 if test x"$enablestring" = xdisable; then
7633 if test $wxUSE_TARSTREAM = yes; then
7634 result=no
7635 else
7636 result=yes
7637 fi
7638 else
7639 result=$wxUSE_TARSTREAM
7640 fi
7641
7642 { echo "$as_me:$LINENO: result: $result" >&5
7643 echo "${ECHO_T}$result" >&6; }
7644
7645
7646 enablestring=
7647 defaultval=$wxUSE_ALL_FEATURES
7648 if test -z "$defaultval"; then
7649 if test x"$enablestring" = xdisable; then
7650 defaultval=yes
7651 else
7652 defaultval=no
7653 fi
7654 fi
7655
7656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7657 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7658 # Check whether --enable-textbuf was given.
7659 if test "${enable_textbuf+set}" = set; then
7660 enableval=$enable_textbuf;
7661 if test "$enableval" = yes; then
7662 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7663 else
7664 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7665 fi
7666
7667 else
7668
7669 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7670
7671 fi
7672
7673
7674 eval "$wx_cv_use_textbuf"
7675
7676 if test x"$enablestring" = xdisable; then
7677 if test $wxUSE_TEXTBUFFER = yes; then
7678 result=no
7679 else
7680 result=yes
7681 fi
7682 else
7683 result=$wxUSE_TEXTBUFFER
7684 fi
7685
7686 { echo "$as_me:$LINENO: result: $result" >&5
7687 echo "${ECHO_T}$result" >&6; }
7688
7689
7690 enablestring=
7691 defaultval=$wxUSE_ALL_FEATURES
7692 if test -z "$defaultval"; then
7693 if test x"$enablestring" = xdisable; then
7694 defaultval=yes
7695 else
7696 defaultval=no
7697 fi
7698 fi
7699
7700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7701 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7702 # Check whether --enable-textfile was given.
7703 if test "${enable_textfile+set}" = set; then
7704 enableval=$enable_textfile;
7705 if test "$enableval" = yes; then
7706 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7707 else
7708 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7709 fi
7710
7711 else
7712
7713 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7714
7715 fi
7716
7717
7718 eval "$wx_cv_use_textfile"
7719
7720 if test x"$enablestring" = xdisable; then
7721 if test $wxUSE_TEXTFILE = yes; then
7722 result=no
7723 else
7724 result=yes
7725 fi
7726 else
7727 result=$wxUSE_TEXTFILE
7728 fi
7729
7730 { echo "$as_me:$LINENO: result: $result" >&5
7731 echo "${ECHO_T}$result" >&6; }
7732
7733
7734 enablestring=
7735 defaultval=$wxUSE_ALL_FEATURES
7736 if test -z "$defaultval"; then
7737 if test x"$enablestring" = xdisable; then
7738 defaultval=yes
7739 else
7740 defaultval=no
7741 fi
7742 fi
7743
7744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7746 # Check whether --enable-timer was given.
7747 if test "${enable_timer+set}" = set; then
7748 enableval=$enable_timer;
7749 if test "$enableval" = yes; then
7750 wx_cv_use_timer='wxUSE_TIMER=yes'
7751 else
7752 wx_cv_use_timer='wxUSE_TIMER=no'
7753 fi
7754
7755 else
7756
7757 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7758
7759 fi
7760
7761
7762 eval "$wx_cv_use_timer"
7763
7764 if test x"$enablestring" = xdisable; then
7765 if test $wxUSE_TIMER = yes; then
7766 result=no
7767 else
7768 result=yes
7769 fi
7770 else
7771 result=$wxUSE_TIMER
7772 fi
7773
7774 { echo "$as_me:$LINENO: result: $result" >&5
7775 echo "${ECHO_T}$result" >&6; }
7776
7777
7778 enablestring=
7779 defaultval=$wxUSE_ALL_FEATURES
7780 if test -z "$defaultval"; then
7781 if test x"$enablestring" = xdisable; then
7782 defaultval=yes
7783 else
7784 defaultval=no
7785 fi
7786 fi
7787
7788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7789 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7790 # Check whether --enable-variant was given.
7791 if test "${enable_variant+set}" = set; then
7792 enableval=$enable_variant;
7793 if test "$enableval" = yes; then
7794 wx_cv_use_variant='wxUSE_VARIANT=yes'
7795 else
7796 wx_cv_use_variant='wxUSE_VARIANT=no'
7797 fi
7798
7799 else
7800
7801 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7802
7803 fi
7804
7805
7806 eval "$wx_cv_use_variant"
7807
7808 if test x"$enablestring" = xdisable; then
7809 if test $wxUSE_VARIANT = yes; then
7810 result=no
7811 else
7812 result=yes
7813 fi
7814 else
7815 result=$wxUSE_VARIANT
7816 fi
7817
7818 { echo "$as_me:$LINENO: result: $result" >&5
7819 echo "${ECHO_T}$result" >&6; }
7820
7821
7822 enablestring=
7823 defaultval=$wxUSE_ALL_FEATURES
7824 if test -z "$defaultval"; then
7825 if test x"$enablestring" = xdisable; then
7826 defaultval=yes
7827 else
7828 defaultval=no
7829 fi
7830 fi
7831
7832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7834 # Check whether --enable-zipstream was given.
7835 if test "${enable_zipstream+set}" = set; then
7836 enableval=$enable_zipstream;
7837 if test "$enableval" = yes; then
7838 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7839 else
7840 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7841 fi
7842
7843 else
7844
7845 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7846
7847 fi
7848
7849
7850 eval "$wx_cv_use_zipstream"
7851
7852 if test x"$enablestring" = xdisable; then
7853 if test $wxUSE_ZIPSTREAM = yes; then
7854 result=no
7855 else
7856 result=yes
7857 fi
7858 else
7859 result=$wxUSE_ZIPSTREAM
7860 fi
7861
7862 { echo "$as_me:$LINENO: result: $result" >&5
7863 echo "${ECHO_T}$result" >&6; }
7864
7865
7866
7867 enablestring=
7868 defaultval=$wxUSE_ALL_FEATURES
7869 if test -z "$defaultval"; then
7870 if test x"$enablestring" = xdisable; then
7871 defaultval=yes
7872 else
7873 defaultval=no
7874 fi
7875 fi
7876
7877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7879 # Check whether --enable-url was given.
7880 if test "${enable_url+set}" = set; then
7881 enableval=$enable_url;
7882 if test "$enableval" = yes; then
7883 wx_cv_use_url='wxUSE_URL=yes'
7884 else
7885 wx_cv_use_url='wxUSE_URL=no'
7886 fi
7887
7888 else
7889
7890 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7891
7892 fi
7893
7894
7895 eval "$wx_cv_use_url"
7896
7897 if test x"$enablestring" = xdisable; then
7898 if test $wxUSE_URL = yes; then
7899 result=no
7900 else
7901 result=yes
7902 fi
7903 else
7904 result=$wxUSE_URL
7905 fi
7906
7907 { echo "$as_me:$LINENO: result: $result" >&5
7908 echo "${ECHO_T}$result" >&6; }
7909
7910
7911 enablestring=
7912 defaultval=$wxUSE_ALL_FEATURES
7913 if test -z "$defaultval"; then
7914 if test x"$enablestring" = xdisable; then
7915 defaultval=yes
7916 else
7917 defaultval=no
7918 fi
7919 fi
7920
7921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7923 # Check whether --enable-protocol was given.
7924 if test "${enable_protocol+set}" = set; then
7925 enableval=$enable_protocol;
7926 if test "$enableval" = yes; then
7927 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7928 else
7929 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7930 fi
7931
7932 else
7933
7934 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7935
7936 fi
7937
7938
7939 eval "$wx_cv_use_protocol"
7940
7941 if test x"$enablestring" = xdisable; then
7942 if test $wxUSE_PROTOCOL = yes; then
7943 result=no
7944 else
7945 result=yes
7946 fi
7947 else
7948 result=$wxUSE_PROTOCOL
7949 fi
7950
7951 { echo "$as_me:$LINENO: result: $result" >&5
7952 echo "${ECHO_T}$result" >&6; }
7953
7954
7955 enablestring=
7956 defaultval=$wxUSE_ALL_FEATURES
7957 if test -z "$defaultval"; then
7958 if test x"$enablestring" = xdisable; then
7959 defaultval=yes
7960 else
7961 defaultval=no
7962 fi
7963 fi
7964
7965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7966 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7967 # Check whether --enable-protocol_http was given.
7968 if test "${enable_protocol_http+set}" = set; then
7969 enableval=$enable_protocol_http;
7970 if test "$enableval" = yes; then
7971 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7972 else
7973 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7974 fi
7975
7976 else
7977
7978 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7979
7980 fi
7981
7982
7983 eval "$wx_cv_use_protocol_http"
7984
7985 if test x"$enablestring" = xdisable; then
7986 if test $wxUSE_PROTOCOL_HTTP = yes; then
7987 result=no
7988 else
7989 result=yes
7990 fi
7991 else
7992 result=$wxUSE_PROTOCOL_HTTP
7993 fi
7994
7995 { echo "$as_me:$LINENO: result: $result" >&5
7996 echo "${ECHO_T}$result" >&6; }
7997
7998
7999 enablestring=
8000 defaultval=$wxUSE_ALL_FEATURES
8001 if test -z "$defaultval"; then
8002 if test x"$enablestring" = xdisable; then
8003 defaultval=yes
8004 else
8005 defaultval=no
8006 fi
8007 fi
8008
8009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8010 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8011 # Check whether --enable-protocol_ftp was given.
8012 if test "${enable_protocol_ftp+set}" = set; then
8013 enableval=$enable_protocol_ftp;
8014 if test "$enableval" = yes; then
8015 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8016 else
8017 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8018 fi
8019
8020 else
8021
8022 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8023
8024 fi
8025
8026
8027 eval "$wx_cv_use_protocol_ftp"
8028
8029 if test x"$enablestring" = xdisable; then
8030 if test $wxUSE_PROTOCOL_FTP = yes; then
8031 result=no
8032 else
8033 result=yes
8034 fi
8035 else
8036 result=$wxUSE_PROTOCOL_FTP
8037 fi
8038
8039 { echo "$as_me:$LINENO: result: $result" >&5
8040 echo "${ECHO_T}$result" >&6; }
8041
8042
8043 enablestring=
8044 defaultval=$wxUSE_ALL_FEATURES
8045 if test -z "$defaultval"; then
8046 if test x"$enablestring" = xdisable; then
8047 defaultval=yes
8048 else
8049 defaultval=no
8050 fi
8051 fi
8052
8053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8054 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8055 # Check whether --enable-protocol_file was given.
8056 if test "${enable_protocol_file+set}" = set; then
8057 enableval=$enable_protocol_file;
8058 if test "$enableval" = yes; then
8059 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8060 else
8061 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8062 fi
8063
8064 else
8065
8066 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8067
8068 fi
8069
8070
8071 eval "$wx_cv_use_protocol_file"
8072
8073 if test x"$enablestring" = xdisable; then
8074 if test $wxUSE_PROTOCOL_FILE = yes; then
8075 result=no
8076 else
8077 result=yes
8078 fi
8079 else
8080 result=$wxUSE_PROTOCOL_FILE
8081 fi
8082
8083 { echo "$as_me:$LINENO: result: $result" >&5
8084 echo "${ECHO_T}$result" >&6; }
8085
8086
8087
8088 enablestring=
8089 defaultval=$wxUSE_ALL_FEATURES
8090 if test -z "$defaultval"; then
8091 if test x"$enablestring" = xdisable; then
8092 defaultval=yes
8093 else
8094 defaultval=no
8095 fi
8096 fi
8097
8098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8100 # Check whether --enable-threads was given.
8101 if test "${enable_threads+set}" = set; then
8102 enableval=$enable_threads;
8103 if test "$enableval" = yes; then
8104 wx_cv_use_threads='wxUSE_THREADS=yes'
8105 else
8106 wx_cv_use_threads='wxUSE_THREADS=no'
8107 fi
8108
8109 else
8110
8111 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8112
8113 fi
8114
8115
8116 eval "$wx_cv_use_threads"
8117
8118 if test x"$enablestring" = xdisable; then
8119 if test $wxUSE_THREADS = yes; then
8120 result=no
8121 else
8122 result=yes
8123 fi
8124 else
8125 result=$wxUSE_THREADS
8126 fi
8127
8128 { echo "$as_me:$LINENO: result: $result" >&5
8129 echo "${ECHO_T}$result" >&6; }
8130
8131
8132
8133 enablestring=
8134 defaultval=
8135 if test -z "$defaultval"; then
8136 if test x"$enablestring" = xdisable; then
8137 defaultval=yes
8138 else
8139 defaultval=no
8140 fi
8141 fi
8142
8143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8145 # Check whether --enable-iniconf was given.
8146 if test "${enable_iniconf+set}" = set; then
8147 enableval=$enable_iniconf;
8148 if test "$enableval" = yes; then
8149 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8150 else
8151 wx_cv_use_iniconf='wxUSE_INICONF=no'
8152 fi
8153
8154 else
8155
8156 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8157
8158 fi
8159
8160
8161 eval "$wx_cv_use_iniconf"
8162
8163 if test x"$enablestring" = xdisable; then
8164 if test $wxUSE_INICONF = yes; then
8165 result=no
8166 else
8167 result=yes
8168 fi
8169 else
8170 result=$wxUSE_INICONF
8171 fi
8172
8173 { echo "$as_me:$LINENO: result: $result" >&5
8174 echo "${ECHO_T}$result" >&6; }
8175
8176
8177 enablestring=
8178 defaultval=$wxUSE_ALL_FEATURES
8179 if test -z "$defaultval"; then
8180 if test x"$enablestring" = xdisable; then
8181 defaultval=yes
8182 else
8183 defaultval=no
8184 fi
8185 fi
8186
8187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8189 # Check whether --enable-regkey was given.
8190 if test "${enable_regkey+set}" = set; then
8191 enableval=$enable_regkey;
8192 if test "$enableval" = yes; then
8193 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8194 else
8195 wx_cv_use_regkey='wxUSE_REGKEY=no'
8196 fi
8197
8198 else
8199
8200 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8201
8202 fi
8203
8204
8205 eval "$wx_cv_use_regkey"
8206
8207 if test x"$enablestring" = xdisable; then
8208 if test $wxUSE_REGKEY = yes; then
8209 result=no
8210 else
8211 result=yes
8212 fi
8213 else
8214 result=$wxUSE_REGKEY
8215 fi
8216
8217 { echo "$as_me:$LINENO: result: $result" >&5
8218 echo "${ECHO_T}$result" >&6; }
8219
8220
8221 if test "$wxUSE_GUI" = "yes"; then
8222
8223
8224
8225 enablestring=
8226 defaultval=$wxUSE_ALL_FEATURES
8227 if test -z "$defaultval"; then
8228 if test x"$enablestring" = xdisable; then
8229 defaultval=yes
8230 else
8231 defaultval=no
8232 fi
8233 fi
8234
8235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8237 # Check whether --enable-docview was given.
8238 if test "${enable_docview+set}" = set; then
8239 enableval=$enable_docview;
8240 if test "$enableval" = yes; then
8241 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8242 else
8243 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8244 fi
8245
8246 else
8247
8248 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8249
8250 fi
8251
8252
8253 eval "$wx_cv_use_docview"
8254
8255 if test x"$enablestring" = xdisable; then
8256 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8257 result=no
8258 else
8259 result=yes
8260 fi
8261 else
8262 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8263 fi
8264
8265 { echo "$as_me:$LINENO: result: $result" >&5
8266 echo "${ECHO_T}$result" >&6; }
8267
8268
8269 enablestring=
8270 defaultval=$wxUSE_ALL_FEATURES
8271 if test -z "$defaultval"; then
8272 if test x"$enablestring" = xdisable; then
8273 defaultval=yes
8274 else
8275 defaultval=no
8276 fi
8277 fi
8278
8279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8281 # Check whether --enable-help was given.
8282 if test "${enable_help+set}" = set; then
8283 enableval=$enable_help;
8284 if test "$enableval" = yes; then
8285 wx_cv_use_help='wxUSE_HELP=yes'
8286 else
8287 wx_cv_use_help='wxUSE_HELP=no'
8288 fi
8289
8290 else
8291
8292 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8293
8294 fi
8295
8296
8297 eval "$wx_cv_use_help"
8298
8299 if test x"$enablestring" = xdisable; then
8300 if test $wxUSE_HELP = yes; then
8301 result=no
8302 else
8303 result=yes
8304 fi
8305 else
8306 result=$wxUSE_HELP
8307 fi
8308
8309 { echo "$as_me:$LINENO: result: $result" >&5
8310 echo "${ECHO_T}$result" >&6; }
8311
8312
8313 enablestring=
8314 defaultval=$wxUSE_ALL_FEATURES
8315 if test -z "$defaultval"; then
8316 if test x"$enablestring" = xdisable; then
8317 defaultval=yes
8318 else
8319 defaultval=no
8320 fi
8321 fi
8322
8323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8324 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8325 # Check whether --enable-mshtmlhelp was given.
8326 if test "${enable_mshtmlhelp+set}" = set; then
8327 enableval=$enable_mshtmlhelp;
8328 if test "$enableval" = yes; then
8329 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8330 else
8331 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8332 fi
8333
8334 else
8335
8336 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8337
8338 fi
8339
8340
8341 eval "$wx_cv_use_mshtmlhelp"
8342
8343 if test x"$enablestring" = xdisable; then
8344 if test $wxUSE_MS_HTML_HELP = yes; then
8345 result=no
8346 else
8347 result=yes
8348 fi
8349 else
8350 result=$wxUSE_MS_HTML_HELP
8351 fi
8352
8353 { echo "$as_me:$LINENO: result: $result" >&5
8354 echo "${ECHO_T}$result" >&6; }
8355
8356
8357 enablestring=
8358 defaultval=$wxUSE_ALL_FEATURES
8359 if test -z "$defaultval"; then
8360 if test x"$enablestring" = xdisable; then
8361 defaultval=yes
8362 else
8363 defaultval=no
8364 fi
8365 fi
8366
8367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8369 # Check whether --enable-html was given.
8370 if test "${enable_html+set}" = set; then
8371 enableval=$enable_html;
8372 if test "$enableval" = yes; then
8373 wx_cv_use_html='wxUSE_HTML=yes'
8374 else
8375 wx_cv_use_html='wxUSE_HTML=no'
8376 fi
8377
8378 else
8379
8380 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8381
8382 fi
8383
8384
8385 eval "$wx_cv_use_html"
8386
8387 if test x"$enablestring" = xdisable; then
8388 if test $wxUSE_HTML = yes; then
8389 result=no
8390 else
8391 result=yes
8392 fi
8393 else
8394 result=$wxUSE_HTML
8395 fi
8396
8397 { echo "$as_me:$LINENO: result: $result" >&5
8398 echo "${ECHO_T}$result" >&6; }
8399
8400
8401 enablestring=
8402 defaultval=$wxUSE_ALL_FEATURES
8403 if test -z "$defaultval"; then
8404 if test x"$enablestring" = xdisable; then
8405 defaultval=yes
8406 else
8407 defaultval=no
8408 fi
8409 fi
8410
8411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8412 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8413 # Check whether --enable-htmlhelp was given.
8414 if test "${enable_htmlhelp+set}" = set; then
8415 enableval=$enable_htmlhelp;
8416 if test "$enableval" = yes; then
8417 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8418 else
8419 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8420 fi
8421
8422 else
8423
8424 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8425
8426 fi
8427
8428
8429 eval "$wx_cv_use_htmlhelp"
8430
8431 if test x"$enablestring" = xdisable; then
8432 if test $wxUSE_WXHTML_HELP = yes; then
8433 result=no
8434 else
8435 result=yes
8436 fi
8437 else
8438 result=$wxUSE_WXHTML_HELP
8439 fi
8440
8441 { echo "$as_me:$LINENO: result: $result" >&5
8442 echo "${ECHO_T}$result" >&6; }
8443
8444
8445 enablestring=
8446 defaultval=$wxUSE_ALL_FEATURES
8447 if test -z "$defaultval"; then
8448 if test x"$enablestring" = xdisable; then
8449 defaultval=yes
8450 else
8451 defaultval=no
8452 fi
8453 fi
8454
8455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8457 # Check whether --enable-xrc was given.
8458 if test "${enable_xrc+set}" = set; then
8459 enableval=$enable_xrc;
8460 if test "$enableval" = yes; then
8461 wx_cv_use_xrc='wxUSE_XRC=yes'
8462 else
8463 wx_cv_use_xrc='wxUSE_XRC=no'
8464 fi
8465
8466 else
8467
8468 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8469
8470 fi
8471
8472
8473 eval "$wx_cv_use_xrc"
8474
8475 if test x"$enablestring" = xdisable; then
8476 if test $wxUSE_XRC = yes; then
8477 result=no
8478 else
8479 result=yes
8480 fi
8481 else
8482 result=$wxUSE_XRC
8483 fi
8484
8485 { echo "$as_me:$LINENO: result: $result" >&5
8486 echo "${ECHO_T}$result" >&6; }
8487
8488
8489 enablestring=
8490 defaultval=$wxUSE_ALL_FEATURES
8491 if test -z "$defaultval"; then
8492 if test x"$enablestring" = xdisable; then
8493 defaultval=yes
8494 else
8495 defaultval=no
8496 fi
8497 fi
8498
8499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8501 # Check whether --enable-aui was given.
8502 if test "${enable_aui+set}" = set; then
8503 enableval=$enable_aui;
8504 if test "$enableval" = yes; then
8505 wx_cv_use_aui='wxUSE_AUI=yes'
8506 else
8507 wx_cv_use_aui='wxUSE_AUI=no'
8508 fi
8509
8510 else
8511
8512 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8513
8514 fi
8515
8516
8517 eval "$wx_cv_use_aui"
8518
8519 if test x"$enablestring" = xdisable; then
8520 if test $wxUSE_AUI = yes; then
8521 result=no
8522 else
8523 result=yes
8524 fi
8525 else
8526 result=$wxUSE_AUI
8527 fi
8528
8529 { echo "$as_me:$LINENO: result: $result" >&5
8530 echo "${ECHO_T}$result" >&6; }
8531
8532
8533 enablestring=
8534 defaultval=$wxUSE_ALL_FEATURES
8535 if test -z "$defaultval"; then
8536 if test x"$enablestring" = xdisable; then
8537 defaultval=yes
8538 else
8539 defaultval=no
8540 fi
8541 fi
8542
8543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8544 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8545 # Check whether --enable-propgrid was given.
8546 if test "${enable_propgrid+set}" = set; then
8547 enableval=$enable_propgrid;
8548 if test "$enableval" = yes; then
8549 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8550 else
8551 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8552 fi
8553
8554 else
8555
8556 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8557
8558 fi
8559
8560
8561 eval "$wx_cv_use_propgrid"
8562
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_PROPGRID = yes; then
8565 result=no
8566 else
8567 result=yes
8568 fi
8569 else
8570 result=$wxUSE_PROPGRID
8571 fi
8572
8573 { echo "$as_me:$LINENO: result: $result" >&5
8574 echo "${ECHO_T}$result" >&6; }
8575
8576
8577 enablestring=
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8581 defaultval=yes
8582 else
8583 defaultval=no
8584 fi
8585 fi
8586
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8589 # Check whether --enable-stc was given.
8590 if test "${enable_stc+set}" = set; then
8591 enableval=$enable_stc;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_stc='wxUSE_STC=yes'
8594 else
8595 wx_cv_use_stc='wxUSE_STC=no'
8596 fi
8597
8598 else
8599
8600 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8601
8602 fi
8603
8604
8605 eval "$wx_cv_use_stc"
8606
8607 if test x"$enablestring" = xdisable; then
8608 if test $wxUSE_STC = yes; then
8609 result=no
8610 else
8611 result=yes
8612 fi
8613 else
8614 result=$wxUSE_STC
8615 fi
8616
8617 { echo "$as_me:$LINENO: result: $result" >&5
8618 echo "${ECHO_T}$result" >&6; }
8619
8620
8621 enablestring=
8622 defaultval=$wxUSE_ALL_FEATURES
8623 if test -z "$defaultval"; then
8624 if test x"$enablestring" = xdisable; then
8625 defaultval=yes
8626 else
8627 defaultval=no
8628 fi
8629 fi
8630
8631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8632 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8633 # Check whether --enable-constraints was given.
8634 if test "${enable_constraints+set}" = set; then
8635 enableval=$enable_constraints;
8636 if test "$enableval" = yes; then
8637 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8638 else
8639 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8640 fi
8641
8642 else
8643
8644 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8645
8646 fi
8647
8648
8649 eval "$wx_cv_use_constraints"
8650
8651 if test x"$enablestring" = xdisable; then
8652 if test $wxUSE_CONSTRAINTS = yes; then
8653 result=no
8654 else
8655 result=yes
8656 fi
8657 else
8658 result=$wxUSE_CONSTRAINTS
8659 fi
8660
8661 { echo "$as_me:$LINENO: result: $result" >&5
8662 echo "${ECHO_T}$result" >&6; }
8663
8664
8665 enablestring=
8666 defaultval=$wxUSE_ALL_FEATURES
8667 if test -z "$defaultval"; then
8668 if test x"$enablestring" = xdisable; then
8669 defaultval=yes
8670 else
8671 defaultval=no
8672 fi
8673 fi
8674
8675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8676 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8677 # Check whether --enable-loggui was given.
8678 if test "${enable_loggui+set}" = set; then
8679 enableval=$enable_loggui;
8680 if test "$enableval" = yes; then
8681 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8682 else
8683 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8684 fi
8685
8686 else
8687
8688 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8689
8690 fi
8691
8692
8693 eval "$wx_cv_use_loggui"
8694
8695 if test x"$enablestring" = xdisable; then
8696 if test $wxUSE_LOGGUI = yes; then
8697 result=no
8698 else
8699 result=yes
8700 fi
8701 else
8702 result=$wxUSE_LOGGUI
8703 fi
8704
8705 { echo "$as_me:$LINENO: result: $result" >&5
8706 echo "${ECHO_T}$result" >&6; }
8707
8708
8709 enablestring=
8710 defaultval=$wxUSE_ALL_FEATURES
8711 if test -z "$defaultval"; then
8712 if test x"$enablestring" = xdisable; then
8713 defaultval=yes
8714 else
8715 defaultval=no
8716 fi
8717 fi
8718
8719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8720 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8721 # Check whether --enable-logwin was given.
8722 if test "${enable_logwin+set}" = set; then
8723 enableval=$enable_logwin;
8724 if test "$enableval" = yes; then
8725 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8726 else
8727 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8728 fi
8729
8730 else
8731
8732 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8733
8734 fi
8735
8736
8737 eval "$wx_cv_use_logwin"
8738
8739 if test x"$enablestring" = xdisable; then
8740 if test $wxUSE_LOGWINDOW = yes; then
8741 result=no
8742 else
8743 result=yes
8744 fi
8745 else
8746 result=$wxUSE_LOGWINDOW
8747 fi
8748
8749 { echo "$as_me:$LINENO: result: $result" >&5
8750 echo "${ECHO_T}$result" >&6; }
8751
8752
8753 enablestring=
8754 defaultval=$wxUSE_ALL_FEATURES
8755 if test -z "$defaultval"; then
8756 if test x"$enablestring" = xdisable; then
8757 defaultval=yes
8758 else
8759 defaultval=no
8760 fi
8761 fi
8762
8763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8764 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8765 # Check whether --enable-logdialog was given.
8766 if test "${enable_logdialog+set}" = set; then
8767 enableval=$enable_logdialog;
8768 if test "$enableval" = yes; then
8769 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8770 else
8771 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8772 fi
8773
8774 else
8775
8776 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8777
8778 fi
8779
8780
8781 eval "$wx_cv_use_logdialog"
8782
8783 if test x"$enablestring" = xdisable; then
8784 if test $wxUSE_LOGDIALOG = yes; then
8785 result=no
8786 else
8787 result=yes
8788 fi
8789 else
8790 result=$wxUSE_LOGDIALOG
8791 fi
8792
8793 { echo "$as_me:$LINENO: result: $result" >&5
8794 echo "${ECHO_T}$result" >&6; }
8795
8796
8797 enablestring=
8798 defaultval=$wxUSE_ALL_FEATURES
8799 if test -z "$defaultval"; then
8800 if test x"$enablestring" = xdisable; then
8801 defaultval=yes
8802 else
8803 defaultval=no
8804 fi
8805 fi
8806
8807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8808 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8809 # Check whether --enable-mdi was given.
8810 if test "${enable_mdi+set}" = set; then
8811 enableval=$enable_mdi;
8812 if test "$enableval" = yes; then
8813 wx_cv_use_mdi='wxUSE_MDI=yes'
8814 else
8815 wx_cv_use_mdi='wxUSE_MDI=no'
8816 fi
8817
8818 else
8819
8820 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8821
8822 fi
8823
8824
8825 eval "$wx_cv_use_mdi"
8826
8827 if test x"$enablestring" = xdisable; then
8828 if test $wxUSE_MDI = yes; then
8829 result=no
8830 else
8831 result=yes
8832 fi
8833 else
8834 result=$wxUSE_MDI
8835 fi
8836
8837 { echo "$as_me:$LINENO: result: $result" >&5
8838 echo "${ECHO_T}$result" >&6; }
8839
8840
8841 enablestring=
8842 defaultval=$wxUSE_ALL_FEATURES
8843 if test -z "$defaultval"; then
8844 if test x"$enablestring" = xdisable; then
8845 defaultval=yes
8846 else
8847 defaultval=no
8848 fi
8849 fi
8850
8851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8852 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8853 # Check whether --enable-mdidoc was given.
8854 if test "${enable_mdidoc+set}" = set; then
8855 enableval=$enable_mdidoc;
8856 if test "$enableval" = yes; then
8857 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8858 else
8859 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8860 fi
8861
8862 else
8863
8864 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8865
8866 fi
8867
8868
8869 eval "$wx_cv_use_mdidoc"
8870
8871 if test x"$enablestring" = xdisable; then
8872 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8873 result=no
8874 else
8875 result=yes
8876 fi
8877 else
8878 result=$wxUSE_MDI_ARCHITECTURE
8879 fi
8880
8881 { echo "$as_me:$LINENO: result: $result" >&5
8882 echo "${ECHO_T}$result" >&6; }
8883
8884
8885 enablestring=
8886 defaultval=$wxUSE_ALL_FEATURES
8887 if test -z "$defaultval"; then
8888 if test x"$enablestring" = xdisable; then
8889 defaultval=yes
8890 else
8891 defaultval=no
8892 fi
8893 fi
8894
8895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8896 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8897 # Check whether --enable-mediactrl was given.
8898 if test "${enable_mediactrl+set}" = set; then
8899 enableval=$enable_mediactrl;
8900 if test "$enableval" = yes; then
8901 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8902 else
8903 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8904 fi
8905
8906 else
8907
8908 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8909
8910 fi
8911
8912
8913 eval "$wx_cv_use_mediactrl"
8914
8915 if test x"$enablestring" = xdisable; then
8916 if test $wxUSE_MEDIACTRL = yes; then
8917 result=no
8918 else
8919 result=yes
8920 fi
8921 else
8922 result=$wxUSE_MEDIACTRL
8923 fi
8924
8925 { echo "$as_me:$LINENO: result: $result" >&5
8926 echo "${ECHO_T}$result" >&6; }
8927
8928
8929 enablestring=
8930 defaultval=$wxUSE_ALL_FEATURES
8931 if test -z "$defaultval"; then
8932 if test x"$enablestring" = xdisable; then
8933 defaultval=yes
8934 else
8935 defaultval=no
8936 fi
8937 fi
8938
8939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8940 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8941 # Check whether --enable-gstreamer8 was given.
8942 if test "${enable_gstreamer8+set}" = set; then
8943 enableval=$enable_gstreamer8;
8944 if test "$enableval" = yes; then
8945 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8946 else
8947 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8948 fi
8949
8950 else
8951
8952 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8953
8954 fi
8955
8956
8957 eval "$wx_cv_use_gstreamer8"
8958
8959 if test x"$enablestring" = xdisable; then
8960 if test $wxUSE_GSTREAMER8 = yes; then
8961 result=no
8962 else
8963 result=yes
8964 fi
8965 else
8966 result=$wxUSE_GSTREAMER8
8967 fi
8968
8969 { echo "$as_me:$LINENO: result: $result" >&5
8970 echo "${ECHO_T}$result" >&6; }
8971
8972
8973 enablestring=
8974 defaultval=$wxUSE_ALL_FEATURES
8975 if test -z "$defaultval"; then
8976 if test x"$enablestring" = xdisable; then
8977 defaultval=yes
8978 else
8979 defaultval=no
8980 fi
8981 fi
8982
8983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8985 # Check whether --enable-webkit was given.
8986 if test "${enable_webkit+set}" = set; then
8987 enableval=$enable_webkit;
8988 if test "$enableval" = yes; then
8989 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8990 else
8991 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8992 fi
8993
8994 else
8995
8996 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8997
8998 fi
8999
9000
9001 eval "$wx_cv_use_webkit"
9002
9003 if test x"$enablestring" = xdisable; then
9004 if test $wxUSE_WEBKIT = yes; then
9005 result=no
9006 else
9007 result=yes
9008 fi
9009 else
9010 result=$wxUSE_WEBKIT
9011 fi
9012
9013 { echo "$as_me:$LINENO: result: $result" >&5
9014 echo "${ECHO_T}$result" >&6; }
9015
9016
9017 enablestring=
9018 defaultval=$wxUSE_ALL_FEATURES
9019 if test -z "$defaultval"; then
9020 if test x"$enablestring" = xdisable; then
9021 defaultval=yes
9022 else
9023 defaultval=no
9024 fi
9025 fi
9026
9027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9028 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9029 # Check whether --enable-richtext was given.
9030 if test "${enable_richtext+set}" = set; then
9031 enableval=$enable_richtext;
9032 if test "$enableval" = yes; then
9033 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9034 else
9035 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9036 fi
9037
9038 else
9039
9040 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9041
9042 fi
9043
9044
9045 eval "$wx_cv_use_richtext"
9046
9047 if test x"$enablestring" = xdisable; then
9048 if test $wxUSE_RICHTEXT = yes; then
9049 result=no
9050 else
9051 result=yes
9052 fi
9053 else
9054 result=$wxUSE_RICHTEXT
9055 fi
9056
9057 { echo "$as_me:$LINENO: result: $result" >&5
9058 echo "${ECHO_T}$result" >&6; }
9059
9060
9061 enablestring=
9062 defaultval=$wxUSE_ALL_FEATURES
9063 if test -z "$defaultval"; then
9064 if test x"$enablestring" = xdisable; then
9065 defaultval=yes
9066 else
9067 defaultval=no
9068 fi
9069 fi
9070
9071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9072 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9073 # Check whether --enable-graphics_ctx was given.
9074 if test "${enable_graphics_ctx+set}" = set; then
9075 enableval=$enable_graphics_ctx;
9076 if test "$enableval" = yes; then
9077 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9078 else
9079 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9080 fi
9081
9082 else
9083
9084 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9085
9086 fi
9087
9088
9089 eval "$wx_cv_use_graphics_ctx"
9090
9091 if test x"$enablestring" = xdisable; then
9092 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9093 result=no
9094 else
9095 result=yes
9096 fi
9097 else
9098 result=$wxUSE_GRAPHICS_CONTEXT
9099 fi
9100
9101 { echo "$as_me:$LINENO: result: $result" >&5
9102 echo "${ECHO_T}$result" >&6; }
9103
9104
9105 enablestring=
9106 defaultval=$wxUSE_ALL_FEATURES
9107 if test -z "$defaultval"; then
9108 if test x"$enablestring" = xdisable; then
9109 defaultval=yes
9110 else
9111 defaultval=no
9112 fi
9113 fi
9114
9115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9116 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9117 # Check whether --enable-postscript was given.
9118 if test "${enable_postscript+set}" = set; then
9119 enableval=$enable_postscript;
9120 if test "$enableval" = yes; then
9121 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9122 else
9123 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9124 fi
9125
9126 else
9127
9128 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9129
9130 fi
9131
9132
9133 eval "$wx_cv_use_postscript"
9134
9135 if test x"$enablestring" = xdisable; then
9136 if test $wxUSE_POSTSCRIPT = yes; then
9137 result=no
9138 else
9139 result=yes
9140 fi
9141 else
9142 result=$wxUSE_POSTSCRIPT
9143 fi
9144
9145 { echo "$as_me:$LINENO: result: $result" >&5
9146 echo "${ECHO_T}$result" >&6; }
9147
9148
9149 enablestring=
9150 defaultval=$wxUSE_ALL_FEATURES
9151 if test -z "$defaultval"; then
9152 if test x"$enablestring" = xdisable; then
9153 defaultval=yes
9154 else
9155 defaultval=no
9156 fi
9157 fi
9158
9159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9161 # Check whether --enable-printarch was given.
9162 if test "${enable_printarch+set}" = set; then
9163 enableval=$enable_printarch;
9164 if test "$enableval" = yes; then
9165 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9166 else
9167 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9168 fi
9169
9170 else
9171
9172 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9173
9174 fi
9175
9176
9177 eval "$wx_cv_use_printarch"
9178
9179 if test x"$enablestring" = xdisable; then
9180 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9181 result=no
9182 else
9183 result=yes
9184 fi
9185 else
9186 result=$wxUSE_PRINTING_ARCHITECTURE
9187 fi
9188
9189 { echo "$as_me:$LINENO: result: $result" >&5
9190 echo "${ECHO_T}$result" >&6; }
9191
9192
9193 enablestring=
9194 defaultval=$wxUSE_ALL_FEATURES
9195 if test -z "$defaultval"; then
9196 if test x"$enablestring" = xdisable; then
9197 defaultval=yes
9198 else
9199 defaultval=no
9200 fi
9201 fi
9202
9203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9205 # Check whether --enable-svg was given.
9206 if test "${enable_svg+set}" = set; then
9207 enableval=$enable_svg;
9208 if test "$enableval" = yes; then
9209 wx_cv_use_svg='wxUSE_SVG=yes'
9210 else
9211 wx_cv_use_svg='wxUSE_SVG=no'
9212 fi
9213
9214 else
9215
9216 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9217
9218 fi
9219
9220
9221 eval "$wx_cv_use_svg"
9222
9223 if test x"$enablestring" = xdisable; then
9224 if test $wxUSE_SVG = yes; then
9225 result=no
9226 else
9227 result=yes
9228 fi
9229 else
9230 result=$wxUSE_SVG
9231 fi
9232
9233 { echo "$as_me:$LINENO: result: $result" >&5
9234 echo "${ECHO_T}$result" >&6; }
9235
9236
9237
9238
9239 enablestring=
9240 defaultval=$wxUSE_ALL_FEATURES
9241 if test -z "$defaultval"; then
9242 if test x"$enablestring" = xdisable; then
9243 defaultval=yes
9244 else
9245 defaultval=no
9246 fi
9247 fi
9248
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9251 # Check whether --enable-clipboard was given.
9252 if test "${enable_clipboard+set}" = set; then
9253 enableval=$enable_clipboard;
9254 if test "$enableval" = yes; then
9255 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9256 else
9257 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9258 fi
9259
9260 else
9261
9262 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9263
9264 fi
9265
9266
9267 eval "$wx_cv_use_clipboard"
9268
9269 if test x"$enablestring" = xdisable; then
9270 if test $wxUSE_CLIPBOARD = yes; then
9271 result=no
9272 else
9273 result=yes
9274 fi
9275 else
9276 result=$wxUSE_CLIPBOARD
9277 fi
9278
9279 { echo "$as_me:$LINENO: result: $result" >&5
9280 echo "${ECHO_T}$result" >&6; }
9281
9282
9283 enablestring=
9284 defaultval=$wxUSE_ALL_FEATURES
9285 if test -z "$defaultval"; then
9286 if test x"$enablestring" = xdisable; then
9287 defaultval=yes
9288 else
9289 defaultval=no
9290 fi
9291 fi
9292
9293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9295 # Check whether --enable-dnd was given.
9296 if test "${enable_dnd+set}" = set; then
9297 enableval=$enable_dnd;
9298 if test "$enableval" = yes; then
9299 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9300 else
9301 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9302 fi
9303
9304 else
9305
9306 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9307
9308 fi
9309
9310
9311 eval "$wx_cv_use_dnd"
9312
9313 if test x"$enablestring" = xdisable; then
9314 if test $wxUSE_DRAG_AND_DROP = yes; then
9315 result=no
9316 else
9317 result=yes
9318 fi
9319 else
9320 result=$wxUSE_DRAG_AND_DROP
9321 fi
9322
9323 { echo "$as_me:$LINENO: result: $result" >&5
9324 echo "${ECHO_T}$result" >&6; }
9325
9326
9327 enablestring=
9328 defaultval=$wxUSE_ALL_FEATURES
9329 if test -z "$defaultval"; then
9330 if test x"$enablestring" = xdisable; then
9331 defaultval=yes
9332 else
9333 defaultval=no
9334 fi
9335 fi
9336
9337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9338 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9339 # Check whether --enable-metafile was given.
9340 if test "${enable_metafile+set}" = set; then
9341 enableval=$enable_metafile;
9342 if test "$enableval" = yes; then
9343 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9344 else
9345 wx_cv_use_metafile='wxUSE_METAFILE=no'
9346 fi
9347
9348 else
9349
9350 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9351
9352 fi
9353
9354
9355 eval "$wx_cv_use_metafile"
9356
9357 if test x"$enablestring" = xdisable; then
9358 if test $wxUSE_METAFILE = yes; then
9359 result=no
9360 else
9361 result=yes
9362 fi
9363 else
9364 result=$wxUSE_METAFILE
9365 fi
9366
9367 { echo "$as_me:$LINENO: result: $result" >&5
9368 echo "${ECHO_T}$result" >&6; }
9369
9370
9371
9372 DEFAULT_wxUSE_CONTROLS=none
9373
9374 enablestring=disable
9375 defaultval=
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9378 defaultval=yes
9379 else
9380 defaultval=no
9381 fi
9382 fi
9383
9384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9386 # Check whether --enable-controls was given.
9387 if test "${enable_controls+set}" = set; then
9388 enableval=$enable_controls;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9391 else
9392 wx_cv_use_controls='wxUSE_CONTROLS=no'
9393 fi
9394
9395 else
9396
9397 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9398
9399 fi
9400
9401
9402 eval "$wx_cv_use_controls"
9403
9404 if test x"$enablestring" = xdisable; then
9405 if test $wxUSE_CONTROLS = yes; then
9406 result=no
9407 else
9408 result=yes
9409 fi
9410 else
9411 result=$wxUSE_CONTROLS
9412 fi
9413
9414 { echo "$as_me:$LINENO: result: $result" >&5
9415 echo "${ECHO_T}$result" >&6; }
9416
9417
9418 if test "$wxUSE_CONTROLS" = "yes"; then
9419 DEFAULT_wxUSE_ACCEL=yes
9420 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9421 DEFAULT_wxUSE_BMPBUTTON=yes
9422 DEFAULT_wxUSE_BUTTON=yes
9423 DEFAULT_wxUSE_CALCTRL=yes
9424 DEFAULT_wxUSE_CARET=yes
9425 DEFAULT_wxUSE_COMBOBOX=yes
9426 DEFAULT_wxUSE_CHECKBOX=yes
9427 DEFAULT_wxUSE_CHECKLISTBOX=yes
9428 DEFAULT_wxUSE_CHOICE=yes
9429 DEFAULT_wxUSE_CHOICEBOOK=yes
9430 DEFAULT_wxUSE_COLLPANE=yes
9431 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9432 DEFAULT_wxUSE_COMBOBOX=yes
9433 DEFAULT_wxUSE_DATEPICKCTRL=yes
9434 DEFAULT_wxUSE_DISPLAY=yes
9435 DEFAULT_wxUSE_DETECT_SM=yes
9436 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9437 DEFAULT_wxUSE_FILECTRL=yes
9438 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9439 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9440 DEFAULT_wxUSE_GAUGE=yes
9441 DEFAULT_wxUSE_GRID=yes
9442 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9443 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9444 DEFAULT_wxUSE_IMAGLIST=yes
9445 DEFAULT_wxUSE_LISTBOOK=yes
9446 DEFAULT_wxUSE_LISTBOX=yes
9447 DEFAULT_wxUSE_LISTCTRL=yes
9448 DEFAULT_wxUSE_NOTEBOOK=yes
9449 DEFAULT_wxUSE_RADIOBOX=yes
9450 DEFAULT_wxUSE_RADIOBTN=yes
9451 DEFAULT_wxUSE_SASH=yes
9452 DEFAULT_wxUSE_SCROLLBAR=yes
9453 DEFAULT_wxUSE_SEARCHCTRL=yes
9454 DEFAULT_wxUSE_SLIDER=yes
9455 DEFAULT_wxUSE_SPINBTN=yes
9456 DEFAULT_wxUSE_SPINCTRL=yes
9457 DEFAULT_wxUSE_SPLITTER=yes
9458 DEFAULT_wxUSE_STATBMP=yes
9459 DEFAULT_wxUSE_STATBOX=yes
9460 DEFAULT_wxUSE_STATLINE=yes
9461 DEFAULT_wxUSE_STATUSBAR=yes
9462 DEFAULT_wxUSE_TOGGLEBTN=yes
9463 DEFAULT_wxUSE_TOOLBAR=yes
9464 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9465 DEFAULT_wxUSE_TOOLTIPS=yes
9466 DEFAULT_wxUSE_TREEBOOK=yes
9467 DEFAULT_wxUSE_TOOLBOOK=yes
9468 DEFAULT_wxUSE_TREECTRL=yes
9469 DEFAULT_wxUSE_POPUPWIN=yes
9470 DEFAULT_wxUSE_TIPWINDOW=yes
9471 elif test "$wxUSE_CONTROLS" = "no"; then
9472 DEFAULT_wxUSE_ACCEL=no
9473 DEFAULT_wxUSE_ANIMATIONCTRL=no
9474 DEFAULT_wxUSE_BMPBUTTON=no
9475 DEFAULT_wxUSE_BUTTON=no
9476 DEFAULT_wxUSE_CALCTRL=no
9477 DEFAULT_wxUSE_CARET=no
9478 DEFAULT_wxUSE_COLLPANE=no
9479 DEFAULT_wxUSE_COMBOBOX=no
9480 DEFAULT_wxUSE_CHECKBOX=no
9481 DEFAULT_wxUSE_CHECKLISTBOX=no
9482 DEFAULT_wxUSE_CHOICE=no
9483 DEFAULT_wxUSE_CHOICEBOOK=no
9484 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9485 DEFAULT_wxUSE_COMBOBOX=no
9486 DEFAULT_wxUSE_DATEPICKCTRL=no
9487 DEFAULT_wxUSE_DISPLAY=no
9488 DEFAULT_wxUSE_DETECT_SM=no
9489 DEFAULT_wxUSE_DIRPICKERCTRL=no
9490 DEFAULT_wxUSE_FILECTRL=no
9491 DEFAULT_wxUSE_FILEPICKERCTRL=no
9492 DEFAULT_wxUSE_FONTPICKERCTRL=no
9493 DEFAULT_wxUSE_GAUGE=no
9494 DEFAULT_wxUSE_GRID=no
9495 DEFAULT_wxUSE_HYPERLINKCTRL=no
9496 DEFAULT_wxUSE_DATAVIEWCTRL=no
9497 DEFAULT_wxUSE_IMAGLIST=no
9498 DEFAULT_wxUSE_LISTBOOK=no
9499 DEFAULT_wxUSE_LISTBOX=no
9500 DEFAULT_wxUSE_LISTCTRL=no
9501 DEFAULT_wxUSE_NOTEBOOK=no
9502 DEFAULT_wxUSE_RADIOBOX=no
9503 DEFAULT_wxUSE_RADIOBTN=no
9504 DEFAULT_wxUSE_REARRANGECTRL=no
9505 DEFAULT_wxUSE_SASH=no
9506 DEFAULT_wxUSE_SCROLLBAR=no
9507 DEFAULT_wxUSE_SEARCHCTRL=no
9508 DEFAULT_wxUSE_SLIDER=no
9509 DEFAULT_wxUSE_SPINBTN=no
9510 DEFAULT_wxUSE_SPINCTRL=no
9511 DEFAULT_wxUSE_SPLITTER=no
9512 DEFAULT_wxUSE_STATBMP=no
9513 DEFAULT_wxUSE_STATBOX=no
9514 DEFAULT_wxUSE_STATLINE=no
9515 DEFAULT_wxUSE_STATUSBAR=no
9516 DEFAULT_wxUSE_TOGGLEBTN=no
9517 DEFAULT_wxUSE_TOOLBAR=no
9518 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9519 DEFAULT_wxUSE_TOOLTIPS=no
9520 DEFAULT_wxUSE_TREEBOOK=no
9521 DEFAULT_wxUSE_TOOLBOOK=no
9522 DEFAULT_wxUSE_TREECTRL=no
9523 DEFAULT_wxUSE_POPUPWIN=no
9524 DEFAULT_wxUSE_TIPWINDOW=no
9525 fi
9526
9527
9528 enablestring=
9529 defaultval=$wxUSE_ALL_FEATURES
9530 if test -z "$defaultval"; then
9531 if test x"$enablestring" = xdisable; then
9532 defaultval=yes
9533 else
9534 defaultval=no
9535 fi
9536 fi
9537
9538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9539 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9540 # Check whether --enable-accel was given.
9541 if test "${enable_accel+set}" = set; then
9542 enableval=$enable_accel;
9543 if test "$enableval" = yes; then
9544 wx_cv_use_accel='wxUSE_ACCEL=yes'
9545 else
9546 wx_cv_use_accel='wxUSE_ACCEL=no'
9547 fi
9548
9549 else
9550
9551 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9552
9553 fi
9554
9555
9556 eval "$wx_cv_use_accel"
9557
9558 if test x"$enablestring" = xdisable; then
9559 if test $wxUSE_ACCEL = yes; then
9560 result=no
9561 else
9562 result=yes
9563 fi
9564 else
9565 result=$wxUSE_ACCEL
9566 fi
9567
9568 { echo "$as_me:$LINENO: result: $result" >&5
9569 echo "${ECHO_T}$result" >&6; }
9570
9571
9572 enablestring=
9573 defaultval=$wxUSE_ALL_FEATURES
9574 if test -z "$defaultval"; then
9575 if test x"$enablestring" = xdisable; then
9576 defaultval=yes
9577 else
9578 defaultval=no
9579 fi
9580 fi
9581
9582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9583 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9584 # Check whether --enable-animatectrl was given.
9585 if test "${enable_animatectrl+set}" = set; then
9586 enableval=$enable_animatectrl;
9587 if test "$enableval" = yes; then
9588 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9589 else
9590 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9591 fi
9592
9593 else
9594
9595 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9596
9597 fi
9598
9599
9600 eval "$wx_cv_use_animatectrl"
9601
9602 if test x"$enablestring" = xdisable; then
9603 if test $wxUSE_ANIMATIONCTRL = yes; then
9604 result=no
9605 else
9606 result=yes
9607 fi
9608 else
9609 result=$wxUSE_ANIMATIONCTRL
9610 fi
9611
9612 { echo "$as_me:$LINENO: result: $result" >&5
9613 echo "${ECHO_T}$result" >&6; }
9614
9615
9616 enablestring=
9617 defaultval=$wxUSE_ALL_FEATURES
9618 if test -z "$defaultval"; then
9619 if test x"$enablestring" = xdisable; then
9620 defaultval=yes
9621 else
9622 defaultval=no
9623 fi
9624 fi
9625
9626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9627 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9628 # Check whether --enable-button was given.
9629 if test "${enable_button+set}" = set; then
9630 enableval=$enable_button;
9631 if test "$enableval" = yes; then
9632 wx_cv_use_button='wxUSE_BUTTON=yes'
9633 else
9634 wx_cv_use_button='wxUSE_BUTTON=no'
9635 fi
9636
9637 else
9638
9639 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9640
9641 fi
9642
9643
9644 eval "$wx_cv_use_button"
9645
9646 if test x"$enablestring" = xdisable; then
9647 if test $wxUSE_BUTTON = yes; then
9648 result=no
9649 else
9650 result=yes
9651 fi
9652 else
9653 result=$wxUSE_BUTTON
9654 fi
9655
9656 { echo "$as_me:$LINENO: result: $result" >&5
9657 echo "${ECHO_T}$result" >&6; }
9658
9659
9660 enablestring=
9661 defaultval=$wxUSE_ALL_FEATURES
9662 if test -z "$defaultval"; then
9663 if test x"$enablestring" = xdisable; then
9664 defaultval=yes
9665 else
9666 defaultval=no
9667 fi
9668 fi
9669
9670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9672 # Check whether --enable-bmpbutton was given.
9673 if test "${enable_bmpbutton+set}" = set; then
9674 enableval=$enable_bmpbutton;
9675 if test "$enableval" = yes; then
9676 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9677 else
9678 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9679 fi
9680
9681 else
9682
9683 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9684
9685 fi
9686
9687
9688 eval "$wx_cv_use_bmpbutton"
9689
9690 if test x"$enablestring" = xdisable; then
9691 if test $wxUSE_BMPBUTTON = yes; then
9692 result=no
9693 else
9694 result=yes
9695 fi
9696 else
9697 result=$wxUSE_BMPBUTTON
9698 fi
9699
9700 { echo "$as_me:$LINENO: result: $result" >&5
9701 echo "${ECHO_T}$result" >&6; }
9702
9703
9704 enablestring=
9705 defaultval=$wxUSE_ALL_FEATURES
9706 if test -z "$defaultval"; then
9707 if test x"$enablestring" = xdisable; then
9708 defaultval=yes
9709 else
9710 defaultval=no
9711 fi
9712 fi
9713
9714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9716 # Check whether --enable-bmpcombobox was given.
9717 if test "${enable_bmpcombobox+set}" = set; then
9718 enableval=$enable_bmpcombobox;
9719 if test "$enableval" = yes; then
9720 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9721 else
9722 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9723 fi
9724
9725 else
9726
9727 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9728
9729 fi
9730
9731
9732 eval "$wx_cv_use_bmpcombobox"
9733
9734 if test x"$enablestring" = xdisable; then
9735 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9736 result=no
9737 else
9738 result=yes
9739 fi
9740 else
9741 result=$wxUSE_BITMAPCOMBOBOX
9742 fi
9743
9744 { echo "$as_me:$LINENO: result: $result" >&5
9745 echo "${ECHO_T}$result" >&6; }
9746
9747
9748 enablestring=
9749 defaultval=$wxUSE_ALL_FEATURES
9750 if test -z "$defaultval"; then
9751 if test x"$enablestring" = xdisable; then
9752 defaultval=yes
9753 else
9754 defaultval=no
9755 fi
9756 fi
9757
9758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9759 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9760 # Check whether --enable-calendar was given.
9761 if test "${enable_calendar+set}" = set; then
9762 enableval=$enable_calendar;
9763 if test "$enableval" = yes; then
9764 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9765 else
9766 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9767 fi
9768
9769 else
9770
9771 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9772
9773 fi
9774
9775
9776 eval "$wx_cv_use_calendar"
9777
9778 if test x"$enablestring" = xdisable; then
9779 if test $wxUSE_CALCTRL = yes; then
9780 result=no
9781 else
9782 result=yes
9783 fi
9784 else
9785 result=$wxUSE_CALCTRL
9786 fi
9787
9788 { echo "$as_me:$LINENO: result: $result" >&5
9789 echo "${ECHO_T}$result" >&6; }
9790
9791
9792 enablestring=
9793 defaultval=$wxUSE_ALL_FEATURES
9794 if test -z "$defaultval"; then
9795 if test x"$enablestring" = xdisable; then
9796 defaultval=yes
9797 else
9798 defaultval=no
9799 fi
9800 fi
9801
9802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9804 # Check whether --enable-caret was given.
9805 if test "${enable_caret+set}" = set; then
9806 enableval=$enable_caret;
9807 if test "$enableval" = yes; then
9808 wx_cv_use_caret='wxUSE_CARET=yes'
9809 else
9810 wx_cv_use_caret='wxUSE_CARET=no'
9811 fi
9812
9813 else
9814
9815 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9816
9817 fi
9818
9819
9820 eval "$wx_cv_use_caret"
9821
9822 if test x"$enablestring" = xdisable; then
9823 if test $wxUSE_CARET = yes; then
9824 result=no
9825 else
9826 result=yes
9827 fi
9828 else
9829 result=$wxUSE_CARET
9830 fi
9831
9832 { echo "$as_me:$LINENO: result: $result" >&5
9833 echo "${ECHO_T}$result" >&6; }
9834
9835
9836 enablestring=
9837 defaultval=$wxUSE_ALL_FEATURES
9838 if test -z "$defaultval"; then
9839 if test x"$enablestring" = xdisable; then
9840 defaultval=yes
9841 else
9842 defaultval=no
9843 fi
9844 fi
9845
9846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9848 # Check whether --enable-checkbox was given.
9849 if test "${enable_checkbox+set}" = set; then
9850 enableval=$enable_checkbox;
9851 if test "$enableval" = yes; then
9852 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9853 else
9854 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9855 fi
9856
9857 else
9858
9859 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9860
9861 fi
9862
9863
9864 eval "$wx_cv_use_checkbox"
9865
9866 if test x"$enablestring" = xdisable; then
9867 if test $wxUSE_CHECKBOX = yes; then
9868 result=no
9869 else
9870 result=yes
9871 fi
9872 else
9873 result=$wxUSE_CHECKBOX
9874 fi
9875
9876 { echo "$as_me:$LINENO: result: $result" >&5
9877 echo "${ECHO_T}$result" >&6; }
9878
9879
9880 enablestring=
9881 defaultval=$wxUSE_ALL_FEATURES
9882 if test -z "$defaultval"; then
9883 if test x"$enablestring" = xdisable; then
9884 defaultval=yes
9885 else
9886 defaultval=no
9887 fi
9888 fi
9889
9890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9891 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9892 # Check whether --enable-checklst was given.
9893 if test "${enable_checklst+set}" = set; then
9894 enableval=$enable_checklst;
9895 if test "$enableval" = yes; then
9896 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9897 else
9898 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9899 fi
9900
9901 else
9902
9903 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9904
9905 fi
9906
9907
9908 eval "$wx_cv_use_checklst"
9909
9910 if test x"$enablestring" = xdisable; then
9911 if test $wxUSE_CHECKLST = yes; then
9912 result=no
9913 else
9914 result=yes
9915 fi
9916 else
9917 result=$wxUSE_CHECKLST
9918 fi
9919
9920 { echo "$as_me:$LINENO: result: $result" >&5
9921 echo "${ECHO_T}$result" >&6; }
9922
9923
9924 enablestring=
9925 defaultval=$wxUSE_ALL_FEATURES
9926 if test -z "$defaultval"; then
9927 if test x"$enablestring" = xdisable; then
9928 defaultval=yes
9929 else
9930 defaultval=no
9931 fi
9932 fi
9933
9934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9935 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9936 # Check whether --enable-choice was given.
9937 if test "${enable_choice+set}" = set; then
9938 enableval=$enable_choice;
9939 if test "$enableval" = yes; then
9940 wx_cv_use_choice='wxUSE_CHOICE=yes'
9941 else
9942 wx_cv_use_choice='wxUSE_CHOICE=no'
9943 fi
9944
9945 else
9946
9947 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9948
9949 fi
9950
9951
9952 eval "$wx_cv_use_choice"
9953
9954 if test x"$enablestring" = xdisable; then
9955 if test $wxUSE_CHOICE = yes; then
9956 result=no
9957 else
9958 result=yes
9959 fi
9960 else
9961 result=$wxUSE_CHOICE
9962 fi
9963
9964 { echo "$as_me:$LINENO: result: $result" >&5
9965 echo "${ECHO_T}$result" >&6; }
9966
9967
9968 enablestring=
9969 defaultval=$wxUSE_ALL_FEATURES
9970 if test -z "$defaultval"; then
9971 if test x"$enablestring" = xdisable; then
9972 defaultval=yes
9973 else
9974 defaultval=no
9975 fi
9976 fi
9977
9978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9979 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9980 # Check whether --enable-choicebook was given.
9981 if test "${enable_choicebook+set}" = set; then
9982 enableval=$enable_choicebook;
9983 if test "$enableval" = yes; then
9984 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9985 else
9986 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9987 fi
9988
9989 else
9990
9991 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9992
9993 fi
9994
9995
9996 eval "$wx_cv_use_choicebook"
9997
9998 if test x"$enablestring" = xdisable; then
9999 if test $wxUSE_CHOICEBOOK = yes; then
10000 result=no
10001 else
10002 result=yes
10003 fi
10004 else
10005 result=$wxUSE_CHOICEBOOK
10006 fi
10007
10008 { echo "$as_me:$LINENO: result: $result" >&5
10009 echo "${ECHO_T}$result" >&6; }
10010
10011
10012 enablestring=
10013 defaultval=$wxUSE_ALL_FEATURES
10014 if test -z "$defaultval"; then
10015 if test x"$enablestring" = xdisable; then
10016 defaultval=yes
10017 else
10018 defaultval=no
10019 fi
10020 fi
10021
10022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10023 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10024 # Check whether --enable-collpane was given.
10025 if test "${enable_collpane+set}" = set; then
10026 enableval=$enable_collpane;
10027 if test "$enableval" = yes; then
10028 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10029 else
10030 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10031 fi
10032
10033 else
10034
10035 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10036
10037 fi
10038
10039
10040 eval "$wx_cv_use_collpane"
10041
10042 if test x"$enablestring" = xdisable; then
10043 if test $wxUSE_COLLPANE = yes; then
10044 result=no
10045 else
10046 result=yes
10047 fi
10048 else
10049 result=$wxUSE_COLLPANE
10050 fi
10051
10052 { echo "$as_me:$LINENO: result: $result" >&5
10053 echo "${ECHO_T}$result" >&6; }
10054
10055
10056 enablestring=
10057 defaultval=$wxUSE_ALL_FEATURES
10058 if test -z "$defaultval"; then
10059 if test x"$enablestring" = xdisable; then
10060 defaultval=yes
10061 else
10062 defaultval=no
10063 fi
10064 fi
10065
10066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10067 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10068 # Check whether --enable-colourpicker was given.
10069 if test "${enable_colourpicker+set}" = set; then
10070 enableval=$enable_colourpicker;
10071 if test "$enableval" = yes; then
10072 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10073 else
10074 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10075 fi
10076
10077 else
10078
10079 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10080
10081 fi
10082
10083
10084 eval "$wx_cv_use_colourpicker"
10085
10086 if test x"$enablestring" = xdisable; then
10087 if test $wxUSE_COLOURPICKERCTRL = yes; then
10088 result=no
10089 else
10090 result=yes
10091 fi
10092 else
10093 result=$wxUSE_COLOURPICKERCTRL
10094 fi
10095
10096 { echo "$as_me:$LINENO: result: $result" >&5
10097 echo "${ECHO_T}$result" >&6; }
10098
10099
10100 enablestring=
10101 defaultval=$wxUSE_ALL_FEATURES
10102 if test -z "$defaultval"; then
10103 if test x"$enablestring" = xdisable; then
10104 defaultval=yes
10105 else
10106 defaultval=no
10107 fi
10108 fi
10109
10110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10111 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10112 # Check whether --enable-combobox was given.
10113 if test "${enable_combobox+set}" = set; then
10114 enableval=$enable_combobox;
10115 if test "$enableval" = yes; then
10116 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10117 else
10118 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10119 fi
10120
10121 else
10122
10123 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10124
10125 fi
10126
10127
10128 eval "$wx_cv_use_combobox"
10129
10130 if test x"$enablestring" = xdisable; then
10131 if test $wxUSE_COMBOBOX = yes; then
10132 result=no
10133 else
10134 result=yes
10135 fi
10136 else
10137 result=$wxUSE_COMBOBOX
10138 fi
10139
10140 { echo "$as_me:$LINENO: result: $result" >&5
10141 echo "${ECHO_T}$result" >&6; }
10142
10143
10144 enablestring=
10145 defaultval=$wxUSE_ALL_FEATURES
10146 if test -z "$defaultval"; then
10147 if test x"$enablestring" = xdisable; then
10148 defaultval=yes
10149 else
10150 defaultval=no
10151 fi
10152 fi
10153
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10156 # Check whether --enable-comboctrl was given.
10157 if test "${enable_comboctrl+set}" = set; then
10158 enableval=$enable_comboctrl;
10159 if test "$enableval" = yes; then
10160 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10161 else
10162 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10163 fi
10164
10165 else
10166
10167 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10168
10169 fi
10170
10171
10172 eval "$wx_cv_use_comboctrl"
10173
10174 if test x"$enablestring" = xdisable; then
10175 if test $wxUSE_COMBOCTRL = yes; then
10176 result=no
10177 else
10178 result=yes
10179 fi
10180 else
10181 result=$wxUSE_COMBOCTRL
10182 fi
10183
10184 { echo "$as_me:$LINENO: result: $result" >&5
10185 echo "${ECHO_T}$result" >&6; }
10186
10187
10188 enablestring=
10189 defaultval=$wxUSE_ALL_FEATURES
10190 if test -z "$defaultval"; then
10191 if test x"$enablestring" = xdisable; then
10192 defaultval=yes
10193 else
10194 defaultval=no
10195 fi
10196 fi
10197
10198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10199 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10200 # Check whether --enable-datepick was given.
10201 if test "${enable_datepick+set}" = set; then
10202 enableval=$enable_datepick;
10203 if test "$enableval" = yes; then
10204 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10205 else
10206 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10207 fi
10208
10209 else
10210
10211 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10212
10213 fi
10214
10215
10216 eval "$wx_cv_use_datepick"
10217
10218 if test x"$enablestring" = xdisable; then
10219 if test $wxUSE_DATEPICKCTRL = yes; then
10220 result=no
10221 else
10222 result=yes
10223 fi
10224 else
10225 result=$wxUSE_DATEPICKCTRL
10226 fi
10227
10228 { echo "$as_me:$LINENO: result: $result" >&5
10229 echo "${ECHO_T}$result" >&6; }
10230
10231
10232 enablestring=
10233 defaultval=$wxUSE_ALL_FEATURES
10234 if test -z "$defaultval"; then
10235 if test x"$enablestring" = xdisable; then
10236 defaultval=yes
10237 else
10238 defaultval=no
10239 fi
10240 fi
10241
10242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10243 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10244 # Check whether --enable-dirpicker was given.
10245 if test "${enable_dirpicker+set}" = set; then
10246 enableval=$enable_dirpicker;
10247 if test "$enableval" = yes; then
10248 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10249 else
10250 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10251 fi
10252
10253 else
10254
10255 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10256
10257 fi
10258
10259
10260 eval "$wx_cv_use_dirpicker"
10261
10262 if test x"$enablestring" = xdisable; then
10263 if test $wxUSE_DIRPICKERCTRL = yes; then
10264 result=no
10265 else
10266 result=yes
10267 fi
10268 else
10269 result=$wxUSE_DIRPICKERCTRL
10270 fi
10271
10272 { echo "$as_me:$LINENO: result: $result" >&5
10273 echo "${ECHO_T}$result" >&6; }
10274
10275
10276 enablestring=
10277 defaultval=$wxUSE_ALL_FEATURES
10278 if test -z "$defaultval"; then
10279 if test x"$enablestring" = xdisable; then
10280 defaultval=yes
10281 else
10282 defaultval=no
10283 fi
10284 fi
10285
10286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10287 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10288 # Check whether --enable-display was given.
10289 if test "${enable_display+set}" = set; then
10290 enableval=$enable_display;
10291 if test "$enableval" = yes; then
10292 wx_cv_use_display='wxUSE_DISPLAY=yes'
10293 else
10294 wx_cv_use_display='wxUSE_DISPLAY=no'
10295 fi
10296
10297 else
10298
10299 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10300
10301 fi
10302
10303
10304 eval "$wx_cv_use_display"
10305
10306 if test x"$enablestring" = xdisable; then
10307 if test $wxUSE_DISPLAY = yes; then
10308 result=no
10309 else
10310 result=yes
10311 fi
10312 else
10313 result=$wxUSE_DISPLAY
10314 fi
10315
10316 { echo "$as_me:$LINENO: result: $result" >&5
10317 echo "${ECHO_T}$result" >&6; }
10318
10319
10320 enablestring=
10321 defaultval=$wxUSE_ALL_FEATURES
10322 if test -z "$defaultval"; then
10323 if test x"$enablestring" = xdisable; then
10324 defaultval=yes
10325 else
10326 defaultval=no
10327 fi
10328 fi
10329
10330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10331 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10332 # Check whether --enable-detect_sm was given.
10333 if test "${enable_detect_sm+set}" = set; then
10334 enableval=$enable_detect_sm;
10335 if test "$enableval" = yes; then
10336 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10337 else
10338 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10339 fi
10340
10341 else
10342
10343 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10344
10345 fi
10346
10347
10348 eval "$wx_cv_use_detect_sm"
10349
10350 if test x"$enablestring" = xdisable; then
10351 if test $wxUSE_DETECT_SM = yes; then
10352 result=no
10353 else
10354 result=yes
10355 fi
10356 else
10357 result=$wxUSE_DETECT_SM
10358 fi
10359
10360 { echo "$as_me:$LINENO: result: $result" >&5
10361 echo "${ECHO_T}$result" >&6; }
10362
10363
10364 enablestring=
10365 defaultval=$wxUSE_ALL_FEATURES
10366 if test -z "$defaultval"; then
10367 if test x"$enablestring" = xdisable; then
10368 defaultval=yes
10369 else
10370 defaultval=no
10371 fi
10372 fi
10373
10374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10376 # Check whether --enable-editablebox was given.
10377 if test "${enable_editablebox+set}" = set; then
10378 enableval=$enable_editablebox;
10379 if test "$enableval" = yes; then
10380 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10381 else
10382 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10383 fi
10384
10385 else
10386
10387 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10388
10389 fi
10390
10391
10392 eval "$wx_cv_use_editablebox"
10393
10394 if test x"$enablestring" = xdisable; then
10395 if test $wxUSE_EDITABLELISTBOX = yes; then
10396 result=no
10397 else
10398 result=yes
10399 fi
10400 else
10401 result=$wxUSE_EDITABLELISTBOX
10402 fi
10403
10404 { echo "$as_me:$LINENO: result: $result" >&5
10405 echo "${ECHO_T}$result" >&6; }
10406
10407
10408 enablestring=
10409 defaultval=$wxUSE_ALL_FEATURES
10410 if test -z "$defaultval"; then
10411 if test x"$enablestring" = xdisable; then
10412 defaultval=yes
10413 else
10414 defaultval=no
10415 fi
10416 fi
10417
10418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10419 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10420 # Check whether --enable-filepicker was given.
10421 if test "${enable_filepicker+set}" = set; then
10422 enableval=$enable_filepicker;
10423 if test "$enableval" = yes; then
10424 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10425 else
10426 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10427 fi
10428
10429 else
10430
10431 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10432
10433 fi
10434
10435
10436 eval "$wx_cv_use_filepicker"
10437
10438 if test x"$enablestring" = xdisable; then
10439 if test $wxUSE_FILEPICKERCTRL = yes; then
10440 result=no
10441 else
10442 result=yes
10443 fi
10444 else
10445 result=$wxUSE_FILEPICKERCTRL
10446 fi
10447
10448 { echo "$as_me:$LINENO: result: $result" >&5
10449 echo "${ECHO_T}$result" >&6; }
10450
10451
10452 enablestring=
10453 defaultval=$wxUSE_ALL_FEATURES
10454 if test -z "$defaultval"; then
10455 if test x"$enablestring" = xdisable; then
10456 defaultval=yes
10457 else
10458 defaultval=no
10459 fi
10460 fi
10461
10462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10463 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10464 # Check whether --enable-filectrl was given.
10465 if test "${enable_filectrl+set}" = set; then
10466 enableval=$enable_filectrl;
10467 if test "$enableval" = yes; then
10468 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10469 else
10470 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10471 fi
10472
10473 else
10474
10475 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10476
10477 fi
10478
10479
10480 eval "$wx_cv_use_filectrl"
10481
10482 if test x"$enablestring" = xdisable; then
10483 if test $wxUSE_FILECTRL = yes; then
10484 result=no
10485 else
10486 result=yes
10487 fi
10488 else
10489 result=$wxUSE_FILECTRL
10490 fi
10491
10492 { echo "$as_me:$LINENO: result: $result" >&5
10493 echo "${ECHO_T}$result" >&6; }
10494
10495
10496 enablestring=
10497 defaultval=$wxUSE_ALL_FEATURES
10498 if test -z "$defaultval"; then
10499 if test x"$enablestring" = xdisable; then
10500 defaultval=yes
10501 else
10502 defaultval=no
10503 fi
10504 fi
10505
10506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10507 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10508 # Check whether --enable-fontpicker was given.
10509 if test "${enable_fontpicker+set}" = set; then
10510 enableval=$enable_fontpicker;
10511 if test "$enableval" = yes; then
10512 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10513 else
10514 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10515 fi
10516
10517 else
10518
10519 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10520
10521 fi
10522
10523
10524 eval "$wx_cv_use_fontpicker"
10525
10526 if test x"$enablestring" = xdisable; then
10527 if test $wxUSE_FONTPICKERCTRL = yes; then
10528 result=no
10529 else
10530 result=yes
10531 fi
10532 else
10533 result=$wxUSE_FONTPICKERCTRL
10534 fi
10535
10536 { echo "$as_me:$LINENO: result: $result" >&5
10537 echo "${ECHO_T}$result" >&6; }
10538
10539
10540 enablestring=
10541 defaultval=$wxUSE_ALL_FEATURES
10542 if test -z "$defaultval"; then
10543 if test x"$enablestring" = xdisable; then
10544 defaultval=yes
10545 else
10546 defaultval=no
10547 fi
10548 fi
10549
10550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10551 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10552 # Check whether --enable-gauge was given.
10553 if test "${enable_gauge+set}" = set; then
10554 enableval=$enable_gauge;
10555 if test "$enableval" = yes; then
10556 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10557 else
10558 wx_cv_use_gauge='wxUSE_GAUGE=no'
10559 fi
10560
10561 else
10562
10563 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10564
10565 fi
10566
10567
10568 eval "$wx_cv_use_gauge"
10569
10570 if test x"$enablestring" = xdisable; then
10571 if test $wxUSE_GAUGE = yes; then
10572 result=no
10573 else
10574 result=yes
10575 fi
10576 else
10577 result=$wxUSE_GAUGE
10578 fi
10579
10580 { echo "$as_me:$LINENO: result: $result" >&5
10581 echo "${ECHO_T}$result" >&6; }
10582
10583
10584 enablestring=
10585 defaultval=$wxUSE_ALL_FEATURES
10586 if test -z "$defaultval"; then
10587 if test x"$enablestring" = xdisable; then
10588 defaultval=yes
10589 else
10590 defaultval=no
10591 fi
10592 fi
10593
10594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10595 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10596 # Check whether --enable-grid was given.
10597 if test "${enable_grid+set}" = set; then
10598 enableval=$enable_grid;
10599 if test "$enableval" = yes; then
10600 wx_cv_use_grid='wxUSE_GRID=yes'
10601 else
10602 wx_cv_use_grid='wxUSE_GRID=no'
10603 fi
10604
10605 else
10606
10607 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10608
10609 fi
10610
10611
10612 eval "$wx_cv_use_grid"
10613
10614 if test x"$enablestring" = xdisable; then
10615 if test $wxUSE_GRID = yes; then
10616 result=no
10617 else
10618 result=yes
10619 fi
10620 else
10621 result=$wxUSE_GRID
10622 fi
10623
10624 { echo "$as_me:$LINENO: result: $result" >&5
10625 echo "${ECHO_T}$result" >&6; }
10626
10627
10628 enablestring=
10629 defaultval=$wxUSE_ALL_FEATURES
10630 if test -z "$defaultval"; then
10631 if test x"$enablestring" = xdisable; then
10632 defaultval=yes
10633 else
10634 defaultval=no
10635 fi
10636 fi
10637
10638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10639 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10640 # Check whether --enable-dataviewctrl was given.
10641 if test "${enable_dataviewctrl+set}" = set; then
10642 enableval=$enable_dataviewctrl;
10643 if test "$enableval" = yes; then
10644 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10645 else
10646 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10647 fi
10648
10649 else
10650
10651 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10652
10653 fi
10654
10655
10656 eval "$wx_cv_use_dataviewctrl"
10657
10658 if test x"$enablestring" = xdisable; then
10659 if test $wxUSE_DATAVIEWCTRL = yes; then
10660 result=no
10661 else
10662 result=yes
10663 fi
10664 else
10665 result=$wxUSE_DATAVIEWCTRL
10666 fi
10667
10668 { echo "$as_me:$LINENO: result: $result" >&5
10669 echo "${ECHO_T}$result" >&6; }
10670
10671
10672 enablestring=
10673 defaultval=$wxUSE_ALL_FEATURES
10674 if test -z "$defaultval"; then
10675 if test x"$enablestring" = xdisable; then
10676 defaultval=yes
10677 else
10678 defaultval=no
10679 fi
10680 fi
10681
10682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10683 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10684 # Check whether --enable-hyperlink was given.
10685 if test "${enable_hyperlink+set}" = set; then
10686 enableval=$enable_hyperlink;
10687 if test "$enableval" = yes; then
10688 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10689 else
10690 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10691 fi
10692
10693 else
10694
10695 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10696
10697 fi
10698
10699
10700 eval "$wx_cv_use_hyperlink"
10701
10702 if test x"$enablestring" = xdisable; then
10703 if test $wxUSE_HYPERLINKCTRL = yes; then
10704 result=no
10705 else
10706 result=yes
10707 fi
10708 else
10709 result=$wxUSE_HYPERLINKCTRL
10710 fi
10711
10712 { echo "$as_me:$LINENO: result: $result" >&5
10713 echo "${ECHO_T}$result" >&6; }
10714
10715
10716 enablestring=
10717 defaultval=$wxUSE_ALL_FEATURES
10718 if test -z "$defaultval"; then
10719 if test x"$enablestring" = xdisable; then
10720 defaultval=yes
10721 else
10722 defaultval=no
10723 fi
10724 fi
10725
10726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10727 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10728 # Check whether --enable-imaglist was given.
10729 if test "${enable_imaglist+set}" = set; then
10730 enableval=$enable_imaglist;
10731 if test "$enableval" = yes; then
10732 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10733 else
10734 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10735 fi
10736
10737 else
10738
10739 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10740
10741 fi
10742
10743
10744 eval "$wx_cv_use_imaglist"
10745
10746 if test x"$enablestring" = xdisable; then
10747 if test $wxUSE_IMAGLIST = yes; then
10748 result=no
10749 else
10750 result=yes
10751 fi
10752 else
10753 result=$wxUSE_IMAGLIST
10754 fi
10755
10756 { echo "$as_me:$LINENO: result: $result" >&5
10757 echo "${ECHO_T}$result" >&6; }
10758
10759
10760 enablestring=
10761 defaultval=$wxUSE_ALL_FEATURES
10762 if test -z "$defaultval"; then
10763 if test x"$enablestring" = xdisable; then
10764 defaultval=yes
10765 else
10766 defaultval=no
10767 fi
10768 fi
10769
10770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10771 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10772 # Check whether --enable-listbook was given.
10773 if test "${enable_listbook+set}" = set; then
10774 enableval=$enable_listbook;
10775 if test "$enableval" = yes; then
10776 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10777 else
10778 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10779 fi
10780
10781 else
10782
10783 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10784
10785 fi
10786
10787
10788 eval "$wx_cv_use_listbook"
10789
10790 if test x"$enablestring" = xdisable; then
10791 if test $wxUSE_LISTBOOK = yes; then
10792 result=no
10793 else
10794 result=yes
10795 fi
10796 else
10797 result=$wxUSE_LISTBOOK
10798 fi
10799
10800 { echo "$as_me:$LINENO: result: $result" >&5
10801 echo "${ECHO_T}$result" >&6; }
10802
10803
10804 enablestring=
10805 defaultval=$wxUSE_ALL_FEATURES
10806 if test -z "$defaultval"; then
10807 if test x"$enablestring" = xdisable; then
10808 defaultval=yes
10809 else
10810 defaultval=no
10811 fi
10812 fi
10813
10814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10815 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10816 # Check whether --enable-listbox was given.
10817 if test "${enable_listbox+set}" = set; then
10818 enableval=$enable_listbox;
10819 if test "$enableval" = yes; then
10820 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10821 else
10822 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10823 fi
10824
10825 else
10826
10827 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10828
10829 fi
10830
10831
10832 eval "$wx_cv_use_listbox"
10833
10834 if test x"$enablestring" = xdisable; then
10835 if test $wxUSE_LISTBOX = yes; then
10836 result=no
10837 else
10838 result=yes
10839 fi
10840 else
10841 result=$wxUSE_LISTBOX
10842 fi
10843
10844 { echo "$as_me:$LINENO: result: $result" >&5
10845 echo "${ECHO_T}$result" >&6; }
10846
10847
10848 enablestring=
10849 defaultval=$wxUSE_ALL_FEATURES
10850 if test -z "$defaultval"; then
10851 if test x"$enablestring" = xdisable; then
10852 defaultval=yes
10853 else
10854 defaultval=no
10855 fi
10856 fi
10857
10858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10859 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10860 # Check whether --enable-listctrl was given.
10861 if test "${enable_listctrl+set}" = set; then
10862 enableval=$enable_listctrl;
10863 if test "$enableval" = yes; then
10864 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10865 else
10866 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10867 fi
10868
10869 else
10870
10871 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10872
10873 fi
10874
10875
10876 eval "$wx_cv_use_listctrl"
10877
10878 if test x"$enablestring" = xdisable; then
10879 if test $wxUSE_LISTCTRL = yes; then
10880 result=no
10881 else
10882 result=yes
10883 fi
10884 else
10885 result=$wxUSE_LISTCTRL
10886 fi
10887
10888 { echo "$as_me:$LINENO: result: $result" >&5
10889 echo "${ECHO_T}$result" >&6; }
10890
10891
10892 enablestring=
10893 defaultval=$wxUSE_ALL_FEATURES
10894 if test -z "$defaultval"; then
10895 if test x"$enablestring" = xdisable; then
10896 defaultval=yes
10897 else
10898 defaultval=no
10899 fi
10900 fi
10901
10902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10903 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10904 # Check whether --enable-notebook was given.
10905 if test "${enable_notebook+set}" = set; then
10906 enableval=$enable_notebook;
10907 if test "$enableval" = yes; then
10908 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10909 else
10910 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10911 fi
10912
10913 else
10914
10915 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10916
10917 fi
10918
10919
10920 eval "$wx_cv_use_notebook"
10921
10922 if test x"$enablestring" = xdisable; then
10923 if test $wxUSE_NOTEBOOK = yes; then
10924 result=no
10925 else
10926 result=yes
10927 fi
10928 else
10929 result=$wxUSE_NOTEBOOK
10930 fi
10931
10932 { echo "$as_me:$LINENO: result: $result" >&5
10933 echo "${ECHO_T}$result" >&6; }
10934
10935
10936 enablestring=
10937 defaultval=$wxUSE_ALL_FEATURES
10938 if test -z "$defaultval"; then
10939 if test x"$enablestring" = xdisable; then
10940 defaultval=yes
10941 else
10942 defaultval=no
10943 fi
10944 fi
10945
10946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10947 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10948 # Check whether --enable-notifmsg was given.
10949 if test "${enable_notifmsg+set}" = set; then
10950 enableval=$enable_notifmsg;
10951 if test "$enableval" = yes; then
10952 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10953 else
10954 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10955 fi
10956
10957 else
10958
10959 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10960
10961 fi
10962
10963
10964 eval "$wx_cv_use_notifmsg"
10965
10966 if test x"$enablestring" = xdisable; then
10967 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10968 result=no
10969 else
10970 result=yes
10971 fi
10972 else
10973 result=$wxUSE_NOTIFICATION_MESSAGE
10974 fi
10975
10976 { echo "$as_me:$LINENO: result: $result" >&5
10977 echo "${ECHO_T}$result" >&6; }
10978
10979
10980 enablestring=
10981 defaultval=$wxUSE_ALL_FEATURES
10982 if test -z "$defaultval"; then
10983 if test x"$enablestring" = xdisable; then
10984 defaultval=yes
10985 else
10986 defaultval=no
10987 fi
10988 fi
10989
10990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10991 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10992 # Check whether --enable-odcombobox was given.
10993 if test "${enable_odcombobox+set}" = set; then
10994 enableval=$enable_odcombobox;
10995 if test "$enableval" = yes; then
10996 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10997 else
10998 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10999 fi
11000
11001 else
11002
11003 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11004
11005 fi
11006
11007
11008 eval "$wx_cv_use_odcombobox"
11009
11010 if test x"$enablestring" = xdisable; then
11011 if test $wxUSE_ODCOMBOBOX = yes; then
11012 result=no
11013 else
11014 result=yes
11015 fi
11016 else
11017 result=$wxUSE_ODCOMBOBOX
11018 fi
11019
11020 { echo "$as_me:$LINENO: result: $result" >&5
11021 echo "${ECHO_T}$result" >&6; }
11022
11023
11024 enablestring=
11025 defaultval=$wxUSE_ALL_FEATURES
11026 if test -z "$defaultval"; then
11027 if test x"$enablestring" = xdisable; then
11028 defaultval=yes
11029 else
11030 defaultval=no
11031 fi
11032 fi
11033
11034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11035 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11036 # Check whether --enable-radiobox was given.
11037 if test "${enable_radiobox+set}" = set; then
11038 enableval=$enable_radiobox;
11039 if test "$enableval" = yes; then
11040 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11041 else
11042 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11043 fi
11044
11045 else
11046
11047 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11048
11049 fi
11050
11051
11052 eval "$wx_cv_use_radiobox"
11053
11054 if test x"$enablestring" = xdisable; then
11055 if test $wxUSE_RADIOBOX = yes; then
11056 result=no
11057 else
11058 result=yes
11059 fi
11060 else
11061 result=$wxUSE_RADIOBOX
11062 fi
11063
11064 { echo "$as_me:$LINENO: result: $result" >&5
11065 echo "${ECHO_T}$result" >&6; }
11066
11067
11068 enablestring=
11069 defaultval=$wxUSE_ALL_FEATURES
11070 if test -z "$defaultval"; then
11071 if test x"$enablestring" = xdisable; then
11072 defaultval=yes
11073 else
11074 defaultval=no
11075 fi
11076 fi
11077
11078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11079 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11080 # Check whether --enable-radiobtn was given.
11081 if test "${enable_radiobtn+set}" = set; then
11082 enableval=$enable_radiobtn;
11083 if test "$enableval" = yes; then
11084 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11085 else
11086 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11087 fi
11088
11089 else
11090
11091 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11092
11093 fi
11094
11095
11096 eval "$wx_cv_use_radiobtn"
11097
11098 if test x"$enablestring" = xdisable; then
11099 if test $wxUSE_RADIOBTN = yes; then
11100 result=no
11101 else
11102 result=yes
11103 fi
11104 else
11105 result=$wxUSE_RADIOBTN
11106 fi
11107
11108 { echo "$as_me:$LINENO: result: $result" >&5
11109 echo "${ECHO_T}$result" >&6; }
11110
11111
11112 enablestring=
11113 defaultval=$wxUSE_ALL_FEATURES
11114 if test -z "$defaultval"; then
11115 if test x"$enablestring" = xdisable; then
11116 defaultval=yes
11117 else
11118 defaultval=no
11119 fi
11120 fi
11121
11122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11123 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11124 # Check whether --enable-rearrangectrl was given.
11125 if test "${enable_rearrangectrl+set}" = set; then
11126 enableval=$enable_rearrangectrl;
11127 if test "$enableval" = yes; then
11128 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11129 else
11130 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11131 fi
11132
11133 else
11134
11135 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11136
11137 fi
11138
11139
11140 eval "$wx_cv_use_rearrangectrl"
11141
11142 if test x"$enablestring" = xdisable; then
11143 if test $wxUSE_REARRANGECTRL = yes; then
11144 result=no
11145 else
11146 result=yes
11147 fi
11148 else
11149 result=$wxUSE_REARRANGECTRL
11150 fi
11151
11152 { echo "$as_me:$LINENO: result: $result" >&5
11153 echo "${ECHO_T}$result" >&6; }
11154
11155
11156 enablestring=
11157 defaultval=$wxUSE_ALL_FEATURES
11158 if test -z "$defaultval"; then
11159 if test x"$enablestring" = xdisable; then
11160 defaultval=yes
11161 else
11162 defaultval=no
11163 fi
11164 fi
11165
11166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11167 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11168 # Check whether --enable-sash was given.
11169 if test "${enable_sash+set}" = set; then
11170 enableval=$enable_sash;
11171 if test "$enableval" = yes; then
11172 wx_cv_use_sash='wxUSE_SASH=yes'
11173 else
11174 wx_cv_use_sash='wxUSE_SASH=no'
11175 fi
11176
11177 else
11178
11179 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11180
11181 fi
11182
11183
11184 eval "$wx_cv_use_sash"
11185
11186 if test x"$enablestring" = xdisable; then
11187 if test $wxUSE_SASH = yes; then
11188 result=no
11189 else
11190 result=yes
11191 fi
11192 else
11193 result=$wxUSE_SASH
11194 fi
11195
11196 { echo "$as_me:$LINENO: result: $result" >&5
11197 echo "${ECHO_T}$result" >&6; }
11198
11199
11200 enablestring=
11201 defaultval=$wxUSE_ALL_FEATURES
11202 if test -z "$defaultval"; then
11203 if test x"$enablestring" = xdisable; then
11204 defaultval=yes
11205 else
11206 defaultval=no
11207 fi
11208 fi
11209
11210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11211 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11212 # Check whether --enable-scrollbar was given.
11213 if test "${enable_scrollbar+set}" = set; then
11214 enableval=$enable_scrollbar;
11215 if test "$enableval" = yes; then
11216 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11217 else
11218 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11219 fi
11220
11221 else
11222
11223 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11224
11225 fi
11226
11227
11228 eval "$wx_cv_use_scrollbar"
11229
11230 if test x"$enablestring" = xdisable; then
11231 if test $wxUSE_SCROLLBAR = yes; then
11232 result=no
11233 else
11234 result=yes
11235 fi
11236 else
11237 result=$wxUSE_SCROLLBAR
11238 fi
11239
11240 { echo "$as_me:$LINENO: result: $result" >&5
11241 echo "${ECHO_T}$result" >&6; }
11242
11243
11244 enablestring=
11245 defaultval=$wxUSE_ALL_FEATURES
11246 if test -z "$defaultval"; then
11247 if test x"$enablestring" = xdisable; then
11248 defaultval=yes
11249 else
11250 defaultval=no
11251 fi
11252 fi
11253
11254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11255 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11256 # Check whether --enable-searchctrl was given.
11257 if test "${enable_searchctrl+set}" = set; then
11258 enableval=$enable_searchctrl;
11259 if test "$enableval" = yes; then
11260 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11261 else
11262 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11263 fi
11264
11265 else
11266
11267 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11268
11269 fi
11270
11271
11272 eval "$wx_cv_use_searchctrl"
11273
11274 if test x"$enablestring" = xdisable; then
11275 if test $wxUSE_SEARCHCTRL = yes; then
11276 result=no
11277 else
11278 result=yes
11279 fi
11280 else
11281 result=$wxUSE_SEARCHCTRL
11282 fi
11283
11284 { echo "$as_me:$LINENO: result: $result" >&5
11285 echo "${ECHO_T}$result" >&6; }
11286
11287
11288 enablestring=
11289 defaultval=$wxUSE_ALL_FEATURES
11290 if test -z "$defaultval"; then
11291 if test x"$enablestring" = xdisable; then
11292 defaultval=yes
11293 else
11294 defaultval=no
11295 fi
11296 fi
11297
11298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11299 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11300 # Check whether --enable-slider was given.
11301 if test "${enable_slider+set}" = set; then
11302 enableval=$enable_slider;
11303 if test "$enableval" = yes; then
11304 wx_cv_use_slider='wxUSE_SLIDER=yes'
11305 else
11306 wx_cv_use_slider='wxUSE_SLIDER=no'
11307 fi
11308
11309 else
11310
11311 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11312
11313 fi
11314
11315
11316 eval "$wx_cv_use_slider"
11317
11318 if test x"$enablestring" = xdisable; then
11319 if test $wxUSE_SLIDER = yes; then
11320 result=no
11321 else
11322 result=yes
11323 fi
11324 else
11325 result=$wxUSE_SLIDER
11326 fi
11327
11328 { echo "$as_me:$LINENO: result: $result" >&5
11329 echo "${ECHO_T}$result" >&6; }
11330
11331
11332 enablestring=
11333 defaultval=$wxUSE_ALL_FEATURES
11334 if test -z "$defaultval"; then
11335 if test x"$enablestring" = xdisable; then
11336 defaultval=yes
11337 else
11338 defaultval=no
11339 fi
11340 fi
11341
11342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11343 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11344 # Check whether --enable-spinbtn was given.
11345 if test "${enable_spinbtn+set}" = set; then
11346 enableval=$enable_spinbtn;
11347 if test "$enableval" = yes; then
11348 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11349 else
11350 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11351 fi
11352
11353 else
11354
11355 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11356
11357 fi
11358
11359
11360 eval "$wx_cv_use_spinbtn"
11361
11362 if test x"$enablestring" = xdisable; then
11363 if test $wxUSE_SPINBTN = yes; then
11364 result=no
11365 else
11366 result=yes
11367 fi
11368 else
11369 result=$wxUSE_SPINBTN
11370 fi
11371
11372 { echo "$as_me:$LINENO: result: $result" >&5
11373 echo "${ECHO_T}$result" >&6; }
11374
11375
11376 enablestring=
11377 defaultval=$wxUSE_ALL_FEATURES
11378 if test -z "$defaultval"; then
11379 if test x"$enablestring" = xdisable; then
11380 defaultval=yes
11381 else
11382 defaultval=no
11383 fi
11384 fi
11385
11386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11388 # Check whether --enable-spinctrl was given.
11389 if test "${enable_spinctrl+set}" = set; then
11390 enableval=$enable_spinctrl;
11391 if test "$enableval" = yes; then
11392 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11393 else
11394 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11395 fi
11396
11397 else
11398
11399 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11400
11401 fi
11402
11403
11404 eval "$wx_cv_use_spinctrl"
11405
11406 if test x"$enablestring" = xdisable; then
11407 if test $wxUSE_SPINCTRL = yes; then
11408 result=no
11409 else
11410 result=yes
11411 fi
11412 else
11413 result=$wxUSE_SPINCTRL
11414 fi
11415
11416 { echo "$as_me:$LINENO: result: $result" >&5
11417 echo "${ECHO_T}$result" >&6; }
11418
11419
11420 enablestring=
11421 defaultval=$wxUSE_ALL_FEATURES
11422 if test -z "$defaultval"; then
11423 if test x"$enablestring" = xdisable; then
11424 defaultval=yes
11425 else
11426 defaultval=no
11427 fi
11428 fi
11429
11430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11431 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11432 # Check whether --enable-splitter was given.
11433 if test "${enable_splitter+set}" = set; then
11434 enableval=$enable_splitter;
11435 if test "$enableval" = yes; then
11436 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11437 else
11438 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11439 fi
11440
11441 else
11442
11443 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11444
11445 fi
11446
11447
11448 eval "$wx_cv_use_splitter"
11449
11450 if test x"$enablestring" = xdisable; then
11451 if test $wxUSE_SPLITTER = yes; then
11452 result=no
11453 else
11454 result=yes
11455 fi
11456 else
11457 result=$wxUSE_SPLITTER
11458 fi
11459
11460 { echo "$as_me:$LINENO: result: $result" >&5
11461 echo "${ECHO_T}$result" >&6; }
11462
11463
11464 enablestring=
11465 defaultval=$wxUSE_ALL_FEATURES
11466 if test -z "$defaultval"; then
11467 if test x"$enablestring" = xdisable; then
11468 defaultval=yes
11469 else
11470 defaultval=no
11471 fi
11472 fi
11473
11474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11475 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11476 # Check whether --enable-statbmp was given.
11477 if test "${enable_statbmp+set}" = set; then
11478 enableval=$enable_statbmp;
11479 if test "$enableval" = yes; then
11480 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11481 else
11482 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11483 fi
11484
11485 else
11486
11487 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11488
11489 fi
11490
11491
11492 eval "$wx_cv_use_statbmp"
11493
11494 if test x"$enablestring" = xdisable; then
11495 if test $wxUSE_STATBMP = yes; then
11496 result=no
11497 else
11498 result=yes
11499 fi
11500 else
11501 result=$wxUSE_STATBMP
11502 fi
11503
11504 { echo "$as_me:$LINENO: result: $result" >&5
11505 echo "${ECHO_T}$result" >&6; }
11506
11507
11508 enablestring=
11509 defaultval=$wxUSE_ALL_FEATURES
11510 if test -z "$defaultval"; then
11511 if test x"$enablestring" = xdisable; then
11512 defaultval=yes
11513 else
11514 defaultval=no
11515 fi
11516 fi
11517
11518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11519 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11520 # Check whether --enable-statbox was given.
11521 if test "${enable_statbox+set}" = set; then
11522 enableval=$enable_statbox;
11523 if test "$enableval" = yes; then
11524 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11525 else
11526 wx_cv_use_statbox='wxUSE_STATBOX=no'
11527 fi
11528
11529 else
11530
11531 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11532
11533 fi
11534
11535
11536 eval "$wx_cv_use_statbox"
11537
11538 if test x"$enablestring" = xdisable; then
11539 if test $wxUSE_STATBOX = yes; then
11540 result=no
11541 else
11542 result=yes
11543 fi
11544 else
11545 result=$wxUSE_STATBOX
11546 fi
11547
11548 { echo "$as_me:$LINENO: result: $result" >&5
11549 echo "${ECHO_T}$result" >&6; }
11550
11551
11552 enablestring=
11553 defaultval=$wxUSE_ALL_FEATURES
11554 if test -z "$defaultval"; then
11555 if test x"$enablestring" = xdisable; then
11556 defaultval=yes
11557 else
11558 defaultval=no
11559 fi
11560 fi
11561
11562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11563 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11564 # Check whether --enable-statline was given.
11565 if test "${enable_statline+set}" = set; then
11566 enableval=$enable_statline;
11567 if test "$enableval" = yes; then
11568 wx_cv_use_statline='wxUSE_STATLINE=yes'
11569 else
11570 wx_cv_use_statline='wxUSE_STATLINE=no'
11571 fi
11572
11573 else
11574
11575 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11576
11577 fi
11578
11579
11580 eval "$wx_cv_use_statline"
11581
11582 if test x"$enablestring" = xdisable; then
11583 if test $wxUSE_STATLINE = yes; then
11584 result=no
11585 else
11586 result=yes
11587 fi
11588 else
11589 result=$wxUSE_STATLINE
11590 fi
11591
11592 { echo "$as_me:$LINENO: result: $result" >&5
11593 echo "${ECHO_T}$result" >&6; }
11594
11595
11596 enablestring=
11597 defaultval=$wxUSE_ALL_FEATURES
11598 if test -z "$defaultval"; then
11599 if test x"$enablestring" = xdisable; then
11600 defaultval=yes
11601 else
11602 defaultval=no
11603 fi
11604 fi
11605
11606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11607 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11608 # Check whether --enable-stattext was given.
11609 if test "${enable_stattext+set}" = set; then
11610 enableval=$enable_stattext;
11611 if test "$enableval" = yes; then
11612 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11613 else
11614 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11615 fi
11616
11617 else
11618
11619 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11620
11621 fi
11622
11623
11624 eval "$wx_cv_use_stattext"
11625
11626 if test x"$enablestring" = xdisable; then
11627 if test $wxUSE_STATTEXT = yes; then
11628 result=no
11629 else
11630 result=yes
11631 fi
11632 else
11633 result=$wxUSE_STATTEXT
11634 fi
11635
11636 { echo "$as_me:$LINENO: result: $result" >&5
11637 echo "${ECHO_T}$result" >&6; }
11638
11639
11640 enablestring=
11641 defaultval=$wxUSE_ALL_FEATURES
11642 if test -z "$defaultval"; then
11643 if test x"$enablestring" = xdisable; then
11644 defaultval=yes
11645 else
11646 defaultval=no
11647 fi
11648 fi
11649
11650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11651 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11652 # Check whether --enable-statusbar was given.
11653 if test "${enable_statusbar+set}" = set; then
11654 enableval=$enable_statusbar;
11655 if test "$enableval" = yes; then
11656 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11657 else
11658 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11659 fi
11660
11661 else
11662
11663 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11664
11665 fi
11666
11667
11668 eval "$wx_cv_use_statusbar"
11669
11670 if test x"$enablestring" = xdisable; then
11671 if test $wxUSE_STATUSBAR = yes; then
11672 result=no
11673 else
11674 result=yes
11675 fi
11676 else
11677 result=$wxUSE_STATUSBAR
11678 fi
11679
11680 { echo "$as_me:$LINENO: result: $result" >&5
11681 echo "${ECHO_T}$result" >&6; }
11682
11683
11684 enablestring=
11685 defaultval=$wxUSE_ALL_FEATURES
11686 if test -z "$defaultval"; then
11687 if test x"$enablestring" = xdisable; then
11688 defaultval=yes
11689 else
11690 defaultval=no
11691 fi
11692 fi
11693
11694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11695 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11696 # Check whether --enable-taskbaricon was given.
11697 if test "${enable_taskbaricon+set}" = set; then
11698 enableval=$enable_taskbaricon;
11699 if test "$enableval" = yes; then
11700 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11701 else
11702 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11703 fi
11704
11705 else
11706
11707 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11708
11709 fi
11710
11711
11712 eval "$wx_cv_use_taskbaricon"
11713
11714 if test x"$enablestring" = xdisable; then
11715 if test $wxUSE_TASKBARICON = yes; then
11716 result=no
11717 else
11718 result=yes
11719 fi
11720 else
11721 result=$wxUSE_TASKBARICON
11722 fi
11723
11724 { echo "$as_me:$LINENO: result: $result" >&5
11725 echo "${ECHO_T}$result" >&6; }
11726
11727
11728 enablestring=
11729 defaultval=$wxUSE_ALL_FEATURES
11730 if test -z "$defaultval"; then
11731 if test x"$enablestring" = xdisable; then
11732 defaultval=yes
11733 else
11734 defaultval=no
11735 fi
11736 fi
11737
11738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11740 # Check whether --enable-textctrl was given.
11741 if test "${enable_textctrl+set}" = set; then
11742 enableval=$enable_textctrl;
11743 if test "$enableval" = yes; then
11744 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11745 else
11746 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11747 fi
11748
11749 else
11750
11751 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11752
11753 fi
11754
11755
11756 eval "$wx_cv_use_textctrl"
11757
11758 if test x"$enablestring" = xdisable; then
11759 if test $wxUSE_TEXTCTRL = yes; then
11760 result=no
11761 else
11762 result=yes
11763 fi
11764 else
11765 result=$wxUSE_TEXTCTRL
11766 fi
11767
11768 { echo "$as_me:$LINENO: result: $result" >&5
11769 echo "${ECHO_T}$result" >&6; }
11770
11771
11772 enablestring=
11773 defaultval=$wxUSE_ALL_FEATURES
11774 if test -z "$defaultval"; then
11775 if test x"$enablestring" = xdisable; then
11776 defaultval=yes
11777 else
11778 defaultval=no
11779 fi
11780 fi
11781
11782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11783 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11784 # Check whether --enable-togglebtn was given.
11785 if test "${enable_togglebtn+set}" = set; then
11786 enableval=$enable_togglebtn;
11787 if test "$enableval" = yes; then
11788 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11789 else
11790 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11791 fi
11792
11793 else
11794
11795 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11796
11797 fi
11798
11799
11800 eval "$wx_cv_use_togglebtn"
11801
11802 if test x"$enablestring" = xdisable; then
11803 if test $wxUSE_TOGGLEBTN = yes; then
11804 result=no
11805 else
11806 result=yes
11807 fi
11808 else
11809 result=$wxUSE_TOGGLEBTN
11810 fi
11811
11812 { echo "$as_me:$LINENO: result: $result" >&5
11813 echo "${ECHO_T}$result" >&6; }
11814
11815
11816 enablestring=
11817 defaultval=$wxUSE_ALL_FEATURES
11818 if test -z "$defaultval"; then
11819 if test x"$enablestring" = xdisable; then
11820 defaultval=yes
11821 else
11822 defaultval=no
11823 fi
11824 fi
11825
11826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11827 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11828 # Check whether --enable-toolbar was given.
11829 if test "${enable_toolbar+set}" = set; then
11830 enableval=$enable_toolbar;
11831 if test "$enableval" = yes; then
11832 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11833 else
11834 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11835 fi
11836
11837 else
11838
11839 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11840
11841 fi
11842
11843
11844 eval "$wx_cv_use_toolbar"
11845
11846 if test x"$enablestring" = xdisable; then
11847 if test $wxUSE_TOOLBAR = yes; then
11848 result=no
11849 else
11850 result=yes
11851 fi
11852 else
11853 result=$wxUSE_TOOLBAR
11854 fi
11855
11856 { echo "$as_me:$LINENO: result: $result" >&5
11857 echo "${ECHO_T}$result" >&6; }
11858
11859
11860 enablestring=
11861 defaultval=$wxUSE_ALL_FEATURES
11862 if test -z "$defaultval"; then
11863 if test x"$enablestring" = xdisable; then
11864 defaultval=yes
11865 else
11866 defaultval=no
11867 fi
11868 fi
11869
11870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11871 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11872 # Check whether --enable-tbarnative was given.
11873 if test "${enable_tbarnative+set}" = set; then
11874 enableval=$enable_tbarnative;
11875 if test "$enableval" = yes; then
11876 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11877 else
11878 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11879 fi
11880
11881 else
11882
11883 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11884
11885 fi
11886
11887
11888 eval "$wx_cv_use_tbarnative"
11889
11890 if test x"$enablestring" = xdisable; then
11891 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11892 result=no
11893 else
11894 result=yes
11895 fi
11896 else
11897 result=$wxUSE_TOOLBAR_NATIVE
11898 fi
11899
11900 { echo "$as_me:$LINENO: result: $result" >&5
11901 echo "${ECHO_T}$result" >&6; }
11902
11903
11904 enablestring=
11905 defaultval=$wxUSE_ALL_FEATURES
11906 if test -z "$defaultval"; then
11907 if test x"$enablestring" = xdisable; then
11908 defaultval=yes
11909 else
11910 defaultval=no
11911 fi
11912 fi
11913
11914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11916 # Check whether --enable-treebook was given.
11917 if test "${enable_treebook+set}" = set; then
11918 enableval=$enable_treebook;
11919 if test "$enableval" = yes; then
11920 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11921 else
11922 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11923 fi
11924
11925 else
11926
11927 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11928
11929 fi
11930
11931
11932 eval "$wx_cv_use_treebook"
11933
11934 if test x"$enablestring" = xdisable; then
11935 if test $wxUSE_TREEBOOK = yes; then
11936 result=no
11937 else
11938 result=yes
11939 fi
11940 else
11941 result=$wxUSE_TREEBOOK
11942 fi
11943
11944 { echo "$as_me:$LINENO: result: $result" >&5
11945 echo "${ECHO_T}$result" >&6; }
11946
11947
11948 enablestring=
11949 defaultval=$wxUSE_ALL_FEATURES
11950 if test -z "$defaultval"; then
11951 if test x"$enablestring" = xdisable; then
11952 defaultval=yes
11953 else
11954 defaultval=no
11955 fi
11956 fi
11957
11958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11959 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11960 # Check whether --enable-toolbook was given.
11961 if test "${enable_toolbook+set}" = set; then
11962 enableval=$enable_toolbook;
11963 if test "$enableval" = yes; then
11964 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11965 else
11966 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11967 fi
11968
11969 else
11970
11971 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11972
11973 fi
11974
11975
11976 eval "$wx_cv_use_toolbook"
11977
11978 if test x"$enablestring" = xdisable; then
11979 if test $wxUSE_TOOLBOOK = yes; then
11980 result=no
11981 else
11982 result=yes
11983 fi
11984 else
11985 result=$wxUSE_TOOLBOOK
11986 fi
11987
11988 { echo "$as_me:$LINENO: result: $result" >&5
11989 echo "${ECHO_T}$result" >&6; }
11990
11991
11992 enablestring=
11993 defaultval=$wxUSE_ALL_FEATURES
11994 if test -z "$defaultval"; then
11995 if test x"$enablestring" = xdisable; then
11996 defaultval=yes
11997 else
11998 defaultval=no
11999 fi
12000 fi
12001
12002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12003 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12004 # Check whether --enable-treectrl was given.
12005 if test "${enable_treectrl+set}" = set; then
12006 enableval=$enable_treectrl;
12007 if test "$enableval" = yes; then
12008 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12009 else
12010 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12011 fi
12012
12013 else
12014
12015 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12016
12017 fi
12018
12019
12020 eval "$wx_cv_use_treectrl"
12021
12022 if test x"$enablestring" = xdisable; then
12023 if test $wxUSE_TREECTRL = yes; then
12024 result=no
12025 else
12026 result=yes
12027 fi
12028 else
12029 result=$wxUSE_TREECTRL
12030 fi
12031
12032 { echo "$as_me:$LINENO: result: $result" >&5
12033 echo "${ECHO_T}$result" >&6; }
12034
12035
12036 enablestring=
12037 defaultval=$wxUSE_ALL_FEATURES
12038 if test -z "$defaultval"; then
12039 if test x"$enablestring" = xdisable; then
12040 defaultval=yes
12041 else
12042 defaultval=no
12043 fi
12044 fi
12045
12046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12047 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12048 # Check whether --enable-tipwindow was given.
12049 if test "${enable_tipwindow+set}" = set; then
12050 enableval=$enable_tipwindow;
12051 if test "$enableval" = yes; then
12052 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12053 else
12054 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12055 fi
12056
12057 else
12058
12059 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12060
12061 fi
12062
12063
12064 eval "$wx_cv_use_tipwindow"
12065
12066 if test x"$enablestring" = xdisable; then
12067 if test $wxUSE_TIPWINDOW = yes; then
12068 result=no
12069 else
12070 result=yes
12071 fi
12072 else
12073 result=$wxUSE_TIPWINDOW
12074 fi
12075
12076 { echo "$as_me:$LINENO: result: $result" >&5
12077 echo "${ECHO_T}$result" >&6; }
12078
12079
12080 enablestring=
12081 defaultval=$wxUSE_ALL_FEATURES
12082 if test -z "$defaultval"; then
12083 if test x"$enablestring" = xdisable; then
12084 defaultval=yes
12085 else
12086 defaultval=no
12087 fi
12088 fi
12089
12090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12091 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12092 # Check whether --enable-popupwin was given.
12093 if test "${enable_popupwin+set}" = set; then
12094 enableval=$enable_popupwin;
12095 if test "$enableval" = yes; then
12096 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12097 else
12098 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12099 fi
12100
12101 else
12102
12103 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12104
12105 fi
12106
12107
12108 eval "$wx_cv_use_popupwin"
12109
12110 if test x"$enablestring" = xdisable; then
12111 if test $wxUSE_POPUPWIN = yes; then
12112 result=no
12113 else
12114 result=yes
12115 fi
12116 else
12117 result=$wxUSE_POPUPWIN
12118 fi
12119
12120 { echo "$as_me:$LINENO: result: $result" >&5
12121 echo "${ECHO_T}$result" >&6; }
12122
12123
12124
12125
12126 enablestring=
12127 defaultval=$wxUSE_ALL_FEATURES
12128 if test -z "$defaultval"; then
12129 if test x"$enablestring" = xdisable; then
12130 defaultval=yes
12131 else
12132 defaultval=no
12133 fi
12134 fi
12135
12136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12137 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12138 # Check whether --enable-commondlg was given.
12139 if test "${enable_commondlg+set}" = set; then
12140 enableval=$enable_commondlg;
12141 if test "$enableval" = yes; then
12142 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12143 else
12144 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12145 fi
12146
12147 else
12148
12149 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12150
12151 fi
12152
12153
12154 eval "$wx_cv_use_commondlg"
12155
12156 if test x"$enablestring" = xdisable; then
12157 if test $wxUSE_COMMONDLGS = yes; then
12158 result=no
12159 else
12160 result=yes
12161 fi
12162 else
12163 result=$wxUSE_COMMONDLGS
12164 fi
12165
12166 { echo "$as_me:$LINENO: result: $result" >&5
12167 echo "${ECHO_T}$result" >&6; }
12168
12169
12170 enablestring=
12171 defaultval=$wxUSE_ALL_FEATURES
12172 if test -z "$defaultval"; then
12173 if test x"$enablestring" = xdisable; then
12174 defaultval=yes
12175 else
12176 defaultval=no
12177 fi
12178 fi
12179
12180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12181 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12182 # Check whether --enable-aboutdlg was given.
12183 if test "${enable_aboutdlg+set}" = set; then
12184 enableval=$enable_aboutdlg;
12185 if test "$enableval" = yes; then
12186 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12187 else
12188 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12189 fi
12190
12191 else
12192
12193 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12194
12195 fi
12196
12197
12198 eval "$wx_cv_use_aboutdlg"
12199
12200 if test x"$enablestring" = xdisable; then
12201 if test $wxUSE_ABOUTDLG = yes; then
12202 result=no
12203 else
12204 result=yes
12205 fi
12206 else
12207 result=$wxUSE_ABOUTDLG
12208 fi
12209
12210 { echo "$as_me:$LINENO: result: $result" >&5
12211 echo "${ECHO_T}$result" >&6; }
12212
12213
12214 enablestring=
12215 defaultval=$wxUSE_ALL_FEATURES
12216 if test -z "$defaultval"; then
12217 if test x"$enablestring" = xdisable; then
12218 defaultval=yes
12219 else
12220 defaultval=no
12221 fi
12222 fi
12223
12224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12225 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12226 # Check whether --enable-choicedlg was given.
12227 if test "${enable_choicedlg+set}" = set; then
12228 enableval=$enable_choicedlg;
12229 if test "$enableval" = yes; then
12230 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12231 else
12232 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12233 fi
12234
12235 else
12236
12237 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12238
12239 fi
12240
12241
12242 eval "$wx_cv_use_choicedlg"
12243
12244 if test x"$enablestring" = xdisable; then
12245 if test $wxUSE_CHOICEDLG = yes; then
12246 result=no
12247 else
12248 result=yes
12249 fi
12250 else
12251 result=$wxUSE_CHOICEDLG
12252 fi
12253
12254 { echo "$as_me:$LINENO: result: $result" >&5
12255 echo "${ECHO_T}$result" >&6; }
12256
12257
12258 enablestring=
12259 defaultval=$wxUSE_ALL_FEATURES
12260 if test -z "$defaultval"; then
12261 if test x"$enablestring" = xdisable; then
12262 defaultval=yes
12263 else
12264 defaultval=no
12265 fi
12266 fi
12267
12268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12269 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12270 # Check whether --enable-coldlg was given.
12271 if test "${enable_coldlg+set}" = set; then
12272 enableval=$enable_coldlg;
12273 if test "$enableval" = yes; then
12274 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12275 else
12276 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12277 fi
12278
12279 else
12280
12281 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12282
12283 fi
12284
12285
12286 eval "$wx_cv_use_coldlg"
12287
12288 if test x"$enablestring" = xdisable; then
12289 if test $wxUSE_COLOURDLG = yes; then
12290 result=no
12291 else
12292 result=yes
12293 fi
12294 else
12295 result=$wxUSE_COLOURDLG
12296 fi
12297
12298 { echo "$as_me:$LINENO: result: $result" >&5
12299 echo "${ECHO_T}$result" >&6; }
12300
12301
12302 enablestring=
12303 defaultval=$wxUSE_ALL_FEATURES
12304 if test -z "$defaultval"; then
12305 if test x"$enablestring" = xdisable; then
12306 defaultval=yes
12307 else
12308 defaultval=no
12309 fi
12310 fi
12311
12312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12313 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12314 # Check whether --enable-filedlg was given.
12315 if test "${enable_filedlg+set}" = set; then
12316 enableval=$enable_filedlg;
12317 if test "$enableval" = yes; then
12318 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12319 else
12320 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12321 fi
12322
12323 else
12324
12325 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12326
12327 fi
12328
12329
12330 eval "$wx_cv_use_filedlg"
12331
12332 if test x"$enablestring" = xdisable; then
12333 if test $wxUSE_FILEDLG = yes; then
12334 result=no
12335 else
12336 result=yes
12337 fi
12338 else
12339 result=$wxUSE_FILEDLG
12340 fi
12341
12342 { echo "$as_me:$LINENO: result: $result" >&5
12343 echo "${ECHO_T}$result" >&6; }
12344
12345
12346 enablestring=
12347 defaultval=$wxUSE_ALL_FEATURES
12348 if test -z "$defaultval"; then
12349 if test x"$enablestring" = xdisable; then
12350 defaultval=yes
12351 else
12352 defaultval=no
12353 fi
12354 fi
12355
12356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12357 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12358 # Check whether --enable-finddlg was given.
12359 if test "${enable_finddlg+set}" = set; then
12360 enableval=$enable_finddlg;
12361 if test "$enableval" = yes; then
12362 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12363 else
12364 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12365 fi
12366
12367 else
12368
12369 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12370
12371 fi
12372
12373
12374 eval "$wx_cv_use_finddlg"
12375
12376 if test x"$enablestring" = xdisable; then
12377 if test $wxUSE_FINDREPLDLG = yes; then
12378 result=no
12379 else
12380 result=yes
12381 fi
12382 else
12383 result=$wxUSE_FINDREPLDLG
12384 fi
12385
12386 { echo "$as_me:$LINENO: result: $result" >&5
12387 echo "${ECHO_T}$result" >&6; }
12388
12389
12390 enablestring=
12391 defaultval=$wxUSE_ALL_FEATURES
12392 if test -z "$defaultval"; then
12393 if test x"$enablestring" = xdisable; then
12394 defaultval=yes
12395 else
12396 defaultval=no
12397 fi
12398 fi
12399
12400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12401 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12402 # Check whether --enable-fontdlg was given.
12403 if test "${enable_fontdlg+set}" = set; then
12404 enableval=$enable_fontdlg;
12405 if test "$enableval" = yes; then
12406 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12407 else
12408 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12409 fi
12410
12411 else
12412
12413 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12414
12415 fi
12416
12417
12418 eval "$wx_cv_use_fontdlg"
12419
12420 if test x"$enablestring" = xdisable; then
12421 if test $wxUSE_FONTDLG = yes; then
12422 result=no
12423 else
12424 result=yes
12425 fi
12426 else
12427 result=$wxUSE_FONTDLG
12428 fi
12429
12430 { echo "$as_me:$LINENO: result: $result" >&5
12431 echo "${ECHO_T}$result" >&6; }
12432
12433
12434 enablestring=
12435 defaultval=$wxUSE_ALL_FEATURES
12436 if test -z "$defaultval"; then
12437 if test x"$enablestring" = xdisable; then
12438 defaultval=yes
12439 else
12440 defaultval=no
12441 fi
12442 fi
12443
12444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12445 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12446 # Check whether --enable-dirdlg was given.
12447 if test "${enable_dirdlg+set}" = set; then
12448 enableval=$enable_dirdlg;
12449 if test "$enableval" = yes; then
12450 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12451 else
12452 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12453 fi
12454
12455 else
12456
12457 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12458
12459 fi
12460
12461
12462 eval "$wx_cv_use_dirdlg"
12463
12464 if test x"$enablestring" = xdisable; then
12465 if test $wxUSE_DIRDLG = yes; then
12466 result=no
12467 else
12468 result=yes
12469 fi
12470 else
12471 result=$wxUSE_DIRDLG
12472 fi
12473
12474 { echo "$as_me:$LINENO: result: $result" >&5
12475 echo "${ECHO_T}$result" >&6; }
12476
12477
12478 enablestring=
12479 defaultval=$wxUSE_ALL_FEATURES
12480 if test -z "$defaultval"; then
12481 if test x"$enablestring" = xdisable; then
12482 defaultval=yes
12483 else
12484 defaultval=no
12485 fi
12486 fi
12487
12488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12489 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12490 # Check whether --enable-msgdlg was given.
12491 if test "${enable_msgdlg+set}" = set; then
12492 enableval=$enable_msgdlg;
12493 if test "$enableval" = yes; then
12494 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12495 else
12496 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12497 fi
12498
12499 else
12500
12501 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12502
12503 fi
12504
12505
12506 eval "$wx_cv_use_msgdlg"
12507
12508 if test x"$enablestring" = xdisable; then
12509 if test $wxUSE_MSGDLG = yes; then
12510 result=no
12511 else
12512 result=yes
12513 fi
12514 else
12515 result=$wxUSE_MSGDLG
12516 fi
12517
12518 { echo "$as_me:$LINENO: result: $result" >&5
12519 echo "${ECHO_T}$result" >&6; }
12520
12521
12522 enablestring=
12523 defaultval=$wxUSE_ALL_FEATURES
12524 if test -z "$defaultval"; then
12525 if test x"$enablestring" = xdisable; then
12526 defaultval=yes
12527 else
12528 defaultval=no
12529 fi
12530 fi
12531
12532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12533 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12534 # Check whether --enable-numberdlg was given.
12535 if test "${enable_numberdlg+set}" = set; then
12536 enableval=$enable_numberdlg;
12537 if test "$enableval" = yes; then
12538 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12539 else
12540 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12541 fi
12542
12543 else
12544
12545 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12546
12547 fi
12548
12549
12550 eval "$wx_cv_use_numberdlg"
12551
12552 if test x"$enablestring" = xdisable; then
12553 if test $wxUSE_NUMBERDLG = yes; then
12554 result=no
12555 else
12556 result=yes
12557 fi
12558 else
12559 result=$wxUSE_NUMBERDLG
12560 fi
12561
12562 { echo "$as_me:$LINENO: result: $result" >&5
12563 echo "${ECHO_T}$result" >&6; }
12564
12565
12566 enablestring=
12567 defaultval=$wxUSE_ALL_FEATURES
12568 if test -z "$defaultval"; then
12569 if test x"$enablestring" = xdisable; then
12570 defaultval=yes
12571 else
12572 defaultval=no
12573 fi
12574 fi
12575
12576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12577 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12578 # Check whether --enable-splash was given.
12579 if test "${enable_splash+set}" = set; then
12580 enableval=$enable_splash;
12581 if test "$enableval" = yes; then
12582 wx_cv_use_splash='wxUSE_SPLASH=yes'
12583 else
12584 wx_cv_use_splash='wxUSE_SPLASH=no'
12585 fi
12586
12587 else
12588
12589 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12590
12591 fi
12592
12593
12594 eval "$wx_cv_use_splash"
12595
12596 if test x"$enablestring" = xdisable; then
12597 if test $wxUSE_SPLASH = yes; then
12598 result=no
12599 else
12600 result=yes
12601 fi
12602 else
12603 result=$wxUSE_SPLASH
12604 fi
12605
12606 { echo "$as_me:$LINENO: result: $result" >&5
12607 echo "${ECHO_T}$result" >&6; }
12608
12609
12610 enablestring=
12611 defaultval=$wxUSE_ALL_FEATURES
12612 if test -z "$defaultval"; then
12613 if test x"$enablestring" = xdisable; then
12614 defaultval=yes
12615 else
12616 defaultval=no
12617 fi
12618 fi
12619
12620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12621 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12622 # Check whether --enable-textdlg was given.
12623 if test "${enable_textdlg+set}" = set; then
12624 enableval=$enable_textdlg;
12625 if test "$enableval" = yes; then
12626 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12627 else
12628 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12629 fi
12630
12631 else
12632
12633 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12634
12635 fi
12636
12637
12638 eval "$wx_cv_use_textdlg"
12639
12640 if test x"$enablestring" = xdisable; then
12641 if test $wxUSE_TEXTDLG = yes; then
12642 result=no
12643 else
12644 result=yes
12645 fi
12646 else
12647 result=$wxUSE_TEXTDLG
12648 fi
12649
12650 { echo "$as_me:$LINENO: result: $result" >&5
12651 echo "${ECHO_T}$result" >&6; }
12652
12653
12654 enablestring=
12655 defaultval=$wxUSE_ALL_FEATURES
12656 if test -z "$defaultval"; then
12657 if test x"$enablestring" = xdisable; then
12658 defaultval=yes
12659 else
12660 defaultval=no
12661 fi
12662 fi
12663
12664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12665 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12666 # Check whether --enable-tipdlg was given.
12667 if test "${enable_tipdlg+set}" = set; then
12668 enableval=$enable_tipdlg;
12669 if test "$enableval" = yes; then
12670 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12671 else
12672 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12673 fi
12674
12675 else
12676
12677 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12678
12679 fi
12680
12681
12682 eval "$wx_cv_use_tipdlg"
12683
12684 if test x"$enablestring" = xdisable; then
12685 if test $wxUSE_STARTUP_TIPS = yes; then
12686 result=no
12687 else
12688 result=yes
12689 fi
12690 else
12691 result=$wxUSE_STARTUP_TIPS
12692 fi
12693
12694 { echo "$as_me:$LINENO: result: $result" >&5
12695 echo "${ECHO_T}$result" >&6; }
12696
12697
12698 enablestring=
12699 defaultval=$wxUSE_ALL_FEATURES
12700 if test -z "$defaultval"; then
12701 if test x"$enablestring" = xdisable; then
12702 defaultval=yes
12703 else
12704 defaultval=no
12705 fi
12706 fi
12707
12708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12709 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12710 # Check whether --enable-progressdlg was given.
12711 if test "${enable_progressdlg+set}" = set; then
12712 enableval=$enable_progressdlg;
12713 if test "$enableval" = yes; then
12714 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12715 else
12716 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12717 fi
12718
12719 else
12720
12721 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12722
12723 fi
12724
12725
12726 eval "$wx_cv_use_progressdlg"
12727
12728 if test x"$enablestring" = xdisable; then
12729 if test $wxUSE_PROGRESSDLG = yes; then
12730 result=no
12731 else
12732 result=yes
12733 fi
12734 else
12735 result=$wxUSE_PROGRESSDLG
12736 fi
12737
12738 { echo "$as_me:$LINENO: result: $result" >&5
12739 echo "${ECHO_T}$result" >&6; }
12740
12741
12742 enablestring=
12743 defaultval=$wxUSE_ALL_FEATURES
12744 if test -z "$defaultval"; then
12745 if test x"$enablestring" = xdisable; then
12746 defaultval=yes
12747 else
12748 defaultval=no
12749 fi
12750 fi
12751
12752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12753 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12754 # Check whether --enable-wizarddlg was given.
12755 if test "${enable_wizarddlg+set}" = set; then
12756 enableval=$enable_wizarddlg;
12757 if test "$enableval" = yes; then
12758 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12759 else
12760 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12761 fi
12762
12763 else
12764
12765 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12766
12767 fi
12768
12769
12770 eval "$wx_cv_use_wizarddlg"
12771
12772 if test x"$enablestring" = xdisable; then
12773 if test $wxUSE_WIZARDDLG = yes; then
12774 result=no
12775 else
12776 result=yes
12777 fi
12778 else
12779 result=$wxUSE_WIZARDDLG
12780 fi
12781
12782 { echo "$as_me:$LINENO: result: $result" >&5
12783 echo "${ECHO_T}$result" >&6; }
12784
12785
12786
12787
12788 enablestring=
12789 defaultval=$wxUSE_ALL_FEATURES
12790 if test -z "$defaultval"; then
12791 if test x"$enablestring" = xdisable; then
12792 defaultval=yes
12793 else
12794 defaultval=no
12795 fi
12796 fi
12797
12798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12799 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12800 # Check whether --enable-menus was given.
12801 if test "${enable_menus+set}" = set; then
12802 enableval=$enable_menus;
12803 if test "$enableval" = yes; then
12804 wx_cv_use_menus='wxUSE_MENUS=yes'
12805 else
12806 wx_cv_use_menus='wxUSE_MENUS=no'
12807 fi
12808
12809 else
12810
12811 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12812
12813 fi
12814
12815
12816 eval "$wx_cv_use_menus"
12817
12818 if test x"$enablestring" = xdisable; then
12819 if test $wxUSE_MENUS = yes; then
12820 result=no
12821 else
12822 result=yes
12823 fi
12824 else
12825 result=$wxUSE_MENUS
12826 fi
12827
12828 { echo "$as_me:$LINENO: result: $result" >&5
12829 echo "${ECHO_T}$result" >&6; }
12830
12831
12832 enablestring=
12833 defaultval=$wxUSE_ALL_FEATURES
12834 if test -z "$defaultval"; then
12835 if test x"$enablestring" = xdisable; then
12836 defaultval=yes
12837 else
12838 defaultval=no
12839 fi
12840 fi
12841
12842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12843 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12844 # Check whether --enable-miniframe was given.
12845 if test "${enable_miniframe+set}" = set; then
12846 enableval=$enable_miniframe;
12847 if test "$enableval" = yes; then
12848 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12849 else
12850 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12851 fi
12852
12853 else
12854
12855 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12856
12857 fi
12858
12859
12860 eval "$wx_cv_use_miniframe"
12861
12862 if test x"$enablestring" = xdisable; then
12863 if test $wxUSE_MINIFRAME = yes; then
12864 result=no
12865 else
12866 result=yes
12867 fi
12868 else
12869 result=$wxUSE_MINIFRAME
12870 fi
12871
12872 { echo "$as_me:$LINENO: result: $result" >&5
12873 echo "${ECHO_T}$result" >&6; }
12874
12875
12876 enablestring=
12877 defaultval=$wxUSE_ALL_FEATURES
12878 if test -z "$defaultval"; then
12879 if test x"$enablestring" = xdisable; then
12880 defaultval=yes
12881 else
12882 defaultval=no
12883 fi
12884 fi
12885
12886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12887 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12888 # Check whether --enable-tooltips was given.
12889 if test "${enable_tooltips+set}" = set; then
12890 enableval=$enable_tooltips;
12891 if test "$enableval" = yes; then
12892 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12893 else
12894 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12895 fi
12896
12897 else
12898
12899 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12900
12901 fi
12902
12903
12904 eval "$wx_cv_use_tooltips"
12905
12906 if test x"$enablestring" = xdisable; then
12907 if test $wxUSE_TOOLTIPS = yes; then
12908 result=no
12909 else
12910 result=yes
12911 fi
12912 else
12913 result=$wxUSE_TOOLTIPS
12914 fi
12915
12916 { echo "$as_me:$LINENO: result: $result" >&5
12917 echo "${ECHO_T}$result" >&6; }
12918
12919
12920 enablestring=
12921 defaultval=$wxUSE_ALL_FEATURES
12922 if test -z "$defaultval"; then
12923 if test x"$enablestring" = xdisable; then
12924 defaultval=yes
12925 else
12926 defaultval=no
12927 fi
12928 fi
12929
12930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12931 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12932 # Check whether --enable-splines was given.
12933 if test "${enable_splines+set}" = set; then
12934 enableval=$enable_splines;
12935 if test "$enableval" = yes; then
12936 wx_cv_use_splines='wxUSE_SPLINES=yes'
12937 else
12938 wx_cv_use_splines='wxUSE_SPLINES=no'
12939 fi
12940
12941 else
12942
12943 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12944
12945 fi
12946
12947
12948 eval "$wx_cv_use_splines"
12949
12950 if test x"$enablestring" = xdisable; then
12951 if test $wxUSE_SPLINES = yes; then
12952 result=no
12953 else
12954 result=yes
12955 fi
12956 else
12957 result=$wxUSE_SPLINES
12958 fi
12959
12960 { echo "$as_me:$LINENO: result: $result" >&5
12961 echo "${ECHO_T}$result" >&6; }
12962
12963
12964 enablestring=
12965 defaultval=$wxUSE_ALL_FEATURES
12966 if test -z "$defaultval"; then
12967 if test x"$enablestring" = xdisable; then
12968 defaultval=yes
12969 else
12970 defaultval=no
12971 fi
12972 fi
12973
12974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12975 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12976 # Check whether --enable-mousewheel was given.
12977 if test "${enable_mousewheel+set}" = set; then
12978 enableval=$enable_mousewheel;
12979 if test "$enableval" = yes; then
12980 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12981 else
12982 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12983 fi
12984
12985 else
12986
12987 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12988
12989 fi
12990
12991
12992 eval "$wx_cv_use_mousewheel"
12993
12994 if test x"$enablestring" = xdisable; then
12995 if test $wxUSE_MOUSEWHEEL = yes; then
12996 result=no
12997 else
12998 result=yes
12999 fi
13000 else
13001 result=$wxUSE_MOUSEWHEEL
13002 fi
13003
13004 { echo "$as_me:$LINENO: result: $result" >&5
13005 echo "${ECHO_T}$result" >&6; }
13006
13007
13008 enablestring=
13009 defaultval=$wxUSE_ALL_FEATURES
13010 if test -z "$defaultval"; then
13011 if test x"$enablestring" = xdisable; then
13012 defaultval=yes
13013 else
13014 defaultval=no
13015 fi
13016 fi
13017
13018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13019 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13020 # Check whether --enable-validators was given.
13021 if test "${enable_validators+set}" = set; then
13022 enableval=$enable_validators;
13023 if test "$enableval" = yes; then
13024 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13025 else
13026 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13027 fi
13028
13029 else
13030
13031 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13032
13033 fi
13034
13035
13036 eval "$wx_cv_use_validators"
13037
13038 if test x"$enablestring" = xdisable; then
13039 if test $wxUSE_VALIDATORS = yes; then
13040 result=no
13041 else
13042 result=yes
13043 fi
13044 else
13045 result=$wxUSE_VALIDATORS
13046 fi
13047
13048 { echo "$as_me:$LINENO: result: $result" >&5
13049 echo "${ECHO_T}$result" >&6; }
13050
13051
13052 enablestring=
13053 defaultval=$wxUSE_ALL_FEATURES
13054 if test -z "$defaultval"; then
13055 if test x"$enablestring" = xdisable; then
13056 defaultval=yes
13057 else
13058 defaultval=no
13059 fi
13060 fi
13061
13062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13063 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13064 # Check whether --enable-busyinfo was given.
13065 if test "${enable_busyinfo+set}" = set; then
13066 enableval=$enable_busyinfo;
13067 if test "$enableval" = yes; then
13068 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13069 else
13070 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13071 fi
13072
13073 else
13074
13075 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13076
13077 fi
13078
13079
13080 eval "$wx_cv_use_busyinfo"
13081
13082 if test x"$enablestring" = xdisable; then
13083 if test $wxUSE_BUSYINFO = yes; then
13084 result=no
13085 else
13086 result=yes
13087 fi
13088 else
13089 result=$wxUSE_BUSYINFO
13090 fi
13091
13092 { echo "$as_me:$LINENO: result: $result" >&5
13093 echo "${ECHO_T}$result" >&6; }
13094
13095
13096 enablestring=
13097 defaultval=$wxUSE_ALL_FEATURES
13098 if test -z "$defaultval"; then
13099 if test x"$enablestring" = xdisable; then
13100 defaultval=yes
13101 else
13102 defaultval=no
13103 fi
13104 fi
13105
13106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13107 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13108 # Check whether --enable-joystick was given.
13109 if test "${enable_joystick+set}" = set; then
13110 enableval=$enable_joystick;
13111 if test "$enableval" = yes; then
13112 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13113 else
13114 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13115 fi
13116
13117 else
13118
13119 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13120
13121 fi
13122
13123
13124 eval "$wx_cv_use_joystick"
13125
13126 if test x"$enablestring" = xdisable; then
13127 if test $wxUSE_JOYSTICK = yes; then
13128 result=no
13129 else
13130 result=yes
13131 fi
13132 else
13133 result=$wxUSE_JOYSTICK
13134 fi
13135
13136 { echo "$as_me:$LINENO: result: $result" >&5
13137 echo "${ECHO_T}$result" >&6; }
13138
13139
13140 enablestring=
13141 defaultval=$wxUSE_ALL_FEATURES
13142 if test -z "$defaultval"; then
13143 if test x"$enablestring" = xdisable; then
13144 defaultval=yes
13145 else
13146 defaultval=no
13147 fi
13148 fi
13149
13150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13151 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13152 # Check whether --enable-metafile was given.
13153 if test "${enable_metafile+set}" = set; then
13154 enableval=$enable_metafile;
13155 if test "$enableval" = yes; then
13156 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13157 else
13158 wx_cv_use_metafile='wxUSE_METAFILE=no'
13159 fi
13160
13161 else
13162
13163 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13164
13165 fi
13166
13167
13168 eval "$wx_cv_use_metafile"
13169
13170 if test x"$enablestring" = xdisable; then
13171 if test $wxUSE_METAFILE = yes; then
13172 result=no
13173 else
13174 result=yes
13175 fi
13176 else
13177 result=$wxUSE_METAFILE
13178 fi
13179
13180 { echo "$as_me:$LINENO: result: $result" >&5
13181 echo "${ECHO_T}$result" >&6; }
13182
13183
13184 enablestring=
13185 defaultval=$wxUSE_ALL_FEATURES
13186 if test -z "$defaultval"; then
13187 if test x"$enablestring" = xdisable; then
13188 defaultval=yes
13189 else
13190 defaultval=no
13191 fi
13192 fi
13193
13194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13195 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13196 # Check whether --enable-dragimage was given.
13197 if test "${enable_dragimage+set}" = set; then
13198 enableval=$enable_dragimage;
13199 if test "$enableval" = yes; then
13200 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13201 else
13202 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13203 fi
13204
13205 else
13206
13207 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13208
13209 fi
13210
13211
13212 eval "$wx_cv_use_dragimage"
13213
13214 if test x"$enablestring" = xdisable; then
13215 if test $wxUSE_DRAGIMAGE = yes; then
13216 result=no
13217 else
13218 result=yes
13219 fi
13220 else
13221 result=$wxUSE_DRAGIMAGE
13222 fi
13223
13224 { echo "$as_me:$LINENO: result: $result" >&5
13225 echo "${ECHO_T}$result" >&6; }
13226
13227
13228 enablestring=
13229 defaultval=$wxUSE_ALL_FEATURES
13230 if test -z "$defaultval"; then
13231 if test x"$enablestring" = xdisable; then
13232 defaultval=yes
13233 else
13234 defaultval=no
13235 fi
13236 fi
13237
13238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13239 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13240 # Check whether --enable-accessibility was given.
13241 if test "${enable_accessibility+set}" = set; then
13242 enableval=$enable_accessibility;
13243 if test "$enableval" = yes; then
13244 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13245 else
13246 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13247 fi
13248
13249 else
13250
13251 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13252
13253 fi
13254
13255
13256 eval "$wx_cv_use_accessibility"
13257
13258 if test x"$enablestring" = xdisable; then
13259 if test $wxUSE_ACCESSIBILITY = yes; then
13260 result=no
13261 else
13262 result=yes
13263 fi
13264 else
13265 result=$wxUSE_ACCESSIBILITY
13266 fi
13267
13268 { echo "$as_me:$LINENO: result: $result" >&5
13269 echo "${ECHO_T}$result" >&6; }
13270
13271
13272
13273
13274 enablestring=
13275 defaultval=$wxUSE_ALL_FEATURES
13276 if test -z "$defaultval"; then
13277 if test x"$enablestring" = xdisable; then
13278 defaultval=yes
13279 else
13280 defaultval=no
13281 fi
13282 fi
13283
13284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13285 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13286 # Check whether --enable-palette was given.
13287 if test "${enable_palette+set}" = set; then
13288 enableval=$enable_palette;
13289 if test "$enableval" = yes; then
13290 wx_cv_use_palette='wxUSE_PALETTE=yes'
13291 else
13292 wx_cv_use_palette='wxUSE_PALETTE=no'
13293 fi
13294
13295 else
13296
13297 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13298
13299 fi
13300
13301
13302 eval "$wx_cv_use_palette"
13303
13304 if test x"$enablestring" = xdisable; then
13305 if test $wxUSE_PALETTE = yes; then
13306 result=no
13307 else
13308 result=yes
13309 fi
13310 else
13311 result=$wxUSE_PALETTE
13312 fi
13313
13314 { echo "$as_me:$LINENO: result: $result" >&5
13315 echo "${ECHO_T}$result" >&6; }
13316
13317
13318 enablestring=
13319 defaultval=$wxUSE_ALL_FEATURES
13320 if test -z "$defaultval"; then
13321 if test x"$enablestring" = xdisable; then
13322 defaultval=yes
13323 else
13324 defaultval=no
13325 fi
13326 fi
13327
13328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13329 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13330 # Check whether --enable-image was given.
13331 if test "${enable_image+set}" = set; then
13332 enableval=$enable_image;
13333 if test "$enableval" = yes; then
13334 wx_cv_use_image='wxUSE_IMAGE=yes'
13335 else
13336 wx_cv_use_image='wxUSE_IMAGE=no'
13337 fi
13338
13339 else
13340
13341 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13342
13343 fi
13344
13345
13346 eval "$wx_cv_use_image"
13347
13348 if test x"$enablestring" = xdisable; then
13349 if test $wxUSE_IMAGE = yes; then
13350 result=no
13351 else
13352 result=yes
13353 fi
13354 else
13355 result=$wxUSE_IMAGE
13356 fi
13357
13358 { echo "$as_me:$LINENO: result: $result" >&5
13359 echo "${ECHO_T}$result" >&6; }
13360
13361
13362 enablestring=
13363 defaultval=$wxUSE_ALL_FEATURES
13364 if test -z "$defaultval"; then
13365 if test x"$enablestring" = xdisable; then
13366 defaultval=yes
13367 else
13368 defaultval=no
13369 fi
13370 fi
13371
13372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13373 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13374 # Check whether --enable-gif was given.
13375 if test "${enable_gif+set}" = set; then
13376 enableval=$enable_gif;
13377 if test "$enableval" = yes; then
13378 wx_cv_use_gif='wxUSE_GIF=yes'
13379 else
13380 wx_cv_use_gif='wxUSE_GIF=no'
13381 fi
13382
13383 else
13384
13385 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13386
13387 fi
13388
13389
13390 eval "$wx_cv_use_gif"
13391
13392 if test x"$enablestring" = xdisable; then
13393 if test $wxUSE_GIF = yes; then
13394 result=no
13395 else
13396 result=yes
13397 fi
13398 else
13399 result=$wxUSE_GIF
13400 fi
13401
13402 { echo "$as_me:$LINENO: result: $result" >&5
13403 echo "${ECHO_T}$result" >&6; }
13404
13405
13406 enablestring=
13407 defaultval=$wxUSE_ALL_FEATURES
13408 if test -z "$defaultval"; then
13409 if test x"$enablestring" = xdisable; then
13410 defaultval=yes
13411 else
13412 defaultval=no
13413 fi
13414 fi
13415
13416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13417 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13418 # Check whether --enable-pcx was given.
13419 if test "${enable_pcx+set}" = set; then
13420 enableval=$enable_pcx;
13421 if test "$enableval" = yes; then
13422 wx_cv_use_pcx='wxUSE_PCX=yes'
13423 else
13424 wx_cv_use_pcx='wxUSE_PCX=no'
13425 fi
13426
13427 else
13428
13429 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13430
13431 fi
13432
13433
13434 eval "$wx_cv_use_pcx"
13435
13436 if test x"$enablestring" = xdisable; then
13437 if test $wxUSE_PCX = yes; then
13438 result=no
13439 else
13440 result=yes
13441 fi
13442 else
13443 result=$wxUSE_PCX
13444 fi
13445
13446 { echo "$as_me:$LINENO: result: $result" >&5
13447 echo "${ECHO_T}$result" >&6; }
13448
13449
13450 enablestring=
13451 defaultval=$wxUSE_ALL_FEATURES
13452 if test -z "$defaultval"; then
13453 if test x"$enablestring" = xdisable; then
13454 defaultval=yes
13455 else
13456 defaultval=no
13457 fi
13458 fi
13459
13460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13461 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13462 # Check whether --enable-tga was given.
13463 if test "${enable_tga+set}" = set; then
13464 enableval=$enable_tga;
13465 if test "$enableval" = yes; then
13466 wx_cv_use_tga='wxUSE_TGA=yes'
13467 else
13468 wx_cv_use_tga='wxUSE_TGA=no'
13469 fi
13470
13471 else
13472
13473 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13474
13475 fi
13476
13477
13478 eval "$wx_cv_use_tga"
13479
13480 if test x"$enablestring" = xdisable; then
13481 if test $wxUSE_TGA = yes; then
13482 result=no
13483 else
13484 result=yes
13485 fi
13486 else
13487 result=$wxUSE_TGA
13488 fi
13489
13490 { echo "$as_me:$LINENO: result: $result" >&5
13491 echo "${ECHO_T}$result" >&6; }
13492
13493
13494 enablestring=
13495 defaultval=$wxUSE_ALL_FEATURES
13496 if test -z "$defaultval"; then
13497 if test x"$enablestring" = xdisable; then
13498 defaultval=yes
13499 else
13500 defaultval=no
13501 fi
13502 fi
13503
13504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13505 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13506 # Check whether --enable-iff was given.
13507 if test "${enable_iff+set}" = set; then
13508 enableval=$enable_iff;
13509 if test "$enableval" = yes; then
13510 wx_cv_use_iff='wxUSE_IFF=yes'
13511 else
13512 wx_cv_use_iff='wxUSE_IFF=no'
13513 fi
13514
13515 else
13516
13517 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13518
13519 fi
13520
13521
13522 eval "$wx_cv_use_iff"
13523
13524 if test x"$enablestring" = xdisable; then
13525 if test $wxUSE_IFF = yes; then
13526 result=no
13527 else
13528 result=yes
13529 fi
13530 else
13531 result=$wxUSE_IFF
13532 fi
13533
13534 { echo "$as_me:$LINENO: result: $result" >&5
13535 echo "${ECHO_T}$result" >&6; }
13536
13537
13538 enablestring=
13539 defaultval=$wxUSE_ALL_FEATURES
13540 if test -z "$defaultval"; then
13541 if test x"$enablestring" = xdisable; then
13542 defaultval=yes
13543 else
13544 defaultval=no
13545 fi
13546 fi
13547
13548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13549 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13550 # Check whether --enable-pnm was given.
13551 if test "${enable_pnm+set}" = set; then
13552 enableval=$enable_pnm;
13553 if test "$enableval" = yes; then
13554 wx_cv_use_pnm='wxUSE_PNM=yes'
13555 else
13556 wx_cv_use_pnm='wxUSE_PNM=no'
13557 fi
13558
13559 else
13560
13561 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13562
13563 fi
13564
13565
13566 eval "$wx_cv_use_pnm"
13567
13568 if test x"$enablestring" = xdisable; then
13569 if test $wxUSE_PNM = yes; then
13570 result=no
13571 else
13572 result=yes
13573 fi
13574 else
13575 result=$wxUSE_PNM
13576 fi
13577
13578 { echo "$as_me:$LINENO: result: $result" >&5
13579 echo "${ECHO_T}$result" >&6; }
13580
13581
13582 enablestring=
13583 defaultval=$wxUSE_ALL_FEATURES
13584 if test -z "$defaultval"; then
13585 if test x"$enablestring" = xdisable; then
13586 defaultval=yes
13587 else
13588 defaultval=no
13589 fi
13590 fi
13591
13592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13593 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13594 # Check whether --enable-xpm was given.
13595 if test "${enable_xpm+set}" = set; then
13596 enableval=$enable_xpm;
13597 if test "$enableval" = yes; then
13598 wx_cv_use_xpm='wxUSE_XPM=yes'
13599 else
13600 wx_cv_use_xpm='wxUSE_XPM=no'
13601 fi
13602
13603 else
13604
13605 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13606
13607 fi
13608
13609
13610 eval "$wx_cv_use_xpm"
13611
13612 if test x"$enablestring" = xdisable; then
13613 if test $wxUSE_XPM = yes; then
13614 result=no
13615 else
13616 result=yes
13617 fi
13618 else
13619 result=$wxUSE_XPM
13620 fi
13621
13622 { echo "$as_me:$LINENO: result: $result" >&5
13623 echo "${ECHO_T}$result" >&6; }
13624
13625
13626 enablestring=
13627 defaultval=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x"$enablestring" = xdisable; then
13630 defaultval=yes
13631 else
13632 defaultval=no
13633 fi
13634 fi
13635
13636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13637 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13638 # Check whether --enable-ico_cur was given.
13639 if test "${enable_ico_cur+set}" = set; then
13640 enableval=$enable_ico_cur;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13643 else
13644 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13645 fi
13646
13647 else
13648
13649 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13650
13651 fi
13652
13653
13654 eval "$wx_cv_use_ico_cur"
13655
13656 if test x"$enablestring" = xdisable; then
13657 if test $wxUSE_ICO_CUR = yes; then
13658 result=no
13659 else
13660 result=yes
13661 fi
13662 else
13663 result=$wxUSE_ICO_CUR
13664 fi
13665
13666 { echo "$as_me:$LINENO: result: $result" >&5
13667 echo "${ECHO_T}$result" >&6; }
13668
13669
13670
13671
13672 enablestring=
13673 defaultval=$wxUSE_ALL_FEATURES
13674 if test -z "$defaultval"; then
13675 if test x"$enablestring" = xdisable; then
13676 defaultval=yes
13677 else
13678 defaultval=no
13679 fi
13680 fi
13681
13682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13683 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13684 # Check whether --enable-dccache was given.
13685 if test "${enable_dccache+set}" = set; then
13686 enableval=$enable_dccache;
13687 if test "$enableval" = yes; then
13688 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13689 else
13690 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13691 fi
13692
13693 else
13694
13695 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13696
13697 fi
13698
13699
13700 eval "$wx_cv_use_dccache"
13701
13702 if test x"$enablestring" = xdisable; then
13703 if test $wxUSE_DC_CACHEING = yes; then
13704 result=no
13705 else
13706 result=yes
13707 fi
13708 else
13709 result=$wxUSE_DC_CACHEING
13710 fi
13711
13712 { echo "$as_me:$LINENO: result: $result" >&5
13713 echo "${ECHO_T}$result" >&6; }
13714
13715
13716 enablestring=
13717 defaultval=$wxUSE_ALL_FEATURES
13718 if test -z "$defaultval"; then
13719 if test x"$enablestring" = xdisable; then
13720 defaultval=yes
13721 else
13722 defaultval=no
13723 fi
13724 fi
13725
13726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13727 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13728 # Check whether --enable-ps-in-msw was given.
13729 if test "${enable_ps_in_msw+set}" = set; then
13730 enableval=$enable_ps_in_msw;
13731 if test "$enableval" = yes; then
13732 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13733 else
13734 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13735 fi
13736
13737 else
13738
13739 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13740
13741 fi
13742
13743
13744 eval "$wx_cv_use_ps_in_msw"
13745
13746 if test x"$enablestring" = xdisable; then
13747 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13748 result=no
13749 else
13750 result=yes
13751 fi
13752 else
13753 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13754 fi
13755
13756 { echo "$as_me:$LINENO: result: $result" >&5
13757 echo "${ECHO_T}$result" >&6; }
13758
13759
13760 enablestring=
13761 defaultval=$wxUSE_ALL_FEATURES
13762 if test -z "$defaultval"; then
13763 if test x"$enablestring" = xdisable; then
13764 defaultval=yes
13765 else
13766 defaultval=no
13767 fi
13768 fi
13769
13770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13771 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13772 # Check whether --enable-ownerdrawn was given.
13773 if test "${enable_ownerdrawn+set}" = set; then
13774 enableval=$enable_ownerdrawn;
13775 if test "$enableval" = yes; then
13776 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13777 else
13778 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13779 fi
13780
13781 else
13782
13783 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13784
13785 fi
13786
13787
13788 eval "$wx_cv_use_ownerdrawn"
13789
13790 if test x"$enablestring" = xdisable; then
13791 if test $wxUSE_OWNER_DRAWN = yes; then
13792 result=no
13793 else
13794 result=yes
13795 fi
13796 else
13797 result=$wxUSE_OWNER_DRAWN
13798 fi
13799
13800 { echo "$as_me:$LINENO: result: $result" >&5
13801 echo "${ECHO_T}$result" >&6; }
13802
13803
13804 enablestring=
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13808 defaultval=yes
13809 else
13810 defaultval=no
13811 fi
13812 fi
13813
13814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13815 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13816 # Check whether --enable-uxtheme was given.
13817 if test "${enable_uxtheme+set}" = set; then
13818 enableval=$enable_uxtheme;
13819 if test "$enableval" = yes; then
13820 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13821 else
13822 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13823 fi
13824
13825 else
13826
13827 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13828
13829 fi
13830
13831
13832 eval "$wx_cv_use_uxtheme"
13833
13834 if test x"$enablestring" = xdisable; then
13835 if test $wxUSE_UXTHEME = yes; then
13836 result=no
13837 else
13838 result=yes
13839 fi
13840 else
13841 result=$wxUSE_UXTHEME
13842 fi
13843
13844 { echo "$as_me:$LINENO: result: $result" >&5
13845 echo "${ECHO_T}$result" >&6; }
13846
13847
13848 enablestring=
13849 defaultval=$wxUSE_ALL_FEATURES
13850 if test -z "$defaultval"; then
13851 if test x"$enablestring" = xdisable; then
13852 defaultval=yes
13853 else
13854 defaultval=no
13855 fi
13856 fi
13857
13858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13859 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13860 # Check whether --enable-wxdib was given.
13861 if test "${enable_wxdib+set}" = set; then
13862 enableval=$enable_wxdib;
13863 if test "$enableval" = yes; then
13864 wx_cv_use_wxdib='wxUSE_DIB=yes'
13865 else
13866 wx_cv_use_wxdib='wxUSE_DIB=no'
13867 fi
13868
13869 else
13870
13871 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13872
13873 fi
13874
13875
13876 eval "$wx_cv_use_wxdib"
13877
13878 if test x"$enablestring" = xdisable; then
13879 if test $wxUSE_DIB = yes; then
13880 result=no
13881 else
13882 result=yes
13883 fi
13884 else
13885 result=$wxUSE_DIB
13886 fi
13887
13888 { echo "$as_me:$LINENO: result: $result" >&5
13889 echo "${ECHO_T}$result" >&6; }
13890
13891
13892 if test "$wxUSE_MSW" != 1; then
13893 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13894 fi
13895
13896
13897 enablestring=
13898 defaultval=$wxUSE_ALL_FEATURES
13899 if test -z "$defaultval"; then
13900 if test x"$enablestring" = xdisable; then
13901 defaultval=yes
13902 else
13903 defaultval=no
13904 fi
13905 fi
13906
13907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13908 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13909 # Check whether --enable-autoidman was given.
13910 if test "${enable_autoidman+set}" = set; then
13911 enableval=$enable_autoidman;
13912 if test "$enableval" = yes; then
13913 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13914 else
13915 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13916 fi
13917
13918 else
13919
13920 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13921
13922 fi
13923
13924
13925 eval "$wx_cv_use_autoidman"
13926
13927 if test x"$enablestring" = xdisable; then
13928 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13929 result=no
13930 else
13931 result=yes
13932 fi
13933 else
13934 result=$wxUSE_AUTOID_MANAGEMENT
13935 fi
13936
13937 { echo "$as_me:$LINENO: result: $result" >&5
13938 echo "${ECHO_T}$result" >&6; }
13939
13940
13941 fi
13942
13943
13944 cat >confcache <<\_ACEOF
13945 # This file is a shell script that caches the results of configure
13946 # tests run on this system so they can be shared between configure
13947 # scripts and configure runs, see configure's option --config-cache.
13948 # It is not useful on other systems. If it contains results you don't
13949 # want to keep, you may remove or edit it.
13950 #
13951 # config.status only pays attention to the cache file if you give it
13952 # the --recheck option to rerun configure.
13953 #
13954 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13955 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13956 # following values.
13957
13958 _ACEOF
13959
13960 # The following way of writing the cache mishandles newlines in values,
13961 # but we know of no workaround that is simple, portable, and efficient.
13962 # So, we kill variables containing newlines.
13963 # Ultrix sh set writes to stderr and can't be redirected directly,
13964 # and sets the high bit in the cache file unless we assign to the vars.
13965 (
13966 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13967 eval ac_val=\$$ac_var
13968 case $ac_val in #(
13969 *${as_nl}*)
13970 case $ac_var in #(
13971 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13972 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13973 esac
13974 case $ac_var in #(
13975 _ | IFS | as_nl) ;; #(
13976 *) $as_unset $ac_var ;;
13977 esac ;;
13978 esac
13979 done
13980
13981 (set) 2>&1 |
13982 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13983 *${as_nl}ac_space=\ *)
13984 # `set' does not quote correctly, so add quotes (double-quote
13985 # substitution turns \\\\ into \\, and sed turns \\ into \).
13986 sed -n \
13987 "s/'/'\\\\''/g;
13988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13989 ;; #(
13990 *)
13991 # `set' quotes correctly as required by POSIX, so do not add quotes.
13992 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13993 ;;
13994 esac |
13995 sort
13996 ) |
13997 sed '
13998 /^ac_cv_env_/b end
13999 t clear
14000 :clear
14001 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14002 t end
14003 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14004 :end' >>confcache
14005 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14006 if test -w "$cache_file"; then
14007 test "x$cache_file" != "x/dev/null" &&
14008 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14009 echo "$as_me: updating cache $cache_file" >&6;}
14010 cat confcache >$cache_file
14011 else
14012 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14013 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14014 fi
14015 fi
14016 rm -f confcache
14017
14018 CFLAGS=${CFLAGS:=}
14019
14020
14021
14022 ac_ext=c
14023 ac_cpp='$CPP $CPPFLAGS'
14024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14027 if test -n "$ac_tool_prefix"; then
14028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14032 if test "${ac_cv_prog_CC+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 else
14035 if test -n "$CC"; then
14036 ac_cv_prog_CC="$CC" # Let the user override the test.
14037 else
14038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14039 for as_dir in $PATH
14040 do
14041 IFS=$as_save_IFS
14042 test -z "$as_dir" && as_dir=.
14043 for ac_exec_ext in '' $ac_executable_extensions; do
14044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14045 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14047 break 2
14048 fi
14049 done
14050 done
14051 IFS=$as_save_IFS
14052
14053 fi
14054 fi
14055 CC=$ac_cv_prog_CC
14056 if test -n "$CC"; then
14057 { echo "$as_me:$LINENO: result: $CC" >&5
14058 echo "${ECHO_T}$CC" >&6; }
14059 else
14060 { echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6; }
14062 fi
14063
14064
14065 fi
14066 if test -z "$ac_cv_prog_CC"; then
14067 ac_ct_CC=$CC
14068 # Extract the first word of "gcc", so it can be a program name with args.
14069 set dummy gcc; ac_word=$2
14070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14073 echo $ECHO_N "(cached) $ECHO_C" >&6
14074 else
14075 if test -n "$ac_ct_CC"; then
14076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14077 else
14078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14079 for as_dir in $PATH
14080 do
14081 IFS=$as_save_IFS
14082 test -z "$as_dir" && as_dir=.
14083 for ac_exec_ext in '' $ac_executable_extensions; do
14084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14085 ac_cv_prog_ac_ct_CC="gcc"
14086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14087 break 2
14088 fi
14089 done
14090 done
14091 IFS=$as_save_IFS
14092
14093 fi
14094 fi
14095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14096 if test -n "$ac_ct_CC"; then
14097 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14098 echo "${ECHO_T}$ac_ct_CC" >&6; }
14099 else
14100 { echo "$as_me:$LINENO: result: no" >&5
14101 echo "${ECHO_T}no" >&6; }
14102 fi
14103
14104 if test "x$ac_ct_CC" = x; then
14105 CC=""
14106 else
14107 case $cross_compiling:$ac_tool_warned in
14108 yes:)
14109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14110 whose name does not start with the host triplet. If you think this
14111 configuration is useful to you, please write to autoconf@gnu.org." >&5
14112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14113 whose name does not start with the host triplet. If you think this
14114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14115 ac_tool_warned=yes ;;
14116 esac
14117 CC=$ac_ct_CC
14118 fi
14119 else
14120 CC="$ac_cv_prog_CC"
14121 fi
14122
14123 if test -z "$CC"; then
14124 if test -n "$ac_tool_prefix"; then
14125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14126 set dummy ${ac_tool_prefix}cc; ac_word=$2
14127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14129 if test "${ac_cv_prog_CC+set}" = set; then
14130 echo $ECHO_N "(cached) $ECHO_C" >&6
14131 else
14132 if test -n "$CC"; then
14133 ac_cv_prog_CC="$CC" # Let the user override the test.
14134 else
14135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14136 for as_dir in $PATH
14137 do
14138 IFS=$as_save_IFS
14139 test -z "$as_dir" && as_dir=.
14140 for ac_exec_ext in '' $ac_executable_extensions; do
14141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14142 ac_cv_prog_CC="${ac_tool_prefix}cc"
14143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14144 break 2
14145 fi
14146 done
14147 done
14148 IFS=$as_save_IFS
14149
14150 fi
14151 fi
14152 CC=$ac_cv_prog_CC
14153 if test -n "$CC"; then
14154 { echo "$as_me:$LINENO: result: $CC" >&5
14155 echo "${ECHO_T}$CC" >&6; }
14156 else
14157 { echo "$as_me:$LINENO: result: no" >&5
14158 echo "${ECHO_T}no" >&6; }
14159 fi
14160
14161
14162 fi
14163 fi
14164 if test -z "$CC"; then
14165 # Extract the first word of "cc", so it can be a program name with args.
14166 set dummy cc; ac_word=$2
14167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14169 if test "${ac_cv_prog_CC+set}" = set; then
14170 echo $ECHO_N "(cached) $ECHO_C" >&6
14171 else
14172 if test -n "$CC"; then
14173 ac_cv_prog_CC="$CC" # Let the user override the test.
14174 else
14175 ac_prog_rejected=no
14176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14177 for as_dir in $PATH
14178 do
14179 IFS=$as_save_IFS
14180 test -z "$as_dir" && as_dir=.
14181 for ac_exec_ext in '' $ac_executable_extensions; do
14182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14184 ac_prog_rejected=yes
14185 continue
14186 fi
14187 ac_cv_prog_CC="cc"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14189 break 2
14190 fi
14191 done
14192 done
14193 IFS=$as_save_IFS
14194
14195 if test $ac_prog_rejected = yes; then
14196 # We found a bogon in the path, so make sure we never use it.
14197 set dummy $ac_cv_prog_CC
14198 shift
14199 if test $# != 0; then
14200 # We chose a different compiler from the bogus one.
14201 # However, it has the same basename, so the bogon will be chosen
14202 # first if we set CC to just the basename; use the full file name.
14203 shift
14204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14205 fi
14206 fi
14207 fi
14208 fi
14209 CC=$ac_cv_prog_CC
14210 if test -n "$CC"; then
14211 { echo "$as_me:$LINENO: result: $CC" >&5
14212 echo "${ECHO_T}$CC" >&6; }
14213 else
14214 { echo "$as_me:$LINENO: result: no" >&5
14215 echo "${ECHO_T}no" >&6; }
14216 fi
14217
14218
14219 fi
14220 if test -z "$CC"; then
14221 if test -n "$ac_tool_prefix"; then
14222 for ac_prog in cl.exe
14223 do
14224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14228 if test "${ac_cv_prog_CC+set}" = set; then
14229 echo $ECHO_N "(cached) $ECHO_C" >&6
14230 else
14231 if test -n "$CC"; then
14232 ac_cv_prog_CC="$CC" # Let the user override the test.
14233 else
14234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14235 for as_dir in $PATH
14236 do
14237 IFS=$as_save_IFS
14238 test -z "$as_dir" && as_dir=.
14239 for ac_exec_ext in '' $ac_executable_extensions; do
14240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14243 break 2
14244 fi
14245 done
14246 done
14247 IFS=$as_save_IFS
14248
14249 fi
14250 fi
14251 CC=$ac_cv_prog_CC
14252 if test -n "$CC"; then
14253 { echo "$as_me:$LINENO: result: $CC" >&5
14254 echo "${ECHO_T}$CC" >&6; }
14255 else
14256 { echo "$as_me:$LINENO: result: no" >&5
14257 echo "${ECHO_T}no" >&6; }
14258 fi
14259
14260
14261 test -n "$CC" && break
14262 done
14263 fi
14264 if test -z "$CC"; then
14265 ac_ct_CC=$CC
14266 for ac_prog in cl.exe
14267 do
14268 # Extract the first word of "$ac_prog", so it can be a program name with args.
14269 set dummy $ac_prog; ac_word=$2
14270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 else
14275 if test -n "$ac_ct_CC"; then
14276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14277 else
14278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14279 for as_dir in $PATH
14280 do
14281 IFS=$as_save_IFS
14282 test -z "$as_dir" && as_dir=.
14283 for ac_exec_ext in '' $ac_executable_extensions; do
14284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14285 ac_cv_prog_ac_ct_CC="$ac_prog"
14286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14287 break 2
14288 fi
14289 done
14290 done
14291 IFS=$as_save_IFS
14292
14293 fi
14294 fi
14295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14296 if test -n "$ac_ct_CC"; then
14297 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14298 echo "${ECHO_T}$ac_ct_CC" >&6; }
14299 else
14300 { echo "$as_me:$LINENO: result: no" >&5
14301 echo "${ECHO_T}no" >&6; }
14302 fi
14303
14304
14305 test -n "$ac_ct_CC" && break
14306 done
14307
14308 if test "x$ac_ct_CC" = x; then
14309 CC=""
14310 else
14311 case $cross_compiling:$ac_tool_warned in
14312 yes:)
14313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14314 whose name does not start with the host triplet. If you think this
14315 configuration is useful to you, please write to autoconf@gnu.org." >&5
14316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14317 whose name does not start with the host triplet. If you think this
14318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14319 ac_tool_warned=yes ;;
14320 esac
14321 CC=$ac_ct_CC
14322 fi
14323 fi
14324
14325 fi
14326
14327
14328 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14329 See \`config.log' for more details." >&5
14330 echo "$as_me: error: no acceptable C compiler found in \$PATH
14331 See \`config.log' for more details." >&2;}
14332 { (exit 1); exit 1; }; }
14333
14334 # Provide some information about the compiler.
14335 echo "$as_me:$LINENO: checking for C compiler version" >&5
14336 ac_compiler=`set X $ac_compile; echo $2`
14337 { (ac_try="$ac_compiler --version >&5"
14338 case "(($ac_try" in
14339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14340 *) ac_try_echo=$ac_try;;
14341 esac
14342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14343 (eval "$ac_compiler --version >&5") 2>&5
14344 ac_status=$?
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }
14347 { (ac_try="$ac_compiler -v >&5"
14348 case "(($ac_try" in
14349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14350 *) ac_try_echo=$ac_try;;
14351 esac
14352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14353 (eval "$ac_compiler -v >&5") 2>&5
14354 ac_status=$?
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); }
14357 { (ac_try="$ac_compiler -V >&5"
14358 case "(($ac_try" in
14359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14360 *) ac_try_echo=$ac_try;;
14361 esac
14362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14363 (eval "$ac_compiler -V >&5") 2>&5
14364 ac_status=$?
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); }
14367
14368 cat >conftest.$ac_ext <<_ACEOF
14369 /* confdefs.h. */
14370 _ACEOF
14371 cat confdefs.h >>conftest.$ac_ext
14372 cat >>conftest.$ac_ext <<_ACEOF
14373 /* end confdefs.h. */
14374
14375 int
14376 main ()
14377 {
14378
14379 ;
14380 return 0;
14381 }
14382 _ACEOF
14383 ac_clean_files_save=$ac_clean_files
14384 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14385 # Try to create an executable without -o first, disregard a.out.
14386 # It will help us diagnose broken compilers, and finding out an intuition
14387 # of exeext.
14388 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14389 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14390 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14391 #
14392 # List of possible output files, starting from the most likely.
14393 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14394 # only as a last resort. b.out is created by i960 compilers.
14395 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14396 #
14397 # The IRIX 6 linker writes into existing files which may not be
14398 # executable, retaining their permissions. Remove them first so a
14399 # subsequent execution test works.
14400 ac_rmfiles=
14401 for ac_file in $ac_files
14402 do
14403 case $ac_file in
14404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14405 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14406 esac
14407 done
14408 rm -f $ac_rmfiles
14409
14410 if { (ac_try="$ac_link_default"
14411 case "(($ac_try" in
14412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14413 *) ac_try_echo=$ac_try;;
14414 esac
14415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14416 (eval "$ac_link_default") 2>&5
14417 ac_status=$?
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; then
14420 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14421 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14422 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14423 # so that the user can short-circuit this test for compilers unknown to
14424 # Autoconf.
14425 for ac_file in $ac_files ''
14426 do
14427 test -f "$ac_file" || continue
14428 case $ac_file in
14429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14430 ;;
14431 [ab].out )
14432 # We found the default executable, but exeext='' is most
14433 # certainly right.
14434 break;;
14435 *.* )
14436 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14437 then :; else
14438 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14439 fi
14440 # We set ac_cv_exeext here because the later test for it is not
14441 # safe: cross compilers may not add the suffix if given an `-o'
14442 # argument, so we may need to know it at that point already.
14443 # Even if this section looks crufty: it has the advantage of
14444 # actually working.
14445 break;;
14446 * )
14447 break;;
14448 esac
14449 done
14450 test "$ac_cv_exeext" = no && ac_cv_exeext=
14451
14452 else
14453 ac_file=''
14454 fi
14455
14456 { echo "$as_me:$LINENO: result: $ac_file" >&5
14457 echo "${ECHO_T}$ac_file" >&6; }
14458 if test -z "$ac_file"; then
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.$ac_ext >&5
14461
14462 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14463 See \`config.log' for more details." >&5
14464 echo "$as_me: error: C compiler cannot create executables
14465 See \`config.log' for more details." >&2;}
14466 { (exit 77); exit 77; }; }
14467 fi
14468
14469 ac_exeext=$ac_cv_exeext
14470
14471 # Check that the compiler produces executables we can run. If not, either
14472 # the compiler is broken, or we cross compile.
14473 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14474 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14475 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14476 # If not cross compiling, check that we can run a simple program.
14477 if test "$cross_compiling" != yes; then
14478 if { ac_try='./$ac_file'
14479 { (case "(($ac_try" in
14480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14481 *) ac_try_echo=$ac_try;;
14482 esac
14483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14484 (eval "$ac_try") 2>&5
14485 ac_status=$?
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); }; }; then
14488 cross_compiling=no
14489 else
14490 if test "$cross_compiling" = maybe; then
14491 cross_compiling=yes
14492 else
14493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14494 If you meant to cross compile, use \`--host'.
14495 See \`config.log' for more details." >&5
14496 echo "$as_me: error: cannot run C compiled programs.
14497 If you meant to cross compile, use \`--host'.
14498 See \`config.log' for more details." >&2;}
14499 { (exit 1); exit 1; }; }
14500 fi
14501 fi
14502 fi
14503 { echo "$as_me:$LINENO: result: yes" >&5
14504 echo "${ECHO_T}yes" >&6; }
14505
14506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14507 ac_clean_files=$ac_clean_files_save
14508 # Check that the compiler produces executables we can run. If not, either
14509 # the compiler is broken, or we cross compile.
14510 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14512 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14513 echo "${ECHO_T}$cross_compiling" >&6; }
14514
14515 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14517 if { (ac_try="$ac_link"
14518 case "(($ac_try" in
14519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14520 *) ac_try_echo=$ac_try;;
14521 esac
14522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14523 (eval "$ac_link") 2>&5
14524 ac_status=$?
14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 (exit $ac_status); }; then
14527 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14528 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14529 # work properly (i.e., refer to `conftest.exe'), while it won't with
14530 # `rm'.
14531 for ac_file in conftest.exe conftest conftest.*; do
14532 test -f "$ac_file" || continue
14533 case $ac_file in
14534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14535 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14536 break;;
14537 * ) break;;
14538 esac
14539 done
14540 else
14541 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14542 See \`config.log' for more details." >&5
14543 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14544 See \`config.log' for more details." >&2;}
14545 { (exit 1); exit 1; }; }
14546 fi
14547
14548 rm -f conftest$ac_cv_exeext
14549 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14550 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14551
14552 rm -f conftest.$ac_ext
14553 EXEEXT=$ac_cv_exeext
14554 ac_exeext=$EXEEXT
14555 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14556 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14557 if test "${ac_cv_objext+set}" = set; then
14558 echo $ECHO_N "(cached) $ECHO_C" >&6
14559 else
14560 cat >conftest.$ac_ext <<_ACEOF
14561 /* confdefs.h. */
14562 _ACEOF
14563 cat confdefs.h >>conftest.$ac_ext
14564 cat >>conftest.$ac_ext <<_ACEOF
14565 /* end confdefs.h. */
14566
14567 int
14568 main ()
14569 {
14570
14571 ;
14572 return 0;
14573 }
14574 _ACEOF
14575 rm -f conftest.o conftest.obj
14576 if { (ac_try="$ac_compile"
14577 case "(($ac_try" in
14578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14579 *) ac_try_echo=$ac_try;;
14580 esac
14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14582 (eval "$ac_compile") 2>&5
14583 ac_status=$?
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; then
14586 for ac_file in conftest.o conftest.obj conftest.*; do
14587 test -f "$ac_file" || continue;
14588 case $ac_file in
14589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14590 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14591 break;;
14592 esac
14593 done
14594 else
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.$ac_ext >&5
14597
14598 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14599 See \`config.log' for more details." >&5
14600 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14601 See \`config.log' for more details." >&2;}
14602 { (exit 1); exit 1; }; }
14603 fi
14604
14605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14606 fi
14607 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14608 echo "${ECHO_T}$ac_cv_objext" >&6; }
14609 OBJEXT=$ac_cv_objext
14610 ac_objext=$OBJEXT
14611 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14612 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14613 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14615 else
14616 cat >conftest.$ac_ext <<_ACEOF
14617 /* confdefs.h. */
14618 _ACEOF
14619 cat confdefs.h >>conftest.$ac_ext
14620 cat >>conftest.$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14622
14623 int
14624 main ()
14625 {
14626 #ifndef __GNUC__
14627 choke me
14628 #endif
14629
14630 ;
14631 return 0;
14632 }
14633 _ACEOF
14634 rm -f conftest.$ac_objext
14635 if { (ac_try="$ac_compile"
14636 case "(($ac_try" in
14637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14638 *) ac_try_echo=$ac_try;;
14639 esac
14640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14641 (eval "$ac_compile") 2>conftest.er1
14642 ac_status=$?
14643 grep -v '^ *+' conftest.er1 >conftest.err
14644 rm -f conftest.er1
14645 cat conftest.err >&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); } && {
14648 test -z "$ac_c_werror_flag" ||
14649 test ! -s conftest.err
14650 } && test -s conftest.$ac_objext; then
14651 ac_compiler_gnu=yes
14652 else
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.$ac_ext >&5
14655
14656 ac_compiler_gnu=no
14657 fi
14658
14659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14660 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14661
14662 fi
14663 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14664 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14665 GCC=`test $ac_compiler_gnu = yes && echo yes`
14666 ac_test_CFLAGS=${CFLAGS+set}
14667 ac_save_CFLAGS=$CFLAGS
14668 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14669 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14670 if test "${ac_cv_prog_cc_g+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14672 else
14673 ac_save_c_werror_flag=$ac_c_werror_flag
14674 ac_c_werror_flag=yes
14675 ac_cv_prog_cc_g=no
14676 CFLAGS="-g"
14677 cat >conftest.$ac_ext <<_ACEOF
14678 /* confdefs.h. */
14679 _ACEOF
14680 cat confdefs.h >>conftest.$ac_ext
14681 cat >>conftest.$ac_ext <<_ACEOF
14682 /* end confdefs.h. */
14683
14684 int
14685 main ()
14686 {
14687
14688 ;
14689 return 0;
14690 }
14691 _ACEOF
14692 rm -f conftest.$ac_objext
14693 if { (ac_try="$ac_compile"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14697 esac
14698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_compile") 2>conftest.er1
14700 ac_status=$?
14701 grep -v '^ *+' conftest.er1 >conftest.err
14702 rm -f conftest.er1
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest.$ac_objext; then
14709 ac_cv_prog_cc_g=yes
14710 else
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14713
14714 CFLAGS=""
14715 cat >conftest.$ac_ext <<_ACEOF
14716 /* confdefs.h. */
14717 _ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721
14722 int
14723 main ()
14724 {
14725
14726 ;
14727 return 0;
14728 }
14729 _ACEOF
14730 rm -f conftest.$ac_objext
14731 if { (ac_try="$ac_compile"
14732 case "(($ac_try" in
14733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14734 *) ac_try_echo=$ac_try;;
14735 esac
14736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14737 (eval "$ac_compile") 2>conftest.er1
14738 ac_status=$?
14739 grep -v '^ *+' conftest.er1 >conftest.err
14740 rm -f conftest.er1
14741 cat conftest.err >&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } && {
14744 test -z "$ac_c_werror_flag" ||
14745 test ! -s conftest.err
14746 } && test -s conftest.$ac_objext; then
14747 :
14748 else
14749 echo "$as_me: failed program was:" >&5
14750 sed 's/^/| /' conftest.$ac_ext >&5
14751
14752 ac_c_werror_flag=$ac_save_c_werror_flag
14753 CFLAGS="-g"
14754 cat >conftest.$ac_ext <<_ACEOF
14755 /* confdefs.h. */
14756 _ACEOF
14757 cat confdefs.h >>conftest.$ac_ext
14758 cat >>conftest.$ac_ext <<_ACEOF
14759 /* end confdefs.h. */
14760
14761 int
14762 main ()
14763 {
14764
14765 ;
14766 return 0;
14767 }
14768 _ACEOF
14769 rm -f conftest.$ac_objext
14770 if { (ac_try="$ac_compile"
14771 case "(($ac_try" in
14772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14773 *) ac_try_echo=$ac_try;;
14774 esac
14775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14776 (eval "$ac_compile") 2>conftest.er1
14777 ac_status=$?
14778 grep -v '^ *+' conftest.er1 >conftest.err
14779 rm -f conftest.er1
14780 cat conftest.err >&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } && {
14783 test -z "$ac_c_werror_flag" ||
14784 test ! -s conftest.err
14785 } && test -s conftest.$ac_objext; then
14786 ac_cv_prog_cc_g=yes
14787 else
14788 echo "$as_me: failed program was:" >&5
14789 sed 's/^/| /' conftest.$ac_ext >&5
14790
14791
14792 fi
14793
14794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14795 fi
14796
14797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14798 fi
14799
14800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14801 ac_c_werror_flag=$ac_save_c_werror_flag
14802 fi
14803 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14804 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14805 if test "$ac_test_CFLAGS" = set; then
14806 CFLAGS=$ac_save_CFLAGS
14807 elif test $ac_cv_prog_cc_g = yes; then
14808 if test "$GCC" = yes; then
14809 CFLAGS="-g -O2"
14810 else
14811 CFLAGS="-g"
14812 fi
14813 else
14814 if test "$GCC" = yes; then
14815 CFLAGS="-O2"
14816 else
14817 CFLAGS=
14818 fi
14819 fi
14820 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14821 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14822 if test "${ac_cv_prog_cc_c89+set}" = set; then
14823 echo $ECHO_N "(cached) $ECHO_C" >&6
14824 else
14825 ac_cv_prog_cc_c89=no
14826 ac_save_CC=$CC
14827 cat >conftest.$ac_ext <<_ACEOF
14828 /* confdefs.h. */
14829 _ACEOF
14830 cat confdefs.h >>conftest.$ac_ext
14831 cat >>conftest.$ac_ext <<_ACEOF
14832 /* end confdefs.h. */
14833 #include <stdarg.h>
14834 #include <stdio.h>
14835 #include <sys/types.h>
14836 #include <sys/stat.h>
14837 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14838 struct buf { int x; };
14839 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14840 static char *e (p, i)
14841 char **p;
14842 int i;
14843 {
14844 return p[i];
14845 }
14846 static char *f (char * (*g) (char **, int), char **p, ...)
14847 {
14848 char *s;
14849 va_list v;
14850 va_start (v,p);
14851 s = g (p, va_arg (v,int));
14852 va_end (v);
14853 return s;
14854 }
14855
14856 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14857 function prototypes and stuff, but not '\xHH' hex character constants.
14858 These don't provoke an error unfortunately, instead are silently treated
14859 as 'x'. The following induces an error, until -std is added to get
14860 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14861 array size at least. It's necessary to write '\x00'==0 to get something
14862 that's true only with -std. */
14863 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14864
14865 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14866 inside strings and character constants. */
14867 #define FOO(x) 'x'
14868 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14869
14870 int test (int i, double x);
14871 struct s1 {int (*f) (int a);};
14872 struct s2 {int (*f) (double a);};
14873 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14874 int argc;
14875 char **argv;
14876 int
14877 main ()
14878 {
14879 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14880 ;
14881 return 0;
14882 }
14883 _ACEOF
14884 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14885 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14886 do
14887 CC="$ac_save_CC $ac_arg"
14888 rm -f conftest.$ac_objext
14889 if { (ac_try="$ac_compile"
14890 case "(($ac_try" in
14891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14892 *) ac_try_echo=$ac_try;;
14893 esac
14894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14895 (eval "$ac_compile") 2>conftest.er1
14896 ac_status=$?
14897 grep -v '^ *+' conftest.er1 >conftest.err
14898 rm -f conftest.er1
14899 cat conftest.err >&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } && {
14902 test -z "$ac_c_werror_flag" ||
14903 test ! -s conftest.err
14904 } && test -s conftest.$ac_objext; then
14905 ac_cv_prog_cc_c89=$ac_arg
14906 else
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.$ac_ext >&5
14909
14910
14911 fi
14912
14913 rm -f core conftest.err conftest.$ac_objext
14914 test "x$ac_cv_prog_cc_c89" != "xno" && break
14915 done
14916 rm -f conftest.$ac_ext
14917 CC=$ac_save_CC
14918
14919 fi
14920 # AC_CACHE_VAL
14921 case "x$ac_cv_prog_cc_c89" in
14922 x)
14923 { echo "$as_me:$LINENO: result: none needed" >&5
14924 echo "${ECHO_T}none needed" >&6; } ;;
14925 xno)
14926 { echo "$as_me:$LINENO: result: unsupported" >&5
14927 echo "${ECHO_T}unsupported" >&6; } ;;
14928 *)
14929 CC="$CC $ac_cv_prog_cc_c89"
14930 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14931 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14932 esac
14933
14934
14935 ac_ext=c
14936 ac_cpp='$CPP $CPPFLAGS'
14937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14940
14941
14942
14943
14944 ac_ext=c
14945 ac_cpp='$CPP $CPPFLAGS'
14946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14949
14950 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14951 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14952 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14953 echo $ECHO_N "(cached) $ECHO_C" >&6
14954 else
14955 cat >conftest.$ac_ext <<_ACEOF
14956 /* confdefs.h. */
14957 _ACEOF
14958 cat confdefs.h >>conftest.$ac_ext
14959 cat >>conftest.$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961
14962 int
14963 main ()
14964 {
14965
14966 #ifndef __INTEL_COMPILER
14967 choke me
14968 #endif
14969
14970 ;
14971 return 0;
14972 }
14973 _ACEOF
14974 rm -f conftest.$ac_objext
14975 if { (ac_try="$ac_compile"
14976 case "(($ac_try" in
14977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14978 *) ac_try_echo=$ac_try;;
14979 esac
14980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14981 (eval "$ac_compile") 2>conftest.er1
14982 ac_status=$?
14983 grep -v '^ *+' conftest.er1 >conftest.err
14984 rm -f conftest.er1
14985 cat conftest.err >&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); } && {
14988 test -z "$ac_c_werror_flag" ||
14989 test ! -s conftest.err
14990 } && test -s conftest.$ac_objext; then
14991 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14992 else
14993 echo "$as_me: failed program was:" >&5
14994 sed 's/^/| /' conftest.$ac_ext >&5
14995
14996 bakefile_cv_c_compiler___INTEL_COMPILER=no
14997
14998 fi
14999
15000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15001
15002
15003 fi
15004 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15005 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15006 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15007 :; INTELCC=yes
15008 else
15009 :;
15010 fi
15011 ac_ext=c
15012 ac_cpp='$CPP $CPPFLAGS'
15013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15016
15017
15018
15019
15020 if test "$INTELCC" = "yes"; then
15021
15022
15023 ac_ext=c
15024 ac_cpp='$CPP $CPPFLAGS'
15025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15028
15029 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15030 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15031 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15032 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 else
15034 cat >conftest.$ac_ext <<_ACEOF
15035 /* confdefs.h. */
15036 _ACEOF
15037 cat confdefs.h >>conftest.$ac_ext
15038 cat >>conftest.$ac_ext <<_ACEOF
15039 /* end confdefs.h. */
15040
15041 int
15042 main ()
15043 {
15044
15045 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15046 choke me
15047 #endif
15048
15049 ;
15050 return 0;
15051 }
15052 _ACEOF
15053 rm -f conftest.$ac_objext
15054 if { (ac_try="$ac_compile"
15055 case "(($ac_try" in
15056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15057 *) ac_try_echo=$ac_try;;
15058 esac
15059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15060 (eval "$ac_compile") 2>conftest.er1
15061 ac_status=$?
15062 grep -v '^ *+' conftest.er1 >conftest.err
15063 rm -f conftest.er1
15064 cat conftest.err >&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } && {
15067 test -z "$ac_c_werror_flag" ||
15068 test ! -s conftest.err
15069 } && test -s conftest.$ac_objext; then
15070 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15071 else
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.$ac_ext >&5
15074
15075 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15076
15077 fi
15078
15079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15080
15081
15082 fi
15083 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15084 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15085 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15086 :; INTELCC8=yes
15087 else
15088 :;
15089 fi
15090 ac_ext=c
15091 ac_cpp='$CPP $CPPFLAGS'
15092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15095
15096
15097
15098
15099
15100 ac_ext=c
15101 ac_cpp='$CPP $CPPFLAGS'
15102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15105
15106 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15107 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15108 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15109 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 else
15111 cat >conftest.$ac_ext <<_ACEOF
15112 /* confdefs.h. */
15113 _ACEOF
15114 cat confdefs.h >>conftest.$ac_ext
15115 cat >>conftest.$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15117
15118 int
15119 main ()
15120 {
15121
15122 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15123 choke me
15124 #endif
15125
15126 ;
15127 return 0;
15128 }
15129 _ACEOF
15130 rm -f conftest.$ac_objext
15131 if { (ac_try="$ac_compile"
15132 case "(($ac_try" in
15133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15134 *) ac_try_echo=$ac_try;;
15135 esac
15136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15137 (eval "$ac_compile") 2>conftest.er1
15138 ac_status=$?
15139 grep -v '^ *+' conftest.er1 >conftest.err
15140 rm -f conftest.er1
15141 cat conftest.err >&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); } && {
15144 test -z "$ac_c_werror_flag" ||
15145 test ! -s conftest.err
15146 } && test -s conftest.$ac_objext; then
15147 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15148 else
15149 echo "$as_me: failed program was:" >&5
15150 sed 's/^/| /' conftest.$ac_ext >&5
15151
15152 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15153
15154 fi
15155
15156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15157
15158
15159 fi
15160 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15161 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15162 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15163 :; INTELCC10=yes
15164 else
15165 :;
15166 fi
15167 ac_ext=c
15168 ac_cpp='$CPP $CPPFLAGS'
15169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15172
15173
15174
15175 fi
15176
15177 if test "x$GCC" != "xyes"; then
15178 if test "xCC" = "xC"; then
15179 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15180 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15181 if test "${bakefile_cv_c_exto+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 cat >conftest.$ac_ext <<_ACEOF
15185 /* confdefs.h. */
15186 _ACEOF
15187 cat confdefs.h >>conftest.$ac_ext
15188 cat >>conftest.$ac_ext <<_ACEOF
15189 /* end confdefs.h. */
15190
15191 int
15192 main ()
15193 {
15194
15195 ;
15196 return 0;
15197 }
15198 _ACEOF
15199 rm -f conftest.$ac_objext conftest.$ac_ext.o
15200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15201 (eval $ac_compile) 2>&5
15202 ac_status=$?
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; then
15205 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15206 case $ac_file in
15207 conftest.$ac_ext.o)
15208 bakefile_cv_c_exto="-ext o"
15209 ;;
15210 *)
15211 ;;
15212 esac
15213 done
15214 else
15215 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15216 See \`config.log' for more details." >&5
15217 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15218 See \`config.log' for more details." >&2;}
15219 { (exit 1); exit 1; }; }
15220
15221 fi
15222
15223 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15224
15225 fi
15226 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15227 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15228 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15229 if test "c" = "c"; then
15230 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15231 fi
15232 if test "c" = "cxx"; then
15233 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15234 fi
15235 fi
15236
15237 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15238 unset ac_cv_prog_cc_g
15239 ac_test_CFLAGS=${CFLAGS+set}
15240 ac_save_CFLAGS=$CFLAGS
15241 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15242 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15243 if test "${ac_cv_prog_cc_g+set}" = set; then
15244 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 else
15246 ac_save_c_werror_flag=$ac_c_werror_flag
15247 ac_c_werror_flag=yes
15248 ac_cv_prog_cc_g=no
15249 CFLAGS="-g"
15250 cat >conftest.$ac_ext <<_ACEOF
15251 /* confdefs.h. */
15252 _ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15256
15257 int
15258 main ()
15259 {
15260
15261 ;
15262 return 0;
15263 }
15264 _ACEOF
15265 rm -f conftest.$ac_objext
15266 if { (ac_try="$ac_compile"
15267 case "(($ac_try" in
15268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15269 *) ac_try_echo=$ac_try;;
15270 esac
15271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15272 (eval "$ac_compile") 2>conftest.er1
15273 ac_status=$?
15274 grep -v '^ *+' conftest.er1 >conftest.err
15275 rm -f conftest.er1
15276 cat conftest.err >&5
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); } && {
15279 test -z "$ac_c_werror_flag" ||
15280 test ! -s conftest.err
15281 } && test -s conftest.$ac_objext; then
15282 ac_cv_prog_cc_g=yes
15283 else
15284 echo "$as_me: failed program was:" >&5
15285 sed 's/^/| /' conftest.$ac_ext >&5
15286
15287 CFLAGS=""
15288 cat >conftest.$ac_ext <<_ACEOF
15289 /* confdefs.h. */
15290 _ACEOF
15291 cat confdefs.h >>conftest.$ac_ext
15292 cat >>conftest.$ac_ext <<_ACEOF
15293 /* end confdefs.h. */
15294
15295 int
15296 main ()
15297 {
15298
15299 ;
15300 return 0;
15301 }
15302 _ACEOF
15303 rm -f conftest.$ac_objext
15304 if { (ac_try="$ac_compile"
15305 case "(($ac_try" in
15306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15307 *) ac_try_echo=$ac_try;;
15308 esac
15309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15310 (eval "$ac_compile") 2>conftest.er1
15311 ac_status=$?
15312 grep -v '^ *+' conftest.er1 >conftest.err
15313 rm -f conftest.er1
15314 cat conftest.err >&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); } && {
15317 test -z "$ac_c_werror_flag" ||
15318 test ! -s conftest.err
15319 } && test -s conftest.$ac_objext; then
15320 :
15321 else
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.$ac_ext >&5
15324
15325 ac_c_werror_flag=$ac_save_c_werror_flag
15326 CFLAGS="-g"
15327 cat >conftest.$ac_ext <<_ACEOF
15328 /* confdefs.h. */
15329 _ACEOF
15330 cat confdefs.h >>conftest.$ac_ext
15331 cat >>conftest.$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15333
15334 int
15335 main ()
15336 {
15337
15338 ;
15339 return 0;
15340 }
15341 _ACEOF
15342 rm -f conftest.$ac_objext
15343 if { (ac_try="$ac_compile"
15344 case "(($ac_try" in
15345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15346 *) ac_try_echo=$ac_try;;
15347 esac
15348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15349 (eval "$ac_compile") 2>conftest.er1
15350 ac_status=$?
15351 grep -v '^ *+' conftest.er1 >conftest.err
15352 rm -f conftest.er1
15353 cat conftest.err >&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } && {
15356 test -z "$ac_c_werror_flag" ||
15357 test ! -s conftest.err
15358 } && test -s conftest.$ac_objext; then
15359 ac_cv_prog_cc_g=yes
15360 else
15361 echo "$as_me: failed program was:" >&5
15362 sed 's/^/| /' conftest.$ac_ext >&5
15363
15364
15365 fi
15366
15367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15368 fi
15369
15370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371 fi
15372
15373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15374 ac_c_werror_flag=$ac_save_c_werror_flag
15375 fi
15376 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15377 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15378 if test "$ac_test_CFLAGS" = set; then
15379 CFLAGS=$ac_save_CFLAGS
15380 elif test $ac_cv_prog_cc_g = yes; then
15381 if test "$GCC" = yes; then
15382 CFLAGS="-g -O2"
15383 else
15384 CFLAGS="-g"
15385 fi
15386 else
15387 if test "$GCC" = yes; then
15388 CFLAGS="-O2"
15389 else
15390 CFLAGS=
15391 fi
15392 fi
15393 fi
15394 fi
15395
15396 case `uname -s` in
15397 AIX*)
15398
15399
15400 ac_ext=c
15401 ac_cpp='$CPP $CPPFLAGS'
15402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15405
15406 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15407 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15408 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 else
15411 cat >conftest.$ac_ext <<_ACEOF
15412 /* confdefs.h. */
15413 _ACEOF
15414 cat confdefs.h >>conftest.$ac_ext
15415 cat >>conftest.$ac_ext <<_ACEOF
15416 /* end confdefs.h. */
15417
15418 int
15419 main ()
15420 {
15421
15422 #ifndef __xlC__
15423 choke me
15424 #endif
15425
15426 ;
15427 return 0;
15428 }
15429 _ACEOF
15430 rm -f conftest.$ac_objext
15431 if { (ac_try="$ac_compile"
15432 case "(($ac_try" in
15433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15434 *) ac_try_echo=$ac_try;;
15435 esac
15436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15437 (eval "$ac_compile") 2>conftest.er1
15438 ac_status=$?
15439 grep -v '^ *+' conftest.er1 >conftest.err
15440 rm -f conftest.er1
15441 cat conftest.err >&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); } && {
15444 test -z "$ac_c_werror_flag" ||
15445 test ! -s conftest.err
15446 } && test -s conftest.$ac_objext; then
15447 bakefile_cv_c_compiler___xlC__=yes
15448 else
15449 echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.$ac_ext >&5
15451
15452 bakefile_cv_c_compiler___xlC__=no
15453
15454 fi
15455
15456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15457
15458
15459 fi
15460 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15461 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15462 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15463 :; XLCC=yes
15464 else
15465 :;
15466 fi
15467 ac_ext=c
15468 ac_cpp='$CPP $CPPFLAGS'
15469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15472
15473
15474
15475 ;;
15476
15477 Darwin)
15478
15479
15480 ac_ext=c
15481 ac_cpp='$CPP $CPPFLAGS'
15482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15485
15486 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15487 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15488 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15490 else
15491 cat >conftest.$ac_ext <<_ACEOF
15492 /* confdefs.h. */
15493 _ACEOF
15494 cat confdefs.h >>conftest.$ac_ext
15495 cat >>conftest.$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15497
15498 int
15499 main ()
15500 {
15501
15502 #ifndef __MWERKS__
15503 choke me
15504 #endif
15505
15506 ;
15507 return 0;
15508 }
15509 _ACEOF
15510 rm -f conftest.$ac_objext
15511 if { (ac_try="$ac_compile"
15512 case "(($ac_try" in
15513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15514 *) ac_try_echo=$ac_try;;
15515 esac
15516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15517 (eval "$ac_compile") 2>conftest.er1
15518 ac_status=$?
15519 grep -v '^ *+' conftest.er1 >conftest.err
15520 rm -f conftest.er1
15521 cat conftest.err >&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); } && {
15524 test -z "$ac_c_werror_flag" ||
15525 test ! -s conftest.err
15526 } && test -s conftest.$ac_objext; then
15527 bakefile_cv_c_compiler___MWERKS__=yes
15528 else
15529 echo "$as_me: failed program was:" >&5
15530 sed 's/^/| /' conftest.$ac_ext >&5
15531
15532 bakefile_cv_c_compiler___MWERKS__=no
15533
15534 fi
15535
15536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15537
15538
15539 fi
15540 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15541 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15542 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15543 :; MWCC=yes
15544 else
15545 :;
15546 fi
15547 ac_ext=c
15548 ac_cpp='$CPP $CPPFLAGS'
15549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15552
15553
15554
15555 if test "$MWCC" != "yes"; then
15556
15557
15558 ac_ext=c
15559 ac_cpp='$CPP $CPPFLAGS'
15560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15563
15564 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15565 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h. */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575
15576 int
15577 main ()
15578 {
15579
15580 #ifndef __xlC__
15581 choke me
15582 #endif
15583
15584 ;
15585 return 0;
15586 }
15587 _ACEOF
15588 rm -f conftest.$ac_objext
15589 if { (ac_try="$ac_compile"
15590 case "(($ac_try" in
15591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15592 *) ac_try_echo=$ac_try;;
15593 esac
15594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15595 (eval "$ac_compile") 2>conftest.er1
15596 ac_status=$?
15597 grep -v '^ *+' conftest.er1 >conftest.err
15598 rm -f conftest.er1
15599 cat conftest.err >&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } && {
15602 test -z "$ac_c_werror_flag" ||
15603 test ! -s conftest.err
15604 } && test -s conftest.$ac_objext; then
15605 bakefile_cv_c_compiler___xlC__=yes
15606 else
15607 echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.$ac_ext >&5
15609
15610 bakefile_cv_c_compiler___xlC__=no
15611
15612 fi
15613
15614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15615
15616
15617 fi
15618 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15619 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15620 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15621 :; XLCC=yes
15622 else
15623 :;
15624 fi
15625 ac_ext=c
15626 ac_cpp='$CPP $CPPFLAGS'
15627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15630
15631
15632
15633 fi
15634 ;;
15635
15636 IRIX*)
15637
15638
15639 ac_ext=c
15640 ac_cpp='$CPP $CPPFLAGS'
15641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15644
15645 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15646 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15647 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15648 echo $ECHO_N "(cached) $ECHO_C" >&6
15649 else
15650 cat >conftest.$ac_ext <<_ACEOF
15651 /* confdefs.h. */
15652 _ACEOF
15653 cat confdefs.h >>conftest.$ac_ext
15654 cat >>conftest.$ac_ext <<_ACEOF
15655 /* end confdefs.h. */
15656
15657 int
15658 main ()
15659 {
15660
15661 #ifndef _SGI_COMPILER_VERSION
15662 choke me
15663 #endif
15664
15665 ;
15666 return 0;
15667 }
15668 _ACEOF
15669 rm -f conftest.$ac_objext
15670 if { (ac_try="$ac_compile"
15671 case "(($ac_try" in
15672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15673 *) ac_try_echo=$ac_try;;
15674 esac
15675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15676 (eval "$ac_compile") 2>conftest.er1
15677 ac_status=$?
15678 grep -v '^ *+' conftest.er1 >conftest.err
15679 rm -f conftest.er1
15680 cat conftest.err >&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); } && {
15683 test -z "$ac_c_werror_flag" ||
15684 test ! -s conftest.err
15685 } && test -s conftest.$ac_objext; then
15686 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15687 else
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.$ac_ext >&5
15690
15691 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15692
15693 fi
15694
15695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15696
15697
15698 fi
15699 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15700 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15701 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15702 :; SGICC=yes
15703 else
15704 :;
15705 fi
15706 ac_ext=c
15707 ac_cpp='$CPP $CPPFLAGS'
15708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15711
15712
15713
15714 ;;
15715
15716 Linux*)
15717 if test "$INTELCC" != "yes"; then
15718
15719
15720 ac_ext=c
15721 ac_cpp='$CPP $CPPFLAGS'
15722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15725
15726 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15727 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15728 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15729 echo $ECHO_N "(cached) $ECHO_C" >&6
15730 else
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h. */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15737
15738 int
15739 main ()
15740 {
15741
15742 #ifndef __SUNPRO_C
15743 choke me
15744 #endif
15745
15746 ;
15747 return 0;
15748 }
15749 _ACEOF
15750 rm -f conftest.$ac_objext
15751 if { (ac_try="$ac_compile"
15752 case "(($ac_try" in
15753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15754 *) ac_try_echo=$ac_try;;
15755 esac
15756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15757 (eval "$ac_compile") 2>conftest.er1
15758 ac_status=$?
15759 grep -v '^ *+' conftest.er1 >conftest.err
15760 rm -f conftest.er1
15761 cat conftest.err >&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); } && {
15764 test -z "$ac_c_werror_flag" ||
15765 test ! -s conftest.err
15766 } && test -s conftest.$ac_objext; then
15767 bakefile_cv_c_compiler___SUNPRO_C=yes
15768 else
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.$ac_ext >&5
15771
15772 bakefile_cv_c_compiler___SUNPRO_C=no
15773
15774 fi
15775
15776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15777
15778
15779 fi
15780 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15781 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15782 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15783 :; SUNCC=yes
15784 else
15785 :;
15786 fi
15787 ac_ext=c
15788 ac_cpp='$CPP $CPPFLAGS'
15789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15792
15793
15794
15795 fi
15796 ;;
15797
15798 HP-UX*)
15799
15800
15801 ac_ext=c
15802 ac_cpp='$CPP $CPPFLAGS'
15803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15806
15807 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15808 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15809 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15811 else
15812 cat >conftest.$ac_ext <<_ACEOF
15813 /* confdefs.h. */
15814 _ACEOF
15815 cat confdefs.h >>conftest.$ac_ext
15816 cat >>conftest.$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15818
15819 int
15820 main ()
15821 {
15822
15823 #ifndef __HP_cc
15824 choke me
15825 #endif
15826
15827 ;
15828 return 0;
15829 }
15830 _ACEOF
15831 rm -f conftest.$ac_objext
15832 if { (ac_try="$ac_compile"
15833 case "(($ac_try" in
15834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15835 *) ac_try_echo=$ac_try;;
15836 esac
15837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15838 (eval "$ac_compile") 2>conftest.er1
15839 ac_status=$?
15840 grep -v '^ *+' conftest.er1 >conftest.err
15841 rm -f conftest.er1
15842 cat conftest.err >&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); } && {
15845 test -z "$ac_c_werror_flag" ||
15846 test ! -s conftest.err
15847 } && test -s conftest.$ac_objext; then
15848 bakefile_cv_c_compiler___HP_cc=yes
15849 else
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.$ac_ext >&5
15852
15853 bakefile_cv_c_compiler___HP_cc=no
15854
15855 fi
15856
15857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15858
15859
15860 fi
15861 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15862 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15863 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15864 :; HPCC=yes
15865 else
15866 :;
15867 fi
15868 ac_ext=c
15869 ac_cpp='$CPP $CPPFLAGS'
15870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15873
15874
15875
15876 ;;
15877
15878 OSF1)
15879
15880
15881 ac_ext=c
15882 ac_cpp='$CPP $CPPFLAGS'
15883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15886
15887 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15888 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15889 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15891 else
15892 cat >conftest.$ac_ext <<_ACEOF
15893 /* confdefs.h. */
15894 _ACEOF
15895 cat confdefs.h >>conftest.$ac_ext
15896 cat >>conftest.$ac_ext <<_ACEOF
15897 /* end confdefs.h. */
15898
15899 int
15900 main ()
15901 {
15902
15903 #ifndef __DECC
15904 choke me
15905 #endif
15906
15907 ;
15908 return 0;
15909 }
15910 _ACEOF
15911 rm -f conftest.$ac_objext
15912 if { (ac_try="$ac_compile"
15913 case "(($ac_try" in
15914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15915 *) ac_try_echo=$ac_try;;
15916 esac
15917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15918 (eval "$ac_compile") 2>conftest.er1
15919 ac_status=$?
15920 grep -v '^ *+' conftest.er1 >conftest.err
15921 rm -f conftest.er1
15922 cat conftest.err >&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); } && {
15925 test -z "$ac_c_werror_flag" ||
15926 test ! -s conftest.err
15927 } && test -s conftest.$ac_objext; then
15928 bakefile_cv_c_compiler___DECC=yes
15929 else
15930 echo "$as_me: failed program was:" >&5
15931 sed 's/^/| /' conftest.$ac_ext >&5
15932
15933 bakefile_cv_c_compiler___DECC=no
15934
15935 fi
15936
15937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15938
15939
15940 fi
15941 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15942 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15943 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15944 :; COMPAQCC=yes
15945 else
15946 :;
15947 fi
15948 ac_ext=c
15949 ac_cpp='$CPP $CPPFLAGS'
15950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15953
15954
15955
15956 ;;
15957
15958 SunOS)
15959
15960
15961 ac_ext=c
15962 ac_cpp='$CPP $CPPFLAGS'
15963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15966
15967 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15968 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15969 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972 cat >conftest.$ac_ext <<_ACEOF
15973 /* confdefs.h. */
15974 _ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978
15979 int
15980 main ()
15981 {
15982
15983 #ifndef __SUNPRO_C
15984 choke me
15985 #endif
15986
15987 ;
15988 return 0;
15989 }
15990 _ACEOF
15991 rm -f conftest.$ac_objext
15992 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15999 ac_status=$?
16000 grep -v '^ *+' conftest.er1 >conftest.err
16001 rm -f conftest.er1
16002 cat conftest.err >&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } && {
16005 test -z "$ac_c_werror_flag" ||
16006 test ! -s conftest.err
16007 } && test -s conftest.$ac_objext; then
16008 bakefile_cv_c_compiler___SUNPRO_C=yes
16009 else
16010 echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.$ac_ext >&5
16012
16013 bakefile_cv_c_compiler___SUNPRO_C=no
16014
16015 fi
16016
16017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16018
16019
16020 fi
16021 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16022 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16023 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16024 :; SUNCC=yes
16025 else
16026 :;
16027 fi
16028 ac_ext=c
16029 ac_cpp='$CPP $CPPFLAGS'
16030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16033
16034
16035
16036 ;;
16037 esac
16038 fi
16039
16040
16041
16042 ac_ext=c
16043 ac_cpp='$CPP $CPPFLAGS'
16044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16047 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16048 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16049 # On Suns, sometimes $CPP names a directory.
16050 if test -n "$CPP" && test -d "$CPP"; then
16051 CPP=
16052 fi
16053 if test -z "$CPP"; then
16054 if test "${ac_cv_prog_CPP+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 else
16057 # Double quotes because CPP needs to be expanded
16058 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16059 do
16060 ac_preproc_ok=false
16061 for ac_c_preproc_warn_flag in '' yes
16062 do
16063 # Use a header file that comes with gcc, so configuring glibc
16064 # with a fresh cross-compiler works.
16065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16066 # <limits.h> exists even on freestanding compilers.
16067 # On the NeXT, cc -E runs the code through the compiler's parser,
16068 # not just through cpp. "Syntax error" is here to catch this case.
16069 cat >conftest.$ac_ext <<_ACEOF
16070 /* confdefs.h. */
16071 _ACEOF
16072 cat confdefs.h >>conftest.$ac_ext
16073 cat >>conftest.$ac_ext <<_ACEOF
16074 /* end confdefs.h. */
16075 #ifdef __STDC__
16076 # include <limits.h>
16077 #else
16078 # include <assert.h>
16079 #endif
16080 Syntax error
16081 _ACEOF
16082 if { (ac_try="$ac_cpp conftest.$ac_ext"
16083 case "(($ac_try" in
16084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16085 *) ac_try_echo=$ac_try;;
16086 esac
16087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16089 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } >/dev/null && {
16095 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16096 test ! -s conftest.err
16097 }; then
16098 :
16099 else
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.$ac_ext >&5
16102
16103 # Broken: fails on valid input.
16104 continue
16105 fi
16106
16107 rm -f conftest.err conftest.$ac_ext
16108
16109 # OK, works on sane cases. Now check whether nonexistent headers
16110 # can be detected and how.
16111 cat >conftest.$ac_ext <<_ACEOF
16112 /* confdefs.h. */
16113 _ACEOF
16114 cat confdefs.h >>conftest.$ac_ext
16115 cat >>conftest.$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16117 #include <ac_nonexistent.h>
16118 _ACEOF
16119 if { (ac_try="$ac_cpp conftest.$ac_ext"
16120 case "(($ac_try" in
16121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16122 *) ac_try_echo=$ac_try;;
16123 esac
16124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16125 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16126 ac_status=$?
16127 grep -v '^ *+' conftest.er1 >conftest.err
16128 rm -f conftest.er1
16129 cat conftest.err >&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); } >/dev/null && {
16132 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16133 test ! -s conftest.err
16134 }; then
16135 # Broken: success on invalid input.
16136 continue
16137 else
16138 echo "$as_me: failed program was:" >&5
16139 sed 's/^/| /' conftest.$ac_ext >&5
16140
16141 # Passes both tests.
16142 ac_preproc_ok=:
16143 break
16144 fi
16145
16146 rm -f conftest.err conftest.$ac_ext
16147
16148 done
16149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16150 rm -f conftest.err conftest.$ac_ext
16151 if $ac_preproc_ok; then
16152 break
16153 fi
16154
16155 done
16156 ac_cv_prog_CPP=$CPP
16157
16158 fi
16159 CPP=$ac_cv_prog_CPP
16160 else
16161 ac_cv_prog_CPP=$CPP
16162 fi
16163 { echo "$as_me:$LINENO: result: $CPP" >&5
16164 echo "${ECHO_T}$CPP" >&6; }
16165 ac_preproc_ok=false
16166 for ac_c_preproc_warn_flag in '' yes
16167 do
16168 # Use a header file that comes with gcc, so configuring glibc
16169 # with a fresh cross-compiler works.
16170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16171 # <limits.h> exists even on freestanding compilers.
16172 # On the NeXT, cc -E runs the code through the compiler's parser,
16173 # not just through cpp. "Syntax error" is here to catch this case.
16174 cat >conftest.$ac_ext <<_ACEOF
16175 /* confdefs.h. */
16176 _ACEOF
16177 cat confdefs.h >>conftest.$ac_ext
16178 cat >>conftest.$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 #ifdef __STDC__
16181 # include <limits.h>
16182 #else
16183 # include <assert.h>
16184 #endif
16185 Syntax error
16186 _ACEOF
16187 if { (ac_try="$ac_cpp conftest.$ac_ext"
16188 case "(($ac_try" in
16189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16190 *) ac_try_echo=$ac_try;;
16191 esac
16192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16193 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16194 ac_status=$?
16195 grep -v '^ *+' conftest.er1 >conftest.err
16196 rm -f conftest.er1
16197 cat conftest.err >&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } >/dev/null && {
16200 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16201 test ! -s conftest.err
16202 }; then
16203 :
16204 else
16205 echo "$as_me: failed program was:" >&5
16206 sed 's/^/| /' conftest.$ac_ext >&5
16207
16208 # Broken: fails on valid input.
16209 continue
16210 fi
16211
16212 rm -f conftest.err conftest.$ac_ext
16213
16214 # OK, works on sane cases. Now check whether nonexistent headers
16215 # can be detected and how.
16216 cat >conftest.$ac_ext <<_ACEOF
16217 /* confdefs.h. */
16218 _ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222 #include <ac_nonexistent.h>
16223 _ACEOF
16224 if { (ac_try="$ac_cpp conftest.$ac_ext"
16225 case "(($ac_try" in
16226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16227 *) ac_try_echo=$ac_try;;
16228 esac
16229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16231 ac_status=$?
16232 grep -v '^ *+' conftest.er1 >conftest.err
16233 rm -f conftest.er1
16234 cat conftest.err >&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } >/dev/null && {
16237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16238 test ! -s conftest.err
16239 }; then
16240 # Broken: success on invalid input.
16241 continue
16242 else
16243 echo "$as_me: failed program was:" >&5
16244 sed 's/^/| /' conftest.$ac_ext >&5
16245
16246 # Passes both tests.
16247 ac_preproc_ok=:
16248 break
16249 fi
16250
16251 rm -f conftest.err conftest.$ac_ext
16252
16253 done
16254 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16255 rm -f conftest.err conftest.$ac_ext
16256 if $ac_preproc_ok; then
16257 :
16258 else
16259 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16260 See \`config.log' for more details." >&5
16261 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16262 See \`config.log' for more details." >&2;}
16263 { (exit 1); exit 1; }; }
16264 fi
16265
16266 ac_ext=c
16267 ac_cpp='$CPP $CPPFLAGS'
16268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16271
16272
16273 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16274 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16275 if test "${ac_cv_path_GREP+set}" = set; then
16276 echo $ECHO_N "(cached) $ECHO_C" >&6
16277 else
16278 # Extract the first word of "grep ggrep" to use in msg output
16279 if test -z "$GREP"; then
16280 set dummy grep ggrep; ac_prog_name=$2
16281 if test "${ac_cv_path_GREP+set}" = set; then
16282 echo $ECHO_N "(cached) $ECHO_C" >&6
16283 else
16284 ac_path_GREP_found=false
16285 # Loop through the user's path and test for each of PROGNAME-LIST
16286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16287 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16288 do
16289 IFS=$as_save_IFS
16290 test -z "$as_dir" && as_dir=.
16291 for ac_prog in grep ggrep; do
16292 for ac_exec_ext in '' $ac_executable_extensions; do
16293 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16294 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16295 # Check for GNU ac_path_GREP and select it if it is found.
16296 # Check for GNU $ac_path_GREP
16297 case `"$ac_path_GREP" --version 2>&1` in
16298 *GNU*)
16299 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16300 *)
16301 ac_count=0
16302 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16303 while :
16304 do
16305 cat "conftest.in" "conftest.in" >"conftest.tmp"
16306 mv "conftest.tmp" "conftest.in"
16307 cp "conftest.in" "conftest.nl"
16308 echo 'GREP' >> "conftest.nl"
16309 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16311 ac_count=`expr $ac_count + 1`
16312 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16313 # Best one so far, save it but keep looking for a better one
16314 ac_cv_path_GREP="$ac_path_GREP"
16315 ac_path_GREP_max=$ac_count
16316 fi
16317 # 10*(2^10) chars as input seems more than enough
16318 test $ac_count -gt 10 && break
16319 done
16320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16321 esac
16322
16323
16324 $ac_path_GREP_found && break 3
16325 done
16326 done
16327
16328 done
16329 IFS=$as_save_IFS
16330
16331
16332 fi
16333
16334 GREP="$ac_cv_path_GREP"
16335 if test -z "$GREP"; then
16336 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16337 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16338 { (exit 1); exit 1; }; }
16339 fi
16340
16341 else
16342 ac_cv_path_GREP=$GREP
16343 fi
16344
16345
16346 fi
16347 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16348 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16349 GREP="$ac_cv_path_GREP"
16350
16351
16352 { echo "$as_me:$LINENO: checking for egrep" >&5
16353 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16354 if test "${ac_cv_path_EGREP+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16356 else
16357 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16358 then ac_cv_path_EGREP="$GREP -E"
16359 else
16360 # Extract the first word of "egrep" to use in msg output
16361 if test -z "$EGREP"; then
16362 set dummy egrep; ac_prog_name=$2
16363 if test "${ac_cv_path_EGREP+set}" = set; then
16364 echo $ECHO_N "(cached) $ECHO_C" >&6
16365 else
16366 ac_path_EGREP_found=false
16367 # Loop through the user's path and test for each of PROGNAME-LIST
16368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16370 do
16371 IFS=$as_save_IFS
16372 test -z "$as_dir" && as_dir=.
16373 for ac_prog in egrep; do
16374 for ac_exec_ext in '' $ac_executable_extensions; do
16375 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16376 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16377 # Check for GNU ac_path_EGREP and select it if it is found.
16378 # Check for GNU $ac_path_EGREP
16379 case `"$ac_path_EGREP" --version 2>&1` in
16380 *GNU*)
16381 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16382 *)
16383 ac_count=0
16384 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16385 while :
16386 do
16387 cat "conftest.in" "conftest.in" >"conftest.tmp"
16388 mv "conftest.tmp" "conftest.in"
16389 cp "conftest.in" "conftest.nl"
16390 echo 'EGREP' >> "conftest.nl"
16391 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16393 ac_count=`expr $ac_count + 1`
16394 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16395 # Best one so far, save it but keep looking for a better one
16396 ac_cv_path_EGREP="$ac_path_EGREP"
16397 ac_path_EGREP_max=$ac_count
16398 fi
16399 # 10*(2^10) chars as input seems more than enough
16400 test $ac_count -gt 10 && break
16401 done
16402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16403 esac
16404
16405
16406 $ac_path_EGREP_found && break 3
16407 done
16408 done
16409
16410 done
16411 IFS=$as_save_IFS
16412
16413
16414 fi
16415
16416 EGREP="$ac_cv_path_EGREP"
16417 if test -z "$EGREP"; then
16418 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16419 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16420 { (exit 1); exit 1; }; }
16421 fi
16422
16423 else
16424 ac_cv_path_EGREP=$EGREP
16425 fi
16426
16427
16428 fi
16429 fi
16430 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16431 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16432 EGREP="$ac_cv_path_EGREP"
16433
16434
16435 if test $ac_cv_c_compiler_gnu = yes; then
16436 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16437 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16438 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 else
16441 ac_pattern="Autoconf.*'x'"
16442 cat >conftest.$ac_ext <<_ACEOF
16443 /* confdefs.h. */
16444 _ACEOF
16445 cat confdefs.h >>conftest.$ac_ext
16446 cat >>conftest.$ac_ext <<_ACEOF
16447 /* end confdefs.h. */
16448 #include <sgtty.h>
16449 Autoconf TIOCGETP
16450 _ACEOF
16451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16452 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16453 ac_cv_prog_gcc_traditional=yes
16454 else
16455 ac_cv_prog_gcc_traditional=no
16456 fi
16457 rm -f conftest*
16458
16459
16460 if test $ac_cv_prog_gcc_traditional = no; then
16461 cat >conftest.$ac_ext <<_ACEOF
16462 /* confdefs.h. */
16463 _ACEOF
16464 cat confdefs.h >>conftest.$ac_ext
16465 cat >>conftest.$ac_ext <<_ACEOF
16466 /* end confdefs.h. */
16467 #include <termio.h>
16468 Autoconf TCGETA
16469 _ACEOF
16470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16471 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16472 ac_cv_prog_gcc_traditional=yes
16473 fi
16474 rm -f conftest*
16475
16476 fi
16477 fi
16478 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16479 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16480 if test $ac_cv_prog_gcc_traditional = yes; then
16481 CC="$CC -traditional"
16482 fi
16483 fi
16484
16485
16486 CXXFLAGS=${CXXFLAGS:=}
16487
16488
16489
16490 ac_ext=cpp
16491 ac_cpp='$CXXCPP $CPPFLAGS'
16492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16495 if test -z "$CXX"; then
16496 if test -n "$CCC"; then
16497 CXX=$CCC
16498 else
16499 if test -n "$ac_tool_prefix"; then
16500 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16501 do
16502 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16503 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16506 if test "${ac_cv_prog_CXX+set}" = set; then
16507 echo $ECHO_N "(cached) $ECHO_C" >&6
16508 else
16509 if test -n "$CXX"; then
16510 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16511 else
16512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16513 for as_dir in $PATH
16514 do
16515 IFS=$as_save_IFS
16516 test -z "$as_dir" && as_dir=.
16517 for ac_exec_ext in '' $ac_executable_extensions; do
16518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16519 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16521 break 2
16522 fi
16523 done
16524 done
16525 IFS=$as_save_IFS
16526
16527 fi
16528 fi
16529 CXX=$ac_cv_prog_CXX
16530 if test -n "$CXX"; then
16531 { echo "$as_me:$LINENO: result: $CXX" >&5
16532 echo "${ECHO_T}$CXX" >&6; }
16533 else
16534 { echo "$as_me:$LINENO: result: no" >&5
16535 echo "${ECHO_T}no" >&6; }
16536 fi
16537
16538
16539 test -n "$CXX" && break
16540 done
16541 fi
16542 if test -z "$CXX"; then
16543 ac_ct_CXX=$CXX
16544 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16545 do
16546 # Extract the first word of "$ac_prog", so it can be a program name with args.
16547 set dummy $ac_prog; ac_word=$2
16548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16550 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16551 echo $ECHO_N "(cached) $ECHO_C" >&6
16552 else
16553 if test -n "$ac_ct_CXX"; then
16554 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16555 else
16556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16557 for as_dir in $PATH
16558 do
16559 IFS=$as_save_IFS
16560 test -z "$as_dir" && as_dir=.
16561 for ac_exec_ext in '' $ac_executable_extensions; do
16562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16563 ac_cv_prog_ac_ct_CXX="$ac_prog"
16564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16565 break 2
16566 fi
16567 done
16568 done
16569 IFS=$as_save_IFS
16570
16571 fi
16572 fi
16573 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16574 if test -n "$ac_ct_CXX"; then
16575 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16576 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16577 else
16578 { echo "$as_me:$LINENO: result: no" >&5
16579 echo "${ECHO_T}no" >&6; }
16580 fi
16581
16582
16583 test -n "$ac_ct_CXX" && break
16584 done
16585
16586 if test "x$ac_ct_CXX" = x; then
16587 CXX="g++"
16588 else
16589 case $cross_compiling:$ac_tool_warned in
16590 yes:)
16591 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16592 whose name does not start with the host triplet. If you think this
16593 configuration is useful to you, please write to autoconf@gnu.org." >&5
16594 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16595 whose name does not start with the host triplet. If you think this
16596 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16597 ac_tool_warned=yes ;;
16598 esac
16599 CXX=$ac_ct_CXX
16600 fi
16601 fi
16602
16603 fi
16604 fi
16605 # Provide some information about the compiler.
16606 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16607 ac_compiler=`set X $ac_compile; echo $2`
16608 { (ac_try="$ac_compiler --version >&5"
16609 case "(($ac_try" in
16610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16611 *) ac_try_echo=$ac_try;;
16612 esac
16613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16614 (eval "$ac_compiler --version >&5") 2>&5
16615 ac_status=$?
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }
16618 { (ac_try="$ac_compiler -v >&5"
16619 case "(($ac_try" in
16620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16621 *) ac_try_echo=$ac_try;;
16622 esac
16623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16624 (eval "$ac_compiler -v >&5") 2>&5
16625 ac_status=$?
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }
16628 { (ac_try="$ac_compiler -V >&5"
16629 case "(($ac_try" in
16630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16631 *) ac_try_echo=$ac_try;;
16632 esac
16633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16634 (eval "$ac_compiler -V >&5") 2>&5
16635 ac_status=$?
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }
16638
16639 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16640 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16641 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16642 echo $ECHO_N "(cached) $ECHO_C" >&6
16643 else
16644 cat >conftest.$ac_ext <<_ACEOF
16645 /* confdefs.h. */
16646 _ACEOF
16647 cat confdefs.h >>conftest.$ac_ext
16648 cat >>conftest.$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650
16651 int
16652 main ()
16653 {
16654 #ifndef __GNUC__
16655 choke me
16656 #endif
16657
16658 ;
16659 return 0;
16660 }
16661 _ACEOF
16662 rm -f conftest.$ac_objext
16663 if { (ac_try="$ac_compile"
16664 case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16666 *) ac_try_echo=$ac_try;;
16667 esac
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_compile") 2>conftest.er1
16670 ac_status=$?
16671 grep -v '^ *+' conftest.er1 >conftest.err
16672 rm -f conftest.er1
16673 cat conftest.err >&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } && {
16676 test -z "$ac_cxx_werror_flag" ||
16677 test ! -s conftest.err
16678 } && test -s conftest.$ac_objext; then
16679 ac_compiler_gnu=yes
16680 else
16681 echo "$as_me: failed program was:" >&5
16682 sed 's/^/| /' conftest.$ac_ext >&5
16683
16684 ac_compiler_gnu=no
16685 fi
16686
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16689
16690 fi
16691 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16692 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16693 GXX=`test $ac_compiler_gnu = yes && echo yes`
16694 ac_test_CXXFLAGS=${CXXFLAGS+set}
16695 ac_save_CXXFLAGS=$CXXFLAGS
16696 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16697 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16698 if test "${ac_cv_prog_cxx_g+set}" = set; then
16699 echo $ECHO_N "(cached) $ECHO_C" >&6
16700 else
16701 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16702 ac_cxx_werror_flag=yes
16703 ac_cv_prog_cxx_g=no
16704 CXXFLAGS="-g"
16705 cat >conftest.$ac_ext <<_ACEOF
16706 /* confdefs.h. */
16707 _ACEOF
16708 cat confdefs.h >>conftest.$ac_ext
16709 cat >>conftest.$ac_ext <<_ACEOF
16710 /* end confdefs.h. */
16711
16712 int
16713 main ()
16714 {
16715
16716 ;
16717 return 0;
16718 }
16719 _ACEOF
16720 rm -f conftest.$ac_objext
16721 if { (ac_try="$ac_compile"
16722 case "(($ac_try" in
16723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16724 *) ac_try_echo=$ac_try;;
16725 esac
16726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16727 (eval "$ac_compile") 2>conftest.er1
16728 ac_status=$?
16729 grep -v '^ *+' conftest.er1 >conftest.err
16730 rm -f conftest.er1
16731 cat conftest.err >&5
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); } && {
16734 test -z "$ac_cxx_werror_flag" ||
16735 test ! -s conftest.err
16736 } && test -s conftest.$ac_objext; then
16737 ac_cv_prog_cxx_g=yes
16738 else
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5
16741
16742 CXXFLAGS=""
16743 cat >conftest.$ac_ext <<_ACEOF
16744 /* confdefs.h. */
16745 _ACEOF
16746 cat confdefs.h >>conftest.$ac_ext
16747 cat >>conftest.$ac_ext <<_ACEOF
16748 /* end confdefs.h. */
16749
16750 int
16751 main ()
16752 {
16753
16754 ;
16755 return 0;
16756 }
16757 _ACEOF
16758 rm -f conftest.$ac_objext
16759 if { (ac_try="$ac_compile"
16760 case "(($ac_try" in
16761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16762 *) ac_try_echo=$ac_try;;
16763 esac
16764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16765 (eval "$ac_compile") 2>conftest.er1
16766 ac_status=$?
16767 grep -v '^ *+' conftest.er1 >conftest.err
16768 rm -f conftest.er1
16769 cat conftest.err >&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } && {
16772 test -z "$ac_cxx_werror_flag" ||
16773 test ! -s conftest.err
16774 } && test -s conftest.$ac_objext; then
16775 :
16776 else
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.$ac_ext >&5
16779
16780 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16781 CXXFLAGS="-g"
16782 cat >conftest.$ac_ext <<_ACEOF
16783 /* confdefs.h. */
16784 _ACEOF
16785 cat confdefs.h >>conftest.$ac_ext
16786 cat >>conftest.$ac_ext <<_ACEOF
16787 /* end confdefs.h. */
16788
16789 int
16790 main ()
16791 {
16792
16793 ;
16794 return 0;
16795 }
16796 _ACEOF
16797 rm -f conftest.$ac_objext
16798 if { (ac_try="$ac_compile"
16799 case "(($ac_try" in
16800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16801 *) ac_try_echo=$ac_try;;
16802 esac
16803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16804 (eval "$ac_compile") 2>conftest.er1
16805 ac_status=$?
16806 grep -v '^ *+' conftest.er1 >conftest.err
16807 rm -f conftest.er1
16808 cat conftest.err >&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } && {
16811 test -z "$ac_cxx_werror_flag" ||
16812 test ! -s conftest.err
16813 } && test -s conftest.$ac_objext; then
16814 ac_cv_prog_cxx_g=yes
16815 else
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.$ac_ext >&5
16818
16819
16820 fi
16821
16822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16823 fi
16824
16825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16826 fi
16827
16828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16829 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16830 fi
16831 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16832 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16833 if test "$ac_test_CXXFLAGS" = set; then
16834 CXXFLAGS=$ac_save_CXXFLAGS
16835 elif test $ac_cv_prog_cxx_g = yes; then
16836 if test "$GXX" = yes; then
16837 CXXFLAGS="-g -O2"
16838 else
16839 CXXFLAGS="-g"
16840 fi
16841 else
16842 if test "$GXX" = yes; then
16843 CXXFLAGS="-O2"
16844 else
16845 CXXFLAGS=
16846 fi
16847 fi
16848 ac_ext=c
16849 ac_cpp='$CPP $CPPFLAGS'
16850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16853
16854
16855
16856
16857 ac_ext=cpp
16858 ac_cpp='$CXXCPP $CPPFLAGS'
16859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16862
16863 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16864 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16865 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16866 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 else
16868 cat >conftest.$ac_ext <<_ACEOF
16869 /* confdefs.h. */
16870 _ACEOF
16871 cat confdefs.h >>conftest.$ac_ext
16872 cat >>conftest.$ac_ext <<_ACEOF
16873 /* end confdefs.h. */
16874
16875 int
16876 main ()
16877 {
16878
16879 #ifndef __INTEL_COMPILER
16880 choke me
16881 #endif
16882
16883 ;
16884 return 0;
16885 }
16886 _ACEOF
16887 rm -f conftest.$ac_objext
16888 if { (ac_try="$ac_compile"
16889 case "(($ac_try" in
16890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16891 *) ac_try_echo=$ac_try;;
16892 esac
16893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16894 (eval "$ac_compile") 2>conftest.er1
16895 ac_status=$?
16896 grep -v '^ *+' conftest.er1 >conftest.err
16897 rm -f conftest.er1
16898 cat conftest.err >&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); } && {
16901 test -z "$ac_cxx_werror_flag" ||
16902 test ! -s conftest.err
16903 } && test -s conftest.$ac_objext; then
16904 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16905 else
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.$ac_ext >&5
16908
16909 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16910
16911 fi
16912
16913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16914
16915
16916 fi
16917 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16918 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16919 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16920 :; INTELCXX=yes
16921 else
16922 :;
16923 fi
16924 ac_ext=c
16925 ac_cpp='$CPP $CPPFLAGS'
16926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16929
16930
16931
16932
16933 if test "$INTELCXX" = "yes"; then
16934
16935
16936 ac_ext=cpp
16937 ac_cpp='$CXXCPP $CPPFLAGS'
16938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16941
16942 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16943 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16944 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16945 echo $ECHO_N "(cached) $ECHO_C" >&6
16946 else
16947 cat >conftest.$ac_ext <<_ACEOF
16948 /* confdefs.h. */
16949 _ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16953
16954 int
16955 main ()
16956 {
16957
16958 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16959 choke me
16960 #endif
16961
16962 ;
16963 return 0;
16964 }
16965 _ACEOF
16966 rm -f conftest.$ac_objext
16967 if { (ac_try="$ac_compile"
16968 case "(($ac_try" in
16969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;;
16971 esac
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 (eval "$ac_compile") 2>conftest.er1
16974 ac_status=$?
16975 grep -v '^ *+' conftest.er1 >conftest.err
16976 rm -f conftest.er1
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && {
16980 test -z "$ac_cxx_werror_flag" ||
16981 test ! -s conftest.err
16982 } && test -s conftest.$ac_objext; then
16983 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16984 else
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16987
16988 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16989
16990 fi
16991
16992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16993
16994
16995 fi
16996 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16997 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
16998 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16999 :; INTELCXX8=yes
17000 else
17001 :;
17002 fi
17003 ac_ext=c
17004 ac_cpp='$CPP $CPPFLAGS'
17005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17008
17009
17010
17011
17012
17013 ac_ext=cpp
17014 ac_cpp='$CXXCPP $CPPFLAGS'
17015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17018
17019 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17020 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17021 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17023 else
17024 cat >conftest.$ac_ext <<_ACEOF
17025 /* confdefs.h. */
17026 _ACEOF
17027 cat confdefs.h >>conftest.$ac_ext
17028 cat >>conftest.$ac_ext <<_ACEOF
17029 /* end confdefs.h. */
17030
17031 int
17032 main ()
17033 {
17034
17035 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17036 choke me
17037 #endif
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 rm -f conftest.$ac_objext
17044 if { (ac_try="$ac_compile"
17045 case "(($ac_try" in
17046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17047 *) ac_try_echo=$ac_try;;
17048 esac
17049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17050 (eval "$ac_compile") 2>conftest.er1
17051 ac_status=$?
17052 grep -v '^ *+' conftest.er1 >conftest.err
17053 rm -f conftest.er1
17054 cat conftest.err >&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } && {
17057 test -z "$ac_cxx_werror_flag" ||
17058 test ! -s conftest.err
17059 } && test -s conftest.$ac_objext; then
17060 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17061 else
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17064
17065 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17066
17067 fi
17068
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17070
17071
17072 fi
17073 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17074 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17075 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17076 :; INTELCXX10=yes
17077 else
17078 :;
17079 fi
17080 ac_ext=c
17081 ac_cpp='$CPP $CPPFLAGS'
17082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17085
17086
17087
17088 fi
17089
17090 if test "x$GCXX" != "xyes"; then
17091 if test "xCXX" = "xC"; then
17092 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17093 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17094 if test "${bakefile_cv_c_exto+set}" = set; then
17095 echo $ECHO_N "(cached) $ECHO_C" >&6
17096 else
17097 cat >conftest.$ac_ext <<_ACEOF
17098 /* confdefs.h. */
17099 _ACEOF
17100 cat confdefs.h >>conftest.$ac_ext
17101 cat >>conftest.$ac_ext <<_ACEOF
17102 /* end confdefs.h. */
17103
17104 int
17105 main ()
17106 {
17107
17108 ;
17109 return 0;
17110 }
17111 _ACEOF
17112 rm -f conftest.$ac_objext conftest.$ac_ext.o
17113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17114 (eval $ac_compile) 2>&5
17115 ac_status=$?
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; then
17118 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17119 case $ac_file in
17120 conftest.$ac_ext.o)
17121 bakefile_cv_c_exto="-ext o"
17122 ;;
17123 *)
17124 ;;
17125 esac
17126 done
17127 else
17128 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17129 See \`config.log' for more details." >&5
17130 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17131 See \`config.log' for more details." >&2;}
17132 { (exit 1); exit 1; }; }
17133
17134 fi
17135
17136 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17137
17138 fi
17139 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17140 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17141 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17142 if test "c" = "c"; then
17143 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17144 fi
17145 if test "c" = "cxx"; then
17146 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17147 fi
17148 fi
17149
17150 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17151 unset ac_cv_prog_cc_g
17152 ac_test_CFLAGS=${CFLAGS+set}
17153 ac_save_CFLAGS=$CFLAGS
17154 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17155 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17156 if test "${ac_cv_prog_cc_g+set}" = set; then
17157 echo $ECHO_N "(cached) $ECHO_C" >&6
17158 else
17159 ac_save_c_werror_flag=$ac_c_werror_flag
17160 ac_c_werror_flag=yes
17161 ac_cv_prog_cc_g=no
17162 CFLAGS="-g"
17163 cat >conftest.$ac_ext <<_ACEOF
17164 /* confdefs.h. */
17165 _ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169
17170 int
17171 main ()
17172 {
17173
17174 ;
17175 return 0;
17176 }
17177 _ACEOF
17178 rm -f conftest.$ac_objext
17179 if { (ac_try="$ac_compile"
17180 case "(($ac_try" in
17181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17182 *) ac_try_echo=$ac_try;;
17183 esac
17184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17185 (eval "$ac_compile") 2>conftest.er1
17186 ac_status=$?
17187 grep -v '^ *+' conftest.er1 >conftest.err
17188 rm -f conftest.er1
17189 cat conftest.err >&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); } && {
17192 test -z "$ac_c_werror_flag" ||
17193 test ! -s conftest.err
17194 } && test -s conftest.$ac_objext; then
17195 ac_cv_prog_cc_g=yes
17196 else
17197 echo "$as_me: failed program was:" >&5
17198 sed 's/^/| /' conftest.$ac_ext >&5
17199
17200 CFLAGS=""
17201 cat >conftest.$ac_ext <<_ACEOF
17202 /* confdefs.h. */
17203 _ACEOF
17204 cat confdefs.h >>conftest.$ac_ext
17205 cat >>conftest.$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17207
17208 int
17209 main ()
17210 {
17211
17212 ;
17213 return 0;
17214 }
17215 _ACEOF
17216 rm -f conftest.$ac_objext
17217 if { (ac_try="$ac_compile"
17218 case "(($ac_try" in
17219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17220 *) ac_try_echo=$ac_try;;
17221 esac
17222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17223 (eval "$ac_compile") 2>conftest.er1
17224 ac_status=$?
17225 grep -v '^ *+' conftest.er1 >conftest.err
17226 rm -f conftest.er1
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } && {
17230 test -z "$ac_c_werror_flag" ||
17231 test ! -s conftest.err
17232 } && test -s conftest.$ac_objext; then
17233 :
17234 else
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17237
17238 ac_c_werror_flag=$ac_save_c_werror_flag
17239 CFLAGS="-g"
17240 cat >conftest.$ac_ext <<_ACEOF
17241 /* confdefs.h. */
17242 _ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246
17247 int
17248 main ()
17249 {
17250
17251 ;
17252 return 0;
17253 }
17254 _ACEOF
17255 rm -f conftest.$ac_objext
17256 if { (ac_try="$ac_compile"
17257 case "(($ac_try" in
17258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17259 *) ac_try_echo=$ac_try;;
17260 esac
17261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_compile") 2>conftest.er1
17263 ac_status=$?
17264 grep -v '^ *+' conftest.er1 >conftest.err
17265 rm -f conftest.er1
17266 cat conftest.err >&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } && {
17269 test -z "$ac_c_werror_flag" ||
17270 test ! -s conftest.err
17271 } && test -s conftest.$ac_objext; then
17272 ac_cv_prog_cc_g=yes
17273 else
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5
17276
17277
17278 fi
17279
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 fi
17282
17283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17284 fi
17285
17286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17287 ac_c_werror_flag=$ac_save_c_werror_flag
17288 fi
17289 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17290 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17291 if test "$ac_test_CFLAGS" = set; then
17292 CFLAGS=$ac_save_CFLAGS
17293 elif test $ac_cv_prog_cc_g = yes; then
17294 if test "$GCC" = yes; then
17295 CFLAGS="-g -O2"
17296 else
17297 CFLAGS="-g"
17298 fi
17299 else
17300 if test "$GCC" = yes; then
17301 CFLAGS="-O2"
17302 else
17303 CFLAGS=
17304 fi
17305 fi
17306 fi
17307 fi
17308
17309 case `uname -s` in
17310 AIX*)
17311
17312
17313 ac_ext=cpp
17314 ac_cpp='$CXXCPP $CPPFLAGS'
17315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17318
17319 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17320 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17321 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17322 echo $ECHO_N "(cached) $ECHO_C" >&6
17323 else
17324 cat >conftest.$ac_ext <<_ACEOF
17325 /* confdefs.h. */
17326 _ACEOF
17327 cat confdefs.h >>conftest.$ac_ext
17328 cat >>conftest.$ac_ext <<_ACEOF
17329 /* end confdefs.h. */
17330
17331 int
17332 main ()
17333 {
17334
17335 #ifndef __xlC__
17336 choke me
17337 #endif
17338
17339 ;
17340 return 0;
17341 }
17342 _ACEOF
17343 rm -f conftest.$ac_objext
17344 if { (ac_try="$ac_compile"
17345 case "(($ac_try" in
17346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17347 *) ac_try_echo=$ac_try;;
17348 esac
17349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17350 (eval "$ac_compile") 2>conftest.er1
17351 ac_status=$?
17352 grep -v '^ *+' conftest.er1 >conftest.err
17353 rm -f conftest.er1
17354 cat conftest.err >&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); } && {
17357 test -z "$ac_cxx_werror_flag" ||
17358 test ! -s conftest.err
17359 } && test -s conftest.$ac_objext; then
17360 bakefile_cv_cxx_compiler___xlC__=yes
17361 else
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17364
17365 bakefile_cv_cxx_compiler___xlC__=no
17366
17367 fi
17368
17369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17370
17371
17372 fi
17373 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17374 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17375 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17376 :; XLCXX=yes
17377 else
17378 :;
17379 fi
17380 ac_ext=c
17381 ac_cpp='$CPP $CPPFLAGS'
17382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17385
17386
17387
17388 ;;
17389
17390 Darwin)
17391
17392
17393 ac_ext=cpp
17394 ac_cpp='$CXXCPP $CPPFLAGS'
17395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17398
17399 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17400 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17401 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17402 echo $ECHO_N "(cached) $ECHO_C" >&6
17403 else
17404 cat >conftest.$ac_ext <<_ACEOF
17405 /* confdefs.h. */
17406 _ACEOF
17407 cat confdefs.h >>conftest.$ac_ext
17408 cat >>conftest.$ac_ext <<_ACEOF
17409 /* end confdefs.h. */
17410
17411 int
17412 main ()
17413 {
17414
17415 #ifndef __MWERKS__
17416 choke me
17417 #endif
17418
17419 ;
17420 return 0;
17421 }
17422 _ACEOF
17423 rm -f conftest.$ac_objext
17424 if { (ac_try="$ac_compile"
17425 case "(($ac_try" in
17426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17427 *) ac_try_echo=$ac_try;;
17428 esac
17429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17430 (eval "$ac_compile") 2>conftest.er1
17431 ac_status=$?
17432 grep -v '^ *+' conftest.er1 >conftest.err
17433 rm -f conftest.er1
17434 cat conftest.err >&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } && {
17437 test -z "$ac_cxx_werror_flag" ||
17438 test ! -s conftest.err
17439 } && test -s conftest.$ac_objext; then
17440 bakefile_cv_cxx_compiler___MWERKS__=yes
17441 else
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.$ac_ext >&5
17444
17445 bakefile_cv_cxx_compiler___MWERKS__=no
17446
17447 fi
17448
17449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17450
17451
17452 fi
17453 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17454 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17455 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17456 :; MWCXX=yes
17457 else
17458 :;
17459 fi
17460 ac_ext=c
17461 ac_cpp='$CPP $CPPFLAGS'
17462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17465
17466
17467
17468 if test "$MWCXX" != "yes"; then
17469
17470
17471 ac_ext=cpp
17472 ac_cpp='$CXXCPP $CPPFLAGS'
17473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17476
17477 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17478 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17479 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 else
17482 cat >conftest.$ac_ext <<_ACEOF
17483 /* confdefs.h. */
17484 _ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488
17489 int
17490 main ()
17491 {
17492
17493 #ifndef __xlC__
17494 choke me
17495 #endif
17496
17497 ;
17498 return 0;
17499 }
17500 _ACEOF
17501 rm -f conftest.$ac_objext
17502 if { (ac_try="$ac_compile"
17503 case "(($ac_try" in
17504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17505 *) ac_try_echo=$ac_try;;
17506 esac
17507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17508 (eval "$ac_compile") 2>conftest.er1
17509 ac_status=$?
17510 grep -v '^ *+' conftest.er1 >conftest.err
17511 rm -f conftest.er1
17512 cat conftest.err >&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } && {
17515 test -z "$ac_cxx_werror_flag" ||
17516 test ! -s conftest.err
17517 } && test -s conftest.$ac_objext; then
17518 bakefile_cv_cxx_compiler___xlC__=yes
17519 else
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.$ac_ext >&5
17522
17523 bakefile_cv_cxx_compiler___xlC__=no
17524
17525 fi
17526
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528
17529
17530 fi
17531 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17532 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17533 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17534 :; XLCXX=yes
17535 else
17536 :;
17537 fi
17538 ac_ext=c
17539 ac_cpp='$CPP $CPPFLAGS'
17540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17543
17544
17545
17546 fi
17547 ;;
17548
17549 IRIX*)
17550
17551
17552 ac_ext=cpp
17553 ac_cpp='$CXXCPP $CPPFLAGS'
17554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17557
17558 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17559 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17560 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17562 else
17563 cat >conftest.$ac_ext <<_ACEOF
17564 /* confdefs.h. */
17565 _ACEOF
17566 cat confdefs.h >>conftest.$ac_ext
17567 cat >>conftest.$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17569
17570 int
17571 main ()
17572 {
17573
17574 #ifndef _SGI_COMPILER_VERSION
17575 choke me
17576 #endif
17577
17578 ;
17579 return 0;
17580 }
17581 _ACEOF
17582 rm -f conftest.$ac_objext
17583 if { (ac_try="$ac_compile"
17584 case "(($ac_try" in
17585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17586 *) ac_try_echo=$ac_try;;
17587 esac
17588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17589 (eval "$ac_compile") 2>conftest.er1
17590 ac_status=$?
17591 grep -v '^ *+' conftest.er1 >conftest.err
17592 rm -f conftest.er1
17593 cat conftest.err >&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); } && {
17596 test -z "$ac_cxx_werror_flag" ||
17597 test ! -s conftest.err
17598 } && test -s conftest.$ac_objext; then
17599 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17600 else
17601 echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17603
17604 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17605
17606 fi
17607
17608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609
17610
17611 fi
17612 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17613 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17614 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17615 :; SGICXX=yes
17616 else
17617 :;
17618 fi
17619 ac_ext=c
17620 ac_cpp='$CPP $CPPFLAGS'
17621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17624
17625
17626
17627 ;;
17628
17629 Linux*)
17630 if test "$INTELCXX" != "yes"; then
17631
17632
17633 ac_ext=cpp
17634 ac_cpp='$CXXCPP $CPPFLAGS'
17635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17638
17639 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17640 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17641 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17642 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 else
17644 cat >conftest.$ac_ext <<_ACEOF
17645 /* confdefs.h. */
17646 _ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650
17651 int
17652 main ()
17653 {
17654
17655 #ifndef __SUNPRO_CC
17656 choke me
17657 #endif
17658
17659 ;
17660 return 0;
17661 }
17662 _ACEOF
17663 rm -f conftest.$ac_objext
17664 if { (ac_try="$ac_compile"
17665 case "(($ac_try" in
17666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17667 *) ac_try_echo=$ac_try;;
17668 esac
17669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17670 (eval "$ac_compile") 2>conftest.er1
17671 ac_status=$?
17672 grep -v '^ *+' conftest.er1 >conftest.err
17673 rm -f conftest.er1
17674 cat conftest.err >&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); } && {
17677 test -z "$ac_cxx_werror_flag" ||
17678 test ! -s conftest.err
17679 } && test -s conftest.$ac_objext; then
17680 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17681 else
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17684
17685 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17686
17687 fi
17688
17689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17690
17691
17692 fi
17693 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17694 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17695 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17696 :; SUNCXX=yes
17697 else
17698 :;
17699 fi
17700 ac_ext=c
17701 ac_cpp='$CPP $CPPFLAGS'
17702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17705
17706
17707
17708 fi
17709 ;;
17710
17711 HP-UX*)
17712
17713
17714 ac_ext=cpp
17715 ac_cpp='$CXXCPP $CPPFLAGS'
17716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17719
17720 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17721 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17722 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17723 echo $ECHO_N "(cached) $ECHO_C" >&6
17724 else
17725 cat >conftest.$ac_ext <<_ACEOF
17726 /* confdefs.h. */
17727 _ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731
17732 int
17733 main ()
17734 {
17735
17736 #ifndef __HP_aCC
17737 choke me
17738 #endif
17739
17740 ;
17741 return 0;
17742 }
17743 _ACEOF
17744 rm -f conftest.$ac_objext
17745 if { (ac_try="$ac_compile"
17746 case "(($ac_try" in
17747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17748 *) ac_try_echo=$ac_try;;
17749 esac
17750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17751 (eval "$ac_compile") 2>conftest.er1
17752 ac_status=$?
17753 grep -v '^ *+' conftest.er1 >conftest.err
17754 rm -f conftest.er1
17755 cat conftest.err >&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); } && {
17758 test -z "$ac_cxx_werror_flag" ||
17759 test ! -s conftest.err
17760 } && test -s conftest.$ac_objext; then
17761 bakefile_cv_cxx_compiler___HP_aCC=yes
17762 else
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.$ac_ext >&5
17765
17766 bakefile_cv_cxx_compiler___HP_aCC=no
17767
17768 fi
17769
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771
17772
17773 fi
17774 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17775 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17776 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17777 :; HPCXX=yes
17778 else
17779 :;
17780 fi
17781 ac_ext=c
17782 ac_cpp='$CPP $CPPFLAGS'
17783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17786
17787
17788
17789 ;;
17790
17791 OSF1)
17792
17793
17794 ac_ext=cpp
17795 ac_cpp='$CXXCPP $CPPFLAGS'
17796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17799
17800 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17801 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17802 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17803 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 else
17805 cat >conftest.$ac_ext <<_ACEOF
17806 /* confdefs.h. */
17807 _ACEOF
17808 cat confdefs.h >>conftest.$ac_ext
17809 cat >>conftest.$ac_ext <<_ACEOF
17810 /* end confdefs.h. */
17811
17812 int
17813 main ()
17814 {
17815
17816 #ifndef __DECCXX
17817 choke me
17818 #endif
17819
17820 ;
17821 return 0;
17822 }
17823 _ACEOF
17824 rm -f conftest.$ac_objext
17825 if { (ac_try="$ac_compile"
17826 case "(($ac_try" in
17827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17828 *) ac_try_echo=$ac_try;;
17829 esac
17830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17831 (eval "$ac_compile") 2>conftest.er1
17832 ac_status=$?
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } && {
17838 test -z "$ac_cxx_werror_flag" ||
17839 test ! -s conftest.err
17840 } && test -s conftest.$ac_objext; then
17841 bakefile_cv_cxx_compiler___DECCXX=yes
17842 else
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.$ac_ext >&5
17845
17846 bakefile_cv_cxx_compiler___DECCXX=no
17847
17848 fi
17849
17850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17851
17852
17853 fi
17854 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17855 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17856 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17857 :; COMPAQCXX=yes
17858 else
17859 :;
17860 fi
17861 ac_ext=c
17862 ac_cpp='$CPP $CPPFLAGS'
17863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17866
17867
17868
17869 ;;
17870
17871 SunOS)
17872
17873
17874 ac_ext=cpp
17875 ac_cpp='$CXXCPP $CPPFLAGS'
17876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17879
17880 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17881 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17882 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17884 else
17885 cat >conftest.$ac_ext <<_ACEOF
17886 /* confdefs.h. */
17887 _ACEOF
17888 cat confdefs.h >>conftest.$ac_ext
17889 cat >>conftest.$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17891
17892 int
17893 main ()
17894 {
17895
17896 #ifndef __SUNPRO_CC
17897 choke me
17898 #endif
17899
17900 ;
17901 return 0;
17902 }
17903 _ACEOF
17904 rm -f conftest.$ac_objext
17905 if { (ac_try="$ac_compile"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17909 esac
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_compile") 2>conftest.er1
17912 ac_status=$?
17913 grep -v '^ *+' conftest.er1 >conftest.err
17914 rm -f conftest.er1
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_cxx_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest.$ac_objext; then
17921 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17925
17926 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17927
17928 fi
17929
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931
17932
17933 fi
17934 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17935 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17936 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17937 :; SUNCXX=yes
17938 else
17939 :;
17940 fi
17941 ac_ext=c
17942 ac_cpp='$CPP $CPPFLAGS'
17943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17946
17947
17948
17949 ;;
17950 esac
17951 fi
17952
17953
17954
17955 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17956 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17957 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17958 { (exit 1); exit 1; }; }
17959 fi
17960
17961 if test "x$SUNCXX" != xyes; then
17962 if test -n "$ac_tool_prefix"; then
17963 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17964 set dummy ${ac_tool_prefix}ar; ac_word=$2
17965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17967 if test "${ac_cv_prog_AR+set}" = set; then
17968 echo $ECHO_N "(cached) $ECHO_C" >&6
17969 else
17970 if test -n "$AR"; then
17971 ac_cv_prog_AR="$AR" # Let the user override the test.
17972 else
17973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17974 for as_dir in $PATH
17975 do
17976 IFS=$as_save_IFS
17977 test -z "$as_dir" && as_dir=.
17978 for ac_exec_ext in '' $ac_executable_extensions; do
17979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17980 ac_cv_prog_AR="${ac_tool_prefix}ar"
17981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17982 break 2
17983 fi
17984 done
17985 done
17986 IFS=$as_save_IFS
17987
17988 fi
17989 fi
17990 AR=$ac_cv_prog_AR
17991 if test -n "$AR"; then
17992 { echo "$as_me:$LINENO: result: $AR" >&5
17993 echo "${ECHO_T}$AR" >&6; }
17994 else
17995 { echo "$as_me:$LINENO: result: no" >&5
17996 echo "${ECHO_T}no" >&6; }
17997 fi
17998
17999
18000 fi
18001 if test -z "$ac_cv_prog_AR"; then
18002 ac_ct_AR=$AR
18003 # Extract the first word of "ar", so it can be a program name with args.
18004 set dummy ar; ac_word=$2
18005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18007 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18008 echo $ECHO_N "(cached) $ECHO_C" >&6
18009 else
18010 if test -n "$ac_ct_AR"; then
18011 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18012 else
18013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18014 for as_dir in $PATH
18015 do
18016 IFS=$as_save_IFS
18017 test -z "$as_dir" && as_dir=.
18018 for ac_exec_ext in '' $ac_executable_extensions; do
18019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18020 ac_cv_prog_ac_ct_AR="ar"
18021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18022 break 2
18023 fi
18024 done
18025 done
18026 IFS=$as_save_IFS
18027
18028 fi
18029 fi
18030 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18031 if test -n "$ac_ct_AR"; then
18032 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18033 echo "${ECHO_T}$ac_ct_AR" >&6; }
18034 else
18035 { echo "$as_me:$LINENO: result: no" >&5
18036 echo "${ECHO_T}no" >&6; }
18037 fi
18038
18039 if test "x$ac_ct_AR" = x; then
18040 AR=""
18041 else
18042 case $cross_compiling:$ac_tool_warned in
18043 yes:)
18044 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18045 whose name does not start with the host triplet. If you think this
18046 configuration is useful to you, please write to autoconf@gnu.org." >&5
18047 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18048 whose name does not start with the host triplet. If you think this
18049 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18050 ac_tool_warned=yes ;;
18051 esac
18052 AR=$ac_ct_AR
18053 fi
18054 else
18055 AR="$ac_cv_prog_AR"
18056 fi
18057
18058 if test "x$AR" = "x" ; then
18059 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18060 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18061 { (exit 1); exit 1; }; }
18062 fi
18063 fi
18064
18065 retest_macosx_linking=no
18066
18067 #if test "$wxUSE_MAC" = 1; then
18068 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18069 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18070 # Implicitly turn on the new --with-macosx-sdk using the default
18071 # SDK which provides the behavior this option has always had.
18072 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18073 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18074 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18075 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18076 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18077 wxUSE_MACOSX_SDK=yes
18078 fi
18079 else
18080 # Complain to user if he specified an argument to --enable-universal_binary
18081 # and also 1) specified --with-macosx-sdk using the default (yes) or
18082 # 2) specified --with-macosx-sdk using a path or 3) specified
18083 # --without-macosx-sdk (no).
18084 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18085 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18086 See \`config.log' for more details." >&5
18087 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18088 See \`config.log' for more details." >&2;}
18089 { (exit 1); exit 1; }; }
18090 else
18091 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18092 # special-case the empty string because the below test simply
18093 # converts "no" to the empty string anyway.
18094 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18095 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18096 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18097 fi
18098 fi
18099 OSX_UNIV_OPTS="-arch ppc -arch i386"
18100 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18101 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18102 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18103 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18104 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18105 retest_macosx_linking=yes
18106
18107 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18108 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18109 bk_use_pch=no
18110 fi
18111 #fi
18112
18113 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18114 wxUSE_MACOSX_SDK=
18115 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18116 # TODO: Search for most recent SDK and use it.
18117 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18118 fi
18119
18120
18121 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18122 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18123 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18124 if ! test -d "$wxUSE_MACOSX_SDK"; then
18125 { { echo "$as_me:$LINENO: error: not found
18126 See \`config.log' for more details." >&5
18127 echo "$as_me: error: not found
18128 See \`config.log' for more details." >&2;}
18129 { (exit 1); exit 1; }; }
18130 else
18131 { echo "$as_me:$LINENO: result: exists" >&5
18132 echo "${ECHO_T}exists" >&6; }
18133 fi
18134 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18135 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18136 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18137 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18138 retest_macosx_linking=yes
18139 fi
18140
18141 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18142 wxUSE_MACOSX_VERSION_MIN=
18143 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18144 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18145 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18146 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18147
18148 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
18149
18150 # If that failed, try again with the new key
18151 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18152
18153 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
18154
18155 fi
18156
18157 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18158 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18159 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18160 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18161 else
18162 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18163 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18164 wxUSE_MACOSX_VERSION_MIN=
18165 fi
18166 else
18167 wxUSE_MACOSX_VERSION_MIN=
18168 fi
18169 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18170 if test "$wxUSE_MAC" = 1; then
18171 # otherwise configure stops on leopard for universal_binary
18172 wxUSE_MACOSX_VERSION_MIN=10.4
18173 fi
18174 fi
18175
18176 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18177 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18178 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18179 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18180 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18181 retest_macosx_linking=yes
18182 fi
18183
18184 if test "x$retest_macosx_linking" = "xyes"; then
18185 ac_ext=c
18186 ac_cpp='$CPP $CPPFLAGS'
18187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18190
18191 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18192 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18193 cat >conftest.$ac_ext <<_ACEOF
18194 /* confdefs.h. */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199
18200 int
18201 main ()
18202 {
18203
18204 ;
18205 return 0;
18206 }
18207 _ACEOF
18208 rm -f conftest.$ac_objext conftest$ac_exeext
18209 if { (ac_try="$ac_link"
18210 case "(($ac_try" in
18211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18212 *) ac_try_echo=$ac_try;;
18213 esac
18214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18215 (eval "$ac_link") 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } && {
18222 test -z "$ac_c_werror_flag" ||
18223 test ! -s conftest.err
18224 } && test -s conftest$ac_exeext &&
18225 $as_test_x conftest$ac_exeext; then
18226 { echo "$as_me:$LINENO: result: yes" >&5
18227 echo "${ECHO_T}yes" >&6; }
18228 else
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.$ac_ext >&5
18231
18232 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18233 See \`config.log' for more details." >&5
18234 echo "$as_me: error: no. Try a different SDK
18235 See \`config.log' for more details." >&2;}
18236 { (exit 1); exit 1; }; }; exit 1
18237 fi
18238
18239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18240 conftest$ac_exeext conftest.$ac_ext
18241 ac_ext=c
18242 ac_cpp='$CPP $CPPFLAGS'
18243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18246
18247
18248 ac_ext=cpp
18249 ac_cpp='$CXXCPP $CPPFLAGS'
18250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18253
18254 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18255 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18256 cat >conftest.$ac_ext <<_ACEOF
18257 /* confdefs.h. */
18258 _ACEOF
18259 cat confdefs.h >>conftest.$ac_ext
18260 cat >>conftest.$ac_ext <<_ACEOF
18261 /* end confdefs.h. */
18262
18263 int
18264 main ()
18265 {
18266
18267 ;
18268 return 0;
18269 }
18270 _ACEOF
18271 rm -f conftest.$ac_objext conftest$ac_exeext
18272 if { (ac_try="$ac_link"
18273 case "(($ac_try" in
18274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18275 *) ac_try_echo=$ac_try;;
18276 esac
18277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18278 (eval "$ac_link") 2>conftest.er1
18279 ac_status=$?
18280 grep -v '^ *+' conftest.er1 >conftest.err
18281 rm -f conftest.er1
18282 cat conftest.err >&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); } && {
18285 test -z "$ac_cxx_werror_flag" ||
18286 test ! -s conftest.err
18287 } && test -s conftest$ac_exeext &&
18288 $as_test_x conftest$ac_exeext; then
18289 { echo "$as_me:$LINENO: result: yes" >&5
18290 echo "${ECHO_T}yes" >&6; }
18291 else
18292 echo "$as_me: failed program was:" >&5
18293 sed 's/^/| /' conftest.$ac_ext >&5
18294
18295 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18296 See \`config.log' for more details." >&5
18297 echo "$as_me: error: no. Try a different SDK
18298 See \`config.log' for more details." >&2;}
18299 { (exit 1); exit 1; }; }; exit 1
18300 fi
18301
18302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18303 conftest$ac_exeext conftest.$ac_ext
18304 ac_ext=c
18305 ac_cpp='$CPP $CPPFLAGS'
18306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18309
18310 fi
18311
18312
18313 case "${host}" in
18314
18315 *-*-darwin* )
18316 INSTALL_PROGRAM="cp -fp"
18317 INSTALL_DATA="cp -fp"
18318 ;;
18319 *)
18320 ;;
18321 esac
18322
18323
18324 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18325 CXXFLAGS="-qunique $CXXFLAGS"
18326 fi
18327
18328 case "${host}" in
18329 powerpc-*-darwin* )
18330 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18331 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18332 cat >conftest.$ac_ext <<_ACEOF
18333 /* confdefs.h. */
18334 _ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338
18339 int
18340 main ()
18341 {
18342 #ifndef __POWERPC__
18343 choke me for lack of PowerPC
18344 #endif
18345
18346 ;
18347 return 0;
18348 }
18349 _ACEOF
18350 rm -f conftest.$ac_objext
18351 if { (ac_try="$ac_compile"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18355 esac
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_compile") 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_c_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest.$ac_objext; then
18367 { echo "$as_me:$LINENO: result: yes" >&5
18368 echo "${ECHO_T}yes" >&6; }
18369 else
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18372
18373 { echo "$as_me:$LINENO: result: no" >&5
18374 echo "${ECHO_T}no" >&6; }
18375 cat >>confdefs.h <<\_ACEOF
18376 #define __POWERPC__ 1
18377 _ACEOF
18378
18379
18380 fi
18381
18382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 ;;
18384 esac
18385
18386 case "${host}" in
18387 *-*-darwin* )
18388 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18389 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18390 cat >conftest.$ac_ext <<_ACEOF
18391 /* confdefs.h. */
18392 _ACEOF
18393 cat confdefs.h >>conftest.$ac_ext
18394 cat >>conftest.$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18396 #include <CoreFoundation/CFBase.h>
18397
18398 int
18399 main ()
18400 {
18401
18402 ;
18403 return 0;
18404 }
18405 _ACEOF
18406 rm -f conftest.$ac_objext
18407 if { (ac_try="$ac_compile"
18408 case "(($ac_try" in
18409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18410 *) ac_try_echo=$ac_try;;
18411 esac
18412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18413 (eval "$ac_compile") 2>conftest.er1
18414 ac_status=$?
18415 grep -v '^ *+' conftest.er1 >conftest.err
18416 rm -f conftest.er1
18417 cat conftest.err >&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } && {
18420 test -z "$ac_c_werror_flag" ||
18421 test ! -s conftest.err
18422 } && test -s conftest.$ac_objext; then
18423 { echo "$as_me:$LINENO: result: yes" >&5
18424 echo "${ECHO_T}yes" >&6; }
18425 else
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18428
18429 { echo "$as_me:$LINENO: result: no" >&5
18430 echo "${ECHO_T}no" >&6; }
18431 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18432 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18433 cat >conftest.$ac_ext <<_ACEOF
18434 /* confdefs.h. */
18435 _ACEOF
18436 cat confdefs.h >>conftest.$ac_ext
18437 cat >>conftest.$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18439 #define __CF_USE_FRAMEWORK_INCLUDES__
18440 #include <CoreFoundation/CFBase.h>
18441
18442 int
18443 main ()
18444 {
18445
18446 ;
18447 return 0;
18448 }
18449 _ACEOF
18450 rm -f conftest.$ac_objext
18451 if { (ac_try="$ac_compile"
18452 case "(($ac_try" in
18453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18454 *) ac_try_echo=$ac_try;;
18455 esac
18456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18457 (eval "$ac_compile") 2>conftest.er1
18458 ac_status=$?
18459 grep -v '^ *+' conftest.er1 >conftest.err
18460 rm -f conftest.er1
18461 cat conftest.err >&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } && {
18464 test -z "$ac_c_werror_flag" ||
18465 test ! -s conftest.err
18466 } && test -s conftest.$ac_objext; then
18467 { echo "$as_me:$LINENO: result: yes" >&5
18468 echo "${ECHO_T}yes" >&6; }
18469 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18470 else
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18473
18474 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18475 See \`config.log' for more details." >&5
18476 echo "$as_me: error: no. CoreFoundation not available.
18477 See \`config.log' for more details." >&2;}
18478 { (exit 1); exit 1; }; }
18479
18480 fi
18481
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483
18484
18485 fi
18486
18487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488 ;;
18489 esac
18490
18491 wants_win32=0
18492 doesnt_want_win32=0
18493 case "${host}" in
18494 *-*-cygwin*)
18495 if test "$wxUSE_MSW" = 1 ; then
18496 wants_win32=1
18497 else
18498 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18499 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18500 if test "${wx_cv_nocygwin+set}" = set; then
18501 echo $ECHO_N "(cached) $ECHO_C" >&6
18502 else
18503
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 #ifdef __MINGW32__
18516 choke me
18517 #endif
18518
18519 ;
18520 return 0;
18521 }
18522 _ACEOF
18523 rm -f conftest.$ac_objext
18524 if { (ac_try="$ac_compile"
18525 case "(($ac_try" in
18526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18527 *) ac_try_echo=$ac_try;;
18528 esac
18529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18530 (eval "$ac_compile") 2>conftest.er1
18531 ac_status=$?
18532 grep -v '^ *+' conftest.er1 >conftest.err
18533 rm -f conftest.er1
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } && {
18537 test -z "$ac_c_werror_flag" ||
18538 test ! -s conftest.err
18539 } && test -s conftest.$ac_objext; then
18540 wx_cv_nocygwin=no
18541 else
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.$ac_ext >&5
18544
18545 wx_cv_nocygwin=yes
18546
18547 fi
18548
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550
18551
18552 fi
18553 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18554 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18555
18556 if test "$wx_cv_nocygwin" = "yes"; then
18557 wants_win32=1
18558 else
18559 doesnt_want_win32=1
18560 fi
18561 fi
18562 if test "$wants_win32" = 1 ; then
18563 BAKEFILE_FORCE_PLATFORM=win32
18564 fi
18565 ;;
18566 *-*-mingw*)
18567 wants_win32=1
18568 ;;
18569 esac
18570
18571 if test "$wxUSE_WINE" = "yes"; then
18572 wants_win32=1
18573 LDFLAGS_GUI="-mwindows"
18574 fi
18575
18576 if test "$wants_win32" = 1 ; then
18577 USE_UNIX=0
18578 USE_WIN32=1
18579 cat >>confdefs.h <<\_ACEOF
18580 #define __WIN32__ 1
18581 _ACEOF
18582
18583 cat >>confdefs.h <<\_ACEOF
18584 #define __WIN95__ 1
18585 _ACEOF
18586
18587 cat >>confdefs.h <<\_ACEOF
18588 #define __WINDOWS__ 1
18589 _ACEOF
18590
18591 cat >>confdefs.h <<\_ACEOF
18592 #define __GNUWIN32__ 1
18593 _ACEOF
18594
18595 cat >>confdefs.h <<\_ACEOF
18596 #define STRICT 1
18597 _ACEOF
18598
18599 fi
18600 if test "$doesnt_want_win32" = 1 ; then
18601 USE_UNIX=1
18602 USE_WIN32=0
18603 fi
18604
18605 if test "$USE_UNIX" = 1 ; then
18606 wxUSE_UNIX=yes
18607 cat >>confdefs.h <<\_ACEOF
18608 #define __UNIX__ 1
18609 _ACEOF
18610
18611 fi
18612
18613 case "${host}" in
18614 *-pc-os2_emx | *-pc-os2-emx )
18615 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18616 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18617 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18618 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18619 echo $ECHO_N "(cached) $ECHO_C" >&6
18620 else
18621 ac_check_lib_save_LIBS=$LIBS
18622 LIBS="-lcExt $LIBS"
18623 cat >conftest.$ac_ext <<_ACEOF
18624 /* confdefs.h. */
18625 _ACEOF
18626 cat confdefs.h >>conftest.$ac_ext
18627 cat >>conftest.$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18629
18630 /* Override any GCC internal prototype to avoid an error.
18631 Use char because int might match the return type of a GCC
18632 builtin and then its argument prototype would still apply. */
18633 #ifdef __cplusplus
18634 extern "C"
18635 #endif
18636 char drand48 ();
18637 int
18638 main ()
18639 {
18640 return drand48 ();
18641 ;
18642 return 0;
18643 }
18644 _ACEOF
18645 rm -f conftest.$ac_objext conftest$ac_exeext
18646 if { (ac_try="$ac_link"
18647 case "(($ac_try" in
18648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18649 *) ac_try_echo=$ac_try;;
18650 esac
18651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 (eval "$ac_link") 2>conftest.er1
18653 ac_status=$?
18654 grep -v '^ *+' conftest.er1 >conftest.err
18655 rm -f conftest.er1
18656 cat conftest.err >&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } && {
18659 test -z "$ac_c_werror_flag" ||
18660 test ! -s conftest.err
18661 } && test -s conftest$ac_exeext &&
18662 $as_test_x conftest$ac_exeext; then
18663 ac_cv_lib_cExt_drand48=yes
18664 else
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.$ac_ext >&5
18667
18668 ac_cv_lib_cExt_drand48=no
18669 fi
18670
18671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18672 conftest$ac_exeext conftest.$ac_ext
18673 LIBS=$ac_check_lib_save_LIBS
18674 fi
18675 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18676 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18677 if test $ac_cv_lib_cExt_drand48 = yes; then
18678 LIBS="$LIBS -lcExt"
18679 fi
18680
18681 else
18682 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18683 fi
18684 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18685 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18686 if test "${wx_cv_gccversion+set}" = set; then
18687 echo $ECHO_N "(cached) $ECHO_C" >&6
18688 else
18689
18690 if test "$cross_compiling" = yes; then
18691 wx_cv_gccversion="EMX2"
18692
18693 else
18694 cat >conftest.$ac_ext <<_ACEOF
18695 /* confdefs.h. */
18696 _ACEOF
18697 cat confdefs.h >>conftest.$ac_ext
18698 cat >>conftest.$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18700
18701 #include <stdio.h>
18702
18703 int main()
18704 {
18705 FILE *f=fopen("conftestval", "w");
18706 if (!f) exit(1);
18707 fprintf(f,
18708 #if (__GNUC__ < 3)
18709 "EMX2"
18710 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18711 "EMX3"
18712 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18713 "Innotek5"
18714 #else
18715 "Innotek6"
18716 #endif
18717 );
18718 exit(0);
18719 }
18720
18721 _ACEOF
18722 rm -f conftest$ac_exeext
18723 if { (ac_try="$ac_link"
18724 case "(($ac_try" in
18725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18726 *) ac_try_echo=$ac_try;;
18727 esac
18728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18729 (eval "$ac_link") 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18733 { (case "(($ac_try" in
18734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18735 *) ac_try_echo=$ac_try;;
18736 esac
18737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18738 (eval "$ac_try") 2>&5
18739 ac_status=$?
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; }; then
18742 wx_cv_gccversion=`cat conftestval`
18743 else
18744 echo "$as_me: program exited with status $ac_status" >&5
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.$ac_ext >&5
18747
18748 ( exit $ac_status )
18749 wx_cv_gccversion="EMX2"
18750 fi
18751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18752 fi
18753
18754
18755
18756 fi
18757 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18758 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18759 if test "$wx_cv_gccversion" = "EMX2"; then
18760 LIBS="$LIBS -lstdcpp"
18761 LDFLAGS="$LDFLAGS -Zsysv-signals"
18762 else
18763 if test "$wx_cv_gccversion" = "EMX3"; then
18764 LIBS="$LIBS -lstdcxx -lgcc"
18765 LDFLAGS="$LDFLAGS -Zsysv-signals"
18766 else
18767 LIBS="$LIBS -lstdc++"
18768 fi
18769 fi
18770 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18771 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18772 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18773 wxUSE_OMF=yes
18774 enable_omf=yes
18775 fi
18776 ;;
18777 *)
18778
18779 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18780 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18781 if test "${ac_cv_string_strcasecmp+set}" = set; then
18782 echo $ECHO_N "(cached) $ECHO_C" >&6
18783 else
18784
18785 cat >conftest.$ac_ext <<_ACEOF
18786 /* confdefs.h. */
18787 _ACEOF
18788 cat confdefs.h >>conftest.$ac_ext
18789 cat >>conftest.$ac_ext <<_ACEOF
18790 /* end confdefs.h. */
18791
18792 #include <string.h>
18793
18794 int
18795 main ()
18796 {
18797
18798 strcasecmp("foo", "bar");
18799
18800 ;
18801 return 0;
18802 }
18803 _ACEOF
18804 rm -f conftest.$ac_objext conftest$ac_exeext
18805 if { (ac_try="$ac_link"
18806 case "(($ac_try" in
18807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18808 *) ac_try_echo=$ac_try;;
18809 esac
18810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18811 (eval "$ac_link") 2>conftest.er1
18812 ac_status=$?
18813 grep -v '^ *+' conftest.er1 >conftest.err
18814 rm -f conftest.er1
18815 cat conftest.err >&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); } && {
18818 test -z "$ac_c_werror_flag" ||
18819 test ! -s conftest.err
18820 } && test -s conftest$ac_exeext &&
18821 $as_test_x conftest$ac_exeext; then
18822 ac_cv_string_strcasecmp=yes
18823 else
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.$ac_ext >&5
18826
18827 ac_cv_string_strcasecmp=no
18828
18829 fi
18830
18831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18832 conftest$ac_exeext conftest.$ac_ext
18833
18834 fi
18835 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18836 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18837
18838 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18839 cat >>confdefs.h <<\_ACEOF
18840 #define HAVE_STRCASECMP_IN_STRING_H 1
18841 _ACEOF
18842
18843 else
18844 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18845 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18846 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 else
18849
18850 cat >conftest.$ac_ext <<_ACEOF
18851 /* confdefs.h. */
18852 _ACEOF
18853 cat confdefs.h >>conftest.$ac_ext
18854 cat >>conftest.$ac_ext <<_ACEOF
18855 /* end confdefs.h. */
18856
18857 #include <strings.h>
18858
18859 int
18860 main ()
18861 {
18862
18863 strcasecmp("foo", "bar");
18864
18865 ;
18866 return 0;
18867 }
18868 _ACEOF
18869 rm -f conftest.$ac_objext conftest$ac_exeext
18870 if { (ac_try="$ac_link"
18871 case "(($ac_try" in
18872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18873 *) ac_try_echo=$ac_try;;
18874 esac
18875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18876 (eval "$ac_link") 2>conftest.er1
18877 ac_status=$?
18878 grep -v '^ *+' conftest.er1 >conftest.err
18879 rm -f conftest.er1
18880 cat conftest.err >&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } && {
18883 test -z "$ac_c_werror_flag" ||
18884 test ! -s conftest.err
18885 } && test -s conftest$ac_exeext &&
18886 $as_test_x conftest$ac_exeext; then
18887 ac_cv_strings_strcasecmp=yes
18888 else
18889 echo "$as_me: failed program was:" >&5
18890 sed 's/^/| /' conftest.$ac_ext >&5
18891
18892 ac_cv_strings_strcasecmp=no
18893
18894 fi
18895
18896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18897 conftest$ac_exeext conftest.$ac_ext
18898
18899 fi
18900 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18901 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18902
18903 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18904 cat >>confdefs.h <<\_ACEOF
18905 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18906 _ACEOF
18907
18908 else
18909 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18910 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18911 { (exit 1); exit 1; }; }
18912 fi
18913 fi
18914
18915 ;;
18916 esac
18917
18918
18919 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18920 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18921 if test "${ac_cv_header_stdc+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 else
18924 cat >conftest.$ac_ext <<_ACEOF
18925 /* confdefs.h. */
18926 _ACEOF
18927 cat confdefs.h >>conftest.$ac_ext
18928 cat >>conftest.$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 #include <stdlib.h>
18931 #include <stdarg.h>
18932 #include <string.h>
18933 #include <float.h>
18934
18935 int
18936 main ()
18937 {
18938
18939 ;
18940 return 0;
18941 }
18942 _ACEOF
18943 rm -f conftest.$ac_objext
18944 if { (ac_try="$ac_compile"
18945 case "(($ac_try" in
18946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18947 *) ac_try_echo=$ac_try;;
18948 esac
18949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18950 (eval "$ac_compile") 2>conftest.er1
18951 ac_status=$?
18952 grep -v '^ *+' conftest.er1 >conftest.err
18953 rm -f conftest.er1
18954 cat conftest.err >&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } && {
18957 test -z "$ac_c_werror_flag" ||
18958 test ! -s conftest.err
18959 } && test -s conftest.$ac_objext; then
18960 ac_cv_header_stdc=yes
18961 else
18962 echo "$as_me: failed program was:" >&5
18963 sed 's/^/| /' conftest.$ac_ext >&5
18964
18965 ac_cv_header_stdc=no
18966 fi
18967
18968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18969
18970 if test $ac_cv_header_stdc = yes; then
18971 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18972 cat >conftest.$ac_ext <<_ACEOF
18973 /* confdefs.h. */
18974 _ACEOF
18975 cat confdefs.h >>conftest.$ac_ext
18976 cat >>conftest.$ac_ext <<_ACEOF
18977 /* end confdefs.h. */
18978 #include <string.h>
18979
18980 _ACEOF
18981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18982 $EGREP "memchr" >/dev/null 2>&1; then
18983 :
18984 else
18985 ac_cv_header_stdc=no
18986 fi
18987 rm -f conftest*
18988
18989 fi
18990
18991 if test $ac_cv_header_stdc = yes; then
18992 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18993 cat >conftest.$ac_ext <<_ACEOF
18994 /* confdefs.h. */
18995 _ACEOF
18996 cat confdefs.h >>conftest.$ac_ext
18997 cat >>conftest.$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
18999 #include <stdlib.h>
19000
19001 _ACEOF
19002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19003 $EGREP "free" >/dev/null 2>&1; then
19004 :
19005 else
19006 ac_cv_header_stdc=no
19007 fi
19008 rm -f conftest*
19009
19010 fi
19011
19012 if test $ac_cv_header_stdc = yes; then
19013 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19014 if test "$cross_compiling" = yes; then
19015 :
19016 else
19017 cat >conftest.$ac_ext <<_ACEOF
19018 /* confdefs.h. */
19019 _ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19023 #include <ctype.h>
19024 #include <stdlib.h>
19025 #if ((' ' & 0x0FF) == 0x020)
19026 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19027 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19028 #else
19029 # define ISLOWER(c) \
19030 (('a' <= (c) && (c) <= 'i') \
19031 || ('j' <= (c) && (c) <= 'r') \
19032 || ('s' <= (c) && (c) <= 'z'))
19033 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19034 #endif
19035
19036 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19037 int
19038 main ()
19039 {
19040 int i;
19041 for (i = 0; i < 256; i++)
19042 if (XOR (islower (i), ISLOWER (i))
19043 || toupper (i) != TOUPPER (i))
19044 return 2;
19045 return 0;
19046 }
19047 _ACEOF
19048 rm -f conftest$ac_exeext
19049 if { (ac_try="$ac_link"
19050 case "(($ac_try" in
19051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19052 *) ac_try_echo=$ac_try;;
19053 esac
19054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19055 (eval "$ac_link") 2>&5
19056 ac_status=$?
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19059 { (case "(($ac_try" in
19060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19061 *) ac_try_echo=$ac_try;;
19062 esac
19063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19064 (eval "$ac_try") 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 :
19069 else
19070 echo "$as_me: program exited with status $ac_status" >&5
19071 echo "$as_me: failed program was:" >&5
19072 sed 's/^/| /' conftest.$ac_ext >&5
19073
19074 ( exit $ac_status )
19075 ac_cv_header_stdc=no
19076 fi
19077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19078 fi
19079
19080
19081 fi
19082 fi
19083 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19084 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19085 if test $ac_cv_header_stdc = yes; then
19086
19087 cat >>confdefs.h <<\_ACEOF
19088 #define STDC_HEADERS 1
19089 _ACEOF
19090
19091 fi
19092
19093 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19104 inttypes.h stdint.h unistd.h
19105 do
19106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19110 echo $ECHO_N "(cached) $ECHO_C" >&6
19111 else
19112 cat >conftest.$ac_ext <<_ACEOF
19113 /* confdefs.h. */
19114 _ACEOF
19115 cat confdefs.h >>conftest.$ac_ext
19116 cat >>conftest.$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19118 $ac_includes_default
19119
19120 #include <$ac_header>
19121 _ACEOF
19122 rm -f conftest.$ac_objext
19123 if { (ac_try="$ac_compile"
19124 case "(($ac_try" in
19125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19126 *) ac_try_echo=$ac_try;;
19127 esac
19128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19129 (eval "$ac_compile") 2>conftest.er1
19130 ac_status=$?
19131 grep -v '^ *+' conftest.er1 >conftest.err
19132 rm -f conftest.er1
19133 cat conftest.err >&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); } && {
19136 test -z "$ac_c_werror_flag" ||
19137 test ! -s conftest.err
19138 } && test -s conftest.$ac_objext; then
19139 eval "$as_ac_Header=yes"
19140 else
19141 echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19143
19144 eval "$as_ac_Header=no"
19145 fi
19146
19147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19148 fi
19149 ac_res=`eval echo '${'$as_ac_Header'}'`
19150 { echo "$as_me:$LINENO: result: $ac_res" >&5
19151 echo "${ECHO_T}$ac_res" >&6; }
19152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19153 cat >>confdefs.h <<_ACEOF
19154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19155 _ACEOF
19156
19157 fi
19158
19159 done
19160
19161
19162
19163
19164 for ac_header in langinfo.h wchar.h
19165 do
19166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19171 else
19172 cat >conftest.$ac_ext <<_ACEOF
19173 /* confdefs.h. */
19174 _ACEOF
19175 cat confdefs.h >>conftest.$ac_ext
19176 cat >>conftest.$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19178 $ac_includes_default
19179
19180 #include <$ac_header>
19181 _ACEOF
19182 rm -f conftest.$ac_objext
19183 if { (ac_try="$ac_compile"
19184 case "(($ac_try" in
19185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19186 *) ac_try_echo=$ac_try;;
19187 esac
19188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19189 (eval "$ac_compile") 2>conftest.er1
19190 ac_status=$?
19191 grep -v '^ *+' conftest.er1 >conftest.err
19192 rm -f conftest.er1
19193 cat conftest.err >&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } && {
19196 test -z "$ac_c_werror_flag" ||
19197 test ! -s conftest.err
19198 } && test -s conftest.$ac_objext; then
19199 eval "$as_ac_Header=yes"
19200 else
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.$ac_ext >&5
19203
19204 eval "$as_ac_Header=no"
19205 fi
19206
19207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19208 fi
19209 ac_res=`eval echo '${'$as_ac_Header'}'`
19210 { echo "$as_me:$LINENO: result: $ac_res" >&5
19211 echo "${ECHO_T}$ac_res" >&6; }
19212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19213 cat >>confdefs.h <<_ACEOF
19214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19215 _ACEOF
19216
19217 fi
19218
19219 done
19220
19221
19222 if test "$ac_cv_header_wchar_h" != "yes"; then
19223
19224 for ac_header in wcstr.h
19225 do
19226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19227 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19230 echo $ECHO_N "(cached) $ECHO_C" >&6
19231 else
19232 cat >conftest.$ac_ext <<_ACEOF
19233 /* confdefs.h. */
19234 _ACEOF
19235 cat confdefs.h >>conftest.$ac_ext
19236 cat >>conftest.$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 $ac_includes_default
19239
19240 #include <$ac_header>
19241 _ACEOF
19242 rm -f conftest.$ac_objext
19243 if { (ac_try="$ac_compile"
19244 case "(($ac_try" in
19245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19246 *) ac_try_echo=$ac_try;;
19247 esac
19248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19249 (eval "$ac_compile") 2>conftest.er1
19250 ac_status=$?
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } && {
19256 test -z "$ac_c_werror_flag" ||
19257 test ! -s conftest.err
19258 } && test -s conftest.$ac_objext; then
19259 eval "$as_ac_Header=yes"
19260 else
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.$ac_ext >&5
19263
19264 eval "$as_ac_Header=no"
19265 fi
19266
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 fi
19269 ac_res=`eval echo '${'$as_ac_Header'}'`
19270 { echo "$as_me:$LINENO: result: $ac_res" >&5
19271 echo "${ECHO_T}$ac_res" >&6; }
19272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19273 cat >>confdefs.h <<_ACEOF
19274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19275 _ACEOF
19276
19277 fi
19278
19279 done
19280
19281 fi
19282
19283 case "${host}" in
19284 *-pc-os2_emx | *-pc-os2-emx )
19285 if test $ac_cv_header_langinfo_h = "yes" \
19286 -a \( "$wx_cv_gccversion" = "EMX2" \
19287 -o "$wx_cv_gccversion" = "EMX3" \
19288 -o "$wx_cv_gccversion" = "Innotek5" \); then
19289 LIBS="$LIBS -lintl"
19290 fi
19291 ;;
19292 esac
19293
19294 if test "$USE_UNIX" = 1 ; then
19295
19296 for ac_header in sys/select.h
19297 do
19298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19299 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19302 echo $ECHO_N "(cached) $ECHO_C" >&6
19303 else
19304 cat >conftest.$ac_ext <<_ACEOF
19305 /* confdefs.h. */
19306 _ACEOF
19307 cat confdefs.h >>conftest.$ac_ext
19308 cat >>conftest.$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19310 $ac_includes_default
19311
19312 #include <$ac_header>
19313 _ACEOF
19314 rm -f conftest.$ac_objext
19315 if { (ac_try="$ac_compile"
19316 case "(($ac_try" in
19317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19318 *) ac_try_echo=$ac_try;;
19319 esac
19320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19321 (eval "$ac_compile") 2>conftest.er1
19322 ac_status=$?
19323 grep -v '^ *+' conftest.er1 >conftest.err
19324 rm -f conftest.er1
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } && {
19328 test -z "$ac_c_werror_flag" ||
19329 test ! -s conftest.err
19330 } && test -s conftest.$ac_objext; then
19331 eval "$as_ac_Header=yes"
19332 else
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19335
19336 eval "$as_ac_Header=no"
19337 fi
19338
19339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19340 fi
19341 ac_res=`eval echo '${'$as_ac_Header'}'`
19342 { echo "$as_me:$LINENO: result: $ac_res" >&5
19343 echo "${ECHO_T}$ac_res" >&6; }
19344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19345 cat >>confdefs.h <<_ACEOF
19346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19347 _ACEOF
19348
19349 fi
19350
19351 done
19352
19353 fi
19354
19355
19356 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19357 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19358 if test "${ac_cv_c_const+set}" = set; then
19359 echo $ECHO_N "(cached) $ECHO_C" >&6
19360 else
19361 cat >conftest.$ac_ext <<_ACEOF
19362 /* confdefs.h. */
19363 _ACEOF
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19367
19368 int
19369 main ()
19370 {
19371 /* FIXME: Include the comments suggested by Paul. */
19372 #ifndef __cplusplus
19373 /* Ultrix mips cc rejects this. */
19374 typedef int charset[2];
19375 const charset cs;
19376 /* SunOS 4.1.1 cc rejects this. */
19377 char const *const *pcpcc;
19378 char **ppc;
19379 /* NEC SVR4.0.2 mips cc rejects this. */
19380 struct point {int x, y;};
19381 static struct point const zero = {0,0};
19382 /* AIX XL C 1.02.0.0 rejects this.
19383 It does not let you subtract one const X* pointer from another in
19384 an arm of an if-expression whose if-part is not a constant
19385 expression */
19386 const char *g = "string";
19387 pcpcc = &g + (g ? g-g : 0);
19388 /* HPUX 7.0 cc rejects these. */
19389 ++pcpcc;
19390 ppc = (char**) pcpcc;
19391 pcpcc = (char const *const *) ppc;
19392 { /* SCO 3.2v4 cc rejects this. */
19393 char *t;
19394 char const *s = 0 ? (char *) 0 : (char const *) 0;
19395
19396 *t++ = 0;
19397 if (s) return 0;
19398 }
19399 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19400 int x[] = {25, 17};
19401 const int *foo = &x[0];
19402 ++foo;
19403 }
19404 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19405 typedef const int *iptr;
19406 iptr p = 0;
19407 ++p;
19408 }
19409 { /* AIX XL C 1.02.0.0 rejects this saying
19410 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19411 struct s { int j; const int *ap[3]; };
19412 struct s *b; b->j = 5;
19413 }
19414 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19415 const int foo = 10;
19416 if (!foo) return 0;
19417 }
19418 return !cs[0] && !zero.x;
19419 #endif
19420
19421 ;
19422 return 0;
19423 }
19424 _ACEOF
19425 rm -f conftest.$ac_objext
19426 if { (ac_try="$ac_compile"
19427 case "(($ac_try" in
19428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19429 *) ac_try_echo=$ac_try;;
19430 esac
19431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19432 (eval "$ac_compile") 2>conftest.er1
19433 ac_status=$?
19434 grep -v '^ *+' conftest.er1 >conftest.err
19435 rm -f conftest.er1
19436 cat conftest.err >&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } && {
19439 test -z "$ac_c_werror_flag" ||
19440 test ! -s conftest.err
19441 } && test -s conftest.$ac_objext; then
19442 ac_cv_c_const=yes
19443 else
19444 echo "$as_me: failed program was:" >&5
19445 sed 's/^/| /' conftest.$ac_ext >&5
19446
19447 ac_cv_c_const=no
19448 fi
19449
19450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19451 fi
19452 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19453 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19454 if test $ac_cv_c_const = no; then
19455
19456 cat >>confdefs.h <<\_ACEOF
19457 #define const
19458 _ACEOF
19459
19460 fi
19461
19462 { echo "$as_me:$LINENO: checking for inline" >&5
19463 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19464 if test "${ac_cv_c_inline+set}" = set; then
19465 echo $ECHO_N "(cached) $ECHO_C" >&6
19466 else
19467 ac_cv_c_inline=no
19468 for ac_kw in inline __inline__ __inline; do
19469 cat >conftest.$ac_ext <<_ACEOF
19470 /* confdefs.h. */
19471 _ACEOF
19472 cat confdefs.h >>conftest.$ac_ext
19473 cat >>conftest.$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19475 #ifndef __cplusplus
19476 typedef int foo_t;
19477 static $ac_kw foo_t static_foo () {return 0; }
19478 $ac_kw foo_t foo () {return 0; }
19479 #endif
19480
19481 _ACEOF
19482 rm -f conftest.$ac_objext
19483 if { (ac_try="$ac_compile"
19484 case "(($ac_try" in
19485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19486 *) ac_try_echo=$ac_try;;
19487 esac
19488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19489 (eval "$ac_compile") 2>conftest.er1
19490 ac_status=$?
19491 grep -v '^ *+' conftest.er1 >conftest.err
19492 rm -f conftest.er1
19493 cat conftest.err >&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); } && {
19496 test -z "$ac_c_werror_flag" ||
19497 test ! -s conftest.err
19498 } && test -s conftest.$ac_objext; then
19499 ac_cv_c_inline=$ac_kw
19500 else
19501 echo "$as_me: failed program was:" >&5
19502 sed 's/^/| /' conftest.$ac_ext >&5
19503
19504
19505 fi
19506
19507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19508 test "$ac_cv_c_inline" != no && break
19509 done
19510
19511 fi
19512 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19513 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19514
19515
19516 case $ac_cv_c_inline in
19517 inline | yes) ;;
19518 *)
19519 case $ac_cv_c_inline in
19520 no) ac_val=;;
19521 *) ac_val=$ac_cv_c_inline;;
19522 esac
19523 cat >>confdefs.h <<_ACEOF
19524 #ifndef __cplusplus
19525 #define inline $ac_val
19526 #endif
19527 _ACEOF
19528 ;;
19529 esac
19530
19531
19532 { echo "$as_me:$LINENO: checking for short" >&5
19533 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19534 if test "${ac_cv_type_short+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19536 else
19537 cat >conftest.$ac_ext <<_ACEOF
19538 /* confdefs.h. */
19539 _ACEOF
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19544 typedef short ac__type_new_;
19545 int
19546 main ()
19547 {
19548 if ((ac__type_new_ *) 0)
19549 return 0;
19550 if (sizeof (ac__type_new_))
19551 return 0;
19552 ;
19553 return 0;
19554 }
19555 _ACEOF
19556 rm -f conftest.$ac_objext
19557 if { (ac_try="$ac_compile"
19558 case "(($ac_try" in
19559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19560 *) ac_try_echo=$ac_try;;
19561 esac
19562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19563 (eval "$ac_compile") 2>conftest.er1
19564 ac_status=$?
19565 grep -v '^ *+' conftest.er1 >conftest.err
19566 rm -f conftest.er1
19567 cat conftest.err >&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } && {
19570 test -z "$ac_c_werror_flag" ||
19571 test ! -s conftest.err
19572 } && test -s conftest.$ac_objext; then
19573 ac_cv_type_short=yes
19574 else
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19577
19578 ac_cv_type_short=no
19579 fi
19580
19581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19582 fi
19583 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19584 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19585
19586 # The cast to long int works around a bug in the HP C Compiler
19587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19589 # This bug is HP SR number 8606223364.
19590 { echo "$as_me:$LINENO: checking size of short" >&5
19591 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19592 if test "${ac_cv_sizeof_short+set}" = set; then
19593 echo $ECHO_N "(cached) $ECHO_C" >&6
19594 else
19595 if test "$cross_compiling" = yes; then
19596 # Depending upon the size, compute the lo and hi bounds.
19597 cat >conftest.$ac_ext <<_ACEOF
19598 /* confdefs.h. */
19599 _ACEOF
19600 cat confdefs.h >>conftest.$ac_ext
19601 cat >>conftest.$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 $ac_includes_default
19604 typedef short ac__type_sizeof_;
19605 int
19606 main ()
19607 {
19608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19609 test_array [0] = 0
19610
19611 ;
19612 return 0;
19613 }
19614 _ACEOF
19615 rm -f conftest.$ac_objext
19616 if { (ac_try="$ac_compile"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19620 esac
19621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_compile") 2>conftest.er1
19623 ac_status=$?
19624 grep -v '^ *+' conftest.er1 >conftest.err
19625 rm -f conftest.er1
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } && {
19629 test -z "$ac_c_werror_flag" ||
19630 test ! -s conftest.err
19631 } && test -s conftest.$ac_objext; then
19632 ac_lo=0 ac_mid=0
19633 while :; do
19634 cat >conftest.$ac_ext <<_ACEOF
19635 /* confdefs.h. */
19636 _ACEOF
19637 cat confdefs.h >>conftest.$ac_ext
19638 cat >>conftest.$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640 $ac_includes_default
19641 typedef short ac__type_sizeof_;
19642 int
19643 main ()
19644 {
19645 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19646 test_array [0] = 0
19647
19648 ;
19649 return 0;
19650 }
19651 _ACEOF
19652 rm -f conftest.$ac_objext
19653 if { (ac_try="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19657 esac
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19660 ac_status=$?
19661 grep -v '^ *+' conftest.er1 >conftest.err
19662 rm -f conftest.er1
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19669 ac_hi=$ac_mid; break
19670 else
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19673
19674 ac_lo=`expr $ac_mid + 1`
19675 if test $ac_lo -le $ac_mid; then
19676 ac_lo= ac_hi=
19677 break
19678 fi
19679 ac_mid=`expr 2 '*' $ac_mid + 1`
19680 fi
19681
19682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19683 done
19684 else
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.$ac_ext >&5
19687
19688 cat >conftest.$ac_ext <<_ACEOF
19689 /* confdefs.h. */
19690 _ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 $ac_includes_default
19695 typedef short ac__type_sizeof_;
19696 int
19697 main ()
19698 {
19699 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19700 test_array [0] = 0
19701
19702 ;
19703 return 0;
19704 }
19705 _ACEOF
19706 rm -f conftest.$ac_objext
19707 if { (ac_try="$ac_compile"
19708 case "(($ac_try" in
19709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19710 *) ac_try_echo=$ac_try;;
19711 esac
19712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19713 (eval "$ac_compile") 2>conftest.er1
19714 ac_status=$?
19715 grep -v '^ *+' conftest.er1 >conftest.err
19716 rm -f conftest.er1
19717 cat conftest.err >&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } && {
19720 test -z "$ac_c_werror_flag" ||
19721 test ! -s conftest.err
19722 } && test -s conftest.$ac_objext; then
19723 ac_hi=-1 ac_mid=-1
19724 while :; do
19725 cat >conftest.$ac_ext <<_ACEOF
19726 /* confdefs.h. */
19727 _ACEOF
19728 cat confdefs.h >>conftest.$ac_ext
19729 cat >>conftest.$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 $ac_includes_default
19732 typedef short ac__type_sizeof_;
19733 int
19734 main ()
19735 {
19736 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19737 test_array [0] = 0
19738
19739 ;
19740 return 0;
19741 }
19742 _ACEOF
19743 rm -f conftest.$ac_objext
19744 if { (ac_try="$ac_compile"
19745 case "(($ac_try" in
19746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19747 *) ac_try_echo=$ac_try;;
19748 esac
19749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19750 (eval "$ac_compile") 2>conftest.er1
19751 ac_status=$?
19752 grep -v '^ *+' conftest.er1 >conftest.err
19753 rm -f conftest.er1
19754 cat conftest.err >&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } && {
19757 test -z "$ac_c_werror_flag" ||
19758 test ! -s conftest.err
19759 } && test -s conftest.$ac_objext; then
19760 ac_lo=$ac_mid; break
19761 else
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5
19764
19765 ac_hi=`expr '(' $ac_mid ')' - 1`
19766 if test $ac_mid -le $ac_hi; then
19767 ac_lo= ac_hi=
19768 break
19769 fi
19770 ac_mid=`expr 2 '*' $ac_mid`
19771 fi
19772
19773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19774 done
19775 else
19776 echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19778
19779 ac_lo= ac_hi=
19780 fi
19781
19782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19783 fi
19784
19785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19786 # Binary search between lo and hi bounds.
19787 while test "x$ac_lo" != "x$ac_hi"; do
19788 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19789 cat >conftest.$ac_ext <<_ACEOF
19790 /* confdefs.h. */
19791 _ACEOF
19792 cat confdefs.h >>conftest.$ac_ext
19793 cat >>conftest.$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 $ac_includes_default
19796 typedef short ac__type_sizeof_;
19797 int
19798 main ()
19799 {
19800 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19801 test_array [0] = 0
19802
19803 ;
19804 return 0;
19805 }
19806 _ACEOF
19807 rm -f conftest.$ac_objext
19808 if { (ac_try="$ac_compile"
19809 case "(($ac_try" in
19810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19811 *) ac_try_echo=$ac_try;;
19812 esac
19813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19814 (eval "$ac_compile") 2>conftest.er1
19815 ac_status=$?
19816 grep -v '^ *+' conftest.er1 >conftest.err
19817 rm -f conftest.er1
19818 cat conftest.err >&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); } && {
19821 test -z "$ac_c_werror_flag" ||
19822 test ! -s conftest.err
19823 } && test -s conftest.$ac_objext; then
19824 ac_hi=$ac_mid
19825 else
19826 echo "$as_me: failed program was:" >&5
19827 sed 's/^/| /' conftest.$ac_ext >&5
19828
19829 ac_lo=`expr '(' $ac_mid ')' + 1`
19830 fi
19831
19832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19833 done
19834 case $ac_lo in
19835 ?*) ac_cv_sizeof_short=$ac_lo;;
19836 '') if test "$ac_cv_type_short" = yes; then
19837 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19838 See \`config.log' for more details." >&5
19839 echo "$as_me: error: cannot compute sizeof (short)
19840 See \`config.log' for more details." >&2;}
19841 { (exit 77); exit 77; }; }
19842 else
19843 ac_cv_sizeof_short=0
19844 fi ;;
19845 esac
19846 else
19847 cat >conftest.$ac_ext <<_ACEOF
19848 /* confdefs.h. */
19849 _ACEOF
19850 cat confdefs.h >>conftest.$ac_ext
19851 cat >>conftest.$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 $ac_includes_default
19854 typedef short ac__type_sizeof_;
19855 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19856 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19857 #include <stdio.h>
19858 #include <stdlib.h>
19859 int
19860 main ()
19861 {
19862
19863 FILE *f = fopen ("conftest.val", "w");
19864 if (! f)
19865 return 1;
19866 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19867 {
19868 long int i = longval ();
19869 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19870 return 1;
19871 fprintf (f, "%ld\n", i);
19872 }
19873 else
19874 {
19875 unsigned long int i = ulongval ();
19876 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19877 return 1;
19878 fprintf (f, "%lu\n", i);
19879 }
19880 return ferror (f) || fclose (f) != 0;
19881
19882 ;
19883 return 0;
19884 }
19885 _ACEOF
19886 rm -f conftest$ac_exeext
19887 if { (ac_try="$ac_link"
19888 case "(($ac_try" in
19889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19890 *) ac_try_echo=$ac_try;;
19891 esac
19892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19893 (eval "$ac_link") 2>&5
19894 ac_status=$?
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19897 { (case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899 *) ac_try_echo=$ac_try;;
19900 esac
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_try") 2>&5
19903 ac_status=$?
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; }; then
19906 ac_cv_sizeof_short=`cat conftest.val`
19907 else
19908 echo "$as_me: program exited with status $ac_status" >&5
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19911
19912 ( exit $ac_status )
19913 if test "$ac_cv_type_short" = yes; then
19914 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19915 See \`config.log' for more details." >&5
19916 echo "$as_me: error: cannot compute sizeof (short)
19917 See \`config.log' for more details." >&2;}
19918 { (exit 77); exit 77; }; }
19919 else
19920 ac_cv_sizeof_short=0
19921 fi
19922 fi
19923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19924 fi
19925 rm -f conftest.val
19926 fi
19927 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19928 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19929
19930
19931
19932 cat >>confdefs.h <<_ACEOF
19933 #define SIZEOF_SHORT $ac_cv_sizeof_short
19934 _ACEOF
19935
19936
19937 { echo "$as_me:$LINENO: checking for void *" >&5
19938 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19939 if test "${ac_cv_type_void_p+set}" = set; then
19940 echo $ECHO_N "(cached) $ECHO_C" >&6
19941 else
19942 cat >conftest.$ac_ext <<_ACEOF
19943 /* confdefs.h. */
19944 _ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 $ac_includes_default
19949 typedef void * ac__type_new_;
19950 int
19951 main ()
19952 {
19953 if ((ac__type_new_ *) 0)
19954 return 0;
19955 if (sizeof (ac__type_new_))
19956 return 0;
19957 ;
19958 return 0;
19959 }
19960 _ACEOF
19961 rm -f conftest.$ac_objext
19962 if { (ac_try="$ac_compile"
19963 case "(($ac_try" in
19964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19965 *) ac_try_echo=$ac_try;;
19966 esac
19967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19968 (eval "$ac_compile") 2>conftest.er1
19969 ac_status=$?
19970 grep -v '^ *+' conftest.er1 >conftest.err
19971 rm -f conftest.er1
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } && {
19975 test -z "$ac_c_werror_flag" ||
19976 test ! -s conftest.err
19977 } && test -s conftest.$ac_objext; then
19978 ac_cv_type_void_p=yes
19979 else
19980 echo "$as_me: failed program was:" >&5
19981 sed 's/^/| /' conftest.$ac_ext >&5
19982
19983 ac_cv_type_void_p=no
19984 fi
19985
19986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19987 fi
19988 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19989 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19990
19991 # The cast to long int works around a bug in the HP C Compiler
19992 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19994 # This bug is HP SR number 8606223364.
19995 { echo "$as_me:$LINENO: checking size of void *" >&5
19996 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19997 if test "${ac_cv_sizeof_void_p+set}" = set; then
19998 echo $ECHO_N "(cached) $ECHO_C" >&6
19999 else
20000 if test "$cross_compiling" = yes; then
20001 # Depending upon the size, compute the lo and hi bounds.
20002 cat >conftest.$ac_ext <<_ACEOF
20003 /* confdefs.h. */
20004 _ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20008 $ac_includes_default
20009 typedef void * ac__type_sizeof_;
20010 int
20011 main ()
20012 {
20013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20014 test_array [0] = 0
20015
20016 ;
20017 return 0;
20018 }
20019 _ACEOF
20020 rm -f conftest.$ac_objext
20021 if { (ac_try="$ac_compile"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20025 esac
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_compile") 2>conftest.er1
20028 ac_status=$?
20029 grep -v '^ *+' conftest.er1 >conftest.err
20030 rm -f conftest.er1
20031 cat conftest.err >&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); } && {
20034 test -z "$ac_c_werror_flag" ||
20035 test ! -s conftest.err
20036 } && test -s conftest.$ac_objext; then
20037 ac_lo=0 ac_mid=0
20038 while :; do
20039 cat >conftest.$ac_ext <<_ACEOF
20040 /* confdefs.h. */
20041 _ACEOF
20042 cat confdefs.h >>conftest.$ac_ext
20043 cat >>conftest.$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 $ac_includes_default
20046 typedef void * ac__type_sizeof_;
20047 int
20048 main ()
20049 {
20050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20051 test_array [0] = 0
20052
20053 ;
20054 return 0;
20055 }
20056 _ACEOF
20057 rm -f conftest.$ac_objext
20058 if { (ac_try="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20062 esac
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20065 ac_status=$?
20066 grep -v '^ *+' conftest.er1 >conftest.err
20067 rm -f conftest.er1
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_c_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.$ac_objext; then
20074 ac_hi=$ac_mid; break
20075 else
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20078
20079 ac_lo=`expr $ac_mid + 1`
20080 if test $ac_lo -le $ac_mid; then
20081 ac_lo= ac_hi=
20082 break
20083 fi
20084 ac_mid=`expr 2 '*' $ac_mid + 1`
20085 fi
20086
20087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20088 done
20089 else
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20092
20093 cat >conftest.$ac_ext <<_ACEOF
20094 /* confdefs.h. */
20095 _ACEOF
20096 cat confdefs.h >>conftest.$ac_ext
20097 cat >>conftest.$ac_ext <<_ACEOF
20098 /* end confdefs.h. */
20099 $ac_includes_default
20100 typedef void * ac__type_sizeof_;
20101 int
20102 main ()
20103 {
20104 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20105 test_array [0] = 0
20106
20107 ;
20108 return 0;
20109 }
20110 _ACEOF
20111 rm -f conftest.$ac_objext
20112 if { (ac_try="$ac_compile"
20113 case "(($ac_try" in
20114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20115 *) ac_try_echo=$ac_try;;
20116 esac
20117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20118 (eval "$ac_compile") 2>conftest.er1
20119 ac_status=$?
20120 grep -v '^ *+' conftest.er1 >conftest.err
20121 rm -f conftest.er1
20122 cat conftest.err >&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } && {
20125 test -z "$ac_c_werror_flag" ||
20126 test ! -s conftest.err
20127 } && test -s conftest.$ac_objext; then
20128 ac_hi=-1 ac_mid=-1
20129 while :; do
20130 cat >conftest.$ac_ext <<_ACEOF
20131 /* confdefs.h. */
20132 _ACEOF
20133 cat confdefs.h >>conftest.$ac_ext
20134 cat >>conftest.$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20136 $ac_includes_default
20137 typedef void * ac__type_sizeof_;
20138 int
20139 main ()
20140 {
20141 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20142 test_array [0] = 0
20143
20144 ;
20145 return 0;
20146 }
20147 _ACEOF
20148 rm -f conftest.$ac_objext
20149 if { (ac_try="$ac_compile"
20150 case "(($ac_try" in
20151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20152 *) ac_try_echo=$ac_try;;
20153 esac
20154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20155 (eval "$ac_compile") 2>conftest.er1
20156 ac_status=$?
20157 grep -v '^ *+' conftest.er1 >conftest.err
20158 rm -f conftest.er1
20159 cat conftest.err >&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); } && {
20162 test -z "$ac_c_werror_flag" ||
20163 test ! -s conftest.err
20164 } && test -s conftest.$ac_objext; then
20165 ac_lo=$ac_mid; break
20166 else
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 ac_hi=`expr '(' $ac_mid ')' - 1`
20171 if test $ac_mid -le $ac_hi; then
20172 ac_lo= ac_hi=
20173 break
20174 fi
20175 ac_mid=`expr 2 '*' $ac_mid`
20176 fi
20177
20178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20179 done
20180 else
20181 echo "$as_me: failed program was:" >&5
20182 sed 's/^/| /' conftest.$ac_ext >&5
20183
20184 ac_lo= ac_hi=
20185 fi
20186
20187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20188 fi
20189
20190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20191 # Binary search between lo and hi bounds.
20192 while test "x$ac_lo" != "x$ac_hi"; do
20193 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20194 cat >conftest.$ac_ext <<_ACEOF
20195 /* confdefs.h. */
20196 _ACEOF
20197 cat confdefs.h >>conftest.$ac_ext
20198 cat >>conftest.$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20200 $ac_includes_default
20201 typedef void * ac__type_sizeof_;
20202 int
20203 main ()
20204 {
20205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20206 test_array [0] = 0
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 ac_hi=$ac_mid
20230 else
20231 echo "$as_me: failed program was:" >&5
20232 sed 's/^/| /' conftest.$ac_ext >&5
20233
20234 ac_lo=`expr '(' $ac_mid ')' + 1`
20235 fi
20236
20237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20238 done
20239 case $ac_lo in
20240 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20241 '') if test "$ac_cv_type_void_p" = yes; then
20242 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20243 See \`config.log' for more details." >&5
20244 echo "$as_me: error: cannot compute sizeof (void *)
20245 See \`config.log' for more details." >&2;}
20246 { (exit 77); exit 77; }; }
20247 else
20248 ac_cv_sizeof_void_p=0
20249 fi ;;
20250 esac
20251 else
20252 cat >conftest.$ac_ext <<_ACEOF
20253 /* confdefs.h. */
20254 _ACEOF
20255 cat confdefs.h >>conftest.$ac_ext
20256 cat >>conftest.$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20258 $ac_includes_default
20259 typedef void * ac__type_sizeof_;
20260 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20261 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20262 #include <stdio.h>
20263 #include <stdlib.h>
20264 int
20265 main ()
20266 {
20267
20268 FILE *f = fopen ("conftest.val", "w");
20269 if (! f)
20270 return 1;
20271 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20272 {
20273 long int i = longval ();
20274 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20275 return 1;
20276 fprintf (f, "%ld\n", i);
20277 }
20278 else
20279 {
20280 unsigned long int i = ulongval ();
20281 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20282 return 1;
20283 fprintf (f, "%lu\n", i);
20284 }
20285 return ferror (f) || fclose (f) != 0;
20286
20287 ;
20288 return 0;
20289 }
20290 _ACEOF
20291 rm -f conftest$ac_exeext
20292 if { (ac_try="$ac_link"
20293 case "(($ac_try" in
20294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20295 *) ac_try_echo=$ac_try;;
20296 esac
20297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20298 (eval "$ac_link") 2>&5
20299 ac_status=$?
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20302 { (case "(($ac_try" in
20303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20304 *) ac_try_echo=$ac_try;;
20305 esac
20306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20307 (eval "$ac_try") 2>&5
20308 ac_status=$?
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20311 ac_cv_sizeof_void_p=`cat conftest.val`
20312 else
20313 echo "$as_me: program exited with status $ac_status" >&5
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20316
20317 ( exit $ac_status )
20318 if test "$ac_cv_type_void_p" = yes; then
20319 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20320 See \`config.log' for more details." >&5
20321 echo "$as_me: error: cannot compute sizeof (void *)
20322 See \`config.log' for more details." >&2;}
20323 { (exit 77); exit 77; }; }
20324 else
20325 ac_cv_sizeof_void_p=0
20326 fi
20327 fi
20328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20329 fi
20330 rm -f conftest.val
20331 fi
20332 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20333 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20334
20335
20336
20337 cat >>confdefs.h <<_ACEOF
20338 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20339 _ACEOF
20340
20341
20342 { echo "$as_me:$LINENO: checking for int" >&5
20343 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20344 if test "${ac_cv_type_int+set}" = set; then
20345 echo $ECHO_N "(cached) $ECHO_C" >&6
20346 else
20347 cat >conftest.$ac_ext <<_ACEOF
20348 /* confdefs.h. */
20349 _ACEOF
20350 cat confdefs.h >>conftest.$ac_ext
20351 cat >>conftest.$ac_ext <<_ACEOF
20352 /* end confdefs.h. */
20353 $ac_includes_default
20354 typedef int ac__type_new_;
20355 int
20356 main ()
20357 {
20358 if ((ac__type_new_ *) 0)
20359 return 0;
20360 if (sizeof (ac__type_new_))
20361 return 0;
20362 ;
20363 return 0;
20364 }
20365 _ACEOF
20366 rm -f conftest.$ac_objext
20367 if { (ac_try="$ac_compile"
20368 case "(($ac_try" in
20369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20370 *) ac_try_echo=$ac_try;;
20371 esac
20372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20373 (eval "$ac_compile") 2>conftest.er1
20374 ac_status=$?
20375 grep -v '^ *+' conftest.er1 >conftest.err
20376 rm -f conftest.er1
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } && {
20380 test -z "$ac_c_werror_flag" ||
20381 test ! -s conftest.err
20382 } && test -s conftest.$ac_objext; then
20383 ac_cv_type_int=yes
20384 else
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.$ac_ext >&5
20387
20388 ac_cv_type_int=no
20389 fi
20390
20391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20392 fi
20393 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20394 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20395
20396 # The cast to long int works around a bug in the HP C Compiler
20397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20399 # This bug is HP SR number 8606223364.
20400 { echo "$as_me:$LINENO: checking size of int" >&5
20401 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20402 if test "${ac_cv_sizeof_int+set}" = set; then
20403 echo $ECHO_N "(cached) $ECHO_C" >&6
20404 else
20405 if test "$cross_compiling" = yes; then
20406 # Depending upon the size, compute the lo and hi bounds.
20407 cat >conftest.$ac_ext <<_ACEOF
20408 /* confdefs.h. */
20409 _ACEOF
20410 cat confdefs.h >>conftest.$ac_ext
20411 cat >>conftest.$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20413 $ac_includes_default
20414 typedef int ac__type_sizeof_;
20415 int
20416 main ()
20417 {
20418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20419 test_array [0] = 0
20420
20421 ;
20422 return 0;
20423 }
20424 _ACEOF
20425 rm -f conftest.$ac_objext
20426 if { (ac_try="$ac_compile"
20427 case "(($ac_try" in
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20430 esac
20431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20432 (eval "$ac_compile") 2>conftest.er1
20433 ac_status=$?
20434 grep -v '^ *+' conftest.er1 >conftest.err
20435 rm -f conftest.er1
20436 cat conftest.err >&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); } && {
20439 test -z "$ac_c_werror_flag" ||
20440 test ! -s conftest.err
20441 } && test -s conftest.$ac_objext; then
20442 ac_lo=0 ac_mid=0
20443 while :; do
20444 cat >conftest.$ac_ext <<_ACEOF
20445 /* confdefs.h. */
20446 _ACEOF
20447 cat confdefs.h >>conftest.$ac_ext
20448 cat >>conftest.$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 $ac_includes_default
20451 typedef int ac__type_sizeof_;
20452 int
20453 main ()
20454 {
20455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20456 test_array [0] = 0
20457
20458 ;
20459 return 0;
20460 }
20461 _ACEOF
20462 rm -f conftest.$ac_objext
20463 if { (ac_try="$ac_compile"
20464 case "(($ac_try" in
20465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20466 *) ac_try_echo=$ac_try;;
20467 esac
20468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20469 (eval "$ac_compile") 2>conftest.er1
20470 ac_status=$?
20471 grep -v '^ *+' conftest.er1 >conftest.err
20472 rm -f conftest.er1
20473 cat conftest.err >&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } && {
20476 test -z "$ac_c_werror_flag" ||
20477 test ! -s conftest.err
20478 } && test -s conftest.$ac_objext; then
20479 ac_hi=$ac_mid; break
20480 else
20481 echo "$as_me: failed program was:" >&5
20482 sed 's/^/| /' conftest.$ac_ext >&5
20483
20484 ac_lo=`expr $ac_mid + 1`
20485 if test $ac_lo -le $ac_mid; then
20486 ac_lo= ac_hi=
20487 break
20488 fi
20489 ac_mid=`expr 2 '*' $ac_mid + 1`
20490 fi
20491
20492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20493 done
20494 else
20495 echo "$as_me: failed program was:" >&5
20496 sed 's/^/| /' conftest.$ac_ext >&5
20497
20498 cat >conftest.$ac_ext <<_ACEOF
20499 /* confdefs.h. */
20500 _ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 $ac_includes_default
20505 typedef int ac__type_sizeof_;
20506 int
20507 main ()
20508 {
20509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20510 test_array [0] = 0
20511
20512 ;
20513 return 0;
20514 }
20515 _ACEOF
20516 rm -f conftest.$ac_objext
20517 if { (ac_try="$ac_compile"
20518 case "(($ac_try" in
20519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20520 *) ac_try_echo=$ac_try;;
20521 esac
20522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20523 (eval "$ac_compile") 2>conftest.er1
20524 ac_status=$?
20525 grep -v '^ *+' conftest.er1 >conftest.err
20526 rm -f conftest.er1
20527 cat conftest.err >&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } && {
20530 test -z "$ac_c_werror_flag" ||
20531 test ! -s conftest.err
20532 } && test -s conftest.$ac_objext; then
20533 ac_hi=-1 ac_mid=-1
20534 while :; do
20535 cat >conftest.$ac_ext <<_ACEOF
20536 /* confdefs.h. */
20537 _ACEOF
20538 cat confdefs.h >>conftest.$ac_ext
20539 cat >>conftest.$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20541 $ac_includes_default
20542 typedef int ac__type_sizeof_;
20543 int
20544 main ()
20545 {
20546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20547 test_array [0] = 0
20548
20549 ;
20550 return 0;
20551 }
20552 _ACEOF
20553 rm -f conftest.$ac_objext
20554 if { (ac_try="$ac_compile"
20555 case "(($ac_try" in
20556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20557 *) ac_try_echo=$ac_try;;
20558 esac
20559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20560 (eval "$ac_compile") 2>conftest.er1
20561 ac_status=$?
20562 grep -v '^ *+' conftest.er1 >conftest.err
20563 rm -f conftest.er1
20564 cat conftest.err >&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } && {
20567 test -z "$ac_c_werror_flag" ||
20568 test ! -s conftest.err
20569 } && test -s conftest.$ac_objext; then
20570 ac_lo=$ac_mid; break
20571 else
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20574
20575 ac_hi=`expr '(' $ac_mid ')' - 1`
20576 if test $ac_mid -le $ac_hi; then
20577 ac_lo= ac_hi=
20578 break
20579 fi
20580 ac_mid=`expr 2 '*' $ac_mid`
20581 fi
20582
20583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20584 done
20585 else
20586 echo "$as_me: failed program was:" >&5
20587 sed 's/^/| /' conftest.$ac_ext >&5
20588
20589 ac_lo= ac_hi=
20590 fi
20591
20592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20593 fi
20594
20595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20596 # Binary search between lo and hi bounds.
20597 while test "x$ac_lo" != "x$ac_hi"; do
20598 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20599 cat >conftest.$ac_ext <<_ACEOF
20600 /* confdefs.h. */
20601 _ACEOF
20602 cat confdefs.h >>conftest.$ac_ext
20603 cat >>conftest.$ac_ext <<_ACEOF
20604 /* end confdefs.h. */
20605 $ac_includes_default
20606 typedef int ac__type_sizeof_;
20607 int
20608 main ()
20609 {
20610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20611 test_array [0] = 0
20612
20613 ;
20614 return 0;
20615 }
20616 _ACEOF
20617 rm -f conftest.$ac_objext
20618 if { (ac_try="$ac_compile"
20619 case "(($ac_try" in
20620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20621 *) ac_try_echo=$ac_try;;
20622 esac
20623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20624 (eval "$ac_compile") 2>conftest.er1
20625 ac_status=$?
20626 grep -v '^ *+' conftest.er1 >conftest.err
20627 rm -f conftest.er1
20628 cat conftest.err >&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); } && {
20631 test -z "$ac_c_werror_flag" ||
20632 test ! -s conftest.err
20633 } && test -s conftest.$ac_objext; then
20634 ac_hi=$ac_mid
20635 else
20636 echo "$as_me: failed program was:" >&5
20637 sed 's/^/| /' conftest.$ac_ext >&5
20638
20639 ac_lo=`expr '(' $ac_mid ')' + 1`
20640 fi
20641
20642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20643 done
20644 case $ac_lo in
20645 ?*) ac_cv_sizeof_int=$ac_lo;;
20646 '') if test "$ac_cv_type_int" = yes; then
20647 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20648 See \`config.log' for more details." >&5
20649 echo "$as_me: error: cannot compute sizeof (int)
20650 See \`config.log' for more details." >&2;}
20651 { (exit 77); exit 77; }; }
20652 else
20653 ac_cv_sizeof_int=0
20654 fi ;;
20655 esac
20656 else
20657 cat >conftest.$ac_ext <<_ACEOF
20658 /* confdefs.h. */
20659 _ACEOF
20660 cat confdefs.h >>conftest.$ac_ext
20661 cat >>conftest.$ac_ext <<_ACEOF
20662 /* end confdefs.h. */
20663 $ac_includes_default
20664 typedef int ac__type_sizeof_;
20665 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20666 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20667 #include <stdio.h>
20668 #include <stdlib.h>
20669 int
20670 main ()
20671 {
20672
20673 FILE *f = fopen ("conftest.val", "w");
20674 if (! f)
20675 return 1;
20676 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20677 {
20678 long int i = longval ();
20679 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20680 return 1;
20681 fprintf (f, "%ld\n", i);
20682 }
20683 else
20684 {
20685 unsigned long int i = ulongval ();
20686 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20687 return 1;
20688 fprintf (f, "%lu\n", i);
20689 }
20690 return ferror (f) || fclose (f) != 0;
20691
20692 ;
20693 return 0;
20694 }
20695 _ACEOF
20696 rm -f conftest$ac_exeext
20697 if { (ac_try="$ac_link"
20698 case "(($ac_try" in
20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20701 esac
20702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_link") 2>&5
20704 ac_status=$?
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20707 { (case "(($ac_try" in
20708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20709 *) ac_try_echo=$ac_try;;
20710 esac
20711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20712 (eval "$ac_try") 2>&5
20713 ac_status=$?
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); }; }; then
20716 ac_cv_sizeof_int=`cat conftest.val`
20717 else
20718 echo "$as_me: program exited with status $ac_status" >&5
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20721
20722 ( exit $ac_status )
20723 if test "$ac_cv_type_int" = yes; then
20724 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20725 See \`config.log' for more details." >&5
20726 echo "$as_me: error: cannot compute sizeof (int)
20727 See \`config.log' for more details." >&2;}
20728 { (exit 77); exit 77; }; }
20729 else
20730 ac_cv_sizeof_int=0
20731 fi
20732 fi
20733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20734 fi
20735 rm -f conftest.val
20736 fi
20737 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20738 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20739
20740
20741
20742 cat >>confdefs.h <<_ACEOF
20743 #define SIZEOF_INT $ac_cv_sizeof_int
20744 _ACEOF
20745
20746
20747 { echo "$as_me:$LINENO: checking for long" >&5
20748 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20749 if test "${ac_cv_type_long+set}" = set; then
20750 echo $ECHO_N "(cached) $ECHO_C" >&6
20751 else
20752 cat >conftest.$ac_ext <<_ACEOF
20753 /* confdefs.h. */
20754 _ACEOF
20755 cat confdefs.h >>conftest.$ac_ext
20756 cat >>conftest.$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 $ac_includes_default
20759 typedef long ac__type_new_;
20760 int
20761 main ()
20762 {
20763 if ((ac__type_new_ *) 0)
20764 return 0;
20765 if (sizeof (ac__type_new_))
20766 return 0;
20767 ;
20768 return 0;
20769 }
20770 _ACEOF
20771 rm -f conftest.$ac_objext
20772 if { (ac_try="$ac_compile"
20773 case "(($ac_try" in
20774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20775 *) ac_try_echo=$ac_try;;
20776 esac
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778 (eval "$ac_compile") 2>conftest.er1
20779 ac_status=$?
20780 grep -v '^ *+' conftest.er1 >conftest.err
20781 rm -f conftest.er1
20782 cat conftest.err >&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } && {
20785 test -z "$ac_c_werror_flag" ||
20786 test ! -s conftest.err
20787 } && test -s conftest.$ac_objext; then
20788 ac_cv_type_long=yes
20789 else
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20792
20793 ac_cv_type_long=no
20794 fi
20795
20796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20797 fi
20798 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20799 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20800
20801 # The cast to long int works around a bug in the HP C Compiler
20802 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20803 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20804 # This bug is HP SR number 8606223364.
20805 { echo "$as_me:$LINENO: checking size of long" >&5
20806 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20807 if test "${ac_cv_sizeof_long+set}" = set; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20809 else
20810 if test "$cross_compiling" = yes; then
20811 # Depending upon the size, compute the lo and hi bounds.
20812 cat >conftest.$ac_ext <<_ACEOF
20813 /* confdefs.h. */
20814 _ACEOF
20815 cat confdefs.h >>conftest.$ac_ext
20816 cat >>conftest.$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20818 $ac_includes_default
20819 typedef long ac__type_sizeof_;
20820 int
20821 main ()
20822 {
20823 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20824 test_array [0] = 0
20825
20826 ;
20827 return 0;
20828 }
20829 _ACEOF
20830 rm -f conftest.$ac_objext
20831 if { (ac_try="$ac_compile"
20832 case "(($ac_try" in
20833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20834 *) ac_try_echo=$ac_try;;
20835 esac
20836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20837 (eval "$ac_compile") 2>conftest.er1
20838 ac_status=$?
20839 grep -v '^ *+' conftest.er1 >conftest.err
20840 rm -f conftest.er1
20841 cat conftest.err >&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } && {
20844 test -z "$ac_c_werror_flag" ||
20845 test ! -s conftest.err
20846 } && test -s conftest.$ac_objext; then
20847 ac_lo=0 ac_mid=0
20848 while :; do
20849 cat >conftest.$ac_ext <<_ACEOF
20850 /* confdefs.h. */
20851 _ACEOF
20852 cat confdefs.h >>conftest.$ac_ext
20853 cat >>conftest.$ac_ext <<_ACEOF
20854 /* end confdefs.h. */
20855 $ac_includes_default
20856 typedef long ac__type_sizeof_;
20857 int
20858 main ()
20859 {
20860 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20861 test_array [0] = 0
20862
20863 ;
20864 return 0;
20865 }
20866 _ACEOF
20867 rm -f conftest.$ac_objext
20868 if { (ac_try="$ac_compile"
20869 case "(($ac_try" in
20870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20871 *) ac_try_echo=$ac_try;;
20872 esac
20873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20874 (eval "$ac_compile") 2>conftest.er1
20875 ac_status=$?
20876 grep -v '^ *+' conftest.er1 >conftest.err
20877 rm -f conftest.er1
20878 cat conftest.err >&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); } && {
20881 test -z "$ac_c_werror_flag" ||
20882 test ! -s conftest.err
20883 } && test -s conftest.$ac_objext; then
20884 ac_hi=$ac_mid; break
20885 else
20886 echo "$as_me: failed program was:" >&5
20887 sed 's/^/| /' conftest.$ac_ext >&5
20888
20889 ac_lo=`expr $ac_mid + 1`
20890 if test $ac_lo -le $ac_mid; then
20891 ac_lo= ac_hi=
20892 break
20893 fi
20894 ac_mid=`expr 2 '*' $ac_mid + 1`
20895 fi
20896
20897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 done
20899 else
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20902
20903 cat >conftest.$ac_ext <<_ACEOF
20904 /* confdefs.h. */
20905 _ACEOF
20906 cat confdefs.h >>conftest.$ac_ext
20907 cat >>conftest.$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 $ac_includes_default
20910 typedef long ac__type_sizeof_;
20911 int
20912 main ()
20913 {
20914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20915 test_array [0] = 0
20916
20917 ;
20918 return 0;
20919 }
20920 _ACEOF
20921 rm -f conftest.$ac_objext
20922 if { (ac_try="$ac_compile"
20923 case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20926 esac
20927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20928 (eval "$ac_compile") 2>conftest.er1
20929 ac_status=$?
20930 grep -v '^ *+' conftest.er1 >conftest.err
20931 rm -f conftest.er1
20932 cat conftest.err >&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); } && {
20935 test -z "$ac_c_werror_flag" ||
20936 test ! -s conftest.err
20937 } && test -s conftest.$ac_objext; then
20938 ac_hi=-1 ac_mid=-1
20939 while :; do
20940 cat >conftest.$ac_ext <<_ACEOF
20941 /* confdefs.h. */
20942 _ACEOF
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20946 $ac_includes_default
20947 typedef long ac__type_sizeof_;
20948 int
20949 main ()
20950 {
20951 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20952 test_array [0] = 0
20953
20954 ;
20955 return 0;
20956 }
20957 _ACEOF
20958 rm -f conftest.$ac_objext
20959 if { (ac_try="$ac_compile"
20960 case "(($ac_try" in
20961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20962 *) ac_try_echo=$ac_try;;
20963 esac
20964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20965 (eval "$ac_compile") 2>conftest.er1
20966 ac_status=$?
20967 grep -v '^ *+' conftest.er1 >conftest.err
20968 rm -f conftest.er1
20969 cat conftest.err >&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); } && {
20972 test -z "$ac_c_werror_flag" ||
20973 test ! -s conftest.err
20974 } && test -s conftest.$ac_objext; then
20975 ac_lo=$ac_mid; break
20976 else
20977 echo "$as_me: failed program was:" >&5
20978 sed 's/^/| /' conftest.$ac_ext >&5
20979
20980 ac_hi=`expr '(' $ac_mid ')' - 1`
20981 if test $ac_mid -le $ac_hi; then
20982 ac_lo= ac_hi=
20983 break
20984 fi
20985 ac_mid=`expr 2 '*' $ac_mid`
20986 fi
20987
20988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20989 done
20990 else
20991 echo "$as_me: failed program was:" >&5
20992 sed 's/^/| /' conftest.$ac_ext >&5
20993
20994 ac_lo= ac_hi=
20995 fi
20996
20997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998 fi
20999
21000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21001 # Binary search between lo and hi bounds.
21002 while test "x$ac_lo" != "x$ac_hi"; do
21003 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21004 cat >conftest.$ac_ext <<_ACEOF
21005 /* confdefs.h. */
21006 _ACEOF
21007 cat confdefs.h >>conftest.$ac_ext
21008 cat >>conftest.$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21010 $ac_includes_default
21011 typedef long ac__type_sizeof_;
21012 int
21013 main ()
21014 {
21015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21016 test_array [0] = 0
21017
21018 ;
21019 return 0;
21020 }
21021 _ACEOF
21022 rm -f conftest.$ac_objext
21023 if { (ac_try="$ac_compile"
21024 case "(($ac_try" in
21025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21026 *) ac_try_echo=$ac_try;;
21027 esac
21028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21029 (eval "$ac_compile") 2>conftest.er1
21030 ac_status=$?
21031 grep -v '^ *+' conftest.er1 >conftest.err
21032 rm -f conftest.er1
21033 cat conftest.err >&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); } && {
21036 test -z "$ac_c_werror_flag" ||
21037 test ! -s conftest.err
21038 } && test -s conftest.$ac_objext; then
21039 ac_hi=$ac_mid
21040 else
21041 echo "$as_me: failed program was:" >&5
21042 sed 's/^/| /' conftest.$ac_ext >&5
21043
21044 ac_lo=`expr '(' $ac_mid ')' + 1`
21045 fi
21046
21047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21048 done
21049 case $ac_lo in
21050 ?*) ac_cv_sizeof_long=$ac_lo;;
21051 '') if test "$ac_cv_type_long" = yes; then
21052 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21053 See \`config.log' for more details." >&5
21054 echo "$as_me: error: cannot compute sizeof (long)
21055 See \`config.log' for more details." >&2;}
21056 { (exit 77); exit 77; }; }
21057 else
21058 ac_cv_sizeof_long=0
21059 fi ;;
21060 esac
21061 else
21062 cat >conftest.$ac_ext <<_ACEOF
21063 /* confdefs.h. */
21064 _ACEOF
21065 cat confdefs.h >>conftest.$ac_ext
21066 cat >>conftest.$ac_ext <<_ACEOF
21067 /* end confdefs.h. */
21068 $ac_includes_default
21069 typedef long ac__type_sizeof_;
21070 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21071 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21072 #include <stdio.h>
21073 #include <stdlib.h>
21074 int
21075 main ()
21076 {
21077
21078 FILE *f = fopen ("conftest.val", "w");
21079 if (! f)
21080 return 1;
21081 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21082 {
21083 long int i = longval ();
21084 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21085 return 1;
21086 fprintf (f, "%ld\n", i);
21087 }
21088 else
21089 {
21090 unsigned long int i = ulongval ();
21091 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21092 return 1;
21093 fprintf (f, "%lu\n", i);
21094 }
21095 return ferror (f) || fclose (f) != 0;
21096
21097 ;
21098 return 0;
21099 }
21100 _ACEOF
21101 rm -f conftest$ac_exeext
21102 if { (ac_try="$ac_link"
21103 case "(($ac_try" in
21104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21106 esac
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_link") 2>&5
21109 ac_status=$?
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21112 { (case "(($ac_try" in
21113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21114 *) ac_try_echo=$ac_try;;
21115 esac
21116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21117 (eval "$ac_try") 2>&5
21118 ac_status=$?
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; }; then
21121 ac_cv_sizeof_long=`cat conftest.val`
21122 else
21123 echo "$as_me: program exited with status $ac_status" >&5
21124 echo "$as_me: failed program was:" >&5
21125 sed 's/^/| /' conftest.$ac_ext >&5
21126
21127 ( exit $ac_status )
21128 if test "$ac_cv_type_long" = yes; then
21129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21130 See \`config.log' for more details." >&5
21131 echo "$as_me: error: cannot compute sizeof (long)
21132 See \`config.log' for more details." >&2;}
21133 { (exit 77); exit 77; }; }
21134 else
21135 ac_cv_sizeof_long=0
21136 fi
21137 fi
21138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21139 fi
21140 rm -f conftest.val
21141 fi
21142 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21143 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21144
21145
21146
21147 cat >>confdefs.h <<_ACEOF
21148 #define SIZEOF_LONG $ac_cv_sizeof_long
21149 _ACEOF
21150
21151
21152 { echo "$as_me:$LINENO: checking for size_t" >&5
21153 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21154 if test "${ac_cv_type_size_t+set}" = set; then
21155 echo $ECHO_N "(cached) $ECHO_C" >&6
21156 else
21157 cat >conftest.$ac_ext <<_ACEOF
21158 /* confdefs.h. */
21159 _ACEOF
21160 cat confdefs.h >>conftest.$ac_ext
21161 cat >>conftest.$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21163 $ac_includes_default
21164 typedef size_t ac__type_new_;
21165 int
21166 main ()
21167 {
21168 if ((ac__type_new_ *) 0)
21169 return 0;
21170 if (sizeof (ac__type_new_))
21171 return 0;
21172 ;
21173 return 0;
21174 }
21175 _ACEOF
21176 rm -f conftest.$ac_objext
21177 if { (ac_try="$ac_compile"
21178 case "(($ac_try" in
21179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21180 *) ac_try_echo=$ac_try;;
21181 esac
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183 (eval "$ac_compile") 2>conftest.er1
21184 ac_status=$?
21185 grep -v '^ *+' conftest.er1 >conftest.err
21186 rm -f conftest.er1
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } && {
21190 test -z "$ac_c_werror_flag" ||
21191 test ! -s conftest.err
21192 } && test -s conftest.$ac_objext; then
21193 ac_cv_type_size_t=yes
21194 else
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21197
21198 ac_cv_type_size_t=no
21199 fi
21200
21201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21202 fi
21203 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21204 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21205
21206 # The cast to long int works around a bug in the HP C Compiler
21207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21209 # This bug is HP SR number 8606223364.
21210 { echo "$as_me:$LINENO: checking size of size_t" >&5
21211 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21212 if test "${ac_cv_sizeof_size_t+set}" = set; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21214 else
21215 if test "$cross_compiling" = yes; then
21216 # Depending upon the size, compute the lo and hi bounds.
21217 cat >conftest.$ac_ext <<_ACEOF
21218 /* confdefs.h. */
21219 _ACEOF
21220 cat confdefs.h >>conftest.$ac_ext
21221 cat >>conftest.$ac_ext <<_ACEOF
21222 /* end confdefs.h. */
21223 $ac_includes_default
21224 typedef size_t ac__type_sizeof_;
21225 int
21226 main ()
21227 {
21228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21229 test_array [0] = 0
21230
21231 ;
21232 return 0;
21233 }
21234 _ACEOF
21235 rm -f conftest.$ac_objext
21236 if { (ac_try="$ac_compile"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21240 esac
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_compile") 2>conftest.er1
21243 ac_status=$?
21244 grep -v '^ *+' conftest.er1 >conftest.err
21245 rm -f conftest.er1
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } && {
21249 test -z "$ac_c_werror_flag" ||
21250 test ! -s conftest.err
21251 } && test -s conftest.$ac_objext; then
21252 ac_lo=0 ac_mid=0
21253 while :; do
21254 cat >conftest.$ac_ext <<_ACEOF
21255 /* confdefs.h. */
21256 _ACEOF
21257 cat confdefs.h >>conftest.$ac_ext
21258 cat >>conftest.$ac_ext <<_ACEOF
21259 /* end confdefs.h. */
21260 $ac_includes_default
21261 typedef size_t ac__type_sizeof_;
21262 int
21263 main ()
21264 {
21265 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21266 test_array [0] = 0
21267
21268 ;
21269 return 0;
21270 }
21271 _ACEOF
21272 rm -f conftest.$ac_objext
21273 if { (ac_try="$ac_compile"
21274 case "(($ac_try" in
21275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21276 *) ac_try_echo=$ac_try;;
21277 esac
21278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21279 (eval "$ac_compile") 2>conftest.er1
21280 ac_status=$?
21281 grep -v '^ *+' conftest.er1 >conftest.err
21282 rm -f conftest.er1
21283 cat conftest.err >&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); } && {
21286 test -z "$ac_c_werror_flag" ||
21287 test ! -s conftest.err
21288 } && test -s conftest.$ac_objext; then
21289 ac_hi=$ac_mid; break
21290 else
21291 echo "$as_me: failed program was:" >&5
21292 sed 's/^/| /' conftest.$ac_ext >&5
21293
21294 ac_lo=`expr $ac_mid + 1`
21295 if test $ac_lo -le $ac_mid; then
21296 ac_lo= ac_hi=
21297 break
21298 fi
21299 ac_mid=`expr 2 '*' $ac_mid + 1`
21300 fi
21301
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21303 done
21304 else
21305 echo "$as_me: failed program was:" >&5
21306 sed 's/^/| /' conftest.$ac_ext >&5
21307
21308 cat >conftest.$ac_ext <<_ACEOF
21309 /* confdefs.h. */
21310 _ACEOF
21311 cat confdefs.h >>conftest.$ac_ext
21312 cat >>conftest.$ac_ext <<_ACEOF
21313 /* end confdefs.h. */
21314 $ac_includes_default
21315 typedef size_t ac__type_sizeof_;
21316 int
21317 main ()
21318 {
21319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21320 test_array [0] = 0
21321
21322 ;
21323 return 0;
21324 }
21325 _ACEOF
21326 rm -f conftest.$ac_objext
21327 if { (ac_try="$ac_compile"
21328 case "(($ac_try" in
21329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21330 *) ac_try_echo=$ac_try;;
21331 esac
21332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21333 (eval "$ac_compile") 2>conftest.er1
21334 ac_status=$?
21335 grep -v '^ *+' conftest.er1 >conftest.err
21336 rm -f conftest.er1
21337 cat conftest.err >&5
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); } && {
21340 test -z "$ac_c_werror_flag" ||
21341 test ! -s conftest.err
21342 } && test -s conftest.$ac_objext; then
21343 ac_hi=-1 ac_mid=-1
21344 while :; do
21345 cat >conftest.$ac_ext <<_ACEOF
21346 /* confdefs.h. */
21347 _ACEOF
21348 cat confdefs.h >>conftest.$ac_ext
21349 cat >>conftest.$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21351 $ac_includes_default
21352 typedef size_t ac__type_sizeof_;
21353 int
21354 main ()
21355 {
21356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21357 test_array [0] = 0
21358
21359 ;
21360 return 0;
21361 }
21362 _ACEOF
21363 rm -f conftest.$ac_objext
21364 if { (ac_try="$ac_compile"
21365 case "(($ac_try" in
21366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21367 *) ac_try_echo=$ac_try;;
21368 esac
21369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21370 (eval "$ac_compile") 2>conftest.er1
21371 ac_status=$?
21372 grep -v '^ *+' conftest.er1 >conftest.err
21373 rm -f conftest.er1
21374 cat conftest.err >&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); } && {
21377 test -z "$ac_c_werror_flag" ||
21378 test ! -s conftest.err
21379 } && test -s conftest.$ac_objext; then
21380 ac_lo=$ac_mid; break
21381 else
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.$ac_ext >&5
21384
21385 ac_hi=`expr '(' $ac_mid ')' - 1`
21386 if test $ac_mid -le $ac_hi; then
21387 ac_lo= ac_hi=
21388 break
21389 fi
21390 ac_mid=`expr 2 '*' $ac_mid`
21391 fi
21392
21393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21394 done
21395 else
21396 echo "$as_me: failed program was:" >&5
21397 sed 's/^/| /' conftest.$ac_ext >&5
21398
21399 ac_lo= ac_hi=
21400 fi
21401
21402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21403 fi
21404
21405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21406 # Binary search between lo and hi bounds.
21407 while test "x$ac_lo" != "x$ac_hi"; do
21408 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21409 cat >conftest.$ac_ext <<_ACEOF
21410 /* confdefs.h. */
21411 _ACEOF
21412 cat confdefs.h >>conftest.$ac_ext
21413 cat >>conftest.$ac_ext <<_ACEOF
21414 /* end confdefs.h. */
21415 $ac_includes_default
21416 typedef size_t ac__type_sizeof_;
21417 int
21418 main ()
21419 {
21420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21421 test_array [0] = 0
21422
21423 ;
21424 return 0;
21425 }
21426 _ACEOF
21427 rm -f conftest.$ac_objext
21428 if { (ac_try="$ac_compile"
21429 case "(($ac_try" in
21430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21431 *) ac_try_echo=$ac_try;;
21432 esac
21433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21434 (eval "$ac_compile") 2>conftest.er1
21435 ac_status=$?
21436 grep -v '^ *+' conftest.er1 >conftest.err
21437 rm -f conftest.er1
21438 cat conftest.err >&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } && {
21441 test -z "$ac_c_werror_flag" ||
21442 test ! -s conftest.err
21443 } && test -s conftest.$ac_objext; then
21444 ac_hi=$ac_mid
21445 else
21446 echo "$as_me: failed program was:" >&5
21447 sed 's/^/| /' conftest.$ac_ext >&5
21448
21449 ac_lo=`expr '(' $ac_mid ')' + 1`
21450 fi
21451
21452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453 done
21454 case $ac_lo in
21455 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21456 '') if test "$ac_cv_type_size_t" = yes; then
21457 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21458 See \`config.log' for more details." >&5
21459 echo "$as_me: error: cannot compute sizeof (size_t)
21460 See \`config.log' for more details." >&2;}
21461 { (exit 77); exit 77; }; }
21462 else
21463 ac_cv_sizeof_size_t=0
21464 fi ;;
21465 esac
21466 else
21467 cat >conftest.$ac_ext <<_ACEOF
21468 /* confdefs.h. */
21469 _ACEOF
21470 cat confdefs.h >>conftest.$ac_ext
21471 cat >>conftest.$ac_ext <<_ACEOF
21472 /* end confdefs.h. */
21473 $ac_includes_default
21474 typedef size_t ac__type_sizeof_;
21475 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21476 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21477 #include <stdio.h>
21478 #include <stdlib.h>
21479 int
21480 main ()
21481 {
21482
21483 FILE *f = fopen ("conftest.val", "w");
21484 if (! f)
21485 return 1;
21486 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21487 {
21488 long int i = longval ();
21489 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21490 return 1;
21491 fprintf (f, "%ld\n", i);
21492 }
21493 else
21494 {
21495 unsigned long int i = ulongval ();
21496 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21497 return 1;
21498 fprintf (f, "%lu\n", i);
21499 }
21500 return ferror (f) || fclose (f) != 0;
21501
21502 ;
21503 return 0;
21504 }
21505 _ACEOF
21506 rm -f conftest$ac_exeext
21507 if { (ac_try="$ac_link"
21508 case "(($ac_try" in
21509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21510 *) ac_try_echo=$ac_try;;
21511 esac
21512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21513 (eval "$ac_link") 2>&5
21514 ac_status=$?
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21517 { (case "(($ac_try" in
21518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21519 *) ac_try_echo=$ac_try;;
21520 esac
21521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21522 (eval "$ac_try") 2>&5
21523 ac_status=$?
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); }; }; then
21526 ac_cv_sizeof_size_t=`cat conftest.val`
21527 else
21528 echo "$as_me: program exited with status $ac_status" >&5
21529 echo "$as_me: failed program was:" >&5
21530 sed 's/^/| /' conftest.$ac_ext >&5
21531
21532 ( exit $ac_status )
21533 if test "$ac_cv_type_size_t" = yes; then
21534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21535 See \`config.log' for more details." >&5
21536 echo "$as_me: error: cannot compute sizeof (size_t)
21537 See \`config.log' for more details." >&2;}
21538 { (exit 77); exit 77; }; }
21539 else
21540 ac_cv_sizeof_size_t=0
21541 fi
21542 fi
21543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21544 fi
21545 rm -f conftest.val
21546 fi
21547 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21548 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21549
21550
21551
21552 cat >>confdefs.h <<_ACEOF
21553 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21554 _ACEOF
21555
21556
21557
21558 case "${host}" in
21559 arm-*-linux* )
21560 { echo "$as_me:$LINENO: checking for long long" >&5
21561 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21562 if test "${ac_cv_type_long_long+set}" = set; then
21563 echo $ECHO_N "(cached) $ECHO_C" >&6
21564 else
21565 cat >conftest.$ac_ext <<_ACEOF
21566 /* confdefs.h. */
21567 _ACEOF
21568 cat confdefs.h >>conftest.$ac_ext
21569 cat >>conftest.$ac_ext <<_ACEOF
21570 /* end confdefs.h. */
21571 $ac_includes_default
21572 typedef long long ac__type_new_;
21573 int
21574 main ()
21575 {
21576 if ((ac__type_new_ *) 0)
21577 return 0;
21578 if (sizeof (ac__type_new_))
21579 return 0;
21580 ;
21581 return 0;
21582 }
21583 _ACEOF
21584 rm -f conftest.$ac_objext
21585 if { (ac_try="$ac_compile"
21586 case "(($ac_try" in
21587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21588 *) ac_try_echo=$ac_try;;
21589 esac
21590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21591 (eval "$ac_compile") 2>conftest.er1
21592 ac_status=$?
21593 grep -v '^ *+' conftest.er1 >conftest.err
21594 rm -f conftest.er1
21595 cat conftest.err >&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } && {
21598 test -z "$ac_c_werror_flag" ||
21599 test ! -s conftest.err
21600 } && test -s conftest.$ac_objext; then
21601 ac_cv_type_long_long=yes
21602 else
21603 echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.$ac_ext >&5
21605
21606 ac_cv_type_long_long=no
21607 fi
21608
21609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21610 fi
21611 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21612 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21613
21614 # The cast to long int works around a bug in the HP C Compiler
21615 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21616 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21617 # This bug is HP SR number 8606223364.
21618 { echo "$as_me:$LINENO: checking size of long long" >&5
21619 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21620 if test "${ac_cv_sizeof_long_long+set}" = set; then
21621 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 else
21623 if test "$cross_compiling" = yes; then
21624 # Depending upon the size, compute the lo and hi bounds.
21625 cat >conftest.$ac_ext <<_ACEOF
21626 /* confdefs.h. */
21627 _ACEOF
21628 cat confdefs.h >>conftest.$ac_ext
21629 cat >>conftest.$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 $ac_includes_default
21632 typedef long long ac__type_sizeof_;
21633 int
21634 main ()
21635 {
21636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21637 test_array [0] = 0
21638
21639 ;
21640 return 0;
21641 }
21642 _ACEOF
21643 rm -f conftest.$ac_objext
21644 if { (ac_try="$ac_compile"
21645 case "(($ac_try" in
21646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21647 *) ac_try_echo=$ac_try;;
21648 esac
21649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_compile") 2>conftest.er1
21651 ac_status=$?
21652 grep -v '^ *+' conftest.er1 >conftest.err
21653 rm -f conftest.er1
21654 cat conftest.err >&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } && {
21657 test -z "$ac_c_werror_flag" ||
21658 test ! -s conftest.err
21659 } && test -s conftest.$ac_objext; then
21660 ac_lo=0 ac_mid=0
21661 while :; do
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 long long ac__type_sizeof_;
21670 int
21671 main ()
21672 {
21673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21674 test_array [0] = 0
21675
21676 ;
21677 return 0;
21678 }
21679 _ACEOF
21680 rm -f conftest.$ac_objext
21681 if { (ac_try="$ac_compile"
21682 case "(($ac_try" in
21683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21684 *) ac_try_echo=$ac_try;;
21685 esac
21686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21687 (eval "$ac_compile") 2>conftest.er1
21688 ac_status=$?
21689 grep -v '^ *+' conftest.er1 >conftest.err
21690 rm -f conftest.er1
21691 cat conftest.err >&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); } && {
21694 test -z "$ac_c_werror_flag" ||
21695 test ! -s conftest.err
21696 } && test -s conftest.$ac_objext; then
21697 ac_hi=$ac_mid; break
21698 else
21699 echo "$as_me: failed program was:" >&5
21700 sed 's/^/| /' conftest.$ac_ext >&5
21701
21702 ac_lo=`expr $ac_mid + 1`
21703 if test $ac_lo -le $ac_mid; then
21704 ac_lo= ac_hi=
21705 break
21706 fi
21707 ac_mid=`expr 2 '*' $ac_mid + 1`
21708 fi
21709
21710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21711 done
21712 else
21713 echo "$as_me: failed program was:" >&5
21714 sed 's/^/| /' conftest.$ac_ext >&5
21715
21716 cat >conftest.$ac_ext <<_ACEOF
21717 /* confdefs.h. */
21718 _ACEOF
21719 cat confdefs.h >>conftest.$ac_ext
21720 cat >>conftest.$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21722 $ac_includes_default
21723 typedef long long ac__type_sizeof_;
21724 int
21725 main ()
21726 {
21727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21728 test_array [0] = 0
21729
21730 ;
21731 return 0;
21732 }
21733 _ACEOF
21734 rm -f conftest.$ac_objext
21735 if { (ac_try="$ac_compile"
21736 case "(($ac_try" in
21737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21738 *) ac_try_echo=$ac_try;;
21739 esac
21740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21741 (eval "$ac_compile") 2>conftest.er1
21742 ac_status=$?
21743 grep -v '^ *+' conftest.er1 >conftest.err
21744 rm -f conftest.er1
21745 cat conftest.err >&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); } && {
21748 test -z "$ac_c_werror_flag" ||
21749 test ! -s conftest.err
21750 } && test -s conftest.$ac_objext; then
21751 ac_hi=-1 ac_mid=-1
21752 while :; do
21753 cat >conftest.$ac_ext <<_ACEOF
21754 /* confdefs.h. */
21755 _ACEOF
21756 cat confdefs.h >>conftest.$ac_ext
21757 cat >>conftest.$ac_ext <<_ACEOF
21758 /* end confdefs.h. */
21759 $ac_includes_default
21760 typedef long long ac__type_sizeof_;
21761 int
21762 main ()
21763 {
21764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21765 test_array [0] = 0
21766
21767 ;
21768 return 0;
21769 }
21770 _ACEOF
21771 rm -f conftest.$ac_objext
21772 if { (ac_try="$ac_compile"
21773 case "(($ac_try" in
21774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21775 *) ac_try_echo=$ac_try;;
21776 esac
21777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21778 (eval "$ac_compile") 2>conftest.er1
21779 ac_status=$?
21780 grep -v '^ *+' conftest.er1 >conftest.err
21781 rm -f conftest.er1
21782 cat conftest.err >&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); } && {
21785 test -z "$ac_c_werror_flag" ||
21786 test ! -s conftest.err
21787 } && test -s conftest.$ac_objext; then
21788 ac_lo=$ac_mid; break
21789 else
21790 echo "$as_me: failed program was:" >&5
21791 sed 's/^/| /' conftest.$ac_ext >&5
21792
21793 ac_hi=`expr '(' $ac_mid ')' - 1`
21794 if test $ac_mid -le $ac_hi; then
21795 ac_lo= ac_hi=
21796 break
21797 fi
21798 ac_mid=`expr 2 '*' $ac_mid`
21799 fi
21800
21801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21802 done
21803 else
21804 echo "$as_me: failed program was:" >&5
21805 sed 's/^/| /' conftest.$ac_ext >&5
21806
21807 ac_lo= ac_hi=
21808 fi
21809
21810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21811 fi
21812
21813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814 # Binary search between lo and hi bounds.
21815 while test "x$ac_lo" != "x$ac_hi"; do
21816 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 long long ac__type_sizeof_;
21825 int
21826 main ()
21827 {
21828 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
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_hi=$ac_mid
21853 else
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.$ac_ext >&5
21856
21857 ac_lo=`expr '(' $ac_mid ')' + 1`
21858 fi
21859
21860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21861 done
21862 case $ac_lo in
21863 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21864 '') if test "$ac_cv_type_long_long" = yes; then
21865 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21866 See \`config.log' for more details." >&5
21867 echo "$as_me: error: cannot compute sizeof (long long)
21868 See \`config.log' for more details." >&2;}
21869 { (exit 77); exit 77; }; }
21870 else
21871 ac_cv_sizeof_long_long=0
21872 fi ;;
21873 esac
21874 else
21875 cat >conftest.$ac_ext <<_ACEOF
21876 /* confdefs.h. */
21877 _ACEOF
21878 cat confdefs.h >>conftest.$ac_ext
21879 cat >>conftest.$ac_ext <<_ACEOF
21880 /* end confdefs.h. */
21881 $ac_includes_default
21882 typedef long long ac__type_sizeof_;
21883 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21884 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21885 #include <stdio.h>
21886 #include <stdlib.h>
21887 int
21888 main ()
21889 {
21890
21891 FILE *f = fopen ("conftest.val", "w");
21892 if (! f)
21893 return 1;
21894 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21895 {
21896 long int i = longval ();
21897 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21898 return 1;
21899 fprintf (f, "%ld\n", i);
21900 }
21901 else
21902 {
21903 unsigned long int i = ulongval ();
21904 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21905 return 1;
21906 fprintf (f, "%lu\n", i);
21907 }
21908 return ferror (f) || fclose (f) != 0;
21909
21910 ;
21911 return 0;
21912 }
21913 _ACEOF
21914 rm -f conftest$ac_exeext
21915 if { (ac_try="$ac_link"
21916 case "(($ac_try" in
21917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21919 esac
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_link") 2>&5
21922 ac_status=$?
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21925 { (case "(($ac_try" in
21926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21927 *) ac_try_echo=$ac_try;;
21928 esac
21929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21930 (eval "$ac_try") 2>&5
21931 ac_status=$?
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); }; }; then
21934 ac_cv_sizeof_long_long=`cat conftest.val`
21935 else
21936 echo "$as_me: program exited with status $ac_status" >&5
21937 echo "$as_me: failed program was:" >&5
21938 sed 's/^/| /' conftest.$ac_ext >&5
21939
21940 ( exit $ac_status )
21941 if test "$ac_cv_type_long_long" = yes; then
21942 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21943 See \`config.log' for more details." >&5
21944 echo "$as_me: error: cannot compute sizeof (long long)
21945 See \`config.log' for more details." >&2;}
21946 { (exit 77); exit 77; }; }
21947 else
21948 ac_cv_sizeof_long_long=0
21949 fi
21950 fi
21951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21952 fi
21953 rm -f conftest.val
21954 fi
21955 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21956 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21957
21958
21959
21960 cat >>confdefs.h <<_ACEOF
21961 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21962 _ACEOF
21963
21964
21965 ;;
21966 *-hp-hpux* )
21967 { echo "$as_me:$LINENO: checking for long long" >&5
21968 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21969 if test "${ac_cv_type_long_long+set}" = set; then
21970 echo $ECHO_N "(cached) $ECHO_C" >&6
21971 else
21972 cat >conftest.$ac_ext <<_ACEOF
21973 /* confdefs.h. */
21974 _ACEOF
21975 cat confdefs.h >>conftest.$ac_ext
21976 cat >>conftest.$ac_ext <<_ACEOF
21977 /* end confdefs.h. */
21978 $ac_includes_default
21979 typedef long long ac__type_new_;
21980 int
21981 main ()
21982 {
21983 if ((ac__type_new_ *) 0)
21984 return 0;
21985 if (sizeof (ac__type_new_))
21986 return 0;
21987 ;
21988 return 0;
21989 }
21990 _ACEOF
21991 rm -f conftest.$ac_objext
21992 if { (ac_try="$ac_compile"
21993 case "(($ac_try" in
21994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21995 *) ac_try_echo=$ac_try;;
21996 esac
21997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21998 (eval "$ac_compile") 2>conftest.er1
21999 ac_status=$?
22000 grep -v '^ *+' conftest.er1 >conftest.err
22001 rm -f conftest.er1
22002 cat conftest.err >&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); } && {
22005 test -z "$ac_c_werror_flag" ||
22006 test ! -s conftest.err
22007 } && test -s conftest.$ac_objext; then
22008 ac_cv_type_long_long=yes
22009 else
22010 echo "$as_me: failed program was:" >&5
22011 sed 's/^/| /' conftest.$ac_ext >&5
22012
22013 ac_cv_type_long_long=no
22014 fi
22015
22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22017 fi
22018 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22019 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22020
22021 # The cast to long int works around a bug in the HP C Compiler
22022 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22023 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22024 # This bug is HP SR number 8606223364.
22025 { echo "$as_me:$LINENO: checking size of long long" >&5
22026 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22027 if test "${ac_cv_sizeof_long_long+set}" = set; then
22028 echo $ECHO_N "(cached) $ECHO_C" >&6
22029 else
22030 if test "$cross_compiling" = yes; then
22031 # Depending upon the size, compute the lo and hi bounds.
22032 cat >conftest.$ac_ext <<_ACEOF
22033 /* confdefs.h. */
22034 _ACEOF
22035 cat confdefs.h >>conftest.$ac_ext
22036 cat >>conftest.$ac_ext <<_ACEOF
22037 /* end confdefs.h. */
22038 $ac_includes_default
22039 typedef long long ac__type_sizeof_;
22040 int
22041 main ()
22042 {
22043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22044 test_array [0] = 0
22045
22046 ;
22047 return 0;
22048 }
22049 _ACEOF
22050 rm -f conftest.$ac_objext
22051 if { (ac_try="$ac_compile"
22052 case "(($ac_try" in
22053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22054 *) ac_try_echo=$ac_try;;
22055 esac
22056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22057 (eval "$ac_compile") 2>conftest.er1
22058 ac_status=$?
22059 grep -v '^ *+' conftest.er1 >conftest.err
22060 rm -f conftest.er1
22061 cat conftest.err >&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); } && {
22064 test -z "$ac_c_werror_flag" ||
22065 test ! -s conftest.err
22066 } && test -s conftest.$ac_objext; then
22067 ac_lo=0 ac_mid=0
22068 while :; do
22069 cat >conftest.$ac_ext <<_ACEOF
22070 /* confdefs.h. */
22071 _ACEOF
22072 cat confdefs.h >>conftest.$ac_ext
22073 cat >>conftest.$ac_ext <<_ACEOF
22074 /* end confdefs.h. */
22075 $ac_includes_default
22076 typedef long long ac__type_sizeof_;
22077 int
22078 main ()
22079 {
22080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22081 test_array [0] = 0
22082
22083 ;
22084 return 0;
22085 }
22086 _ACEOF
22087 rm -f conftest.$ac_objext
22088 if { (ac_try="$ac_compile"
22089 case "(($ac_try" in
22090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22091 *) ac_try_echo=$ac_try;;
22092 esac
22093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22094 (eval "$ac_compile") 2>conftest.er1
22095 ac_status=$?
22096 grep -v '^ *+' conftest.er1 >conftest.err
22097 rm -f conftest.er1
22098 cat conftest.err >&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } && {
22101 test -z "$ac_c_werror_flag" ||
22102 test ! -s conftest.err
22103 } && test -s conftest.$ac_objext; then
22104 ac_hi=$ac_mid; break
22105 else
22106 echo "$as_me: failed program was:" >&5
22107 sed 's/^/| /' conftest.$ac_ext >&5
22108
22109 ac_lo=`expr $ac_mid + 1`
22110 if test $ac_lo -le $ac_mid; then
22111 ac_lo= ac_hi=
22112 break
22113 fi
22114 ac_mid=`expr 2 '*' $ac_mid + 1`
22115 fi
22116
22117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22118 done
22119 else
22120 echo "$as_me: failed program was:" >&5
22121 sed 's/^/| /' conftest.$ac_ext >&5
22122
22123 cat >conftest.$ac_ext <<_ACEOF
22124 /* confdefs.h. */
22125 _ACEOF
22126 cat confdefs.h >>conftest.$ac_ext
22127 cat >>conftest.$ac_ext <<_ACEOF
22128 /* end confdefs.h. */
22129 $ac_includes_default
22130 typedef long long ac__type_sizeof_;
22131 int
22132 main ()
22133 {
22134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22135 test_array [0] = 0
22136
22137 ;
22138 return 0;
22139 }
22140 _ACEOF
22141 rm -f conftest.$ac_objext
22142 if { (ac_try="$ac_compile"
22143 case "(($ac_try" in
22144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22145 *) ac_try_echo=$ac_try;;
22146 esac
22147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22148 (eval "$ac_compile") 2>conftest.er1
22149 ac_status=$?
22150 grep -v '^ *+' conftest.er1 >conftest.err
22151 rm -f conftest.er1
22152 cat conftest.err >&5
22153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22154 (exit $ac_status); } && {
22155 test -z "$ac_c_werror_flag" ||
22156 test ! -s conftest.err
22157 } && test -s conftest.$ac_objext; then
22158 ac_hi=-1 ac_mid=-1
22159 while :; do
22160 cat >conftest.$ac_ext <<_ACEOF
22161 /* confdefs.h. */
22162 _ACEOF
22163 cat confdefs.h >>conftest.$ac_ext
22164 cat >>conftest.$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22166 $ac_includes_default
22167 typedef long long ac__type_sizeof_;
22168 int
22169 main ()
22170 {
22171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22172 test_array [0] = 0
22173
22174 ;
22175 return 0;
22176 }
22177 _ACEOF
22178 rm -f conftest.$ac_objext
22179 if { (ac_try="$ac_compile"
22180 case "(($ac_try" in
22181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182 *) ac_try_echo=$ac_try;;
22183 esac
22184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22185 (eval "$ac_compile") 2>conftest.er1
22186 ac_status=$?
22187 grep -v '^ *+' conftest.er1 >conftest.err
22188 rm -f conftest.er1
22189 cat conftest.err >&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); } && {
22192 test -z "$ac_c_werror_flag" ||
22193 test ! -s conftest.err
22194 } && test -s conftest.$ac_objext; then
22195 ac_lo=$ac_mid; break
22196 else
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.$ac_ext >&5
22199
22200 ac_hi=`expr '(' $ac_mid ')' - 1`
22201 if test $ac_mid -le $ac_hi; then
22202 ac_lo= ac_hi=
22203 break
22204 fi
22205 ac_mid=`expr 2 '*' $ac_mid`
22206 fi
22207
22208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22209 done
22210 else
22211 echo "$as_me: failed program was:" >&5
22212 sed 's/^/| /' conftest.$ac_ext >&5
22213
22214 ac_lo= ac_hi=
22215 fi
22216
22217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22218 fi
22219
22220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22221 # Binary search between lo and hi bounds.
22222 while test "x$ac_lo" != "x$ac_hi"; do
22223 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22224 cat >conftest.$ac_ext <<_ACEOF
22225 /* confdefs.h. */
22226 _ACEOF
22227 cat confdefs.h >>conftest.$ac_ext
22228 cat >>conftest.$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22230 $ac_includes_default
22231 typedef long long ac__type_sizeof_;
22232 int
22233 main ()
22234 {
22235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22236 test_array [0] = 0
22237
22238 ;
22239 return 0;
22240 }
22241 _ACEOF
22242 rm -f conftest.$ac_objext
22243 if { (ac_try="$ac_compile"
22244 case "(($ac_try" in
22245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22246 *) ac_try_echo=$ac_try;;
22247 esac
22248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22249 (eval "$ac_compile") 2>conftest.er1
22250 ac_status=$?
22251 grep -v '^ *+' conftest.er1 >conftest.err
22252 rm -f conftest.er1
22253 cat conftest.err >&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); } && {
22256 test -z "$ac_c_werror_flag" ||
22257 test ! -s conftest.err
22258 } && test -s conftest.$ac_objext; then
22259 ac_hi=$ac_mid
22260 else
22261 echo "$as_me: failed program was:" >&5
22262 sed 's/^/| /' conftest.$ac_ext >&5
22263
22264 ac_lo=`expr '(' $ac_mid ')' + 1`
22265 fi
22266
22267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22268 done
22269 case $ac_lo in
22270 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22271 '') if test "$ac_cv_type_long_long" = yes; then
22272 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22273 See \`config.log' for more details." >&5
22274 echo "$as_me: error: cannot compute sizeof (long long)
22275 See \`config.log' for more details." >&2;}
22276 { (exit 77); exit 77; }; }
22277 else
22278 ac_cv_sizeof_long_long=0
22279 fi ;;
22280 esac
22281 else
22282 cat >conftest.$ac_ext <<_ACEOF
22283 /* confdefs.h. */
22284 _ACEOF
22285 cat confdefs.h >>conftest.$ac_ext
22286 cat >>conftest.$ac_ext <<_ACEOF
22287 /* end confdefs.h. */
22288 $ac_includes_default
22289 typedef long long ac__type_sizeof_;
22290 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22291 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22292 #include <stdio.h>
22293 #include <stdlib.h>
22294 int
22295 main ()
22296 {
22297
22298 FILE *f = fopen ("conftest.val", "w");
22299 if (! f)
22300 return 1;
22301 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22302 {
22303 long int i = longval ();
22304 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22305 return 1;
22306 fprintf (f, "%ld\n", i);
22307 }
22308 else
22309 {
22310 unsigned long int i = ulongval ();
22311 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22312 return 1;
22313 fprintf (f, "%lu\n", i);
22314 }
22315 return ferror (f) || fclose (f) != 0;
22316
22317 ;
22318 return 0;
22319 }
22320 _ACEOF
22321 rm -f conftest$ac_exeext
22322 if { (ac_try="$ac_link"
22323 case "(($ac_try" in
22324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22325 *) ac_try_echo=$ac_try;;
22326 esac
22327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22328 (eval "$ac_link") 2>&5
22329 ac_status=$?
22330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22332 { (case "(($ac_try" in
22333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22334 *) ac_try_echo=$ac_try;;
22335 esac
22336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22337 (eval "$ac_try") 2>&5
22338 ac_status=$?
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); }; }; then
22341 ac_cv_sizeof_long_long=`cat conftest.val`
22342 else
22343 echo "$as_me: program exited with status $ac_status" >&5
22344 echo "$as_me: failed program was:" >&5
22345 sed 's/^/| /' conftest.$ac_ext >&5
22346
22347 ( exit $ac_status )
22348 if test "$ac_cv_type_long_long" = yes; then
22349 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22350 See \`config.log' for more details." >&5
22351 echo "$as_me: error: cannot compute sizeof (long long)
22352 See \`config.log' for more details." >&2;}
22353 { (exit 77); exit 77; }; }
22354 else
22355 ac_cv_sizeof_long_long=0
22356 fi
22357 fi
22358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22359 fi
22360 rm -f conftest.val
22361 fi
22362 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22363 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22364
22365
22366
22367 cat >>confdefs.h <<_ACEOF
22368 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22369 _ACEOF
22370
22371
22372 if test "$ac_cv_sizeof_long_long" != 0; then
22373 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22374 fi
22375 ;;
22376 * )
22377 { echo "$as_me:$LINENO: checking for long long" >&5
22378 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22379 if test "${ac_cv_type_long_long+set}" = set; then
22380 echo $ECHO_N "(cached) $ECHO_C" >&6
22381 else
22382 cat >conftest.$ac_ext <<_ACEOF
22383 /* confdefs.h. */
22384 _ACEOF
22385 cat confdefs.h >>conftest.$ac_ext
22386 cat >>conftest.$ac_ext <<_ACEOF
22387 /* end confdefs.h. */
22388 $ac_includes_default
22389 typedef long long ac__type_new_;
22390 int
22391 main ()
22392 {
22393 if ((ac__type_new_ *) 0)
22394 return 0;
22395 if (sizeof (ac__type_new_))
22396 return 0;
22397 ;
22398 return 0;
22399 }
22400 _ACEOF
22401 rm -f conftest.$ac_objext
22402 if { (ac_try="$ac_compile"
22403 case "(($ac_try" in
22404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22405 *) ac_try_echo=$ac_try;;
22406 esac
22407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22408 (eval "$ac_compile") 2>conftest.er1
22409 ac_status=$?
22410 grep -v '^ *+' conftest.er1 >conftest.err
22411 rm -f conftest.er1
22412 cat conftest.err >&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } && {
22415 test -z "$ac_c_werror_flag" ||
22416 test ! -s conftest.err
22417 } && test -s conftest.$ac_objext; then
22418 ac_cv_type_long_long=yes
22419 else
22420 echo "$as_me: failed program was:" >&5
22421 sed 's/^/| /' conftest.$ac_ext >&5
22422
22423 ac_cv_type_long_long=no
22424 fi
22425
22426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22427 fi
22428 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22429 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22430
22431 # The cast to long int works around a bug in the HP C Compiler
22432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22434 # This bug is HP SR number 8606223364.
22435 { echo "$as_me:$LINENO: checking size of long long" >&5
22436 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22437 if test "${ac_cv_sizeof_long_long+set}" = set; then
22438 echo $ECHO_N "(cached) $ECHO_C" >&6
22439 else
22440 if test "$cross_compiling" = yes; then
22441 # Depending upon the size, compute the lo and hi bounds.
22442 cat >conftest.$ac_ext <<_ACEOF
22443 /* confdefs.h. */
22444 _ACEOF
22445 cat confdefs.h >>conftest.$ac_ext
22446 cat >>conftest.$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22448 $ac_includes_default
22449 typedef long long ac__type_sizeof_;
22450 int
22451 main ()
22452 {
22453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22454 test_array [0] = 0
22455
22456 ;
22457 return 0;
22458 }
22459 _ACEOF
22460 rm -f conftest.$ac_objext
22461 if { (ac_try="$ac_compile"
22462 case "(($ac_try" in
22463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22464 *) ac_try_echo=$ac_try;;
22465 esac
22466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22467 (eval "$ac_compile") 2>conftest.er1
22468 ac_status=$?
22469 grep -v '^ *+' conftest.er1 >conftest.err
22470 rm -f conftest.er1
22471 cat conftest.err >&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); } && {
22474 test -z "$ac_c_werror_flag" ||
22475 test ! -s conftest.err
22476 } && test -s conftest.$ac_objext; then
22477 ac_lo=0 ac_mid=0
22478 while :; do
22479 cat >conftest.$ac_ext <<_ACEOF
22480 /* confdefs.h. */
22481 _ACEOF
22482 cat confdefs.h >>conftest.$ac_ext
22483 cat >>conftest.$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22485 $ac_includes_default
22486 typedef long long ac__type_sizeof_;
22487 int
22488 main ()
22489 {
22490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22491 test_array [0] = 0
22492
22493 ;
22494 return 0;
22495 }
22496 _ACEOF
22497 rm -f conftest.$ac_objext
22498 if { (ac_try="$ac_compile"
22499 case "(($ac_try" in
22500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22502 esac
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_compile") 2>conftest.er1
22505 ac_status=$?
22506 grep -v '^ *+' conftest.er1 >conftest.err
22507 rm -f conftest.er1
22508 cat conftest.err >&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); } && {
22511 test -z "$ac_c_werror_flag" ||
22512 test ! -s conftest.err
22513 } && test -s conftest.$ac_objext; then
22514 ac_hi=$ac_mid; break
22515 else
22516 echo "$as_me: failed program was:" >&5
22517 sed 's/^/| /' conftest.$ac_ext >&5
22518
22519 ac_lo=`expr $ac_mid + 1`
22520 if test $ac_lo -le $ac_mid; then
22521 ac_lo= ac_hi=
22522 break
22523 fi
22524 ac_mid=`expr 2 '*' $ac_mid + 1`
22525 fi
22526
22527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22528 done
22529 else
22530 echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.$ac_ext >&5
22532
22533 cat >conftest.$ac_ext <<_ACEOF
22534 /* confdefs.h. */
22535 _ACEOF
22536 cat confdefs.h >>conftest.$ac_ext
22537 cat >>conftest.$ac_ext <<_ACEOF
22538 /* end confdefs.h. */
22539 $ac_includes_default
22540 typedef long long ac__type_sizeof_;
22541 int
22542 main ()
22543 {
22544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22545 test_array [0] = 0
22546
22547 ;
22548 return 0;
22549 }
22550 _ACEOF
22551 rm -f conftest.$ac_objext
22552 if { (ac_try="$ac_compile"
22553 case "(($ac_try" in
22554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22555 *) ac_try_echo=$ac_try;;
22556 esac
22557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22558 (eval "$ac_compile") 2>conftest.er1
22559 ac_status=$?
22560 grep -v '^ *+' conftest.er1 >conftest.err
22561 rm -f conftest.er1
22562 cat conftest.err >&5
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); } && {
22565 test -z "$ac_c_werror_flag" ||
22566 test ! -s conftest.err
22567 } && test -s conftest.$ac_objext; then
22568 ac_hi=-1 ac_mid=-1
22569 while :; do
22570 cat >conftest.$ac_ext <<_ACEOF
22571 /* confdefs.h. */
22572 _ACEOF
22573 cat confdefs.h >>conftest.$ac_ext
22574 cat >>conftest.$ac_ext <<_ACEOF
22575 /* end confdefs.h. */
22576 $ac_includes_default
22577 typedef long long ac__type_sizeof_;
22578 int
22579 main ()
22580 {
22581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22582 test_array [0] = 0
22583
22584 ;
22585 return 0;
22586 }
22587 _ACEOF
22588 rm -f conftest.$ac_objext
22589 if { (ac_try="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22593 esac
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22596 ac_status=$?
22597 grep -v '^ *+' conftest.er1 >conftest.err
22598 rm -f conftest.er1
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } && {
22602 test -z "$ac_c_werror_flag" ||
22603 test ! -s conftest.err
22604 } && test -s conftest.$ac_objext; then
22605 ac_lo=$ac_mid; break
22606 else
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.$ac_ext >&5
22609
22610 ac_hi=`expr '(' $ac_mid ')' - 1`
22611 if test $ac_mid -le $ac_hi; then
22612 ac_lo= ac_hi=
22613 break
22614 fi
22615 ac_mid=`expr 2 '*' $ac_mid`
22616 fi
22617
22618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22619 done
22620 else
22621 echo "$as_me: failed program was:" >&5
22622 sed 's/^/| /' conftest.$ac_ext >&5
22623
22624 ac_lo= ac_hi=
22625 fi
22626
22627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22628 fi
22629
22630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22631 # Binary search between lo and hi bounds.
22632 while test "x$ac_lo" != "x$ac_hi"; do
22633 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22634 cat >conftest.$ac_ext <<_ACEOF
22635 /* confdefs.h. */
22636 _ACEOF
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22640 $ac_includes_default
22641 typedef long long ac__type_sizeof_;
22642 int
22643 main ()
22644 {
22645 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22646 test_array [0] = 0
22647
22648 ;
22649 return 0;
22650 }
22651 _ACEOF
22652 rm -f conftest.$ac_objext
22653 if { (ac_try="$ac_compile"
22654 case "(($ac_try" in
22655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22656 *) ac_try_echo=$ac_try;;
22657 esac
22658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22659 (eval "$ac_compile") 2>conftest.er1
22660 ac_status=$?
22661 grep -v '^ *+' conftest.er1 >conftest.err
22662 rm -f conftest.er1
22663 cat conftest.err >&5
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); } && {
22666 test -z "$ac_c_werror_flag" ||
22667 test ! -s conftest.err
22668 } && test -s conftest.$ac_objext; then
22669 ac_hi=$ac_mid
22670 else
22671 echo "$as_me: failed program was:" >&5
22672 sed 's/^/| /' conftest.$ac_ext >&5
22673
22674 ac_lo=`expr '(' $ac_mid ')' + 1`
22675 fi
22676
22677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 done
22679 case $ac_lo in
22680 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22681 '') if test "$ac_cv_type_long_long" = yes; then
22682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22683 See \`config.log' for more details." >&5
22684 echo "$as_me: error: cannot compute sizeof (long long)
22685 See \`config.log' for more details." >&2;}
22686 { (exit 77); exit 77; }; }
22687 else
22688 ac_cv_sizeof_long_long=0
22689 fi ;;
22690 esac
22691 else
22692 cat >conftest.$ac_ext <<_ACEOF
22693 /* confdefs.h. */
22694 _ACEOF
22695 cat confdefs.h >>conftest.$ac_ext
22696 cat >>conftest.$ac_ext <<_ACEOF
22697 /* end confdefs.h. */
22698 $ac_includes_default
22699 typedef long long ac__type_sizeof_;
22700 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22701 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22702 #include <stdio.h>
22703 #include <stdlib.h>
22704 int
22705 main ()
22706 {
22707
22708 FILE *f = fopen ("conftest.val", "w");
22709 if (! f)
22710 return 1;
22711 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22712 {
22713 long int i = longval ();
22714 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22715 return 1;
22716 fprintf (f, "%ld\n", i);
22717 }
22718 else
22719 {
22720 unsigned long int i = ulongval ();
22721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22722 return 1;
22723 fprintf (f, "%lu\n", i);
22724 }
22725 return ferror (f) || fclose (f) != 0;
22726
22727 ;
22728 return 0;
22729 }
22730 _ACEOF
22731 rm -f conftest$ac_exeext
22732 if { (ac_try="$ac_link"
22733 case "(($ac_try" in
22734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22735 *) ac_try_echo=$ac_try;;
22736 esac
22737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22738 (eval "$ac_link") 2>&5
22739 ac_status=$?
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22742 { (case "(($ac_try" in
22743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22744 *) ac_try_echo=$ac_try;;
22745 esac
22746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22747 (eval "$ac_try") 2>&5
22748 ac_status=$?
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); }; }; then
22751 ac_cv_sizeof_long_long=`cat conftest.val`
22752 else
22753 echo "$as_me: program exited with status $ac_status" >&5
22754 echo "$as_me: failed program was:" >&5
22755 sed 's/^/| /' conftest.$ac_ext >&5
22756
22757 ( exit $ac_status )
22758 if test "$ac_cv_type_long_long" = yes; then
22759 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22760 See \`config.log' for more details." >&5
22761 echo "$as_me: error: cannot compute sizeof (long long)
22762 See \`config.log' for more details." >&2;}
22763 { (exit 77); exit 77; }; }
22764 else
22765 ac_cv_sizeof_long_long=0
22766 fi
22767 fi
22768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22769 fi
22770 rm -f conftest.val
22771 fi
22772 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22773 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22774
22775
22776
22777 cat >>confdefs.h <<_ACEOF
22778 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22779 _ACEOF
22780
22781
22782 esac
22783
22784 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22785 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22786 if test "${ac_cv_type_wchar_t+set}" = set; then
22787 echo $ECHO_N "(cached) $ECHO_C" >&6
22788 else
22789 cat >conftest.$ac_ext <<_ACEOF
22790 /* confdefs.h. */
22791 _ACEOF
22792 cat confdefs.h >>conftest.$ac_ext
22793 cat >>conftest.$ac_ext <<_ACEOF
22794 /* end confdefs.h. */
22795
22796 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22797 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22798 # error "fake wchar_t"
22799 #endif
22800 #ifdef HAVE_WCHAR_H
22801 # ifdef __CYGWIN__
22802 # include <stddef.h>
22803 # endif
22804 # include <wchar.h>
22805 #endif
22806 #ifdef HAVE_STDLIB_H
22807 # include <stdlib.h>
22808 #endif
22809 #include <stdio.h>
22810
22811
22812
22813 typedef wchar_t ac__type_new_;
22814 int
22815 main ()
22816 {
22817 if ((ac__type_new_ *) 0)
22818 return 0;
22819 if (sizeof (ac__type_new_))
22820 return 0;
22821 ;
22822 return 0;
22823 }
22824 _ACEOF
22825 rm -f conftest.$ac_objext
22826 if { (ac_try="$ac_compile"
22827 case "(($ac_try" in
22828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22829 *) ac_try_echo=$ac_try;;
22830 esac
22831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22832 (eval "$ac_compile") 2>conftest.er1
22833 ac_status=$?
22834 grep -v '^ *+' conftest.er1 >conftest.err
22835 rm -f conftest.er1
22836 cat conftest.err >&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); } && {
22839 test -z "$ac_c_werror_flag" ||
22840 test ! -s conftest.err
22841 } && test -s conftest.$ac_objext; then
22842 ac_cv_type_wchar_t=yes
22843 else
22844 echo "$as_me: failed program was:" >&5
22845 sed 's/^/| /' conftest.$ac_ext >&5
22846
22847 ac_cv_type_wchar_t=no
22848 fi
22849
22850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22851 fi
22852 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22853 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22854
22855 # The cast to long int works around a bug in the HP C Compiler
22856 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22857 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22858 # This bug is HP SR number 8606223364.
22859 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22860 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22861 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22863 else
22864 if test "$cross_compiling" = yes; then
22865 # Depending upon the size, compute the lo and hi bounds.
22866 cat >conftest.$ac_ext <<_ACEOF
22867 /* confdefs.h. */
22868 _ACEOF
22869 cat confdefs.h >>conftest.$ac_ext
22870 cat >>conftest.$ac_ext <<_ACEOF
22871 /* end confdefs.h. */
22872
22873 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22874 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22875 # error "fake wchar_t"
22876 #endif
22877 #ifdef HAVE_WCHAR_H
22878 # ifdef __CYGWIN__
22879 # include <stddef.h>
22880 # endif
22881 # include <wchar.h>
22882 #endif
22883 #ifdef HAVE_STDLIB_H
22884 # include <stdlib.h>
22885 #endif
22886 #include <stdio.h>
22887
22888
22889
22890 typedef wchar_t ac__type_sizeof_;
22891 int
22892 main ()
22893 {
22894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22895 test_array [0] = 0
22896
22897 ;
22898 return 0;
22899 }
22900 _ACEOF
22901 rm -f conftest.$ac_objext
22902 if { (ac_try="$ac_compile"
22903 case "(($ac_try" in
22904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22905 *) ac_try_echo=$ac_try;;
22906 esac
22907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22908 (eval "$ac_compile") 2>conftest.er1
22909 ac_status=$?
22910 grep -v '^ *+' conftest.er1 >conftest.err
22911 rm -f conftest.er1
22912 cat conftest.err >&5
22913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22914 (exit $ac_status); } && {
22915 test -z "$ac_c_werror_flag" ||
22916 test ! -s conftest.err
22917 } && test -s conftest.$ac_objext; then
22918 ac_lo=0 ac_mid=0
22919 while :; do
22920 cat >conftest.$ac_ext <<_ACEOF
22921 /* confdefs.h. */
22922 _ACEOF
22923 cat confdefs.h >>conftest.$ac_ext
22924 cat >>conftest.$ac_ext <<_ACEOF
22925 /* end confdefs.h. */
22926
22927 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22928 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22929 # error "fake wchar_t"
22930 #endif
22931 #ifdef HAVE_WCHAR_H
22932 # ifdef __CYGWIN__
22933 # include <stddef.h>
22934 # endif
22935 # include <wchar.h>
22936 #endif
22937 #ifdef HAVE_STDLIB_H
22938 # include <stdlib.h>
22939 #endif
22940 #include <stdio.h>
22941
22942
22943
22944 typedef wchar_t ac__type_sizeof_;
22945 int
22946 main ()
22947 {
22948 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22949 test_array [0] = 0
22950
22951 ;
22952 return 0;
22953 }
22954 _ACEOF
22955 rm -f conftest.$ac_objext
22956 if { (ac_try="$ac_compile"
22957 case "(($ac_try" in
22958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22959 *) ac_try_echo=$ac_try;;
22960 esac
22961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22962 (eval "$ac_compile") 2>conftest.er1
22963 ac_status=$?
22964 grep -v '^ *+' conftest.er1 >conftest.err
22965 rm -f conftest.er1
22966 cat conftest.err >&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } && {
22969 test -z "$ac_c_werror_flag" ||
22970 test ! -s conftest.err
22971 } && test -s conftest.$ac_objext; then
22972 ac_hi=$ac_mid; break
22973 else
22974 echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.$ac_ext >&5
22976
22977 ac_lo=`expr $ac_mid + 1`
22978 if test $ac_lo -le $ac_mid; then
22979 ac_lo= ac_hi=
22980 break
22981 fi
22982 ac_mid=`expr 2 '*' $ac_mid + 1`
22983 fi
22984
22985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22986 done
22987 else
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.$ac_ext >&5
22990
22991 cat >conftest.$ac_ext <<_ACEOF
22992 /* confdefs.h. */
22993 _ACEOF
22994 cat confdefs.h >>conftest.$ac_ext
22995 cat >>conftest.$ac_ext <<_ACEOF
22996 /* end confdefs.h. */
22997
22998 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22999 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23000 # error "fake wchar_t"
23001 #endif
23002 #ifdef HAVE_WCHAR_H
23003 # ifdef __CYGWIN__
23004 # include <stddef.h>
23005 # endif
23006 # include <wchar.h>
23007 #endif
23008 #ifdef HAVE_STDLIB_H
23009 # include <stdlib.h>
23010 #endif
23011 #include <stdio.h>
23012
23013
23014
23015 typedef wchar_t ac__type_sizeof_;
23016 int
23017 main ()
23018 {
23019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23020 test_array [0] = 0
23021
23022 ;
23023 return 0;
23024 }
23025 _ACEOF
23026 rm -f conftest.$ac_objext
23027 if { (ac_try="$ac_compile"
23028 case "(($ac_try" in
23029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23030 *) ac_try_echo=$ac_try;;
23031 esac
23032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23033 (eval "$ac_compile") 2>conftest.er1
23034 ac_status=$?
23035 grep -v '^ *+' conftest.er1 >conftest.err
23036 rm -f conftest.er1
23037 cat conftest.err >&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); } && {
23040 test -z "$ac_c_werror_flag" ||
23041 test ! -s conftest.err
23042 } && test -s conftest.$ac_objext; then
23043 ac_hi=-1 ac_mid=-1
23044 while :; do
23045 cat >conftest.$ac_ext <<_ACEOF
23046 /* confdefs.h. */
23047 _ACEOF
23048 cat confdefs.h >>conftest.$ac_ext
23049 cat >>conftest.$ac_ext <<_ACEOF
23050 /* end confdefs.h. */
23051
23052 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23053 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23054 # error "fake wchar_t"
23055 #endif
23056 #ifdef HAVE_WCHAR_H
23057 # ifdef __CYGWIN__
23058 # include <stddef.h>
23059 # endif
23060 # include <wchar.h>
23061 #endif
23062 #ifdef HAVE_STDLIB_H
23063 # include <stdlib.h>
23064 #endif
23065 #include <stdio.h>
23066
23067
23068
23069 typedef wchar_t ac__type_sizeof_;
23070 int
23071 main ()
23072 {
23073 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23074 test_array [0] = 0
23075
23076 ;
23077 return 0;
23078 }
23079 _ACEOF
23080 rm -f conftest.$ac_objext
23081 if { (ac_try="$ac_compile"
23082 case "(($ac_try" in
23083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23084 *) ac_try_echo=$ac_try;;
23085 esac
23086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23087 (eval "$ac_compile") 2>conftest.er1
23088 ac_status=$?
23089 grep -v '^ *+' conftest.er1 >conftest.err
23090 rm -f conftest.er1
23091 cat conftest.err >&5
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); } && {
23094 test -z "$ac_c_werror_flag" ||
23095 test ! -s conftest.err
23096 } && test -s conftest.$ac_objext; then
23097 ac_lo=$ac_mid; break
23098 else
23099 echo "$as_me: failed program was:" >&5
23100 sed 's/^/| /' conftest.$ac_ext >&5
23101
23102 ac_hi=`expr '(' $ac_mid ')' - 1`
23103 if test $ac_mid -le $ac_hi; then
23104 ac_lo= ac_hi=
23105 break
23106 fi
23107 ac_mid=`expr 2 '*' $ac_mid`
23108 fi
23109
23110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23111 done
23112 else
23113 echo "$as_me: failed program was:" >&5
23114 sed 's/^/| /' conftest.$ac_ext >&5
23115
23116 ac_lo= ac_hi=
23117 fi
23118
23119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23120 fi
23121
23122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23123 # Binary search between lo and hi bounds.
23124 while test "x$ac_lo" != "x$ac_hi"; do
23125 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23126 cat >conftest.$ac_ext <<_ACEOF
23127 /* confdefs.h. */
23128 _ACEOF
23129 cat confdefs.h >>conftest.$ac_ext
23130 cat >>conftest.$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132
23133 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23134 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23135 # error "fake wchar_t"
23136 #endif
23137 #ifdef HAVE_WCHAR_H
23138 # ifdef __CYGWIN__
23139 # include <stddef.h>
23140 # endif
23141 # include <wchar.h>
23142 #endif
23143 #ifdef HAVE_STDLIB_H
23144 # include <stdlib.h>
23145 #endif
23146 #include <stdio.h>
23147
23148
23149
23150 typedef wchar_t ac__type_sizeof_;
23151 int
23152 main ()
23153 {
23154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23155 test_array [0] = 0
23156
23157 ;
23158 return 0;
23159 }
23160 _ACEOF
23161 rm -f conftest.$ac_objext
23162 if { (ac_try="$ac_compile"
23163 case "(($ac_try" in
23164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23165 *) ac_try_echo=$ac_try;;
23166 esac
23167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23168 (eval "$ac_compile") 2>conftest.er1
23169 ac_status=$?
23170 grep -v '^ *+' conftest.er1 >conftest.err
23171 rm -f conftest.er1
23172 cat conftest.err >&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } && {
23175 test -z "$ac_c_werror_flag" ||
23176 test ! -s conftest.err
23177 } && test -s conftest.$ac_objext; then
23178 ac_hi=$ac_mid
23179 else
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.$ac_ext >&5
23182
23183 ac_lo=`expr '(' $ac_mid ')' + 1`
23184 fi
23185
23186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23187 done
23188 case $ac_lo in
23189 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23190 '') if test "$ac_cv_type_wchar_t" = yes; then
23191 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23192 See \`config.log' for more details." >&5
23193 echo "$as_me: error: cannot compute sizeof (wchar_t)
23194 See \`config.log' for more details." >&2;}
23195 { (exit 77); exit 77; }; }
23196 else
23197 ac_cv_sizeof_wchar_t=0
23198 fi ;;
23199 esac
23200 else
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207
23208 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23209 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23210 # error "fake wchar_t"
23211 #endif
23212 #ifdef HAVE_WCHAR_H
23213 # ifdef __CYGWIN__
23214 # include <stddef.h>
23215 # endif
23216 # include <wchar.h>
23217 #endif
23218 #ifdef HAVE_STDLIB_H
23219 # include <stdlib.h>
23220 #endif
23221 #include <stdio.h>
23222
23223
23224
23225 typedef wchar_t ac__type_sizeof_;
23226 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23227 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23228 #include <stdio.h>
23229 #include <stdlib.h>
23230 int
23231 main ()
23232 {
23233
23234 FILE *f = fopen ("conftest.val", "w");
23235 if (! f)
23236 return 1;
23237 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23238 {
23239 long int i = longval ();
23240 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23241 return 1;
23242 fprintf (f, "%ld\n", i);
23243 }
23244 else
23245 {
23246 unsigned long int i = ulongval ();
23247 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23248 return 1;
23249 fprintf (f, "%lu\n", i);
23250 }
23251 return ferror (f) || fclose (f) != 0;
23252
23253 ;
23254 return 0;
23255 }
23256 _ACEOF
23257 rm -f conftest$ac_exeext
23258 if { (ac_try="$ac_link"
23259 case "(($ac_try" in
23260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23261 *) ac_try_echo=$ac_try;;
23262 esac
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_link") 2>&5
23265 ac_status=$?
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23268 { (case "(($ac_try" in
23269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23270 *) ac_try_echo=$ac_try;;
23271 esac
23272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23273 (eval "$ac_try") 2>&5
23274 ac_status=$?
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); }; }; then
23277 ac_cv_sizeof_wchar_t=`cat conftest.val`
23278 else
23279 echo "$as_me: program exited with status $ac_status" >&5
23280 echo "$as_me: failed program was:" >&5
23281 sed 's/^/| /' conftest.$ac_ext >&5
23282
23283 ( exit $ac_status )
23284 if test "$ac_cv_type_wchar_t" = yes; then
23285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23286 See \`config.log' for more details." >&5
23287 echo "$as_me: error: cannot compute sizeof (wchar_t)
23288 See \`config.log' for more details." >&2;}
23289 { (exit 77); exit 77; }; }
23290 else
23291 ac_cv_sizeof_wchar_t=0
23292 fi
23293 fi
23294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23295 fi
23296 rm -f conftest.val
23297 fi
23298 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23299 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23300
23301
23302
23303 cat >>confdefs.h <<_ACEOF
23304 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23305 _ACEOF
23306
23307
23308 if test "$ac_cv_sizeof_wchar_t" != 0; then
23309 wxUSE_WCHAR_T=yes
23310 else
23311 wxUSE_WCHAR_T=no
23312 fi
23313
23314 { echo "$as_me:$LINENO: checking for va_copy" >&5
23315 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23316 if test "${wx_cv_func_va_copy+set}" = set; then
23317 echo $ECHO_N "(cached) $ECHO_C" >&6
23318 else
23319
23320 ac_ext=cpp
23321 ac_cpp='$CXXCPP $CPPFLAGS'
23322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23325
23326 cat >conftest.$ac_ext <<_ACEOF
23327
23328 #include <stdarg.h>
23329 void foo(char *f, ...)
23330 {
23331 va_list ap1, ap2;
23332 va_start(ap1, f);
23333 va_copy(ap2, ap1);
23334 va_end(ap2);
23335 va_end(ap1);
23336 }
23337 int main()
23338 {
23339 foo("hi", 17);
23340 return 0;
23341 }
23342 _ACEOF
23343 rm -f conftest.$ac_objext conftest$ac_exeext
23344 if { (ac_try="$ac_link"
23345 case "(($ac_try" in
23346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23347 *) ac_try_echo=$ac_try;;
23348 esac
23349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23350 (eval "$ac_link") 2>conftest.er1
23351 ac_status=$?
23352 grep -v '^ *+' conftest.er1 >conftest.err
23353 rm -f conftest.er1
23354 cat conftest.err >&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); } && {
23357 test -z "$ac_cxx_werror_flag" ||
23358 test ! -s conftest.err
23359 } && test -s conftest$ac_exeext &&
23360 $as_test_x conftest$ac_exeext; then
23361 wx_cv_func_va_copy=yes
23362 else
23363 echo "$as_me: failed program was:" >&5
23364 sed 's/^/| /' conftest.$ac_ext >&5
23365
23366 wx_cv_func_va_copy=no
23367
23368 fi
23369
23370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23371 conftest$ac_exeext conftest.$ac_ext
23372 ac_ext=c
23373 ac_cpp='$CPP $CPPFLAGS'
23374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23377
23378
23379
23380 fi
23381 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23382 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23383
23384 if test $wx_cv_func_va_copy = "yes"; then
23385 cat >>confdefs.h <<\_ACEOF
23386 #define HAVE_VA_COPY 1
23387 _ACEOF
23388
23389 else
23390 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23391 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23392 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23394 else
23395
23396 if test "$cross_compiling" = yes; then
23397 wx_cv_type_va_list_lvalue=yes
23398
23399 else
23400 cat >conftest.$ac_ext <<_ACEOF
23401
23402 #include <stdarg.h>
23403 int foo(char *f, ...)
23404 {
23405 va_list ap1, ap2;
23406 va_start(ap1, f);
23407 ap2 = ap1;
23408 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23409 return 1;
23410 va_end(ap2);
23411 va_end(ap1);
23412 return 0;
23413 }
23414 int main()
23415 {
23416 return foo("hi", 17);
23417 }
23418 _ACEOF
23419 rm -f conftest$ac_exeext
23420 if { (ac_try="$ac_link"
23421 case "(($ac_try" in
23422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23423 *) ac_try_echo=$ac_try;;
23424 esac
23425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23426 (eval "$ac_link") 2>&5
23427 ac_status=$?
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23430 { (case "(($ac_try" in
23431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23432 *) ac_try_echo=$ac_try;;
23433 esac
23434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23435 (eval "$ac_try") 2>&5
23436 ac_status=$?
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; }; then
23439 wx_cv_type_va_list_lvalue=yes
23440 else
23441 echo "$as_me: program exited with status $ac_status" >&5
23442 echo "$as_me: failed program was:" >&5
23443 sed 's/^/| /' conftest.$ac_ext >&5
23444
23445 ( exit $ac_status )
23446 wx_cv_type_va_list_lvalue=no
23447 fi
23448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23449 fi
23450
23451
23452
23453
23454 fi
23455 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23456 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23457
23458 if test $wx_cv_type_va_list_lvalue != "yes"; then
23459 cat >>confdefs.h <<\_ACEOF
23460 #define VA_LIST_IS_ARRAY 1
23461 _ACEOF
23462
23463 fi
23464 fi
23465
23466 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23467
23468 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23469 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23470 if test "${wx_cv_have_variadic_macros+set}" = set; then
23471 echo $ECHO_N "(cached) $ECHO_C" >&6
23472 else
23473
23474 ac_ext=cpp
23475 ac_cpp='$CXXCPP $CPPFLAGS'
23476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23479
23480 cat >conftest.$ac_ext <<_ACEOF
23481 /* confdefs.h. */
23482 _ACEOF
23483 cat confdefs.h >>conftest.$ac_ext
23484 cat >>conftest.$ac_ext <<_ACEOF
23485 /* end confdefs.h. */
23486
23487 #include <stdio.h>
23488 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23489
23490 int
23491 main ()
23492 {
23493
23494 test("%s %d %p", "test", 1, 0);
23495
23496
23497 ;
23498 return 0;
23499 }
23500 _ACEOF
23501 rm -f conftest.$ac_objext
23502 if { (ac_try="$ac_compile"
23503 case "(($ac_try" in
23504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23505 *) ac_try_echo=$ac_try;;
23506 esac
23507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23508 (eval "$ac_compile") 2>conftest.er1
23509 ac_status=$?
23510 grep -v '^ *+' conftest.er1 >conftest.err
23511 rm -f conftest.er1
23512 cat conftest.err >&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); } && {
23515 test -z "$ac_cxx_werror_flag" ||
23516 test ! -s conftest.err
23517 } && test -s conftest.$ac_objext; then
23518 wx_cv_have_variadic_macros=yes
23519 else
23520 echo "$as_me: failed program was:" >&5
23521 sed 's/^/| /' conftest.$ac_ext >&5
23522
23523 wx_cv_have_variadic_macros=no
23524
23525 fi
23526
23527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23528 ac_ext=c
23529 ac_cpp='$CPP $CPPFLAGS'
23530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23533
23534
23535
23536 fi
23537 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23538 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23539
23540 if test $wx_cv_have_variadic_macros = "yes"; then
23541 cat >>confdefs.h <<\_ACEOF
23542 #define HAVE_VARIADIC_MACROS 1
23543 _ACEOF
23544
23545 fi
23546
23547 fi
23548
23549 LARGEFILE_CPPFLAGS=
23550 # Check whether --enable-largefile was given.
23551 if test "${enable_largefile+set}" = set; then
23552 enableval=$enable_largefile;
23553 fi
23554
23555 if test "$enable_largefile" != no; then
23556 wx_largefile=no
23557
23558 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23559 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23560 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23561 echo $ECHO_N "(cached) $ECHO_C" >&6
23562 else
23563
23564 cat >conftest.$ac_ext <<_ACEOF
23565 /* confdefs.h. */
23566 _ACEOF
23567 cat confdefs.h >>conftest.$ac_ext
23568 cat >>conftest.$ac_ext <<_ACEOF
23569 /* end confdefs.h. */
23570 #define _FILE_OFFSET_BITS 64
23571 #include <sys/types.h>
23572 int
23573 main ()
23574 {
23575 typedef struct {
23576 unsigned int field: sizeof(off_t) == 8;
23577 } wxlf;
23578
23579 ;
23580 return 0;
23581 }
23582 _ACEOF
23583 rm -f conftest.$ac_objext
23584 if { (ac_try="$ac_compile"
23585 case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23588 esac
23589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23590 (eval "$ac_compile") 2>conftest.er1
23591 ac_status=$?
23592 grep -v '^ *+' conftest.er1 >conftest.err
23593 rm -f conftest.er1
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } && {
23597 test -z "$ac_c_werror_flag" ||
23598 test ! -s conftest.err
23599 } && test -s conftest.$ac_objext; then
23600 ac_cv_sys_file_offset_bits=64
23601 else
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23604
23605 ac_cv_sys_file_offset_bits=no
23606 fi
23607
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609
23610
23611 fi
23612 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23613 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23614
23615 if test "$ac_cv_sys_file_offset_bits" != no; then
23616 wx_largefile=yes
23617 cat >>confdefs.h <<_ACEOF
23618 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23619 _ACEOF
23620
23621 fi
23622
23623 if test "x$wx_largefile" != "xyes"; then
23624
23625 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23626 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23627 if test "${ac_cv_sys_large_files+set}" = set; then
23628 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 else
23630
23631 cat >conftest.$ac_ext <<_ACEOF
23632 /* confdefs.h. */
23633 _ACEOF
23634 cat confdefs.h >>conftest.$ac_ext
23635 cat >>conftest.$ac_ext <<_ACEOF
23636 /* end confdefs.h. */
23637 #define _LARGE_FILES 1
23638 #include <sys/types.h>
23639 int
23640 main ()
23641 {
23642 typedef struct {
23643 unsigned int field: sizeof(off_t) == 8;
23644 } wxlf;
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_cv_sys_large_files=1
23668 else
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23671
23672 ac_cv_sys_large_files=no
23673 fi
23674
23675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23676
23677
23678 fi
23679 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23680 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23681
23682 if test "$ac_cv_sys_large_files" != no; then
23683 wx_largefile=yes
23684 cat >>confdefs.h <<_ACEOF
23685 #define _LARGE_FILES $ac_cv_sys_large_files
23686 _ACEOF
23687
23688 fi
23689
23690 fi
23691
23692 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23693 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23694 if test "x$wx_largefile" = "xyes"; then
23695 cat >>confdefs.h <<\_ACEOF
23696 #define HAVE_LARGEFILE_SUPPORT 1
23697 _ACEOF
23698
23699 fi
23700 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23701 echo "${ECHO_T}$wx_largefile" >&6; }
23702 fi
23703
23704 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23705 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23706 elif test "$ac_cv_sys_large_files" = 1; then
23707 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23708 fi
23709
23710 if test -n "$LARGEFILE_CPPFLAGS"; then
23711 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23712
23713 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23714 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23715 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23716 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23717 echo $ECHO_N "(cached) $ECHO_C" >&6
23718 else
23719
23720 ac_ext=cpp
23721 ac_cpp='$CXXCPP $CPPFLAGS'
23722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23725
23726 cat >conftest.$ac_ext <<_ACEOF
23727 /* confdefs.h. */
23728 _ACEOF
23729 cat confdefs.h >>conftest.$ac_ext
23730 cat >>conftest.$ac_ext <<_ACEOF
23731 /* end confdefs.h. */
23732
23733 int
23734 main ()
23735 {
23736
23737 #ifndef __STDC_EXT__
23738 choke me
23739 #endif
23740
23741 ;
23742 return 0;
23743 }
23744 _ACEOF
23745 rm -f conftest.$ac_objext
23746 if { (ac_try="$ac_compile"
23747 case "(($ac_try" in
23748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23749 *) ac_try_echo=$ac_try;;
23750 esac
23751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23752 (eval "$ac_compile") 2>conftest.er1
23753 ac_status=$?
23754 grep -v '^ *+' conftest.er1 >conftest.err
23755 rm -f conftest.er1
23756 cat conftest.err >&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); } && {
23759 test -z "$ac_cxx_werror_flag" ||
23760 test ! -s conftest.err
23761 } && test -s conftest.$ac_objext; then
23762 wx_cv_STDC_EXT_required=no
23763 else
23764 echo "$as_me: failed program was:" >&5
23765 sed 's/^/| /' conftest.$ac_ext >&5
23766
23767 wx_cv_STDC_EXT_required=yes
23768
23769 fi
23770
23771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23772 ac_ext=c
23773 ac_cpp='$CPP $CPPFLAGS'
23774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23777
23778
23779
23780 fi
23781 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23782 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23783 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23784 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23785 fi
23786 fi
23787 fi
23788
23789 ac_ext=cpp
23790 ac_cpp='$CXXCPP $CPPFLAGS'
23791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23794
23795 old_CPPFLAGS="$CPPFLAGS"
23796 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23797 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23798 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23799 if test "${ac_cv_sys_largefile_source+set}" = set; then
23800 echo $ECHO_N "(cached) $ECHO_C" >&6
23801 else
23802 while :; do
23803 cat >conftest.$ac_ext <<_ACEOF
23804 /* confdefs.h. */
23805 _ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23809 #include <sys/types.h> /* for off_t */
23810 #include <stdio.h>
23811 int
23812 main ()
23813 {
23814 int (*fp) (FILE *, off_t, int) = fseeko;
23815 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23816 ;
23817 return 0;
23818 }
23819 _ACEOF
23820 rm -f conftest.$ac_objext conftest$ac_exeext
23821 if { (ac_try="$ac_link"
23822 case "(($ac_try" in
23823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23824 *) ac_try_echo=$ac_try;;
23825 esac
23826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23827 (eval "$ac_link") 2>conftest.er1
23828 ac_status=$?
23829 grep -v '^ *+' conftest.er1 >conftest.err
23830 rm -f conftest.er1
23831 cat conftest.err >&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); } && {
23834 test -z "$ac_cxx_werror_flag" ||
23835 test ! -s conftest.err
23836 } && test -s conftest$ac_exeext &&
23837 $as_test_x conftest$ac_exeext; then
23838 ac_cv_sys_largefile_source=no; break
23839 else
23840 echo "$as_me: failed program was:" >&5
23841 sed 's/^/| /' conftest.$ac_ext >&5
23842
23843
23844 fi
23845
23846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23847 conftest$ac_exeext conftest.$ac_ext
23848 cat >conftest.$ac_ext <<_ACEOF
23849 /* confdefs.h. */
23850 _ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 #define _LARGEFILE_SOURCE 1
23855 #include <sys/types.h> /* for off_t */
23856 #include <stdio.h>
23857 int
23858 main ()
23859 {
23860 int (*fp) (FILE *, off_t, int) = fseeko;
23861 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23862 ;
23863 return 0;
23864 }
23865 _ACEOF
23866 rm -f conftest.$ac_objext conftest$ac_exeext
23867 if { (ac_try="$ac_link"
23868 case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23871 esac
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_link") 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } && {
23880 test -z "$ac_cxx_werror_flag" ||
23881 test ! -s conftest.err
23882 } && test -s conftest$ac_exeext &&
23883 $as_test_x conftest$ac_exeext; then
23884 ac_cv_sys_largefile_source=1; break
23885 else
23886 echo "$as_me: failed program was:" >&5
23887 sed 's/^/| /' conftest.$ac_ext >&5
23888
23889
23890 fi
23891
23892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23893 conftest$ac_exeext conftest.$ac_ext
23894 ac_cv_sys_largefile_source=unknown
23895 break
23896 done
23897 fi
23898 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23899 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23900 case $ac_cv_sys_largefile_source in #(
23901 no | unknown) ;;
23902 *)
23903 cat >>confdefs.h <<_ACEOF
23904 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23905 _ACEOF
23906 ;;
23907 esac
23908 rm -f conftest*
23909
23910 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23911 # in glibc 2.1.3, but that breaks too many other things.
23912 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23913 if test $ac_cv_sys_largefile_source != unknown; then
23914
23915 cat >>confdefs.h <<\_ACEOF
23916 #define HAVE_FSEEKO 1
23917 _ACEOF
23918
23919 fi
23920
23921 CPPFLAGS="$old_CPPFLAGS"
23922 ac_ext=c
23923 ac_cpp='$CPP $CPPFLAGS'
23924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23927
23928 if test "$ac_cv_sys_largefile_source" != no; then
23929 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23930 fi
23931
23932 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23933 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23934 if test "${ac_cv_c_bigendian+set}" = set; then
23935 echo $ECHO_N "(cached) $ECHO_C" >&6
23936 else
23937 ac_cv_c_bigendian=unknown
23938 # See if sys/param.h defines the BYTE_ORDER macro.
23939 cat >conftest.$ac_ext <<_ACEOF
23940 /* confdefs.h. */
23941 _ACEOF
23942 cat confdefs.h >>conftest.$ac_ext
23943 cat >>conftest.$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 #include <sys/types.h>
23946 #include <sys/param.h>
23947 int
23948 main ()
23949 {
23950
23951 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23952 bogus endian macros
23953 #endif
23954 ;
23955 return 0;
23956 }
23957 _ACEOF
23958 rm -f conftest.$ac_objext
23959 if { (ac_try="$ac_compile"
23960 case "(($ac_try" in
23961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23962 *) ac_try_echo=$ac_try;;
23963 esac
23964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23965 (eval "$ac_compile") 2>conftest.er1
23966 ac_status=$?
23967 grep -v '^ *+' conftest.er1 >conftest.err
23968 rm -f conftest.er1
23969 cat conftest.err >&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); } && {
23972 test -z "$ac_c_werror_flag" ||
23973 test ! -s conftest.err
23974 } && test -s conftest.$ac_objext; then
23975 # It does; now see whether it defined to BIG_ENDIAN or not.
23976 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 #include <sys/types.h>
23983 #include <sys/param.h>
23984 int
23985 main ()
23986 {
23987
23988 #if BYTE_ORDER != BIG_ENDIAN
23989 not big endian
23990 #endif
23991 ;
23992 return 0;
23993 }
23994 _ACEOF
23995 rm -f conftest.$ac_objext
23996 if { (ac_try="$ac_compile"
23997 case "(($ac_try" in
23998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24000 esac
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_compile") 2>conftest.er1
24003 ac_status=$?
24004 grep -v '^ *+' conftest.er1 >conftest.err
24005 rm -f conftest.er1
24006 cat conftest.err >&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } && {
24009 test -z "$ac_c_werror_flag" ||
24010 test ! -s conftest.err
24011 } && test -s conftest.$ac_objext; then
24012 ac_cv_c_bigendian=yes
24013 else
24014 echo "$as_me: failed program was:" >&5
24015 sed 's/^/| /' conftest.$ac_ext >&5
24016
24017 ac_cv_c_bigendian=no
24018 fi
24019
24020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24021 else
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24024
24025
24026 fi
24027
24028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24029 if test $ac_cv_c_bigendian = unknown; then
24030 if test "$cross_compiling" = yes; then
24031 ac_cv_c_bigendian=unknown
24032 else
24033 cat >conftest.$ac_ext <<_ACEOF
24034 /* confdefs.h. */
24035 _ACEOF
24036 cat confdefs.h >>conftest.$ac_ext
24037 cat >>conftest.$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24039 main () {
24040 /* Are we little or big endian? From Harbison&Steele. */
24041 union
24042 {
24043 long l;
24044 char c[sizeof (long)];
24045 } u;
24046 u.l = 1;
24047 exit (u.c[sizeof (long) - 1] == 1);
24048 }
24049 _ACEOF
24050 rm -f conftest$ac_exeext
24051 if { (ac_try="$ac_link"
24052 case "(($ac_try" in
24053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24054 *) ac_try_echo=$ac_try;;
24055 esac
24056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24057 (eval "$ac_link") 2>&5
24058 ac_status=$?
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24061 { (case "(($ac_try" in
24062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24063 *) ac_try_echo=$ac_try;;
24064 esac
24065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24066 (eval "$ac_try") 2>&5
24067 ac_status=$?
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); }; }; then
24070 ac_cv_c_bigendian=no
24071 else
24072 echo "$as_me: program exited with status $ac_status" >&5
24073 echo "$as_me: failed program was:" >&5
24074 sed 's/^/| /' conftest.$ac_ext >&5
24075
24076 ( exit $ac_status )
24077 ac_cv_c_bigendian=yes
24078 fi
24079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24080 fi
24081
24082
24083 fi
24084 fi
24085 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24086 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24087 if test $ac_cv_c_bigendian = unknown; then
24088 { 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
24089 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;}
24090 fi
24091 if test $ac_cv_c_bigendian = yes; then
24092 cat >>confdefs.h <<\_ACEOF
24093 #define WORDS_BIGENDIAN 1
24094 _ACEOF
24095
24096 fi
24097
24098
24099
24100
24101 ac_ext=cpp
24102 ac_cpp='$CXXCPP $CPPFLAGS'
24103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24106
24107
24108
24109 for ac_header in iostream
24110 do
24111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24115 echo $ECHO_N "(cached) $ECHO_C" >&6
24116 else
24117 cat >conftest.$ac_ext <<_ACEOF
24118 /* confdefs.h. */
24119 _ACEOF
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24123
24124
24125 #include <$ac_header>
24126 _ACEOF
24127 rm -f conftest.$ac_objext
24128 if { (ac_try="$ac_compile"
24129 case "(($ac_try" in
24130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24131 *) ac_try_echo=$ac_try;;
24132 esac
24133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24134 (eval "$ac_compile") 2>conftest.er1
24135 ac_status=$?
24136 grep -v '^ *+' conftest.er1 >conftest.err
24137 rm -f conftest.er1
24138 cat conftest.err >&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); } && {
24141 test -z "$ac_cxx_werror_flag" ||
24142 test ! -s conftest.err
24143 } && test -s conftest.$ac_objext; then
24144 eval "$as_ac_Header=yes"
24145 else
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24148
24149 eval "$as_ac_Header=no"
24150 fi
24151
24152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24153 fi
24154 ac_res=`eval echo '${'$as_ac_Header'}'`
24155 { echo "$as_me:$LINENO: result: $ac_res" >&5
24156 echo "${ECHO_T}$ac_res" >&6; }
24157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24158 cat >>confdefs.h <<_ACEOF
24159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24160 _ACEOF
24161
24162 fi
24163
24164 done
24165
24166
24167 if test "$ac_cv_header_iostream" = "yes" ; then
24168 :
24169 else
24170 cat >>confdefs.h <<\_ACEOF
24171 #define wxUSE_IOSTREAMH 1
24172 _ACEOF
24173
24174 fi
24175
24176 ac_ext=c
24177 ac_cpp='$CPP $CPPFLAGS'
24178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24181
24182
24183
24184
24185 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24186 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24187 if test "${wx_cv_explicit+set}" = set; then
24188 echo $ECHO_N "(cached) $ECHO_C" >&6
24189 else
24190
24191
24192 ac_ext=cpp
24193 ac_cpp='$CXXCPP $CPPFLAGS'
24194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24197
24198
24199 cat >conftest.$ac_ext <<_ACEOF
24200 /* confdefs.h. */
24201 _ACEOF
24202 cat confdefs.h >>conftest.$ac_ext
24203 cat >>conftest.$ac_ext <<_ACEOF
24204 /* end confdefs.h. */
24205
24206 class Foo { public: explicit Foo(int) {} };
24207
24208 int
24209 main ()
24210 {
24211
24212 return 0;
24213
24214 ;
24215 return 0;
24216 }
24217 _ACEOF
24218 rm -f conftest.$ac_objext
24219 if { (ac_try="$ac_compile"
24220 case "(($ac_try" in
24221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24222 *) ac_try_echo=$ac_try;;
24223 esac
24224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24225 (eval "$ac_compile") 2>conftest.er1
24226 ac_status=$?
24227 grep -v '^ *+' conftest.er1 >conftest.err
24228 rm -f conftest.er1
24229 cat conftest.err >&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); } && {
24232 test -z "$ac_cxx_werror_flag" ||
24233 test ! -s conftest.err
24234 } && test -s conftest.$ac_objext; then
24235
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242
24243 class Foo { public: explicit Foo(int) {} };
24244 static void TakeFoo(const Foo& foo) { }
24245
24246 int
24247 main ()
24248 {
24249
24250 TakeFoo(17);
24251 return 0;
24252
24253 ;
24254 return 0;
24255 }
24256 _ACEOF
24257 rm -f conftest.$ac_objext
24258 if { (ac_try="$ac_compile"
24259 case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24262 esac
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_compile") 2>conftest.er1
24265 ac_status=$?
24266 grep -v '^ *+' conftest.er1 >conftest.err
24267 rm -f conftest.er1
24268 cat conftest.err >&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } && {
24271 test -z "$ac_cxx_werror_flag" ||
24272 test ! -s conftest.err
24273 } && test -s conftest.$ac_objext; then
24274 wx_cv_explicit=no
24275 else
24276 echo "$as_me: failed program was:" >&5
24277 sed 's/^/| /' conftest.$ac_ext >&5
24278
24279 wx_cv_explicit=yes
24280
24281 fi
24282
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284
24285 else
24286 echo "$as_me: failed program was:" >&5
24287 sed 's/^/| /' conftest.$ac_ext >&5
24288
24289 wx_cv_explicit=no
24290
24291 fi
24292
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294
24295 ac_ext=c
24296 ac_cpp='$CPP $CPPFLAGS'
24297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24300
24301
24302 fi
24303 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24304 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24305
24306 if test "$wx_cv_explicit" = "yes"; then
24307 cat >>confdefs.h <<\_ACEOF
24308 #define HAVE_EXPLICIT 1
24309 _ACEOF
24310
24311 fi
24312
24313
24314 if test "x$SUNCXX" = xyes; then
24315 CXXFLAGS="-features=tmplife $CXXFLAGS"
24316 fi
24317
24318 if test "x$SUNCC" = xyes; then
24319 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24320 fi
24321
24322 if test "x$SGICC" = "xyes"; then
24323 CFLAGS="-woff 3970 $CFLAGS"
24324 fi
24325 if test "x$SGICXX" = "xyes"; then
24326 CXXFLAGS="-woff 3970 $CXXFLAGS"
24327 fi
24328
24329 if test "x$HPCC" = "xyes"; then
24330 CFLAGS="+W 2011,2450 $CFLAGS"
24331 fi
24332 if test "x$HPCXX" = "xyes"; then
24333 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24334 fi
24335
24336 if test "x$COMPAQCXX" = "xyes"; then
24337 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24338 fi
24339
24340 ac_ext=cpp
24341 ac_cpp='$CXXCPP $CPPFLAGS'
24342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24345
24346
24347 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24348 if test "$wxUSE_UNICODE" = "yes"; then
24349 std_string="std::wstring"
24350 char_type="wchar_t"
24351 else
24352 std_string="std::string"
24353 char_type="char"
24354 fi
24355
24356 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24357 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24358 if test "${wx_cv_class_stdstring+set}" = set; then
24359 echo $ECHO_N "(cached) $ECHO_C" >&6
24360 else
24361
24362 cat >conftest.$ac_ext <<_ACEOF
24363 /* confdefs.h. */
24364 _ACEOF
24365 cat confdefs.h >>conftest.$ac_ext
24366 cat >>conftest.$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24368 #include <string>
24369 int
24370 main ()
24371 {
24372 $std_string foo;
24373 ;
24374 return 0;
24375 }
24376 _ACEOF
24377 rm -f conftest.$ac_objext
24378 if { (ac_try="$ac_compile"
24379 case "(($ac_try" in
24380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24381 *) ac_try_echo=$ac_try;;
24382 esac
24383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24384 (eval "$ac_compile") 2>conftest.er1
24385 ac_status=$?
24386 grep -v '^ *+' conftest.er1 >conftest.err
24387 rm -f conftest.er1
24388 cat conftest.err >&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); } && {
24391 test -z "$ac_cxx_werror_flag" ||
24392 test ! -s conftest.err
24393 } && test -s conftest.$ac_objext; then
24394 wx_cv_class_stdstring=yes
24395 else
24396 echo "$as_me: failed program was:" >&5
24397 sed 's/^/| /' conftest.$ac_ext >&5
24398
24399 wx_cv_class_stdstring=no
24400
24401 fi
24402
24403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24404
24405
24406 fi
24407 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24408 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24409
24410 if test "$wx_cv_class_stdstring" = yes; then
24411 if test "$wxUSE_UNICODE" = "yes"; then
24412 cat >>confdefs.h <<\_ACEOF
24413 #define HAVE_STD_WSTRING 1
24414 _ACEOF
24415
24416 fi
24417 else
24418 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24419 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24420 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24421 echo $ECHO_N "(cached) $ECHO_C" >&6
24422 else
24423
24424 cat >conftest.$ac_ext <<_ACEOF
24425 /* confdefs.h. */
24426 _ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430
24431 #ifdef HAVE_WCHAR_H
24432 # ifdef __CYGWIN__
24433 # include <stddef.h>
24434 # endif
24435 # include <wchar.h>
24436 #endif
24437 #ifdef HAVE_STDLIB_H
24438 # include <stdlib.h>
24439 #endif
24440 #include <stdio.h>
24441 #include <string>
24442
24443 int
24444 main ()
24445 {
24446 std::basic_string<$char_type> foo;
24447 const $char_type* dummy = foo.c_str();
24448 ;
24449 return 0;
24450 }
24451 _ACEOF
24452 rm -f conftest.$ac_objext
24453 if { (ac_try="$ac_compile"
24454 case "(($ac_try" in
24455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24456 *) ac_try_echo=$ac_try;;
24457 esac
24458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24459 (eval "$ac_compile") 2>conftest.er1
24460 ac_status=$?
24461 grep -v '^ *+' conftest.er1 >conftest.err
24462 rm -f conftest.er1
24463 cat conftest.err >&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } && {
24466 test -z "$ac_cxx_werror_flag" ||
24467 test ! -s conftest.err
24468 } && test -s conftest.$ac_objext; then
24469 wx_cv_class_stdbasicstring=yes
24470 else
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24473
24474 wx_cv_class_stdbasicstring=no
24475
24476 fi
24477
24478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24479
24480
24481 fi
24482 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24483 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24484
24485 if test "$wx_cv_class_stdbasicstring" != yes; then
24486 if test "$wxUSE_STL" = "yes"; then
24487 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24488 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24489 { (exit 1); exit 1; }; }
24490 elif test "$wxUSE_STD_STRING" = "yes"; then
24491 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24492 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24493 { (exit 1); exit 1; }; }
24494 else
24495 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24496 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24497 wxUSE_STD_STRING=no
24498 fi
24499 fi
24500 fi
24501 fi
24502
24503 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24504 { echo "$as_me:$LINENO: checking for std::istream" >&5
24505 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24506 if test "${ac_cv_type_std__istream+set}" = set; then
24507 echo $ECHO_N "(cached) $ECHO_C" >&6
24508 else
24509 cat >conftest.$ac_ext <<_ACEOF
24510 /* confdefs.h. */
24511 _ACEOF
24512 cat confdefs.h >>conftest.$ac_ext
24513 cat >>conftest.$ac_ext <<_ACEOF
24514 /* end confdefs.h. */
24515 #include <iostream>
24516
24517 typedef std::istream ac__type_new_;
24518 int
24519 main ()
24520 {
24521 if ((ac__type_new_ *) 0)
24522 return 0;
24523 if (sizeof (ac__type_new_))
24524 return 0;
24525 ;
24526 return 0;
24527 }
24528 _ACEOF
24529 rm -f conftest.$ac_objext
24530 if { (ac_try="$ac_compile"
24531 case "(($ac_try" in
24532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24533 *) ac_try_echo=$ac_try;;
24534 esac
24535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24536 (eval "$ac_compile") 2>conftest.er1
24537 ac_status=$?
24538 grep -v '^ *+' conftest.er1 >conftest.err
24539 rm -f conftest.er1
24540 cat conftest.err >&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } && {
24543 test -z "$ac_cxx_werror_flag" ||
24544 test ! -s conftest.err
24545 } && test -s conftest.$ac_objext; then
24546 ac_cv_type_std__istream=yes
24547 else
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24550
24551 ac_cv_type_std__istream=no
24552 fi
24553
24554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24555 fi
24556 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24557 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24558 if test $ac_cv_type_std__istream = yes; then
24559
24560 cat >>confdefs.h <<_ACEOF
24561 #define HAVE_STD__ISTREAM 1
24562 _ACEOF
24563
24564
24565 else
24566 wxUSE_STD_IOSTREAM=no
24567 fi
24568 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24569 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24570 if test "${ac_cv_type_std__ostream+set}" = set; then
24571 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 else
24573 cat >conftest.$ac_ext <<_ACEOF
24574 /* confdefs.h. */
24575 _ACEOF
24576 cat confdefs.h >>conftest.$ac_ext
24577 cat >>conftest.$ac_ext <<_ACEOF
24578 /* end confdefs.h. */
24579 #include <iostream>
24580
24581 typedef std::ostream ac__type_new_;
24582 int
24583 main ()
24584 {
24585 if ((ac__type_new_ *) 0)
24586 return 0;
24587 if (sizeof (ac__type_new_))
24588 return 0;
24589 ;
24590 return 0;
24591 }
24592 _ACEOF
24593 rm -f conftest.$ac_objext
24594 if { (ac_try="$ac_compile"
24595 case "(($ac_try" in
24596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24597 *) ac_try_echo=$ac_try;;
24598 esac
24599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24600 (eval "$ac_compile") 2>conftest.er1
24601 ac_status=$?
24602 grep -v '^ *+' conftest.er1 >conftest.err
24603 rm -f conftest.er1
24604 cat conftest.err >&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } && {
24607 test -z "$ac_cxx_werror_flag" ||
24608 test ! -s conftest.err
24609 } && test -s conftest.$ac_objext; then
24610 ac_cv_type_std__ostream=yes
24611 else
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24614
24615 ac_cv_type_std__ostream=no
24616 fi
24617
24618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24619 fi
24620 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24621 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24622 if test $ac_cv_type_std__ostream = yes; then
24623
24624 cat >>confdefs.h <<_ACEOF
24625 #define HAVE_STD__OSTREAM 1
24626 _ACEOF
24627
24628
24629 else
24630 wxUSE_STD_IOSTREAM=no
24631 fi
24632
24633
24634 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24635 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24636 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24637 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24638 { (exit 1); exit 1; }; }
24639 else
24640 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24641 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24642 fi
24643 fi
24644 fi
24645
24646 if test "$wxUSE_STL" = "yes"; then
24647 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24648 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24649 if test "${wx_cv_lib_stl+set}" = set; then
24650 echo $ECHO_N "(cached) $ECHO_C" >&6
24651 else
24652 cat >conftest.$ac_ext <<_ACEOF
24653 /* confdefs.h. */
24654 _ACEOF
24655 cat confdefs.h >>conftest.$ac_ext
24656 cat >>conftest.$ac_ext <<_ACEOF
24657 /* end confdefs.h. */
24658 #include <string>
24659 #include <functional>
24660 #include <algorithm>
24661 #include <vector>
24662 #include <list>
24663 int
24664 main ()
24665 {
24666 std::vector<int> moo;
24667 std::list<int> foo;
24668 std::vector<int>::iterator it =
24669 std::find_if(moo.begin(), moo.end(),
24670 std::bind2nd(std::less<int>(), 3));
24671 ;
24672 return 0;
24673 }
24674 _ACEOF
24675 rm -f conftest.$ac_objext
24676 if { (ac_try="$ac_compile"
24677 case "(($ac_try" in
24678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24679 *) ac_try_echo=$ac_try;;
24680 esac
24681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24682 (eval "$ac_compile") 2>conftest.er1
24683 ac_status=$?
24684 grep -v '^ *+' conftest.er1 >conftest.err
24685 rm -f conftest.er1
24686 cat conftest.err >&5
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); } && {
24689 test -z "$ac_cxx_werror_flag" ||
24690 test ! -s conftest.err
24691 } && test -s conftest.$ac_objext; then
24692 wx_cv_lib_stl=yes
24693 else
24694 echo "$as_me: failed program was:" >&5
24695 sed 's/^/| /' conftest.$ac_ext >&5
24696
24697 wx_cv_lib_stl=no
24698
24699 fi
24700
24701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24702
24703 fi
24704 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24705 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24706
24707 if test "$wx_cv_lib_stl" != yes; then
24708 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24709 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24710 { (exit 1); exit 1; }; }
24711 fi
24712
24713 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24714 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24715 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24716 echo $ECHO_N "(cached) $ECHO_C" >&6
24717 else
24718 cat >conftest.$ac_ext <<_ACEOF
24719 /* confdefs.h. */
24720 _ACEOF
24721 cat confdefs.h >>conftest.$ac_ext
24722 cat >>conftest.$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24724 #include <string>
24725 int
24726 main ()
24727 {
24728 std::string foo, bar;
24729 foo.compare(bar);
24730 foo.compare(1, 1, bar);
24731 foo.compare(1, 1, bar, 1, 1);
24732 foo.compare("");
24733 foo.compare(1, 1, "");
24734 foo.compare(1, 1, "", 2);
24735 ;
24736 return 0;
24737 }
24738 _ACEOF
24739 rm -f conftest.$ac_objext
24740 if { (ac_try="$ac_compile"
24741 case "(($ac_try" in
24742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24743 *) ac_try_echo=$ac_try;;
24744 esac
24745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24746 (eval "$ac_compile") 2>conftest.er1
24747 ac_status=$?
24748 grep -v '^ *+' conftest.er1 >conftest.err
24749 rm -f conftest.er1
24750 cat conftest.err >&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); } && {
24753 test -z "$ac_cxx_werror_flag" ||
24754 test ! -s conftest.err
24755 } && test -s conftest.$ac_objext; then
24756 wx_cv_func_stdstring_compare=yes
24757 else
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.$ac_ext >&5
24760
24761 wx_cv_func_stdstring_compare=no
24762
24763 fi
24764
24765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24766
24767 fi
24768 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24769 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24770
24771 if test "$wx_cv_func_stdstring_compare" = yes; then
24772 cat >>confdefs.h <<\_ACEOF
24773 #define HAVE_STD_STRING_COMPARE 1
24774 _ACEOF
24775
24776 fi
24777
24778 if test "$wx_cv_class_gnuhashmapset" = yes; then
24779 cat >>confdefs.h <<\_ACEOF
24780 #define HAVE_EXT_HASH_MAP 1
24781 _ACEOF
24782
24783 cat >>confdefs.h <<\_ACEOF
24784 #define HAVE_GNU_CXX_HASH_MAP 1
24785 _ACEOF
24786
24787 fi
24788
24789 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24790 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24791 if test "${ac_cv_header_unordered_map+set}" = set; then
24792 echo $ECHO_N "(cached) $ECHO_C" >&6
24793 else
24794 cat >conftest.$ac_ext <<_ACEOF
24795 /* confdefs.h. */
24796 _ACEOF
24797 cat confdefs.h >>conftest.$ac_ext
24798 cat >>conftest.$ac_ext <<_ACEOF
24799 /* end confdefs.h. */
24800
24801
24802
24803 #include <unordered_map>
24804 _ACEOF
24805 rm -f conftest.$ac_objext
24806 if { (ac_try="$ac_compile"
24807 case "(($ac_try" in
24808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24809 *) ac_try_echo=$ac_try;;
24810 esac
24811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24812 (eval "$ac_compile") 2>conftest.er1
24813 ac_status=$?
24814 grep -v '^ *+' conftest.er1 >conftest.err
24815 rm -f conftest.er1
24816 cat conftest.err >&5
24817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24818 (exit $ac_status); } && {
24819 test -z "$ac_cxx_werror_flag" ||
24820 test ! -s conftest.err
24821 } && test -s conftest.$ac_objext; then
24822 ac_cv_header_unordered_map=yes
24823 else
24824 echo "$as_me: failed program was:" >&5
24825 sed 's/^/| /' conftest.$ac_ext >&5
24826
24827 ac_cv_header_unordered_map=no
24828 fi
24829
24830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24831 fi
24832 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24833 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24834 if test $ac_cv_header_unordered_map = yes; then
24835 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24836 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24837 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24838 echo $ECHO_N "(cached) $ECHO_C" >&6
24839 else
24840 cat >conftest.$ac_ext <<_ACEOF
24841 /* confdefs.h. */
24842 _ACEOF
24843 cat confdefs.h >>conftest.$ac_ext
24844 cat >>conftest.$ac_ext <<_ACEOF
24845 /* end confdefs.h. */
24846 #include <unordered_map>
24847 #include <unordered_set>
24848 int
24849 main ()
24850 {
24851 std::unordered_map<double*, char*> test1;
24852 std::unordered_set<char*> test2;
24853 ;
24854 return 0;
24855 }
24856 _ACEOF
24857 rm -f conftest.$ac_objext
24858 if { (ac_try="$ac_compile"
24859 case "(($ac_try" in
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24861 *) ac_try_echo=$ac_try;;
24862 esac
24863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24864 (eval "$ac_compile") 2>conftest.er1
24865 ac_status=$?
24866 grep -v '^ *+' conftest.er1 >conftest.err
24867 rm -f conftest.er1
24868 cat conftest.err >&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } && {
24871 test -z "$ac_cxx_werror_flag" ||
24872 test ! -s conftest.err
24873 } && test -s conftest.$ac_objext; then
24874 wx_cv_class_stdunorderedmapset=yes
24875 else
24876 echo "$as_me: failed program was:" >&5
24877 sed 's/^/| /' conftest.$ac_ext >&5
24878
24879 wx_cv_class_stdunorderedmapset=no
24880 fi
24881
24882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24883
24884
24885 fi
24886 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24887 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24888 fi
24889
24890
24891
24892 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24893 cat >>confdefs.h <<\_ACEOF
24894 #define HAVE_STD_UNORDERED_MAP 1
24895 _ACEOF
24896
24897 cat >>confdefs.h <<\_ACEOF
24898 #define HAVE_STD_UNORDERED_SET 1
24899 _ACEOF
24900
24901 else
24902 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24903 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24904 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24905 echo $ECHO_N "(cached) $ECHO_C" >&6
24906 else
24907 cat >conftest.$ac_ext <<_ACEOF
24908 /* confdefs.h. */
24909 _ACEOF
24910 cat confdefs.h >>conftest.$ac_ext
24911 cat >>conftest.$ac_ext <<_ACEOF
24912 /* end confdefs.h. */
24913
24914
24915
24916 #include <tr1/unordered_map>
24917 _ACEOF
24918 rm -f conftest.$ac_objext
24919 if { (ac_try="$ac_compile"
24920 case "(($ac_try" in
24921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24922 *) ac_try_echo=$ac_try;;
24923 esac
24924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24925 (eval "$ac_compile") 2>conftest.er1
24926 ac_status=$?
24927 grep -v '^ *+' conftest.er1 >conftest.err
24928 rm -f conftest.er1
24929 cat conftest.err >&5
24930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24931 (exit $ac_status); } && {
24932 test -z "$ac_cxx_werror_flag" ||
24933 test ! -s conftest.err
24934 } && test -s conftest.$ac_objext; then
24935 ac_cv_header_tr1_unordered_map=yes
24936 else
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.$ac_ext >&5
24939
24940 ac_cv_header_tr1_unordered_map=no
24941 fi
24942
24943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24944 fi
24945 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24946 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24947 if test $ac_cv_header_tr1_unordered_map = yes; then
24948 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24949 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24950 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24951 echo $ECHO_N "(cached) $ECHO_C" >&6
24952 else
24953 cat >conftest.$ac_ext <<_ACEOF
24954 /* confdefs.h. */
24955 _ACEOF
24956 cat confdefs.h >>conftest.$ac_ext
24957 cat >>conftest.$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24959 #include <tr1/unordered_map>
24960 #include <tr1/unordered_set>
24961 int
24962 main ()
24963 {
24964 std::tr1::unordered_map<double*, char*> test1;
24965 std::tr1::unordered_set<char*> test2;
24966 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24967 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24968 #endif
24969 ;
24970 return 0;
24971 }
24972 _ACEOF
24973 rm -f conftest.$ac_objext
24974 if { (ac_try="$ac_compile"
24975 case "(($ac_try" in
24976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24977 *) ac_try_echo=$ac_try;;
24978 esac
24979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24980 (eval "$ac_compile") 2>conftest.er1
24981 ac_status=$?
24982 grep -v '^ *+' conftest.er1 >conftest.err
24983 rm -f conftest.er1
24984 cat conftest.err >&5
24985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986 (exit $ac_status); } && {
24987 test -z "$ac_cxx_werror_flag" ||
24988 test ! -s conftest.err
24989 } && test -s conftest.$ac_objext; then
24990 wx_cv_class_tr1unorderedmapset=yes
24991 else
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.$ac_ext >&5
24994
24995 wx_cv_class_tr1unorderedmapset=no
24996 fi
24997
24998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24999
25000
25001 fi
25002 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25003 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25004 fi
25005
25006
25007
25008 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25009 cat >>confdefs.h <<\_ACEOF
25010 #define HAVE_TR1_UNORDERED_MAP 1
25011 _ACEOF
25012
25013 cat >>confdefs.h <<\_ACEOF
25014 #define HAVE_TR1_UNORDERED_SET 1
25015 _ACEOF
25016
25017 else
25018 { echo "$as_me:$LINENO: checking for hash_map" >&5
25019 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25020 if test "${ac_cv_header_hash_map+set}" = set; then
25021 echo $ECHO_N "(cached) $ECHO_C" >&6
25022 else
25023 cat >conftest.$ac_ext <<_ACEOF
25024 /* confdefs.h. */
25025 _ACEOF
25026 cat confdefs.h >>conftest.$ac_ext
25027 cat >>conftest.$ac_ext <<_ACEOF
25028 /* end confdefs.h. */
25029
25030
25031
25032 #include <hash_map>
25033 _ACEOF
25034 rm -f conftest.$ac_objext
25035 if { (ac_try="$ac_compile"
25036 case "(($ac_try" in
25037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25038 *) ac_try_echo=$ac_try;;
25039 esac
25040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25041 (eval "$ac_compile") 2>conftest.er1
25042 ac_status=$?
25043 grep -v '^ *+' conftest.er1 >conftest.err
25044 rm -f conftest.er1
25045 cat conftest.err >&5
25046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25047 (exit $ac_status); } && {
25048 test -z "$ac_cxx_werror_flag" ||
25049 test ! -s conftest.err
25050 } && test -s conftest.$ac_objext; then
25051 ac_cv_header_hash_map=yes
25052 else
25053 echo "$as_me: failed program was:" >&5
25054 sed 's/^/| /' conftest.$ac_ext >&5
25055
25056 ac_cv_header_hash_map=no
25057 fi
25058
25059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25060 fi
25061 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25062 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25063 if test $ac_cv_header_hash_map = yes; then
25064 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25065 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25066 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 else
25069 cat >conftest.$ac_ext <<_ACEOF
25070 /* confdefs.h. */
25071 _ACEOF
25072 cat confdefs.h >>conftest.$ac_ext
25073 cat >>conftest.$ac_ext <<_ACEOF
25074 /* end confdefs.h. */
25075 #include <hash_map>
25076 #include <hash_set>
25077 int
25078 main ()
25079 {
25080 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25081 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25082 ;
25083 return 0;
25084 }
25085 _ACEOF
25086 rm -f conftest.$ac_objext
25087 if { (ac_try="$ac_compile"
25088 case "(($ac_try" in
25089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25090 *) ac_try_echo=$ac_try;;
25091 esac
25092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25093 (eval "$ac_compile") 2>conftest.er1
25094 ac_status=$?
25095 grep -v '^ *+' conftest.er1 >conftest.err
25096 rm -f conftest.er1
25097 cat conftest.err >&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } && {
25100 test -z "$ac_cxx_werror_flag" ||
25101 test ! -s conftest.err
25102 } && test -s conftest.$ac_objext; then
25103 wx_cv_class_stdhashmapset=yes
25104 else
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25107
25108 wx_cv_class_stdhashmapset=no
25109 fi
25110
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25112
25113
25114 fi
25115 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25116 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25117 fi
25118
25119
25120
25121 if test "$wx_cv_class_stdhashmapset" = yes; then
25122 cat >>confdefs.h <<\_ACEOF
25123 #define HAVE_HASH_MAP 1
25124 _ACEOF
25125
25126 cat >>confdefs.h <<\_ACEOF
25127 #define HAVE_STD_HASH_MAP 1
25128 _ACEOF
25129
25130 fi
25131
25132 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25133 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25134 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25135 echo $ECHO_N "(cached) $ECHO_C" >&6
25136 else
25137 cat >conftest.$ac_ext <<_ACEOF
25138 /* confdefs.h. */
25139 _ACEOF
25140 cat confdefs.h >>conftest.$ac_ext
25141 cat >>conftest.$ac_ext <<_ACEOF
25142 /* end confdefs.h. */
25143
25144
25145
25146 #include <ext/hash_map>
25147 _ACEOF
25148 rm -f conftest.$ac_objext
25149 if { (ac_try="$ac_compile"
25150 case "(($ac_try" in
25151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25152 *) ac_try_echo=$ac_try;;
25153 esac
25154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25155 (eval "$ac_compile") 2>conftest.er1
25156 ac_status=$?
25157 grep -v '^ *+' conftest.er1 >conftest.err
25158 rm -f conftest.er1
25159 cat conftest.err >&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } && {
25162 test -z "$ac_cxx_werror_flag" ||
25163 test ! -s conftest.err
25164 } && test -s conftest.$ac_objext; then
25165 ac_cv_header_ext_hash_map=yes
25166 else
25167 echo "$as_me: failed program was:" >&5
25168 sed 's/^/| /' conftest.$ac_ext >&5
25169
25170 ac_cv_header_ext_hash_map=no
25171 fi
25172
25173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25174 fi
25175 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25176 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25177 if test $ac_cv_header_ext_hash_map = yes; then
25178 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25179 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25180 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25181 echo $ECHO_N "(cached) $ECHO_C" >&6
25182 else
25183 cat >conftest.$ac_ext <<_ACEOF
25184 /* confdefs.h. */
25185 _ACEOF
25186 cat confdefs.h >>conftest.$ac_ext
25187 cat >>conftest.$ac_ext <<_ACEOF
25188 /* end confdefs.h. */
25189 #include <ext/hash_map>
25190 #include <ext/hash_set>
25191 int
25192 main ()
25193 {
25194 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25195 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25196 ;
25197 return 0;
25198 }
25199 _ACEOF
25200 rm -f conftest.$ac_objext
25201 if { (ac_try="$ac_compile"
25202 case "(($ac_try" in
25203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25204 *) ac_try_echo=$ac_try;;
25205 esac
25206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25207 (eval "$ac_compile") 2>conftest.er1
25208 ac_status=$?
25209 grep -v '^ *+' conftest.er1 >conftest.err
25210 rm -f conftest.er1
25211 cat conftest.err >&5
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); } && {
25214 test -z "$ac_cxx_werror_flag" ||
25215 test ! -s conftest.err
25216 } && test -s conftest.$ac_objext; then
25217 wx_cv_class_gnuhashmapset=yes
25218 else
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.$ac_ext >&5
25221
25222 wx_cv_class_gnuhashmapset=no
25223 fi
25224
25225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25226
25227
25228 fi
25229 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25230 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25231 fi
25232
25233
25234
25235 fi
25236 fi
25237 fi
25238
25239
25240
25241 if test -n "$GCC"; then
25242 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25243 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25244 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25246 else
25247
25248 cat >conftest.$ac_ext <<_ACEOF
25249 /* confdefs.h. */
25250 _ACEOF
25251 cat confdefs.h >>conftest.$ac_ext
25252 cat >>conftest.$ac_ext <<_ACEOF
25253 /* end confdefs.h. */
25254
25255 int
25256 main ()
25257 {
25258
25259 unsigned int value=0;
25260 /* wxAtomicInc doesn't use return value here */
25261 __sync_fetch_and_add(&value, 2);
25262 __sync_sub_and_fetch(&value, 1);
25263 /* but wxAtomicDec does, so mimic that: */
25264 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25265
25266 ;
25267 return 0;
25268 }
25269 _ACEOF
25270 rm -f conftest.$ac_objext conftest$ac_exeext
25271 if { (ac_try="$ac_link"
25272 case "(($ac_try" in
25273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25274 *) ac_try_echo=$ac_try;;
25275 esac
25276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25277 (eval "$ac_link") 2>conftest.er1
25278 ac_status=$?
25279 grep -v '^ *+' conftest.er1 >conftest.err
25280 rm -f conftest.er1
25281 cat conftest.err >&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); } && {
25284 test -z "$ac_cxx_werror_flag" ||
25285 test ! -s conftest.err
25286 } && test -s conftest$ac_exeext &&
25287 $as_test_x conftest$ac_exeext; then
25288 wx_cv_cc_gcc_atomic_builtins=yes
25289 else
25290 echo "$as_me: failed program was:" >&5
25291 sed 's/^/| /' conftest.$ac_ext >&5
25292
25293 wx_cv_cc_gcc_atomic_builtins=no
25294 fi
25295
25296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25297 conftest$ac_exeext conftest.$ac_ext
25298
25299 fi
25300
25301 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25302 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25303 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25304 cat >>confdefs.h <<\_ACEOF
25305 #define HAVE_GCC_ATOMIC_BUILTINS 1
25306 _ACEOF
25307
25308 fi
25309 fi
25310
25311
25312 ac_ext=c
25313 ac_cpp='$CPP $CPPFLAGS'
25314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25317
25318
25319
25320 SEARCH_INCLUDE="\
25321 /usr/local/include \
25322 /usr/local/X11/include \
25323 /usr/local/include/X11 \
25324 /usr/local/X11R6/include \
25325 /usr/local/include/X11R6 \
25326 \
25327 /usr/Motif-2.1/include \
25328 /usr/Motif-1.2/include \
25329 /usr/include/Motif1.2 \
25330 \
25331 /usr/dt/include \
25332 /usr/openwin/include \
25333 \
25334 /usr/include/Xm \
25335 \
25336 /usr/X11R6/include \
25337 /usr/X11R6.4/include \
25338 \
25339 /usr/include/X11R6 \
25340 \
25341 /usr/X11/include \
25342 /usr/include/X11 \
25343 \
25344 /usr/XFree86/include/X11 \
25345 /usr/pkg/include \
25346 \
25347 /usr/local/X1R5/include \
25348 /usr/local/include/X11R5 \
25349 /usr/X11R5/include \
25350 /usr/include/X11R5 \
25351 \
25352 /usr/local/X11R4/include \
25353 /usr/local/include/X11R4 \
25354 /usr/X11R4/include \
25355 /usr/include/X11R4 \
25356 \
25357 /usr/openwin/share/include"
25358
25359 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25360 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25361
25362 case "${host}" in
25363 *-*-irix6* )
25364 if test "${wx_cv_std_libpath+set}" = set; then
25365 echo $ECHO_N "(cached) $ECHO_C" >&6
25366 else
25367
25368 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25369 for e in a so sl dylib dll.a; do
25370 libc="$d/libc.$e"
25371 if test -f $libc; then
25372 save_LIBS="$LIBS"
25373 LIBS="$libc"
25374 cat >conftest.$ac_ext <<_ACEOF
25375 int main() { return 0; }
25376 _ACEOF
25377 rm -f conftest.$ac_objext conftest$ac_exeext
25378 if { (ac_try="$ac_link"
25379 case "(($ac_try" in
25380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25381 *) ac_try_echo=$ac_try;;
25382 esac
25383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25384 (eval "$ac_link") 2>conftest.er1
25385 ac_status=$?
25386 grep -v '^ *+' conftest.er1 >conftest.err
25387 rm -f conftest.er1
25388 cat conftest.err >&5
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); } && {
25391 test -z "$ac_c_werror_flag" ||
25392 test ! -s conftest.err
25393 } && test -s conftest$ac_exeext &&
25394 $as_test_x conftest$ac_exeext; then
25395 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25396 else
25397 echo "$as_me: failed program was:" >&5
25398 sed 's/^/| /' conftest.$ac_ext >&5
25399
25400
25401 fi
25402
25403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25404 conftest$ac_exeext conftest.$ac_ext
25405 LIBS="$save_LIBS"
25406 if test "x$wx_cv_std_libpath" != "x"; then
25407 break 2
25408 fi
25409 fi
25410 done
25411 done
25412 if test "x$wx_cv_std_libpath" = "x"; then
25413 wx_cv_std_libpath="lib"
25414 fi
25415
25416
25417 fi
25418
25419 ;;
25420
25421 *-*-solaris2* )
25422 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25423 wx_cv_std_libpath="lib/64"
25424 else
25425 wx_cv_std_libpath="lib"
25426 fi
25427 ;;
25428
25429 *-*-linux* )
25430 if test "$ac_cv_sizeof_void_p" = 8 -a \
25431 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25432 wx_cv_std_libpath="lib64"
25433 else
25434 wx_cv_std_libpath="lib"
25435 fi
25436 ;;
25437
25438 *)
25439 wx_cv_std_libpath="lib";
25440 ;;
25441 esac
25442
25443 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25444 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25445
25446 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25447
25448 if test "$build" != "$host" -a "$GCC" = yes; then
25449 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25450 cross_root=`dirname $cross_root`
25451 cross_root=`dirname $cross_root`
25452
25453 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25454 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25455 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25456
25457 if test -z "$PKG_CONFIG_PATH"; then
25458 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25459 export PKG_CONFIG_PATH
25460 fi
25461
25462 if test -z "$x_includes" -o "$x_includes" = NONE; then
25463
25464 ac_find_includes=
25465 for ac_dir in $SEARCH_INCLUDE /usr/include;
25466 do
25467 if test -f "$ac_dir/X11/Intrinsic.h"; then
25468 ac_find_includes=$ac_dir
25469 break
25470 fi
25471 done
25472
25473 x_includes=$ac_find_includes
25474 fi
25475 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25476
25477 ac_find_libraries=
25478 for ac_dir in $SEARCH_LIB;
25479 do
25480 for ac_extension in a so sl dylib dll.a; do
25481 if test -f "$ac_dir/libXt.$ac_extension"; then
25482 ac_find_libraries=$ac_dir
25483 break 2
25484 fi
25485 done
25486 done
25487
25488 x_libraries=$ac_find_libraries
25489 fi
25490 fi
25491 fi
25492
25493
25494 cat >confcache <<\_ACEOF
25495 # This file is a shell script that caches the results of configure
25496 # tests run on this system so they can be shared between configure
25497 # scripts and configure runs, see configure's option --config-cache.
25498 # It is not useful on other systems. If it contains results you don't
25499 # want to keep, you may remove or edit it.
25500 #
25501 # config.status only pays attention to the cache file if you give it
25502 # the --recheck option to rerun configure.
25503 #
25504 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25505 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25506 # following values.
25507
25508 _ACEOF
25509
25510 # The following way of writing the cache mishandles newlines in values,
25511 # but we know of no workaround that is simple, portable, and efficient.
25512 # So, we kill variables containing newlines.
25513 # Ultrix sh set writes to stderr and can't be redirected directly,
25514 # and sets the high bit in the cache file unless we assign to the vars.
25515 (
25516 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25517 eval ac_val=\$$ac_var
25518 case $ac_val in #(
25519 *${as_nl}*)
25520 case $ac_var in #(
25521 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25522 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25523 esac
25524 case $ac_var in #(
25525 _ | IFS | as_nl) ;; #(
25526 *) $as_unset $ac_var ;;
25527 esac ;;
25528 esac
25529 done
25530
25531 (set) 2>&1 |
25532 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25533 *${as_nl}ac_space=\ *)
25534 # `set' does not quote correctly, so add quotes (double-quote
25535 # substitution turns \\\\ into \\, and sed turns \\ into \).
25536 sed -n \
25537 "s/'/'\\\\''/g;
25538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25539 ;; #(
25540 *)
25541 # `set' quotes correctly as required by POSIX, so do not add quotes.
25542 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25543 ;;
25544 esac |
25545 sort
25546 ) |
25547 sed '
25548 /^ac_cv_env_/b end
25549 t clear
25550 :clear
25551 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25552 t end
25553 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25554 :end' >>confcache
25555 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25556 if test -w "$cache_file"; then
25557 test "x$cache_file" != "x/dev/null" &&
25558 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25559 echo "$as_me: updating cache $cache_file" >&6;}
25560 cat confcache >$cache_file
25561 else
25562 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25563 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25564 fi
25565 fi
25566 rm -f confcache
25567
25568 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25569 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25570 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25571 if test "${wx_cv_lib_glibc21+set}" = set; then
25572 echo $ECHO_N "(cached) $ECHO_C" >&6
25573 else
25574
25575 cat >conftest.$ac_ext <<_ACEOF
25576 /* confdefs.h. */
25577 _ACEOF
25578 cat confdefs.h >>conftest.$ac_ext
25579 cat >>conftest.$ac_ext <<_ACEOF
25580 /* end confdefs.h. */
25581 #include <features.h>
25582 int
25583 main ()
25584 {
25585
25586 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25587 not glibc 2.1
25588 #endif
25589
25590 ;
25591 return 0;
25592 }
25593 _ACEOF
25594 rm -f conftest.$ac_objext
25595 if { (ac_try="$ac_compile"
25596 case "(($ac_try" in
25597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25598 *) ac_try_echo=$ac_try;;
25599 esac
25600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25601 (eval "$ac_compile") 2>conftest.er1
25602 ac_status=$?
25603 grep -v '^ *+' conftest.er1 >conftest.err
25604 rm -f conftest.er1
25605 cat conftest.err >&5
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); } && {
25608 test -z "$ac_c_werror_flag" ||
25609 test ! -s conftest.err
25610 } && test -s conftest.$ac_objext; then
25611
25612 wx_cv_lib_glibc21=yes
25613
25614 else
25615 echo "$as_me: failed program was:" >&5
25616 sed 's/^/| /' conftest.$ac_ext >&5
25617
25618
25619 wx_cv_lib_glibc21=no
25620
25621
25622 fi
25623
25624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25625
25626 fi
25627 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25628 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25629 if test "$wx_cv_lib_glibc21" = "yes"; then
25630 cat >>confdefs.h <<\_ACEOF
25631 #define wxHAVE_GLIBC2 1
25632 _ACEOF
25633
25634 fi
25635 fi
25636
25637 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25638 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25639 cat >>confdefs.h <<\_ACEOF
25640 #define _GNU_SOURCE 1
25641 _ACEOF
25642
25643 fi
25644 fi
25645
25646 have_cos=0
25647 have_floor=0
25648
25649 for ac_func in cos
25650 do
25651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25654 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25656 else
25657 cat >conftest.$ac_ext <<_ACEOF
25658 /* confdefs.h. */
25659 _ACEOF
25660 cat confdefs.h >>conftest.$ac_ext
25661 cat >>conftest.$ac_ext <<_ACEOF
25662 /* end confdefs.h. */
25663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25665 #define $ac_func innocuous_$ac_func
25666
25667 /* System header to define __stub macros and hopefully few prototypes,
25668 which can conflict with char $ac_func (); below.
25669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25670 <limits.h> exists even on freestanding compilers. */
25671
25672 #ifdef __STDC__
25673 # include <limits.h>
25674 #else
25675 # include <assert.h>
25676 #endif
25677
25678 #undef $ac_func
25679
25680 /* Override any GCC internal prototype to avoid an error.
25681 Use char because int might match the return type of a GCC
25682 builtin and then its argument prototype would still apply. */
25683 #ifdef __cplusplus
25684 extern "C"
25685 #endif
25686 char $ac_func ();
25687 /* The GNU C library defines this for functions which it implements
25688 to always fail with ENOSYS. Some functions are actually named
25689 something starting with __ and the normal name is an alias. */
25690 #if defined __stub_$ac_func || defined __stub___$ac_func
25691 choke me
25692 #endif
25693
25694 int
25695 main ()
25696 {
25697 return $ac_func ();
25698 ;
25699 return 0;
25700 }
25701 _ACEOF
25702 rm -f conftest.$ac_objext conftest$ac_exeext
25703 if { (ac_try="$ac_link"
25704 case "(($ac_try" in
25705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25706 *) ac_try_echo=$ac_try;;
25707 esac
25708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25709 (eval "$ac_link") 2>conftest.er1
25710 ac_status=$?
25711 grep -v '^ *+' conftest.er1 >conftest.err
25712 rm -f conftest.er1
25713 cat conftest.err >&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } && {
25716 test -z "$ac_c_werror_flag" ||
25717 test ! -s conftest.err
25718 } && test -s conftest$ac_exeext &&
25719 $as_test_x conftest$ac_exeext; then
25720 eval "$as_ac_var=yes"
25721 else
25722 echo "$as_me: failed program was:" >&5
25723 sed 's/^/| /' conftest.$ac_ext >&5
25724
25725 eval "$as_ac_var=no"
25726 fi
25727
25728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25729 conftest$ac_exeext conftest.$ac_ext
25730 fi
25731 ac_res=`eval echo '${'$as_ac_var'}'`
25732 { echo "$as_me:$LINENO: result: $ac_res" >&5
25733 echo "${ECHO_T}$ac_res" >&6; }
25734 if test `eval echo '${'$as_ac_var'}'` = yes; then
25735 cat >>confdefs.h <<_ACEOF
25736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25737 _ACEOF
25738 have_cos=1
25739 fi
25740 done
25741
25742
25743 for ac_func in floor
25744 do
25745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25746 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25748 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25749 echo $ECHO_N "(cached) $ECHO_C" >&6
25750 else
25751 cat >conftest.$ac_ext <<_ACEOF
25752 /* confdefs.h. */
25753 _ACEOF
25754 cat confdefs.h >>conftest.$ac_ext
25755 cat >>conftest.$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25759 #define $ac_func innocuous_$ac_func
25760
25761 /* System header to define __stub macros and hopefully few prototypes,
25762 which can conflict with char $ac_func (); below.
25763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25764 <limits.h> exists even on freestanding compilers. */
25765
25766 #ifdef __STDC__
25767 # include <limits.h>
25768 #else
25769 # include <assert.h>
25770 #endif
25771
25772 #undef $ac_func
25773
25774 /* Override any GCC internal prototype to avoid an error.
25775 Use char because int might match the return type of a GCC
25776 builtin and then its argument prototype would still apply. */
25777 #ifdef __cplusplus
25778 extern "C"
25779 #endif
25780 char $ac_func ();
25781 /* The GNU C library defines this for functions which it implements
25782 to always fail with ENOSYS. Some functions are actually named
25783 something starting with __ and the normal name is an alias. */
25784 #if defined __stub_$ac_func || defined __stub___$ac_func
25785 choke me
25786 #endif
25787
25788 int
25789 main ()
25790 {
25791 return $ac_func ();
25792 ;
25793 return 0;
25794 }
25795 _ACEOF
25796 rm -f conftest.$ac_objext conftest$ac_exeext
25797 if { (ac_try="$ac_link"
25798 case "(($ac_try" in
25799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25800 *) ac_try_echo=$ac_try;;
25801 esac
25802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25803 (eval "$ac_link") 2>conftest.er1
25804 ac_status=$?
25805 grep -v '^ *+' conftest.er1 >conftest.err
25806 rm -f conftest.er1
25807 cat conftest.err >&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); } && {
25810 test -z "$ac_c_werror_flag" ||
25811 test ! -s conftest.err
25812 } && test -s conftest$ac_exeext &&
25813 $as_test_x conftest$ac_exeext; then
25814 eval "$as_ac_var=yes"
25815 else
25816 echo "$as_me: failed program was:" >&5
25817 sed 's/^/| /' conftest.$ac_ext >&5
25818
25819 eval "$as_ac_var=no"
25820 fi
25821
25822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25823 conftest$ac_exeext conftest.$ac_ext
25824 fi
25825 ac_res=`eval echo '${'$as_ac_var'}'`
25826 { echo "$as_me:$LINENO: result: $ac_res" >&5
25827 echo "${ECHO_T}$ac_res" >&6; }
25828 if test `eval echo '${'$as_ac_var'}'` = yes; then
25829 cat >>confdefs.h <<_ACEOF
25830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25831 _ACEOF
25832 have_floor=1
25833 fi
25834 done
25835
25836 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25837 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25838 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25839 { echo "$as_me:$LINENO: result: yes" >&5
25840 echo "${ECHO_T}yes" >&6; }
25841 else
25842 { echo "$as_me:$LINENO: result: no" >&5
25843 echo "${ECHO_T}no" >&6; }
25844 LIBS="$LIBS -lm"
25845 # use different functions to avoid configure caching
25846 have_sin=0
25847 have_ceil=0
25848
25849 for ac_func in sin
25850 do
25851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25852 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25854 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25855 echo $ECHO_N "(cached) $ECHO_C" >&6
25856 else
25857 cat >conftest.$ac_ext <<_ACEOF
25858 /* confdefs.h. */
25859 _ACEOF
25860 cat confdefs.h >>conftest.$ac_ext
25861 cat >>conftest.$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25865 #define $ac_func innocuous_$ac_func
25866
25867 /* System header to define __stub macros and hopefully few prototypes,
25868 which can conflict with char $ac_func (); below.
25869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25870 <limits.h> exists even on freestanding compilers. */
25871
25872 #ifdef __STDC__
25873 # include <limits.h>
25874 #else
25875 # include <assert.h>
25876 #endif
25877
25878 #undef $ac_func
25879
25880 /* Override any GCC internal prototype to avoid an error.
25881 Use char because int might match the return type of a GCC
25882 builtin and then its argument prototype would still apply. */
25883 #ifdef __cplusplus
25884 extern "C"
25885 #endif
25886 char $ac_func ();
25887 /* The GNU C library defines this for functions which it implements
25888 to always fail with ENOSYS. Some functions are actually named
25889 something starting with __ and the normal name is an alias. */
25890 #if defined __stub_$ac_func || defined __stub___$ac_func
25891 choke me
25892 #endif
25893
25894 int
25895 main ()
25896 {
25897 return $ac_func ();
25898 ;
25899 return 0;
25900 }
25901 _ACEOF
25902 rm -f conftest.$ac_objext conftest$ac_exeext
25903 if { (ac_try="$ac_link"
25904 case "(($ac_try" in
25905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25906 *) ac_try_echo=$ac_try;;
25907 esac
25908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25909 (eval "$ac_link") 2>conftest.er1
25910 ac_status=$?
25911 grep -v '^ *+' conftest.er1 >conftest.err
25912 rm -f conftest.er1
25913 cat conftest.err >&5
25914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915 (exit $ac_status); } && {
25916 test -z "$ac_c_werror_flag" ||
25917 test ! -s conftest.err
25918 } && test -s conftest$ac_exeext &&
25919 $as_test_x conftest$ac_exeext; then
25920 eval "$as_ac_var=yes"
25921 else
25922 echo "$as_me: failed program was:" >&5
25923 sed 's/^/| /' conftest.$ac_ext >&5
25924
25925 eval "$as_ac_var=no"
25926 fi
25927
25928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25929 conftest$ac_exeext conftest.$ac_ext
25930 fi
25931 ac_res=`eval echo '${'$as_ac_var'}'`
25932 { echo "$as_me:$LINENO: result: $ac_res" >&5
25933 echo "${ECHO_T}$ac_res" >&6; }
25934 if test `eval echo '${'$as_ac_var'}'` = yes; then
25935 cat >>confdefs.h <<_ACEOF
25936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25937 _ACEOF
25938 have_sin=1
25939 fi
25940 done
25941
25942
25943 for ac_func in ceil
25944 do
25945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25946 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25948 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25949 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 else
25951 cat >conftest.$ac_ext <<_ACEOF
25952 /* confdefs.h. */
25953 _ACEOF
25954 cat confdefs.h >>conftest.$ac_ext
25955 cat >>conftest.$ac_ext <<_ACEOF
25956 /* end confdefs.h. */
25957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25959 #define $ac_func innocuous_$ac_func
25960
25961 /* System header to define __stub macros and hopefully few prototypes,
25962 which can conflict with char $ac_func (); below.
25963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25964 <limits.h> exists even on freestanding compilers. */
25965
25966 #ifdef __STDC__
25967 # include <limits.h>
25968 #else
25969 # include <assert.h>
25970 #endif
25971
25972 #undef $ac_func
25973
25974 /* Override any GCC internal prototype to avoid an error.
25975 Use char because int might match the return type of a GCC
25976 builtin and then its argument prototype would still apply. */
25977 #ifdef __cplusplus
25978 extern "C"
25979 #endif
25980 char $ac_func ();
25981 /* The GNU C library defines this for functions which it implements
25982 to always fail with ENOSYS. Some functions are actually named
25983 something starting with __ and the normal name is an alias. */
25984 #if defined __stub_$ac_func || defined __stub___$ac_func
25985 choke me
25986 #endif
25987
25988 int
25989 main ()
25990 {
25991 return $ac_func ();
25992 ;
25993 return 0;
25994 }
25995 _ACEOF
25996 rm -f conftest.$ac_objext conftest$ac_exeext
25997 if { (ac_try="$ac_link"
25998 case "(($ac_try" in
25999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26000 *) ac_try_echo=$ac_try;;
26001 esac
26002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26003 (eval "$ac_link") 2>conftest.er1
26004 ac_status=$?
26005 grep -v '^ *+' conftest.er1 >conftest.err
26006 rm -f conftest.er1
26007 cat conftest.err >&5
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); } && {
26010 test -z "$ac_c_werror_flag" ||
26011 test ! -s conftest.err
26012 } && test -s conftest$ac_exeext &&
26013 $as_test_x conftest$ac_exeext; then
26014 eval "$as_ac_var=yes"
26015 else
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.$ac_ext >&5
26018
26019 eval "$as_ac_var=no"
26020 fi
26021
26022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26023 conftest$ac_exeext conftest.$ac_ext
26024 fi
26025 ac_res=`eval echo '${'$as_ac_var'}'`
26026 { echo "$as_me:$LINENO: result: $ac_res" >&5
26027 echo "${ECHO_T}$ac_res" >&6; }
26028 if test `eval echo '${'$as_ac_var'}'` = yes; then
26029 cat >>confdefs.h <<_ACEOF
26030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26031 _ACEOF
26032 have_ceil=1
26033 fi
26034 done
26035
26036 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26037 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26038 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26039 { echo "$as_me:$LINENO: result: yes" >&5
26040 echo "${ECHO_T}yes" >&6; }
26041 else
26042 { echo "$as_me:$LINENO: result: no" >&5
26043 echo "${ECHO_T}no" >&6; }
26044 # not sure we should warn the user, crash, etc.
26045 fi
26046 fi
26047
26048 ac_ext=cpp
26049 ac_cpp='$CXXCPP $CPPFLAGS'
26050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26053
26054 if test "wxUSE_UNICODE" = "yes"; then
26055
26056 for wx_func in wcstoull
26057 do
26058 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26059 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26060 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26061 echo $ECHO_N "(cached) $ECHO_C" >&6
26062 else
26063
26064 cat >conftest.$ac_ext <<_ACEOF
26065
26066 /* confdefs.h. */
26067 _ACEOF
26068 cat confdefs.h >>conftest.$ac_ext
26069 cat >>conftest.$ac_ext <<_ACEOF
26070 /* end confdefs.h. */
26071
26072
26073 $ac_includes_default
26074
26075 int
26076 main ()
26077 {
26078
26079 #ifndef $wx_func
26080 &$wx_func;
26081 #endif
26082
26083
26084 ;
26085 return 0;
26086 }
26087
26088 _ACEOF
26089 rm -f conftest.$ac_objext conftest$ac_exeext
26090 if { (ac_try="$ac_link"
26091 case "(($ac_try" in
26092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26093 *) ac_try_echo=$ac_try;;
26094 esac
26095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26096 (eval "$ac_link") 2>conftest.er1
26097 ac_status=$?
26098 grep -v '^ *+' conftest.er1 >conftest.err
26099 rm -f conftest.er1
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && {
26103 test -z "$ac_cxx_werror_flag" ||
26104 test ! -s conftest.err
26105 } && test -s conftest$ac_exeext &&
26106 $as_test_x conftest$ac_exeext; then
26107 eval wx_cv_func_$wx_func=yes
26108 else
26109 echo "$as_me: failed program was:" >&5
26110 sed 's/^/| /' conftest.$ac_ext >&5
26111
26112 eval wx_cv_func_$wx_func=no
26113 fi
26114
26115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26116 conftest$ac_exeext conftest.$ac_ext
26117
26118 fi
26119 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26120 { echo "$as_me:$LINENO: result: $ac_res" >&5
26121 echo "${ECHO_T}$ac_res" >&6; }
26122
26123 if eval test \$wx_cv_func_$wx_func = yes
26124 then
26125 cat >>confdefs.h <<_ACEOF
26126 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26127 _ACEOF
26128
26129
26130 else
26131 :
26132
26133 fi
26134 done
26135
26136 else
26137
26138 for wx_func in strtoull
26139 do
26140 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26141 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26142 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26143 echo $ECHO_N "(cached) $ECHO_C" >&6
26144 else
26145
26146 cat >conftest.$ac_ext <<_ACEOF
26147
26148 /* confdefs.h. */
26149 _ACEOF
26150 cat confdefs.h >>conftest.$ac_ext
26151 cat >>conftest.$ac_ext <<_ACEOF
26152 /* end confdefs.h. */
26153
26154
26155 $ac_includes_default
26156
26157 int
26158 main ()
26159 {
26160
26161 #ifndef $wx_func
26162 &$wx_func;
26163 #endif
26164
26165
26166 ;
26167 return 0;
26168 }
26169
26170 _ACEOF
26171 rm -f conftest.$ac_objext conftest$ac_exeext
26172 if { (ac_try="$ac_link"
26173 case "(($ac_try" in
26174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26175 *) ac_try_echo=$ac_try;;
26176 esac
26177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26178 (eval "$ac_link") 2>conftest.er1
26179 ac_status=$?
26180 grep -v '^ *+' conftest.er1 >conftest.err
26181 rm -f conftest.er1
26182 cat conftest.err >&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); } && {
26185 test -z "$ac_cxx_werror_flag" ||
26186 test ! -s conftest.err
26187 } && test -s conftest$ac_exeext &&
26188 $as_test_x conftest$ac_exeext; then
26189 eval wx_cv_func_$wx_func=yes
26190 else
26191 echo "$as_me: failed program was:" >&5
26192 sed 's/^/| /' conftest.$ac_ext >&5
26193
26194 eval wx_cv_func_$wx_func=no
26195 fi
26196
26197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26198 conftest$ac_exeext conftest.$ac_ext
26199
26200 fi
26201 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26202 { echo "$as_me:$LINENO: result: $ac_res" >&5
26203 echo "${ECHO_T}$ac_res" >&6; }
26204
26205 if eval test \$wx_cv_func_$wx_func = yes
26206 then
26207 cat >>confdefs.h <<_ACEOF
26208 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26209 _ACEOF
26210
26211
26212 else
26213 :
26214
26215 fi
26216 done
26217
26218 fi
26219 ac_ext=c
26220 ac_cpp='$CPP $CPPFLAGS'
26221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26224
26225
26226
26227
26228 if test "$wxUSE_REGEX" != "no"; then
26229 cat >>confdefs.h <<\_ACEOF
26230 #define wxUSE_REGEX 1
26231 _ACEOF
26232
26233
26234 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26235 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26236 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26237 wxUSE_REGEX=builtin
26238 fi
26239
26240 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26241 { echo "$as_me:$LINENO: checking for regex.h" >&5
26242 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26243 if test "${ac_cv_header_regex_h+set}" = set; then
26244 echo $ECHO_N "(cached) $ECHO_C" >&6
26245 else
26246 cat >conftest.$ac_ext <<_ACEOF
26247 /* confdefs.h. */
26248 _ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26252
26253
26254 #include <regex.h>
26255 _ACEOF
26256 rm -f conftest.$ac_objext
26257 if { (ac_try="$ac_compile"
26258 case "(($ac_try" in
26259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26260 *) ac_try_echo=$ac_try;;
26261 esac
26262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26263 (eval "$ac_compile") 2>conftest.er1
26264 ac_status=$?
26265 grep -v '^ *+' conftest.er1 >conftest.err
26266 rm -f conftest.er1
26267 cat conftest.err >&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } && {
26270 test -z "$ac_c_werror_flag" ||
26271 test ! -s conftest.err
26272 } && test -s conftest.$ac_objext; then
26273 ac_cv_header_regex_h=yes
26274 else
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26277
26278 ac_cv_header_regex_h=no
26279 fi
26280
26281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26282 fi
26283 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26284 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26285 if test $ac_cv_header_regex_h = yes; then
26286
26287
26288 for ac_func in regcomp re_search
26289 do
26290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26294 echo $ECHO_N "(cached) $ECHO_C" >&6
26295 else
26296 cat >conftest.$ac_ext <<_ACEOF
26297 /* confdefs.h. */
26298 _ACEOF
26299 cat confdefs.h >>conftest.$ac_ext
26300 cat >>conftest.$ac_ext <<_ACEOF
26301 /* end confdefs.h. */
26302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26304 #define $ac_func innocuous_$ac_func
26305
26306 /* System header to define __stub macros and hopefully few prototypes,
26307 which can conflict with char $ac_func (); below.
26308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26309 <limits.h> exists even on freestanding compilers. */
26310
26311 #ifdef __STDC__
26312 # include <limits.h>
26313 #else
26314 # include <assert.h>
26315 #endif
26316
26317 #undef $ac_func
26318
26319 /* Override any GCC internal prototype to avoid an error.
26320 Use char because int might match the return type of a GCC
26321 builtin and then its argument prototype would still apply. */
26322 #ifdef __cplusplus
26323 extern "C"
26324 #endif
26325 char $ac_func ();
26326 /* The GNU C library defines this for functions which it implements
26327 to always fail with ENOSYS. Some functions are actually named
26328 something starting with __ and the normal name is an alias. */
26329 #if defined __stub_$ac_func || defined __stub___$ac_func
26330 choke me
26331 #endif
26332
26333 int
26334 main ()
26335 {
26336 return $ac_func ();
26337 ;
26338 return 0;
26339 }
26340 _ACEOF
26341 rm -f conftest.$ac_objext conftest$ac_exeext
26342 if { (ac_try="$ac_link"
26343 case "(($ac_try" in
26344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26345 *) ac_try_echo=$ac_try;;
26346 esac
26347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26348 (eval "$ac_link") 2>conftest.er1
26349 ac_status=$?
26350 grep -v '^ *+' conftest.er1 >conftest.err
26351 rm -f conftest.er1
26352 cat conftest.err >&5
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); } && {
26355 test -z "$ac_c_werror_flag" ||
26356 test ! -s conftest.err
26357 } && test -s conftest$ac_exeext &&
26358 $as_test_x conftest$ac_exeext; then
26359 eval "$as_ac_var=yes"
26360 else
26361 echo "$as_me: failed program was:" >&5
26362 sed 's/^/| /' conftest.$ac_ext >&5
26363
26364 eval "$as_ac_var=no"
26365 fi
26366
26367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26368 conftest$ac_exeext conftest.$ac_ext
26369 fi
26370 ac_res=`eval echo '${'$as_ac_var'}'`
26371 { echo "$as_me:$LINENO: result: $ac_res" >&5
26372 echo "${ECHO_T}$ac_res" >&6; }
26373 if test `eval echo '${'$as_ac_var'}'` = yes; then
26374 cat >>confdefs.h <<_ACEOF
26375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26376 _ACEOF
26377
26378 fi
26379 done
26380
26381 fi
26382
26383
26384
26385 if test "x$ac_cv_func_regcomp" != "xyes"; then
26386 if test "$wxUSE_REGEX" = "sys" ; then
26387 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26388 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26389 { (exit 1); exit 1; }; }
26390 else
26391 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26392 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26393 wxUSE_REGEX=builtin
26394 fi
26395 else
26396 wxUSE_REGEX=sys
26397 cat >>confdefs.h <<\_ACEOF
26398 #define WX_NO_REGEX_ADVANCED 1
26399 _ACEOF
26400
26401 fi
26402 fi
26403 fi
26404
26405
26406 ZLIB_LINK=
26407 if test "$wxUSE_ZLIB" != "no" ; then
26408 cat >>confdefs.h <<\_ACEOF
26409 #define wxUSE_ZLIB 1
26410 _ACEOF
26411
26412
26413 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26414 if test "$USE_DARWIN" = 1; then
26415 system_zlib_h_ok="yes"
26416 else
26417 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26418 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26419 if test "${ac_cv_header_zlib_h+set}" = set; then
26420 echo $ECHO_N "(cached) $ECHO_C" >&6
26421 else
26422 if test "$cross_compiling" = yes; then
26423 unset ac_cv_header_zlib_h
26424
26425 else
26426 cat >conftest.$ac_ext <<_ACEOF
26427 /* confdefs.h. */
26428 _ACEOF
26429 cat confdefs.h >>conftest.$ac_ext
26430 cat >>conftest.$ac_ext <<_ACEOF
26431 /* end confdefs.h. */
26432
26433 #include <zlib.h>
26434 #include <stdio.h>
26435
26436 int main()
26437 {
26438 FILE *f=fopen("conftestval", "w");
26439 if (!f) exit(1);
26440 fprintf(f, "%s",
26441 ZLIB_VERSION[0] == '1' &&
26442 (ZLIB_VERSION[2] > '1' ||
26443 (ZLIB_VERSION[2] == '1' &&
26444 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26445 exit(0);
26446 }
26447
26448 _ACEOF
26449 rm -f conftest$ac_exeext
26450 if { (ac_try="$ac_link"
26451 case "(($ac_try" in
26452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26453 *) ac_try_echo=$ac_try;;
26454 esac
26455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26456 (eval "$ac_link") 2>&5
26457 ac_status=$?
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26460 { (case "(($ac_try" in
26461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26462 *) ac_try_echo=$ac_try;;
26463 esac
26464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26465 (eval "$ac_try") 2>&5
26466 ac_status=$?
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); }; }; then
26469 ac_cv_header_zlib_h=`cat conftestval`
26470 else
26471 echo "$as_me: program exited with status $ac_status" >&5
26472 echo "$as_me: failed program was:" >&5
26473 sed 's/^/| /' conftest.$ac_ext >&5
26474
26475 ( exit $ac_status )
26476 ac_cv_header_zlib_h=no
26477 fi
26478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26479 fi
26480
26481
26482
26483 fi
26484 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26485 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26486 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26487 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26488 if test "${ac_cv_header_zlib_h+set}" = set; then
26489 echo $ECHO_N "(cached) $ECHO_C" >&6
26490 else
26491 cat >conftest.$ac_ext <<_ACEOF
26492 /* confdefs.h. */
26493 _ACEOF
26494 cat confdefs.h >>conftest.$ac_ext
26495 cat >>conftest.$ac_ext <<_ACEOF
26496 /* end confdefs.h. */
26497
26498
26499 #include <zlib.h>
26500 _ACEOF
26501 rm -f conftest.$ac_objext
26502 if { (ac_try="$ac_compile"
26503 case "(($ac_try" in
26504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26505 *) ac_try_echo=$ac_try;;
26506 esac
26507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26508 (eval "$ac_compile") 2>conftest.er1
26509 ac_status=$?
26510 grep -v '^ *+' conftest.er1 >conftest.err
26511 rm -f conftest.er1
26512 cat conftest.err >&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } && {
26515 test -z "$ac_c_werror_flag" ||
26516 test ! -s conftest.err
26517 } && test -s conftest.$ac_objext; then
26518 ac_cv_header_zlib_h=yes
26519 else
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26522
26523 ac_cv_header_zlib_h=no
26524 fi
26525
26526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26527 fi
26528 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26529 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26530
26531
26532
26533 system_zlib_h_ok=$ac_cv_header_zlib_h
26534 fi
26535
26536 if test "$system_zlib_h_ok" = "yes"; then
26537 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26538 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26539 if test "${ac_cv_lib_z_deflate+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 else
26542 ac_check_lib_save_LIBS=$LIBS
26543 LIBS="-lz $LIBS"
26544 cat >conftest.$ac_ext <<_ACEOF
26545 /* confdefs.h. */
26546 _ACEOF
26547 cat confdefs.h >>conftest.$ac_ext
26548 cat >>conftest.$ac_ext <<_ACEOF
26549 /* end confdefs.h. */
26550
26551 /* Override any GCC internal prototype to avoid an error.
26552 Use char because int might match the return type of a GCC
26553 builtin and then its argument prototype would still apply. */
26554 #ifdef __cplusplus
26555 extern "C"
26556 #endif
26557 char deflate ();
26558 int
26559 main ()
26560 {
26561 return deflate ();
26562 ;
26563 return 0;
26564 }
26565 _ACEOF
26566 rm -f conftest.$ac_objext conftest$ac_exeext
26567 if { (ac_try="$ac_link"
26568 case "(($ac_try" in
26569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26570 *) ac_try_echo=$ac_try;;
26571 esac
26572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26573 (eval "$ac_link") 2>conftest.er1
26574 ac_status=$?
26575 grep -v '^ *+' conftest.er1 >conftest.err
26576 rm -f conftest.er1
26577 cat conftest.err >&5
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); } && {
26580 test -z "$ac_c_werror_flag" ||
26581 test ! -s conftest.err
26582 } && test -s conftest$ac_exeext &&
26583 $as_test_x conftest$ac_exeext; then
26584 ac_cv_lib_z_deflate=yes
26585 else
26586 echo "$as_me: failed program was:" >&5
26587 sed 's/^/| /' conftest.$ac_ext >&5
26588
26589 ac_cv_lib_z_deflate=no
26590 fi
26591
26592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26593 conftest$ac_exeext conftest.$ac_ext
26594 LIBS=$ac_check_lib_save_LIBS
26595 fi
26596 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26597 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26598 if test $ac_cv_lib_z_deflate = yes; then
26599 ZLIB_LINK=" -lz"
26600 fi
26601
26602 fi
26603
26604 if test "x$ZLIB_LINK" = "x" ; then
26605 if test "$wxUSE_ZLIB" = "sys" ; then
26606 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26607 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26608 { (exit 1); exit 1; }; }
26609 else
26610 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26611 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26612 wxUSE_ZLIB=builtin
26613 fi
26614 else
26615 wxUSE_ZLIB=sys
26616 fi
26617 fi
26618 fi
26619
26620
26621 PNG_LINK=
26622 if test "$wxUSE_LIBPNG" != "no" ; then
26623 cat >>confdefs.h <<\_ACEOF
26624 #define wxUSE_LIBPNG 1
26625 _ACEOF
26626
26627
26628 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26629 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26630 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26631 wxUSE_LIBPNG=sys
26632 fi
26633
26634 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26635 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26636 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26637 wxUSE_LIBPNG=builtin
26638 fi
26639
26640 if test "$wxUSE_MGL" != 1 ; then
26641 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26642 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26643 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26644 if test "${ac_cv_header_png_h+set}" = set; then
26645 echo $ECHO_N "(cached) $ECHO_C" >&6
26646 else
26647 if test "$cross_compiling" = yes; then
26648 unset ac_cv_header_png_h
26649
26650 else
26651 cat >conftest.$ac_ext <<_ACEOF
26652 /* confdefs.h. */
26653 _ACEOF
26654 cat confdefs.h >>conftest.$ac_ext
26655 cat >>conftest.$ac_ext <<_ACEOF
26656 /* end confdefs.h. */
26657
26658 #include <png.h>
26659 #include <stdio.h>
26660
26661 int main()
26662 {
26663 FILE *f=fopen("conftestval", "w");
26664 if (!f) exit(1);
26665 fprintf(f, "%s",
26666 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26667 exit(0);
26668 }
26669
26670 _ACEOF
26671 rm -f conftest$ac_exeext
26672 if { (ac_try="$ac_link"
26673 case "(($ac_try" in
26674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26675 *) ac_try_echo=$ac_try;;
26676 esac
26677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26678 (eval "$ac_link") 2>&5
26679 ac_status=$?
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26682 { (case "(($ac_try" in
26683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26684 *) ac_try_echo=$ac_try;;
26685 esac
26686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26687 (eval "$ac_try") 2>&5
26688 ac_status=$?
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); }; }; then
26691 ac_cv_header_png_h=`cat conftestval`
26692 else
26693 echo "$as_me: program exited with status $ac_status" >&5
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26696
26697 ( exit $ac_status )
26698 ac_cv_header_png_h=no
26699 fi
26700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26701 fi
26702
26703
26704
26705 fi
26706 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26707 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26708 { echo "$as_me:$LINENO: checking for png.h" >&5
26709 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26710 if test "${ac_cv_header_png_h+set}" = set; then
26711 echo $ECHO_N "(cached) $ECHO_C" >&6
26712 else
26713 cat >conftest.$ac_ext <<_ACEOF
26714 /* confdefs.h. */
26715 _ACEOF
26716 cat confdefs.h >>conftest.$ac_ext
26717 cat >>conftest.$ac_ext <<_ACEOF
26718 /* end confdefs.h. */
26719
26720
26721 #include <png.h>
26722 _ACEOF
26723 rm -f conftest.$ac_objext
26724 if { (ac_try="$ac_compile"
26725 case "(($ac_try" in
26726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26727 *) ac_try_echo=$ac_try;;
26728 esac
26729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26730 (eval "$ac_compile") 2>conftest.er1
26731 ac_status=$?
26732 grep -v '^ *+' conftest.er1 >conftest.err
26733 rm -f conftest.er1
26734 cat conftest.err >&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); } && {
26737 test -z "$ac_c_werror_flag" ||
26738 test ! -s conftest.err
26739 } && test -s conftest.$ac_objext; then
26740 ac_cv_header_png_h=yes
26741 else
26742 echo "$as_me: failed program was:" >&5
26743 sed 's/^/| /' conftest.$ac_ext >&5
26744
26745 ac_cv_header_png_h=no
26746 fi
26747
26748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26749 fi
26750 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26751 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26752
26753
26754
26755 if test "$ac_cv_header_png_h" = "yes"; then
26756 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26757 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26758 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26759 echo $ECHO_N "(cached) $ECHO_C" >&6
26760 else
26761 ac_check_lib_save_LIBS=$LIBS
26762 LIBS="-lpng -lz -lm $LIBS"
26763 cat >conftest.$ac_ext <<_ACEOF
26764 /* confdefs.h. */
26765 _ACEOF
26766 cat confdefs.h >>conftest.$ac_ext
26767 cat >>conftest.$ac_ext <<_ACEOF
26768 /* end confdefs.h. */
26769
26770 /* Override any GCC internal prototype to avoid an error.
26771 Use char because int might match the return type of a GCC
26772 builtin and then its argument prototype would still apply. */
26773 #ifdef __cplusplus
26774 extern "C"
26775 #endif
26776 char png_check_sig ();
26777 int
26778 main ()
26779 {
26780 return png_check_sig ();
26781 ;
26782 return 0;
26783 }
26784 _ACEOF
26785 rm -f conftest.$ac_objext conftest$ac_exeext
26786 if { (ac_try="$ac_link"
26787 case "(($ac_try" in
26788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26789 *) ac_try_echo=$ac_try;;
26790 esac
26791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26792 (eval "$ac_link") 2>conftest.er1
26793 ac_status=$?
26794 grep -v '^ *+' conftest.er1 >conftest.err
26795 rm -f conftest.er1
26796 cat conftest.err >&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); } && {
26799 test -z "$ac_c_werror_flag" ||
26800 test ! -s conftest.err
26801 } && test -s conftest$ac_exeext &&
26802 $as_test_x conftest$ac_exeext; then
26803 ac_cv_lib_png_png_check_sig=yes
26804 else
26805 echo "$as_me: failed program was:" >&5
26806 sed 's/^/| /' conftest.$ac_ext >&5
26807
26808 ac_cv_lib_png_png_check_sig=no
26809 fi
26810
26811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26812 conftest$ac_exeext conftest.$ac_ext
26813 LIBS=$ac_check_lib_save_LIBS
26814 fi
26815 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26816 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26817 if test $ac_cv_lib_png_png_check_sig = yes; then
26818 PNG_LINK=" -lpng -lz"
26819 fi
26820
26821 fi
26822
26823 if test "x$PNG_LINK" = "x" ; then
26824 if test "$wxUSE_LIBPNG" = "sys" ; then
26825 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26826 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26827 { (exit 1); exit 1; }; }
26828 else
26829 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26830 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26831 wxUSE_LIBPNG=builtin
26832 fi
26833 else
26834 wxUSE_LIBPNG=sys
26835 fi
26836 fi
26837 fi
26838 fi
26839
26840
26841 JPEG_LINK=
26842 if test "$wxUSE_LIBJPEG" != "no" ; then
26843 cat >>confdefs.h <<\_ACEOF
26844 #define wxUSE_LIBJPEG 1
26845 _ACEOF
26846
26847
26848 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26849 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26850 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26851 wxUSE_LIBJPEG=sys
26852 fi
26853
26854 if test "$wxUSE_MGL" != 1 ; then
26855 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26856 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26857 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26858 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26859 echo $ECHO_N "(cached) $ECHO_C" >&6
26860 else
26861 cat >conftest.$ac_ext <<_ACEOF
26862 /* confdefs.h. */
26863 _ACEOF
26864 cat confdefs.h >>conftest.$ac_ext
26865 cat >>conftest.$ac_ext <<_ACEOF
26866 /* end confdefs.h. */
26867
26868 #undef HAVE_STDLIB_H
26869 #include <stdio.h>
26870 #include <jpeglib.h>
26871
26872 int
26873 main ()
26874 {
26875
26876
26877 ;
26878 return 0;
26879 }
26880 _ACEOF
26881 rm -f conftest.$ac_objext
26882 if { (ac_try="$ac_compile"
26883 case "(($ac_try" in
26884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26885 *) ac_try_echo=$ac_try;;
26886 esac
26887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26888 (eval "$ac_compile") 2>conftest.er1
26889 ac_status=$?
26890 grep -v '^ *+' conftest.er1 >conftest.err
26891 rm -f conftest.er1
26892 cat conftest.err >&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); } && {
26895 test -z "$ac_c_werror_flag" ||
26896 test ! -s conftest.err
26897 } && test -s conftest.$ac_objext; then
26898 ac_cv_header_jpeglib_h=yes
26899 else
26900 echo "$as_me: failed program was:" >&5
26901 sed 's/^/| /' conftest.$ac_ext >&5
26902
26903 ac_cv_header_jpeglib_h=no
26904
26905 fi
26906
26907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26908
26909 fi
26910
26911 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26912 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26913
26914 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26915 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26916 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26917 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26918 echo $ECHO_N "(cached) $ECHO_C" >&6
26919 else
26920 ac_check_lib_save_LIBS=$LIBS
26921 LIBS="-ljpeg $LIBS"
26922 cat >conftest.$ac_ext <<_ACEOF
26923 /* confdefs.h. */
26924 _ACEOF
26925 cat confdefs.h >>conftest.$ac_ext
26926 cat >>conftest.$ac_ext <<_ACEOF
26927 /* end confdefs.h. */
26928
26929 /* Override any GCC internal prototype to avoid an error.
26930 Use char because int might match the return type of a GCC
26931 builtin and then its argument prototype would still apply. */
26932 #ifdef __cplusplus
26933 extern "C"
26934 #endif
26935 char jpeg_read_header ();
26936 int
26937 main ()
26938 {
26939 return jpeg_read_header ();
26940 ;
26941 return 0;
26942 }
26943 _ACEOF
26944 rm -f conftest.$ac_objext conftest$ac_exeext
26945 if { (ac_try="$ac_link"
26946 case "(($ac_try" in
26947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26948 *) ac_try_echo=$ac_try;;
26949 esac
26950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26951 (eval "$ac_link") 2>conftest.er1
26952 ac_status=$?
26953 grep -v '^ *+' conftest.er1 >conftest.err
26954 rm -f conftest.er1
26955 cat conftest.err >&5
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } && {
26958 test -z "$ac_c_werror_flag" ||
26959 test ! -s conftest.err
26960 } && test -s conftest$ac_exeext &&
26961 $as_test_x conftest$ac_exeext; then
26962 ac_cv_lib_jpeg_jpeg_read_header=yes
26963 else
26964 echo "$as_me: failed program was:" >&5
26965 sed 's/^/| /' conftest.$ac_ext >&5
26966
26967 ac_cv_lib_jpeg_jpeg_read_header=no
26968 fi
26969
26970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26971 conftest$ac_exeext conftest.$ac_ext
26972 LIBS=$ac_check_lib_save_LIBS
26973 fi
26974 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26975 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26976 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26977 JPEG_LINK=" -ljpeg"
26978 fi
26979
26980 fi
26981
26982 if test "x$JPEG_LINK" = "x" ; then
26983 if test "$wxUSE_LIBJPEG" = "sys" ; then
26984 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26985 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26986 { (exit 1); exit 1; }; }
26987 else
26988 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26989 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26990 wxUSE_LIBJPEG=builtin
26991 fi
26992 else
26993 wxUSE_LIBJPEG=sys
26994
26995 if test "$wxUSE_MSW" = 1; then
26996 { echo "$as_me:$LINENO: checking for boolean" >&5
26997 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26998 if test "${ac_cv_type_boolean+set}" = set; then
26999 echo $ECHO_N "(cached) $ECHO_C" >&6
27000 else
27001 cat >conftest.$ac_ext <<_ACEOF
27002 /* confdefs.h. */
27003 _ACEOF
27004 cat confdefs.h >>conftest.$ac_ext
27005 cat >>conftest.$ac_ext <<_ACEOF
27006 /* end confdefs.h. */
27007 #include <windows.h>
27008
27009 typedef boolean ac__type_new_;
27010 int
27011 main ()
27012 {
27013 if ((ac__type_new_ *) 0)
27014 return 0;
27015 if (sizeof (ac__type_new_))
27016 return 0;
27017 ;
27018 return 0;
27019 }
27020 _ACEOF
27021 rm -f conftest.$ac_objext
27022 if { (ac_try="$ac_compile"
27023 case "(($ac_try" in
27024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27025 *) ac_try_echo=$ac_try;;
27026 esac
27027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27028 (eval "$ac_compile") 2>conftest.er1
27029 ac_status=$?
27030 grep -v '^ *+' conftest.er1 >conftest.err
27031 rm -f conftest.er1
27032 cat conftest.err >&5
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); } && {
27035 test -z "$ac_c_werror_flag" ||
27036 test ! -s conftest.err
27037 } && test -s conftest.$ac_objext; then
27038 ac_cv_type_boolean=yes
27039 else
27040 echo "$as_me: failed program was:" >&5
27041 sed 's/^/| /' conftest.$ac_ext >&5
27042
27043 ac_cv_type_boolean=no
27044 fi
27045
27046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27047 fi
27048 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27049 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27050 if test $ac_cv_type_boolean = yes; then
27051
27052 cat >>confdefs.h <<_ACEOF
27053 #define HAVE_BOOLEAN 1
27054 _ACEOF
27055
27056
27057 { echo "$as_me:$LINENO: checking for boolean" >&5
27058 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27059 if test "${ac_cv_type_boolean+set}" = set; then
27060 echo $ECHO_N "(cached) $ECHO_C" >&6
27061 else
27062 cat >conftest.$ac_ext <<_ACEOF
27063 /* confdefs.h. */
27064 _ACEOF
27065 cat confdefs.h >>conftest.$ac_ext
27066 cat >>conftest.$ac_ext <<_ACEOF
27067 /* end confdefs.h. */
27068
27069 #undef HAVE_BOOLEAN
27070 #include <stdio.h>
27071 #include <jpeglib.h>
27072
27073
27074 typedef boolean ac__type_new_;
27075 int
27076 main ()
27077 {
27078 if ((ac__type_new_ *) 0)
27079 return 0;
27080 if (sizeof (ac__type_new_))
27081 return 0;
27082 ;
27083 return 0;
27084 }
27085 _ACEOF
27086 rm -f conftest.$ac_objext
27087 if { (ac_try="$ac_compile"
27088 case "(($ac_try" in
27089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27090 *) ac_try_echo=$ac_try;;
27091 esac
27092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27093 (eval "$ac_compile") 2>conftest.er1
27094 ac_status=$?
27095 grep -v '^ *+' conftest.er1 >conftest.err
27096 rm -f conftest.er1
27097 cat conftest.err >&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); } && {
27100 test -z "$ac_c_werror_flag" ||
27101 test ! -s conftest.err
27102 } && test -s conftest.$ac_objext; then
27103 ac_cv_type_boolean=yes
27104 else
27105 echo "$as_me: failed program was:" >&5
27106 sed 's/^/| /' conftest.$ac_ext >&5
27107
27108 ac_cv_type_boolean=no
27109 fi
27110
27111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27112 fi
27113 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27114 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27115
27116 # The cast to long int works around a bug in the HP C Compiler
27117 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27118 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27119 # This bug is HP SR number 8606223364.
27120 { echo "$as_me:$LINENO: checking size of boolean" >&5
27121 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27122 if test "${ac_cv_sizeof_boolean+set}" = set; then
27123 echo $ECHO_N "(cached) $ECHO_C" >&6
27124 else
27125 if test "$cross_compiling" = yes; then
27126 # Depending upon the size, compute the lo and hi bounds.
27127 cat >conftest.$ac_ext <<_ACEOF
27128 /* confdefs.h. */
27129 _ACEOF
27130 cat confdefs.h >>conftest.$ac_ext
27131 cat >>conftest.$ac_ext <<_ACEOF
27132 /* end confdefs.h. */
27133
27134 #undef HAVE_BOOLEAN
27135 #include <stdio.h>
27136 #include <jpeglib.h>
27137
27138
27139 typedef boolean ac__type_sizeof_;
27140 int
27141 main ()
27142 {
27143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27144 test_array [0] = 0
27145
27146 ;
27147 return 0;
27148 }
27149 _ACEOF
27150 rm -f conftest.$ac_objext
27151 if { (ac_try="$ac_compile"
27152 case "(($ac_try" in
27153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27154 *) ac_try_echo=$ac_try;;
27155 esac
27156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27157 (eval "$ac_compile") 2>conftest.er1
27158 ac_status=$?
27159 grep -v '^ *+' conftest.er1 >conftest.err
27160 rm -f conftest.er1
27161 cat conftest.err >&5
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); } && {
27164 test -z "$ac_c_werror_flag" ||
27165 test ! -s conftest.err
27166 } && test -s conftest.$ac_objext; then
27167 ac_lo=0 ac_mid=0
27168 while :; do
27169 cat >conftest.$ac_ext <<_ACEOF
27170 /* confdefs.h. */
27171 _ACEOF
27172 cat confdefs.h >>conftest.$ac_ext
27173 cat >>conftest.$ac_ext <<_ACEOF
27174 /* end confdefs.h. */
27175
27176 #undef HAVE_BOOLEAN
27177 #include <stdio.h>
27178 #include <jpeglib.h>
27179
27180
27181 typedef boolean ac__type_sizeof_;
27182 int
27183 main ()
27184 {
27185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27186 test_array [0] = 0
27187
27188 ;
27189 return 0;
27190 }
27191 _ACEOF
27192 rm -f conftest.$ac_objext
27193 if { (ac_try="$ac_compile"
27194 case "(($ac_try" in
27195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27196 *) ac_try_echo=$ac_try;;
27197 esac
27198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27199 (eval "$ac_compile") 2>conftest.er1
27200 ac_status=$?
27201 grep -v '^ *+' conftest.er1 >conftest.err
27202 rm -f conftest.er1
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } && {
27206 test -z "$ac_c_werror_flag" ||
27207 test ! -s conftest.err
27208 } && test -s conftest.$ac_objext; then
27209 ac_hi=$ac_mid; break
27210 else
27211 echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27213
27214 ac_lo=`expr $ac_mid + 1`
27215 if test $ac_lo -le $ac_mid; then
27216 ac_lo= ac_hi=
27217 break
27218 fi
27219 ac_mid=`expr 2 '*' $ac_mid + 1`
27220 fi
27221
27222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27223 done
27224 else
27225 echo "$as_me: failed program was:" >&5
27226 sed 's/^/| /' conftest.$ac_ext >&5
27227
27228 cat >conftest.$ac_ext <<_ACEOF
27229 /* confdefs.h. */
27230 _ACEOF
27231 cat confdefs.h >>conftest.$ac_ext
27232 cat >>conftest.$ac_ext <<_ACEOF
27233 /* end confdefs.h. */
27234
27235 #undef HAVE_BOOLEAN
27236 #include <stdio.h>
27237 #include <jpeglib.h>
27238
27239
27240 typedef boolean ac__type_sizeof_;
27241 int
27242 main ()
27243 {
27244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27245 test_array [0] = 0
27246
27247 ;
27248 return 0;
27249 }
27250 _ACEOF
27251 rm -f conftest.$ac_objext
27252 if { (ac_try="$ac_compile"
27253 case "(($ac_try" in
27254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27255 *) ac_try_echo=$ac_try;;
27256 esac
27257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27258 (eval "$ac_compile") 2>conftest.er1
27259 ac_status=$?
27260 grep -v '^ *+' conftest.er1 >conftest.err
27261 rm -f conftest.er1
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } && {
27265 test -z "$ac_c_werror_flag" ||
27266 test ! -s conftest.err
27267 } && test -s conftest.$ac_objext; then
27268 ac_hi=-1 ac_mid=-1
27269 while :; do
27270 cat >conftest.$ac_ext <<_ACEOF
27271 /* confdefs.h. */
27272 _ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276
27277 #undef HAVE_BOOLEAN
27278 #include <stdio.h>
27279 #include <jpeglib.h>
27280
27281
27282 typedef boolean ac__type_sizeof_;
27283 int
27284 main ()
27285 {
27286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27287 test_array [0] = 0
27288
27289 ;
27290 return 0;
27291 }
27292 _ACEOF
27293 rm -f conftest.$ac_objext
27294 if { (ac_try="$ac_compile"
27295 case "(($ac_try" in
27296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27297 *) ac_try_echo=$ac_try;;
27298 esac
27299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27300 (eval "$ac_compile") 2>conftest.er1
27301 ac_status=$?
27302 grep -v '^ *+' conftest.er1 >conftest.err
27303 rm -f conftest.er1
27304 cat conftest.err >&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); } && {
27307 test -z "$ac_c_werror_flag" ||
27308 test ! -s conftest.err
27309 } && test -s conftest.$ac_objext; then
27310 ac_lo=$ac_mid; break
27311 else
27312 echo "$as_me: failed program was:" >&5
27313 sed 's/^/| /' conftest.$ac_ext >&5
27314
27315 ac_hi=`expr '(' $ac_mid ')' - 1`
27316 if test $ac_mid -le $ac_hi; then
27317 ac_lo= ac_hi=
27318 break
27319 fi
27320 ac_mid=`expr 2 '*' $ac_mid`
27321 fi
27322
27323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324 done
27325 else
27326 echo "$as_me: failed program was:" >&5
27327 sed 's/^/| /' conftest.$ac_ext >&5
27328
27329 ac_lo= ac_hi=
27330 fi
27331
27332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27333 fi
27334
27335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27336 # Binary search between lo and hi bounds.
27337 while test "x$ac_lo" != "x$ac_hi"; do
27338 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27339 cat >conftest.$ac_ext <<_ACEOF
27340 /* confdefs.h. */
27341 _ACEOF
27342 cat confdefs.h >>conftest.$ac_ext
27343 cat >>conftest.$ac_ext <<_ACEOF
27344 /* end confdefs.h. */
27345
27346 #undef HAVE_BOOLEAN
27347 #include <stdio.h>
27348 #include <jpeglib.h>
27349
27350
27351 typedef boolean ac__type_sizeof_;
27352 int
27353 main ()
27354 {
27355 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27356 test_array [0] = 0
27357
27358 ;
27359 return 0;
27360 }
27361 _ACEOF
27362 rm -f conftest.$ac_objext
27363 if { (ac_try="$ac_compile"
27364 case "(($ac_try" in
27365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27366 *) ac_try_echo=$ac_try;;
27367 esac
27368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27369 (eval "$ac_compile") 2>conftest.er1
27370 ac_status=$?
27371 grep -v '^ *+' conftest.er1 >conftest.err
27372 rm -f conftest.er1
27373 cat conftest.err >&5
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } && {
27376 test -z "$ac_c_werror_flag" ||
27377 test ! -s conftest.err
27378 } && test -s conftest.$ac_objext; then
27379 ac_hi=$ac_mid
27380 else
27381 echo "$as_me: failed program was:" >&5
27382 sed 's/^/| /' conftest.$ac_ext >&5
27383
27384 ac_lo=`expr '(' $ac_mid ')' + 1`
27385 fi
27386
27387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27388 done
27389 case $ac_lo in
27390 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27391 '') if test "$ac_cv_type_boolean" = yes; then
27392 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27393 See \`config.log' for more details." >&5
27394 echo "$as_me: error: cannot compute sizeof (boolean)
27395 See \`config.log' for more details." >&2;}
27396 { (exit 77); exit 77; }; }
27397 else
27398 ac_cv_sizeof_boolean=0
27399 fi ;;
27400 esac
27401 else
27402 cat >conftest.$ac_ext <<_ACEOF
27403 /* confdefs.h. */
27404 _ACEOF
27405 cat confdefs.h >>conftest.$ac_ext
27406 cat >>conftest.$ac_ext <<_ACEOF
27407 /* end confdefs.h. */
27408
27409 #undef HAVE_BOOLEAN
27410 #include <stdio.h>
27411 #include <jpeglib.h>
27412
27413
27414 typedef boolean ac__type_sizeof_;
27415 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27416 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27417 #include <stdio.h>
27418 #include <stdlib.h>
27419 int
27420 main ()
27421 {
27422
27423 FILE *f = fopen ("conftest.val", "w");
27424 if (! f)
27425 return 1;
27426 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27427 {
27428 long int i = longval ();
27429 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27430 return 1;
27431 fprintf (f, "%ld\n", i);
27432 }
27433 else
27434 {
27435 unsigned long int i = ulongval ();
27436 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27437 return 1;
27438 fprintf (f, "%lu\n", i);
27439 }
27440 return ferror (f) || fclose (f) != 0;
27441
27442 ;
27443 return 0;
27444 }
27445 _ACEOF
27446 rm -f conftest$ac_exeext
27447 if { (ac_try="$ac_link"
27448 case "(($ac_try" in
27449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27450 *) ac_try_echo=$ac_try;;
27451 esac
27452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27453 (eval "$ac_link") 2>&5
27454 ac_status=$?
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27457 { (case "(($ac_try" in
27458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27459 *) ac_try_echo=$ac_try;;
27460 esac
27461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27462 (eval "$ac_try") 2>&5
27463 ac_status=$?
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); }; }; then
27466 ac_cv_sizeof_boolean=`cat conftest.val`
27467 else
27468 echo "$as_me: program exited with status $ac_status" >&5
27469 echo "$as_me: failed program was:" >&5
27470 sed 's/^/| /' conftest.$ac_ext >&5
27471
27472 ( exit $ac_status )
27473 if test "$ac_cv_type_boolean" = yes; then
27474 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27475 See \`config.log' for more details." >&5
27476 echo "$as_me: error: cannot compute sizeof (boolean)
27477 See \`config.log' for more details." >&2;}
27478 { (exit 77); exit 77; }; }
27479 else
27480 ac_cv_sizeof_boolean=0
27481 fi
27482 fi
27483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27484 fi
27485 rm -f conftest.val
27486 fi
27487 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27488 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27489
27490
27491
27492 cat >>confdefs.h <<_ACEOF
27493 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27494 _ACEOF
27495
27496
27497 cat >>confdefs.h <<_ACEOF
27498 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27499 _ACEOF
27500
27501
27502 fi
27503
27504 fi
27505 fi
27506 fi
27507 fi
27508 fi
27509
27510
27511 TIFF_LINK=
27512 TIFF_PREREQ_LINKS=-lm
27513 if test "$wxUSE_LIBTIFF" != "no" ; then
27514 cat >>confdefs.h <<\_ACEOF
27515 #define wxUSE_LIBTIFF 1
27516 _ACEOF
27517
27518
27519 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27520 if test "$wxUSE_LIBJPEG" = "sys"; then
27521 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27522 fi
27523 if test "$wxUSE_ZLIB" = "sys"; then
27524 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27525 fi
27526 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27527 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27528 if test "${ac_cv_header_tiffio_h+set}" = set; then
27529 echo $ECHO_N "(cached) $ECHO_C" >&6
27530 else
27531 cat >conftest.$ac_ext <<_ACEOF
27532 /* confdefs.h. */
27533 _ACEOF
27534 cat confdefs.h >>conftest.$ac_ext
27535 cat >>conftest.$ac_ext <<_ACEOF
27536 /* end confdefs.h. */
27537
27538
27539
27540 #include <tiffio.h>
27541 _ACEOF
27542 rm -f conftest.$ac_objext
27543 if { (ac_try="$ac_compile"
27544 case "(($ac_try" in
27545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27546 *) ac_try_echo=$ac_try;;
27547 esac
27548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27549 (eval "$ac_compile") 2>conftest.er1
27550 ac_status=$?
27551 grep -v '^ *+' conftest.er1 >conftest.err
27552 rm -f conftest.er1
27553 cat conftest.err >&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); } && {
27556 test -z "$ac_c_werror_flag" ||
27557 test ! -s conftest.err
27558 } && test -s conftest.$ac_objext; then
27559 ac_cv_header_tiffio_h=yes
27560 else
27561 echo "$as_me: failed program was:" >&5
27562 sed 's/^/| /' conftest.$ac_ext >&5
27563
27564 ac_cv_header_tiffio_h=no
27565 fi
27566
27567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27568 fi
27569 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27570 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27571 if test $ac_cv_header_tiffio_h = yes; then
27572
27573 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27574 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27575 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 else
27578 ac_check_lib_save_LIBS=$LIBS
27579 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27580 cat >conftest.$ac_ext <<_ACEOF
27581 /* confdefs.h. */
27582 _ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586
27587 /* Override any GCC internal prototype to avoid an error.
27588 Use char because int might match the return type of a GCC
27589 builtin and then its argument prototype would still apply. */
27590 #ifdef __cplusplus
27591 extern "C"
27592 #endif
27593 char TIFFError ();
27594 int
27595 main ()
27596 {
27597 return TIFFError ();
27598 ;
27599 return 0;
27600 }
27601 _ACEOF
27602 rm -f conftest.$ac_objext conftest$ac_exeext
27603 if { (ac_try="$ac_link"
27604 case "(($ac_try" in
27605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27606 *) ac_try_echo=$ac_try;;
27607 esac
27608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27609 (eval "$ac_link") 2>conftest.er1
27610 ac_status=$?
27611 grep -v '^ *+' conftest.er1 >conftest.err
27612 rm -f conftest.er1
27613 cat conftest.err >&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); } && {
27616 test -z "$ac_c_werror_flag" ||
27617 test ! -s conftest.err
27618 } && test -s conftest$ac_exeext &&
27619 $as_test_x conftest$ac_exeext; then
27620 ac_cv_lib_tiff_TIFFError=yes
27621 else
27622 echo "$as_me: failed program was:" >&5
27623 sed 's/^/| /' conftest.$ac_ext >&5
27624
27625 ac_cv_lib_tiff_TIFFError=no
27626 fi
27627
27628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27629 conftest$ac_exeext conftest.$ac_ext
27630 LIBS=$ac_check_lib_save_LIBS
27631 fi
27632 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27633 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27634 if test $ac_cv_lib_tiff_TIFFError = yes; then
27635 TIFF_LINK=" -ltiff"
27636 fi
27637
27638
27639 fi
27640
27641
27642
27643 if test "x$TIFF_LINK" = "x" ; then
27644 if test "$wxUSE_LIBTIFF" = "sys" ; then
27645 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27646 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27647 { (exit 1); exit 1; }; }
27648 else
27649 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27650 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27651 wxUSE_LIBTIFF=builtin
27652 fi
27653 else
27654 wxUSE_LIBTIFF=sys
27655 fi
27656 fi
27657 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27658 if test "$wxUSE_LIBJPEG" = "no"; then
27659 ac_configure_args="$ac_configure_args --disable-jpeg"
27660 fi
27661 subdirs="$subdirs src/tiff"
27662
27663 fi
27664 fi
27665
27666
27667 if test "$wxUSE_WCHAR_T" != "yes"; then
27668 if test "$wxUSE_EXPAT" != "no"; then
27669 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27670 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27671 wxUSE_EXPAT=no
27672 fi
27673 if test "$wxUSE_XML" != "no"; then
27674 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27675 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27676 wxUSE_XML=no
27677 fi
27678 fi
27679
27680 if test "$wxUSE_EXPAT" != "no"; then
27681 wxUSE_XML=yes
27682 cat >>confdefs.h <<\_ACEOF
27683 #define wxUSE_EXPAT 1
27684 _ACEOF
27685
27686 cat >>confdefs.h <<\_ACEOF
27687 #define wxUSE_XML 1
27688 _ACEOF
27689
27690
27691 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27692 { echo "$as_me:$LINENO: checking for expat.h" >&5
27693 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27694 if test "${ac_cv_header_expat_h+set}" = set; then
27695 echo $ECHO_N "(cached) $ECHO_C" >&6
27696 else
27697 cat >conftest.$ac_ext <<_ACEOF
27698 /* confdefs.h. */
27699 _ACEOF
27700 cat confdefs.h >>conftest.$ac_ext
27701 cat >>conftest.$ac_ext <<_ACEOF
27702 /* end confdefs.h. */
27703
27704
27705 #include <expat.h>
27706 _ACEOF
27707 rm -f conftest.$ac_objext
27708 if { (ac_try="$ac_compile"
27709 case "(($ac_try" in
27710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27711 *) ac_try_echo=$ac_try;;
27712 esac
27713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27714 (eval "$ac_compile") 2>conftest.er1
27715 ac_status=$?
27716 grep -v '^ *+' conftest.er1 >conftest.err
27717 rm -f conftest.er1
27718 cat conftest.err >&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); } && {
27721 test -z "$ac_c_werror_flag" ||
27722 test ! -s conftest.err
27723 } && test -s conftest.$ac_objext; then
27724 ac_cv_header_expat_h=yes
27725 else
27726 echo "$as_me: failed program was:" >&5
27727 sed 's/^/| /' conftest.$ac_ext >&5
27728
27729 ac_cv_header_expat_h=no
27730 fi
27731
27732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27733 fi
27734 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27735 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27736 if test $ac_cv_header_expat_h = yes; then
27737 found_expat_h=1
27738 fi
27739
27740
27741 if test "x$found_expat_h" = "x1"; then
27742 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27743 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27744 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27746 else
27747
27748 ac_ext=cpp
27749 ac_cpp='$CXXCPP $CPPFLAGS'
27750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27753
27754 cat >conftest.$ac_ext <<_ACEOF
27755 /* confdefs.h. */
27756 _ACEOF
27757 cat confdefs.h >>conftest.$ac_ext
27758 cat >>conftest.$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760 #include <expat.h>
27761 int
27762 main ()
27763 {
27764
27765 ;
27766 return 0;
27767 }
27768 _ACEOF
27769 rm -f conftest.$ac_objext
27770 if { (ac_try="$ac_compile"
27771 case "(($ac_try" in
27772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27773 *) ac_try_echo=$ac_try;;
27774 esac
27775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27776 (eval "$ac_compile") 2>conftest.er1
27777 ac_status=$?
27778 grep -v '^ *+' conftest.er1 >conftest.err
27779 rm -f conftest.er1
27780 cat conftest.err >&5
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); } && {
27783 test -z "$ac_cxx_werror_flag" ||
27784 test ! -s conftest.err
27785 } && test -s conftest.$ac_objext; then
27786 wx_cv_expat_is_not_broken=yes
27787 else
27788 echo "$as_me: failed program was:" >&5
27789 sed 's/^/| /' conftest.$ac_ext >&5
27790
27791 wx_cv_expat_is_not_broken=no
27792
27793 fi
27794
27795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27796 ac_ext=c
27797 ac_cpp='$CPP $CPPFLAGS'
27798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27801
27802
27803
27804 fi
27805 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27806 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27807 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27808 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27809 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27810 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27811 echo $ECHO_N "(cached) $ECHO_C" >&6
27812 else
27813 ac_check_lib_save_LIBS=$LIBS
27814 LIBS="-lexpat $LIBS"
27815 cat >conftest.$ac_ext <<_ACEOF
27816 /* confdefs.h. */
27817 _ACEOF
27818 cat confdefs.h >>conftest.$ac_ext
27819 cat >>conftest.$ac_ext <<_ACEOF
27820 /* end confdefs.h. */
27821
27822 /* Override any GCC internal prototype to avoid an error.
27823 Use char because int might match the return type of a GCC
27824 builtin and then its argument prototype would still apply. */
27825 #ifdef __cplusplus
27826 extern "C"
27827 #endif
27828 char XML_ParserCreate ();
27829 int
27830 main ()
27831 {
27832 return XML_ParserCreate ();
27833 ;
27834 return 0;
27835 }
27836 _ACEOF
27837 rm -f conftest.$ac_objext conftest$ac_exeext
27838 if { (ac_try="$ac_link"
27839 case "(($ac_try" in
27840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27841 *) ac_try_echo=$ac_try;;
27842 esac
27843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27844 (eval "$ac_link") 2>conftest.er1
27845 ac_status=$?
27846 grep -v '^ *+' conftest.er1 >conftest.err
27847 rm -f conftest.er1
27848 cat conftest.err >&5
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); } && {
27851 test -z "$ac_c_werror_flag" ||
27852 test ! -s conftest.err
27853 } && test -s conftest$ac_exeext &&
27854 $as_test_x conftest$ac_exeext; then
27855 ac_cv_lib_expat_XML_ParserCreate=yes
27856 else
27857 echo "$as_me: failed program was:" >&5
27858 sed 's/^/| /' conftest.$ac_ext >&5
27859
27860 ac_cv_lib_expat_XML_ParserCreate=no
27861 fi
27862
27863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27864 conftest$ac_exeext conftest.$ac_ext
27865 LIBS=$ac_check_lib_save_LIBS
27866 fi
27867 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27868 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27869 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27870 EXPAT_LINK=" -lexpat"
27871 fi
27872
27873 fi
27874 fi
27875 if test "x$EXPAT_LINK" = "x" ; then
27876 if test "$wxUSE_EXPAT" = "sys" ; then
27877 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27878 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27879 { (exit 1); exit 1; }; }
27880 else
27881 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27882 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27883 wxUSE_EXPAT=builtin
27884 fi
27885 else
27886 wxUSE_EXPAT=sys
27887 fi
27888 fi
27889 if test "$wxUSE_EXPAT" = "builtin" ; then
27890 subdirs="$subdirs src/expat"
27891
27892 fi
27893 fi
27894
27895
27896
27897 if test "$wxUSE_LIBMSPACK" != "no"; then
27898 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27899 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27900 if test "${ac_cv_header_mspack_h+set}" = set; then
27901 echo $ECHO_N "(cached) $ECHO_C" >&6
27902 else
27903 cat >conftest.$ac_ext <<_ACEOF
27904 /* confdefs.h. */
27905 _ACEOF
27906 cat confdefs.h >>conftest.$ac_ext
27907 cat >>conftest.$ac_ext <<_ACEOF
27908 /* end confdefs.h. */
27909
27910
27911 #include <mspack.h>
27912 _ACEOF
27913 rm -f conftest.$ac_objext
27914 if { (ac_try="$ac_compile"
27915 case "(($ac_try" in
27916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27917 *) ac_try_echo=$ac_try;;
27918 esac
27919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27920 (eval "$ac_compile") 2>conftest.er1
27921 ac_status=$?
27922 grep -v '^ *+' conftest.er1 >conftest.err
27923 rm -f conftest.er1
27924 cat conftest.err >&5
27925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27926 (exit $ac_status); } && {
27927 test -z "$ac_c_werror_flag" ||
27928 test ! -s conftest.err
27929 } && test -s conftest.$ac_objext; then
27930 ac_cv_header_mspack_h=yes
27931 else
27932 echo "$as_me: failed program was:" >&5
27933 sed 's/^/| /' conftest.$ac_ext >&5
27934
27935 ac_cv_header_mspack_h=no
27936 fi
27937
27938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27939 fi
27940 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27941 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27942 if test $ac_cv_header_mspack_h = yes; then
27943 found_mspack_h=1
27944 fi
27945
27946
27947 if test "x$found_mspack_h" = "x1"; then
27948 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27949 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27950 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27951 echo $ECHO_N "(cached) $ECHO_C" >&6
27952 else
27953 ac_check_lib_save_LIBS=$LIBS
27954 LIBS="-lmspack $LIBS"
27955 cat >conftest.$ac_ext <<_ACEOF
27956 /* confdefs.h. */
27957 _ACEOF
27958 cat confdefs.h >>conftest.$ac_ext
27959 cat >>conftest.$ac_ext <<_ACEOF
27960 /* end confdefs.h. */
27961
27962 /* Override any GCC internal prototype to avoid an error.
27963 Use char because int might match the return type of a GCC
27964 builtin and then its argument prototype would still apply. */
27965 #ifdef __cplusplus
27966 extern "C"
27967 #endif
27968 char mspack_create_chm_decompressor ();
27969 int
27970 main ()
27971 {
27972 return mspack_create_chm_decompressor ();
27973 ;
27974 return 0;
27975 }
27976 _ACEOF
27977 rm -f conftest.$ac_objext conftest$ac_exeext
27978 if { (ac_try="$ac_link"
27979 case "(($ac_try" in
27980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27981 *) ac_try_echo=$ac_try;;
27982 esac
27983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27984 (eval "$ac_link") 2>conftest.er1
27985 ac_status=$?
27986 grep -v '^ *+' conftest.er1 >conftest.err
27987 rm -f conftest.er1
27988 cat conftest.err >&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } && {
27991 test -z "$ac_c_werror_flag" ||
27992 test ! -s conftest.err
27993 } && test -s conftest$ac_exeext &&
27994 $as_test_x conftest$ac_exeext; then
27995 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27996 else
27997 echo "$as_me: failed program was:" >&5
27998 sed 's/^/| /' conftest.$ac_ext >&5
27999
28000 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28001 fi
28002
28003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28004 conftest$ac_exeext conftest.$ac_ext
28005 LIBS=$ac_check_lib_save_LIBS
28006 fi
28007 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28008 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28009 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28010 MSPACK_LINK=" -lmspack"
28011 fi
28012
28013 fi
28014 if test "x$MSPACK_LINK" = "x" ; then
28015 wxUSE_LIBMSPACK=no
28016 fi
28017 fi
28018
28019 if test "$wxUSE_LIBMSPACK" != "no"; then
28020 cat >>confdefs.h <<\_ACEOF
28021 #define wxUSE_LIBMSPACK 1
28022 _ACEOF
28023
28024 fi
28025
28026
28027
28028 AFMINSTALL=
28029 WIN32INSTALL=
28030
28031 TOOLKIT=
28032 TOOLKIT_INCLUDE=
28033 WIDGET_SET=
28034
28035 if test "$USE_WIN32" = 1 ; then
28036
28037 for ac_header in w32api.h
28038 do
28039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28040 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28043 echo $ECHO_N "(cached) $ECHO_C" >&6
28044 else
28045 cat >conftest.$ac_ext <<_ACEOF
28046 /* confdefs.h. */
28047 _ACEOF
28048 cat confdefs.h >>conftest.$ac_ext
28049 cat >>conftest.$ac_ext <<_ACEOF
28050 /* end confdefs.h. */
28051
28052
28053 #include <$ac_header>
28054 _ACEOF
28055 rm -f conftest.$ac_objext
28056 if { (ac_try="$ac_compile"
28057 case "(($ac_try" in
28058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28059 *) ac_try_echo=$ac_try;;
28060 esac
28061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28062 (eval "$ac_compile") 2>conftest.er1
28063 ac_status=$?
28064 grep -v '^ *+' conftest.er1 >conftest.err
28065 rm -f conftest.er1
28066 cat conftest.err >&5
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); } && {
28069 test -z "$ac_c_werror_flag" ||
28070 test ! -s conftest.err
28071 } && test -s conftest.$ac_objext; then
28072 eval "$as_ac_Header=yes"
28073 else
28074 echo "$as_me: failed program was:" >&5
28075 sed 's/^/| /' conftest.$ac_ext >&5
28076
28077 eval "$as_ac_Header=no"
28078 fi
28079
28080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28081 fi
28082 ac_res=`eval echo '${'$as_ac_Header'}'`
28083 { echo "$as_me:$LINENO: result: $ac_res" >&5
28084 echo "${ECHO_T}$ac_res" >&6; }
28085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28086 cat >>confdefs.h <<_ACEOF
28087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28088 _ACEOF
28089
28090 fi
28091
28092 done
28093
28094 { echo "$as_me:$LINENO: checking for windows.h" >&5
28095 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28096 if test "${ac_cv_header_windows_h+set}" = set; then
28097 echo $ECHO_N "(cached) $ECHO_C" >&6
28098 else
28099 cat >conftest.$ac_ext <<_ACEOF
28100 /* confdefs.h. */
28101 _ACEOF
28102 cat confdefs.h >>conftest.$ac_ext
28103 cat >>conftest.$ac_ext <<_ACEOF
28104 /* end confdefs.h. */
28105
28106
28107 #include <windows.h>
28108 _ACEOF
28109 rm -f conftest.$ac_objext
28110 if { (ac_try="$ac_compile"
28111 case "(($ac_try" in
28112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28113 *) ac_try_echo=$ac_try;;
28114 esac
28115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28116 (eval "$ac_compile") 2>conftest.er1
28117 ac_status=$?
28118 grep -v '^ *+' conftest.er1 >conftest.err
28119 rm -f conftest.er1
28120 cat conftest.err >&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); } && {
28123 test -z "$ac_c_werror_flag" ||
28124 test ! -s conftest.err
28125 } && test -s conftest.$ac_objext; then
28126 ac_cv_header_windows_h=yes
28127 else
28128 echo "$as_me: failed program was:" >&5
28129 sed 's/^/| /' conftest.$ac_ext >&5
28130
28131 ac_cv_header_windows_h=no
28132 fi
28133
28134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28135 fi
28136 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28137 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28138 if test $ac_cv_header_windows_h = yes; then
28139 :
28140 else
28141
28142 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28143 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28144 { (exit 1); exit 1; }; }
28145
28146 fi
28147
28148
28149
28150 case "${host}" in
28151 x86_64-*-mingw32* )
28152 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28153 ;;
28154 * )
28155 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28156 ;;
28157 esac
28158 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28159 LIBS="$LIBS -loleacc"
28160 fi
28161
28162 case "${host}" in
28163 *-*-cygwin* )
28164 LIBS="$LIBS -lkernel32 -luser32"
28165 esac
28166
28167 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28168 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28169
28170 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28171
28172 WIN32INSTALL=win32install
28173
28174 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28175 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28176 if test "${ac_cv_header_pbt_h+set}" = set; then
28177 echo $ECHO_N "(cached) $ECHO_C" >&6
28178 else
28179 cat >conftest.$ac_ext <<_ACEOF
28180 /* confdefs.h. */
28181 _ACEOF
28182 cat confdefs.h >>conftest.$ac_ext
28183 cat >>conftest.$ac_ext <<_ACEOF
28184 /* end confdefs.h. */
28185
28186
28187 #include <pbt.h>
28188 _ACEOF
28189 rm -f conftest.$ac_objext
28190 if { (ac_try="$ac_compile"
28191 case "(($ac_try" in
28192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28193 *) ac_try_echo=$ac_try;;
28194 esac
28195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28196 (eval "$ac_compile") 2>conftest.er1
28197 ac_status=$?
28198 grep -v '^ *+' conftest.er1 >conftest.err
28199 rm -f conftest.er1
28200 cat conftest.err >&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); } && {
28203 test -z "$ac_c_werror_flag" ||
28204 test ! -s conftest.err
28205 } && test -s conftest.$ac_objext; then
28206 ac_cv_header_pbt_h=yes
28207 else
28208 echo "$as_me: failed program was:" >&5
28209 sed 's/^/| /' conftest.$ac_ext >&5
28210
28211 ac_cv_header_pbt_h=no
28212 fi
28213
28214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28215 fi
28216 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28217 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28218 if test $ac_cv_header_pbt_h = yes; then
28219 :
28220 else
28221 cat >>confdefs.h <<\_ACEOF
28222 #define NEED_PBT_H 1
28223 _ACEOF
28224
28225 fi
28226
28227
28228 fi
28229
28230 if test "$wxUSE_GUI" = "yes"; then
28231 USE_GUI=1
28232
28233 GUI_TK_LIBRARY=
28234
28235 WXGTK12=
28236 WXGTK127=
28237 WXGTK2=
28238 WXGPE=
28239
28240 if test "$wxUSE_COCOA" = 1 ; then
28241 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28242 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28243 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28244 wxUSE_PRINTING_ARCHITECTURE=no
28245 fi
28246 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28247 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28248 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28249 wxUSE_DRAG_AND_DROP=no
28250 fi
28251 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28252 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28253 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28254 wxUSE_DRAGIMAGE=no
28255 fi
28256 fi
28257
28258 if test "$wxUSE_MSW" = 1 ; then
28259 TOOLKIT=MSW
28260 GUIDIST=MSW_DIST
28261
28262 case "${host}" in
28263 *-*-mingw32* )
28264 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28265 esac
28266 fi
28267
28268 if test "$wxUSE_GTK" = 1; then
28269 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28270 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28271
28272 gtk_version_cached=1
28273 if test "${wx_cv_lib_gtk+set}" = set; then
28274 echo $ECHO_N "(cached) $ECHO_C" >&6
28275 else
28276
28277 gtk_version_cached=0
28278 { echo "$as_me:$LINENO: result: " >&5
28279 echo "${ECHO_T}" >&6; }
28280
28281 GTK_MODULES=
28282 if test "$wxUSE_THREADS" = "yes"; then
28283 GTK_MODULES=gthread
28284 fi
28285
28286 wx_cv_lib_gtk=
28287 if test "x$wxGTK_VERSION" != "x1"
28288 then
28289 case "${host}" in
28290 *-*-solaris2* )
28291 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28292 enable_gtktest=no
28293 fi
28294 esac
28295
28296 # Check whether --enable-gtktest was given.
28297 if test "${enable_gtktest+set}" = set; then
28298 enableval=$enable_gtktest;
28299 else
28300 enable_gtktest=yes
28301 fi
28302
28303
28304 pkg_config_args=gtk+-2.0
28305 for module in . $GTK_MODULES
28306 do
28307 case "$module" in
28308 gthread)
28309 pkg_config_args="$pkg_config_args gthread-2.0"
28310 ;;
28311 esac
28312 done
28313
28314 no_gtk=""
28315
28316 # Extract the first word of "pkg-config", so it can be a program name with args.
28317 set dummy pkg-config; ac_word=$2
28318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28320 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28321 echo $ECHO_N "(cached) $ECHO_C" >&6
28322 else
28323 case $PKG_CONFIG in
28324 [\\/]* | ?:[\\/]*)
28325 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28326 ;;
28327 *)
28328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28329 for as_dir in $PATH
28330 do
28331 IFS=$as_save_IFS
28332 test -z "$as_dir" && as_dir=.
28333 for ac_exec_ext in '' $ac_executable_extensions; do
28334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28335 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28337 break 2
28338 fi
28339 done
28340 done
28341 IFS=$as_save_IFS
28342
28343 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28344 ;;
28345 esac
28346 fi
28347 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28348 if test -n "$PKG_CONFIG"; then
28349 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28350 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28351 else
28352 { echo "$as_me:$LINENO: result: no" >&5
28353 echo "${ECHO_T}no" >&6; }
28354 fi
28355
28356
28357
28358 if test x$PKG_CONFIG != xno ; then
28359 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28360 :
28361 else
28362 echo "*** pkg-config too old; version 0.7 or better required."
28363 no_gtk=yes
28364 PKG_CONFIG=no
28365 fi
28366 else
28367 no_gtk=yes
28368 fi
28369
28370 min_gtk_version=2.4.0
28371 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28372 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28373
28374 if test x$PKG_CONFIG != xno ; then
28375 ## don't try to run the test against uninstalled libtool libs
28376 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28377 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28378 enable_gtktest=no
28379 fi
28380
28381 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28382 :
28383 else
28384 no_gtk=yes
28385 fi
28386 fi
28387
28388 if test x"$no_gtk" = x ; then
28389 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28390 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28391 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28393 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28395 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28397 if test "x$enable_gtktest" = "xyes" ; then
28398 ac_save_CFLAGS="$CFLAGS"
28399 ac_save_LIBS="$LIBS"
28400 CFLAGS="$CFLAGS $GTK_CFLAGS"
28401 LIBS="$GTK_LIBS $LIBS"
28402 rm -f conf.gtktest
28403 if test "$cross_compiling" = yes; then
28404 echo $ac_n "cross compiling; assumed OK... $ac_c"
28405 else
28406 cat >conftest.$ac_ext <<_ACEOF
28407 /* confdefs.h. */
28408 _ACEOF
28409 cat confdefs.h >>conftest.$ac_ext
28410 cat >>conftest.$ac_ext <<_ACEOF
28411 /* end confdefs.h. */
28412
28413 #include <gtk/gtk.h>
28414 #include <stdio.h>
28415 #include <stdlib.h>
28416
28417 int
28418 main ()
28419 {
28420 int major, minor, micro;
28421 char *tmp_version;
28422
28423 system ("touch conf.gtktest");
28424
28425 /* HP/UX 9 (%@#!) writes to sscanf strings */
28426 tmp_version = g_strdup("$min_gtk_version");
28427 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28428 printf("%s, bad version string\n", "$min_gtk_version");
28429 exit(1);
28430 }
28431
28432 if ((gtk_major_version != $gtk_config_major_version) ||
28433 (gtk_minor_version != $gtk_config_minor_version) ||
28434 (gtk_micro_version != $gtk_config_micro_version))
28435 {
28436 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28437 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28438 gtk_major_version, gtk_minor_version, gtk_micro_version);
28439 printf ("*** was found! If pkg-config was correct, then it is best\n");
28440 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28441 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28442 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28443 printf("*** required on your system.\n");
28444 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28445 printf("*** to point to the correct configuration files\n");
28446 }
28447 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28448 (gtk_minor_version != GTK_MINOR_VERSION) ||
28449 (gtk_micro_version != GTK_MICRO_VERSION))
28450 {
28451 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28452 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28453 printf("*** library (version %d.%d.%d)\n",
28454 gtk_major_version, gtk_minor_version, gtk_micro_version);
28455 }
28456 else
28457 {
28458 if ((gtk_major_version > major) ||
28459 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28460 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28461 {
28462 return 0;
28463 }
28464 else
28465 {
28466 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28467 gtk_major_version, gtk_minor_version, gtk_micro_version);
28468 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28469 major, minor, micro);
28470 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28471 printf("***\n");
28472 printf("*** If you have already installed a sufficiently new version, this error\n");
28473 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28474 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28475 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28476 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28477 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28478 printf("*** so that the correct libraries are found at run-time))\n");
28479 }
28480 }
28481 return 1;
28482 }
28483
28484 _ACEOF
28485 rm -f conftest$ac_exeext
28486 if { (ac_try="$ac_link"
28487 case "(($ac_try" in
28488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28489 *) ac_try_echo=$ac_try;;
28490 esac
28491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28492 (eval "$ac_link") 2>&5
28493 ac_status=$?
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28496 { (case "(($ac_try" in
28497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28498 *) ac_try_echo=$ac_try;;
28499 esac
28500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28501 (eval "$ac_try") 2>&5
28502 ac_status=$?
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; }; then
28505 :
28506 else
28507 echo "$as_me: program exited with status $ac_status" >&5
28508 echo "$as_me: failed program was:" >&5
28509 sed 's/^/| /' conftest.$ac_ext >&5
28510
28511 ( exit $ac_status )
28512 no_gtk=yes
28513 fi
28514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28515 fi
28516
28517
28518 CFLAGS="$ac_save_CFLAGS"
28519 LIBS="$ac_save_LIBS"
28520 fi
28521 fi
28522 if test "x$no_gtk" = x ; then
28523 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28524 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28525 wx_cv_lib_gtk=2.0
28526 else
28527 { echo "$as_me:$LINENO: result: no" >&5
28528 echo "${ECHO_T}no" >&6; }
28529 if test "$PKG_CONFIG" = "no" ; then
28530 echo "*** A new enough version of pkg-config was not found."
28531 echo "*** See http://pkgconfig.sourceforge.net"
28532 else
28533 if test -f conf.gtktest ; then
28534 :
28535 else
28536 echo "*** Could not run GTK+ test program, checking why..."
28537 ac_save_CFLAGS="$CFLAGS"
28538 ac_save_LIBS="$LIBS"
28539 CFLAGS="$CFLAGS $GTK_CFLAGS"
28540 LIBS="$LIBS $GTK_LIBS"
28541 cat >conftest.$ac_ext <<_ACEOF
28542 /* confdefs.h. */
28543 _ACEOF
28544 cat confdefs.h >>conftest.$ac_ext
28545 cat >>conftest.$ac_ext <<_ACEOF
28546 /* end confdefs.h. */
28547
28548 #include <gtk/gtk.h>
28549 #include <stdio.h>
28550
28551 int
28552 main ()
28553 {
28554 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28555 ;
28556 return 0;
28557 }
28558 _ACEOF
28559 rm -f conftest.$ac_objext conftest$ac_exeext
28560 if { (ac_try="$ac_link"
28561 case "(($ac_try" in
28562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28563 *) ac_try_echo=$ac_try;;
28564 esac
28565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28566 (eval "$ac_link") 2>conftest.er1
28567 ac_status=$?
28568 grep -v '^ *+' conftest.er1 >conftest.err
28569 rm -f conftest.er1
28570 cat conftest.err >&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); } && {
28573 test -z "$ac_c_werror_flag" ||
28574 test ! -s conftest.err
28575 } && test -s conftest$ac_exeext &&
28576 $as_test_x conftest$ac_exeext; then
28577 echo "*** The test program compiled, but did not run. This usually means"
28578 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28579 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28580 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28581 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28582 echo "*** is required on your system"
28583 echo "***"
28584 echo "*** If you have an old version installed, it is best to remove it, although"
28585 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28586 else
28587 echo "$as_me: failed program was:" >&5
28588 sed 's/^/| /' conftest.$ac_ext >&5
28589
28590 echo "*** The test program failed to compile or link. See the file config.log for the"
28591 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28592 fi
28593
28594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28595 conftest$ac_exeext conftest.$ac_ext
28596 CFLAGS="$ac_save_CFLAGS"
28597 LIBS="$ac_save_LIBS"
28598 fi
28599 fi
28600 GTK_CFLAGS=""
28601 GTK_LIBS=""
28602 :
28603 fi
28604
28605
28606 rm -f conf.gtktest
28607
28608
28609 case "${host}" in
28610 *-*-solaris2* )
28611 if test "$wxUSE_SHARED" != "yes"; then
28612 GTK_LIBS="$GTK_LIBS -lX11"
28613 fi
28614 esac
28615 fi
28616
28617 if test -z "$wx_cv_lib_gtk"; then
28618 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28619
28620 # Check whether --with-gtk-prefix was given.
28621 if test "${with_gtk_prefix+set}" = set; then
28622 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28623 else
28624 gtk_config_prefix=""
28625 fi
28626
28627
28628 # Check whether --with-gtk-exec-prefix was given.
28629 if test "${with_gtk_exec_prefix+set}" = set; then
28630 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28631 else
28632 gtk_config_exec_prefix=""
28633 fi
28634
28635 # Check whether --enable-gtktest was given.
28636 if test "${enable_gtktest+set}" = set; then
28637 enableval=$enable_gtktest;
28638 else
28639 enable_gtktest=yes
28640 fi
28641
28642
28643 for module in . $GTK_MODULES
28644 do
28645 case "$module" in
28646 gthread)
28647 gtk_config_args="$gtk_config_args gthread"
28648 ;;
28649 esac
28650 done
28651
28652 if test x$gtk_config_exec_prefix != x ; then
28653 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28654 if test x${GTK_CONFIG+set} != xset ; then
28655 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28656 fi
28657 fi
28658 if test x$gtk_config_prefix != x ; then
28659 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28660 if test x${GTK_CONFIG+set} != xset ; then
28661 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28662 fi
28663 fi
28664
28665 # Extract the first word of "gtk-config", so it can be a program name with args.
28666 set dummy gtk-config; ac_word=$2
28667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28669 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28670 echo $ECHO_N "(cached) $ECHO_C" >&6
28671 else
28672 case $GTK_CONFIG in
28673 [\\/]* | ?:[\\/]*)
28674 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28675 ;;
28676 *)
28677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28678 for as_dir in $PATH
28679 do
28680 IFS=$as_save_IFS
28681 test -z "$as_dir" && as_dir=.
28682 for ac_exec_ext in '' $ac_executable_extensions; do
28683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28684 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28686 break 2
28687 fi
28688 done
28689 done
28690 IFS=$as_save_IFS
28691
28692 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28693 ;;
28694 esac
28695 fi
28696 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28697 if test -n "$GTK_CONFIG"; then
28698 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28699 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28700 else
28701 { echo "$as_me:$LINENO: result: no" >&5
28702 echo "${ECHO_T}no" >&6; }
28703 fi
28704
28705
28706 min_gtk_version=1.2.7
28707 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28708 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28709 no_gtk=""
28710 if test "$GTK_CONFIG" = "no" ; then
28711 no_gtk=yes
28712 else
28713 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28714 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28715 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28716 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28717 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28719 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28721 if test "x$enable_gtktest" = "xyes" ; then
28722 ac_save_CFLAGS="$CFLAGS"
28723 ac_save_LIBS="$LIBS"
28724 CFLAGS="$CFLAGS $GTK_CFLAGS"
28725 LIBS="$GTK_LIBS $LIBS"
28726 rm -f conf.gtktest
28727 if test "$cross_compiling" = yes; then
28728 echo $ac_n "cross compiling; assumed OK... $ac_c"
28729 else
28730 cat >conftest.$ac_ext <<_ACEOF
28731 /* confdefs.h. */
28732 _ACEOF
28733 cat confdefs.h >>conftest.$ac_ext
28734 cat >>conftest.$ac_ext <<_ACEOF
28735 /* end confdefs.h. */
28736
28737 #include <gtk/gtk.h>
28738 #include <stdio.h>
28739 #include <stdlib.h>
28740
28741 int
28742 main ()
28743 {
28744 int major, minor, micro;
28745 char *tmp_version;
28746
28747 system ("touch conf.gtktest");
28748
28749 /* HP/UX 9 (%@#!) writes to sscanf strings */
28750 tmp_version = g_strdup("$min_gtk_version");
28751 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28752 printf("%s, bad version string\n", "$min_gtk_version");
28753 exit(1);
28754 }
28755
28756 if ((gtk_major_version != $gtk_config_major_version) ||
28757 (gtk_minor_version != $gtk_config_minor_version) ||
28758 (gtk_micro_version != $gtk_config_micro_version))
28759 {
28760 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28761 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28762 gtk_major_version, gtk_minor_version, gtk_micro_version);
28763 printf ("*** was found! If gtk-config was correct, then it is best\n");
28764 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28765 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28766 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28767 printf("*** required on your system.\n");
28768 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28769 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28770 printf("*** before re-running configure\n");
28771 }
28772 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28773 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28774 (gtk_minor_version != GTK_MINOR_VERSION) ||
28775 (gtk_micro_version != GTK_MICRO_VERSION))
28776 {
28777 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28778 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28779 printf("*** library (version %d.%d.%d)\n",
28780 gtk_major_version, gtk_minor_version, gtk_micro_version);
28781 }
28782 #endif /* defined (GTK_MAJOR_VERSION) ... */
28783 else
28784 {
28785 if ((gtk_major_version > major) ||
28786 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28787 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28788 {
28789 return 0;
28790 }
28791 else
28792 {
28793 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28794 gtk_major_version, gtk_minor_version, gtk_micro_version);
28795 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28796 major, minor, micro);
28797 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28798 printf("***\n");
28799 printf("*** If you have already installed a sufficiently new version, this error\n");
28800 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28801 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28802 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28803 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28804 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28805 printf("*** so that the correct libraries are found at run-time))\n");
28806 }
28807 }
28808 return 1;
28809 }
28810
28811 _ACEOF
28812 rm -f conftest$ac_exeext
28813 if { (ac_try="$ac_link"
28814 case "(($ac_try" in
28815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28816 *) ac_try_echo=$ac_try;;
28817 esac
28818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28819 (eval "$ac_link") 2>&5
28820 ac_status=$?
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28823 { (case "(($ac_try" in
28824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28825 *) ac_try_echo=$ac_try;;
28826 esac
28827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28828 (eval "$ac_try") 2>&5
28829 ac_status=$?
28830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28831 (exit $ac_status); }; }; then
28832 :
28833 else
28834 echo "$as_me: program exited with status $ac_status" >&5
28835 echo "$as_me: failed program was:" >&5
28836 sed 's/^/| /' conftest.$ac_ext >&5
28837
28838 ( exit $ac_status )
28839 no_gtk=yes
28840 fi
28841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28842 fi
28843
28844
28845 CFLAGS="$ac_save_CFLAGS"
28846 LIBS="$ac_save_LIBS"
28847 fi
28848 fi
28849 if test "x$no_gtk" = x ; then
28850 { echo "$as_me:$LINENO: result: yes" >&5
28851 echo "${ECHO_T}yes" >&6; }
28852 wx_cv_lib_gtk=1.2.7
28853 else
28854 { echo "$as_me:$LINENO: result: no" >&5
28855 echo "${ECHO_T}no" >&6; }
28856 if test "$GTK_CONFIG" = "no" ; then
28857 echo "*** The gtk-config script installed by GTK could not be found"
28858 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28859 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28860 echo "*** full path to gtk-config."
28861 else
28862 if test -f conf.gtktest ; then
28863 :
28864 else
28865 echo "*** Could not run GTK test program, checking why..."
28866 CFLAGS="$CFLAGS $GTK_CFLAGS"
28867 LIBS="$LIBS $GTK_LIBS"
28868 cat >conftest.$ac_ext <<_ACEOF
28869 /* confdefs.h. */
28870 _ACEOF
28871 cat confdefs.h >>conftest.$ac_ext
28872 cat >>conftest.$ac_ext <<_ACEOF
28873 /* end confdefs.h. */
28874
28875 #include <gtk/gtk.h>
28876 #include <stdio.h>
28877
28878 int
28879 main ()
28880 {
28881 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28882 ;
28883 return 0;
28884 }
28885 _ACEOF
28886 rm -f conftest.$ac_objext conftest$ac_exeext
28887 if { (ac_try="$ac_link"
28888 case "(($ac_try" in
28889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28890 *) ac_try_echo=$ac_try;;
28891 esac
28892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28893 (eval "$ac_link") 2>conftest.er1
28894 ac_status=$?
28895 grep -v '^ *+' conftest.er1 >conftest.err
28896 rm -f conftest.er1
28897 cat conftest.err >&5
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); } && {
28900 test -z "$ac_c_werror_flag" ||
28901 test ! -s conftest.err
28902 } && test -s conftest$ac_exeext &&
28903 $as_test_x conftest$ac_exeext; then
28904 echo "*** The test program compiled, but did not run. This usually means"
28905 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28906 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28907 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28908 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28909 echo "*** is required on your system"
28910 echo "***"
28911 echo "*** If you have an old version installed, it is best to remove it, although"
28912 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28913 echo "***"
28914 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28915 echo "*** came with the system with the command"
28916 echo "***"
28917 echo "*** rpm --erase --nodeps gtk gtk-devel"
28918 else
28919 echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.$ac_ext >&5
28921
28922 echo "*** The test program failed to compile or link. See the file config.log for the"
28923 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28924 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28925 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28926 fi
28927
28928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28929 conftest$ac_exeext conftest.$ac_ext
28930 CFLAGS="$ac_save_CFLAGS"
28931 LIBS="$ac_save_LIBS"
28932 fi
28933 fi
28934 GTK_CFLAGS=""
28935 GTK_LIBS=""
28936 :
28937 fi
28938
28939
28940 rm -f conf.gtktest
28941
28942
28943 if test -z "$wx_cv_lib_gtk"; then
28944
28945 # Check whether --with-gtk-prefix was given.
28946 if test "${with_gtk_prefix+set}" = set; then
28947 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28948 else
28949 gtk_config_prefix=""
28950 fi
28951
28952
28953 # Check whether --with-gtk-exec-prefix was given.
28954 if test "${with_gtk_exec_prefix+set}" = set; then
28955 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28956 else
28957 gtk_config_exec_prefix=""
28958 fi
28959
28960 # Check whether --enable-gtktest was given.
28961 if test "${enable_gtktest+set}" = set; then
28962 enableval=$enable_gtktest;
28963 else
28964 enable_gtktest=yes
28965 fi
28966
28967
28968 for module in . $GTK_MODULES
28969 do
28970 case "$module" in
28971 gthread)
28972 gtk_config_args="$gtk_config_args gthread"
28973 ;;
28974 esac
28975 done
28976
28977 if test x$gtk_config_exec_prefix != x ; then
28978 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28979 if test x${GTK_CONFIG+set} != xset ; then
28980 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28981 fi
28982 fi
28983 if test x$gtk_config_prefix != x ; then
28984 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28985 if test x${GTK_CONFIG+set} != xset ; then
28986 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28987 fi
28988 fi
28989
28990 # Extract the first word of "gtk-config", so it can be a program name with args.
28991 set dummy gtk-config; ac_word=$2
28992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28994 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28995 echo $ECHO_N "(cached) $ECHO_C" >&6
28996 else
28997 case $GTK_CONFIG in
28998 [\\/]* | ?:[\\/]*)
28999 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29000 ;;
29001 *)
29002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29003 for as_dir in $PATH
29004 do
29005 IFS=$as_save_IFS
29006 test -z "$as_dir" && as_dir=.
29007 for ac_exec_ext in '' $ac_executable_extensions; do
29008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29009 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29011 break 2
29012 fi
29013 done
29014 done
29015 IFS=$as_save_IFS
29016
29017 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29018 ;;
29019 esac
29020 fi
29021 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29022 if test -n "$GTK_CONFIG"; then
29023 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29024 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29025 else
29026 { echo "$as_me:$LINENO: result: no" >&5
29027 echo "${ECHO_T}no" >&6; }
29028 fi
29029
29030
29031 min_gtk_version=1.2.3
29032 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29033 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29034 no_gtk=""
29035 if test "$GTK_CONFIG" = "no" ; then
29036 no_gtk=yes
29037 else
29038 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29039 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29040 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29042 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29044 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29046 if test "x$enable_gtktest" = "xyes" ; then
29047 ac_save_CFLAGS="$CFLAGS"
29048 ac_save_LIBS="$LIBS"
29049 CFLAGS="$CFLAGS $GTK_CFLAGS"
29050 LIBS="$GTK_LIBS $LIBS"
29051 rm -f conf.gtktest
29052 if test "$cross_compiling" = yes; then
29053 echo $ac_n "cross compiling; assumed OK... $ac_c"
29054 else
29055 cat >conftest.$ac_ext <<_ACEOF
29056 /* confdefs.h. */
29057 _ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29061
29062 #include <gtk/gtk.h>
29063 #include <stdio.h>
29064 #include <stdlib.h>
29065
29066 int
29067 main ()
29068 {
29069 int major, minor, micro;
29070 char *tmp_version;
29071
29072 system ("touch conf.gtktest");
29073
29074 /* HP/UX 9 (%@#!) writes to sscanf strings */
29075 tmp_version = g_strdup("$min_gtk_version");
29076 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29077 printf("%s, bad version string\n", "$min_gtk_version");
29078 exit(1);
29079 }
29080
29081 if ((gtk_major_version != $gtk_config_major_version) ||
29082 (gtk_minor_version != $gtk_config_minor_version) ||
29083 (gtk_micro_version != $gtk_config_micro_version))
29084 {
29085 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29086 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29087 gtk_major_version, gtk_minor_version, gtk_micro_version);
29088 printf ("*** was found! If gtk-config was correct, then it is best\n");
29089 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29090 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29091 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29092 printf("*** required on your system.\n");
29093 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29094 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29095 printf("*** before re-running configure\n");
29096 }
29097 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29098 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29099 (gtk_minor_version != GTK_MINOR_VERSION) ||
29100 (gtk_micro_version != GTK_MICRO_VERSION))
29101 {
29102 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29103 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29104 printf("*** library (version %d.%d.%d)\n",
29105 gtk_major_version, gtk_minor_version, gtk_micro_version);
29106 }
29107 #endif /* defined (GTK_MAJOR_VERSION) ... */
29108 else
29109 {
29110 if ((gtk_major_version > major) ||
29111 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29112 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29113 {
29114 return 0;
29115 }
29116 else
29117 {
29118 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29119 gtk_major_version, gtk_minor_version, gtk_micro_version);
29120 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29121 major, minor, micro);
29122 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29123 printf("***\n");
29124 printf("*** If you have already installed a sufficiently new version, this error\n");
29125 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29126 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29127 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29128 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29129 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29130 printf("*** so that the correct libraries are found at run-time))\n");
29131 }
29132 }
29133 return 1;
29134 }
29135
29136 _ACEOF
29137 rm -f conftest$ac_exeext
29138 if { (ac_try="$ac_link"
29139 case "(($ac_try" in
29140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29141 *) ac_try_echo=$ac_try;;
29142 esac
29143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29144 (eval "$ac_link") 2>&5
29145 ac_status=$?
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29148 { (case "(($ac_try" in
29149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29150 *) ac_try_echo=$ac_try;;
29151 esac
29152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29153 (eval "$ac_try") 2>&5
29154 ac_status=$?
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); }; }; then
29157 :
29158 else
29159 echo "$as_me: program exited with status $ac_status" >&5
29160 echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.$ac_ext >&5
29162
29163 ( exit $ac_status )
29164 no_gtk=yes
29165 fi
29166 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29167 fi
29168
29169
29170 CFLAGS="$ac_save_CFLAGS"
29171 LIBS="$ac_save_LIBS"
29172 fi
29173 fi
29174 if test "x$no_gtk" = x ; then
29175 { echo "$as_me:$LINENO: result: yes" >&5
29176 echo "${ECHO_T}yes" >&6; }
29177 wx_cv_lib_gtk=1.2.3
29178 else
29179 { echo "$as_me:$LINENO: result: no" >&5
29180 echo "${ECHO_T}no" >&6; }
29181 if test "$GTK_CONFIG" = "no" ; then
29182 echo "*** The gtk-config script installed by GTK could not be found"
29183 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29184 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29185 echo "*** full path to gtk-config."
29186 else
29187 if test -f conf.gtktest ; then
29188 :
29189 else
29190 echo "*** Could not run GTK test program, checking why..."
29191 CFLAGS="$CFLAGS $GTK_CFLAGS"
29192 LIBS="$LIBS $GTK_LIBS"
29193 cat >conftest.$ac_ext <<_ACEOF
29194 /* confdefs.h. */
29195 _ACEOF
29196 cat confdefs.h >>conftest.$ac_ext
29197 cat >>conftest.$ac_ext <<_ACEOF
29198 /* end confdefs.h. */
29199
29200 #include <gtk/gtk.h>
29201 #include <stdio.h>
29202
29203 int
29204 main ()
29205 {
29206 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29207 ;
29208 return 0;
29209 }
29210 _ACEOF
29211 rm -f conftest.$ac_objext conftest$ac_exeext
29212 if { (ac_try="$ac_link"
29213 case "(($ac_try" in
29214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29215 *) ac_try_echo=$ac_try;;
29216 esac
29217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29218 (eval "$ac_link") 2>conftest.er1
29219 ac_status=$?
29220 grep -v '^ *+' conftest.er1 >conftest.err
29221 rm -f conftest.er1
29222 cat conftest.err >&5
29223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224 (exit $ac_status); } && {
29225 test -z "$ac_c_werror_flag" ||
29226 test ! -s conftest.err
29227 } && test -s conftest$ac_exeext &&
29228 $as_test_x conftest$ac_exeext; then
29229 echo "*** The test program compiled, but did not run. This usually means"
29230 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29231 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29232 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29233 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29234 echo "*** is required on your system"
29235 echo "***"
29236 echo "*** If you have an old version installed, it is best to remove it, although"
29237 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29238 echo "***"
29239 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29240 echo "*** came with the system with the command"
29241 echo "***"
29242 echo "*** rpm --erase --nodeps gtk gtk-devel"
29243 else
29244 echo "$as_me: failed program was:" >&5
29245 sed 's/^/| /' conftest.$ac_ext >&5
29246
29247 echo "*** The test program failed to compile or link. See the file config.log for the"
29248 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29249 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29250 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29251 fi
29252
29253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29254 conftest$ac_exeext conftest.$ac_ext
29255 CFLAGS="$ac_save_CFLAGS"
29256 LIBS="$ac_save_LIBS"
29257 fi
29258 fi
29259 GTK_CFLAGS=""
29260 GTK_LIBS=""
29261 :
29262 fi
29263
29264
29265 rm -f conf.gtktest
29266
29267 fi
29268 fi
29269 fi
29270
29271 if test -z "$wx_cv_lib_gtk"; then
29272 wx_cv_lib_gtk=none
29273 else
29274 wx_cv_cflags_gtk=$GTK_CFLAGS
29275 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29276 fi
29277
29278
29279 fi
29280
29281
29282 if test "$gtk_version_cached" = 1; then
29283 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29284 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29285 fi
29286
29287 case "$wx_cv_lib_gtk" in
29288 2.0) WXGTK2=1
29289 TOOLKIT_VERSION=2
29290 ;;
29291 1.2.7) WXGTK127=1
29292 WXGTK12=1
29293 ;;
29294 1.2.3) WXGTK12=1
29295 ;;
29296 *) { { echo "$as_me:$LINENO: error:
29297 The development files for GTK+ were not found. For GTK+ 2, please
29298 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29299 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29300 and that the version is 1.2.3 or above. Also check that the
29301 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29302 --libs' are in the LD_LIBRARY_PATH or equivalent.
29303 " >&5
29304 echo "$as_me: error:
29305 The development files for GTK+ were not found. For GTK+ 2, please
29306 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29307 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29308 and that the version is 1.2.3 or above. Also check that the
29309 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29310 --libs' are in the LD_LIBRARY_PATH or equivalent.
29311 " >&2;}
29312 { (exit 1); exit 1; }; }
29313 ;;
29314 esac
29315
29316 if test "$WXGTK2" = 1; then
29317 save_CFLAGS="$CFLAGS"
29318 save_LIBS="$LIBS"
29319 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29320 LIBS="$LIBS $wx_cv_libs_gtk"
29321
29322 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29323 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29324 cat >conftest.$ac_ext <<_ACEOF
29325 /* confdefs.h. */
29326 _ACEOF
29327 cat confdefs.h >>conftest.$ac_ext
29328 cat >>conftest.$ac_ext <<_ACEOF
29329 /* end confdefs.h. */
29330
29331 #include <gtk/gtk.h>
29332
29333 int
29334 main ()
29335 {
29336
29337 #if !GTK_CHECK_VERSION(2,10,0)
29338 Not GTK+ 2.10
29339 #endif
29340
29341 ;
29342 return 0;
29343 }
29344 _ACEOF
29345 rm -f conftest.$ac_objext
29346 if { (ac_try="$ac_compile"
29347 case "(($ac_try" in
29348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29349 *) ac_try_echo=$ac_try;;
29350 esac
29351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29352 (eval "$ac_compile") 2>conftest.er1
29353 ac_status=$?
29354 grep -v '^ *+' conftest.er1 >conftest.err
29355 rm -f conftest.er1
29356 cat conftest.err >&5
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); } && {
29359 test -z "$ac_c_werror_flag" ||
29360 test ! -s conftest.err
29361 } && test -s conftest.$ac_objext; then
29362
29363 cat >>confdefs.h <<\_ACEOF
29364 #define __WXGTK210__ 1
29365 _ACEOF
29366
29367 cat >>confdefs.h <<\_ACEOF
29368 #define __WXGTK26__ 1
29369 _ACEOF
29370
29371 { echo "$as_me:$LINENO: result: yes" >&5
29372 echo "${ECHO_T}yes" >&6; }
29373 ac_wxgtk210=1
29374
29375 else
29376 echo "$as_me: failed program was:" >&5
29377 sed 's/^/| /' conftest.$ac_ext >&5
29378
29379
29380 { echo "$as_me:$LINENO: result: no" >&5
29381 echo "${ECHO_T}no" >&6; }
29382 ac_wxgtk210=0
29383
29384 fi
29385
29386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29387
29388 if test "$ac_wxgtk210" = 0; then
29389 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29390 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29391 cat >conftest.$ac_ext <<_ACEOF
29392 /* confdefs.h. */
29393 _ACEOF
29394 cat confdefs.h >>conftest.$ac_ext
29395 cat >>conftest.$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29397
29398 #include <gtk/gtk.h>
29399
29400 int
29401 main ()
29402 {
29403
29404 #if !GTK_CHECK_VERSION(2,6,0)
29405 Not GTK+ 2.6
29406 #endif
29407
29408 ;
29409 return 0;
29410 }
29411 _ACEOF
29412 rm -f conftest.$ac_objext
29413 if { (ac_try="$ac_compile"
29414 case "(($ac_try" in
29415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29416 *) ac_try_echo=$ac_try;;
29417 esac
29418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29419 (eval "$ac_compile") 2>conftest.er1
29420 ac_status=$?
29421 grep -v '^ *+' conftest.er1 >conftest.err
29422 rm -f conftest.er1
29423 cat conftest.err >&5
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); } && {
29426 test -z "$ac_c_werror_flag" ||
29427 test ! -s conftest.err
29428 } && test -s conftest.$ac_objext; then
29429
29430 cat >>confdefs.h <<\_ACEOF
29431 #define __WXGTK26__ 1
29432 _ACEOF
29433
29434 { echo "$as_me:$LINENO: result: yes" >&5
29435 echo "${ECHO_T}yes" >&6; }
29436 ac_wxgtk26=1
29437
29438 else
29439 echo "$as_me: failed program was:" >&5
29440 sed 's/^/| /' conftest.$ac_ext >&5
29441
29442
29443 { echo "$as_me:$LINENO: result: no" >&5
29444 echo "${ECHO_T}no" >&6; }
29445 ac_wxgtk26=0
29446
29447 fi
29448
29449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29450 fi
29451
29452 CFLAGS="$save_CFLAGS"
29453 LIBS="$save_LIBS"
29454 else
29455 if test "$wxUSE_UNICODE" = "yes"; then
29456 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29457 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29458 wxUSE_UNICODE=no
29459 fi
29460
29461 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29462 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29463 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29464 echo $ECHO_N "(cached) $ECHO_C" >&6
29465 else
29466 ac_check_lib_save_LIBS=$LIBS
29467 LIBS="-lgdk $LIBS"
29468 cat >conftest.$ac_ext <<_ACEOF
29469 /* confdefs.h. */
29470 _ACEOF
29471 cat confdefs.h >>conftest.$ac_ext
29472 cat >>conftest.$ac_ext <<_ACEOF
29473 /* end confdefs.h. */
29474
29475 /* Override any GCC internal prototype to avoid an error.
29476 Use char because int might match the return type of a GCC
29477 builtin and then its argument prototype would still apply. */
29478 #ifdef __cplusplus
29479 extern "C"
29480 #endif
29481 char gdk_im_open ();
29482 int
29483 main ()
29484 {
29485 return gdk_im_open ();
29486 ;
29487 return 0;
29488 }
29489 _ACEOF
29490 rm -f conftest.$ac_objext conftest$ac_exeext
29491 if { (ac_try="$ac_link"
29492 case "(($ac_try" in
29493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29494 *) ac_try_echo=$ac_try;;
29495 esac
29496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29497 (eval "$ac_link") 2>conftest.er1
29498 ac_status=$?
29499 grep -v '^ *+' conftest.er1 >conftest.err
29500 rm -f conftest.er1
29501 cat conftest.err >&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); } && {
29504 test -z "$ac_c_werror_flag" ||
29505 test ! -s conftest.err
29506 } && test -s conftest$ac_exeext &&
29507 $as_test_x conftest$ac_exeext; then
29508 ac_cv_lib_gdk_gdk_im_open=yes
29509 else
29510 echo "$as_me: failed program was:" >&5
29511 sed 's/^/| /' conftest.$ac_ext >&5
29512
29513 ac_cv_lib_gdk_gdk_im_open=no
29514 fi
29515
29516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29517 conftest$ac_exeext conftest.$ac_ext
29518 LIBS=$ac_check_lib_save_LIBS
29519 fi
29520 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29521 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29522 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29523 cat >>confdefs.h <<\_ACEOF
29524 #define HAVE_XIM 1
29525 _ACEOF
29526
29527 fi
29528
29529
29530 if test "$USE_DARWIN" != 1; then
29531
29532 for ac_func in poll
29533 do
29534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29538 echo $ECHO_N "(cached) $ECHO_C" >&6
29539 else
29540 cat >conftest.$ac_ext <<_ACEOF
29541 /* confdefs.h. */
29542 _ACEOF
29543 cat confdefs.h >>conftest.$ac_ext
29544 cat >>conftest.$ac_ext <<_ACEOF
29545 /* end confdefs.h. */
29546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29548 #define $ac_func innocuous_$ac_func
29549
29550 /* System header to define __stub macros and hopefully few prototypes,
29551 which can conflict with char $ac_func (); below.
29552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29553 <limits.h> exists even on freestanding compilers. */
29554
29555 #ifdef __STDC__
29556 # include <limits.h>
29557 #else
29558 # include <assert.h>
29559 #endif
29560
29561 #undef $ac_func
29562
29563 /* Override any GCC internal prototype to avoid an error.
29564 Use char because int might match the return type of a GCC
29565 builtin and then its argument prototype would still apply. */
29566 #ifdef __cplusplus
29567 extern "C"
29568 #endif
29569 char $ac_func ();
29570 /* The GNU C library defines this for functions which it implements
29571 to always fail with ENOSYS. Some functions are actually named
29572 something starting with __ and the normal name is an alias. */
29573 #if defined __stub_$ac_func || defined __stub___$ac_func
29574 choke me
29575 #endif
29576
29577 int
29578 main ()
29579 {
29580 return $ac_func ();
29581 ;
29582 return 0;
29583 }
29584 _ACEOF
29585 rm -f conftest.$ac_objext conftest$ac_exeext
29586 if { (ac_try="$ac_link"
29587 case "(($ac_try" in
29588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29589 *) ac_try_echo=$ac_try;;
29590 esac
29591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29592 (eval "$ac_link") 2>conftest.er1
29593 ac_status=$?
29594 grep -v '^ *+' conftest.er1 >conftest.err
29595 rm -f conftest.er1
29596 cat conftest.err >&5
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); } && {
29599 test -z "$ac_c_werror_flag" ||
29600 test ! -s conftest.err
29601 } && test -s conftest$ac_exeext &&
29602 $as_test_x conftest$ac_exeext; then
29603 eval "$as_ac_var=yes"
29604 else
29605 echo "$as_me: failed program was:" >&5
29606 sed 's/^/| /' conftest.$ac_ext >&5
29607
29608 eval "$as_ac_var=no"
29609 fi
29610
29611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29612 conftest$ac_exeext conftest.$ac_ext
29613 fi
29614 ac_res=`eval echo '${'$as_ac_var'}'`
29615 { echo "$as_me:$LINENO: result: $ac_res" >&5
29616 echo "${ECHO_T}$ac_res" >&6; }
29617 if test `eval echo '${'$as_ac_var'}'` = yes; then
29618 cat >>confdefs.h <<_ACEOF
29619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29620 _ACEOF
29621
29622 fi
29623 done
29624
29625 fi
29626 fi
29627
29628 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29629 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29630
29631 AFMINSTALL=afminstall
29632 TOOLKIT=GTK
29633 GUIDIST=GTK_DIST
29634
29635 if test "$wxUSE_GPE" = "yes"; then
29636 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29637 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29638
29639 ac_find_libraries=
29640 for ac_dir in $SEARCH_LIB;
29641 do
29642 for ac_extension in a so sl dylib dll.a; do
29643 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29644 ac_find_libraries=$ac_dir
29645 break 2
29646 fi
29647 done
29648 done
29649
29650 if test "$ac_find_libraries" != "" ; then
29651
29652 if test "$ac_find_libraries" = "default location"; then
29653 ac_path_to_link=""
29654 else
29655 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29656 result=$?
29657 if test $result = 0; then
29658 ac_path_to_link=""
29659 else
29660 ac_path_to_link=" -L$ac_find_libraries"
29661 fi
29662 fi
29663
29664 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29665 WXGPE=1
29666 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29667 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29668 else
29669 { echo "$as_me:$LINENO: result: not found" >&5
29670 echo "${ECHO_T}not found" >&6; }
29671 fi
29672
29673 fi
29674 fi
29675
29676 if test "$wxUSE_MGL" = 1; then
29677 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29678 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29679 if test "x$MGL_ROOT" = x ; then
29680 { echo "$as_me:$LINENO: result: not found" >&5
29681 echo "${ECHO_T}not found" >&6; }
29682 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29683 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29684 { (exit 1); exit 1; }; }
29685 else
29686 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29687 echo "${ECHO_T}$MGL_ROOT" >&6; }
29688 fi
29689
29690 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29691 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29692 case "${host}" in
29693 *-*-linux* )
29694 if test "x$wxUSE_SHARED" = xyes ; then
29695 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29696 else
29697 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29698 fi
29699 ;;
29700 *-pc-msdosdjgpp )
29701 mgl_os_candidates="dos32/dj2"
29702 ;;
29703 *)
29704 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29705 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29706 { (exit 1); exit 1; }; }
29707 esac
29708
29709 mgl_lib_type=""
29710 mgl_os=""
29711
29712 for mgl_os_i in $mgl_os_candidates ; do
29713 if test "x$mgl_os" = x ; then
29714 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29715 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29716 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29717 mgl_lib_type=debug
29718 mgl_os=$mgl_os_i
29719 fi
29720 fi
29721 if test "x$mgl_lib_type" = x ; then
29722 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29723 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29724 mgl_lib_type=release
29725 mgl_os=$mgl_os_i
29726 fi
29727 fi
29728 fi
29729 done
29730
29731 if test "x$mgl_os" = x ; then
29732 { echo "$as_me:$LINENO: result: not found" >&5
29733 echo "${ECHO_T}not found" >&6; }
29734 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29735 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29736 { (exit 1); exit 1; }; }
29737 fi
29738 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29739 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29740
29741 wxUSE_UNIVERSAL="yes"
29742
29743 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29744 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29745
29746 AFMINSTALL=afminstall
29747 TOOLKIT=MGL
29748 GUIDIST=MGL_DIST
29749 fi
29750
29751 if test "$wxUSE_DFB" = 1; then
29752
29753
29754 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29755 if test -n "$ac_tool_prefix"; then
29756 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29757 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29760 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29761 echo $ECHO_N "(cached) $ECHO_C" >&6
29762 else
29763 case $PKG_CONFIG in
29764 [\\/]* | ?:[\\/]*)
29765 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29766 ;;
29767 *)
29768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29769 for as_dir in $PATH
29770 do
29771 IFS=$as_save_IFS
29772 test -z "$as_dir" && as_dir=.
29773 for ac_exec_ext in '' $ac_executable_extensions; do
29774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29775 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29777 break 2
29778 fi
29779 done
29780 done
29781 IFS=$as_save_IFS
29782
29783 ;;
29784 esac
29785 fi
29786 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29787 if test -n "$PKG_CONFIG"; then
29788 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29789 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29790 else
29791 { echo "$as_me:$LINENO: result: no" >&5
29792 echo "${ECHO_T}no" >&6; }
29793 fi
29794
29795
29796 fi
29797 if test -z "$ac_cv_path_PKG_CONFIG"; then
29798 ac_pt_PKG_CONFIG=$PKG_CONFIG
29799 # Extract the first word of "pkg-config", so it can be a program name with args.
29800 set dummy pkg-config; ac_word=$2
29801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29803 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29804 echo $ECHO_N "(cached) $ECHO_C" >&6
29805 else
29806 case $ac_pt_PKG_CONFIG in
29807 [\\/]* | ?:[\\/]*)
29808 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29809 ;;
29810 *)
29811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29812 for as_dir in $PATH
29813 do
29814 IFS=$as_save_IFS
29815 test -z "$as_dir" && as_dir=.
29816 for ac_exec_ext in '' $ac_executable_extensions; do
29817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29818 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29820 break 2
29821 fi
29822 done
29823 done
29824 IFS=$as_save_IFS
29825
29826 ;;
29827 esac
29828 fi
29829 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29830 if test -n "$ac_pt_PKG_CONFIG"; then
29831 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29832 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29833 else
29834 { echo "$as_me:$LINENO: result: no" >&5
29835 echo "${ECHO_T}no" >&6; }
29836 fi
29837
29838 if test "x$ac_pt_PKG_CONFIG" = x; then
29839 PKG_CONFIG=""
29840 else
29841 case $cross_compiling:$ac_tool_warned in
29842 yes:)
29843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29844 whose name does not start with the host triplet. If you think this
29845 configuration is useful to you, please write to autoconf@gnu.org." >&5
29846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29847 whose name does not start with the host triplet. If you think this
29848 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29849 ac_tool_warned=yes ;;
29850 esac
29851 PKG_CONFIG=$ac_pt_PKG_CONFIG
29852 fi
29853 else
29854 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29855 fi
29856
29857 fi
29858 if test -n "$PKG_CONFIG"; then
29859 _pkg_min_version=0.9.0
29860 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29861 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29862 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29863 { echo "$as_me:$LINENO: result: yes" >&5
29864 echo "${ECHO_T}yes" >&6; }
29865 else
29866 { echo "$as_me:$LINENO: result: no" >&5
29867 echo "${ECHO_T}no" >&6; }
29868 PKG_CONFIG=""
29869 fi
29870
29871 fi
29872
29873
29874 pkg_failed=no
29875 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29876 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29877
29878 if test -n "$PKG_CONFIG"; then
29879 if test -n "$DIRECTFB_CFLAGS"; then
29880 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29881 else
29882 if test -n "$PKG_CONFIG" && \
29883 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29884 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29885 ac_status=$?
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; then
29888 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29889 else
29890 pkg_failed=yes
29891 fi
29892 fi
29893 else
29894 pkg_failed=untried
29895 fi
29896 if test -n "$PKG_CONFIG"; then
29897 if test -n "$DIRECTFB_LIBS"; then
29898 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29899 else
29900 if test -n "$PKG_CONFIG" && \
29901 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29902 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29903 ac_status=$?
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); }; then
29906 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29907 else
29908 pkg_failed=yes
29909 fi
29910 fi
29911 else
29912 pkg_failed=untried
29913 fi
29914
29915
29916
29917 if test $pkg_failed = yes; then
29918
29919 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29920 _pkg_short_errors_supported=yes
29921 else
29922 _pkg_short_errors_supported=no
29923 fi
29924 if test $_pkg_short_errors_supported = yes; then
29925 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29926 else
29927 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29928 fi
29929 # Put the nasty error message in config.log where it belongs
29930 echo "$DIRECTFB_PKG_ERRORS" >&5
29931
29932
29933 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29934 echo "$as_me: error: DirectFB not found." >&2;}
29935 { (exit 1); exit 1; }; }
29936
29937
29938 elif test $pkg_failed = untried; then
29939
29940 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29941 echo "$as_me: error: DirectFB not found." >&2;}
29942 { (exit 1); exit 1; }; }
29943
29944
29945 else
29946 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29947 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29948 { echo "$as_me:$LINENO: result: yes" >&5
29949 echo "${ECHO_T}yes" >&6; }
29950
29951 wxUSE_UNIVERSAL="yes"
29952 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29953 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29954 TOOLKIT=DFB
29955 GUIDIST=DFB_DIST
29956
29957 fi
29958 fi
29959
29960 if test "$wxUSE_MICROWIN" = 1; then
29961 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29962 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29963 if test "x$MICROWINDOWS" = x ; then
29964 { echo "$as_me:$LINENO: result: not found" >&5
29965 echo "${ECHO_T}not found" >&6; }
29966 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29967 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29968 { (exit 1); exit 1; }; }
29969 else
29970 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29971 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29972 fi
29973
29974 if test -f $MICROWINDOWS/lib/libmwin.a; then
29975 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29976 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29977 else
29978 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29979 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29980 { (exit 1); exit 1; }; }
29981 fi
29982
29983 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29984 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29985
29986 wxUSE_UNIVERSAL="yes"
29987
29988 AFMINSTALL=afminstall
29989 TOOLKIT=MICROWIN
29990 GUIDIST=MICROWIN_DIST
29991
29992 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29993 fi
29994
29995 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29996 { echo "$as_me:$LINENO: checking for X" >&5
29997 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29998
29999
30000 # Check whether --with-x was given.
30001 if test "${with_x+set}" = set; then
30002 withval=$with_x;
30003 fi
30004
30005 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30006 if test "x$with_x" = xno; then
30007 # The user explicitly disabled X.
30008 have_x=disabled
30009 else
30010 case $x_includes,$x_libraries in #(
30011 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30012 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30013 { (exit 1); exit 1; }; };; #(
30014 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30015 echo $ECHO_N "(cached) $ECHO_C" >&6
30016 else
30017 # One or both of the vars are not set, and there is no cached value.
30018 ac_x_includes=no ac_x_libraries=no
30019 rm -f -r conftest.dir
30020 if mkdir conftest.dir; then
30021 cd conftest.dir
30022 cat >Imakefile <<'_ACEOF'
30023 incroot:
30024 @echo incroot='${INCROOT}'
30025 usrlibdir:
30026 @echo usrlibdir='${USRLIBDIR}'
30027 libdir:
30028 @echo libdir='${LIBDIR}'
30029 _ACEOF
30030 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30031 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30032 for ac_var in incroot usrlibdir libdir; do
30033 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30034 done
30035 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30036 for ac_extension in a so sl; do
30037 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30038 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30039 ac_im_usrlibdir=$ac_im_libdir; break
30040 fi
30041 done
30042 # Screen out bogus values from the imake configuration. They are
30043 # bogus both because they are the default anyway, and because
30044 # using them would break gcc on systems where it needs fixed includes.
30045 case $ac_im_incroot in
30046 /usr/include) ac_x_includes= ;;
30047 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30048 esac
30049 case $ac_im_usrlibdir in
30050 /usr/lib | /lib) ;;
30051 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30052 esac
30053 fi
30054 cd ..
30055 rm -f -r conftest.dir
30056 fi
30057
30058 # Standard set of common directories for X headers.
30059 # Check X11 before X11Rn because it is often a symlink to the current release.
30060 ac_x_header_dirs='
30061 /usr/X11/include
30062 /usr/X11R6/include
30063 /usr/X11R5/include
30064 /usr/X11R4/include
30065
30066 /usr/include/X11
30067 /usr/include/X11R6
30068 /usr/include/X11R5
30069 /usr/include/X11R4
30070
30071 /usr/local/X11/include
30072 /usr/local/X11R6/include
30073 /usr/local/X11R5/include
30074 /usr/local/X11R4/include
30075
30076 /usr/local/include/X11
30077 /usr/local/include/X11R6
30078 /usr/local/include/X11R5
30079 /usr/local/include/X11R4
30080
30081 /usr/X386/include
30082 /usr/x386/include
30083 /usr/XFree86/include/X11
30084
30085 /usr/include
30086 /usr/local/include
30087 /usr/unsupported/include
30088 /usr/athena/include
30089 /usr/local/x11r5/include
30090 /usr/lpp/Xamples/include
30091
30092 /usr/openwin/include
30093 /usr/openwin/share/include'
30094
30095 if test "$ac_x_includes" = no; then
30096 # Guess where to find include files, by looking for Xlib.h.
30097 # First, try using that file with no special directory specified.
30098 cat >conftest.$ac_ext <<_ACEOF
30099 /* confdefs.h. */
30100 _ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30104 #include <X11/Xlib.h>
30105 _ACEOF
30106 if { (ac_try="$ac_cpp conftest.$ac_ext"
30107 case "(($ac_try" in
30108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30109 *) ac_try_echo=$ac_try;;
30110 esac
30111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30112 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30113 ac_status=$?
30114 grep -v '^ *+' conftest.er1 >conftest.err
30115 rm -f conftest.er1
30116 cat conftest.err >&5
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); } >/dev/null && {
30119 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30120 test ! -s conftest.err
30121 }; then
30122 # We can compile using X headers with no special include directory.
30123 ac_x_includes=
30124 else
30125 echo "$as_me: failed program was:" >&5
30126 sed 's/^/| /' conftest.$ac_ext >&5
30127
30128 for ac_dir in $ac_x_header_dirs; do
30129 if test -r "$ac_dir/X11/Xlib.h"; then
30130 ac_x_includes=$ac_dir
30131 break
30132 fi
30133 done
30134 fi
30135
30136 rm -f conftest.err conftest.$ac_ext
30137 fi # $ac_x_includes = no
30138
30139 if test "$ac_x_libraries" = no; then
30140 # Check for the libraries.
30141 # See if we find them without any special options.
30142 # Don't add to $LIBS permanently.
30143 ac_save_LIBS=$LIBS
30144 LIBS="-lX11 $LIBS"
30145 cat >conftest.$ac_ext <<_ACEOF
30146 /* confdefs.h. */
30147 _ACEOF
30148 cat confdefs.h >>conftest.$ac_ext
30149 cat >>conftest.$ac_ext <<_ACEOF
30150 /* end confdefs.h. */
30151 #include <X11/Xlib.h>
30152 int
30153 main ()
30154 {
30155 XrmInitialize ()
30156 ;
30157 return 0;
30158 }
30159 _ACEOF
30160 rm -f conftest.$ac_objext conftest$ac_exeext
30161 if { (ac_try="$ac_link"
30162 case "(($ac_try" in
30163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30164 *) ac_try_echo=$ac_try;;
30165 esac
30166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30167 (eval "$ac_link") 2>conftest.er1
30168 ac_status=$?
30169 grep -v '^ *+' conftest.er1 >conftest.err
30170 rm -f conftest.er1
30171 cat conftest.err >&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } && {
30174 test -z "$ac_c_werror_flag" ||
30175 test ! -s conftest.err
30176 } && test -s conftest$ac_exeext &&
30177 $as_test_x conftest$ac_exeext; then
30178 LIBS=$ac_save_LIBS
30179 # We can link X programs with no special library path.
30180 ac_x_libraries=
30181 else
30182 echo "$as_me: failed program was:" >&5
30183 sed 's/^/| /' conftest.$ac_ext >&5
30184
30185 LIBS=$ac_save_LIBS
30186 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30187 do
30188 # Don't even attempt the hair of trying to link an X program!
30189 for ac_extension in a so sl; do
30190 if test -r "$ac_dir/libX11.$ac_extension"; then
30191 ac_x_libraries=$ac_dir
30192 break 2
30193 fi
30194 done
30195 done
30196 fi
30197
30198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30199 conftest$ac_exeext conftest.$ac_ext
30200 fi # $ac_x_libraries = no
30201
30202 case $ac_x_includes,$ac_x_libraries in #(
30203 no,* | *,no | *\'*)
30204 # Didn't find X, or a directory has "'" in its name.
30205 ac_cv_have_x="have_x=no";; #(
30206 *)
30207 # Record where we found X for the cache.
30208 ac_cv_have_x="have_x=yes\
30209 ac_x_includes='$ac_x_includes'\
30210 ac_x_libraries='$ac_x_libraries'"
30211 esac
30212 fi
30213 ;; #(
30214 *) have_x=yes;;
30215 esac
30216 eval "$ac_cv_have_x"
30217 fi # $with_x != no
30218
30219 if test "$have_x" != yes; then
30220 { echo "$as_me:$LINENO: result: $have_x" >&5
30221 echo "${ECHO_T}$have_x" >&6; }
30222 no_x=yes
30223 else
30224 # If each of the values was on the command line, it overrides each guess.
30225 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30226 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30227 # Update the cache value to reflect the command line values.
30228 ac_cv_have_x="have_x=yes\
30229 ac_x_includes='$x_includes'\
30230 ac_x_libraries='$x_libraries'"
30231 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30232 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30233 fi
30234
30235 if test "$no_x" = yes; then
30236 # Not all programs may use this symbol, but it does not hurt to define it.
30237
30238 cat >>confdefs.h <<\_ACEOF
30239 #define X_DISPLAY_MISSING 1
30240 _ACEOF
30241
30242 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30243 else
30244 if test -n "$x_includes"; then
30245 X_CFLAGS="$X_CFLAGS -I$x_includes"
30246 fi
30247
30248 # It would also be nice to do this for all -L options, not just this one.
30249 if test -n "$x_libraries"; then
30250 X_LIBS="$X_LIBS -L$x_libraries"
30251 # For Solaris; some versions of Sun CC require a space after -R and
30252 # others require no space. Words are not sufficient . . . .
30253 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30254 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30255 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30256 ac_xsave_c_werror_flag=$ac_c_werror_flag
30257 ac_c_werror_flag=yes
30258 cat >conftest.$ac_ext <<_ACEOF
30259 /* confdefs.h. */
30260 _ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264
30265 int
30266 main ()
30267 {
30268
30269 ;
30270 return 0;
30271 }
30272 _ACEOF
30273 rm -f conftest.$ac_objext conftest$ac_exeext
30274 if { (ac_try="$ac_link"
30275 case "(($ac_try" in
30276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30277 *) ac_try_echo=$ac_try;;
30278 esac
30279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30280 (eval "$ac_link") 2>conftest.er1
30281 ac_status=$?
30282 grep -v '^ *+' conftest.er1 >conftest.err
30283 rm -f conftest.er1
30284 cat conftest.err >&5
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); } && {
30287 test -z "$ac_c_werror_flag" ||
30288 test ! -s conftest.err
30289 } && test -s conftest$ac_exeext &&
30290 $as_test_x conftest$ac_exeext; then
30291 { echo "$as_me:$LINENO: result: no" >&5
30292 echo "${ECHO_T}no" >&6; }
30293 X_LIBS="$X_LIBS -R$x_libraries"
30294 else
30295 echo "$as_me: failed program was:" >&5
30296 sed 's/^/| /' conftest.$ac_ext >&5
30297
30298 LIBS="$ac_xsave_LIBS -R $x_libraries"
30299 cat >conftest.$ac_ext <<_ACEOF
30300 /* confdefs.h. */
30301 _ACEOF
30302 cat confdefs.h >>conftest.$ac_ext
30303 cat >>conftest.$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30305
30306 int
30307 main ()
30308 {
30309
30310 ;
30311 return 0;
30312 }
30313 _ACEOF
30314 rm -f conftest.$ac_objext conftest$ac_exeext
30315 if { (ac_try="$ac_link"
30316 case "(($ac_try" in
30317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30318 *) ac_try_echo=$ac_try;;
30319 esac
30320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30321 (eval "$ac_link") 2>conftest.er1
30322 ac_status=$?
30323 grep -v '^ *+' conftest.er1 >conftest.err
30324 rm -f conftest.er1
30325 cat conftest.err >&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } && {
30328 test -z "$ac_c_werror_flag" ||
30329 test ! -s conftest.err
30330 } && test -s conftest$ac_exeext &&
30331 $as_test_x conftest$ac_exeext; then
30332 { echo "$as_me:$LINENO: result: yes" >&5
30333 echo "${ECHO_T}yes" >&6; }
30334 X_LIBS="$X_LIBS -R $x_libraries"
30335 else
30336 echo "$as_me: failed program was:" >&5
30337 sed 's/^/| /' conftest.$ac_ext >&5
30338
30339 { echo "$as_me:$LINENO: result: neither works" >&5
30340 echo "${ECHO_T}neither works" >&6; }
30341 fi
30342
30343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30344 conftest$ac_exeext conftest.$ac_ext
30345 fi
30346
30347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30348 conftest$ac_exeext conftest.$ac_ext
30349 ac_c_werror_flag=$ac_xsave_c_werror_flag
30350 LIBS=$ac_xsave_LIBS
30351 fi
30352
30353 # Check for system-dependent libraries X programs must link with.
30354 # Do this before checking for the system-independent R6 libraries
30355 # (-lICE), since we may need -lsocket or whatever for X linking.
30356
30357 if test "$ISC" = yes; then
30358 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30359 else
30360 # Martyn Johnson says this is needed for Ultrix, if the X
30361 # libraries were built with DECnet support. And Karl Berry says
30362 # the Alpha needs dnet_stub (dnet does not exist).
30363 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30364 cat >conftest.$ac_ext <<_ACEOF
30365 /* confdefs.h. */
30366 _ACEOF
30367 cat confdefs.h >>conftest.$ac_ext
30368 cat >>conftest.$ac_ext <<_ACEOF
30369 /* end confdefs.h. */
30370
30371 /* Override any GCC internal prototype to avoid an error.
30372 Use char because int might match the return type of a GCC
30373 builtin and then its argument prototype would still apply. */
30374 #ifdef __cplusplus
30375 extern "C"
30376 #endif
30377 char XOpenDisplay ();
30378 int
30379 main ()
30380 {
30381 return XOpenDisplay ();
30382 ;
30383 return 0;
30384 }
30385 _ACEOF
30386 rm -f conftest.$ac_objext conftest$ac_exeext
30387 if { (ac_try="$ac_link"
30388 case "(($ac_try" in
30389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30390 *) ac_try_echo=$ac_try;;
30391 esac
30392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30393 (eval "$ac_link") 2>conftest.er1
30394 ac_status=$?
30395 grep -v '^ *+' conftest.er1 >conftest.err
30396 rm -f conftest.er1
30397 cat conftest.err >&5
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); } && {
30400 test -z "$ac_c_werror_flag" ||
30401 test ! -s conftest.err
30402 } && test -s conftest$ac_exeext &&
30403 $as_test_x conftest$ac_exeext; then
30404 :
30405 else
30406 echo "$as_me: failed program was:" >&5
30407 sed 's/^/| /' conftest.$ac_ext >&5
30408
30409 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30410 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30411 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30412 echo $ECHO_N "(cached) $ECHO_C" >&6
30413 else
30414 ac_check_lib_save_LIBS=$LIBS
30415 LIBS="-ldnet $LIBS"
30416 cat >conftest.$ac_ext <<_ACEOF
30417 /* confdefs.h. */
30418 _ACEOF
30419 cat confdefs.h >>conftest.$ac_ext
30420 cat >>conftest.$ac_ext <<_ACEOF
30421 /* end confdefs.h. */
30422
30423 /* Override any GCC internal prototype to avoid an error.
30424 Use char because int might match the return type of a GCC
30425 builtin and then its argument prototype would still apply. */
30426 #ifdef __cplusplus
30427 extern "C"
30428 #endif
30429 char dnet_ntoa ();
30430 int
30431 main ()
30432 {
30433 return dnet_ntoa ();
30434 ;
30435 return 0;
30436 }
30437 _ACEOF
30438 rm -f conftest.$ac_objext conftest$ac_exeext
30439 if { (ac_try="$ac_link"
30440 case "(($ac_try" in
30441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30442 *) ac_try_echo=$ac_try;;
30443 esac
30444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30445 (eval "$ac_link") 2>conftest.er1
30446 ac_status=$?
30447 grep -v '^ *+' conftest.er1 >conftest.err
30448 rm -f conftest.er1
30449 cat conftest.err >&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } && {
30452 test -z "$ac_c_werror_flag" ||
30453 test ! -s conftest.err
30454 } && test -s conftest$ac_exeext &&
30455 $as_test_x conftest$ac_exeext; then
30456 ac_cv_lib_dnet_dnet_ntoa=yes
30457 else
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30460
30461 ac_cv_lib_dnet_dnet_ntoa=no
30462 fi
30463
30464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30465 conftest$ac_exeext conftest.$ac_ext
30466 LIBS=$ac_check_lib_save_LIBS
30467 fi
30468 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30469 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30470 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30471 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30472 fi
30473
30474 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30475 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30476 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30477 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30478 echo $ECHO_N "(cached) $ECHO_C" >&6
30479 else
30480 ac_check_lib_save_LIBS=$LIBS
30481 LIBS="-ldnet_stub $LIBS"
30482 cat >conftest.$ac_ext <<_ACEOF
30483 /* confdefs.h. */
30484 _ACEOF
30485 cat confdefs.h >>conftest.$ac_ext
30486 cat >>conftest.$ac_ext <<_ACEOF
30487 /* end confdefs.h. */
30488
30489 /* Override any GCC internal prototype to avoid an error.
30490 Use char because int might match the return type of a GCC
30491 builtin and then its argument prototype would still apply. */
30492 #ifdef __cplusplus
30493 extern "C"
30494 #endif
30495 char dnet_ntoa ();
30496 int
30497 main ()
30498 {
30499 return dnet_ntoa ();
30500 ;
30501 return 0;
30502 }
30503 _ACEOF
30504 rm -f conftest.$ac_objext conftest$ac_exeext
30505 if { (ac_try="$ac_link"
30506 case "(($ac_try" in
30507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30508 *) ac_try_echo=$ac_try;;
30509 esac
30510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30511 (eval "$ac_link") 2>conftest.er1
30512 ac_status=$?
30513 grep -v '^ *+' conftest.er1 >conftest.err
30514 rm -f conftest.er1
30515 cat conftest.err >&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); } && {
30518 test -z "$ac_c_werror_flag" ||
30519 test ! -s conftest.err
30520 } && test -s conftest$ac_exeext &&
30521 $as_test_x conftest$ac_exeext; then
30522 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30523 else
30524 echo "$as_me: failed program was:" >&5
30525 sed 's/^/| /' conftest.$ac_ext >&5
30526
30527 ac_cv_lib_dnet_stub_dnet_ntoa=no
30528 fi
30529
30530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30531 conftest$ac_exeext conftest.$ac_ext
30532 LIBS=$ac_check_lib_save_LIBS
30533 fi
30534 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30535 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30536 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30537 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30538 fi
30539
30540 fi
30541 fi
30542
30543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30544 conftest$ac_exeext conftest.$ac_ext
30545 LIBS="$ac_xsave_LIBS"
30546
30547 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30548 # to get the SysV transport functions.
30549 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30550 # needs -lnsl.
30551 # The nsl library prevents programs from opening the X display
30552 # on Irix 5.2, according to T.E. Dickey.
30553 # The functions gethostbyname, getservbyname, and inet_addr are
30554 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30555 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30556 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30557 if test "${ac_cv_func_gethostbyname+set}" = set; then
30558 echo $ECHO_N "(cached) $ECHO_C" >&6
30559 else
30560 cat >conftest.$ac_ext <<_ACEOF
30561 /* confdefs.h. */
30562 _ACEOF
30563 cat confdefs.h >>conftest.$ac_ext
30564 cat >>conftest.$ac_ext <<_ACEOF
30565 /* end confdefs.h. */
30566 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30568 #define gethostbyname innocuous_gethostbyname
30569
30570 /* System header to define __stub macros and hopefully few prototypes,
30571 which can conflict with char gethostbyname (); below.
30572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30573 <limits.h> exists even on freestanding compilers. */
30574
30575 #ifdef __STDC__
30576 # include <limits.h>
30577 #else
30578 # include <assert.h>
30579 #endif
30580
30581 #undef gethostbyname
30582
30583 /* Override any GCC internal prototype to avoid an error.
30584 Use char because int might match the return type of a GCC
30585 builtin and then its argument prototype would still apply. */
30586 #ifdef __cplusplus
30587 extern "C"
30588 #endif
30589 char gethostbyname ();
30590 /* The GNU C library defines this for functions which it implements
30591 to always fail with ENOSYS. Some functions are actually named
30592 something starting with __ and the normal name is an alias. */
30593 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30594 choke me
30595 #endif
30596
30597 int
30598 main ()
30599 {
30600 return gethostbyname ();
30601 ;
30602 return 0;
30603 }
30604 _ACEOF
30605 rm -f conftest.$ac_objext conftest$ac_exeext
30606 if { (ac_try="$ac_link"
30607 case "(($ac_try" in
30608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30609 *) ac_try_echo=$ac_try;;
30610 esac
30611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30612 (eval "$ac_link") 2>conftest.er1
30613 ac_status=$?
30614 grep -v '^ *+' conftest.er1 >conftest.err
30615 rm -f conftest.er1
30616 cat conftest.err >&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); } && {
30619 test -z "$ac_c_werror_flag" ||
30620 test ! -s conftest.err
30621 } && test -s conftest$ac_exeext &&
30622 $as_test_x conftest$ac_exeext; then
30623 ac_cv_func_gethostbyname=yes
30624 else
30625 echo "$as_me: failed program was:" >&5
30626 sed 's/^/| /' conftest.$ac_ext >&5
30627
30628 ac_cv_func_gethostbyname=no
30629 fi
30630
30631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30632 conftest$ac_exeext conftest.$ac_ext
30633 fi
30634 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30635 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30636
30637 if test $ac_cv_func_gethostbyname = no; then
30638 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30639 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30640 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30641 echo $ECHO_N "(cached) $ECHO_C" >&6
30642 else
30643 ac_check_lib_save_LIBS=$LIBS
30644 LIBS="-lnsl $LIBS"
30645 cat >conftest.$ac_ext <<_ACEOF
30646 /* confdefs.h. */
30647 _ACEOF
30648 cat confdefs.h >>conftest.$ac_ext
30649 cat >>conftest.$ac_ext <<_ACEOF
30650 /* end confdefs.h. */
30651
30652 /* Override any GCC internal prototype to avoid an error.
30653 Use char because int might match the return type of a GCC
30654 builtin and then its argument prototype would still apply. */
30655 #ifdef __cplusplus
30656 extern "C"
30657 #endif
30658 char gethostbyname ();
30659 int
30660 main ()
30661 {
30662 return gethostbyname ();
30663 ;
30664 return 0;
30665 }
30666 _ACEOF
30667 rm -f conftest.$ac_objext conftest$ac_exeext
30668 if { (ac_try="$ac_link"
30669 case "(($ac_try" in
30670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30671 *) ac_try_echo=$ac_try;;
30672 esac
30673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30674 (eval "$ac_link") 2>conftest.er1
30675 ac_status=$?
30676 grep -v '^ *+' conftest.er1 >conftest.err
30677 rm -f conftest.er1
30678 cat conftest.err >&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); } && {
30681 test -z "$ac_c_werror_flag" ||
30682 test ! -s conftest.err
30683 } && test -s conftest$ac_exeext &&
30684 $as_test_x conftest$ac_exeext; then
30685 ac_cv_lib_nsl_gethostbyname=yes
30686 else
30687 echo "$as_me: failed program was:" >&5
30688 sed 's/^/| /' conftest.$ac_ext >&5
30689
30690 ac_cv_lib_nsl_gethostbyname=no
30691 fi
30692
30693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30694 conftest$ac_exeext conftest.$ac_ext
30695 LIBS=$ac_check_lib_save_LIBS
30696 fi
30697 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30698 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30699 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30700 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30701 fi
30702
30703 if test $ac_cv_lib_nsl_gethostbyname = no; then
30704 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30705 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30706 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30707 echo $ECHO_N "(cached) $ECHO_C" >&6
30708 else
30709 ac_check_lib_save_LIBS=$LIBS
30710 LIBS="-lbsd $LIBS"
30711 cat >conftest.$ac_ext <<_ACEOF
30712 /* confdefs.h. */
30713 _ACEOF
30714 cat confdefs.h >>conftest.$ac_ext
30715 cat >>conftest.$ac_ext <<_ACEOF
30716 /* end confdefs.h. */
30717
30718 /* Override any GCC internal prototype to avoid an error.
30719 Use char because int might match the return type of a GCC
30720 builtin and then its argument prototype would still apply. */
30721 #ifdef __cplusplus
30722 extern "C"
30723 #endif
30724 char gethostbyname ();
30725 int
30726 main ()
30727 {
30728 return gethostbyname ();
30729 ;
30730 return 0;
30731 }
30732 _ACEOF
30733 rm -f conftest.$ac_objext conftest$ac_exeext
30734 if { (ac_try="$ac_link"
30735 case "(($ac_try" in
30736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30737 *) ac_try_echo=$ac_try;;
30738 esac
30739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30740 (eval "$ac_link") 2>conftest.er1
30741 ac_status=$?
30742 grep -v '^ *+' conftest.er1 >conftest.err
30743 rm -f conftest.er1
30744 cat conftest.err >&5
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); } && {
30747 test -z "$ac_c_werror_flag" ||
30748 test ! -s conftest.err
30749 } && test -s conftest$ac_exeext &&
30750 $as_test_x conftest$ac_exeext; then
30751 ac_cv_lib_bsd_gethostbyname=yes
30752 else
30753 echo "$as_me: failed program was:" >&5
30754 sed 's/^/| /' conftest.$ac_ext >&5
30755
30756 ac_cv_lib_bsd_gethostbyname=no
30757 fi
30758
30759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30760 conftest$ac_exeext conftest.$ac_ext
30761 LIBS=$ac_check_lib_save_LIBS
30762 fi
30763 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30764 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30765 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30766 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30767 fi
30768
30769 fi
30770 fi
30771
30772 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30773 # socket/setsockopt and other routines are undefined under SCO ODT
30774 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30775 # on later versions), says Simon Leinen: it contains gethostby*
30776 # variants that don't use the name server (or something). -lsocket
30777 # must be given before -lnsl if both are needed. We assume that
30778 # if connect needs -lnsl, so does gethostbyname.
30779 { echo "$as_me:$LINENO: checking for connect" >&5
30780 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30781 if test "${ac_cv_func_connect+set}" = set; then
30782 echo $ECHO_N "(cached) $ECHO_C" >&6
30783 else
30784 cat >conftest.$ac_ext <<_ACEOF
30785 /* confdefs.h. */
30786 _ACEOF
30787 cat confdefs.h >>conftest.$ac_ext
30788 cat >>conftest.$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30790 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30792 #define connect innocuous_connect
30793
30794 /* System header to define __stub macros and hopefully few prototypes,
30795 which can conflict with char connect (); below.
30796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30797 <limits.h> exists even on freestanding compilers. */
30798
30799 #ifdef __STDC__
30800 # include <limits.h>
30801 #else
30802 # include <assert.h>
30803 #endif
30804
30805 #undef connect
30806
30807 /* Override any GCC internal prototype to avoid an error.
30808 Use char because int might match the return type of a GCC
30809 builtin and then its argument prototype would still apply. */
30810 #ifdef __cplusplus
30811 extern "C"
30812 #endif
30813 char connect ();
30814 /* The GNU C library defines this for functions which it implements
30815 to always fail with ENOSYS. Some functions are actually named
30816 something starting with __ and the normal name is an alias. */
30817 #if defined __stub_connect || defined __stub___connect
30818 choke me
30819 #endif
30820
30821 int
30822 main ()
30823 {
30824 return connect ();
30825 ;
30826 return 0;
30827 }
30828 _ACEOF
30829 rm -f conftest.$ac_objext conftest$ac_exeext
30830 if { (ac_try="$ac_link"
30831 case "(($ac_try" in
30832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30833 *) ac_try_echo=$ac_try;;
30834 esac
30835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30836 (eval "$ac_link") 2>conftest.er1
30837 ac_status=$?
30838 grep -v '^ *+' conftest.er1 >conftest.err
30839 rm -f conftest.er1
30840 cat conftest.err >&5
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); } && {
30843 test -z "$ac_c_werror_flag" ||
30844 test ! -s conftest.err
30845 } && test -s conftest$ac_exeext &&
30846 $as_test_x conftest$ac_exeext; then
30847 ac_cv_func_connect=yes
30848 else
30849 echo "$as_me: failed program was:" >&5
30850 sed 's/^/| /' conftest.$ac_ext >&5
30851
30852 ac_cv_func_connect=no
30853 fi
30854
30855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30856 conftest$ac_exeext conftest.$ac_ext
30857 fi
30858 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30859 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30860
30861 if test $ac_cv_func_connect = no; then
30862 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30863 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30864 if test "${ac_cv_lib_socket_connect+set}" = set; then
30865 echo $ECHO_N "(cached) $ECHO_C" >&6
30866 else
30867 ac_check_lib_save_LIBS=$LIBS
30868 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30869 cat >conftest.$ac_ext <<_ACEOF
30870 /* confdefs.h. */
30871 _ACEOF
30872 cat confdefs.h >>conftest.$ac_ext
30873 cat >>conftest.$ac_ext <<_ACEOF
30874 /* end confdefs.h. */
30875
30876 /* Override any GCC internal prototype to avoid an error.
30877 Use char because int might match the return type of a GCC
30878 builtin and then its argument prototype would still apply. */
30879 #ifdef __cplusplus
30880 extern "C"
30881 #endif
30882 char connect ();
30883 int
30884 main ()
30885 {
30886 return connect ();
30887 ;
30888 return 0;
30889 }
30890 _ACEOF
30891 rm -f conftest.$ac_objext conftest$ac_exeext
30892 if { (ac_try="$ac_link"
30893 case "(($ac_try" in
30894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30895 *) ac_try_echo=$ac_try;;
30896 esac
30897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30898 (eval "$ac_link") 2>conftest.er1
30899 ac_status=$?
30900 grep -v '^ *+' conftest.er1 >conftest.err
30901 rm -f conftest.er1
30902 cat conftest.err >&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); } && {
30905 test -z "$ac_c_werror_flag" ||
30906 test ! -s conftest.err
30907 } && test -s conftest$ac_exeext &&
30908 $as_test_x conftest$ac_exeext; then
30909 ac_cv_lib_socket_connect=yes
30910 else
30911 echo "$as_me: failed program was:" >&5
30912 sed 's/^/| /' conftest.$ac_ext >&5
30913
30914 ac_cv_lib_socket_connect=no
30915 fi
30916
30917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30918 conftest$ac_exeext conftest.$ac_ext
30919 LIBS=$ac_check_lib_save_LIBS
30920 fi
30921 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30922 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30923 if test $ac_cv_lib_socket_connect = yes; then
30924 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30925 fi
30926
30927 fi
30928
30929 # Guillermo Gomez says -lposix is necessary on A/UX.
30930 { echo "$as_me:$LINENO: checking for remove" >&5
30931 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30932 if test "${ac_cv_func_remove+set}" = set; then
30933 echo $ECHO_N "(cached) $ECHO_C" >&6
30934 else
30935 cat >conftest.$ac_ext <<_ACEOF
30936 /* confdefs.h. */
30937 _ACEOF
30938 cat confdefs.h >>conftest.$ac_ext
30939 cat >>conftest.$ac_ext <<_ACEOF
30940 /* end confdefs.h. */
30941 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30943 #define remove innocuous_remove
30944
30945 /* System header to define __stub macros and hopefully few prototypes,
30946 which can conflict with char remove (); below.
30947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30948 <limits.h> exists even on freestanding compilers. */
30949
30950 #ifdef __STDC__
30951 # include <limits.h>
30952 #else
30953 # include <assert.h>
30954 #endif
30955
30956 #undef remove
30957
30958 /* Override any GCC internal prototype to avoid an error.
30959 Use char because int might match the return type of a GCC
30960 builtin and then its argument prototype would still apply. */
30961 #ifdef __cplusplus
30962 extern "C"
30963 #endif
30964 char remove ();
30965 /* The GNU C library defines this for functions which it implements
30966 to always fail with ENOSYS. Some functions are actually named
30967 something starting with __ and the normal name is an alias. */
30968 #if defined __stub_remove || defined __stub___remove
30969 choke me
30970 #endif
30971
30972 int
30973 main ()
30974 {
30975 return remove ();
30976 ;
30977 return 0;
30978 }
30979 _ACEOF
30980 rm -f conftest.$ac_objext conftest$ac_exeext
30981 if { (ac_try="$ac_link"
30982 case "(($ac_try" in
30983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30984 *) ac_try_echo=$ac_try;;
30985 esac
30986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30987 (eval "$ac_link") 2>conftest.er1
30988 ac_status=$?
30989 grep -v '^ *+' conftest.er1 >conftest.err
30990 rm -f conftest.er1
30991 cat conftest.err >&5
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); } && {
30994 test -z "$ac_c_werror_flag" ||
30995 test ! -s conftest.err
30996 } && test -s conftest$ac_exeext &&
30997 $as_test_x conftest$ac_exeext; then
30998 ac_cv_func_remove=yes
30999 else
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.$ac_ext >&5
31002
31003 ac_cv_func_remove=no
31004 fi
31005
31006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31007 conftest$ac_exeext conftest.$ac_ext
31008 fi
31009 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31010 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31011
31012 if test $ac_cv_func_remove = no; then
31013 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31014 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31015 if test "${ac_cv_lib_posix_remove+set}" = set; then
31016 echo $ECHO_N "(cached) $ECHO_C" >&6
31017 else
31018 ac_check_lib_save_LIBS=$LIBS
31019 LIBS="-lposix $LIBS"
31020 cat >conftest.$ac_ext <<_ACEOF
31021 /* confdefs.h. */
31022 _ACEOF
31023 cat confdefs.h >>conftest.$ac_ext
31024 cat >>conftest.$ac_ext <<_ACEOF
31025 /* end confdefs.h. */
31026
31027 /* Override any GCC internal prototype to avoid an error.
31028 Use char because int might match the return type of a GCC
31029 builtin and then its argument prototype would still apply. */
31030 #ifdef __cplusplus
31031 extern "C"
31032 #endif
31033 char remove ();
31034 int
31035 main ()
31036 {
31037 return remove ();
31038 ;
31039 return 0;
31040 }
31041 _ACEOF
31042 rm -f conftest.$ac_objext conftest$ac_exeext
31043 if { (ac_try="$ac_link"
31044 case "(($ac_try" in
31045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31046 *) ac_try_echo=$ac_try;;
31047 esac
31048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31049 (eval "$ac_link") 2>conftest.er1
31050 ac_status=$?
31051 grep -v '^ *+' conftest.er1 >conftest.err
31052 rm -f conftest.er1
31053 cat conftest.err >&5
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); } && {
31056 test -z "$ac_c_werror_flag" ||
31057 test ! -s conftest.err
31058 } && test -s conftest$ac_exeext &&
31059 $as_test_x conftest$ac_exeext; then
31060 ac_cv_lib_posix_remove=yes
31061 else
31062 echo "$as_me: failed program was:" >&5
31063 sed 's/^/| /' conftest.$ac_ext >&5
31064
31065 ac_cv_lib_posix_remove=no
31066 fi
31067
31068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31069 conftest$ac_exeext conftest.$ac_ext
31070 LIBS=$ac_check_lib_save_LIBS
31071 fi
31072 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31073 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31074 if test $ac_cv_lib_posix_remove = yes; then
31075 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31076 fi
31077
31078 fi
31079
31080 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31081 { echo "$as_me:$LINENO: checking for shmat" >&5
31082 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31083 if test "${ac_cv_func_shmat+set}" = set; then
31084 echo $ECHO_N "(cached) $ECHO_C" >&6
31085 else
31086 cat >conftest.$ac_ext <<_ACEOF
31087 /* confdefs.h. */
31088 _ACEOF
31089 cat confdefs.h >>conftest.$ac_ext
31090 cat >>conftest.$ac_ext <<_ACEOF
31091 /* end confdefs.h. */
31092 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31094 #define shmat innocuous_shmat
31095
31096 /* System header to define __stub macros and hopefully few prototypes,
31097 which can conflict with char shmat (); below.
31098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31099 <limits.h> exists even on freestanding compilers. */
31100
31101 #ifdef __STDC__
31102 # include <limits.h>
31103 #else
31104 # include <assert.h>
31105 #endif
31106
31107 #undef shmat
31108
31109 /* Override any GCC internal prototype to avoid an error.
31110 Use char because int might match the return type of a GCC
31111 builtin and then its argument prototype would still apply. */
31112 #ifdef __cplusplus
31113 extern "C"
31114 #endif
31115 char shmat ();
31116 /* The GNU C library defines this for functions which it implements
31117 to always fail with ENOSYS. Some functions are actually named
31118 something starting with __ and the normal name is an alias. */
31119 #if defined __stub_shmat || defined __stub___shmat
31120 choke me
31121 #endif
31122
31123 int
31124 main ()
31125 {
31126 return shmat ();
31127 ;
31128 return 0;
31129 }
31130 _ACEOF
31131 rm -f conftest.$ac_objext conftest$ac_exeext
31132 if { (ac_try="$ac_link"
31133 case "(($ac_try" in
31134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31135 *) ac_try_echo=$ac_try;;
31136 esac
31137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31138 (eval "$ac_link") 2>conftest.er1
31139 ac_status=$?
31140 grep -v '^ *+' conftest.er1 >conftest.err
31141 rm -f conftest.er1
31142 cat conftest.err >&5
31143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144 (exit $ac_status); } && {
31145 test -z "$ac_c_werror_flag" ||
31146 test ! -s conftest.err
31147 } && test -s conftest$ac_exeext &&
31148 $as_test_x conftest$ac_exeext; then
31149 ac_cv_func_shmat=yes
31150 else
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.$ac_ext >&5
31153
31154 ac_cv_func_shmat=no
31155 fi
31156
31157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31158 conftest$ac_exeext conftest.$ac_ext
31159 fi
31160 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31161 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31162
31163 if test $ac_cv_func_shmat = no; then
31164 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31165 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31166 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31168 else
31169 ac_check_lib_save_LIBS=$LIBS
31170 LIBS="-lipc $LIBS"
31171 cat >conftest.$ac_ext <<_ACEOF
31172 /* confdefs.h. */
31173 _ACEOF
31174 cat confdefs.h >>conftest.$ac_ext
31175 cat >>conftest.$ac_ext <<_ACEOF
31176 /* end confdefs.h. */
31177
31178 /* Override any GCC internal prototype to avoid an error.
31179 Use char because int might match the return type of a GCC
31180 builtin and then its argument prototype would still apply. */
31181 #ifdef __cplusplus
31182 extern "C"
31183 #endif
31184 char shmat ();
31185 int
31186 main ()
31187 {
31188 return shmat ();
31189 ;
31190 return 0;
31191 }
31192 _ACEOF
31193 rm -f conftest.$ac_objext conftest$ac_exeext
31194 if { (ac_try="$ac_link"
31195 case "(($ac_try" in
31196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31197 *) ac_try_echo=$ac_try;;
31198 esac
31199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31200 (eval "$ac_link") 2>conftest.er1
31201 ac_status=$?
31202 grep -v '^ *+' conftest.er1 >conftest.err
31203 rm -f conftest.er1
31204 cat conftest.err >&5
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); } && {
31207 test -z "$ac_c_werror_flag" ||
31208 test ! -s conftest.err
31209 } && test -s conftest$ac_exeext &&
31210 $as_test_x conftest$ac_exeext; then
31211 ac_cv_lib_ipc_shmat=yes
31212 else
31213 echo "$as_me: failed program was:" >&5
31214 sed 's/^/| /' conftest.$ac_ext >&5
31215
31216 ac_cv_lib_ipc_shmat=no
31217 fi
31218
31219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31220 conftest$ac_exeext conftest.$ac_ext
31221 LIBS=$ac_check_lib_save_LIBS
31222 fi
31223 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31224 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31225 if test $ac_cv_lib_ipc_shmat = yes; then
31226 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31227 fi
31228
31229 fi
31230 fi
31231
31232 # Check for libraries that X11R6 Xt/Xaw programs need.
31233 ac_save_LDFLAGS=$LDFLAGS
31234 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31235 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31236 # check for ICE first), but we must link in the order -lSM -lICE or
31237 # we get undefined symbols. So assume we have SM if we have ICE.
31238 # These have to be linked with before -lX11, unlike the other
31239 # libraries we check for below, so use a different variable.
31240 # John Interrante, Karl Berry
31241 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31242 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31243 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31244 echo $ECHO_N "(cached) $ECHO_C" >&6
31245 else
31246 ac_check_lib_save_LIBS=$LIBS
31247 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31248 cat >conftest.$ac_ext <<_ACEOF
31249 /* confdefs.h. */
31250 _ACEOF
31251 cat confdefs.h >>conftest.$ac_ext
31252 cat >>conftest.$ac_ext <<_ACEOF
31253 /* end confdefs.h. */
31254
31255 /* Override any GCC internal prototype to avoid an error.
31256 Use char because int might match the return type of a GCC
31257 builtin and then its argument prototype would still apply. */
31258 #ifdef __cplusplus
31259 extern "C"
31260 #endif
31261 char IceConnectionNumber ();
31262 int
31263 main ()
31264 {
31265 return IceConnectionNumber ();
31266 ;
31267 return 0;
31268 }
31269 _ACEOF
31270 rm -f conftest.$ac_objext conftest$ac_exeext
31271 if { (ac_try="$ac_link"
31272 case "(($ac_try" in
31273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31274 *) ac_try_echo=$ac_try;;
31275 esac
31276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31277 (eval "$ac_link") 2>conftest.er1
31278 ac_status=$?
31279 grep -v '^ *+' conftest.er1 >conftest.err
31280 rm -f conftest.er1
31281 cat conftest.err >&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); } && {
31284 test -z "$ac_c_werror_flag" ||
31285 test ! -s conftest.err
31286 } && test -s conftest$ac_exeext &&
31287 $as_test_x conftest$ac_exeext; then
31288 ac_cv_lib_ICE_IceConnectionNumber=yes
31289 else
31290 echo "$as_me: failed program was:" >&5
31291 sed 's/^/| /' conftest.$ac_ext >&5
31292
31293 ac_cv_lib_ICE_IceConnectionNumber=no
31294 fi
31295
31296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31297 conftest$ac_exeext conftest.$ac_ext
31298 LIBS=$ac_check_lib_save_LIBS
31299 fi
31300 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31301 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31302 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31303 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31304 fi
31305
31306 LDFLAGS=$ac_save_LDFLAGS
31307
31308 fi
31309
31310
31311 if test "$no_x" = "yes"; then
31312 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31313 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31314 { (exit 1); exit 1; }; }
31315 fi
31316
31317 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31318 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31319 AFMINSTALL=afminstall
31320 COMPILED_X_PROGRAM=0
31321
31322 fi
31323
31324 if test "$wxUSE_X11" = 1; then
31325 if test "$wxUSE_NANOX" = "yes"; then
31326 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31327 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31328 if test "x$MICROWIN" = x ; then
31329 { echo "$as_me:$LINENO: result: not found" >&5
31330 echo "${ECHO_T}not found" >&6; }
31331 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31332 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31333 { (exit 1); exit 1; }; }
31334 else
31335 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31336 echo "${ECHO_T}$MICROWIN" >&6; }
31337 cat >>confdefs.h <<\_ACEOF
31338 #define wxUSE_NANOX 1
31339 _ACEOF
31340
31341 fi
31342 fi
31343
31344 if test "$wxUSE_UNICODE" = "yes"; then
31345
31346
31347 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31348 if test -n "$ac_tool_prefix"; then
31349 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31350 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31353 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31354 echo $ECHO_N "(cached) $ECHO_C" >&6
31355 else
31356 case $PKG_CONFIG in
31357 [\\/]* | ?:[\\/]*)
31358 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31359 ;;
31360 *)
31361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31362 for as_dir in $PATH
31363 do
31364 IFS=$as_save_IFS
31365 test -z "$as_dir" && as_dir=.
31366 for ac_exec_ext in '' $ac_executable_extensions; do
31367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31368 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31370 break 2
31371 fi
31372 done
31373 done
31374 IFS=$as_save_IFS
31375
31376 ;;
31377 esac
31378 fi
31379 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31380 if test -n "$PKG_CONFIG"; then
31381 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31382 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31383 else
31384 { echo "$as_me:$LINENO: result: no" >&5
31385 echo "${ECHO_T}no" >&6; }
31386 fi
31387
31388
31389 fi
31390 if test -z "$ac_cv_path_PKG_CONFIG"; then
31391 ac_pt_PKG_CONFIG=$PKG_CONFIG
31392 # Extract the first word of "pkg-config", so it can be a program name with args.
31393 set dummy pkg-config; ac_word=$2
31394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31396 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 else
31399 case $ac_pt_PKG_CONFIG in
31400 [\\/]* | ?:[\\/]*)
31401 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31402 ;;
31403 *)
31404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31405 for as_dir in $PATH
31406 do
31407 IFS=$as_save_IFS
31408 test -z "$as_dir" && as_dir=.
31409 for ac_exec_ext in '' $ac_executable_extensions; do
31410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31411 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31413 break 2
31414 fi
31415 done
31416 done
31417 IFS=$as_save_IFS
31418
31419 ;;
31420 esac
31421 fi
31422 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31423 if test -n "$ac_pt_PKG_CONFIG"; then
31424 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31425 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31426 else
31427 { echo "$as_me:$LINENO: result: no" >&5
31428 echo "${ECHO_T}no" >&6; }
31429 fi
31430
31431 if test "x$ac_pt_PKG_CONFIG" = x; then
31432 PKG_CONFIG=""
31433 else
31434 case $cross_compiling:$ac_tool_warned in
31435 yes:)
31436 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31437 whose name does not start with the host triplet. If you think this
31438 configuration is useful to you, please write to autoconf@gnu.org." >&5
31439 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31440 whose name does not start with the host triplet. If you think this
31441 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31442 ac_tool_warned=yes ;;
31443 esac
31444 PKG_CONFIG=$ac_pt_PKG_CONFIG
31445 fi
31446 else
31447 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31448 fi
31449
31450 fi
31451 if test -n "$PKG_CONFIG"; then
31452 _pkg_min_version=0.9.0
31453 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31454 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31455 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31456 { echo "$as_me:$LINENO: result: yes" >&5
31457 echo "${ECHO_T}yes" >&6; }
31458 else
31459 { echo "$as_me:$LINENO: result: no" >&5
31460 echo "${ECHO_T}no" >&6; }
31461 PKG_CONFIG=""
31462 fi
31463
31464 fi
31465
31466
31467 pkg_failed=no
31468 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31469 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31470
31471 if test -n "$PKG_CONFIG"; then
31472 if test -n "$PANGOX_CFLAGS"; then
31473 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31474 else
31475 if test -n "$PKG_CONFIG" && \
31476 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31477 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31478 ac_status=$?
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); }; then
31481 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31482 else
31483 pkg_failed=yes
31484 fi
31485 fi
31486 else
31487 pkg_failed=untried
31488 fi
31489 if test -n "$PKG_CONFIG"; then
31490 if test -n "$PANGOX_LIBS"; then
31491 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31492 else
31493 if test -n "$PKG_CONFIG" && \
31494 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31495 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31496 ac_status=$?
31497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31498 (exit $ac_status); }; then
31499 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31500 else
31501 pkg_failed=yes
31502 fi
31503 fi
31504 else
31505 pkg_failed=untried
31506 fi
31507
31508
31509
31510 if test $pkg_failed = yes; then
31511
31512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31513 _pkg_short_errors_supported=yes
31514 else
31515 _pkg_short_errors_supported=no
31516 fi
31517 if test $_pkg_short_errors_supported = yes; then
31518 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31519 else
31520 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31521 fi
31522 # Put the nasty error message in config.log where it belongs
31523 echo "$PANGOX_PKG_ERRORS" >&5
31524
31525
31526 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31527 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31528 { (exit 1); exit 1; }; }
31529
31530
31531 elif test $pkg_failed = untried; then
31532
31533 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31534 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31535 { (exit 1); exit 1; }; }
31536
31537
31538 else
31539 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31540 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31541 { echo "$as_me:$LINENO: result: yes" >&5
31542 echo "${ECHO_T}yes" >&6; }
31543
31544 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31545 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31546 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31547
31548 fi
31549
31550 pkg_failed=no
31551 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31552 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31553
31554 if test -n "$PKG_CONFIG"; then
31555 if test -n "$PANGOFT2_CFLAGS"; then
31556 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31557 else
31558 if test -n "$PKG_CONFIG" && \
31559 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31560 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31561 ac_status=$?
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); }; then
31564 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31565 else
31566 pkg_failed=yes
31567 fi
31568 fi
31569 else
31570 pkg_failed=untried
31571 fi
31572 if test -n "$PKG_CONFIG"; then
31573 if test -n "$PANGOFT2_LIBS"; then
31574 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31575 else
31576 if test -n "$PKG_CONFIG" && \
31577 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31578 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31579 ac_status=$?
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; then
31582 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31583 else
31584 pkg_failed=yes
31585 fi
31586 fi
31587 else
31588 pkg_failed=untried
31589 fi
31590
31591
31592
31593 if test $pkg_failed = yes; then
31594
31595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31596 _pkg_short_errors_supported=yes
31597 else
31598 _pkg_short_errors_supported=no
31599 fi
31600 if test $_pkg_short_errors_supported = yes; then
31601 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31602 else
31603 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31604 fi
31605 # Put the nasty error message in config.log where it belongs
31606 echo "$PANGOFT2_PKG_ERRORS" >&5
31607
31608
31609 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31610 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31611 wxUSE_PRINTING_ARCHITECTURE="no"
31612
31613
31614 elif test $pkg_failed = untried; then
31615
31616 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31617 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31618 wxUSE_PRINTING_ARCHITECTURE="no"
31619
31620
31621 else
31622 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31623 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31624 { echo "$as_me:$LINENO: result: yes" >&5
31625 echo "${ECHO_T}yes" >&6; }
31626
31627 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31628 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31629 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31630
31631 fi
31632
31633 pkg_failed=no
31634 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31635 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31636
31637 if test -n "$PKG_CONFIG"; then
31638 if test -n "$PANGOXFT_CFLAGS"; then
31639 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31640 else
31641 if test -n "$PKG_CONFIG" && \
31642 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31643 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31644 ac_status=$?
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; then
31647 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31648 else
31649 pkg_failed=yes
31650 fi
31651 fi
31652 else
31653 pkg_failed=untried
31654 fi
31655 if test -n "$PKG_CONFIG"; then
31656 if test -n "$PANGOXFT_LIBS"; then
31657 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31658 else
31659 if test -n "$PKG_CONFIG" && \
31660 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31661 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31662 ac_status=$?
31663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31664 (exit $ac_status); }; then
31665 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31666 else
31667 pkg_failed=yes
31668 fi
31669 fi
31670 else
31671 pkg_failed=untried
31672 fi
31673
31674
31675
31676 if test $pkg_failed = yes; then
31677
31678 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31679 _pkg_short_errors_supported=yes
31680 else
31681 _pkg_short_errors_supported=no
31682 fi
31683 if test $_pkg_short_errors_supported = yes; then
31684 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31685 else
31686 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31687 fi
31688 # Put the nasty error message in config.log where it belongs
31689 echo "$PANGOXFT_PKG_ERRORS" >&5
31690
31691
31692 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31693 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31694
31695
31696 elif test $pkg_failed = untried; then
31697
31698 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31699 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31700
31701
31702 else
31703 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31704 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31705 { echo "$as_me:$LINENO: result: yes" >&5
31706 echo "${ECHO_T}yes" >&6; }
31707
31708 cat >>confdefs.h <<\_ACEOF
31709 #define HAVE_PANGO_XFT 1
31710 _ACEOF
31711
31712 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31713 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31714 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31715
31716 fi
31717 save_LIBS="$LIBS"
31718 LIBS="$LIBS $PANGOX_LIBS"
31719
31720 for ac_func in pango_font_family_is_monospace
31721 do
31722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31725 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31726 echo $ECHO_N "(cached) $ECHO_C" >&6
31727 else
31728 cat >conftest.$ac_ext <<_ACEOF
31729 /* confdefs.h. */
31730 _ACEOF
31731 cat confdefs.h >>conftest.$ac_ext
31732 cat >>conftest.$ac_ext <<_ACEOF
31733 /* end confdefs.h. */
31734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31736 #define $ac_func innocuous_$ac_func
31737
31738 /* System header to define __stub macros and hopefully few prototypes,
31739 which can conflict with char $ac_func (); below.
31740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31741 <limits.h> exists even on freestanding compilers. */
31742
31743 #ifdef __STDC__
31744 # include <limits.h>
31745 #else
31746 # include <assert.h>
31747 #endif
31748
31749 #undef $ac_func
31750
31751 /* Override any GCC internal prototype to avoid an error.
31752 Use char because int might match the return type of a GCC
31753 builtin and then its argument prototype would still apply. */
31754 #ifdef __cplusplus
31755 extern "C"
31756 #endif
31757 char $ac_func ();
31758 /* The GNU C library defines this for functions which it implements
31759 to always fail with ENOSYS. Some functions are actually named
31760 something starting with __ and the normal name is an alias. */
31761 #if defined __stub_$ac_func || defined __stub___$ac_func
31762 choke me
31763 #endif
31764
31765 int
31766 main ()
31767 {
31768 return $ac_func ();
31769 ;
31770 return 0;
31771 }
31772 _ACEOF
31773 rm -f conftest.$ac_objext conftest$ac_exeext
31774 if { (ac_try="$ac_link"
31775 case "(($ac_try" in
31776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31777 *) ac_try_echo=$ac_try;;
31778 esac
31779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31780 (eval "$ac_link") 2>conftest.er1
31781 ac_status=$?
31782 grep -v '^ *+' conftest.er1 >conftest.err
31783 rm -f conftest.er1
31784 cat conftest.err >&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); } && {
31787 test -z "$ac_c_werror_flag" ||
31788 test ! -s conftest.err
31789 } && test -s conftest$ac_exeext &&
31790 $as_test_x conftest$ac_exeext; then
31791 eval "$as_ac_var=yes"
31792 else
31793 echo "$as_me: failed program was:" >&5
31794 sed 's/^/| /' conftest.$ac_ext >&5
31795
31796 eval "$as_ac_var=no"
31797 fi
31798
31799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31800 conftest$ac_exeext conftest.$ac_ext
31801 fi
31802 ac_res=`eval echo '${'$as_ac_var'}'`
31803 { echo "$as_me:$LINENO: result: $ac_res" >&5
31804 echo "${ECHO_T}$ac_res" >&6; }
31805 if test `eval echo '${'$as_ac_var'}'` = yes; then
31806 cat >>confdefs.h <<_ACEOF
31807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31808 _ACEOF
31809
31810 fi
31811 done
31812
31813 LIBS="$save_LIBS"
31814 fi
31815
31816 wxUSE_UNIVERSAL="yes"
31817
31818 if test "$wxUSE_NANOX" = "yes"; then
31819 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31820 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"
31821 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31822 else
31823 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31824 fi
31825
31826 TOOLKIT=X11
31827 GUIDIST=X11_DIST
31828 fi
31829
31830 if test "$wxUSE_MOTIF" = 1; then
31831 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31832 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31833
31834 ac_find_includes=
31835 for ac_dir in $SEARCH_INCLUDE /usr/include;
31836 do
31837 if test -f "$ac_dir/Xm/Xm.h"; then
31838 ac_find_includes=$ac_dir
31839 break
31840 fi
31841 done
31842
31843 if test "$ac_find_includes" != "" ; then
31844 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31845 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31846
31847 if test "x$ac_find_includes" = "x/usr/include"; then
31848 ac_path_to_include=""
31849 else
31850 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31851 result=$?
31852 if test $result = 0; then
31853 ac_path_to_include=""
31854 else
31855 ac_path_to_include=" -I$ac_find_includes"
31856 fi
31857 fi
31858
31859 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31860 else
31861 save_CFLAGS=$CFLAGS
31862 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31863
31864 cat >conftest.$ac_ext <<_ACEOF
31865 /* confdefs.h. */
31866 _ACEOF
31867 cat confdefs.h >>conftest.$ac_ext
31868 cat >>conftest.$ac_ext <<_ACEOF
31869 /* end confdefs.h. */
31870
31871 #include <Xm/Xm.h>
31872
31873 int
31874 main ()
31875 {
31876
31877 int version;
31878 version = xmUseVersion;
31879
31880 ;
31881 return 0;
31882 }
31883 _ACEOF
31884 rm -f conftest.$ac_objext
31885 if { (ac_try="$ac_compile"
31886 case "(($ac_try" in
31887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31888 *) ac_try_echo=$ac_try;;
31889 esac
31890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31891 (eval "$ac_compile") 2>conftest.er1
31892 ac_status=$?
31893 grep -v '^ *+' conftest.er1 >conftest.err
31894 rm -f conftest.er1
31895 cat conftest.err >&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); } && {
31898 test -z "$ac_c_werror_flag" ||
31899 test ! -s conftest.err
31900 } && test -s conftest.$ac_objext; then
31901
31902 { echo "$as_me:$LINENO: result: found in default search path" >&5
31903 echo "${ECHO_T}found in default search path" >&6; }
31904 COMPILED_X_PROGRAM=1
31905
31906 else
31907 echo "$as_me: failed program was:" >&5
31908 sed 's/^/| /' conftest.$ac_ext >&5
31909
31910
31911 { echo "$as_me:$LINENO: result: no" >&5
31912 echo "${ECHO_T}no" >&6; }
31913 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31914 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31915 { (exit 1); exit 1; }; }
31916
31917
31918 fi
31919
31920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31921
31922 CFLAGS=$save_CFLAGS
31923 fi
31924
31925
31926 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31927 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31928
31929 ac_find_libraries=
31930 for ac_dir in $SEARCH_LIB;
31931 do
31932 for ac_extension in a so sl dylib dll.a; do
31933 if test -f "$ac_dir/libXm.$ac_extension"; then
31934 ac_find_libraries=$ac_dir
31935 break 2
31936 fi
31937 done
31938 done
31939
31940
31941 if test "x$ac_find_libraries" != "x" ; then
31942 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31943 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31944
31945
31946 if test "$ac_find_libraries" = "default location"; then
31947 ac_path_to_link=""
31948 else
31949 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31950 result=$?
31951 if test $result = 0; then
31952 ac_path_to_link=""
31953 else
31954 ac_path_to_link=" -L$ac_find_libraries"
31955 fi
31956 fi
31957
31958 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31959 else
31960 save_CFLAGS=$CFLAGS
31961 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31962 save_LIBS="$LIBS"
31963 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31964
31965 cat >conftest.$ac_ext <<_ACEOF
31966 /* confdefs.h. */
31967 _ACEOF
31968 cat confdefs.h >>conftest.$ac_ext
31969 cat >>conftest.$ac_ext <<_ACEOF
31970 /* end confdefs.h. */
31971
31972 #include <Xm/Xm.h>
31973
31974 int
31975 main ()
31976 {
31977
31978 int version;
31979 version = xmUseVersion;
31980
31981 ;
31982 return 0;
31983 }
31984 _ACEOF
31985 rm -f conftest.$ac_objext conftest$ac_exeext
31986 if { (ac_try="$ac_link"
31987 case "(($ac_try" in
31988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31989 *) ac_try_echo=$ac_try;;
31990 esac
31991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31992 (eval "$ac_link") 2>conftest.er1
31993 ac_status=$?
31994 grep -v '^ *+' conftest.er1 >conftest.err
31995 rm -f conftest.er1
31996 cat conftest.err >&5
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); } && {
31999 test -z "$ac_c_werror_flag" ||
32000 test ! -s conftest.err
32001 } && test -s conftest$ac_exeext &&
32002 $as_test_x conftest$ac_exeext; then
32003
32004 { echo "$as_me:$LINENO: result: found in default search path" >&5
32005 echo "${ECHO_T}found in default search path" >&6; }
32006 COMPILED_X_PROGRAM=1
32007
32008 else
32009 echo "$as_me: failed program was:" >&5
32010 sed 's/^/| /' conftest.$ac_ext >&5
32011
32012
32013 { echo "$as_me:$LINENO: result: no" >&5
32014 echo "${ECHO_T}no" >&6; }
32015 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32016 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32017 { (exit 1); exit 1; }; }
32018
32019
32020 fi
32021
32022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32023 conftest$ac_exeext conftest.$ac_ext
32024
32025 CFLAGS=$save_CFLAGS
32026 LIBS="$save_LIBS"
32027 fi
32028
32029 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32030 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32031 libp_link=""
32032 libsm_ice_link=""
32033 libs_found=0
32034 for libp in "" " -lXp"; do
32035 if test "$libs_found" = 0; then
32036 for libsm_ice in "" " -lSM -lICE"; do
32037 if test "$libs_found" = 0; then
32038 save_LIBS="$LIBS"
32039 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32040 save_CFLAGS=$CFLAGS
32041 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32042
32043 cat >conftest.$ac_ext <<_ACEOF
32044 /* confdefs.h. */
32045 _ACEOF
32046 cat confdefs.h >>conftest.$ac_ext
32047 cat >>conftest.$ac_ext <<_ACEOF
32048 /* end confdefs.h. */
32049
32050 #include <Xm/Xm.h>
32051 #include <Xm/List.h>
32052
32053 int
32054 main ()
32055 {
32056
32057 XmString string = NULL;
32058 Widget w = NULL;
32059 int position = 0;
32060 XmListAddItem(w, string, position);
32061
32062 ;
32063 return 0;
32064 }
32065 _ACEOF
32066 rm -f conftest.$ac_objext conftest$ac_exeext
32067 if { (ac_try="$ac_link"
32068 case "(($ac_try" in
32069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32070 *) ac_try_echo=$ac_try;;
32071 esac
32072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32073 (eval "$ac_link") 2>conftest.er1
32074 ac_status=$?
32075 grep -v '^ *+' conftest.er1 >conftest.err
32076 rm -f conftest.er1
32077 cat conftest.err >&5
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); } && {
32080 test -z "$ac_c_werror_flag" ||
32081 test ! -s conftest.err
32082 } && test -s conftest$ac_exeext &&
32083 $as_test_x conftest$ac_exeext; then
32084
32085 libp_link="$libp"
32086 libsm_ice_link="$libsm_ice"
32087 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32088 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32089 libs_found=1
32090
32091 else
32092 echo "$as_me: failed program was:" >&5
32093 sed 's/^/| /' conftest.$ac_ext >&5
32094
32095
32096
32097 fi
32098
32099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32100 conftest$ac_exeext conftest.$ac_ext
32101
32102 LIBS="$save_LIBS"
32103 CFLAGS=$save_CFLAGS
32104 fi
32105 done
32106 fi
32107 done
32108
32109 if test "$libs_found" = 0; then
32110 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32111 echo "${ECHO_T}can't find the right libraries" >&6; }
32112 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32113 echo "$as_me: error: can't link a simple motif program" >&2;}
32114 { (exit 1); exit 1; }; }
32115 fi
32116
32117 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32118 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32119 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32120 echo $ECHO_N "(cached) $ECHO_C" >&6
32121 else
32122 ac_check_lib_save_LIBS=$LIBS
32123 LIBS="-lSgm $LIBS"
32124 cat >conftest.$ac_ext <<_ACEOF
32125 /* confdefs.h. */
32126 _ACEOF
32127 cat confdefs.h >>conftest.$ac_ext
32128 cat >>conftest.$ac_ext <<_ACEOF
32129 /* end confdefs.h. */
32130
32131 /* Override any GCC internal prototype to avoid an error.
32132 Use char because int might match the return type of a GCC
32133 builtin and then its argument prototype would still apply. */
32134 #ifdef __cplusplus
32135 extern "C"
32136 #endif
32137 char SgCreateList ();
32138 int
32139 main ()
32140 {
32141 return SgCreateList ();
32142 ;
32143 return 0;
32144 }
32145 _ACEOF
32146 rm -f conftest.$ac_objext conftest$ac_exeext
32147 if { (ac_try="$ac_link"
32148 case "(($ac_try" in
32149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32150 *) ac_try_echo=$ac_try;;
32151 esac
32152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32153 (eval "$ac_link") 2>conftest.er1
32154 ac_status=$?
32155 grep -v '^ *+' conftest.er1 >conftest.err
32156 rm -f conftest.er1
32157 cat conftest.err >&5
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); } && {
32160 test -z "$ac_c_werror_flag" ||
32161 test ! -s conftest.err
32162 } && test -s conftest$ac_exeext &&
32163 $as_test_x conftest$ac_exeext; then
32164 ac_cv_lib_Sgm_SgCreateList=yes
32165 else
32166 echo "$as_me: failed program was:" >&5
32167 sed 's/^/| /' conftest.$ac_ext >&5
32168
32169 ac_cv_lib_Sgm_SgCreateList=no
32170 fi
32171
32172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32173 conftest$ac_exeext conftest.$ac_ext
32174 LIBS=$ac_check_lib_save_LIBS
32175 fi
32176 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32177 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32178 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32179 libsgm_link=" -lSgm"
32180 fi
32181
32182
32183 save_CFLAGS=$CFLAGS
32184 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32185
32186 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32187 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32188 if test "${wx_cv_lib_motif2+set}" = set; then
32189 echo $ECHO_N "(cached) $ECHO_C" >&6
32190 else
32191 cat >conftest.$ac_ext <<_ACEOF
32192 /* confdefs.h. */
32193 _ACEOF
32194 cat confdefs.h >>conftest.$ac_ext
32195 cat >>conftest.$ac_ext <<_ACEOF
32196 /* end confdefs.h. */
32197
32198 #include <Xm/Xm.h>
32199
32200 int
32201 main ()
32202 {
32203
32204 #if XmVersion < 2000
32205 Not Motif 2
32206 #endif
32207
32208 ;
32209 return 0;
32210 }
32211 _ACEOF
32212 rm -f conftest.$ac_objext
32213 if { (ac_try="$ac_compile"
32214 case "(($ac_try" in
32215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32216 *) ac_try_echo=$ac_try;;
32217 esac
32218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32219 (eval "$ac_compile") 2>conftest.er1
32220 ac_status=$?
32221 grep -v '^ *+' conftest.er1 >conftest.err
32222 rm -f conftest.er1
32223 cat conftest.err >&5
32224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32225 (exit $ac_status); } && {
32226 test -z "$ac_c_werror_flag" ||
32227 test ! -s conftest.err
32228 } && test -s conftest.$ac_objext; then
32229 wx_cv_lib_motif2="yes"
32230 else
32231 echo "$as_me: failed program was:" >&5
32232 sed 's/^/| /' conftest.$ac_ext >&5
32233
32234 wx_cv_lib_motif2="no"
32235 fi
32236
32237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32238 fi
32239 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32240 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32241 if test "$wx_cv_lib_motif2" = "yes"; then
32242 cat >>confdefs.h <<\_ACEOF
32243 #define __WXMOTIF20__ 1
32244 _ACEOF
32245
32246 else
32247 cat >>confdefs.h <<\_ACEOF
32248 #define __WXMOTIF20__ 0
32249 _ACEOF
32250
32251 fi
32252
32253 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32254 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32255 if test "${wx_cv_lib_lesstif+set}" = set; then
32256 echo $ECHO_N "(cached) $ECHO_C" >&6
32257 else
32258 cat >conftest.$ac_ext <<_ACEOF
32259 /* confdefs.h. */
32260 _ACEOF
32261 cat confdefs.h >>conftest.$ac_ext
32262 cat >>conftest.$ac_ext <<_ACEOF
32263 /* end confdefs.h. */
32264
32265 #include <Xm/Xm.h>
32266
32267 int
32268 main ()
32269 {
32270
32271 #if !defined(LesstifVersion) || LesstifVersion <= 0
32272 Not Lesstif
32273 #endif
32274
32275 ;
32276 return 0;
32277 }
32278 _ACEOF
32279 rm -f conftest.$ac_objext
32280 if { (ac_try="$ac_compile"
32281 case "(($ac_try" in
32282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32283 *) ac_try_echo=$ac_try;;
32284 esac
32285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32286 (eval "$ac_compile") 2>conftest.er1
32287 ac_status=$?
32288 grep -v '^ *+' conftest.er1 >conftest.err
32289 rm -f conftest.er1
32290 cat conftest.err >&5
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); } && {
32293 test -z "$ac_c_werror_flag" ||
32294 test ! -s conftest.err
32295 } && test -s conftest.$ac_objext; then
32296 wx_cv_lib_lesstif="yes"
32297 else
32298 echo "$as_me: failed program was:" >&5
32299 sed 's/^/| /' conftest.$ac_ext >&5
32300
32301 wx_cv_lib_lesstif="no"
32302 fi
32303
32304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32305
32306 fi
32307 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32308 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32309 if test "$wx_cv_lib_lesstif" = "yes"; then
32310 cat >>confdefs.h <<\_ACEOF
32311 #define __WXLESSTIF__ 1
32312 _ACEOF
32313
32314 else
32315 cat >>confdefs.h <<\_ACEOF
32316 #define __WXLESSTIF__ 0
32317 _ACEOF
32318
32319 fi
32320
32321 CFLAGS=$save_CFLAGS
32322
32323 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32324 TOOLKIT=MOTIF
32325 GUIDIST=MOTIF_DIST
32326 fi
32327
32328 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32329 if test "$wxUSE_LIBXPM" = "sys"; then
32330 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32331 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32332
32333 ac_find_libraries=
32334 for ac_dir in $SEARCH_LIB;
32335 do
32336 for ac_extension in a so sl dylib dll.a; do
32337 if test -f "$ac_dir/libXpm.$ac_extension"; then
32338 ac_find_libraries=$ac_dir
32339 break 2
32340 fi
32341 done
32342 done
32343
32344 if test "$ac_find_libraries" != "" ; then
32345
32346 if test "$ac_find_libraries" = "default location"; then
32347 ac_path_to_link=""
32348 else
32349 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32350 result=$?
32351 if test $result = 0; then
32352 ac_path_to_link=""
32353 else
32354 ac_path_to_link=" -L$ac_find_libraries"
32355 fi
32356 fi
32357
32358 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32359 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32360 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32361
32362 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32363 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32364 if test "${wx_cv_x11_xpm_h+set}" = set; then
32365 echo $ECHO_N "(cached) $ECHO_C" >&6
32366 else
32367
32368 save_CFLAGS=$CFLAGS
32369 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32370
32371 cat >conftest.$ac_ext <<_ACEOF
32372 /* confdefs.h. */
32373 _ACEOF
32374 cat confdefs.h >>conftest.$ac_ext
32375 cat >>conftest.$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32377
32378 #include <X11/xpm.h>
32379
32380 int
32381 main ()
32382 {
32383
32384 int version;
32385 version = XpmLibraryVersion();
32386
32387 ;
32388 return 0;
32389 }
32390 _ACEOF
32391 rm -f conftest.$ac_objext
32392 if { (ac_try="$ac_compile"
32393 case "(($ac_try" in
32394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32395 *) ac_try_echo=$ac_try;;
32396 esac
32397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32398 (eval "$ac_compile") 2>conftest.er1
32399 ac_status=$?
32400 grep -v '^ *+' conftest.er1 >conftest.err
32401 rm -f conftest.er1
32402 cat conftest.err >&5
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); } && {
32405 test -z "$ac_c_werror_flag" ||
32406 test ! -s conftest.err
32407 } && test -s conftest.$ac_objext; then
32408 wx_cv_x11_xpm_h=yes
32409 else
32410 echo "$as_me: failed program was:" >&5
32411 sed 's/^/| /' conftest.$ac_ext >&5
32412
32413 wx_cv_x11_xpm_h=no
32414
32415 fi
32416
32417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32418
32419 CFLAGS=$save_CFLAGS
32420
32421
32422 fi
32423 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32424 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32425
32426 if test $wx_cv_x11_xpm_h = "yes"; then
32427 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32428 cat >>confdefs.h <<\_ACEOF
32429 #define wxHAVE_LIB_XPM 1
32430 _ACEOF
32431
32432 else
32433 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32434 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32435 fi
32436 fi
32437
32438 fi
32439
32440 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32441 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32442 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32443 echo $ECHO_N "(cached) $ECHO_C" >&6
32444 else
32445 ac_check_lib_save_LIBS=$LIBS
32446 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32447 cat >conftest.$ac_ext <<_ACEOF
32448 /* confdefs.h. */
32449 _ACEOF
32450 cat confdefs.h >>conftest.$ac_ext
32451 cat >>conftest.$ac_ext <<_ACEOF
32452 /* end confdefs.h. */
32453
32454 /* Override any GCC internal prototype to avoid an error.
32455 Use char because int might match the return type of a GCC
32456 builtin and then its argument prototype would still apply. */
32457 #ifdef __cplusplus
32458 extern "C"
32459 #endif
32460 char XShapeQueryExtension ();
32461 int
32462 main ()
32463 {
32464 return XShapeQueryExtension ();
32465 ;
32466 return 0;
32467 }
32468 _ACEOF
32469 rm -f conftest.$ac_objext conftest$ac_exeext
32470 if { (ac_try="$ac_link"
32471 case "(($ac_try" in
32472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32473 *) ac_try_echo=$ac_try;;
32474 esac
32475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32476 (eval "$ac_link") 2>conftest.er1
32477 ac_status=$?
32478 grep -v '^ *+' conftest.er1 >conftest.err
32479 rm -f conftest.er1
32480 cat conftest.err >&5
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); } && {
32483 test -z "$ac_c_werror_flag" ||
32484 test ! -s conftest.err
32485 } && test -s conftest$ac_exeext &&
32486 $as_test_x conftest$ac_exeext; then
32487 ac_cv_lib_Xext_XShapeQueryExtension=yes
32488 else
32489 echo "$as_me: failed program was:" >&5
32490 sed 's/^/| /' conftest.$ac_ext >&5
32491
32492 ac_cv_lib_Xext_XShapeQueryExtension=no
32493 fi
32494
32495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32496 conftest$ac_exeext conftest.$ac_ext
32497 LIBS=$ac_check_lib_save_LIBS
32498 fi
32499 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32500 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32501 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32502
32503 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32504 wxHAVE_XEXT_LIB=1
32505
32506 fi
32507
32508
32509 if test "$wxHAVE_XEXT_LIB" = 1; then
32510 save_CFLAGS="$CFLAGS"
32511 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32512
32513 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32514 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32515 cat >conftest.$ac_ext <<_ACEOF
32516 /* confdefs.h. */
32517 _ACEOF
32518 cat confdefs.h >>conftest.$ac_ext
32519 cat >>conftest.$ac_ext <<_ACEOF
32520 /* end confdefs.h. */
32521
32522 #include <X11/Xlib.h>
32523 #include <X11/extensions/shape.h>
32524
32525 int
32526 main ()
32527 {
32528
32529 int dummy1, dummy2;
32530 XShapeQueryExtension((Display*)NULL,
32531 (int*)NULL, (int*)NULL);
32532
32533 ;
32534 return 0;
32535 }
32536 _ACEOF
32537 rm -f conftest.$ac_objext
32538 if { (ac_try="$ac_compile"
32539 case "(($ac_try" in
32540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32541 *) ac_try_echo=$ac_try;;
32542 esac
32543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32544 (eval "$ac_compile") 2>conftest.er1
32545 ac_status=$?
32546 grep -v '^ *+' conftest.er1 >conftest.err
32547 rm -f conftest.er1
32548 cat conftest.err >&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); } && {
32551 test -z "$ac_c_werror_flag" ||
32552 test ! -s conftest.err
32553 } && test -s conftest.$ac_objext; then
32554
32555 cat >>confdefs.h <<\_ACEOF
32556 #define HAVE_XSHAPE 1
32557 _ACEOF
32558
32559 { echo "$as_me:$LINENO: result: found" >&5
32560 echo "${ECHO_T}found" >&6; }
32561
32562 else
32563 echo "$as_me: failed program was:" >&5
32564 sed 's/^/| /' conftest.$ac_ext >&5
32565
32566
32567 { echo "$as_me:$LINENO: result: not found" >&5
32568 echo "${ECHO_T}not found" >&6; }
32569
32570 fi
32571
32572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32573 CFLAGS="$save_CFLAGS"
32574
32575 fi
32576 fi
32577
32578 if test "$wxUSE_OSX_CARBON" = 1; then
32579 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32580 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32581 if test "$GCC" = yes; then
32582 { echo "$as_me:$LINENO: result: gcc" >&5
32583 echo "${ECHO_T}gcc" >&6; }
32584 CPPFLAGS_PASCAL="-fpascal-strings"
32585 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32586 { echo "$as_me:$LINENO: result: xlc" >&5
32587 echo "${ECHO_T}xlc" >&6; }
32588 CPPFLAGS_PASCAL="-qmacpstr"
32589 else
32590 { echo "$as_me:$LINENO: result: none" >&5
32591 echo "${ECHO_T}none" >&6; }
32592 fi
32593
32594 if test "x$wxUSE_UNIX" = "xyes"; then
32595 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32596 else
32597 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32598 fi
32599
32600 TOOLKIT=OSX_CARBON
32601 GUIDIST=OSX_CARBON_DIST
32602 WXBASEPORT="_carbon"
32603 fi
32604
32605 if test "$wxUSE_OSX_COCOA" = 1; then
32606 TOOLKIT=OSX_COCOA
32607 GUIDIST=OSX_COCOA_DIST
32608 fi
32609
32610 if test "$wxUSE_COCOA" = 1; then
32611 TOOLKIT=COCOA
32612 GUIDIST=COCOA_DIST
32613 fi
32614
32615 if test "$wxUSE_PM" = 1; then
32616 TOOLKIT=PM
32617 GUIDIST=PM_DIST
32618 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32619 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32620 if test "${wx_cv_spbcdata+set}" = set; then
32621 echo $ECHO_N "(cached) $ECHO_C" >&6
32622 else
32623
32624 cat >conftest.$ac_ext <<_ACEOF
32625 /* confdefs.h. */
32626 _ACEOF
32627 cat confdefs.h >>conftest.$ac_ext
32628 cat >>conftest.$ac_ext <<_ACEOF
32629 /* end confdefs.h. */
32630
32631 #define INCL_PM
32632 #include <os2.h>
32633
32634 int
32635 main ()
32636 {
32637
32638 SPBCDATA test;
32639
32640 ;
32641 return 0;
32642 }
32643 _ACEOF
32644 rm -f conftest.$ac_objext
32645 if { (ac_try="$ac_compile"
32646 case "(($ac_try" in
32647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32648 *) ac_try_echo=$ac_try;;
32649 esac
32650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32651 (eval "$ac_compile") 2>conftest.er1
32652 ac_status=$?
32653 grep -v '^ *+' conftest.er1 >conftest.err
32654 rm -f conftest.er1
32655 cat conftest.err >&5
32656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657 (exit $ac_status); } && {
32658 test -z "$ac_c_werror_flag" ||
32659 test ! -s conftest.err
32660 } && test -s conftest.$ac_objext; then
32661 wx_cv_spbcdata=yes
32662 else
32663 echo "$as_me: failed program was:" >&5
32664 sed 's/^/| /' conftest.$ac_ext >&5
32665
32666 wx_cv_spbcdata=no
32667
32668 fi
32669
32670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32671
32672
32673 fi
32674 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32675 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32676
32677 if test $wx_cv_spbcdata = "yes"; then
32678 cat >>confdefs.h <<\_ACEOF
32679 #define HAVE_SPBCDATA 1
32680 _ACEOF
32681
32682 fi
32683 fi
32684
32685 if test "$TOOLKIT" = "PM" ; then
32686 TOOLKIT_DIR="os2"
32687 else
32688 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32689 fi
32690
32691 if test "$wxUSE_UNIVERSAL" = "yes"; then
32692 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32693 WIDGET_SET=univ
32694 fi
32695
32696 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32697 DISTDIR="wx\$(TOOLKIT)"
32698 else
32699 USE_GUI=0
32700
32701 TOOLKIT_DIR="base"
32702
32703 if test "$USE_WIN32" = 1 ; then
32704 TOOLKIT="MSW"
32705 fi
32706
32707 GUIDIST="BASE_DIST"
32708 DISTDIR="wxBase"
32709 fi
32710
32711
32712
32713 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32714 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32715 wxUSE_UNICODE_UTF8=yes
32716 elif test "$USE_OS2" = 1 ; then
32717 wxUSE_UNICODE_UTF8=yes
32718 else
32719 wxUSE_UNICODE_UTF8=no
32720 fi
32721 fi
32722
32723
32724 if test "$wxUSE_GUI" = "yes"; then
32725 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32726
32727 for ac_header in X11/Xlib.h
32728 do
32729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32730 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32733 echo $ECHO_N "(cached) $ECHO_C" >&6
32734 else
32735 cat >conftest.$ac_ext <<_ACEOF
32736 /* confdefs.h. */
32737 _ACEOF
32738 cat confdefs.h >>conftest.$ac_ext
32739 cat >>conftest.$ac_ext <<_ACEOF
32740 /* end confdefs.h. */
32741
32742
32743 #include <$ac_header>
32744 _ACEOF
32745 rm -f conftest.$ac_objext
32746 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
32762 eval "$as_ac_Header=yes"
32763 else
32764 echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.$ac_ext >&5
32766
32767 eval "$as_ac_Header=no"
32768 fi
32769
32770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32771 fi
32772 ac_res=`eval echo '${'$as_ac_Header'}'`
32773 { echo "$as_me:$LINENO: result: $ac_res" >&5
32774 echo "${ECHO_T}$ac_res" >&6; }
32775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32776 cat >>confdefs.h <<_ACEOF
32777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32778 _ACEOF
32779
32780 fi
32781
32782 done
32783
32784
32785 for ac_header in X11/XKBlib.h
32786 do
32787 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32788 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32790 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32791 echo $ECHO_N "(cached) $ECHO_C" >&6
32792 else
32793 cat >conftest.$ac_ext <<_ACEOF
32794 /* confdefs.h. */
32795 _ACEOF
32796 cat confdefs.h >>conftest.$ac_ext
32797 cat >>conftest.$ac_ext <<_ACEOF
32798 /* end confdefs.h. */
32799
32800 #if HAVE_X11_XLIB_H
32801 #include <X11/Xlib.h>
32802 #endif
32803
32804
32805 #include <$ac_header>
32806 _ACEOF
32807 rm -f conftest.$ac_objext
32808 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
32824 eval "$as_ac_Header=yes"
32825 else
32826 echo "$as_me: failed program was:" >&5
32827 sed 's/^/| /' conftest.$ac_ext >&5
32828
32829 eval "$as_ac_Header=no"
32830 fi
32831
32832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32833 fi
32834 ac_res=`eval echo '${'$as_ac_Header'}'`
32835 { echo "$as_me:$LINENO: result: $ac_res" >&5
32836 echo "${ECHO_T}$ac_res" >&6; }
32837 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32838 cat >>confdefs.h <<_ACEOF
32839 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32840 _ACEOF
32841
32842 fi
32843
32844 done
32845
32846 fi
32847 fi
32848
32849
32850
32851 if test "$wxUSE_DISPLAY" = "yes"; then
32852 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32853 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32854 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32855
32856 ac_find_libraries=
32857 for ac_dir in $SEARCH_LIB;
32858 do
32859 for ac_extension in a so sl dylib dll.a; do
32860 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32861 ac_find_libraries=$ac_dir
32862 break 2
32863 fi
32864 done
32865 done
32866
32867 if test "$ac_find_libraries" != "" ; then
32868
32869 if test "$ac_find_libraries" = "default location"; then
32870 ac_path_to_link=""
32871 else
32872 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32873 result=$?
32874 if test $result = 0; then
32875 ac_path_to_link=""
32876 else
32877 ac_path_to_link=" -L$ac_find_libraries"
32878 fi
32879 fi
32880
32881 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32882 LDFLAGS="$LDFLAGS $ac_path_to_link"
32883 fi
32884 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32885 { echo "$as_me:$LINENO: result: yes" >&5
32886 echo "${ECHO_T}yes" >&6; }
32887
32888 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32889 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32890
32891 ac_find_libraries=
32892 for ac_dir in $SEARCH_LIB;
32893 do
32894 for ac_extension in a so sl dylib dll.a; do
32895 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32896 ac_find_libraries=$ac_dir
32897 break 2
32898 fi
32899 done
32900 done
32901
32902 if test "$ac_find_libraries" != "" ; then
32903 { echo "$as_me:$LINENO: result: yes" >&5
32904 echo "${ECHO_T}yes" >&6; }
32905
32906 for ac_header in X11/extensions/xf86vmode.h
32907 do
32908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32912 echo $ECHO_N "(cached) $ECHO_C" >&6
32913 else
32914 cat >conftest.$ac_ext <<_ACEOF
32915 /* confdefs.h. */
32916 _ACEOF
32917 cat confdefs.h >>conftest.$ac_ext
32918 cat >>conftest.$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32920
32921 #if HAVE_X11_XLIB_H
32922 #include <X11/Xlib.h>
32923 #endif
32924
32925
32926 #include <$ac_header>
32927 _ACEOF
32928 rm -f conftest.$ac_objext
32929 if { (ac_try="$ac_compile"
32930 case "(($ac_try" in
32931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32932 *) ac_try_echo=$ac_try;;
32933 esac
32934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32935 (eval "$ac_compile") 2>conftest.er1
32936 ac_status=$?
32937 grep -v '^ *+' conftest.er1 >conftest.err
32938 rm -f conftest.er1
32939 cat conftest.err >&5
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); } && {
32942 test -z "$ac_c_werror_flag" ||
32943 test ! -s conftest.err
32944 } && test -s conftest.$ac_objext; then
32945 eval "$as_ac_Header=yes"
32946 else
32947 echo "$as_me: failed program was:" >&5
32948 sed 's/^/| /' conftest.$ac_ext >&5
32949
32950 eval "$as_ac_Header=no"
32951 fi
32952
32953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32954 fi
32955 ac_res=`eval echo '${'$as_ac_Header'}'`
32956 { echo "$as_me:$LINENO: result: $ac_res" >&5
32957 echo "${ECHO_T}$ac_res" >&6; }
32958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32959 cat >>confdefs.h <<_ACEOF
32960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32961 _ACEOF
32962
32963 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32964
32965 fi
32966
32967 done
32968
32969 else
32970 { echo "$as_me:$LINENO: result: no" >&5
32971 echo "${ECHO_T}no" >&6; }
32972 fi
32973
32974 else
32975 { echo "$as_me:$LINENO: result: no" >&5
32976 echo "${ECHO_T}no" >&6; }
32977 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32978 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32979 wxUSE_DISPLAY="no"
32980 fi
32981 elif test "$wxUSE_MSW" = 1; then
32982 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32983 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32984 if test "${ac_cv_header_ddraw_h+set}" = set; then
32985 echo $ECHO_N "(cached) $ECHO_C" >&6
32986 else
32987 cat >conftest.$ac_ext <<_ACEOF
32988 /* confdefs.h. */
32989 _ACEOF
32990 cat confdefs.h >>conftest.$ac_ext
32991 cat >>conftest.$ac_ext <<_ACEOF
32992 /* end confdefs.h. */
32993 #include <windows.h>
32994
32995 #include <ddraw.h>
32996 _ACEOF
32997 rm -f conftest.$ac_objext
32998 if { (ac_try="$ac_compile"
32999 case "(($ac_try" in
33000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33001 *) ac_try_echo=$ac_try;;
33002 esac
33003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33004 (eval "$ac_compile") 2>conftest.er1
33005 ac_status=$?
33006 grep -v '^ *+' conftest.er1 >conftest.err
33007 rm -f conftest.er1
33008 cat conftest.err >&5
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); } && {
33011 test -z "$ac_c_werror_flag" ||
33012 test ! -s conftest.err
33013 } && test -s conftest.$ac_objext; then
33014 ac_cv_header_ddraw_h=yes
33015 else
33016 echo "$as_me: failed program was:" >&5
33017 sed 's/^/| /' conftest.$ac_ext >&5
33018
33019 ac_cv_header_ddraw_h=no
33020 fi
33021
33022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33023 fi
33024 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33025 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33026
33027
33028 fi
33029 fi
33030
33031 if test "$wxUSE_DETECT_SM" = "yes"; then
33032 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33033 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33034 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33035
33036 ac_find_libraries=
33037 for ac_dir in $SEARCH_LIB;
33038 do
33039 for ac_extension in a so sl dylib dll.a; do
33040 if test -f "$ac_dir/libSM.$ac_extension"; then
33041 ac_find_libraries=$ac_dir
33042 break 2
33043 fi
33044 done
33045 done
33046
33047 if test "$ac_find_libraries" != "" ; then
33048
33049 if test "$ac_find_libraries" = "default location"; then
33050 ac_path_to_link=""
33051 else
33052 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33053 result=$?
33054 if test $result = 0; then
33055 ac_path_to_link=""
33056 else
33057 ac_path_to_link=" -L$ac_find_libraries"
33058 fi
33059 fi
33060
33061 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33062 LDFLAGS="$LDFLAGS $ac_path_to_link"
33063 fi
33064 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33065 { echo "$as_me:$LINENO: result: yes" >&5
33066 echo "${ECHO_T}yes" >&6; }
33067 else
33068 { echo "$as_me:$LINENO: result: no" >&5
33069 echo "${ECHO_T}no" >&6; }
33070 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33071 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33072 wxUSE_DETECT_SM="no"
33073 fi
33074 else
33075 wxUSE_DETECT_SM="no"
33076 fi
33077 fi
33078
33079
33080
33081 USE_OPENGL=0
33082 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33083
33084
33085 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33086 OPENGL_LIBS="-framework OpenGL -framework AGL"
33087 elif test "$wxUSE_MSW" = 1; then
33088 OPENGL_LIBS="-lopengl32 -lglu32"
33089 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33090
33091 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33092 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33093
33094 ac_find_includes=
33095 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33096 do
33097 if test -f "$ac_dir/GL/gl.h"; then
33098 ac_find_includes=$ac_dir
33099 break
33100 fi
33101 done
33102
33103 if test "$ac_find_includes" != "" ; then
33104 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33105 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33106
33107 if test "x$ac_find_includes" = "x/usr/include"; then
33108 ac_path_to_include=""
33109 else
33110 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33111 result=$?
33112 if test $result = 0; then
33113 ac_path_to_include=""
33114 else
33115 ac_path_to_include=" -I$ac_find_includes"
33116 fi
33117 fi
33118
33119 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33120 else
33121 { echo "$as_me:$LINENO: result: not found" >&5
33122 echo "${ECHO_T}not found" >&6; }
33123 fi
33124
33125 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33126 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33127 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33129 else
33130 cat >conftest.$ac_ext <<_ACEOF
33131 /* confdefs.h. */
33132 _ACEOF
33133 cat confdefs.h >>conftest.$ac_ext
33134 cat >>conftest.$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33136
33137
33138 #include <GL/gl.h>
33139 _ACEOF
33140 rm -f conftest.$ac_objext
33141 if { (ac_try="$ac_compile"
33142 case "(($ac_try" in
33143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33144 *) ac_try_echo=$ac_try;;
33145 esac
33146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33147 (eval "$ac_compile") 2>conftest.er1
33148 ac_status=$?
33149 grep -v '^ *+' conftest.er1 >conftest.err
33150 rm -f conftest.er1
33151 cat conftest.err >&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } && {
33154 test -z "$ac_c_werror_flag" ||
33155 test ! -s conftest.err
33156 } && test -s conftest.$ac_objext; then
33157 ac_cv_header_GL_gl_h=yes
33158 else
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33161
33162 ac_cv_header_GL_gl_h=no
33163 fi
33164
33165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33166 fi
33167 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33168 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33169 if test $ac_cv_header_GL_gl_h = yes; then
33170
33171 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33172 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33173 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33174 echo $ECHO_N "(cached) $ECHO_C" >&6
33175 else
33176 cat >conftest.$ac_ext <<_ACEOF
33177 /* confdefs.h. */
33178 _ACEOF
33179 cat confdefs.h >>conftest.$ac_ext
33180 cat >>conftest.$ac_ext <<_ACEOF
33181 /* end confdefs.h. */
33182
33183
33184 #include <GL/glu.h>
33185 _ACEOF
33186 rm -f conftest.$ac_objext
33187 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
33203 ac_cv_header_GL_glu_h=yes
33204 else
33205 echo "$as_me: failed program was:" >&5
33206 sed 's/^/| /' conftest.$ac_ext >&5
33207
33208 ac_cv_header_GL_glu_h=no
33209 fi
33210
33211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33212 fi
33213 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33214 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33215 if test $ac_cv_header_GL_glu_h = yes; then
33216
33217 found_gl=0
33218
33219 { echo "$as_me:$LINENO: checking for -lGL" >&5
33220 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33221
33222 ac_find_libraries=
33223 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33224 do
33225 for ac_extension in a so sl dylib dll.a; do
33226 if test -f "$ac_dir/libGL.$ac_extension"; then
33227 ac_find_libraries=$ac_dir
33228 break 2
33229 fi
33230 done
33231 done
33232
33233 if test "$ac_find_libraries" != "" ; then
33234 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33235 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33236
33237
33238 if test "$ac_find_libraries" = "default location"; then
33239 ac_path_to_link=""
33240 else
33241 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33242 result=$?
33243 if test $result = 0; then
33244 ac_path_to_link=""
33245 else
33246 ac_path_to_link=" -L$ac_find_libraries"
33247 fi
33248 fi
33249
33250 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33251 LDFLAGS_GL="$ac_path_to_link"
33252 fi
33253
33254 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33255 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33256
33257 ac_find_libraries=
33258 for ac_dir in $SEARCH_LIB;
33259 do
33260 for ac_extension in a so sl dylib dll.a; do
33261 if test -f "$ac_dir/libGLU.$ac_extension"; then
33262 ac_find_libraries=$ac_dir
33263 break 2
33264 fi
33265 done
33266 done
33267
33268 if test "$ac_find_libraries" != "" ; then
33269
33270 if test "$ac_find_libraries" = "default location"; then
33271 ac_path_to_link=""
33272 else
33273 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33274 result=$?
33275 if test $result = 0; then
33276 ac_path_to_link=""
33277 else
33278 ac_path_to_link=" -L$ac_find_libraries"
33279 fi
33280 fi
33281
33282 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33283 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33284 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33285 fi
33286
33287 found_gl=1
33288 OPENGL_LIBS="-lGL -lGLU"
33289 { echo "$as_me:$LINENO: result: yes" >&5
33290 echo "${ECHO_T}yes" >&6; }
33291 else
33292 { echo "$as_me:$LINENO: result: no" >&5
33293 echo "${ECHO_T}no" >&6; }
33294 fi
33295 else
33296 { echo "$as_me:$LINENO: result: no" >&5
33297 echo "${ECHO_T}no" >&6; }
33298 fi
33299
33300 if test "$found_gl" != 1; then
33301 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33302 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33303
33304 ac_find_libraries=
33305 for ac_dir in $SEARCH_LIB;
33306 do
33307 for ac_extension in a so sl dylib dll.a; do
33308 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33309 ac_find_libraries=$ac_dir
33310 break 2
33311 fi
33312 done
33313 done
33314
33315 if test "$ac_find_libraries" != "" ; then
33316
33317 if test "$ac_find_libraries" = "default location"; then
33318 ac_path_to_link=""
33319 else
33320 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33321 result=$?
33322 if test $result = 0; then
33323 ac_path_to_link=""
33324 else
33325 ac_path_to_link=" -L$ac_find_libraries"
33326 fi
33327 fi
33328
33329 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33330 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33331 { echo "$as_me:$LINENO: result: yes" >&5
33332 echo "${ECHO_T}yes" >&6; }
33333 else
33334 { echo "$as_me:$LINENO: result: no" >&5
33335 echo "${ECHO_T}no" >&6; }
33336 fi
33337 fi
33338
33339 fi
33340
33341
33342
33343 fi
33344
33345
33346
33347 if test "x$OPENGL_LIBS" = "x"; then
33348 if test "$wxUSE_OPENGL" = "yes"; then
33349 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33350 echo "$as_me: error: OpenGL libraries not available" >&2;}
33351 { (exit 1); exit 1; }; }
33352 else
33353 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33354 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33355 wxUSE_OPENGL=no
33356 USE_OPENGL=0
33357 fi
33358 else
33359 wxUSE_OPENGL=yes
33360 fi
33361 else
33362 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33363 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33364 wxUSE_OPENGL="no"
33365 fi
33366
33367 if test "$wxUSE_OPENGL" = "yes"; then
33368 USE_OPENGL=1
33369 cat >>confdefs.h <<\_ACEOF
33370 #define wxUSE_OPENGL 1
33371 _ACEOF
33372
33373 cat >>confdefs.h <<\_ACEOF
33374 #define wxUSE_GLCANVAS 1
33375 _ACEOF
33376
33377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33378 fi
33379 fi
33380
33381
33382 if test -n "$TOOLKIT" ; then
33383 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33384 fi
33385
33386
33387
33388 if test "$wxUSE_SHARED" = "yes"; then
33389 case "${host}" in
33390 *-pc-msdosdjgpp )
33391 wxUSE_SHARED=no
33392 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33393 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33394 ;;
33395 esac
33396 fi
33397
33398 if test "$wxUSE_SHARED" = "yes"; then
33399
33400
33401 case "${host}" in
33402 *-*-cygwin* | *-*-mingw* )
33403 wx_cv_version_script=no
33404 ;;
33405
33406 *)
33407 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33408 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33409 if test "${wx_cv_version_script+set}" = set; then
33410 echo $ECHO_N "(cached) $ECHO_C" >&6
33411 else
33412
33413 echo "VER_1 { *; };" >conftest.sym
33414 echo "int main() { return 0; }" >conftest.cpp
33415
33416 if { ac_try='
33417 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33418 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33420 (eval $ac_try) 2>&5
33421 ac_status=$?
33422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33423 (exit $ac_status); }; } ; then
33424 if test -s conftest.stderr ; then
33425 wx_cv_version_script=no
33426 else
33427 wx_cv_version_script=yes
33428 fi
33429 else
33430 wx_cv_version_script=no
33431 fi
33432
33433 if test $wx_cv_version_script = yes
33434 then
33435 echo "struct B { virtual ~B() { } }; \
33436 struct D : public B { }; \
33437 void F() { D d; }" > conftest.cpp
33438
33439 if { ac_try='
33440 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33441 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33443 (eval $ac_try) 2>&5
33444 ac_status=$?
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); }; } &&
33447 { ac_try='
33448 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33449 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33451 (eval $ac_try) 2>&5
33452 ac_status=$?
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); }; }
33455 then
33456 if { ac_try='
33457 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33458 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460 (eval $ac_try) 2>&5
33461 ac_status=$?
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; }
33464 then
33465 wx_cv_version_script=yes
33466 else
33467 wx_cv_version_script=no
33468 fi
33469 fi
33470 fi
33471
33472 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33473 rm -f conftest1.output conftest2.output conftest3.output
33474
33475 fi
33476 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33477 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33478
33479 if test $wx_cv_version_script = yes ; then
33480 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33481 fi
33482 ;;
33483 esac
33484
33485
33486 if test "$wxUSE_VISIBILITY" != "no"; then
33487
33488
33489 if test -n "$GCC"; then
33490 CFLAGS_VISIBILITY="-fvisibility=hidden"
33491 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33492 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33493 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33494 if test "${wx_cv_cc_visibility+set}" = set; then
33495 echo $ECHO_N "(cached) $ECHO_C" >&6
33496 else
33497
33498 wx_save_CXXFLAGS="$CXXFLAGS"
33499 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33500 ac_ext=cpp
33501 ac_cpp='$CXXCPP $CPPFLAGS'
33502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33505
33506 cat >conftest.$ac_ext <<_ACEOF
33507 /* confdefs.h. */
33508 _ACEOF
33509 cat confdefs.h >>conftest.$ac_ext
33510 cat >>conftest.$ac_ext <<_ACEOF
33511 /* end confdefs.h. */
33512
33513 /* we need gcc >= 4.0, older versions with visibility support
33514 didn't have class visibility: */
33515 #if defined(__GNUC__) && __GNUC__ < 4
33516 error this gcc is too old;
33517 #endif
33518
33519 /* visibility only makes sense for ELF shared libs: */
33520 #if !defined(__ELF__) && !defined(__APPLE__)
33521 error this platform has no visibility;
33522 #endif
33523
33524 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33525 extern __attribute__((__visibility__("default"))) int exportedvar;
33526 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33527 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33528 class __attribute__((__visibility__("default"))) Foo {
33529 Foo() {}
33530 };
33531
33532 int
33533 main ()
33534 {
33535
33536 ;
33537 return 0;
33538 }
33539 _ACEOF
33540 rm -f conftest.$ac_objext
33541 if { (ac_try="$ac_compile"
33542 case "(($ac_try" in
33543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33544 *) ac_try_echo=$ac_try;;
33545 esac
33546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33547 (eval "$ac_compile") 2>conftest.er1
33548 ac_status=$?
33549 grep -v '^ *+' conftest.er1 >conftest.err
33550 rm -f conftest.er1
33551 cat conftest.err >&5
33552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33553 (exit $ac_status); } && {
33554 test -z "$ac_cxx_werror_flag" ||
33555 test ! -s conftest.err
33556 } && test -s conftest.$ac_objext; then
33557 wx_cv_cc_visibility=yes
33558 else
33559 echo "$as_me: failed program was:" >&5
33560 sed 's/^/| /' conftest.$ac_ext >&5
33561
33562 wx_cv_cc_visibility=no
33563 fi
33564
33565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33566 ac_ext=c
33567 ac_cpp='$CPP $CPPFLAGS'
33568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33571
33572 CXXFLAGS="$wx_save_CXXFLAGS"
33573 fi
33574
33575 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33576 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33577 if test $wx_cv_cc_visibility = yes; then
33578 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33579 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33580 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33581 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 else
33583
33584 wx_save_CXXFLAGS="$CXXFLAGS"
33585 wx_save_LDFLAGS="$LDFLAGS"
33586 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33587 LDFLAGS="$LDFLAGS -shared -fPIC"
33588 ac_ext=cpp
33589 ac_cpp='$CXXCPP $CPPFLAGS'
33590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33593
33594 cat >conftest.$ac_ext <<_ACEOF
33595 /* confdefs.h. */
33596 _ACEOF
33597 cat confdefs.h >>conftest.$ac_ext
33598 cat >>conftest.$ac_ext <<_ACEOF
33599 /* end confdefs.h. */
33600
33601 #include <string>
33602
33603 int
33604 main ()
33605 {
33606
33607 std::string s("hello");
33608 return s.length();
33609
33610 ;
33611 return 0;
33612 }
33613 _ACEOF
33614 rm -f conftest.$ac_objext conftest$ac_exeext
33615 if { (ac_try="$ac_link"
33616 case "(($ac_try" in
33617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33618 *) ac_try_echo=$ac_try;;
33619 esac
33620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33621 (eval "$ac_link") 2>conftest.er1
33622 ac_status=$?
33623 grep -v '^ *+' conftest.er1 >conftest.err
33624 rm -f conftest.er1
33625 cat conftest.err >&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); } && {
33628 test -z "$ac_cxx_werror_flag" ||
33629 test ! -s conftest.err
33630 } && test -s conftest$ac_exeext &&
33631 $as_test_x conftest$ac_exeext; then
33632 wx_cv_cc_broken_libstdcxx_visibility=no
33633 else
33634 echo "$as_me: failed program was:" >&5
33635 sed 's/^/| /' conftest.$ac_ext >&5
33636
33637 wx_cv_cc_broken_libstdcxx_visibility=yes
33638 fi
33639
33640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33641 conftest$ac_exeext conftest.$ac_ext
33642 ac_ext=c
33643 ac_cpp='$CPP $CPPFLAGS'
33644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33647
33648 CXXFLAGS="$wx_save_CXXFLAGS"
33649 LDFLAGS="$wx_save_LDFLAGS"
33650 fi
33651
33652 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33653 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33654
33655 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33656 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33657 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33658 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33659 echo $ECHO_N "(cached) $ECHO_C" >&6
33660 else
33661
33662 ac_ext=cpp
33663 ac_cpp='$CXXCPP $CPPFLAGS'
33664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33667
33668 cat >conftest.$ac_ext <<_ACEOF
33669 /* confdefs.h. */
33670 _ACEOF
33671 cat confdefs.h >>conftest.$ac_ext
33672 cat >>conftest.$ac_ext <<_ACEOF
33673 /* end confdefs.h. */
33674
33675 #pragma GCC visibility push(default)
33676 #include <string>
33677 #pragma GCC visibility pop
33678
33679 int
33680 main ()
33681 {
33682
33683 std::string s("hello");
33684 return s.length();
33685
33686 ;
33687 return 0;
33688 }
33689 _ACEOF
33690 rm -f conftest.$ac_objext conftest$ac_exeext
33691 if { (ac_try="$ac_link"
33692 case "(($ac_try" in
33693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33694 *) ac_try_echo=$ac_try;;
33695 esac
33696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33697 (eval "$ac_link") 2>conftest.er1
33698 ac_status=$?
33699 grep -v '^ *+' conftest.er1 >conftest.err
33700 rm -f conftest.er1
33701 cat conftest.err >&5
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); } && {
33704 test -z "$ac_cxx_werror_flag" ||
33705 test ! -s conftest.err
33706 } && test -s conftest$ac_exeext &&
33707 $as_test_x conftest$ac_exeext; then
33708 wx_cv_cc_visibility_workaround=no
33709 else
33710 echo "$as_me: failed program was:" >&5
33711 sed 's/^/| /' conftest.$ac_ext >&5
33712
33713 wx_cv_cc_visibility_workaround=yes
33714 fi
33715
33716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33717 conftest$ac_exeext conftest.$ac_ext
33718 ac_ext=c
33719 ac_cpp='$CPP $CPPFLAGS'
33720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33723
33724
33725 fi
33726
33727 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33728 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33729
33730 if test $wx_cv_cc_visibility_workaround = no; then
33731 wx_cv_cc_visibility=no
33732 fi
33733 fi
33734 fi
33735
33736 if test $wx_cv_cc_visibility = yes; then
33737 cat >>confdefs.h <<\_ACEOF
33738 #define HAVE_VISIBILITY 1
33739 _ACEOF
33740
33741 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33742 cat >>confdefs.h <<\_ACEOF
33743 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33744 _ACEOF
33745
33746 fi
33747 else
33748 CFLAGS_VISIBILITY=""
33749 CXXFLAGS_VISIBILITY=""
33750 fi
33751
33752
33753 fi
33754
33755 fi
33756
33757 if test "x$SUNCXX" = xyes; then
33758 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33759 WXCONFIG_RPATH="-R\$libdir"
33760 else
33761 case "${host}" in
33762 *-*-linux* | *-*-gnu* )
33763 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33764 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33765 ;;
33766
33767 *-*-solaris2* )
33768
33769 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33770
33771 saveLdflags="$LDFLAGS"
33772 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33773 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33774 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33775 cat >conftest.$ac_ext <<_ACEOF
33776 /* confdefs.h. */
33777 _ACEOF
33778 cat confdefs.h >>conftest.$ac_ext
33779 cat >>conftest.$ac_ext <<_ACEOF
33780 /* end confdefs.h. */
33781
33782 int
33783 main ()
33784 {
33785
33786 ;
33787 return 0;
33788 }
33789 _ACEOF
33790 rm -f conftest.$ac_objext conftest$ac_exeext
33791 if { (ac_try="$ac_link"
33792 case "(($ac_try" in
33793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33794 *) ac_try_echo=$ac_try;;
33795 esac
33796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33797 (eval "$ac_link") 2>conftest.er1
33798 ac_status=$?
33799 grep -v '^ *+' conftest.er1 >conftest.err
33800 rm -f conftest.er1
33801 cat conftest.err >&5
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); } && {
33804 test -z "$ac_c_werror_flag" ||
33805 test ! -s conftest.err
33806 } && test -s conftest$ac_exeext &&
33807 $as_test_x conftest$ac_exeext; then
33808
33809 { echo "$as_me:$LINENO: result: yes" >&5
33810 echo "${ECHO_T}yes" >&6; }
33811 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33812 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33813
33814 else
33815 echo "$as_me: failed program was:" >&5
33816 sed 's/^/| /' conftest.$ac_ext >&5
33817
33818
33819 { echo "$as_me:$LINENO: result: no" >&5
33820 echo "${ECHO_T}no" >&6; }
33821 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33822 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33823 LDFLAGS="$saveLdflags -Wl,-R,/"
33824 cat >conftest.$ac_ext <<_ACEOF
33825 /* confdefs.h. */
33826 _ACEOF
33827 cat confdefs.h >>conftest.$ac_ext
33828 cat >>conftest.$ac_ext <<_ACEOF
33829 /* end confdefs.h. */
33830
33831 int
33832 main ()
33833 {
33834
33835 ;
33836 return 0;
33837 }
33838 _ACEOF
33839 rm -f conftest.$ac_objext conftest$ac_exeext
33840 if { (ac_try="$ac_link"
33841 case "(($ac_try" in
33842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33843 *) ac_try_echo=$ac_try;;
33844 esac
33845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33846 (eval "$ac_link") 2>conftest.er1
33847 ac_status=$?
33848 grep -v '^ *+' conftest.er1 >conftest.err
33849 rm -f conftest.er1
33850 cat conftest.err >&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); } && {
33853 test -z "$ac_c_werror_flag" ||
33854 test ! -s conftest.err
33855 } && test -s conftest$ac_exeext &&
33856 $as_test_x conftest$ac_exeext; then
33857
33858 { echo "$as_me:$LINENO: result: yes" >&5
33859 echo "${ECHO_T}yes" >&6; }
33860 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33861 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33862
33863 else
33864 echo "$as_me: failed program was:" >&5
33865 sed 's/^/| /' conftest.$ac_ext >&5
33866
33867
33868 { echo "$as_me:$LINENO: result: no" >&5
33869 echo "${ECHO_T}no" >&6; }
33870
33871 fi
33872
33873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33874 conftest$ac_exeext conftest.$ac_ext
33875
33876 fi
33877
33878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33879 conftest$ac_exeext conftest.$ac_ext
33880 LDFLAGS="$saveLdflags"
33881 ;;
33882
33883 *-*-darwin* )
33884 install_name_tool=`which install_name_tool`
33885 if test "$install_name_tool" -a -x "$install_name_tool"; then
33886 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33887 cat <<EOF >change-install-names
33888 #!/bin/sh
33889 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33890 inst_cmd="install_name_tool "
33891 for i in \${libnames} ; do
33892 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33893 done
33894 \${inst_cmd} \${3}
33895 EOF
33896 chmod +x change-install-names
33897 fi
33898
33899 HEADER_PAD_OPTION="-headerpad_max_install_names"
33900 ;;
33901
33902 *-*-cygwin* | *-*-mingw32* )
33903 ;;
33904
33905 *-*-hpux* )
33906 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33907 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33908 ;;
33909
33910 esac
33911 fi
33912
33913 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33914
33915 if test $wxUSE_RPATH = "no"; then
33916 SAMPLES_RPATH_FLAG=''
33917 SAMPLES_RPATH_POSTLINK=''
33918 WXCONFIG_RPATH=''
33919 fi
33920
33921 SHARED=1
33922
33923 else
33924
33925 config_linkage_component="-static"
33926 SHARED=0
33927
33928 fi
33929
33930
33931 UNICODE=0
33932 lib_unicode_suffix=
33933 WX_CHARTYPE="ansi"
33934 if test "$wxUSE_UNICODE" = "yes"; then
33935 lib_unicode_suffix=u
33936 WX_CHARTYPE="unicode"
33937 UNICODE=1
33938 fi
33939
33940 lib_debug_suffix=
33941 WX_DEBUGTYPE="release"
33942 DEBUG_FLAG=0
33943 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33944 lib_debug_suffix=d
33945 WX_DEBUGTYPE="debug"
33946 DEBUG_FLAG=1
33947 fi
33948
33949 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33950 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33951
33952 DEBUG_INFO=0
33953 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33954 DEBUG_INFO=1
33955 fi
33956
33957 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33958
33959 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33960
33961 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33962
33963 if test "$cross_compiling" = "yes"; then
33964 HOST_SUFFIX="-$host_alias"
33965 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33966 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33967 fi
33968
33969
33970 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33971 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33972 else
33973 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33974 fi
33975 if test "${TOOLKIT_DIR}" = "os2"; then
33976 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33977 else
33978 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33979 fi
33980
33981
33982
33983 if test "$wxUSE_COCOA" = 1; then
33984
33985 ac_ext=c
33986 ac_cpp='$CPP $CPPFLAGS'
33987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33990
33991 ac_ext=m
33992
33993 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33994 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33995 cat >conftest.$ac_ext <<_ACEOF
33996 /* confdefs.h. */
33997 _ACEOF
33998 cat confdefs.h >>conftest.$ac_ext
33999 cat >>conftest.$ac_ext <<_ACEOF
34000 /* end confdefs.h. */
34001 #include <AppKit/NSEvent.h>
34002 #include <CoreFoundation/CoreFoundation.h>
34003
34004 int
34005 main ()
34006 {
34007
34008 ;
34009 return 0;
34010 }
34011 _ACEOF
34012 rm -f conftest.$ac_objext
34013 if { (ac_try="$ac_compile"
34014 case "(($ac_try" in
34015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34016 *) ac_try_echo=$ac_try;;
34017 esac
34018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34019 (eval "$ac_compile") 2>conftest.er1
34020 ac_status=$?
34021 grep -v '^ *+' conftest.er1 >conftest.err
34022 rm -f conftest.er1
34023 cat conftest.err >&5
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); } && {
34026 test -z "$ac_c_werror_flag" ||
34027 test ! -s conftest.err
34028 } && test -s conftest.$ac_objext; then
34029 { echo "$as_me:$LINENO: result: no" >&5
34030 echo "${ECHO_T}no" >&6; }
34031 else
34032 echo "$as_me: failed program was:" >&5
34033 sed 's/^/| /' conftest.$ac_ext >&5
34034
34035 { echo "$as_me:$LINENO: result: yes" >&5
34036 echo "${ECHO_T}yes" >&6; }
34037 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34038 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34039 cat >conftest.$ac_ext <<_ACEOF
34040 /* confdefs.h. */
34041 _ACEOF
34042 cat confdefs.h >>conftest.$ac_ext
34043 cat >>conftest.$ac_ext <<_ACEOF
34044 /* end confdefs.h. */
34045 #define __Point__ 1
34046 #include <AppKit/NSEvent.h>
34047 #include <CoreFoundation/CoreFoundation.h>
34048
34049 int
34050 main ()
34051 {
34052
34053 ;
34054 return 0;
34055 }
34056 _ACEOF
34057 rm -f conftest.$ac_objext
34058 if { (ac_try="$ac_compile"
34059 case "(($ac_try" in
34060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34061 *) ac_try_echo=$ac_try;;
34062 esac
34063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34064 (eval "$ac_compile") 2>conftest.er1
34065 ac_status=$?
34066 grep -v '^ *+' conftest.er1 >conftest.err
34067 rm -f conftest.er1
34068 cat conftest.err >&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); } && {
34071 test -z "$ac_c_werror_flag" ||
34072 test ! -s conftest.err
34073 } && test -s conftest.$ac_objext; then
34074 { echo "$as_me:$LINENO: result: yes" >&5
34075 echo "${ECHO_T}yes" >&6; }
34076 cat >>confdefs.h <<\_ACEOF
34077 #define __Point__ 1
34078 _ACEOF
34079
34080
34081 else
34082 echo "$as_me: failed program was:" >&5
34083 sed 's/^/| /' conftest.$ac_ext >&5
34084
34085 { { echo "$as_me:$LINENO: error: no
34086 See \`config.log' for more details." >&5
34087 echo "$as_me: error: no
34088 See \`config.log' for more details." >&2;}
34089 { (exit 1); exit 1; }; }
34090
34091 fi
34092
34093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34094
34095 fi
34096
34097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34098 ac_ext=c
34099 ac_cpp='$CPP $CPPFLAGS'
34100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34103
34104 fi
34105
34106
34107 { echo "$as_me:$LINENO: checking for mode_t" >&5
34108 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34109 if test "${ac_cv_type_mode_t+set}" = set; then
34110 echo $ECHO_N "(cached) $ECHO_C" >&6
34111 else
34112 cat >conftest.$ac_ext <<_ACEOF
34113 /* confdefs.h. */
34114 _ACEOF
34115 cat confdefs.h >>conftest.$ac_ext
34116 cat >>conftest.$ac_ext <<_ACEOF
34117 /* end confdefs.h. */
34118 $ac_includes_default
34119 typedef mode_t ac__type_new_;
34120 int
34121 main ()
34122 {
34123 if ((ac__type_new_ *) 0)
34124 return 0;
34125 if (sizeof (ac__type_new_))
34126 return 0;
34127 ;
34128 return 0;
34129 }
34130 _ACEOF
34131 rm -f conftest.$ac_objext
34132 if { (ac_try="$ac_compile"
34133 case "(($ac_try" in
34134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34135 *) ac_try_echo=$ac_try;;
34136 esac
34137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34138 (eval "$ac_compile") 2>conftest.er1
34139 ac_status=$?
34140 grep -v '^ *+' conftest.er1 >conftest.err
34141 rm -f conftest.er1
34142 cat conftest.err >&5
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); } && {
34145 test -z "$ac_c_werror_flag" ||
34146 test ! -s conftest.err
34147 } && test -s conftest.$ac_objext; then
34148 ac_cv_type_mode_t=yes
34149 else
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34152
34153 ac_cv_type_mode_t=no
34154 fi
34155
34156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34157 fi
34158 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34159 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34160 if test $ac_cv_type_mode_t = yes; then
34161 :
34162 else
34163
34164 cat >>confdefs.h <<_ACEOF
34165 #define mode_t int
34166 _ACEOF
34167
34168 fi
34169
34170 { echo "$as_me:$LINENO: checking for off_t" >&5
34171 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34172 if test "${ac_cv_type_off_t+set}" = set; then
34173 echo $ECHO_N "(cached) $ECHO_C" >&6
34174 else
34175 cat >conftest.$ac_ext <<_ACEOF
34176 /* confdefs.h. */
34177 _ACEOF
34178 cat confdefs.h >>conftest.$ac_ext
34179 cat >>conftest.$ac_ext <<_ACEOF
34180 /* end confdefs.h. */
34181 $ac_includes_default
34182 typedef off_t ac__type_new_;
34183 int
34184 main ()
34185 {
34186 if ((ac__type_new_ *) 0)
34187 return 0;
34188 if (sizeof (ac__type_new_))
34189 return 0;
34190 ;
34191 return 0;
34192 }
34193 _ACEOF
34194 rm -f conftest.$ac_objext
34195 if { (ac_try="$ac_compile"
34196 case "(($ac_try" in
34197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34198 *) ac_try_echo=$ac_try;;
34199 esac
34200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34201 (eval "$ac_compile") 2>conftest.er1
34202 ac_status=$?
34203 grep -v '^ *+' conftest.er1 >conftest.err
34204 rm -f conftest.er1
34205 cat conftest.err >&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); } && {
34208 test -z "$ac_c_werror_flag" ||
34209 test ! -s conftest.err
34210 } && test -s conftest.$ac_objext; then
34211 ac_cv_type_off_t=yes
34212 else
34213 echo "$as_me: failed program was:" >&5
34214 sed 's/^/| /' conftest.$ac_ext >&5
34215
34216 ac_cv_type_off_t=no
34217 fi
34218
34219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34220 fi
34221 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34222 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34223 if test $ac_cv_type_off_t = yes; then
34224 :
34225 else
34226
34227 cat >>confdefs.h <<_ACEOF
34228 #define off_t long int
34229 _ACEOF
34230
34231 fi
34232
34233 { echo "$as_me:$LINENO: checking for pid_t" >&5
34234 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34235 if test "${ac_cv_type_pid_t+set}" = set; then
34236 echo $ECHO_N "(cached) $ECHO_C" >&6
34237 else
34238 cat >conftest.$ac_ext <<_ACEOF
34239 /* confdefs.h. */
34240 _ACEOF
34241 cat confdefs.h >>conftest.$ac_ext
34242 cat >>conftest.$ac_ext <<_ACEOF
34243 /* end confdefs.h. */
34244 $ac_includes_default
34245 typedef pid_t ac__type_new_;
34246 int
34247 main ()
34248 {
34249 if ((ac__type_new_ *) 0)
34250 return 0;
34251 if (sizeof (ac__type_new_))
34252 return 0;
34253 ;
34254 return 0;
34255 }
34256 _ACEOF
34257 rm -f conftest.$ac_objext
34258 if { (ac_try="$ac_compile"
34259 case "(($ac_try" in
34260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34261 *) ac_try_echo=$ac_try;;
34262 esac
34263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34264 (eval "$ac_compile") 2>conftest.er1
34265 ac_status=$?
34266 grep -v '^ *+' conftest.er1 >conftest.err
34267 rm -f conftest.er1
34268 cat conftest.err >&5
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); } && {
34271 test -z "$ac_c_werror_flag" ||
34272 test ! -s conftest.err
34273 } && test -s conftest.$ac_objext; then
34274 ac_cv_type_pid_t=yes
34275 else
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.$ac_ext >&5
34278
34279 ac_cv_type_pid_t=no
34280 fi
34281
34282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34283 fi
34284 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34285 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34286 if test $ac_cv_type_pid_t = yes; then
34287 :
34288 else
34289
34290 cat >>confdefs.h <<_ACEOF
34291 #define pid_t int
34292 _ACEOF
34293
34294 fi
34295
34296 { echo "$as_me:$LINENO: checking for size_t" >&5
34297 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34298 if test "${ac_cv_type_size_t+set}" = set; then
34299 echo $ECHO_N "(cached) $ECHO_C" >&6
34300 else
34301 cat >conftest.$ac_ext <<_ACEOF
34302 /* confdefs.h. */
34303 _ACEOF
34304 cat confdefs.h >>conftest.$ac_ext
34305 cat >>conftest.$ac_ext <<_ACEOF
34306 /* end confdefs.h. */
34307 $ac_includes_default
34308 typedef size_t ac__type_new_;
34309 int
34310 main ()
34311 {
34312 if ((ac__type_new_ *) 0)
34313 return 0;
34314 if (sizeof (ac__type_new_))
34315 return 0;
34316 ;
34317 return 0;
34318 }
34319 _ACEOF
34320 rm -f conftest.$ac_objext
34321 if { (ac_try="$ac_compile"
34322 case "(($ac_try" in
34323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34324 *) ac_try_echo=$ac_try;;
34325 esac
34326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34327 (eval "$ac_compile") 2>conftest.er1
34328 ac_status=$?
34329 grep -v '^ *+' conftest.er1 >conftest.err
34330 rm -f conftest.er1
34331 cat conftest.err >&5
34332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34333 (exit $ac_status); } && {
34334 test -z "$ac_c_werror_flag" ||
34335 test ! -s conftest.err
34336 } && test -s conftest.$ac_objext; then
34337 ac_cv_type_size_t=yes
34338 else
34339 echo "$as_me: failed program was:" >&5
34340 sed 's/^/| /' conftest.$ac_ext >&5
34341
34342 ac_cv_type_size_t=no
34343 fi
34344
34345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34346 fi
34347 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34348 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34349 if test $ac_cv_type_size_t = yes; then
34350 :
34351 else
34352
34353 cat >>confdefs.h <<_ACEOF
34354 #define size_t unsigned int
34355 _ACEOF
34356
34357 fi
34358
34359
34360 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34361 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34362 if test "${ac_cv_type_ssize_t+set}" = set; then
34363 echo $ECHO_N "(cached) $ECHO_C" >&6
34364 else
34365 cat >conftest.$ac_ext <<_ACEOF
34366 /* confdefs.h. */
34367 _ACEOF
34368 cat confdefs.h >>conftest.$ac_ext
34369 cat >>conftest.$ac_ext <<_ACEOF
34370 /* end confdefs.h. */
34371 $ac_includes_default
34372 typedef ssize_t ac__type_new_;
34373 int
34374 main ()
34375 {
34376 if ((ac__type_new_ *) 0)
34377 return 0;
34378 if (sizeof (ac__type_new_))
34379 return 0;
34380 ;
34381 return 0;
34382 }
34383 _ACEOF
34384 rm -f conftest.$ac_objext
34385 if { (ac_try="$ac_compile"
34386 case "(($ac_try" in
34387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34388 *) ac_try_echo=$ac_try;;
34389 esac
34390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34391 (eval "$ac_compile") 2>conftest.er1
34392 ac_status=$?
34393 grep -v '^ *+' conftest.er1 >conftest.err
34394 rm -f conftest.er1
34395 cat conftest.err >&5
34396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397 (exit $ac_status); } && {
34398 test -z "$ac_c_werror_flag" ||
34399 test ! -s conftest.err
34400 } && test -s conftest.$ac_objext; then
34401 ac_cv_type_ssize_t=yes
34402 else
34403 echo "$as_me: failed program was:" >&5
34404 sed 's/^/| /' conftest.$ac_ext >&5
34405
34406 ac_cv_type_ssize_t=no
34407 fi
34408
34409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34410 fi
34411 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34412 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34413 if test $ac_cv_type_ssize_t = yes; then
34414
34415 cat >>confdefs.h <<_ACEOF
34416 #define HAVE_SSIZE_T 1
34417 _ACEOF
34418
34419
34420 fi
34421
34422
34423 ac_ext=cpp
34424 ac_cpp='$CXXCPP $CPPFLAGS'
34425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34428 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34429 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34430 if test "${wx_cv_size_t_is_uint+set}" = set; then
34431 echo $ECHO_N "(cached) $ECHO_C" >&6
34432 else
34433
34434 cat >conftest.$ac_ext <<_ACEOF
34435 /* confdefs.h. */
34436 _ACEOF
34437 cat confdefs.h >>conftest.$ac_ext
34438 cat >>conftest.$ac_ext <<_ACEOF
34439 /* end confdefs.h. */
34440 #include <stddef.h>
34441 int
34442 main ()
34443 {
34444
34445 return 0; }
34446
34447 struct Foo { void foo(size_t); void foo(unsigned int); };
34448
34449 int bar() {
34450
34451 ;
34452 return 0;
34453 }
34454 _ACEOF
34455 rm -f conftest.$ac_objext
34456 if { (ac_try="$ac_compile"
34457 case "(($ac_try" in
34458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34459 *) ac_try_echo=$ac_try;;
34460 esac
34461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34462 (eval "$ac_compile") 2>conftest.er1
34463 ac_status=$?
34464 grep -v '^ *+' conftest.er1 >conftest.err
34465 rm -f conftest.er1
34466 cat conftest.err >&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); } && {
34469 test -z "$ac_cxx_werror_flag" ||
34470 test ! -s conftest.err
34471 } && test -s conftest.$ac_objext; then
34472 wx_cv_size_t_is_uint=no
34473 else
34474 echo "$as_me: failed program was:" >&5
34475 sed 's/^/| /' conftest.$ac_ext >&5
34476
34477 wx_cv_size_t_is_uint=yes
34478
34479 fi
34480
34481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34482
34483
34484 fi
34485 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34486 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34487
34488 if test "$wx_cv_size_t_is_uint" = "yes"; then
34489 cat >>confdefs.h <<\_ACEOF
34490 #define wxSIZE_T_IS_UINT 1
34491 _ACEOF
34492
34493 else
34494 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34495 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34496 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34497 echo $ECHO_N "(cached) $ECHO_C" >&6
34498 else
34499 cat >conftest.$ac_ext <<_ACEOF
34500 /* confdefs.h. */
34501 _ACEOF
34502 cat confdefs.h >>conftest.$ac_ext
34503 cat >>conftest.$ac_ext <<_ACEOF
34504 /* end confdefs.h. */
34505 #include <stddef.h>
34506 int
34507 main ()
34508 {
34509
34510 return 0; }
34511
34512 struct Foo { void foo(size_t); void foo(unsigned long); };
34513
34514 int bar() {
34515
34516 ;
34517 return 0;
34518 }
34519 _ACEOF
34520 rm -f conftest.$ac_objext
34521 if { (ac_try="$ac_compile"
34522 case "(($ac_try" in
34523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34524 *) ac_try_echo=$ac_try;;
34525 esac
34526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34527 (eval "$ac_compile") 2>conftest.er1
34528 ac_status=$?
34529 grep -v '^ *+' conftest.er1 >conftest.err
34530 rm -f conftest.er1
34531 cat conftest.err >&5
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); } && {
34534 test -z "$ac_cxx_werror_flag" ||
34535 test ! -s conftest.err
34536 } && test -s conftest.$ac_objext; then
34537 wx_cv_size_t_is_ulong=no
34538 else
34539 echo "$as_me: failed program was:" >&5
34540 sed 's/^/| /' conftest.$ac_ext >&5
34541
34542 wx_cv_size_t_is_ulong=yes
34543
34544 fi
34545
34546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34547
34548 fi
34549 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34550 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34551
34552 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34553 cat >>confdefs.h <<\_ACEOF
34554 #define wxSIZE_T_IS_ULONG 1
34555 _ACEOF
34556
34557 fi
34558 fi
34559
34560 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34561 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34562 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34563 echo $ECHO_N "(cached) $ECHO_C" >&6
34564 else
34565 cat >conftest.$ac_ext <<_ACEOF
34566 /* confdefs.h. */
34567 _ACEOF
34568 cat confdefs.h >>conftest.$ac_ext
34569 cat >>conftest.$ac_ext <<_ACEOF
34570 /* end confdefs.h. */
34571 #include <wchar.h>
34572 int
34573 main ()
34574 {
34575
34576 return 0; }
34577
34578 struct Foo { void foo(wchar_t);
34579 void foo(unsigned short);
34580 void foo(unsigned int);
34581 void foo(unsigned long); };
34582
34583 int bar() {
34584
34585 ;
34586 return 0;
34587 }
34588 _ACEOF
34589 rm -f conftest.$ac_objext
34590 if { (ac_try="$ac_compile"
34591 case "(($ac_try" in
34592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34593 *) ac_try_echo=$ac_try;;
34594 esac
34595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34596 (eval "$ac_compile") 2>conftest.er1
34597 ac_status=$?
34598 grep -v '^ *+' conftest.er1 >conftest.err
34599 rm -f conftest.er1
34600 cat conftest.err >&5
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); } && {
34603 test -z "$ac_cxx_werror_flag" ||
34604 test ! -s conftest.err
34605 } && test -s conftest.$ac_objext; then
34606 wx_cv_wchar_t_is_separate_type=yes
34607 else
34608 echo "$as_me: failed program was:" >&5
34609 sed 's/^/| /' conftest.$ac_ext >&5
34610
34611 wx_cv_wchar_t_is_separate_type=no
34612
34613 fi
34614
34615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34616
34617 fi
34618 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34619 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34620
34621 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34622 cat >>confdefs.h <<\_ACEOF
34623 #define wxWCHAR_T_IS_REAL_TYPE 1
34624 _ACEOF
34625
34626 else
34627 cat >>confdefs.h <<\_ACEOF
34628 #define wxWCHAR_T_IS_REAL_TYPE 0
34629 _ACEOF
34630
34631 fi
34632
34633 ac_ext=c
34634 ac_cpp='$CPP $CPPFLAGS'
34635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34638
34639
34640 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34641 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34642 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34643 echo $ECHO_N "(cached) $ECHO_C" >&6
34644 else
34645
34646 cat >conftest.$ac_ext <<_ACEOF
34647 /* confdefs.h. */
34648 _ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34652 #include <pwd.h>
34653 int
34654 main ()
34655 {
34656
34657 char *p;
34658 struct passwd *pw;
34659 p = pw->pw_gecos;
34660
34661 ;
34662 return 0;
34663 }
34664 _ACEOF
34665 rm -f conftest.$ac_objext
34666 if { (ac_try="$ac_compile"
34667 case "(($ac_try" in
34668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34669 *) ac_try_echo=$ac_try;;
34670 esac
34671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34672 (eval "$ac_compile") 2>conftest.er1
34673 ac_status=$?
34674 grep -v '^ *+' conftest.er1 >conftest.err
34675 rm -f conftest.er1
34676 cat conftest.err >&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); } && {
34679 test -z "$ac_c_werror_flag" ||
34680 test ! -s conftest.err
34681 } && test -s conftest.$ac_objext; then
34682
34683 wx_cv_struct_pw_gecos=yes
34684
34685 else
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34688
34689
34690 wx_cv_struct_pw_gecos=no
34691
34692
34693 fi
34694
34695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34696
34697
34698 fi
34699 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34700 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34701
34702 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34703 cat >>confdefs.h <<\_ACEOF
34704 #define HAVE_PW_GECOS 1
34705 _ACEOF
34706
34707 fi
34708
34709
34710 if test "$wxUSE_WCHAR_T" = "yes"; then
34711 cat >>confdefs.h <<\_ACEOF
34712 #define wxUSE_WCHAR_T 1
34713 _ACEOF
34714
34715
34716 WCSLEN_FOUND=0
34717 WCHAR_LINK=
34718
34719 for ac_func in wcslen
34720 do
34721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34726 else
34727 cat >conftest.$ac_ext <<_ACEOF
34728 /* confdefs.h. */
34729 _ACEOF
34730 cat confdefs.h >>conftest.$ac_ext
34731 cat >>conftest.$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34735 #define $ac_func innocuous_$ac_func
34736
34737 /* System header to define __stub macros and hopefully few prototypes,
34738 which can conflict with char $ac_func (); below.
34739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34740 <limits.h> exists even on freestanding compilers. */
34741
34742 #ifdef __STDC__
34743 # include <limits.h>
34744 #else
34745 # include <assert.h>
34746 #endif
34747
34748 #undef $ac_func
34749
34750 /* Override any GCC internal prototype to avoid an error.
34751 Use char because int might match the return type of a GCC
34752 builtin and then its argument prototype would still apply. */
34753 #ifdef __cplusplus
34754 extern "C"
34755 #endif
34756 char $ac_func ();
34757 /* The GNU C library defines this for functions which it implements
34758 to always fail with ENOSYS. Some functions are actually named
34759 something starting with __ and the normal name is an alias. */
34760 #if defined __stub_$ac_func || defined __stub___$ac_func
34761 choke me
34762 #endif
34763
34764 int
34765 main ()
34766 {
34767 return $ac_func ();
34768 ;
34769 return 0;
34770 }
34771 _ACEOF
34772 rm -f conftest.$ac_objext conftest$ac_exeext
34773 if { (ac_try="$ac_link"
34774 case "(($ac_try" in
34775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34776 *) ac_try_echo=$ac_try;;
34777 esac
34778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34779 (eval "$ac_link") 2>conftest.er1
34780 ac_status=$?
34781 grep -v '^ *+' conftest.er1 >conftest.err
34782 rm -f conftest.er1
34783 cat conftest.err >&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); } && {
34786 test -z "$ac_c_werror_flag" ||
34787 test ! -s conftest.err
34788 } && test -s conftest$ac_exeext &&
34789 $as_test_x conftest$ac_exeext; then
34790 eval "$as_ac_var=yes"
34791 else
34792 echo "$as_me: failed program was:" >&5
34793 sed 's/^/| /' conftest.$ac_ext >&5
34794
34795 eval "$as_ac_var=no"
34796 fi
34797
34798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34799 conftest$ac_exeext conftest.$ac_ext
34800 fi
34801 ac_res=`eval echo '${'$as_ac_var'}'`
34802 { echo "$as_me:$LINENO: result: $ac_res" >&5
34803 echo "${ECHO_T}$ac_res" >&6; }
34804 if test `eval echo '${'$as_ac_var'}'` = yes; then
34805 cat >>confdefs.h <<_ACEOF
34806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34807 _ACEOF
34808 WCSLEN_FOUND=1
34809 fi
34810 done
34811
34812
34813 if test "$WCSLEN_FOUND" = 0; then
34814 if test "$TOOLKIT" = "MSW"; then
34815 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34816 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34817 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34818 echo $ECHO_N "(cached) $ECHO_C" >&6
34819 else
34820 ac_check_lib_save_LIBS=$LIBS
34821 LIBS="-lmsvcrt $LIBS"
34822 cat >conftest.$ac_ext <<_ACEOF
34823 /* confdefs.h. */
34824 _ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34828
34829 /* Override any GCC internal prototype to avoid an error.
34830 Use char because int might match the return type of a GCC
34831 builtin and then its argument prototype would still apply. */
34832 #ifdef __cplusplus
34833 extern "C"
34834 #endif
34835 char wcslen ();
34836 int
34837 main ()
34838 {
34839 return wcslen ();
34840 ;
34841 return 0;
34842 }
34843 _ACEOF
34844 rm -f conftest.$ac_objext conftest$ac_exeext
34845 if { (ac_try="$ac_link"
34846 case "(($ac_try" in
34847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34848 *) ac_try_echo=$ac_try;;
34849 esac
34850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34851 (eval "$ac_link") 2>conftest.er1
34852 ac_status=$?
34853 grep -v '^ *+' conftest.er1 >conftest.err
34854 rm -f conftest.er1
34855 cat conftest.err >&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } && {
34858 test -z "$ac_c_werror_flag" ||
34859 test ! -s conftest.err
34860 } && test -s conftest$ac_exeext &&
34861 $as_test_x conftest$ac_exeext; then
34862 ac_cv_lib_msvcrt_wcslen=yes
34863 else
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34866
34867 ac_cv_lib_msvcrt_wcslen=no
34868 fi
34869
34870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34871 conftest$ac_exeext conftest.$ac_ext
34872 LIBS=$ac_check_lib_save_LIBS
34873 fi
34874 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34875 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34876 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34877 WCHAR_OK=1
34878 fi
34879
34880 else
34881 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34882 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34883 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34884 echo $ECHO_N "(cached) $ECHO_C" >&6
34885 else
34886 ac_check_lib_save_LIBS=$LIBS
34887 LIBS="-lw $LIBS"
34888 cat >conftest.$ac_ext <<_ACEOF
34889 /* confdefs.h. */
34890 _ACEOF
34891 cat confdefs.h >>conftest.$ac_ext
34892 cat >>conftest.$ac_ext <<_ACEOF
34893 /* end confdefs.h. */
34894
34895 /* Override any GCC internal prototype to avoid an error.
34896 Use char because int might match the return type of a GCC
34897 builtin and then its argument prototype would still apply. */
34898 #ifdef __cplusplus
34899 extern "C"
34900 #endif
34901 char wcslen ();
34902 int
34903 main ()
34904 {
34905 return wcslen ();
34906 ;
34907 return 0;
34908 }
34909 _ACEOF
34910 rm -f conftest.$ac_objext conftest$ac_exeext
34911 if { (ac_try="$ac_link"
34912 case "(($ac_try" in
34913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34914 *) ac_try_echo=$ac_try;;
34915 esac
34916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34917 (eval "$ac_link") 2>conftest.er1
34918 ac_status=$?
34919 grep -v '^ *+' conftest.er1 >conftest.err
34920 rm -f conftest.er1
34921 cat conftest.err >&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); } && {
34924 test -z "$ac_c_werror_flag" ||
34925 test ! -s conftest.err
34926 } && test -s conftest$ac_exeext &&
34927 $as_test_x conftest$ac_exeext; then
34928 ac_cv_lib_w_wcslen=yes
34929 else
34930 echo "$as_me: failed program was:" >&5
34931 sed 's/^/| /' conftest.$ac_ext >&5
34932
34933 ac_cv_lib_w_wcslen=no
34934 fi
34935
34936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34937 conftest$ac_exeext conftest.$ac_ext
34938 LIBS=$ac_check_lib_save_LIBS
34939 fi
34940 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34941 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34942 if test $ac_cv_lib_w_wcslen = yes; then
34943
34944 WCHAR_LINK=" -lw"
34945 WCSLEN_FOUND=1
34946
34947 fi
34948
34949 fi
34950 fi
34951
34952 if test "$WCSLEN_FOUND" = 1; then
34953 cat >>confdefs.h <<\_ACEOF
34954 #define HAVE_WCSLEN 1
34955 _ACEOF
34956
34957 fi
34958
34959
34960 for ac_func in wcsdup
34961 do
34962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34963 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34965 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 else
34968 cat >conftest.$ac_ext <<_ACEOF
34969 /* confdefs.h. */
34970 _ACEOF
34971 cat confdefs.h >>conftest.$ac_ext
34972 cat >>conftest.$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34976 #define $ac_func innocuous_$ac_func
34977
34978 /* System header to define __stub macros and hopefully few prototypes,
34979 which can conflict with char $ac_func (); below.
34980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34981 <limits.h> exists even on freestanding compilers. */
34982
34983 #ifdef __STDC__
34984 # include <limits.h>
34985 #else
34986 # include <assert.h>
34987 #endif
34988
34989 #undef $ac_func
34990
34991 /* Override any GCC internal prototype to avoid an error.
34992 Use char because int might match the return type of a GCC
34993 builtin and then its argument prototype would still apply. */
34994 #ifdef __cplusplus
34995 extern "C"
34996 #endif
34997 char $ac_func ();
34998 /* The GNU C library defines this for functions which it implements
34999 to always fail with ENOSYS. Some functions are actually named
35000 something starting with __ and the normal name is an alias. */
35001 #if defined __stub_$ac_func || defined __stub___$ac_func
35002 choke me
35003 #endif
35004
35005 int
35006 main ()
35007 {
35008 return $ac_func ();
35009 ;
35010 return 0;
35011 }
35012 _ACEOF
35013 rm -f conftest.$ac_objext conftest$ac_exeext
35014 if { (ac_try="$ac_link"
35015 case "(($ac_try" in
35016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35017 *) ac_try_echo=$ac_try;;
35018 esac
35019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35020 (eval "$ac_link") 2>conftest.er1
35021 ac_status=$?
35022 grep -v '^ *+' conftest.er1 >conftest.err
35023 rm -f conftest.er1
35024 cat conftest.err >&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); } && {
35027 test -z "$ac_c_werror_flag" ||
35028 test ! -s conftest.err
35029 } && test -s conftest$ac_exeext &&
35030 $as_test_x conftest$ac_exeext; then
35031 eval "$as_ac_var=yes"
35032 else
35033 echo "$as_me: failed program was:" >&5
35034 sed 's/^/| /' conftest.$ac_ext >&5
35035
35036 eval "$as_ac_var=no"
35037 fi
35038
35039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35040 conftest$ac_exeext conftest.$ac_ext
35041 fi
35042 ac_res=`eval echo '${'$as_ac_var'}'`
35043 { echo "$as_me:$LINENO: result: $ac_res" >&5
35044 echo "${ECHO_T}$ac_res" >&6; }
35045 if test `eval echo '${'$as_ac_var'}'` = yes; then
35046 cat >>confdefs.h <<_ACEOF
35047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35048 _ACEOF
35049
35050 fi
35051 done
35052
35053
35054 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35055 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35056 fi
35057
35058 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35059 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35060 if test "${ac_cv_type_mbstate_t+set}" = set; then
35061 echo $ECHO_N "(cached) $ECHO_C" >&6
35062 else
35063 cat >conftest.$ac_ext <<_ACEOF
35064 /* confdefs.h. */
35065 _ACEOF
35066 cat confdefs.h >>conftest.$ac_ext
35067 cat >>conftest.$ac_ext <<_ACEOF
35068 /* end confdefs.h. */
35069 #include <wchar.h>
35070
35071 typedef mbstate_t ac__type_new_;
35072 int
35073 main ()
35074 {
35075 if ((ac__type_new_ *) 0)
35076 return 0;
35077 if (sizeof (ac__type_new_))
35078 return 0;
35079 ;
35080 return 0;
35081 }
35082 _ACEOF
35083 rm -f conftest.$ac_objext
35084 if { (ac_try="$ac_compile"
35085 case "(($ac_try" in
35086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35087 *) ac_try_echo=$ac_try;;
35088 esac
35089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35090 (eval "$ac_compile") 2>conftest.er1
35091 ac_status=$?
35092 grep -v '^ *+' conftest.er1 >conftest.err
35093 rm -f conftest.er1
35094 cat conftest.err >&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); } && {
35097 test -z "$ac_c_werror_flag" ||
35098 test ! -s conftest.err
35099 } && test -s conftest.$ac_objext; then
35100 ac_cv_type_mbstate_t=yes
35101 else
35102 echo "$as_me: failed program was:" >&5
35103 sed 's/^/| /' conftest.$ac_ext >&5
35104
35105 ac_cv_type_mbstate_t=no
35106 fi
35107
35108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35109 fi
35110 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35111 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35112 if test $ac_cv_type_mbstate_t = yes; then
35113
35114 cat >>confdefs.h <<_ACEOF
35115 #define HAVE_MBSTATE_T 1
35116 _ACEOF
35117
35118
35119 for ac_func in wcsrtombs
35120 do
35121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35122 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35124 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35125 echo $ECHO_N "(cached) $ECHO_C" >&6
35126 else
35127 cat >conftest.$ac_ext <<_ACEOF
35128 /* confdefs.h. */
35129 _ACEOF
35130 cat confdefs.h >>conftest.$ac_ext
35131 cat >>conftest.$ac_ext <<_ACEOF
35132 /* end confdefs.h. */
35133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35135 #define $ac_func innocuous_$ac_func
35136
35137 /* System header to define __stub macros and hopefully few prototypes,
35138 which can conflict with char $ac_func (); below.
35139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35140 <limits.h> exists even on freestanding compilers. */
35141
35142 #ifdef __STDC__
35143 # include <limits.h>
35144 #else
35145 # include <assert.h>
35146 #endif
35147
35148 #undef $ac_func
35149
35150 /* Override any GCC internal prototype to avoid an error.
35151 Use char because int might match the return type of a GCC
35152 builtin and then its argument prototype would still apply. */
35153 #ifdef __cplusplus
35154 extern "C"
35155 #endif
35156 char $ac_func ();
35157 /* The GNU C library defines this for functions which it implements
35158 to always fail with ENOSYS. Some functions are actually named
35159 something starting with __ and the normal name is an alias. */
35160 #if defined __stub_$ac_func || defined __stub___$ac_func
35161 choke me
35162 #endif
35163
35164 int
35165 main ()
35166 {
35167 return $ac_func ();
35168 ;
35169 return 0;
35170 }
35171 _ACEOF
35172 rm -f conftest.$ac_objext conftest$ac_exeext
35173 if { (ac_try="$ac_link"
35174 case "(($ac_try" in
35175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35176 *) ac_try_echo=$ac_try;;
35177 esac
35178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35179 (eval "$ac_link") 2>conftest.er1
35180 ac_status=$?
35181 grep -v '^ *+' conftest.er1 >conftest.err
35182 rm -f conftest.er1
35183 cat conftest.err >&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); } && {
35186 test -z "$ac_c_werror_flag" ||
35187 test ! -s conftest.err
35188 } && test -s conftest$ac_exeext &&
35189 $as_test_x conftest$ac_exeext; then
35190 eval "$as_ac_var=yes"
35191 else
35192 echo "$as_me: failed program was:" >&5
35193 sed 's/^/| /' conftest.$ac_ext >&5
35194
35195 eval "$as_ac_var=no"
35196 fi
35197
35198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35199 conftest$ac_exeext conftest.$ac_ext
35200 fi
35201 ac_res=`eval echo '${'$as_ac_var'}'`
35202 { echo "$as_me:$LINENO: result: $ac_res" >&5
35203 echo "${ECHO_T}$ac_res" >&6; }
35204 if test `eval echo '${'$as_ac_var'}'` = yes; then
35205 cat >>confdefs.h <<_ACEOF
35206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35207 _ACEOF
35208
35209 fi
35210 done
35211
35212 fi
35213
35214 else
35215 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35216 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35217 fi
35218
35219
35220
35221
35222 for ac_func in snprintf vsnprintf vsscanf
35223 do
35224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35225 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35227 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35228 echo $ECHO_N "(cached) $ECHO_C" >&6
35229 else
35230 cat >conftest.$ac_ext <<_ACEOF
35231 /* confdefs.h. */
35232 _ACEOF
35233 cat confdefs.h >>conftest.$ac_ext
35234 cat >>conftest.$ac_ext <<_ACEOF
35235 /* end confdefs.h. */
35236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35238 #define $ac_func innocuous_$ac_func
35239
35240 /* System header to define __stub macros and hopefully few prototypes,
35241 which can conflict with char $ac_func (); below.
35242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35243 <limits.h> exists even on freestanding compilers. */
35244
35245 #ifdef __STDC__
35246 # include <limits.h>
35247 #else
35248 # include <assert.h>
35249 #endif
35250
35251 #undef $ac_func
35252
35253 /* Override any GCC internal prototype to avoid an error.
35254 Use char because int might match the return type of a GCC
35255 builtin and then its argument prototype would still apply. */
35256 #ifdef __cplusplus
35257 extern "C"
35258 #endif
35259 char $ac_func ();
35260 /* The GNU C library defines this for functions which it implements
35261 to always fail with ENOSYS. Some functions are actually named
35262 something starting with __ and the normal name is an alias. */
35263 #if defined __stub_$ac_func || defined __stub___$ac_func
35264 choke me
35265 #endif
35266
35267 int
35268 main ()
35269 {
35270 return $ac_func ();
35271 ;
35272 return 0;
35273 }
35274 _ACEOF
35275 rm -f conftest.$ac_objext conftest$ac_exeext
35276 if { (ac_try="$ac_link"
35277 case "(($ac_try" in
35278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35279 *) ac_try_echo=$ac_try;;
35280 esac
35281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35282 (eval "$ac_link") 2>conftest.er1
35283 ac_status=$?
35284 grep -v '^ *+' conftest.er1 >conftest.err
35285 rm -f conftest.er1
35286 cat conftest.err >&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); } && {
35289 test -z "$ac_c_werror_flag" ||
35290 test ! -s conftest.err
35291 } && test -s conftest$ac_exeext &&
35292 $as_test_x conftest$ac_exeext; then
35293 eval "$as_ac_var=yes"
35294 else
35295 echo "$as_me: failed program was:" >&5
35296 sed 's/^/| /' conftest.$ac_ext >&5
35297
35298 eval "$as_ac_var=no"
35299 fi
35300
35301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35302 conftest$ac_exeext conftest.$ac_ext
35303 fi
35304 ac_res=`eval echo '${'$as_ac_var'}'`
35305 { echo "$as_me:$LINENO: result: $ac_res" >&5
35306 echo "${ECHO_T}$ac_res" >&6; }
35307 if test `eval echo '${'$as_ac_var'}'` = yes; then
35308 cat >>confdefs.h <<_ACEOF
35309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35310 _ACEOF
35311
35312 fi
35313 done
35314
35315
35316 ac_ext=cpp
35317 ac_cpp='$CXXCPP $CPPFLAGS'
35318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35321
35322 if test "$ac_cv_func_vsnprintf" = "yes"; then
35323 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35324 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35325 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35326 echo $ECHO_N "(cached) $ECHO_C" >&6
35327 else
35328
35329 cat >conftest.$ac_ext <<_ACEOF
35330 /* confdefs.h. */
35331 _ACEOF
35332 cat confdefs.h >>conftest.$ac_ext
35333 cat >>conftest.$ac_ext <<_ACEOF
35334 /* end confdefs.h. */
35335
35336 #include <stdio.h>
35337 #include <stdarg.h>
35338 #ifdef __MSL__
35339 #if __MSL__ >= 0x6000
35340 namespace std {}
35341 using namespace std;
35342 #endif
35343 #endif
35344
35345 int
35346 main ()
35347 {
35348
35349 char *buf;
35350 va_list ap;
35351 vsnprintf(buf, 10u, "%s", ap);
35352
35353 ;
35354 return 0;
35355 }
35356 _ACEOF
35357 rm -f conftest.$ac_objext
35358 if { (ac_try="$ac_compile"
35359 case "(($ac_try" in
35360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35361 *) ac_try_echo=$ac_try;;
35362 esac
35363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35364 (eval "$ac_compile") 2>conftest.er1
35365 ac_status=$?
35366 grep -v '^ *+' conftest.er1 >conftest.err
35367 rm -f conftest.er1
35368 cat conftest.err >&5
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); } && {
35371 test -z "$ac_cxx_werror_flag" ||
35372 test ! -s conftest.err
35373 } && test -s conftest.$ac_objext; then
35374 wx_cv_func_vsnprintf_decl=yes
35375 else
35376 echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.$ac_ext >&5
35378
35379 wx_cv_func_vsnprintf_decl=no
35380
35381 fi
35382
35383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35384
35385
35386 fi
35387 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35388 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35389
35390 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35391 cat >>confdefs.h <<\_ACEOF
35392 #define HAVE_VSNPRINTF_DECL 1
35393 _ACEOF
35394
35395
35396 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35397 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35398 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35399 echo $ECHO_N "(cached) $ECHO_C" >&6
35400 else
35401
35402 cat >conftest.$ac_ext <<_ACEOF
35403 /* confdefs.h. */
35404 _ACEOF
35405 cat confdefs.h >>conftest.$ac_ext
35406 cat >>conftest.$ac_ext <<_ACEOF
35407 /* end confdefs.h. */
35408
35409 #include <stdio.h>
35410 #include <stdarg.h>
35411 #ifdef __MSL__
35412 #if __MSL__ >= 0x6000
35413 namespace std {}
35414 using namespace std;
35415 #endif
35416 #endif
35417
35418 int
35419 main ()
35420 {
35421
35422 char *buf;
35423 va_list ap;
35424 const char *fmt = "%s";
35425 vsnprintf(buf, 10u, fmt, ap);
35426
35427 ;
35428 return 0;
35429 }
35430 _ACEOF
35431 rm -f conftest.$ac_objext
35432 if { (ac_try="$ac_compile"
35433 case "(($ac_try" in
35434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35435 *) ac_try_echo=$ac_try;;
35436 esac
35437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35438 (eval "$ac_compile") 2>conftest.er1
35439 ac_status=$?
35440 grep -v '^ *+' conftest.er1 >conftest.err
35441 rm -f conftest.er1
35442 cat conftest.err >&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); } && {
35445 test -z "$ac_cxx_werror_flag" ||
35446 test ! -s conftest.err
35447 } && test -s conftest.$ac_objext; then
35448 wx_cv_func_broken_vsnprintf_decl=no
35449 else
35450 echo "$as_me: failed program was:" >&5
35451 sed 's/^/| /' conftest.$ac_ext >&5
35452
35453 wx_cv_func_broken_vsnprintf_decl=yes
35454
35455 fi
35456
35457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35458
35459
35460 fi
35461 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35462 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35463
35464 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35465 cat >>confdefs.h <<\_ACEOF
35466 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35467 _ACEOF
35468
35469 fi
35470 fi
35471 fi
35472
35473 if test "$ac_cv_func_snprintf" = "yes"; then
35474 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35475 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35476 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35478 else
35479
35480 cat >conftest.$ac_ext <<_ACEOF
35481 /* confdefs.h. */
35482 _ACEOF
35483 cat confdefs.h >>conftest.$ac_ext
35484 cat >>conftest.$ac_ext <<_ACEOF
35485 /* end confdefs.h. */
35486
35487 #include <stdio.h>
35488 #include <stdarg.h>
35489 #ifdef __MSL__
35490 #if __MSL__ >= 0x6000
35491 namespace std {}
35492 using namespace std;
35493 #endif
35494 #endif
35495
35496 int
35497 main ()
35498 {
35499
35500 char *buf;
35501 snprintf(buf, 10u, "%s", "wx");
35502
35503 ;
35504 return 0;
35505 }
35506 _ACEOF
35507 rm -f conftest.$ac_objext
35508 if { (ac_try="$ac_compile"
35509 case "(($ac_try" in
35510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35511 *) ac_try_echo=$ac_try;;
35512 esac
35513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35514 (eval "$ac_compile") 2>conftest.er1
35515 ac_status=$?
35516 grep -v '^ *+' conftest.er1 >conftest.err
35517 rm -f conftest.er1
35518 cat conftest.err >&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); } && {
35521 test -z "$ac_cxx_werror_flag" ||
35522 test ! -s conftest.err
35523 } && test -s conftest.$ac_objext; then
35524 wx_cv_func_snprintf_decl=yes
35525 else
35526 echo "$as_me: failed program was:" >&5
35527 sed 's/^/| /' conftest.$ac_ext >&5
35528
35529 wx_cv_func_snprintf_decl=no
35530
35531 fi
35532
35533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35534
35535
35536 fi
35537 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35538 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35539
35540 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35541 cat >>confdefs.h <<\_ACEOF
35542 #define HAVE_SNPRINTF_DECL 1
35543 _ACEOF
35544
35545 fi
35546
35547 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35548
35549 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35550 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35551 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35552 echo $ECHO_N "(cached) $ECHO_C" >&6
35553 else
35554
35555 if test "$cross_compiling" = yes; then
35556
35557 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35558 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35559 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35560 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35561 wx_cv_func_snprintf_pos_params=no
35562
35563
35564 else
35565 cat >conftest.$ac_ext <<_ACEOF
35566 /* confdefs.h. */
35567 _ACEOF
35568 cat confdefs.h >>conftest.$ac_ext
35569 cat >>conftest.$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35571
35572 #include <stdio.h>
35573
35574 int main (void)
35575 {
35576 char buffer[128];
35577 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35578 if (strcmp ("2 3 1", buffer) == 0)
35579 exit (0);
35580 exit (1);
35581 }
35582
35583 _ACEOF
35584 rm -f conftest$ac_exeext
35585 if { (ac_try="$ac_link"
35586 case "(($ac_try" in
35587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35588 *) ac_try_echo=$ac_try;;
35589 esac
35590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35591 (eval "$ac_link") 2>&5
35592 ac_status=$?
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35595 { (case "(($ac_try" in
35596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35597 *) ac_try_echo=$ac_try;;
35598 esac
35599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35600 (eval "$ac_try") 2>&5
35601 ac_status=$?
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); }; }; then
35604 wx_cv_func_snprintf_pos_params=no
35605 else
35606 echo "$as_me: program exited with status $ac_status" >&5
35607 echo "$as_me: failed program was:" >&5
35608 sed 's/^/| /' conftest.$ac_ext >&5
35609
35610 ( exit $ac_status )
35611 wx_cv_func_snprintf_pos_params=yes
35612 fi
35613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35614 fi
35615
35616
35617
35618
35619 fi
35620 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35621 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35622
35623 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35624 cat >>confdefs.h <<\_ACEOF
35625 #define HAVE_UNIX98_PRINTF 1
35626 _ACEOF
35627
35628 fi
35629 fi
35630 fi
35631
35632 if test "$ac_cv_func_vsscanf" = "yes"; then
35633 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35634 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35635 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35636 echo $ECHO_N "(cached) $ECHO_C" >&6
35637 else
35638
35639 cat >conftest.$ac_ext <<_ACEOF
35640 /* confdefs.h. */
35641 _ACEOF
35642 cat confdefs.h >>conftest.$ac_ext
35643 cat >>conftest.$ac_ext <<_ACEOF
35644 /* end confdefs.h. */
35645
35646 #include <stdio.h>
35647 #include <stdarg.h>
35648 #ifdef __MSL__
35649 #if __MSL__ >= 0x6000
35650 namespace std {}
35651 using namespace std;
35652 #endif
35653 #endif
35654
35655 int
35656 main ()
35657 {
35658
35659 char *buf;
35660 va_list args;
35661 vsscanf(buf, "%s", args);
35662
35663 ;
35664 return 0;
35665 }
35666 _ACEOF
35667 rm -f conftest.$ac_objext
35668 if { (ac_try="$ac_compile"
35669 case "(($ac_try" in
35670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35671 *) ac_try_echo=$ac_try;;
35672 esac
35673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35674 (eval "$ac_compile") 2>conftest.er1
35675 ac_status=$?
35676 grep -v '^ *+' conftest.er1 >conftest.err
35677 rm -f conftest.er1
35678 cat conftest.err >&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } && {
35681 test -z "$ac_cxx_werror_flag" ||
35682 test ! -s conftest.err
35683 } && test -s conftest.$ac_objext; then
35684 wx_cv_func_vsscanf_decl=yes
35685 else
35686 echo "$as_me: failed program was:" >&5
35687 sed 's/^/| /' conftest.$ac_ext >&5
35688
35689 wx_cv_func_vsscanf_decl=no
35690
35691 fi
35692
35693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35694
35695
35696 fi
35697 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35698 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35699
35700 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35701 cat >>confdefs.h <<\_ACEOF
35702 #define HAVE_VSSCANF_DECL 1
35703 _ACEOF
35704
35705 fi
35706 fi
35707 ac_ext=c
35708 ac_cpp='$CPP $CPPFLAGS'
35709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35712
35713
35714 if test "$wxUSE_UNICODE" = yes; then
35715
35716 wchar_headers="#include <stdio.h>
35717 #include <wchar.h>"
35718 case "${host}" in
35719 *-*-solaris2* )
35720
35721 for ac_header in widec.h
35722 do
35723 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35728 else
35729 cat >conftest.$ac_ext <<_ACEOF
35730 /* confdefs.h. */
35731 _ACEOF
35732 cat confdefs.h >>conftest.$ac_ext
35733 cat >>conftest.$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35735 $ac_includes_default
35736
35737 #include <$ac_header>
35738 _ACEOF
35739 rm -f conftest.$ac_objext
35740 if { (ac_try="$ac_compile"
35741 case "(($ac_try" in
35742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35743 *) ac_try_echo=$ac_try;;
35744 esac
35745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35746 (eval "$ac_compile") 2>conftest.er1
35747 ac_status=$?
35748 grep -v '^ *+' conftest.er1 >conftest.err
35749 rm -f conftest.er1
35750 cat conftest.err >&5
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); } && {
35753 test -z "$ac_c_werror_flag" ||
35754 test ! -s conftest.err
35755 } && test -s conftest.$ac_objext; then
35756 eval "$as_ac_Header=yes"
35757 else
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.$ac_ext >&5
35760
35761 eval "$as_ac_Header=no"
35762 fi
35763
35764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35765 fi
35766 ac_res=`eval echo '${'$as_ac_Header'}'`
35767 { echo "$as_me:$LINENO: result: $ac_res" >&5
35768 echo "${ECHO_T}$ac_res" >&6; }
35769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35770 cat >>confdefs.h <<_ACEOF
35771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35772 _ACEOF
35773
35774 fi
35775
35776 done
35777
35778 if test "$ac_cv_header_widec_h" = "yes"; then
35779 wchar_headers="$wchar_headers
35780 #include <widec.h>"
35781 fi
35782 esac
35783
35784
35785 for wx_func in putws fputws wprintf vswprintf vswscanf
35786 do
35787 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35788 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35789 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 else
35792
35793 cat >conftest.$ac_ext <<_ACEOF
35794
35795 /* confdefs.h. */
35796 _ACEOF
35797 cat confdefs.h >>conftest.$ac_ext
35798 cat >>conftest.$ac_ext <<_ACEOF
35799 /* end confdefs.h. */
35800
35801 $wchar_headers
35802 $ac_includes_default
35803
35804 int
35805 main ()
35806 {
35807
35808 #ifndef $wx_func
35809 &$wx_func;
35810 #endif
35811
35812
35813 ;
35814 return 0;
35815 }
35816
35817 _ACEOF
35818 rm -f conftest.$ac_objext conftest$ac_exeext
35819 if { (ac_try="$ac_link"
35820 case "(($ac_try" in
35821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35822 *) ac_try_echo=$ac_try;;
35823 esac
35824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35825 (eval "$ac_link") 2>conftest.er1
35826 ac_status=$?
35827 grep -v '^ *+' conftest.er1 >conftest.err
35828 rm -f conftest.er1
35829 cat conftest.err >&5
35830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831 (exit $ac_status); } && {
35832 test -z "$ac_c_werror_flag" ||
35833 test ! -s conftest.err
35834 } && test -s conftest$ac_exeext &&
35835 $as_test_x conftest$ac_exeext; then
35836 eval wx_cv_func_$wx_func=yes
35837 else
35838 echo "$as_me: failed program was:" >&5
35839 sed 's/^/| /' conftest.$ac_ext >&5
35840
35841 eval wx_cv_func_$wx_func=no
35842 fi
35843
35844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35845 conftest$ac_exeext conftest.$ac_ext
35846
35847 fi
35848 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35849 { echo "$as_me:$LINENO: result: $ac_res" >&5
35850 echo "${ECHO_T}$ac_res" >&6; }
35851
35852 if eval test \$wx_cv_func_$wx_func = yes
35853 then
35854 cat >>confdefs.h <<_ACEOF
35855 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35856 _ACEOF
35857
35858
35859 else
35860 :
35861
35862 fi
35863 done
35864
35865
35866 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35867 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35868 cat >conftest.$ac_ext <<_ACEOF
35869 /* confdefs.h. */
35870 _ACEOF
35871 cat confdefs.h >>conftest.$ac_ext
35872 cat >>conftest.$ac_ext <<_ACEOF
35873 /* end confdefs.h. */
35874 #include <wchar.h>
35875 int
35876 main ()
35877 {
35878 &_vsnwprintf;
35879 ;
35880 return 0;
35881 }
35882 _ACEOF
35883 rm -f conftest.$ac_objext
35884 if { (ac_try="$ac_compile"
35885 case "(($ac_try" in
35886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35887 *) ac_try_echo=$ac_try;;
35888 esac
35889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35890 (eval "$ac_compile") 2>conftest.er1
35891 ac_status=$?
35892 grep -v '^ *+' conftest.er1 >conftest.err
35893 rm -f conftest.er1
35894 cat conftest.err >&5
35895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896 (exit $ac_status); } && {
35897 test -z "$ac_c_werror_flag" ||
35898 test ! -s conftest.err
35899 } && test -s conftest.$ac_objext; then
35900 { echo "$as_me:$LINENO: result: yes" >&5
35901 echo "${ECHO_T}yes" >&6; }
35902 cat >>confdefs.h <<\_ACEOF
35903 #define HAVE__VSNWPRINTF 1
35904 _ACEOF
35905
35906 else
35907 echo "$as_me: failed program was:" >&5
35908 sed 's/^/| /' conftest.$ac_ext >&5
35909
35910 { echo "$as_me:$LINENO: result: no" >&5
35911 echo "${ECHO_T}no" >&6; }
35912 fi
35913
35914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35915 fi
35916
35917 if test "$wxUSE_FILE" = "yes"; then
35918
35919 for wx_func in fsync
35920 do
35921 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35922 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35923 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35924 echo $ECHO_N "(cached) $ECHO_C" >&6
35925 else
35926
35927 cat >conftest.$ac_ext <<_ACEOF
35928
35929 /* confdefs.h. */
35930 _ACEOF
35931 cat confdefs.h >>conftest.$ac_ext
35932 cat >>conftest.$ac_ext <<_ACEOF
35933 /* end confdefs.h. */
35934
35935
35936 $ac_includes_default
35937
35938 int
35939 main ()
35940 {
35941
35942 #ifndef $wx_func
35943 &$wx_func;
35944 #endif
35945
35946
35947 ;
35948 return 0;
35949 }
35950
35951 _ACEOF
35952 rm -f conftest.$ac_objext conftest$ac_exeext
35953 if { (ac_try="$ac_link"
35954 case "(($ac_try" in
35955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35956 *) ac_try_echo=$ac_try;;
35957 esac
35958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35959 (eval "$ac_link") 2>conftest.er1
35960 ac_status=$?
35961 grep -v '^ *+' conftest.er1 >conftest.err
35962 rm -f conftest.er1
35963 cat conftest.err >&5
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); } && {
35966 test -z "$ac_c_werror_flag" ||
35967 test ! -s conftest.err
35968 } && test -s conftest$ac_exeext &&
35969 $as_test_x conftest$ac_exeext; then
35970 eval wx_cv_func_$wx_func=yes
35971 else
35972 echo "$as_me: failed program was:" >&5
35973 sed 's/^/| /' conftest.$ac_ext >&5
35974
35975 eval wx_cv_func_$wx_func=no
35976 fi
35977
35978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35979 conftest$ac_exeext conftest.$ac_ext
35980
35981 fi
35982 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35983 { echo "$as_me:$LINENO: result: $ac_res" >&5
35984 echo "${ECHO_T}$ac_res" >&6; }
35985
35986 if eval test \$wx_cv_func_$wx_func = yes
35987 then
35988 cat >>confdefs.h <<_ACEOF
35989 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35990 _ACEOF
35991
35992
35993 else
35994 :
35995
35996 fi
35997 done
35998
35999 fi
36000
36001 ac_ext=cpp
36002 ac_cpp='$CXXCPP $CPPFLAGS'
36003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36006
36007
36008 for wx_func in round
36009 do
36010 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36011 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36012 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36013 echo $ECHO_N "(cached) $ECHO_C" >&6
36014 else
36015
36016 cat >conftest.$ac_ext <<_ACEOF
36017
36018 /* confdefs.h. */
36019 _ACEOF
36020 cat confdefs.h >>conftest.$ac_ext
36021 cat >>conftest.$ac_ext <<_ACEOF
36022 /* end confdefs.h. */
36023
36024 #include <math.h>
36025 $ac_includes_default
36026
36027 int
36028 main ()
36029 {
36030
36031 #ifndef $wx_func
36032 &$wx_func;
36033 #endif
36034
36035
36036 ;
36037 return 0;
36038 }
36039
36040 _ACEOF
36041 rm -f conftest.$ac_objext conftest$ac_exeext
36042 if { (ac_try="$ac_link"
36043 case "(($ac_try" in
36044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36045 *) ac_try_echo=$ac_try;;
36046 esac
36047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36048 (eval "$ac_link") 2>conftest.er1
36049 ac_status=$?
36050 grep -v '^ *+' conftest.er1 >conftest.err
36051 rm -f conftest.er1
36052 cat conftest.err >&5
36053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36054 (exit $ac_status); } && {
36055 test -z "$ac_cxx_werror_flag" ||
36056 test ! -s conftest.err
36057 } && test -s conftest$ac_exeext &&
36058 $as_test_x conftest$ac_exeext; then
36059 eval wx_cv_func_$wx_func=yes
36060 else
36061 echo "$as_me: failed program was:" >&5
36062 sed 's/^/| /' conftest.$ac_ext >&5
36063
36064 eval wx_cv_func_$wx_func=no
36065 fi
36066
36067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36068 conftest$ac_exeext conftest.$ac_ext
36069
36070 fi
36071 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36072 { echo "$as_me:$LINENO: result: $ac_res" >&5
36073 echo "${ECHO_T}$ac_res" >&6; }
36074
36075 if eval test \$wx_cv_func_$wx_func = yes
36076 then
36077 cat >>confdefs.h <<_ACEOF
36078 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36079 _ACEOF
36080
36081
36082 else
36083 :
36084
36085 fi
36086 done
36087
36088 ac_ext=c
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36093
36094
36095 if test "$TOOLKIT" != "MSW"; then
36096
36097 if test "$wxUSE_LIBICONV" != "no" ; then
36098
36099
36100
36101 # Check whether --with-libiconv-prefix was given.
36102 if test "${with_libiconv_prefix+set}" = set; then
36103 withval=$with_libiconv_prefix;
36104 for dir in `echo "$withval" | tr : ' '`; do
36105 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36106 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36107 done
36108
36109 fi
36110
36111
36112 { echo "$as_me:$LINENO: checking for iconv" >&5
36113 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36114 if test "${am_cv_func_iconv+set}" = set; then
36115 echo $ECHO_N "(cached) $ECHO_C" >&6
36116 else
36117
36118 am_cv_func_iconv="no, consider installing GNU libiconv"
36119 am_cv_lib_iconv=no
36120 cat >conftest.$ac_ext <<_ACEOF
36121 /* confdefs.h. */
36122 _ACEOF
36123 cat confdefs.h >>conftest.$ac_ext
36124 cat >>conftest.$ac_ext <<_ACEOF
36125 /* end confdefs.h. */
36126 #include <stdlib.h>
36127 #include <iconv.h>
36128 int
36129 main ()
36130 {
36131 iconv_t cd = iconv_open("","");
36132 iconv(cd,NULL,NULL,NULL,NULL);
36133 iconv_close(cd);
36134 ;
36135 return 0;
36136 }
36137 _ACEOF
36138 rm -f conftest.$ac_objext conftest$ac_exeext
36139 if { (ac_try="$ac_link"
36140 case "(($ac_try" in
36141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36142 *) ac_try_echo=$ac_try;;
36143 esac
36144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36145 (eval "$ac_link") 2>conftest.er1
36146 ac_status=$?
36147 grep -v '^ *+' conftest.er1 >conftest.err
36148 rm -f conftest.er1
36149 cat conftest.err >&5
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); } && {
36152 test -z "$ac_c_werror_flag" ||
36153 test ! -s conftest.err
36154 } && test -s conftest$ac_exeext &&
36155 $as_test_x conftest$ac_exeext; then
36156 am_cv_func_iconv=yes
36157 else
36158 echo "$as_me: failed program was:" >&5
36159 sed 's/^/| /' conftest.$ac_ext >&5
36160
36161
36162 fi
36163
36164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36165 conftest$ac_exeext conftest.$ac_ext
36166 if test "$am_cv_func_iconv" != yes; then
36167 am_save_LIBS="$LIBS"
36168 LIBS="$LIBS -liconv"
36169 cat >conftest.$ac_ext <<_ACEOF
36170 /* confdefs.h. */
36171 _ACEOF
36172 cat confdefs.h >>conftest.$ac_ext
36173 cat >>conftest.$ac_ext <<_ACEOF
36174 /* end confdefs.h. */
36175 #include <stdlib.h>
36176 #include <iconv.h>
36177 int
36178 main ()
36179 {
36180 iconv_t cd = iconv_open("","");
36181 iconv(cd,NULL,NULL,NULL,NULL);
36182 iconv_close(cd);
36183 ;
36184 return 0;
36185 }
36186 _ACEOF
36187 rm -f conftest.$ac_objext conftest$ac_exeext
36188 if { (ac_try="$ac_link"
36189 case "(($ac_try" in
36190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36191 *) ac_try_echo=$ac_try;;
36192 esac
36193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36194 (eval "$ac_link") 2>conftest.er1
36195 ac_status=$?
36196 grep -v '^ *+' conftest.er1 >conftest.err
36197 rm -f conftest.er1
36198 cat conftest.err >&5
36199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36200 (exit $ac_status); } && {
36201 test -z "$ac_c_werror_flag" ||
36202 test ! -s conftest.err
36203 } && test -s conftest$ac_exeext &&
36204 $as_test_x conftest$ac_exeext; then
36205 am_cv_lib_iconv=yes
36206 am_cv_func_iconv=yes
36207 else
36208 echo "$as_me: failed program was:" >&5
36209 sed 's/^/| /' conftest.$ac_ext >&5
36210
36211
36212 fi
36213
36214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36215 conftest$ac_exeext conftest.$ac_ext
36216 LIBS="$am_save_LIBS"
36217 fi
36218
36219 fi
36220 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36221 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36222 if test "$am_cv_func_iconv" = yes; then
36223
36224 cat >>confdefs.h <<\_ACEOF
36225 #define HAVE_ICONV 1
36226 _ACEOF
36227
36228 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36229 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36230 if test "${wx_cv_func_iconv_const+set}" = set; then
36231 echo $ECHO_N "(cached) $ECHO_C" >&6
36232 else
36233 cat >conftest.$ac_ext <<_ACEOF
36234 /* confdefs.h. */
36235 _ACEOF
36236 cat confdefs.h >>conftest.$ac_ext
36237 cat >>conftest.$ac_ext <<_ACEOF
36238 /* end confdefs.h. */
36239
36240 #include <stdlib.h>
36241 #include <iconv.h>
36242 extern
36243 #ifdef __cplusplus
36244 "C"
36245 #endif
36246 #if defined(__STDC__) || defined(__cplusplus)
36247 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36248 #else
36249 size_t iconv();
36250 #endif
36251
36252 int
36253 main ()
36254 {
36255
36256 ;
36257 return 0;
36258 }
36259 _ACEOF
36260 rm -f conftest.$ac_objext
36261 if { (ac_try="$ac_compile"
36262 case "(($ac_try" in
36263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36264 *) ac_try_echo=$ac_try;;
36265 esac
36266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36267 (eval "$ac_compile") 2>conftest.er1
36268 ac_status=$?
36269 grep -v '^ *+' conftest.er1 >conftest.err
36270 rm -f conftest.er1
36271 cat conftest.err >&5
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); } && {
36274 test -z "$ac_c_werror_flag" ||
36275 test ! -s conftest.err
36276 } && test -s conftest.$ac_objext; then
36277 wx_cv_func_iconv_const="no"
36278 else
36279 echo "$as_me: failed program was:" >&5
36280 sed 's/^/| /' conftest.$ac_ext >&5
36281
36282 wx_cv_func_iconv_const="yes"
36283
36284 fi
36285
36286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36287
36288 fi
36289 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36290 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36291
36292 iconv_const=
36293 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36294 iconv_const="const"
36295 fi
36296
36297
36298 cat >>confdefs.h <<_ACEOF
36299 #define ICONV_CONST $iconv_const
36300 _ACEOF
36301
36302 fi
36303 LIBICONV=
36304 if test "$am_cv_lib_iconv" = yes; then
36305 LIBICONV="-liconv"
36306 fi
36307
36308
36309 LIBS="$LIBICONV $LIBS"
36310 fi
36311
36312 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36313
36314 for ac_func in sigaction
36315 do
36316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36320 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 else
36322 cat >conftest.$ac_ext <<_ACEOF
36323 /* confdefs.h. */
36324 _ACEOF
36325 cat confdefs.h >>conftest.$ac_ext
36326 cat >>conftest.$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36330 #define $ac_func innocuous_$ac_func
36331
36332 /* System header to define __stub macros and hopefully few prototypes,
36333 which can conflict with char $ac_func (); below.
36334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36335 <limits.h> exists even on freestanding compilers. */
36336
36337 #ifdef __STDC__
36338 # include <limits.h>
36339 #else
36340 # include <assert.h>
36341 #endif
36342
36343 #undef $ac_func
36344
36345 /* Override any GCC internal prototype to avoid an error.
36346 Use char because int might match the return type of a GCC
36347 builtin and then its argument prototype would still apply. */
36348 #ifdef __cplusplus
36349 extern "C"
36350 #endif
36351 char $ac_func ();
36352 /* The GNU C library defines this for functions which it implements
36353 to always fail with ENOSYS. Some functions are actually named
36354 something starting with __ and the normal name is an alias. */
36355 #if defined __stub_$ac_func || defined __stub___$ac_func
36356 choke me
36357 #endif
36358
36359 int
36360 main ()
36361 {
36362 return $ac_func ();
36363 ;
36364 return 0;
36365 }
36366 _ACEOF
36367 rm -f conftest.$ac_objext conftest$ac_exeext
36368 if { (ac_try="$ac_link"
36369 case "(($ac_try" in
36370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36371 *) ac_try_echo=$ac_try;;
36372 esac
36373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36374 (eval "$ac_link") 2>conftest.er1
36375 ac_status=$?
36376 grep -v '^ *+' conftest.er1 >conftest.err
36377 rm -f conftest.er1
36378 cat conftest.err >&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); } && {
36381 test -z "$ac_c_werror_flag" ||
36382 test ! -s conftest.err
36383 } && test -s conftest$ac_exeext &&
36384 $as_test_x conftest$ac_exeext; then
36385 eval "$as_ac_var=yes"
36386 else
36387 echo "$as_me: failed program was:" >&5
36388 sed 's/^/| /' conftest.$ac_ext >&5
36389
36390 eval "$as_ac_var=no"
36391 fi
36392
36393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36394 conftest$ac_exeext conftest.$ac_ext
36395 fi
36396 ac_res=`eval echo '${'$as_ac_var'}'`
36397 { echo "$as_me:$LINENO: result: $ac_res" >&5
36398 echo "${ECHO_T}$ac_res" >&6; }
36399 if test `eval echo '${'$as_ac_var'}'` = yes; then
36400 cat >>confdefs.h <<_ACEOF
36401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36402 _ACEOF
36403
36404 fi
36405 done
36406
36407
36408 if test "$ac_cv_func_sigaction" = "no"; then
36409 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36410 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36411 wxUSE_ON_FATAL_EXCEPTION=no
36412 fi
36413
36414 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36415 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36416 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36417 if test "${wx_cv_type_sa_handler+set}" = set; then
36418 echo $ECHO_N "(cached) $ECHO_C" >&6
36419 else
36420
36421 ac_ext=cpp
36422 ac_cpp='$CXXCPP $CPPFLAGS'
36423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36426
36427 cat >conftest.$ac_ext <<_ACEOF
36428 /* confdefs.h. */
36429 _ACEOF
36430 cat confdefs.h >>conftest.$ac_ext
36431 cat >>conftest.$ac_ext <<_ACEOF
36432 /* end confdefs.h. */
36433 #include <signal.h>
36434 int
36435 main ()
36436 {
36437
36438 extern void testSigHandler(int);
36439
36440 struct sigaction sa;
36441 sa.sa_handler = testSigHandler;
36442
36443 ;
36444 return 0;
36445 }
36446 _ACEOF
36447 rm -f conftest.$ac_objext
36448 if { (ac_try="$ac_compile"
36449 case "(($ac_try" in
36450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36451 *) ac_try_echo=$ac_try;;
36452 esac
36453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36454 (eval "$ac_compile") 2>conftest.er1
36455 ac_status=$?
36456 grep -v '^ *+' conftest.er1 >conftest.err
36457 rm -f conftest.er1
36458 cat conftest.err >&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); } && {
36461 test -z "$ac_cxx_werror_flag" ||
36462 test ! -s conftest.err
36463 } && test -s conftest.$ac_objext; then
36464
36465 wx_cv_type_sa_handler=int
36466
36467 else
36468 echo "$as_me: failed program was:" >&5
36469 sed 's/^/| /' conftest.$ac_ext >&5
36470
36471
36472 wx_cv_type_sa_handler=void
36473
36474 fi
36475
36476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36477 ac_ext=c
36478 ac_cpp='$CPP $CPPFLAGS'
36479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36482
36483
36484 fi
36485 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36486 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36487
36488 cat >>confdefs.h <<_ACEOF
36489 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36490 _ACEOF
36491
36492 fi
36493 fi
36494
36495 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36496 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36497 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36498 if test "${wx_cv_func_backtrace+set}" = set; then
36499 echo $ECHO_N "(cached) $ECHO_C" >&6
36500 else
36501
36502 ac_ext=cpp
36503 ac_cpp='$CXXCPP $CPPFLAGS'
36504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36507
36508 cat >conftest.$ac_ext <<_ACEOF
36509 /* confdefs.h. */
36510 _ACEOF
36511 cat confdefs.h >>conftest.$ac_ext
36512 cat >>conftest.$ac_ext <<_ACEOF
36513 /* end confdefs.h. */
36514 #include <execinfo.h>
36515 int
36516 main ()
36517 {
36518
36519 void *trace[1];
36520 char **messages;
36521
36522 backtrace(trace, 1);
36523 messages = backtrace_symbols(trace, 1);
36524
36525 ;
36526 return 0;
36527 }
36528 _ACEOF
36529 rm -f conftest.$ac_objext
36530 if { (ac_try="$ac_compile"
36531 case "(($ac_try" in
36532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36533 *) ac_try_echo=$ac_try;;
36534 esac
36535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36536 (eval "$ac_compile") 2>conftest.er1
36537 ac_status=$?
36538 grep -v '^ *+' conftest.er1 >conftest.err
36539 rm -f conftest.er1
36540 cat conftest.err >&5
36541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36542 (exit $ac_status); } && {
36543 test -z "$ac_cxx_werror_flag" ||
36544 test ! -s conftest.err
36545 } && test -s conftest.$ac_objext; then
36546 wx_cv_func_backtrace=yes
36547 else
36548 echo "$as_me: failed program was:" >&5
36549 sed 's/^/| /' conftest.$ac_ext >&5
36550
36551 wx_cv_func_backtrace=no
36552
36553 fi
36554
36555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36556 ac_ext=c
36557 ac_cpp='$CPP $CPPFLAGS'
36558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36561
36562
36563
36564 fi
36565 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36566 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36567
36568
36569 if test "$wx_cv_func_backtrace" = "no"; then
36570 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36571 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36572 wxUSE_STACKWALKER=no
36573 else
36574 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36575 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36576 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36577 echo $ECHO_N "(cached) $ECHO_C" >&6
36578 else
36579
36580 ac_ext=cpp
36581 ac_cpp='$CXXCPP $CPPFLAGS'
36582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36585
36586 cat >conftest.$ac_ext <<_ACEOF
36587 /* confdefs.h. */
36588 _ACEOF
36589 cat confdefs.h >>conftest.$ac_ext
36590 cat >>conftest.$ac_ext <<_ACEOF
36591 /* end confdefs.h. */
36592 #include <cxxabi.h>
36593 int
36594 main ()
36595 {
36596
36597 int rc;
36598 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36599
36600 ;
36601 return 0;
36602 }
36603 _ACEOF
36604 rm -f conftest.$ac_objext conftest$ac_exeext
36605 if { (ac_try="$ac_link"
36606 case "(($ac_try" in
36607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36608 *) ac_try_echo=$ac_try;;
36609 esac
36610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36611 (eval "$ac_link") 2>conftest.er1
36612 ac_status=$?
36613 grep -v '^ *+' conftest.er1 >conftest.err
36614 rm -f conftest.er1
36615 cat conftest.err >&5
36616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36617 (exit $ac_status); } && {
36618 test -z "$ac_cxx_werror_flag" ||
36619 test ! -s conftest.err
36620 } && test -s conftest$ac_exeext &&
36621 $as_test_x conftest$ac_exeext; then
36622 wx_cv_func_cxa_demangle=yes
36623 else
36624 echo "$as_me: failed program was:" >&5
36625 sed 's/^/| /' conftest.$ac_ext >&5
36626
36627 wx_cv_func_cxa_demangle=no
36628
36629 fi
36630
36631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36632 conftest$ac_exeext conftest.$ac_ext
36633 ac_ext=c
36634 ac_cpp='$CPP $CPPFLAGS'
36635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638
36639
36640
36641 fi
36642 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36643 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36644
36645 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36646 cat >>confdefs.h <<\_ACEOF
36647 #define HAVE_CXA_DEMANGLE 1
36648 _ACEOF
36649
36650 fi
36651 fi
36652 fi
36653
36654 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36655 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36656 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36657 wxUSE_STACKWALKER=no
36658 fi
36659
36660
36661
36662
36663 for ac_func in mkstemp mktemp
36664 do
36665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36666 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36668 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36669 echo $ECHO_N "(cached) $ECHO_C" >&6
36670 else
36671 cat >conftest.$ac_ext <<_ACEOF
36672 /* confdefs.h. */
36673 _ACEOF
36674 cat confdefs.h >>conftest.$ac_ext
36675 cat >>conftest.$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36679 #define $ac_func innocuous_$ac_func
36680
36681 /* System header to define __stub macros and hopefully few prototypes,
36682 which can conflict with char $ac_func (); below.
36683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36684 <limits.h> exists even on freestanding compilers. */
36685
36686 #ifdef __STDC__
36687 # include <limits.h>
36688 #else
36689 # include <assert.h>
36690 #endif
36691
36692 #undef $ac_func
36693
36694 /* Override any GCC internal prototype to avoid an error.
36695 Use char because int might match the return type of a GCC
36696 builtin and then its argument prototype would still apply. */
36697 #ifdef __cplusplus
36698 extern "C"
36699 #endif
36700 char $ac_func ();
36701 /* The GNU C library defines this for functions which it implements
36702 to always fail with ENOSYS. Some functions are actually named
36703 something starting with __ and the normal name is an alias. */
36704 #if defined __stub_$ac_func || defined __stub___$ac_func
36705 choke me
36706 #endif
36707
36708 int
36709 main ()
36710 {
36711 return $ac_func ();
36712 ;
36713 return 0;
36714 }
36715 _ACEOF
36716 rm -f conftest.$ac_objext conftest$ac_exeext
36717 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
36731 test ! -s conftest.err
36732 } && test -s conftest$ac_exeext &&
36733 $as_test_x conftest$ac_exeext; then
36734 eval "$as_ac_var=yes"
36735 else
36736 echo "$as_me: failed program was:" >&5
36737 sed 's/^/| /' conftest.$ac_ext >&5
36738
36739 eval "$as_ac_var=no"
36740 fi
36741
36742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36743 conftest$ac_exeext conftest.$ac_ext
36744 fi
36745 ac_res=`eval echo '${'$as_ac_var'}'`
36746 { echo "$as_me:$LINENO: result: $ac_res" >&5
36747 echo "${ECHO_T}$ac_res" >&6; }
36748 if test `eval echo '${'$as_ac_var'}'` = yes; then
36749 cat >>confdefs.h <<_ACEOF
36750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36751 _ACEOF
36752 break
36753 fi
36754 done
36755
36756
36757 { echo "$as_me:$LINENO: checking for statfs" >&5
36758 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36759 if test "${wx_cv_func_statfs+set}" = set; then
36760 echo $ECHO_N "(cached) $ECHO_C" >&6
36761 else
36762 cat >conftest.$ac_ext <<_ACEOF
36763 /* confdefs.h. */
36764 _ACEOF
36765 cat confdefs.h >>conftest.$ac_ext
36766 cat >>conftest.$ac_ext <<_ACEOF
36767 /* end confdefs.h. */
36768
36769 #if defined(__BSD__)
36770 #include <sys/param.h>
36771 #include <sys/mount.h>
36772 #else
36773 #include <sys/vfs.h>
36774 #endif
36775
36776 int
36777 main ()
36778 {
36779
36780 long l;
36781 struct statfs fs;
36782 statfs("/", &fs);
36783 l = fs.f_bsize;
36784 l += fs.f_blocks;
36785 l += fs.f_bavail;
36786
36787 ;
36788 return 0;
36789 }
36790 _ACEOF
36791 rm -f conftest.$ac_objext
36792 if { (ac_try="$ac_compile"
36793 case "(($ac_try" in
36794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36795 *) ac_try_echo=$ac_try;;
36796 esac
36797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36798 (eval "$ac_compile") 2>conftest.er1
36799 ac_status=$?
36800 grep -v '^ *+' conftest.er1 >conftest.err
36801 rm -f conftest.er1
36802 cat conftest.err >&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } && {
36805 test -z "$ac_c_werror_flag" ||
36806 test ! -s conftest.err
36807 } && test -s conftest.$ac_objext; then
36808 wx_cv_func_statfs=yes
36809 else
36810 echo "$as_me: failed program was:" >&5
36811 sed 's/^/| /' conftest.$ac_ext >&5
36812
36813 wx_cv_func_statfs=no
36814
36815 fi
36816
36817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36818
36819 fi
36820 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36821 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36822
36823 if test "$wx_cv_func_statfs" = "yes"; then
36824 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36825 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36826 if test "${wx_cv_func_statfs_decl+set}" = set; then
36827 echo $ECHO_N "(cached) $ECHO_C" >&6
36828 else
36829 ac_ext=cpp
36830 ac_cpp='$CXXCPP $CPPFLAGS'
36831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36834
36835 cat >conftest.$ac_ext <<_ACEOF
36836 /* confdefs.h. */
36837 _ACEOF
36838 cat confdefs.h >>conftest.$ac_ext
36839 cat >>conftest.$ac_ext <<_ACEOF
36840 /* end confdefs.h. */
36841
36842 #if defined(__BSD__)
36843 #include <sys/param.h>
36844 #include <sys/mount.h>
36845 #else
36846 #include <sys/vfs.h>
36847 #endif
36848
36849 int
36850 main ()
36851 {
36852
36853 struct statfs fs;
36854 statfs("", &fs);
36855
36856 ;
36857 return 0;
36858 }
36859 _ACEOF
36860 rm -f conftest.$ac_objext
36861 if { (ac_try="$ac_compile"
36862 case "(($ac_try" in
36863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36864 *) ac_try_echo=$ac_try;;
36865 esac
36866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36867 (eval "$ac_compile") 2>conftest.er1
36868 ac_status=$?
36869 grep -v '^ *+' conftest.er1 >conftest.err
36870 rm -f conftest.er1
36871 cat conftest.err >&5
36872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36873 (exit $ac_status); } && {
36874 test -z "$ac_cxx_werror_flag" ||
36875 test ! -s conftest.err
36876 } && test -s conftest.$ac_objext; then
36877 wx_cv_func_statfs_decl=yes
36878 else
36879 echo "$as_me: failed program was:" >&5
36880 sed 's/^/| /' conftest.$ac_ext >&5
36881
36882 wx_cv_func_statfs_decl=no
36883
36884 fi
36885
36886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36887 ac_ext=c
36888 ac_cpp='$CPP $CPPFLAGS'
36889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36892
36893
36894 fi
36895 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36896 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36897
36898 if test "$wx_cv_func_statfs_decl" = "yes"; then
36899 cat >>confdefs.h <<\_ACEOF
36900 #define HAVE_STATFS_DECL 1
36901 _ACEOF
36902
36903 fi
36904
36905 wx_cv_type_statvfs_t="struct statfs"
36906 cat >>confdefs.h <<\_ACEOF
36907 #define HAVE_STATFS 1
36908 _ACEOF
36909
36910 else
36911 { echo "$as_me:$LINENO: checking for statvfs" >&5
36912 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36913 if test "${wx_cv_func_statvfs+set}" = set; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 else
36916 cat >conftest.$ac_ext <<_ACEOF
36917 /* confdefs.h. */
36918 _ACEOF
36919 cat confdefs.h >>conftest.$ac_ext
36920 cat >>conftest.$ac_ext <<_ACEOF
36921 /* end confdefs.h. */
36922
36923 #include <stddef.h>
36924 #include <sys/statvfs.h>
36925
36926 int
36927 main ()
36928 {
36929
36930 statvfs("/", NULL);
36931
36932 ;
36933 return 0;
36934 }
36935 _ACEOF
36936 rm -f conftest.$ac_objext
36937 if { (ac_try="$ac_compile"
36938 case "(($ac_try" in
36939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36940 *) ac_try_echo=$ac_try;;
36941 esac
36942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36943 (eval "$ac_compile") 2>conftest.er1
36944 ac_status=$?
36945 grep -v '^ *+' conftest.er1 >conftest.err
36946 rm -f conftest.er1
36947 cat conftest.err >&5
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); } && {
36950 test -z "$ac_c_werror_flag" ||
36951 test ! -s conftest.err
36952 } && test -s conftest.$ac_objext; then
36953 wx_cv_func_statvfs=yes
36954 else
36955 echo "$as_me: failed program was:" >&5
36956 sed 's/^/| /' conftest.$ac_ext >&5
36957
36958 wx_cv_func_statvfs=no
36959
36960 fi
36961
36962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36963
36964 fi
36965 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36966 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36967
36968 if test "$wx_cv_func_statvfs" = "yes"; then
36969 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36970 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36971 if test "${wx_cv_type_statvfs_t+set}" = set; then
36972 echo $ECHO_N "(cached) $ECHO_C" >&6
36973 else
36974 ac_ext=cpp
36975 ac_cpp='$CXXCPP $CPPFLAGS'
36976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36979
36980 cat >conftest.$ac_ext <<_ACEOF
36981 /* confdefs.h. */
36982 _ACEOF
36983 cat confdefs.h >>conftest.$ac_ext
36984 cat >>conftest.$ac_ext <<_ACEOF
36985 /* end confdefs.h. */
36986
36987 #include <sys/statvfs.h>
36988
36989 int
36990 main ()
36991 {
36992
36993 long l;
36994 statvfs_t fs;
36995 statvfs("/", &fs);
36996 l = fs.f_bsize;
36997 l += fs.f_blocks;
36998 l += fs.f_bavail;
36999
37000 ;
37001 return 0;
37002 }
37003 _ACEOF
37004 rm -f conftest.$ac_objext
37005 if { (ac_try="$ac_compile"
37006 case "(($ac_try" in
37007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37008 *) ac_try_echo=$ac_try;;
37009 esac
37010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37011 (eval "$ac_compile") 2>conftest.er1
37012 ac_status=$?
37013 grep -v '^ *+' conftest.er1 >conftest.err
37014 rm -f conftest.er1
37015 cat conftest.err >&5
37016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017 (exit $ac_status); } && {
37018 test -z "$ac_cxx_werror_flag" ||
37019 test ! -s conftest.err
37020 } && test -s conftest.$ac_objext; then
37021 wx_cv_type_statvfs_t=statvfs_t
37022 else
37023 echo "$as_me: failed program was:" >&5
37024 sed 's/^/| /' conftest.$ac_ext >&5
37025
37026
37027 cat >conftest.$ac_ext <<_ACEOF
37028 /* confdefs.h. */
37029 _ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37033
37034 #include <sys/statvfs.h>
37035
37036 int
37037 main ()
37038 {
37039
37040 long l;
37041 struct statvfs fs;
37042 statvfs("/", &fs);
37043 l = fs.f_bsize;
37044 l += fs.f_blocks;
37045 l += fs.f_bavail;
37046
37047 ;
37048 return 0;
37049 }
37050 _ACEOF
37051 rm -f conftest.$ac_objext
37052 if { (ac_try="$ac_compile"
37053 case "(($ac_try" in
37054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37055 *) ac_try_echo=$ac_try;;
37056 esac
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_compile") 2>conftest.er1
37059 ac_status=$?
37060 grep -v '^ *+' conftest.er1 >conftest.err
37061 rm -f conftest.er1
37062 cat conftest.err >&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } && {
37065 test -z "$ac_cxx_werror_flag" ||
37066 test ! -s conftest.err
37067 } && test -s conftest.$ac_objext; then
37068 wx_cv_type_statvfs_t="struct statvfs"
37069 else
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37072
37073 wx_cv_type_statvfs_t="unknown"
37074
37075 fi
37076
37077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37078
37079
37080 fi
37081
37082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37083 ac_ext=c
37084 ac_cpp='$CPP $CPPFLAGS'
37085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37088
37089
37090 fi
37091 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37092 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37093
37094 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37095 cat >>confdefs.h <<\_ACEOF
37096 #define HAVE_STATVFS 1
37097 _ACEOF
37098
37099 fi
37100 else
37101 wx_cv_type_statvfs_t="unknown"
37102 fi
37103 fi
37104
37105 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37106 cat >>confdefs.h <<_ACEOF
37107 #define WX_STATFS_T $wx_cv_type_statvfs_t
37108 _ACEOF
37109
37110 else
37111 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37112 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37113 fi
37114
37115 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37116
37117
37118 for ac_func in fcntl flock
37119 do
37120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37121 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37123 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37124 echo $ECHO_N "(cached) $ECHO_C" >&6
37125 else
37126 cat >conftest.$ac_ext <<_ACEOF
37127 /* confdefs.h. */
37128 _ACEOF
37129 cat confdefs.h >>conftest.$ac_ext
37130 cat >>conftest.$ac_ext <<_ACEOF
37131 /* end confdefs.h. */
37132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37134 #define $ac_func innocuous_$ac_func
37135
37136 /* System header to define __stub macros and hopefully few prototypes,
37137 which can conflict with char $ac_func (); below.
37138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37139 <limits.h> exists even on freestanding compilers. */
37140
37141 #ifdef __STDC__
37142 # include <limits.h>
37143 #else
37144 # include <assert.h>
37145 #endif
37146
37147 #undef $ac_func
37148
37149 /* Override any GCC internal prototype to avoid an error.
37150 Use char because int might match the return type of a GCC
37151 builtin and then its argument prototype would still apply. */
37152 #ifdef __cplusplus
37153 extern "C"
37154 #endif
37155 char $ac_func ();
37156 /* The GNU C library defines this for functions which it implements
37157 to always fail with ENOSYS. Some functions are actually named
37158 something starting with __ and the normal name is an alias. */
37159 #if defined __stub_$ac_func || defined __stub___$ac_func
37160 choke me
37161 #endif
37162
37163 int
37164 main ()
37165 {
37166 return $ac_func ();
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 eval "$as_ac_var=yes"
37190 else
37191 echo "$as_me: failed program was:" >&5
37192 sed 's/^/| /' conftest.$ac_ext >&5
37193
37194 eval "$as_ac_var=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 fi
37200 ac_res=`eval echo '${'$as_ac_var'}'`
37201 { echo "$as_me:$LINENO: result: $ac_res" >&5
37202 echo "${ECHO_T}$ac_res" >&6; }
37203 if test `eval echo '${'$as_ac_var'}'` = yes; then
37204 cat >>confdefs.h <<_ACEOF
37205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37206 _ACEOF
37207 break
37208 fi
37209 done
37210
37211
37212 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37213 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37214 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37215 wxUSE_SNGLINST_CHECKER=no
37216 fi
37217 fi
37218
37219
37220
37221 for ac_func in setenv putenv
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 break
37311 fi
37312 done
37313
37314 if test "$ac_cv_func_setenv" = "yes"; then
37315
37316 for ac_func in unsetenv
37317 do
37318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37321 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37332 #define $ac_func innocuous_$ac_func
37333
37334 /* System header to define __stub macros and hopefully few prototypes,
37335 which can conflict with char $ac_func (); below.
37336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37337 <limits.h> exists even on freestanding compilers. */
37338
37339 #ifdef __STDC__
37340 # include <limits.h>
37341 #else
37342 # include <assert.h>
37343 #endif
37344
37345 #undef $ac_func
37346
37347 /* Override any GCC internal prototype to avoid an error.
37348 Use char because int might match the return type of a GCC
37349 builtin and then its argument prototype would still apply. */
37350 #ifdef __cplusplus
37351 extern "C"
37352 #endif
37353 char $ac_func ();
37354 /* The GNU C library defines this for functions which it implements
37355 to always fail with ENOSYS. Some functions are actually named
37356 something starting with __ and the normal name is an alias. */
37357 #if defined __stub_$ac_func || defined __stub___$ac_func
37358 choke me
37359 #endif
37360
37361 int
37362 main ()
37363 {
37364 return $ac_func ();
37365 ;
37366 return 0;
37367 }
37368 _ACEOF
37369 rm -f conftest.$ac_objext conftest$ac_exeext
37370 if { (ac_try="$ac_link"
37371 case "(($ac_try" in
37372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37373 *) ac_try_echo=$ac_try;;
37374 esac
37375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37376 (eval "$ac_link") 2>conftest.er1
37377 ac_status=$?
37378 grep -v '^ *+' conftest.er1 >conftest.err
37379 rm -f conftest.er1
37380 cat conftest.err >&5
37381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382 (exit $ac_status); } && {
37383 test -z "$ac_c_werror_flag" ||
37384 test ! -s conftest.err
37385 } && test -s conftest$ac_exeext &&
37386 $as_test_x conftest$ac_exeext; then
37387 eval "$as_ac_var=yes"
37388 else
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37391
37392 eval "$as_ac_var=no"
37393 fi
37394
37395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37396 conftest$ac_exeext conftest.$ac_ext
37397 fi
37398 ac_res=`eval echo '${'$as_ac_var'}'`
37399 { echo "$as_me:$LINENO: result: $ac_res" >&5
37400 echo "${ECHO_T}$ac_res" >&6; }
37401 if test `eval echo '${'$as_ac_var'}'` = yes; then
37402 cat >>confdefs.h <<_ACEOF
37403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37404 _ACEOF
37405
37406 fi
37407 done
37408
37409 fi
37410
37411 HAVE_SOME_SLEEP_FUNC=0
37412 if test "$USE_BEOS" = 1; then
37413 cat >>confdefs.h <<\_ACEOF
37414 #define HAVE_SLEEP 1
37415 _ACEOF
37416
37417 HAVE_SOME_SLEEP_FUNC=1
37418 fi
37419
37420 if test "$USE_DARWIN" = 1; then
37421 cat >>confdefs.h <<\_ACEOF
37422 #define HAVE_USLEEP 1
37423 _ACEOF
37424
37425 HAVE_SOME_SLEEP_FUNC=1
37426 fi
37427
37428 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37429 POSIX4_LINK=
37430
37431 for ac_func in nanosleep
37432 do
37433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37434 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37436 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37437 echo $ECHO_N "(cached) $ECHO_C" >&6
37438 else
37439 cat >conftest.$ac_ext <<_ACEOF
37440 /* confdefs.h. */
37441 _ACEOF
37442 cat confdefs.h >>conftest.$ac_ext
37443 cat >>conftest.$ac_ext <<_ACEOF
37444 /* end confdefs.h. */
37445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37447 #define $ac_func innocuous_$ac_func
37448
37449 /* System header to define __stub macros and hopefully few prototypes,
37450 which can conflict with char $ac_func (); below.
37451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37452 <limits.h> exists even on freestanding compilers. */
37453
37454 #ifdef __STDC__
37455 # include <limits.h>
37456 #else
37457 # include <assert.h>
37458 #endif
37459
37460 #undef $ac_func
37461
37462 /* Override any GCC internal prototype to avoid an error.
37463 Use char because int might match the return type of a GCC
37464 builtin and then its argument prototype would still apply. */
37465 #ifdef __cplusplus
37466 extern "C"
37467 #endif
37468 char $ac_func ();
37469 /* The GNU C library defines this for functions which it implements
37470 to always fail with ENOSYS. Some functions are actually named
37471 something starting with __ and the normal name is an alias. */
37472 #if defined __stub_$ac_func || defined __stub___$ac_func
37473 choke me
37474 #endif
37475
37476 int
37477 main ()
37478 {
37479 return $ac_func ();
37480 ;
37481 return 0;
37482 }
37483 _ACEOF
37484 rm -f conftest.$ac_objext conftest$ac_exeext
37485 if { (ac_try="$ac_link"
37486 case "(($ac_try" in
37487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37488 *) ac_try_echo=$ac_try;;
37489 esac
37490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37491 (eval "$ac_link") 2>conftest.er1
37492 ac_status=$?
37493 grep -v '^ *+' conftest.er1 >conftest.err
37494 rm -f conftest.er1
37495 cat conftest.err >&5
37496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37497 (exit $ac_status); } && {
37498 test -z "$ac_c_werror_flag" ||
37499 test ! -s conftest.err
37500 } && test -s conftest$ac_exeext &&
37501 $as_test_x conftest$ac_exeext; then
37502 eval "$as_ac_var=yes"
37503 else
37504 echo "$as_me: failed program was:" >&5
37505 sed 's/^/| /' conftest.$ac_ext >&5
37506
37507 eval "$as_ac_var=no"
37508 fi
37509
37510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37511 conftest$ac_exeext conftest.$ac_ext
37512 fi
37513 ac_res=`eval echo '${'$as_ac_var'}'`
37514 { echo "$as_me:$LINENO: result: $ac_res" >&5
37515 echo "${ECHO_T}$ac_res" >&6; }
37516 if test `eval echo '${'$as_ac_var'}'` = yes; then
37517 cat >>confdefs.h <<_ACEOF
37518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37519 _ACEOF
37520 cat >>confdefs.h <<\_ACEOF
37521 #define HAVE_NANOSLEEP 1
37522 _ACEOF
37523
37524 else
37525
37526 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37527 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37528 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37529 echo $ECHO_N "(cached) $ECHO_C" >&6
37530 else
37531 ac_check_lib_save_LIBS=$LIBS
37532 LIBS="-lposix4 $LIBS"
37533 cat >conftest.$ac_ext <<_ACEOF
37534 /* confdefs.h. */
37535 _ACEOF
37536 cat confdefs.h >>conftest.$ac_ext
37537 cat >>conftest.$ac_ext <<_ACEOF
37538 /* end confdefs.h. */
37539
37540 /* Override any GCC internal prototype to avoid an error.
37541 Use char because int might match the return type of a GCC
37542 builtin and then its argument prototype would still apply. */
37543 #ifdef __cplusplus
37544 extern "C"
37545 #endif
37546 char nanosleep ();
37547 int
37548 main ()
37549 {
37550 return nanosleep ();
37551 ;
37552 return 0;
37553 }
37554 _ACEOF
37555 rm -f conftest.$ac_objext conftest$ac_exeext
37556 if { (ac_try="$ac_link"
37557 case "(($ac_try" in
37558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37559 *) ac_try_echo=$ac_try;;
37560 esac
37561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37562 (eval "$ac_link") 2>conftest.er1
37563 ac_status=$?
37564 grep -v '^ *+' conftest.er1 >conftest.err
37565 rm -f conftest.er1
37566 cat conftest.err >&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); } && {
37569 test -z "$ac_c_werror_flag" ||
37570 test ! -s conftest.err
37571 } && test -s conftest$ac_exeext &&
37572 $as_test_x conftest$ac_exeext; then
37573 ac_cv_lib_posix4_nanosleep=yes
37574 else
37575 echo "$as_me: failed program was:" >&5
37576 sed 's/^/| /' conftest.$ac_ext >&5
37577
37578 ac_cv_lib_posix4_nanosleep=no
37579 fi
37580
37581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37582 conftest$ac_exeext conftest.$ac_ext
37583 LIBS=$ac_check_lib_save_LIBS
37584 fi
37585 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37586 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37587 if test $ac_cv_lib_posix4_nanosleep = yes; then
37588
37589 cat >>confdefs.h <<\_ACEOF
37590 #define HAVE_NANOSLEEP 1
37591 _ACEOF
37592
37593 POSIX4_LINK=" -lposix4"
37594
37595 else
37596
37597
37598 for wx_func in usleep
37599 do
37600 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37601 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37602 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37603 echo $ECHO_N "(cached) $ECHO_C" >&6
37604 else
37605
37606 cat >conftest.$ac_ext <<_ACEOF
37607
37608 /* confdefs.h. */
37609 _ACEOF
37610 cat confdefs.h >>conftest.$ac_ext
37611 cat >>conftest.$ac_ext <<_ACEOF
37612 /* end confdefs.h. */
37613
37614
37615 $ac_includes_default
37616
37617 int
37618 main ()
37619 {
37620
37621 #ifndef $wx_func
37622 &$wx_func;
37623 #endif
37624
37625
37626 ;
37627 return 0;
37628 }
37629
37630 _ACEOF
37631 rm -f conftest.$ac_objext conftest$ac_exeext
37632 if { (ac_try="$ac_link"
37633 case "(($ac_try" in
37634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37635 *) ac_try_echo=$ac_try;;
37636 esac
37637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37638 (eval "$ac_link") 2>conftest.er1
37639 ac_status=$?
37640 grep -v '^ *+' conftest.er1 >conftest.err
37641 rm -f conftest.er1
37642 cat conftest.err >&5
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); } && {
37645 test -z "$ac_c_werror_flag" ||
37646 test ! -s conftest.err
37647 } && test -s conftest$ac_exeext &&
37648 $as_test_x conftest$ac_exeext; then
37649 eval wx_cv_func_$wx_func=yes
37650 else
37651 echo "$as_me: failed program was:" >&5
37652 sed 's/^/| /' conftest.$ac_ext >&5
37653
37654 eval wx_cv_func_$wx_func=no
37655 fi
37656
37657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37658 conftest$ac_exeext conftest.$ac_ext
37659
37660 fi
37661 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37662 { echo "$as_me:$LINENO: result: $ac_res" >&5
37663 echo "${ECHO_T}$ac_res" >&6; }
37664
37665 if eval test \$wx_cv_func_$wx_func = yes
37666 then
37667 cat >>confdefs.h <<_ACEOF
37668 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37669 _ACEOF
37670
37671
37672 else
37673 :
37674 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37675 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37676
37677 fi
37678 done
37679
37680
37681
37682 fi
37683
37684
37685
37686 fi
37687 done
37688
37689 fi
37690
37691
37692 for wx_func in uname
37693 do
37694 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37695 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37696 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37697 echo $ECHO_N "(cached) $ECHO_C" >&6
37698 else
37699
37700 cat >conftest.$ac_ext <<_ACEOF
37701
37702 /* confdefs.h. */
37703 _ACEOF
37704 cat confdefs.h >>conftest.$ac_ext
37705 cat >>conftest.$ac_ext <<_ACEOF
37706 /* end confdefs.h. */
37707
37708 #include <sys/utsname.h>
37709 $ac_includes_default
37710
37711 int
37712 main ()
37713 {
37714
37715 #ifndef $wx_func
37716 &$wx_func;
37717 #endif
37718
37719
37720 ;
37721 return 0;
37722 }
37723
37724 _ACEOF
37725 rm -f conftest.$ac_objext conftest$ac_exeext
37726 if { (ac_try="$ac_link"
37727 case "(($ac_try" in
37728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37729 *) ac_try_echo=$ac_try;;
37730 esac
37731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37732 (eval "$ac_link") 2>conftest.er1
37733 ac_status=$?
37734 grep -v '^ *+' conftest.er1 >conftest.err
37735 rm -f conftest.er1
37736 cat conftest.err >&5
37737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37738 (exit $ac_status); } && {
37739 test -z "$ac_c_werror_flag" ||
37740 test ! -s conftest.err
37741 } && test -s conftest$ac_exeext &&
37742 $as_test_x conftest$ac_exeext; then
37743 eval wx_cv_func_$wx_func=yes
37744 else
37745 echo "$as_me: failed program was:" >&5
37746 sed 's/^/| /' conftest.$ac_ext >&5
37747
37748 eval wx_cv_func_$wx_func=no
37749 fi
37750
37751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37752 conftest$ac_exeext conftest.$ac_ext
37753
37754 fi
37755 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37756 { echo "$as_me:$LINENO: result: $ac_res" >&5
37757 echo "${ECHO_T}$ac_res" >&6; }
37758
37759 if eval test \$wx_cv_func_$wx_func = yes
37760 then
37761 cat >>confdefs.h <<_ACEOF
37762 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37763 _ACEOF
37764
37765
37766 else
37767 :
37768
37769 fi
37770 done
37771
37772 if test "$wx_cv_func_uname" != yes; then
37773
37774 for wx_func in gethostname
37775 do
37776 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37777 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37778 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37779 echo $ECHO_N "(cached) $ECHO_C" >&6
37780 else
37781
37782 cat >conftest.$ac_ext <<_ACEOF
37783
37784 /* confdefs.h. */
37785 _ACEOF
37786 cat confdefs.h >>conftest.$ac_ext
37787 cat >>conftest.$ac_ext <<_ACEOF
37788 /* end confdefs.h. */
37789
37790
37791 $ac_includes_default
37792
37793 int
37794 main ()
37795 {
37796
37797 #ifndef $wx_func
37798 &$wx_func;
37799 #endif
37800
37801
37802 ;
37803 return 0;
37804 }
37805
37806 _ACEOF
37807 rm -f conftest.$ac_objext conftest$ac_exeext
37808 if { (ac_try="$ac_link"
37809 case "(($ac_try" in
37810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37811 *) ac_try_echo=$ac_try;;
37812 esac
37813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37814 (eval "$ac_link") 2>conftest.er1
37815 ac_status=$?
37816 grep -v '^ *+' conftest.er1 >conftest.err
37817 rm -f conftest.er1
37818 cat conftest.err >&5
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); } && {
37821 test -z "$ac_c_werror_flag" ||
37822 test ! -s conftest.err
37823 } && test -s conftest$ac_exeext &&
37824 $as_test_x conftest$ac_exeext; then
37825 eval wx_cv_func_$wx_func=yes
37826 else
37827 echo "$as_me: failed program was:" >&5
37828 sed 's/^/| /' conftest.$ac_ext >&5
37829
37830 eval wx_cv_func_$wx_func=no
37831 fi
37832
37833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37834 conftest$ac_exeext conftest.$ac_ext
37835
37836 fi
37837 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37838 { echo "$as_me:$LINENO: result: $ac_res" >&5
37839 echo "${ECHO_T}$ac_res" >&6; }
37840
37841 if eval test \$wx_cv_func_$wx_func = yes
37842 then
37843 cat >>confdefs.h <<_ACEOF
37844 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37845 _ACEOF
37846
37847
37848 else
37849 :
37850
37851 fi
37852 done
37853
37854 fi
37855
37856
37857 for wx_func in strtok_r
37858 do
37859 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37860 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37861 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37862 echo $ECHO_N "(cached) $ECHO_C" >&6
37863 else
37864
37865 cat >conftest.$ac_ext <<_ACEOF
37866
37867 /* confdefs.h. */
37868 _ACEOF
37869 cat confdefs.h >>conftest.$ac_ext
37870 cat >>conftest.$ac_ext <<_ACEOF
37871 /* end confdefs.h. */
37872
37873 #define _REENTRANT
37874 $ac_includes_default
37875
37876 int
37877 main ()
37878 {
37879
37880 #ifndef $wx_func
37881 &$wx_func;
37882 #endif
37883
37884
37885 ;
37886 return 0;
37887 }
37888
37889 _ACEOF
37890 rm -f conftest.$ac_objext conftest$ac_exeext
37891 if { (ac_try="$ac_link"
37892 case "(($ac_try" in
37893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37894 *) ac_try_echo=$ac_try;;
37895 esac
37896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37897 (eval "$ac_link") 2>conftest.er1
37898 ac_status=$?
37899 grep -v '^ *+' conftest.er1 >conftest.err
37900 rm -f conftest.er1
37901 cat conftest.err >&5
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); } && {
37904 test -z "$ac_c_werror_flag" ||
37905 test ! -s conftest.err
37906 } && test -s conftest$ac_exeext &&
37907 $as_test_x conftest$ac_exeext; then
37908 eval wx_cv_func_$wx_func=yes
37909 else
37910 echo "$as_me: failed program was:" >&5
37911 sed 's/^/| /' conftest.$ac_ext >&5
37912
37913 eval wx_cv_func_$wx_func=no
37914 fi
37915
37916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37917 conftest$ac_exeext conftest.$ac_ext
37918
37919 fi
37920 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37921 { echo "$as_me:$LINENO: result: $ac_res" >&5
37922 echo "${ECHO_T}$ac_res" >&6; }
37923
37924 if eval test \$wx_cv_func_$wx_func = yes
37925 then
37926 cat >>confdefs.h <<_ACEOF
37927 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37928 _ACEOF
37929
37930
37931 else
37932 :
37933
37934 fi
37935 done
37936
37937
37938 INET_LINK=
37939
37940 for ac_func in inet_addr
37941 do
37942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37943 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37945 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37946 echo $ECHO_N "(cached) $ECHO_C" >&6
37947 else
37948 cat >conftest.$ac_ext <<_ACEOF
37949 /* confdefs.h. */
37950 _ACEOF
37951 cat confdefs.h >>conftest.$ac_ext
37952 cat >>conftest.$ac_ext <<_ACEOF
37953 /* end confdefs.h. */
37954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37956 #define $ac_func innocuous_$ac_func
37957
37958 /* System header to define __stub macros and hopefully few prototypes,
37959 which can conflict with char $ac_func (); below.
37960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37961 <limits.h> exists even on freestanding compilers. */
37962
37963 #ifdef __STDC__
37964 # include <limits.h>
37965 #else
37966 # include <assert.h>
37967 #endif
37968
37969 #undef $ac_func
37970
37971 /* Override any GCC internal prototype to avoid an error.
37972 Use char because int might match the return type of a GCC
37973 builtin and then its argument prototype would still apply. */
37974 #ifdef __cplusplus
37975 extern "C"
37976 #endif
37977 char $ac_func ();
37978 /* The GNU C library defines this for functions which it implements
37979 to always fail with ENOSYS. Some functions are actually named
37980 something starting with __ and the normal name is an alias. */
37981 #if defined __stub_$ac_func || defined __stub___$ac_func
37982 choke me
37983 #endif
37984
37985 int
37986 main ()
37987 {
37988 return $ac_func ();
37989 ;
37990 return 0;
37991 }
37992 _ACEOF
37993 rm -f conftest.$ac_objext conftest$ac_exeext
37994 if { (ac_try="$ac_link"
37995 case "(($ac_try" in
37996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37997 *) ac_try_echo=$ac_try;;
37998 esac
37999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38000 (eval "$ac_link") 2>conftest.er1
38001 ac_status=$?
38002 grep -v '^ *+' conftest.er1 >conftest.err
38003 rm -f conftest.er1
38004 cat conftest.err >&5
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); } && {
38007 test -z "$ac_c_werror_flag" ||
38008 test ! -s conftest.err
38009 } && test -s conftest$ac_exeext &&
38010 $as_test_x conftest$ac_exeext; then
38011 eval "$as_ac_var=yes"
38012 else
38013 echo "$as_me: failed program was:" >&5
38014 sed 's/^/| /' conftest.$ac_ext >&5
38015
38016 eval "$as_ac_var=no"
38017 fi
38018
38019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38020 conftest$ac_exeext conftest.$ac_ext
38021 fi
38022 ac_res=`eval echo '${'$as_ac_var'}'`
38023 { echo "$as_me:$LINENO: result: $ac_res" >&5
38024 echo "${ECHO_T}$ac_res" >&6; }
38025 if test `eval echo '${'$as_ac_var'}'` = yes; then
38026 cat >>confdefs.h <<_ACEOF
38027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38028 _ACEOF
38029 cat >>confdefs.h <<\_ACEOF
38030 #define HAVE_INET_ADDR 1
38031 _ACEOF
38032
38033 else
38034
38035 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38036 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38037 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 else
38040 ac_check_lib_save_LIBS=$LIBS
38041 LIBS="-lnsl $LIBS"
38042 cat >conftest.$ac_ext <<_ACEOF
38043 /* confdefs.h. */
38044 _ACEOF
38045 cat confdefs.h >>conftest.$ac_ext
38046 cat >>conftest.$ac_ext <<_ACEOF
38047 /* end confdefs.h. */
38048
38049 /* Override any GCC internal prototype to avoid an error.
38050 Use char because int might match the return type of a GCC
38051 builtin and then its argument prototype would still apply. */
38052 #ifdef __cplusplus
38053 extern "C"
38054 #endif
38055 char inet_addr ();
38056 int
38057 main ()
38058 {
38059 return inet_addr ();
38060 ;
38061 return 0;
38062 }
38063 _ACEOF
38064 rm -f conftest.$ac_objext conftest$ac_exeext
38065 if { (ac_try="$ac_link"
38066 case "(($ac_try" in
38067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38068 *) ac_try_echo=$ac_try;;
38069 esac
38070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38071 (eval "$ac_link") 2>conftest.er1
38072 ac_status=$?
38073 grep -v '^ *+' conftest.er1 >conftest.err
38074 rm -f conftest.er1
38075 cat conftest.err >&5
38076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077 (exit $ac_status); } && {
38078 test -z "$ac_c_werror_flag" ||
38079 test ! -s conftest.err
38080 } && test -s conftest$ac_exeext &&
38081 $as_test_x conftest$ac_exeext; then
38082 ac_cv_lib_nsl_inet_addr=yes
38083 else
38084 echo "$as_me: failed program was:" >&5
38085 sed 's/^/| /' conftest.$ac_ext >&5
38086
38087 ac_cv_lib_nsl_inet_addr=no
38088 fi
38089
38090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38091 conftest$ac_exeext conftest.$ac_ext
38092 LIBS=$ac_check_lib_save_LIBS
38093 fi
38094 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38095 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38096 if test $ac_cv_lib_nsl_inet_addr = yes; then
38097 INET_LINK="nsl"
38098 else
38099
38100 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38101 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38102 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38103 echo $ECHO_N "(cached) $ECHO_C" >&6
38104 else
38105 ac_check_lib_save_LIBS=$LIBS
38106 LIBS="-lresolv $LIBS"
38107 cat >conftest.$ac_ext <<_ACEOF
38108 /* confdefs.h. */
38109 _ACEOF
38110 cat confdefs.h >>conftest.$ac_ext
38111 cat >>conftest.$ac_ext <<_ACEOF
38112 /* end confdefs.h. */
38113
38114 /* Override any GCC internal prototype to avoid an error.
38115 Use char because int might match the return type of a GCC
38116 builtin and then its argument prototype would still apply. */
38117 #ifdef __cplusplus
38118 extern "C"
38119 #endif
38120 char inet_addr ();
38121 int
38122 main ()
38123 {
38124 return inet_addr ();
38125 ;
38126 return 0;
38127 }
38128 _ACEOF
38129 rm -f conftest.$ac_objext conftest$ac_exeext
38130 if { (ac_try="$ac_link"
38131 case "(($ac_try" in
38132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38133 *) ac_try_echo=$ac_try;;
38134 esac
38135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38136 (eval "$ac_link") 2>conftest.er1
38137 ac_status=$?
38138 grep -v '^ *+' conftest.er1 >conftest.err
38139 rm -f conftest.er1
38140 cat conftest.err >&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); } && {
38143 test -z "$ac_c_werror_flag" ||
38144 test ! -s conftest.err
38145 } && test -s conftest$ac_exeext &&
38146 $as_test_x conftest$ac_exeext; then
38147 ac_cv_lib_resolv_inet_addr=yes
38148 else
38149 echo "$as_me: failed program was:" >&5
38150 sed 's/^/| /' conftest.$ac_ext >&5
38151
38152 ac_cv_lib_resolv_inet_addr=no
38153 fi
38154
38155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38156 conftest$ac_exeext conftest.$ac_ext
38157 LIBS=$ac_check_lib_save_LIBS
38158 fi
38159 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38160 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38161 if test $ac_cv_lib_resolv_inet_addr = yes; then
38162 INET_LINK="resolv"
38163 else
38164
38165 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38166 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38167 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38168 echo $ECHO_N "(cached) $ECHO_C" >&6
38169 else
38170 ac_check_lib_save_LIBS=$LIBS
38171 LIBS="-lsocket $LIBS"
38172 cat >conftest.$ac_ext <<_ACEOF
38173 /* confdefs.h. */
38174 _ACEOF
38175 cat confdefs.h >>conftest.$ac_ext
38176 cat >>conftest.$ac_ext <<_ACEOF
38177 /* end confdefs.h. */
38178
38179 /* Override any GCC internal prototype to avoid an error.
38180 Use char because int might match the return type of a GCC
38181 builtin and then its argument prototype would still apply. */
38182 #ifdef __cplusplus
38183 extern "C"
38184 #endif
38185 char inet_addr ();
38186 int
38187 main ()
38188 {
38189 return inet_addr ();
38190 ;
38191 return 0;
38192 }
38193 _ACEOF
38194 rm -f conftest.$ac_objext conftest$ac_exeext
38195 if { (ac_try="$ac_link"
38196 case "(($ac_try" in
38197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38198 *) ac_try_echo=$ac_try;;
38199 esac
38200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38201 (eval "$ac_link") 2>conftest.er1
38202 ac_status=$?
38203 grep -v '^ *+' conftest.er1 >conftest.err
38204 rm -f conftest.er1
38205 cat conftest.err >&5
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); } && {
38208 test -z "$ac_c_werror_flag" ||
38209 test ! -s conftest.err
38210 } && test -s conftest$ac_exeext &&
38211 $as_test_x conftest$ac_exeext; then
38212 ac_cv_lib_socket_inet_addr=yes
38213 else
38214 echo "$as_me: failed program was:" >&5
38215 sed 's/^/| /' conftest.$ac_ext >&5
38216
38217 ac_cv_lib_socket_inet_addr=no
38218 fi
38219
38220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38221 conftest$ac_exeext conftest.$ac_ext
38222 LIBS=$ac_check_lib_save_LIBS
38223 fi
38224 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38225 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38226 if test $ac_cv_lib_socket_inet_addr = yes; then
38227 INET_LINK="socket"
38228
38229 fi
38230
38231
38232
38233 fi
38234
38235
38236
38237 fi
38238
38239
38240
38241 fi
38242 done
38243
38244
38245
38246 for ac_func in inet_aton
38247 do
38248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38249 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38251 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38252 echo $ECHO_N "(cached) $ECHO_C" >&6
38253 else
38254 cat >conftest.$ac_ext <<_ACEOF
38255 /* confdefs.h. */
38256 _ACEOF
38257 cat confdefs.h >>conftest.$ac_ext
38258 cat >>conftest.$ac_ext <<_ACEOF
38259 /* end confdefs.h. */
38260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38262 #define $ac_func innocuous_$ac_func
38263
38264 /* System header to define __stub macros and hopefully few prototypes,
38265 which can conflict with char $ac_func (); below.
38266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38267 <limits.h> exists even on freestanding compilers. */
38268
38269 #ifdef __STDC__
38270 # include <limits.h>
38271 #else
38272 # include <assert.h>
38273 #endif
38274
38275 #undef $ac_func
38276
38277 /* Override any GCC internal prototype to avoid an error.
38278 Use char because int might match the return type of a GCC
38279 builtin and then its argument prototype would still apply. */
38280 #ifdef __cplusplus
38281 extern "C"
38282 #endif
38283 char $ac_func ();
38284 /* The GNU C library defines this for functions which it implements
38285 to always fail with ENOSYS. Some functions are actually named
38286 something starting with __ and the normal name is an alias. */
38287 #if defined __stub_$ac_func || defined __stub___$ac_func
38288 choke me
38289 #endif
38290
38291 int
38292 main ()
38293 {
38294 return $ac_func ();
38295 ;
38296 return 0;
38297 }
38298 _ACEOF
38299 rm -f conftest.$ac_objext conftest$ac_exeext
38300 if { (ac_try="$ac_link"
38301 case "(($ac_try" in
38302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38303 *) ac_try_echo=$ac_try;;
38304 esac
38305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38306 (eval "$ac_link") 2>conftest.er1
38307 ac_status=$?
38308 grep -v '^ *+' conftest.er1 >conftest.err
38309 rm -f conftest.er1
38310 cat conftest.err >&5
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); } && {
38313 test -z "$ac_c_werror_flag" ||
38314 test ! -s conftest.err
38315 } && test -s conftest$ac_exeext &&
38316 $as_test_x conftest$ac_exeext; then
38317 eval "$as_ac_var=yes"
38318 else
38319 echo "$as_me: failed program was:" >&5
38320 sed 's/^/| /' conftest.$ac_ext >&5
38321
38322 eval "$as_ac_var=no"
38323 fi
38324
38325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38326 conftest$ac_exeext conftest.$ac_ext
38327 fi
38328 ac_res=`eval echo '${'$as_ac_var'}'`
38329 { echo "$as_me:$LINENO: result: $ac_res" >&5
38330 echo "${ECHO_T}$ac_res" >&6; }
38331 if test `eval echo '${'$as_ac_var'}'` = yes; then
38332 cat >>confdefs.h <<_ACEOF
38333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38334 _ACEOF
38335 cat >>confdefs.h <<\_ACEOF
38336 #define HAVE_INET_ATON 1
38337 _ACEOF
38338
38339 else
38340
38341 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38342 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38343 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38344 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38345 echo $ECHO_N "(cached) $ECHO_C" >&6
38346 else
38347 ac_check_lib_save_LIBS=$LIBS
38348 LIBS="-l$INET_LINK $LIBS"
38349 cat >conftest.$ac_ext <<_ACEOF
38350 /* confdefs.h. */
38351 _ACEOF
38352 cat confdefs.h >>conftest.$ac_ext
38353 cat >>conftest.$ac_ext <<_ACEOF
38354 /* end confdefs.h. */
38355
38356 /* Override any GCC internal prototype to avoid an error.
38357 Use char because int might match the return type of a GCC
38358 builtin and then its argument prototype would still apply. */
38359 #ifdef __cplusplus
38360 extern "C"
38361 #endif
38362 char inet_aton ();
38363 int
38364 main ()
38365 {
38366 return inet_aton ();
38367 ;
38368 return 0;
38369 }
38370 _ACEOF
38371 rm -f conftest.$ac_objext conftest$ac_exeext
38372 if { (ac_try="$ac_link"
38373 case "(($ac_try" in
38374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38375 *) ac_try_echo=$ac_try;;
38376 esac
38377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38378 (eval "$ac_link") 2>conftest.er1
38379 ac_status=$?
38380 grep -v '^ *+' conftest.er1 >conftest.err
38381 rm -f conftest.er1
38382 cat conftest.err >&5
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); } && {
38385 test -z "$ac_c_werror_flag" ||
38386 test ! -s conftest.err
38387 } && test -s conftest$ac_exeext &&
38388 $as_test_x conftest$ac_exeext; then
38389 eval "$as_ac_Lib=yes"
38390 else
38391 echo "$as_me: failed program was:" >&5
38392 sed 's/^/| /' conftest.$ac_ext >&5
38393
38394 eval "$as_ac_Lib=no"
38395 fi
38396
38397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38398 conftest$ac_exeext conftest.$ac_ext
38399 LIBS=$ac_check_lib_save_LIBS
38400 fi
38401 ac_res=`eval echo '${'$as_ac_Lib'}'`
38402 { echo "$as_me:$LINENO: result: $ac_res" >&5
38403 echo "${ECHO_T}$ac_res" >&6; }
38404 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38405 cat >>confdefs.h <<\_ACEOF
38406 #define HAVE_INET_ATON 1
38407 _ACEOF
38408
38409 fi
38410
38411
38412 fi
38413 done
38414
38415
38416 if test "x$INET_LINK" != "x"; then
38417 cat >>confdefs.h <<\_ACEOF
38418 #define HAVE_INET_ADDR 1
38419 _ACEOF
38420
38421 INET_LINK=" -l$INET_LINK"
38422 fi
38423
38424
38425 for wx_func in fdopen
38426 do
38427 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38428 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38429 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38430 echo $ECHO_N "(cached) $ECHO_C" >&6
38431 else
38432
38433 cat >conftest.$ac_ext <<_ACEOF
38434
38435 /* confdefs.h. */
38436 _ACEOF
38437 cat confdefs.h >>conftest.$ac_ext
38438 cat >>conftest.$ac_ext <<_ACEOF
38439 /* end confdefs.h. */
38440
38441
38442 $ac_includes_default
38443
38444 int
38445 main ()
38446 {
38447
38448 #ifndef $wx_func
38449 &$wx_func;
38450 #endif
38451
38452
38453 ;
38454 return 0;
38455 }
38456
38457 _ACEOF
38458 rm -f conftest.$ac_objext conftest$ac_exeext
38459 if { (ac_try="$ac_link"
38460 case "(($ac_try" in
38461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38462 *) ac_try_echo=$ac_try;;
38463 esac
38464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38465 (eval "$ac_link") 2>conftest.er1
38466 ac_status=$?
38467 grep -v '^ *+' conftest.er1 >conftest.err
38468 rm -f conftest.er1
38469 cat conftest.err >&5
38470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38471 (exit $ac_status); } && {
38472 test -z "$ac_c_werror_flag" ||
38473 test ! -s conftest.err
38474 } && test -s conftest$ac_exeext &&
38475 $as_test_x conftest$ac_exeext; then
38476 eval wx_cv_func_$wx_func=yes
38477 else
38478 echo "$as_me: failed program was:" >&5
38479 sed 's/^/| /' conftest.$ac_ext >&5
38480
38481 eval wx_cv_func_$wx_func=no
38482 fi
38483
38484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38485 conftest$ac_exeext conftest.$ac_ext
38486
38487 fi
38488 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38489 { echo "$as_me:$LINENO: result: $ac_res" >&5
38490 echo "${ECHO_T}$ac_res" >&6; }
38491
38492 if eval test \$wx_cv_func_$wx_func = yes
38493 then
38494 cat >>confdefs.h <<_ACEOF
38495 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38496 _ACEOF
38497
38498
38499 else
38500 :
38501
38502 fi
38503 done
38504
38505
38506 if test "$wxUSE_TARSTREAM" = "yes"; then
38507
38508 for wx_func in sysconf
38509 do
38510 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38511 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38512 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38513 echo $ECHO_N "(cached) $ECHO_C" >&6
38514 else
38515
38516 cat >conftest.$ac_ext <<_ACEOF
38517
38518 /* confdefs.h. */
38519 _ACEOF
38520 cat confdefs.h >>conftest.$ac_ext
38521 cat >>conftest.$ac_ext <<_ACEOF
38522 /* end confdefs.h. */
38523
38524
38525 $ac_includes_default
38526
38527 int
38528 main ()
38529 {
38530
38531 #ifndef $wx_func
38532 &$wx_func;
38533 #endif
38534
38535
38536 ;
38537 return 0;
38538 }
38539
38540 _ACEOF
38541 rm -f conftest.$ac_objext conftest$ac_exeext
38542 if { (ac_try="$ac_link"
38543 case "(($ac_try" in
38544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38545 *) ac_try_echo=$ac_try;;
38546 esac
38547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38548 (eval "$ac_link") 2>conftest.er1
38549 ac_status=$?
38550 grep -v '^ *+' conftest.er1 >conftest.err
38551 rm -f conftest.er1
38552 cat conftest.err >&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } && {
38555 test -z "$ac_c_werror_flag" ||
38556 test ! -s conftest.err
38557 } && test -s conftest$ac_exeext &&
38558 $as_test_x conftest$ac_exeext; then
38559 eval wx_cv_func_$wx_func=yes
38560 else
38561 echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.$ac_ext >&5
38563
38564 eval wx_cv_func_$wx_func=no
38565 fi
38566
38567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38568 conftest$ac_exeext conftest.$ac_ext
38569
38570 fi
38571 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38572 { echo "$as_me:$LINENO: result: $ac_res" >&5
38573 echo "${ECHO_T}$ac_res" >&6; }
38574
38575 if eval test \$wx_cv_func_$wx_func = yes
38576 then
38577 cat >>confdefs.h <<_ACEOF
38578 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38579 _ACEOF
38580
38581
38582 else
38583 :
38584
38585 fi
38586 done
38587
38588
38589
38590 for wx_func in getpwuid_r
38591 do
38592 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38593 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38594 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38595 echo $ECHO_N "(cached) $ECHO_C" >&6
38596 else
38597
38598 cat >conftest.$ac_ext <<_ACEOF
38599
38600 /* confdefs.h. */
38601 _ACEOF
38602 cat confdefs.h >>conftest.$ac_ext
38603 cat >>conftest.$ac_ext <<_ACEOF
38604 /* end confdefs.h. */
38605
38606
38607 #define _REENTRANT
38608 #include <pwd.h>
38609
38610 $ac_includes_default
38611
38612 int
38613 main ()
38614 {
38615
38616 #ifndef $wx_func
38617 &$wx_func;
38618 #endif
38619
38620 struct passwd pw, *ppw;
38621 char buf[1024];
38622 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38623
38624
38625 ;
38626 return 0;
38627 }
38628
38629 _ACEOF
38630 rm -f conftest.$ac_objext conftest$ac_exeext
38631 if { (ac_try="$ac_link"
38632 case "(($ac_try" in
38633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38634 *) ac_try_echo=$ac_try;;
38635 esac
38636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38637 (eval "$ac_link") 2>conftest.er1
38638 ac_status=$?
38639 grep -v '^ *+' conftest.er1 >conftest.err
38640 rm -f conftest.er1
38641 cat conftest.err >&5
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); } && {
38644 test -z "$ac_c_werror_flag" ||
38645 test ! -s conftest.err
38646 } && test -s conftest$ac_exeext &&
38647 $as_test_x conftest$ac_exeext; then
38648 eval wx_cv_func_$wx_func=yes
38649 else
38650 echo "$as_me: failed program was:" >&5
38651 sed 's/^/| /' conftest.$ac_ext >&5
38652
38653 eval wx_cv_func_$wx_func=no
38654 fi
38655
38656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38657 conftest$ac_exeext conftest.$ac_ext
38658
38659 fi
38660 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38661 { echo "$as_me:$LINENO: result: $ac_res" >&5
38662 echo "${ECHO_T}$ac_res" >&6; }
38663
38664 if eval test \$wx_cv_func_$wx_func = yes
38665 then
38666 cat >>confdefs.h <<_ACEOF
38667 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38668 _ACEOF
38669
38670
38671 else
38672 :
38673
38674 fi
38675 done
38676
38677
38678
38679 for wx_func in getgrgid_r
38680 do
38681 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38682 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38683 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38684 echo $ECHO_N "(cached) $ECHO_C" >&6
38685 else
38686
38687 cat >conftest.$ac_ext <<_ACEOF
38688
38689 /* confdefs.h. */
38690 _ACEOF
38691 cat confdefs.h >>conftest.$ac_ext
38692 cat >>conftest.$ac_ext <<_ACEOF
38693 /* end confdefs.h. */
38694
38695
38696 #define _REENTRANT
38697 #include <grp.h>
38698
38699 $ac_includes_default
38700
38701 int
38702 main ()
38703 {
38704
38705 #ifndef $wx_func
38706 &$wx_func;
38707 #endif
38708
38709 struct group grp, *pgrp;
38710 char buf[1024];
38711 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38712
38713
38714 ;
38715 return 0;
38716 }
38717
38718 _ACEOF
38719 rm -f conftest.$ac_objext conftest$ac_exeext
38720 if { (ac_try="$ac_link"
38721 case "(($ac_try" in
38722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38723 *) ac_try_echo=$ac_try;;
38724 esac
38725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38726 (eval "$ac_link") 2>conftest.er1
38727 ac_status=$?
38728 grep -v '^ *+' conftest.er1 >conftest.err
38729 rm -f conftest.er1
38730 cat conftest.err >&5
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); } && {
38733 test -z "$ac_c_werror_flag" ||
38734 test ! -s conftest.err
38735 } && test -s conftest$ac_exeext &&
38736 $as_test_x conftest$ac_exeext; then
38737 eval wx_cv_func_$wx_func=yes
38738 else
38739 echo "$as_me: failed program was:" >&5
38740 sed 's/^/| /' conftest.$ac_ext >&5
38741
38742 eval wx_cv_func_$wx_func=no
38743 fi
38744
38745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38746 conftest$ac_exeext conftest.$ac_ext
38747
38748 fi
38749 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38750 { echo "$as_me:$LINENO: result: $ac_res" >&5
38751 echo "${ECHO_T}$ac_res" >&6; }
38752
38753 if eval test \$wx_cv_func_$wx_func = yes
38754 then
38755 cat >>confdefs.h <<_ACEOF
38756 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38757 _ACEOF
38758
38759
38760 else
38761 :
38762
38763 fi
38764 done
38765
38766 fi
38767
38768 fi
38769
38770
38771
38772 cat >confcache <<\_ACEOF
38773 # This file is a shell script that caches the results of configure
38774 # tests run on this system so they can be shared between configure
38775 # scripts and configure runs, see configure's option --config-cache.
38776 # It is not useful on other systems. If it contains results you don't
38777 # want to keep, you may remove or edit it.
38778 #
38779 # config.status only pays attention to the cache file if you give it
38780 # the --recheck option to rerun configure.
38781 #
38782 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38783 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38784 # following values.
38785
38786 _ACEOF
38787
38788 # The following way of writing the cache mishandles newlines in values,
38789 # but we know of no workaround that is simple, portable, and efficient.
38790 # So, we kill variables containing newlines.
38791 # Ultrix sh set writes to stderr and can't be redirected directly,
38792 # and sets the high bit in the cache file unless we assign to the vars.
38793 (
38794 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38795 eval ac_val=\$$ac_var
38796 case $ac_val in #(
38797 *${as_nl}*)
38798 case $ac_var in #(
38799 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38800 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38801 esac
38802 case $ac_var in #(
38803 _ | IFS | as_nl) ;; #(
38804 *) $as_unset $ac_var ;;
38805 esac ;;
38806 esac
38807 done
38808
38809 (set) 2>&1 |
38810 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38811 *${as_nl}ac_space=\ *)
38812 # `set' does not quote correctly, so add quotes (double-quote
38813 # substitution turns \\\\ into \\, and sed turns \\ into \).
38814 sed -n \
38815 "s/'/'\\\\''/g;
38816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38817 ;; #(
38818 *)
38819 # `set' quotes correctly as required by POSIX, so do not add quotes.
38820 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38821 ;;
38822 esac |
38823 sort
38824 ) |
38825 sed '
38826 /^ac_cv_env_/b end
38827 t clear
38828 :clear
38829 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38830 t end
38831 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38832 :end' >>confcache
38833 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38834 if test -w "$cache_file"; then
38835 test "x$cache_file" != "x/dev/null" &&
38836 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38837 echo "$as_me: updating cache $cache_file" >&6;}
38838 cat confcache >$cache_file
38839 else
38840 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38841 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38842 fi
38843 fi
38844 rm -f confcache
38845
38846
38847 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38848
38849
38850 THREADS_LINK=
38851 THREADS_CFLAGS=
38852
38853 if test "$wxUSE_THREADS" = "yes" ; then
38854 if test "$USE_BEOS" = 1; then
38855 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38856 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38857 wxUSE_THREADS="no"
38858 fi
38859 fi
38860
38861 if test "$wxUSE_THREADS" = "yes" ; then
38862
38863
38864 THREAD_OPTS="-pthread"
38865 if test "x$SUNCXX" = xyes; then
38866 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38867 fi
38868
38869 case "${host}" in
38870 *-*-solaris2* | *-*-sunos4* )
38871 if test "x$GCC" = "xyes"; then
38872 THREAD_OPTS="-pthreads $THREAD_OPTS"
38873 fi
38874 ;;
38875 *-*-freebsd*)
38876 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38877 ;;
38878 *-*-darwin* | *-*-cygwin* )
38879 THREAD_OPTS=""
38880 ;;
38881 *-*-aix*)
38882 THREAD_OPTS="pthreads"
38883 ;;
38884 *-hp-hpux* )
38885 if test "x$GCC" = "xyes"; then
38886 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38887 THREAD_OPTS=""
38888 else
38889 THREAD_OPTS="-mt"
38890 fi
38891 ;;
38892
38893 *-*-irix* )
38894 if test "x$GCC" = "xyes"; then
38895 THREAD_OPTS=""
38896 fi
38897 ;;
38898
38899 *-*-*UnixWare*)
38900 if test "x$GCC" != "xyes"; then
38901 THREAD_OPTS="-Ethread"
38902 fi
38903 ;;
38904 esac
38905
38906 THREAD_OPTS="$THREAD_OPTS pthread none"
38907
38908 THREADS_OK=no
38909 for flag in $THREAD_OPTS; do
38910 case $flag in
38911 none)
38912 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38913 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38914 ;;
38915
38916 -*)
38917 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38918 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38919 THREADS_CFLAGS="$flag"
38920 ;;
38921
38922 *)
38923 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38924 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38925 THREADS_LINK="-l$flag"
38926 ;;
38927 esac
38928
38929 save_LIBS="$LIBS"
38930 save_CFLAGS="$CFLAGS"
38931 LIBS="$THREADS_LINK $LIBS"
38932 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38933
38934 cat >conftest.$ac_ext <<_ACEOF
38935 /* confdefs.h. */
38936 _ACEOF
38937 cat confdefs.h >>conftest.$ac_ext
38938 cat >>conftest.$ac_ext <<_ACEOF
38939 /* end confdefs.h. */
38940 #include <pthread.h>
38941 int
38942 main ()
38943 {
38944 pthread_create(0,0,0,0);
38945 ;
38946 return 0;
38947 }
38948 _ACEOF
38949 rm -f conftest.$ac_objext conftest$ac_exeext
38950 if { (ac_try="$ac_link"
38951 case "(($ac_try" in
38952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38953 *) ac_try_echo=$ac_try;;
38954 esac
38955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38956 (eval "$ac_link") 2>conftest.er1
38957 ac_status=$?
38958 grep -v '^ *+' conftest.er1 >conftest.err
38959 rm -f conftest.er1
38960 cat conftest.err >&5
38961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962 (exit $ac_status); } && {
38963 test -z "$ac_c_werror_flag" ||
38964 test ! -s conftest.err
38965 } && test -s conftest$ac_exeext &&
38966 $as_test_x conftest$ac_exeext; then
38967 THREADS_OK=yes
38968 else
38969 echo "$as_me: failed program was:" >&5
38970 sed 's/^/| /' conftest.$ac_ext >&5
38971
38972
38973 fi
38974
38975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38976 conftest$ac_exeext conftest.$ac_ext
38977
38978 LIBS="$save_LIBS"
38979 CFLAGS="$save_CFLAGS"
38980
38981 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38982 echo "${ECHO_T}$THREADS_OK" >&6; }
38983 if test "x$THREADS_OK" = "xyes"; then
38984 break;
38985 fi
38986
38987 THREADS_LINK=""
38988 THREADS_CFLAGS=""
38989 done
38990
38991 if test "x$THREADS_OK" != "xyes"; then
38992 wxUSE_THREADS=no
38993 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38994 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38995 else
38996 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38997 LIBS="$THREADS_LINK $LIBS"
38998
38999 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39000 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39001 flag=no
39002 case "${host}" in
39003 *-aix*)
39004 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39005 flag="-D_THREAD_SAFE"
39006 ;;
39007 *-freebsd*)
39008 flag="-D_THREAD_SAFE"
39009 ;;
39010 *-hp-hpux* )
39011 flag="-D_REENTRANT"
39012 if test "x$GCC" != "xyes"; then
39013 flag="$flag -D_RWSTD_MULTI_THREAD"
39014 fi
39015 ;;
39016 *solaris* | alpha*-osf*)
39017 flag="-D_REENTRANT"
39018 ;;
39019 esac
39020 { echo "$as_me:$LINENO: result: ${flag}" >&5
39021 echo "${ECHO_T}${flag}" >&6; }
39022 if test "x$flag" != xno; then
39023 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39024 fi
39025
39026 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39027 fi
39028 fi
39029
39030 if test "$wxUSE_THREADS" = "yes" ; then
39031
39032 for ac_func in thr_setconcurrency
39033 do
39034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39035 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39037 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39038 echo $ECHO_N "(cached) $ECHO_C" >&6
39039 else
39040 cat >conftest.$ac_ext <<_ACEOF
39041 /* confdefs.h. */
39042 _ACEOF
39043 cat confdefs.h >>conftest.$ac_ext
39044 cat >>conftest.$ac_ext <<_ACEOF
39045 /* end confdefs.h. */
39046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39048 #define $ac_func innocuous_$ac_func
39049
39050 /* System header to define __stub macros and hopefully few prototypes,
39051 which can conflict with char $ac_func (); below.
39052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39053 <limits.h> exists even on freestanding compilers. */
39054
39055 #ifdef __STDC__
39056 # include <limits.h>
39057 #else
39058 # include <assert.h>
39059 #endif
39060
39061 #undef $ac_func
39062
39063 /* Override any GCC internal prototype to avoid an error.
39064 Use char because int might match the return type of a GCC
39065 builtin and then its argument prototype would still apply. */
39066 #ifdef __cplusplus
39067 extern "C"
39068 #endif
39069 char $ac_func ();
39070 /* The GNU C library defines this for functions which it implements
39071 to always fail with ENOSYS. Some functions are actually named
39072 something starting with __ and the normal name is an alias. */
39073 #if defined __stub_$ac_func || defined __stub___$ac_func
39074 choke me
39075 #endif
39076
39077 int
39078 main ()
39079 {
39080 return $ac_func ();
39081 ;
39082 return 0;
39083 }
39084 _ACEOF
39085 rm -f conftest.$ac_objext conftest$ac_exeext
39086 if { (ac_try="$ac_link"
39087 case "(($ac_try" in
39088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39089 *) ac_try_echo=$ac_try;;
39090 esac
39091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39092 (eval "$ac_link") 2>conftest.er1
39093 ac_status=$?
39094 grep -v '^ *+' conftest.er1 >conftest.err
39095 rm -f conftest.er1
39096 cat conftest.err >&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); } && {
39099 test -z "$ac_c_werror_flag" ||
39100 test ! -s conftest.err
39101 } && test -s conftest$ac_exeext &&
39102 $as_test_x conftest$ac_exeext; then
39103 eval "$as_ac_var=yes"
39104 else
39105 echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.$ac_ext >&5
39107
39108 eval "$as_ac_var=no"
39109 fi
39110
39111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39112 conftest$ac_exeext conftest.$ac_ext
39113 fi
39114 ac_res=`eval echo '${'$as_ac_var'}'`
39115 { echo "$as_me:$LINENO: result: $ac_res" >&5
39116 echo "${ECHO_T}$ac_res" >&6; }
39117 if test `eval echo '${'$as_ac_var'}'` = yes; then
39118 cat >>confdefs.h <<_ACEOF
39119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39120 _ACEOF
39121
39122 fi
39123 done
39124
39125
39126 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39127 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39128 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39129 echo $ECHO_N "(cached) $ECHO_C" >&6
39130 else
39131
39132 ac_ext=cpp
39133 ac_cpp='$CXXCPP $CPPFLAGS'
39134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39137
39138 cat >conftest.$ac_ext <<_ACEOF
39139 /* confdefs.h. */
39140 _ACEOF
39141 cat confdefs.h >>conftest.$ac_ext
39142 cat >>conftest.$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39144 #include <pthread.h>
39145 void ThreadCleanupFunc(void *p);
39146
39147 int
39148 main ()
39149 {
39150
39151 void *p;
39152 pthread_cleanup_push(ThreadCleanupFunc, p);
39153 pthread_cleanup_pop(0);
39154
39155 ;
39156 return 0;
39157 }
39158 _ACEOF
39159 rm -f conftest.$ac_objext
39160 if { (ac_try="$ac_compile"
39161 case "(($ac_try" in
39162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39163 *) ac_try_echo=$ac_try;;
39164 esac
39165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39166 (eval "$ac_compile") 2>conftest.er1
39167 ac_status=$?
39168 grep -v '^ *+' conftest.er1 >conftest.err
39169 rm -f conftest.er1
39170 cat conftest.err >&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); } && {
39173 test -z "$ac_cxx_werror_flag" ||
39174 test ! -s conftest.err
39175 } && test -s conftest.$ac_objext; then
39176
39177 wx_cv_func_pthread_cleanup=yes
39178
39179 else
39180 echo "$as_me: failed program was:" >&5
39181 sed 's/^/| /' conftest.$ac_ext >&5
39182
39183
39184 wx_cv_func_pthread_cleanup=no
39185
39186
39187 fi
39188
39189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39190 ac_ext=c
39191 ac_cpp='$CPP $CPPFLAGS'
39192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39195
39196
39197 fi
39198 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39199 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39200 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39201 cat >>confdefs.h <<\_ACEOF
39202 #define wxHAVE_PTHREAD_CLEANUP 1
39203 _ACEOF
39204
39205 fi
39206
39207
39208 for ac_header in sched.h
39209 do
39210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39211 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39214 echo $ECHO_N "(cached) $ECHO_C" >&6
39215 else
39216 cat >conftest.$ac_ext <<_ACEOF
39217 /* confdefs.h. */
39218 _ACEOF
39219 cat confdefs.h >>conftest.$ac_ext
39220 cat >>conftest.$ac_ext <<_ACEOF
39221 /* end confdefs.h. */
39222 $ac_includes_default
39223
39224 #include <$ac_header>
39225 _ACEOF
39226 rm -f conftest.$ac_objext
39227 if { (ac_try="$ac_compile"
39228 case "(($ac_try" in
39229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39230 *) ac_try_echo=$ac_try;;
39231 esac
39232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39233 (eval "$ac_compile") 2>conftest.er1
39234 ac_status=$?
39235 grep -v '^ *+' conftest.er1 >conftest.err
39236 rm -f conftest.er1
39237 cat conftest.err >&5
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); } && {
39240 test -z "$ac_c_werror_flag" ||
39241 test ! -s conftest.err
39242 } && test -s conftest.$ac_objext; then
39243 eval "$as_ac_Header=yes"
39244 else
39245 echo "$as_me: failed program was:" >&5
39246 sed 's/^/| /' conftest.$ac_ext >&5
39247
39248 eval "$as_ac_Header=no"
39249 fi
39250
39251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39252 fi
39253 ac_res=`eval echo '${'$as_ac_Header'}'`
39254 { echo "$as_me:$LINENO: result: $ac_res" >&5
39255 echo "${ECHO_T}$ac_res" >&6; }
39256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39257 cat >>confdefs.h <<_ACEOF
39258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39259 _ACEOF
39260
39261 fi
39262
39263 done
39264
39265 if test "$ac_cv_header_sched_h" = "yes"; then
39266 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39267 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39268 if test "${ac_cv_func_sched_yield+set}" = set; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39270 else
39271 cat >conftest.$ac_ext <<_ACEOF
39272 /* confdefs.h. */
39273 _ACEOF
39274 cat confdefs.h >>conftest.$ac_ext
39275 cat >>conftest.$ac_ext <<_ACEOF
39276 /* end confdefs.h. */
39277 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39279 #define sched_yield innocuous_sched_yield
39280
39281 /* System header to define __stub macros and hopefully few prototypes,
39282 which can conflict with char sched_yield (); below.
39283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39284 <limits.h> exists even on freestanding compilers. */
39285
39286 #ifdef __STDC__
39287 # include <limits.h>
39288 #else
39289 # include <assert.h>
39290 #endif
39291
39292 #undef sched_yield
39293
39294 /* Override any GCC internal prototype to avoid an error.
39295 Use char because int might match the return type of a GCC
39296 builtin and then its argument prototype would still apply. */
39297 #ifdef __cplusplus
39298 extern "C"
39299 #endif
39300 char sched_yield ();
39301 /* The GNU C library defines this for functions which it implements
39302 to always fail with ENOSYS. Some functions are actually named
39303 something starting with __ and the normal name is an alias. */
39304 #if defined __stub_sched_yield || defined __stub___sched_yield
39305 choke me
39306 #endif
39307
39308 int
39309 main ()
39310 {
39311 return sched_yield ();
39312 ;
39313 return 0;
39314 }
39315 _ACEOF
39316 rm -f conftest.$ac_objext conftest$ac_exeext
39317 if { (ac_try="$ac_link"
39318 case "(($ac_try" in
39319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39320 *) ac_try_echo=$ac_try;;
39321 esac
39322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39323 (eval "$ac_link") 2>conftest.er1
39324 ac_status=$?
39325 grep -v '^ *+' conftest.er1 >conftest.err
39326 rm -f conftest.er1
39327 cat conftest.err >&5
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); } && {
39330 test -z "$ac_c_werror_flag" ||
39331 test ! -s conftest.err
39332 } && test -s conftest$ac_exeext &&
39333 $as_test_x conftest$ac_exeext; then
39334 ac_cv_func_sched_yield=yes
39335 else
39336 echo "$as_me: failed program was:" >&5
39337 sed 's/^/| /' conftest.$ac_ext >&5
39338
39339 ac_cv_func_sched_yield=no
39340 fi
39341
39342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39343 conftest$ac_exeext conftest.$ac_ext
39344 fi
39345 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39346 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39347 if test $ac_cv_func_sched_yield = yes; then
39348 cat >>confdefs.h <<\_ACEOF
39349 #define HAVE_SCHED_YIELD 1
39350 _ACEOF
39351
39352 else
39353
39354 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39355 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39356 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39357 echo $ECHO_N "(cached) $ECHO_C" >&6
39358 else
39359 ac_check_lib_save_LIBS=$LIBS
39360 LIBS="-lposix4 $LIBS"
39361 cat >conftest.$ac_ext <<_ACEOF
39362 /* confdefs.h. */
39363 _ACEOF
39364 cat confdefs.h >>conftest.$ac_ext
39365 cat >>conftest.$ac_ext <<_ACEOF
39366 /* end confdefs.h. */
39367
39368 /* Override any GCC internal prototype to avoid an error.
39369 Use char because int might match the return type of a GCC
39370 builtin and then its argument prototype would still apply. */
39371 #ifdef __cplusplus
39372 extern "C"
39373 #endif
39374 char sched_yield ();
39375 int
39376 main ()
39377 {
39378 return sched_yield ();
39379 ;
39380 return 0;
39381 }
39382 _ACEOF
39383 rm -f conftest.$ac_objext conftest$ac_exeext
39384 if { (ac_try="$ac_link"
39385 case "(($ac_try" in
39386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39387 *) ac_try_echo=$ac_try;;
39388 esac
39389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39390 (eval "$ac_link") 2>conftest.er1
39391 ac_status=$?
39392 grep -v '^ *+' conftest.er1 >conftest.err
39393 rm -f conftest.er1
39394 cat conftest.err >&5
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); } && {
39397 test -z "$ac_c_werror_flag" ||
39398 test ! -s conftest.err
39399 } && test -s conftest$ac_exeext &&
39400 $as_test_x conftest$ac_exeext; then
39401 ac_cv_lib_posix4_sched_yield=yes
39402 else
39403 echo "$as_me: failed program was:" >&5
39404 sed 's/^/| /' conftest.$ac_ext >&5
39405
39406 ac_cv_lib_posix4_sched_yield=no
39407 fi
39408
39409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39410 conftest$ac_exeext conftest.$ac_ext
39411 LIBS=$ac_check_lib_save_LIBS
39412 fi
39413 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39414 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39415 if test $ac_cv_lib_posix4_sched_yield = yes; then
39416 cat >>confdefs.h <<\_ACEOF
39417 #define HAVE_SCHED_YIELD 1
39418 _ACEOF
39419 POSIX4_LINK=" -lposix4"
39420 else
39421 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39422 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39423
39424 fi
39425
39426
39427
39428 fi
39429
39430 fi
39431
39432 HAVE_PRIOR_FUNCS=0
39433 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39434 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39435 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39436 echo $ECHO_N "(cached) $ECHO_C" >&6
39437 else
39438 cat >conftest.$ac_ext <<_ACEOF
39439 /* confdefs.h. */
39440 _ACEOF
39441 cat confdefs.h >>conftest.$ac_ext
39442 cat >>conftest.$ac_ext <<_ACEOF
39443 /* end confdefs.h. */
39444 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39446 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39447
39448 /* System header to define __stub macros and hopefully few prototypes,
39449 which can conflict with char pthread_attr_getschedpolicy (); below.
39450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39451 <limits.h> exists even on freestanding compilers. */
39452
39453 #ifdef __STDC__
39454 # include <limits.h>
39455 #else
39456 # include <assert.h>
39457 #endif
39458
39459 #undef pthread_attr_getschedpolicy
39460
39461 /* Override any GCC internal prototype to avoid an error.
39462 Use char because int might match the return type of a GCC
39463 builtin and then its argument prototype would still apply. */
39464 #ifdef __cplusplus
39465 extern "C"
39466 #endif
39467 char pthread_attr_getschedpolicy ();
39468 /* The GNU C library defines this for functions which it implements
39469 to always fail with ENOSYS. Some functions are actually named
39470 something starting with __ and the normal name is an alias. */
39471 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39472 choke me
39473 #endif
39474
39475 int
39476 main ()
39477 {
39478 return pthread_attr_getschedpolicy ();
39479 ;
39480 return 0;
39481 }
39482 _ACEOF
39483 rm -f conftest.$ac_objext conftest$ac_exeext
39484 if { (ac_try="$ac_link"
39485 case "(($ac_try" in
39486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39487 *) ac_try_echo=$ac_try;;
39488 esac
39489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39490 (eval "$ac_link") 2>conftest.er1
39491 ac_status=$?
39492 grep -v '^ *+' conftest.er1 >conftest.err
39493 rm -f conftest.er1
39494 cat conftest.err >&5
39495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39496 (exit $ac_status); } && {
39497 test -z "$ac_c_werror_flag" ||
39498 test ! -s conftest.err
39499 } && test -s conftest$ac_exeext &&
39500 $as_test_x conftest$ac_exeext; then
39501 ac_cv_func_pthread_attr_getschedpolicy=yes
39502 else
39503 echo "$as_me: failed program was:" >&5
39504 sed 's/^/| /' conftest.$ac_ext >&5
39505
39506 ac_cv_func_pthread_attr_getschedpolicy=no
39507 fi
39508
39509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39510 conftest$ac_exeext conftest.$ac_ext
39511 fi
39512 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39513 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39514 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39515 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39516 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39517 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39518 echo $ECHO_N "(cached) $ECHO_C" >&6
39519 else
39520 cat >conftest.$ac_ext <<_ACEOF
39521 /* confdefs.h. */
39522 _ACEOF
39523 cat confdefs.h >>conftest.$ac_ext
39524 cat >>conftest.$ac_ext <<_ACEOF
39525 /* end confdefs.h. */
39526 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39528 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39529
39530 /* System header to define __stub macros and hopefully few prototypes,
39531 which can conflict with char pthread_attr_setschedparam (); below.
39532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39533 <limits.h> exists even on freestanding compilers. */
39534
39535 #ifdef __STDC__
39536 # include <limits.h>
39537 #else
39538 # include <assert.h>
39539 #endif
39540
39541 #undef pthread_attr_setschedparam
39542
39543 /* Override any GCC internal prototype to avoid an error.
39544 Use char because int might match the return type of a GCC
39545 builtin and then its argument prototype would still apply. */
39546 #ifdef __cplusplus
39547 extern "C"
39548 #endif
39549 char pthread_attr_setschedparam ();
39550 /* The GNU C library defines this for functions which it implements
39551 to always fail with ENOSYS. Some functions are actually named
39552 something starting with __ and the normal name is an alias. */
39553 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39554 choke me
39555 #endif
39556
39557 int
39558 main ()
39559 {
39560 return pthread_attr_setschedparam ();
39561 ;
39562 return 0;
39563 }
39564 _ACEOF
39565 rm -f conftest.$ac_objext conftest$ac_exeext
39566 if { (ac_try="$ac_link"
39567 case "(($ac_try" in
39568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39569 *) ac_try_echo=$ac_try;;
39570 esac
39571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39572 (eval "$ac_link") 2>conftest.er1
39573 ac_status=$?
39574 grep -v '^ *+' conftest.er1 >conftest.err
39575 rm -f conftest.er1
39576 cat conftest.err >&5
39577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39578 (exit $ac_status); } && {
39579 test -z "$ac_c_werror_flag" ||
39580 test ! -s conftest.err
39581 } && test -s conftest$ac_exeext &&
39582 $as_test_x conftest$ac_exeext; then
39583 ac_cv_func_pthread_attr_setschedparam=yes
39584 else
39585 echo "$as_me: failed program was:" >&5
39586 sed 's/^/| /' conftest.$ac_ext >&5
39587
39588 ac_cv_func_pthread_attr_setschedparam=no
39589 fi
39590
39591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39592 conftest$ac_exeext conftest.$ac_ext
39593 fi
39594 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39595 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39596 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39597 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39598 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39599 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39600 echo $ECHO_N "(cached) $ECHO_C" >&6
39601 else
39602 cat >conftest.$ac_ext <<_ACEOF
39603 /* confdefs.h. */
39604 _ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39608 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39610 #define sched_get_priority_max innocuous_sched_get_priority_max
39611
39612 /* System header to define __stub macros and hopefully few prototypes,
39613 which can conflict with char sched_get_priority_max (); below.
39614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39615 <limits.h> exists even on freestanding compilers. */
39616
39617 #ifdef __STDC__
39618 # include <limits.h>
39619 #else
39620 # include <assert.h>
39621 #endif
39622
39623 #undef sched_get_priority_max
39624
39625 /* Override any GCC internal prototype to avoid an error.
39626 Use char because int might match the return type of a GCC
39627 builtin and then its argument prototype would still apply. */
39628 #ifdef __cplusplus
39629 extern "C"
39630 #endif
39631 char sched_get_priority_max ();
39632 /* The GNU C library defines this for functions which it implements
39633 to always fail with ENOSYS. Some functions are actually named
39634 something starting with __ and the normal name is an alias. */
39635 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39636 choke me
39637 #endif
39638
39639 int
39640 main ()
39641 {
39642 return sched_get_priority_max ();
39643 ;
39644 return 0;
39645 }
39646 _ACEOF
39647 rm -f conftest.$ac_objext conftest$ac_exeext
39648 if { (ac_try="$ac_link"
39649 case "(($ac_try" in
39650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39651 *) ac_try_echo=$ac_try;;
39652 esac
39653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39654 (eval "$ac_link") 2>conftest.er1
39655 ac_status=$?
39656 grep -v '^ *+' conftest.er1 >conftest.err
39657 rm -f conftest.er1
39658 cat conftest.err >&5
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); } && {
39661 test -z "$ac_c_werror_flag" ||
39662 test ! -s conftest.err
39663 } && test -s conftest$ac_exeext &&
39664 $as_test_x conftest$ac_exeext; then
39665 ac_cv_func_sched_get_priority_max=yes
39666 else
39667 echo "$as_me: failed program was:" >&5
39668 sed 's/^/| /' conftest.$ac_ext >&5
39669
39670 ac_cv_func_sched_get_priority_max=no
39671 fi
39672
39673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39674 conftest$ac_exeext conftest.$ac_ext
39675 fi
39676 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39677 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39678 if test $ac_cv_func_sched_get_priority_max = yes; then
39679 HAVE_PRIOR_FUNCS=1
39680 else
39681 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39682 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39683 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39684 echo $ECHO_N "(cached) $ECHO_C" >&6
39685 else
39686 ac_check_lib_save_LIBS=$LIBS
39687 LIBS="-lposix4 $LIBS"
39688 cat >conftest.$ac_ext <<_ACEOF
39689 /* confdefs.h. */
39690 _ACEOF
39691 cat confdefs.h >>conftest.$ac_ext
39692 cat >>conftest.$ac_ext <<_ACEOF
39693 /* end confdefs.h. */
39694
39695 /* Override any GCC internal prototype to avoid an error.
39696 Use char because int might match the return type of a GCC
39697 builtin and then its argument prototype would still apply. */
39698 #ifdef __cplusplus
39699 extern "C"
39700 #endif
39701 char sched_get_priority_max ();
39702 int
39703 main ()
39704 {
39705 return sched_get_priority_max ();
39706 ;
39707 return 0;
39708 }
39709 _ACEOF
39710 rm -f conftest.$ac_objext conftest$ac_exeext
39711 if { (ac_try="$ac_link"
39712 case "(($ac_try" in
39713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39714 *) ac_try_echo=$ac_try;;
39715 esac
39716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39717 (eval "$ac_link") 2>conftest.er1
39718 ac_status=$?
39719 grep -v '^ *+' conftest.er1 >conftest.err
39720 rm -f conftest.er1
39721 cat conftest.err >&5
39722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39723 (exit $ac_status); } && {
39724 test -z "$ac_c_werror_flag" ||
39725 test ! -s conftest.err
39726 } && test -s conftest$ac_exeext &&
39727 $as_test_x conftest$ac_exeext; then
39728 ac_cv_lib_posix4_sched_get_priority_max=yes
39729 else
39730 echo "$as_me: failed program was:" >&5
39731 sed 's/^/| /' conftest.$ac_ext >&5
39732
39733 ac_cv_lib_posix4_sched_get_priority_max=no
39734 fi
39735
39736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39737 conftest$ac_exeext conftest.$ac_ext
39738 LIBS=$ac_check_lib_save_LIBS
39739 fi
39740 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39741 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39742 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39743
39744 HAVE_PRIOR_FUNCS=1
39745 POSIX4_LINK=" -lposix4"
39746
39747 fi
39748
39749
39750 fi
39751
39752
39753 fi
39754
39755
39756 fi
39757
39758
39759 if test "$HAVE_PRIOR_FUNCS" = 1; then
39760 cat >>confdefs.h <<\_ACEOF
39761 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39762 _ACEOF
39763
39764 else
39765 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39766 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39767 fi
39768
39769 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39770 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39771 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39772 echo $ECHO_N "(cached) $ECHO_C" >&6
39773 else
39774 cat >conftest.$ac_ext <<_ACEOF
39775 /* confdefs.h. */
39776 _ACEOF
39777 cat confdefs.h >>conftest.$ac_ext
39778 cat >>conftest.$ac_ext <<_ACEOF
39779 /* end confdefs.h. */
39780 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39782 #define pthread_cancel innocuous_pthread_cancel
39783
39784 /* System header to define __stub macros and hopefully few prototypes,
39785 which can conflict with char pthread_cancel (); below.
39786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39787 <limits.h> exists even on freestanding compilers. */
39788
39789 #ifdef __STDC__
39790 # include <limits.h>
39791 #else
39792 # include <assert.h>
39793 #endif
39794
39795 #undef pthread_cancel
39796
39797 /* Override any GCC internal prototype to avoid an error.
39798 Use char because int might match the return type of a GCC
39799 builtin and then its argument prototype would still apply. */
39800 #ifdef __cplusplus
39801 extern "C"
39802 #endif
39803 char pthread_cancel ();
39804 /* The GNU C library defines this for functions which it implements
39805 to always fail with ENOSYS. Some functions are actually named
39806 something starting with __ and the normal name is an alias. */
39807 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39808 choke me
39809 #endif
39810
39811 int
39812 main ()
39813 {
39814 return pthread_cancel ();
39815 ;
39816 return 0;
39817 }
39818 _ACEOF
39819 rm -f conftest.$ac_objext conftest$ac_exeext
39820 if { (ac_try="$ac_link"
39821 case "(($ac_try" in
39822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39823 *) ac_try_echo=$ac_try;;
39824 esac
39825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39826 (eval "$ac_link") 2>conftest.er1
39827 ac_status=$?
39828 grep -v '^ *+' conftest.er1 >conftest.err
39829 rm -f conftest.er1
39830 cat conftest.err >&5
39831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39832 (exit $ac_status); } && {
39833 test -z "$ac_c_werror_flag" ||
39834 test ! -s conftest.err
39835 } && test -s conftest$ac_exeext &&
39836 $as_test_x conftest$ac_exeext; then
39837 ac_cv_func_pthread_cancel=yes
39838 else
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39841
39842 ac_cv_func_pthread_cancel=no
39843 fi
39844
39845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39846 conftest$ac_exeext conftest.$ac_ext
39847 fi
39848 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39849 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39850 if test $ac_cv_func_pthread_cancel = yes; then
39851 cat >>confdefs.h <<\_ACEOF
39852 #define HAVE_PTHREAD_CANCEL 1
39853 _ACEOF
39854
39855 else
39856 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39857 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39858 fi
39859
39860
39861 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39862 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39863 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39864 echo $ECHO_N "(cached) $ECHO_C" >&6
39865 else
39866 cat >conftest.$ac_ext <<_ACEOF
39867 /* confdefs.h. */
39868 _ACEOF
39869 cat confdefs.h >>conftest.$ac_ext
39870 cat >>conftest.$ac_ext <<_ACEOF
39871 /* end confdefs.h. */
39872 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39874 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39875
39876 /* System header to define __stub macros and hopefully few prototypes,
39877 which can conflict with char pthread_mutex_timedlock (); below.
39878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39879 <limits.h> exists even on freestanding compilers. */
39880
39881 #ifdef __STDC__
39882 # include <limits.h>
39883 #else
39884 # include <assert.h>
39885 #endif
39886
39887 #undef pthread_mutex_timedlock
39888
39889 /* Override any GCC internal prototype to avoid an error.
39890 Use char because int might match the return type of a GCC
39891 builtin and then its argument prototype would still apply. */
39892 #ifdef __cplusplus
39893 extern "C"
39894 #endif
39895 char pthread_mutex_timedlock ();
39896 /* The GNU C library defines this for functions which it implements
39897 to always fail with ENOSYS. Some functions are actually named
39898 something starting with __ and the normal name is an alias. */
39899 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39900 choke me
39901 #endif
39902
39903 int
39904 main ()
39905 {
39906 return pthread_mutex_timedlock ();
39907 ;
39908 return 0;
39909 }
39910 _ACEOF
39911 rm -f conftest.$ac_objext conftest$ac_exeext
39912 if { (ac_try="$ac_link"
39913 case "(($ac_try" in
39914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39915 *) ac_try_echo=$ac_try;;
39916 esac
39917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39918 (eval "$ac_link") 2>conftest.er1
39919 ac_status=$?
39920 grep -v '^ *+' conftest.er1 >conftest.err
39921 rm -f conftest.er1
39922 cat conftest.err >&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); } && {
39925 test -z "$ac_c_werror_flag" ||
39926 test ! -s conftest.err
39927 } && test -s conftest$ac_exeext &&
39928 $as_test_x conftest$ac_exeext; then
39929 ac_cv_func_pthread_mutex_timedlock=yes
39930 else
39931 echo "$as_me: failed program was:" >&5
39932 sed 's/^/| /' conftest.$ac_ext >&5
39933
39934 ac_cv_func_pthread_mutex_timedlock=no
39935 fi
39936
39937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39938 conftest$ac_exeext conftest.$ac_ext
39939 fi
39940 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39941 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39942 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39943 cat >>confdefs.h <<\_ACEOF
39944 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39945 _ACEOF
39946
39947 else
39948 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39949 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39950 fi
39951
39952
39953 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39954 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39955 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39956 echo $ECHO_N "(cached) $ECHO_C" >&6
39957 else
39958 cat >conftest.$ac_ext <<_ACEOF
39959 /* confdefs.h. */
39960 _ACEOF
39961 cat confdefs.h >>conftest.$ac_ext
39962 cat >>conftest.$ac_ext <<_ACEOF
39963 /* end confdefs.h. */
39964 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39966 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39967
39968 /* System header to define __stub macros and hopefully few prototypes,
39969 which can conflict with char pthread_attr_setstacksize (); below.
39970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39971 <limits.h> exists even on freestanding compilers. */
39972
39973 #ifdef __STDC__
39974 # include <limits.h>
39975 #else
39976 # include <assert.h>
39977 #endif
39978
39979 #undef pthread_attr_setstacksize
39980
39981 /* Override any GCC internal prototype to avoid an error.
39982 Use char because int might match the return type of a GCC
39983 builtin and then its argument prototype would still apply. */
39984 #ifdef __cplusplus
39985 extern "C"
39986 #endif
39987 char pthread_attr_setstacksize ();
39988 /* The GNU C library defines this for functions which it implements
39989 to always fail with ENOSYS. Some functions are actually named
39990 something starting with __ and the normal name is an alias. */
39991 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39992 choke me
39993 #endif
39994
39995 int
39996 main ()
39997 {
39998 return pthread_attr_setstacksize ();
39999 ;
40000 return 0;
40001 }
40002 _ACEOF
40003 rm -f conftest.$ac_objext conftest$ac_exeext
40004 if { (ac_try="$ac_link"
40005 case "(($ac_try" in
40006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40007 *) ac_try_echo=$ac_try;;
40008 esac
40009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40010 (eval "$ac_link") 2>conftest.er1
40011 ac_status=$?
40012 grep -v '^ *+' conftest.er1 >conftest.err
40013 rm -f conftest.er1
40014 cat conftest.err >&5
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); } && {
40017 test -z "$ac_c_werror_flag" ||
40018 test ! -s conftest.err
40019 } && test -s conftest$ac_exeext &&
40020 $as_test_x conftest$ac_exeext; then
40021 ac_cv_func_pthread_attr_setstacksize=yes
40022 else
40023 echo "$as_me: failed program was:" >&5
40024 sed 's/^/| /' conftest.$ac_ext >&5
40025
40026 ac_cv_func_pthread_attr_setstacksize=no
40027 fi
40028
40029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40030 conftest$ac_exeext conftest.$ac_ext
40031 fi
40032 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40033 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40034 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40035 cat >>confdefs.h <<\_ACEOF
40036 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40037 _ACEOF
40038
40039 fi
40040
40041
40042
40043 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40044 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40045 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40046 echo $ECHO_N "(cached) $ECHO_C" >&6
40047 else
40048
40049 cat >conftest.$ac_ext <<_ACEOF
40050 /* confdefs.h. */
40051 _ACEOF
40052 cat confdefs.h >>conftest.$ac_ext
40053 cat >>conftest.$ac_ext <<_ACEOF
40054 /* end confdefs.h. */
40055 #include <pthread.h>
40056 int
40057 main ()
40058 {
40059
40060 pthread_mutexattr_t attr;
40061 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40062
40063 ;
40064 return 0;
40065 }
40066 _ACEOF
40067 rm -f conftest.$ac_objext
40068 if { (ac_try="$ac_compile"
40069 case "(($ac_try" in
40070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40071 *) ac_try_echo=$ac_try;;
40072 esac
40073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40074 (eval "$ac_compile") 2>conftest.er1
40075 ac_status=$?
40076 grep -v '^ *+' conftest.er1 >conftest.err
40077 rm -f conftest.er1
40078 cat conftest.err >&5
40079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40080 (exit $ac_status); } && {
40081 test -z "$ac_c_werror_flag" ||
40082 test ! -s conftest.err
40083 } && test -s conftest.$ac_objext; then
40084 wx_cv_type_pthread_mutexattr_t=yes
40085 else
40086 echo "$as_me: failed program was:" >&5
40087 sed 's/^/| /' conftest.$ac_ext >&5
40088
40089 wx_cv_type_pthread_mutexattr_t=no
40090
40091 fi
40092
40093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40094
40095 fi
40096 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40097 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40098
40099 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40100 cat >>confdefs.h <<\_ACEOF
40101 #define HAVE_PTHREAD_MUTEXATTR_T 1
40102 _ACEOF
40103
40104
40105 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40106 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40107 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40108 echo $ECHO_N "(cached) $ECHO_C" >&6
40109 else
40110
40111 cat >conftest.$ac_ext <<_ACEOF
40112 /* confdefs.h. */
40113 _ACEOF
40114 cat confdefs.h >>conftest.$ac_ext
40115 cat >>conftest.$ac_ext <<_ACEOF
40116 /* end confdefs.h. */
40117 #include <pthread.h>
40118 int
40119 main ()
40120 {
40121
40122 pthread_mutexattr_t attr;
40123 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40124
40125 ;
40126 return 0;
40127 }
40128 _ACEOF
40129 rm -f conftest.$ac_objext
40130 if { (ac_try="$ac_compile"
40131 case "(($ac_try" in
40132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40133 *) ac_try_echo=$ac_try;;
40134 esac
40135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40136 (eval "$ac_compile") 2>conftest.er1
40137 ac_status=$?
40138 grep -v '^ *+' conftest.er1 >conftest.err
40139 rm -f conftest.er1
40140 cat conftest.err >&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); } && {
40143 test -z "$ac_c_werror_flag" ||
40144 test ! -s conftest.err
40145 } && test -s conftest.$ac_objext; then
40146 wx_cv_func_pthread_mutexattr_settype_decl=yes
40147 else
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.$ac_ext >&5
40150
40151 wx_cv_func_pthread_mutexattr_settype_decl=no
40152
40153 fi
40154
40155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40156
40157 fi
40158 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40159 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40160 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40161 cat >>confdefs.h <<\_ACEOF
40162 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40163 _ACEOF
40164
40165 fi
40166 else
40167 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40168 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40169 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40170 echo $ECHO_N "(cached) $ECHO_C" >&6
40171 else
40172
40173 cat >conftest.$ac_ext <<_ACEOF
40174 /* confdefs.h. */
40175 _ACEOF
40176 cat confdefs.h >>conftest.$ac_ext
40177 cat >>conftest.$ac_ext <<_ACEOF
40178 /* end confdefs.h. */
40179 #include <pthread.h>
40180 int
40181 main ()
40182 {
40183
40184 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40185
40186 ;
40187 return 0;
40188 }
40189 _ACEOF
40190 rm -f conftest.$ac_objext
40191 if { (ac_try="$ac_compile"
40192 case "(($ac_try" in
40193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40194 *) ac_try_echo=$ac_try;;
40195 esac
40196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40197 (eval "$ac_compile") 2>conftest.er1
40198 ac_status=$?
40199 grep -v '^ *+' conftest.er1 >conftest.err
40200 rm -f conftest.er1
40201 cat conftest.err >&5
40202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40203 (exit $ac_status); } && {
40204 test -z "$ac_c_werror_flag" ||
40205 test ! -s conftest.err
40206 } && test -s conftest.$ac_objext; then
40207
40208 wx_cv_type_pthread_rec_mutex_init=yes
40209
40210 else
40211 echo "$as_me: failed program was:" >&5
40212 sed 's/^/| /' conftest.$ac_ext >&5
40213
40214
40215 wx_cv_type_pthread_rec_mutex_init=no
40216
40217
40218 fi
40219
40220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40221
40222 fi
40223 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40224 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40225 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40226 cat >>confdefs.h <<\_ACEOF
40227 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40228 _ACEOF
40229
40230 else
40231 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40232 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40233 fi
40234 fi
40235
40236 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40237 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40238 if test "${wx_cv_cc___thread+set}" = set; then
40239 echo $ECHO_N "(cached) $ECHO_C" >&6
40240 else
40241
40242 cat >conftest.$ac_ext <<_ACEOF
40243 /* confdefs.h. */
40244 _ACEOF
40245 cat confdefs.h >>conftest.$ac_ext
40246 cat >>conftest.$ac_ext <<_ACEOF
40247 /* end confdefs.h. */
40248 #include <pthread.h>
40249 int
40250 main ()
40251 {
40252
40253 static __thread int n = 0;
40254 static __thread int *p = 0;
40255
40256 ;
40257 return 0;
40258 }
40259 _ACEOF
40260 rm -f conftest.$ac_objext
40261 if { (ac_try="$ac_compile"
40262 case "(($ac_try" in
40263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40264 *) ac_try_echo=$ac_try;;
40265 esac
40266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40267 (eval "$ac_compile") 2>conftest.er1
40268 ac_status=$?
40269 grep -v '^ *+' conftest.er1 >conftest.err
40270 rm -f conftest.er1
40271 cat conftest.err >&5
40272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40273 (exit $ac_status); } && {
40274 test -z "$ac_c_werror_flag" ||
40275 test ! -s conftest.err
40276 } && test -s conftest.$ac_objext; then
40277 wx_cv_cc___thread=yes
40278 else
40279 echo "$as_me: failed program was:" >&5
40280 sed 's/^/| /' conftest.$ac_ext >&5
40281
40282 wx_cv_cc___thread=no
40283
40284 fi
40285
40286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40287
40288
40289 fi
40290 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40291 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40292
40293 if test "$wx_cv_cc___thread" = "yes"; then
40294
40295 GXX_VERSION=""
40296
40297
40298
40299 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40300 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40301
40302 if test "x$GCC" = "xyes" ; then
40303
40304 if test -z "" ; then
40305
40306 ax_gcc_option_test="int main()
40307 {
40308 return 0;
40309 }"
40310
40311 else
40312
40313 ax_gcc_option_test=""
40314
40315 fi
40316
40317
40318 # Dump the test program to file
40319 cat <<EOF > conftest.c
40320 $ax_gcc_option_test
40321 EOF
40322
40323 # Dump back the file to the log, useful for debugging purposes
40324 { ac_try='cat conftest.c 1>&5'
40325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40326 (eval $ac_try) 2>&5
40327 ac_status=$?
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); }; }
40330
40331 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40333 (eval $ac_try) 2>&5
40334 ac_status=$?
40335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40336 (exit $ac_status); }; } ; then
40337
40338 { echo "$as_me:$LINENO: result: yes" >&5
40339 echo "${ECHO_T}yes" >&6; }
40340
40341 ax_gcc_version_option=yes
40342
40343
40344 else
40345
40346 { echo "$as_me:$LINENO: result: no" >&5
40347 echo "${ECHO_T}no" >&6; }
40348
40349 ax_gcc_version_option=no
40350
40351
40352 fi
40353
40354
40355 else
40356
40357 { echo "$as_me:$LINENO: result: no gcc available" >&5
40358 echo "${ECHO_T}no gcc available" >&6; }
40359
40360 fi
40361
40362
40363 if test "x$GXX" = "xyes"; then
40364
40365 if test "x$ax_gxx_version_option" != "no"; then
40366
40367 { echo "$as_me:$LINENO: checking gxx version" >&5
40368 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40369 if test "${ax_cv_gxx_version+set}" = set; then
40370 echo $ECHO_N "(cached) $ECHO_C" >&6
40371 else
40372
40373 ax_cv_gxx_version="`$CXX -dumpversion`"
40374 if test "x$ax_cv_gxx_version" = "x"; then
40375
40376 ax_cv_gxx_version=""
40377
40378 fi
40379
40380
40381 fi
40382 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40383 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40384 GXX_VERSION=$ax_cv_gxx_version
40385
40386 fi
40387
40388
40389 fi
40390
40391
40392
40393 if test -n "$ax_cv_gxx_version"; then
40394 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40395 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40396 case "$ax_cv_gxx_version" in
40397 1.* | 2.* | 3.* )
40398 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40399 echo "${ECHO_T}no, it's broken" >&6; }
40400 wx_cv_cc___thread=no
40401 ;;
40402 *)
40403 { echo "$as_me:$LINENO: result: yes, it works" >&5
40404 echo "${ECHO_T}yes, it works" >&6; }
40405 ;;
40406 esac
40407 fi
40408 fi
40409
40410 if test "$wx_cv_cc___thread" = "yes"; then
40411 cat >>confdefs.h <<\_ACEOF
40412 #define HAVE___THREAD_KEYWORD 1
40413 _ACEOF
40414
40415 fi
40416 fi
40417
40418 else
40419 if test "$wxUSE_THREADS" = "yes" ; then
40420 case "${host}" in
40421 x86_64-*-mingw32* )
40422 ;;
40423 *-*-mingw32* )
40424 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40425 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40426 if test "${wx_cv_cflags_mthread+set}" = set; then
40427 echo $ECHO_N "(cached) $ECHO_C" >&6
40428 else
40429
40430 CFLAGS_OLD="$CFLAGS"
40431 CFLAGS="-mthreads $CFLAGS"
40432 cat >conftest.$ac_ext <<_ACEOF
40433 /* confdefs.h. */
40434 _ACEOF
40435 cat confdefs.h >>conftest.$ac_ext
40436 cat >>conftest.$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438
40439 int
40440 main ()
40441 {
40442
40443 ;
40444 return 0;
40445 }
40446 _ACEOF
40447 rm -f conftest.$ac_objext
40448 if { (ac_try="$ac_compile"
40449 case "(($ac_try" in
40450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40451 *) ac_try_echo=$ac_try;;
40452 esac
40453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40454 (eval "$ac_compile") 2>conftest.er1
40455 ac_status=$?
40456 grep -v '^ *+' conftest.er1 >conftest.err
40457 rm -f conftest.er1
40458 cat conftest.err >&5
40459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40460 (exit $ac_status); } && {
40461 test -z "$ac_c_werror_flag" ||
40462 test ! -s conftest.err
40463 } && test -s conftest.$ac_objext; then
40464 wx_cv_cflags_mthread=yes
40465 else
40466 echo "$as_me: failed program was:" >&5
40467 sed 's/^/| /' conftest.$ac_ext >&5
40468
40469 wx_cv_cflags_mthread=no
40470
40471 fi
40472
40473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40474
40475
40476 fi
40477 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40478 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40479
40480 if test "$wx_cv_cflags_mthread" = "yes"; then
40481 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40482 LDFLAGS="$LDFLAGS -mthreads"
40483 else
40484 CFLAGS="$CFLAGS_OLD"
40485 fi
40486 ;;
40487 *-pc-os2*emx )
40488 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40489 LDFLAGS="$LDFLAGS -Zmt"
40490 ;;
40491 esac
40492 fi
40493 fi
40494
40495 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40496 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40497 if test "${ac_cv_func_localtime_r+set}" = set; then
40498 echo $ECHO_N "(cached) $ECHO_C" >&6
40499 else
40500 cat >conftest.$ac_ext <<_ACEOF
40501 /* confdefs.h. */
40502 _ACEOF
40503 cat confdefs.h >>conftest.$ac_ext
40504 cat >>conftest.$ac_ext <<_ACEOF
40505 /* end confdefs.h. */
40506 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40508 #define localtime_r innocuous_localtime_r
40509
40510 /* System header to define __stub macros and hopefully few prototypes,
40511 which can conflict with char localtime_r (); below.
40512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40513 <limits.h> exists even on freestanding compilers. */
40514
40515 #ifdef __STDC__
40516 # include <limits.h>
40517 #else
40518 # include <assert.h>
40519 #endif
40520
40521 #undef localtime_r
40522
40523 /* Override any GCC internal prototype to avoid an error.
40524 Use char because int might match the return type of a GCC
40525 builtin and then its argument prototype would still apply. */
40526 #ifdef __cplusplus
40527 extern "C"
40528 #endif
40529 char localtime_r ();
40530 /* The GNU C library defines this for functions which it implements
40531 to always fail with ENOSYS. Some functions are actually named
40532 something starting with __ and the normal name is an alias. */
40533 #if defined __stub_localtime_r || defined __stub___localtime_r
40534 choke me
40535 #endif
40536
40537 int
40538 main ()
40539 {
40540 return localtime_r ();
40541 ;
40542 return 0;
40543 }
40544 _ACEOF
40545 rm -f conftest.$ac_objext conftest$ac_exeext
40546 if { (ac_try="$ac_link"
40547 case "(($ac_try" in
40548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40549 *) ac_try_echo=$ac_try;;
40550 esac
40551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40552 (eval "$ac_link") 2>conftest.er1
40553 ac_status=$?
40554 grep -v '^ *+' conftest.er1 >conftest.err
40555 rm -f conftest.er1
40556 cat conftest.err >&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); } && {
40559 test -z "$ac_c_werror_flag" ||
40560 test ! -s conftest.err
40561 } && test -s conftest$ac_exeext &&
40562 $as_test_x conftest$ac_exeext; then
40563 ac_cv_func_localtime_r=yes
40564 else
40565 echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.$ac_ext >&5
40567
40568 ac_cv_func_localtime_r=no
40569 fi
40570
40571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40572 conftest$ac_exeext conftest.$ac_ext
40573 fi
40574 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40575 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40576 if test $ac_cv_func_localtime_r = yes; then
40577 cat >>confdefs.h <<\_ACEOF
40578 #define HAVE_LOCALTIME_R 1
40579 _ACEOF
40580
40581 fi
40582
40583 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40584 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40585 if test "${ac_cv_func_gmtime_r+set}" = set; then
40586 echo $ECHO_N "(cached) $ECHO_C" >&6
40587 else
40588 cat >conftest.$ac_ext <<_ACEOF
40589 /* confdefs.h. */
40590 _ACEOF
40591 cat confdefs.h >>conftest.$ac_ext
40592 cat >>conftest.$ac_ext <<_ACEOF
40593 /* end confdefs.h. */
40594 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40596 #define gmtime_r innocuous_gmtime_r
40597
40598 /* System header to define __stub macros and hopefully few prototypes,
40599 which can conflict with char gmtime_r (); below.
40600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40601 <limits.h> exists even on freestanding compilers. */
40602
40603 #ifdef __STDC__
40604 # include <limits.h>
40605 #else
40606 # include <assert.h>
40607 #endif
40608
40609 #undef gmtime_r
40610
40611 /* Override any GCC internal prototype to avoid an error.
40612 Use char because int might match the return type of a GCC
40613 builtin and then its argument prototype would still apply. */
40614 #ifdef __cplusplus
40615 extern "C"
40616 #endif
40617 char gmtime_r ();
40618 /* The GNU C library defines this for functions which it implements
40619 to always fail with ENOSYS. Some functions are actually named
40620 something starting with __ and the normal name is an alias. */
40621 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40622 choke me
40623 #endif
40624
40625 int
40626 main ()
40627 {
40628 return gmtime_r ();
40629 ;
40630 return 0;
40631 }
40632 _ACEOF
40633 rm -f conftest.$ac_objext conftest$ac_exeext
40634 if { (ac_try="$ac_link"
40635 case "(($ac_try" in
40636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40637 *) ac_try_echo=$ac_try;;
40638 esac
40639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40640 (eval "$ac_link") 2>conftest.er1
40641 ac_status=$?
40642 grep -v '^ *+' conftest.er1 >conftest.err
40643 rm -f conftest.er1
40644 cat conftest.err >&5
40645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40646 (exit $ac_status); } && {
40647 test -z "$ac_c_werror_flag" ||
40648 test ! -s conftest.err
40649 } && test -s conftest$ac_exeext &&
40650 $as_test_x conftest$ac_exeext; then
40651 ac_cv_func_gmtime_r=yes
40652 else
40653 echo "$as_me: failed program was:" >&5
40654 sed 's/^/| /' conftest.$ac_ext >&5
40655
40656 ac_cv_func_gmtime_r=no
40657 fi
40658
40659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40660 conftest$ac_exeext conftest.$ac_ext
40661 fi
40662 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40663 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40664 if test $ac_cv_func_gmtime_r = yes; then
40665 cat >>confdefs.h <<\_ACEOF
40666 #define HAVE_GMTIME_R 1
40667 _ACEOF
40668
40669 fi
40670
40671
40672
40673
40674 ac_ext=c
40675 ac_cpp='$CPP $CPPFLAGS'
40676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40679
40680 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40681 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40682
40683 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40684 echo $ECHO_N "(cached) $ECHO_C" >&6
40685 else
40686
40687
40688 ################################################################
40689
40690 ac_cv_func_which_gethostbyname_r=unknown
40691
40692 #
40693 # ONE ARGUMENT (sanity check)
40694 #
40695
40696 # This should fail, as there is no variant of gethostbyname_r() that takes
40697 # a single argument. If it actually compiles, then we can assume that
40698 # netdb.h is not declaring the function, and the compiler is thereby
40699 # assuming an implicit prototype. In which case, we're out of luck.
40700 #
40701 cat >conftest.$ac_ext <<_ACEOF
40702 /* confdefs.h. */
40703 _ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707 #include <netdb.h>
40708 int
40709 main ()
40710 {
40711
40712 char *name = "www.gnu.org";
40713 (void)gethostbyname_r(name) /* ; */
40714
40715 ;
40716 return 0;
40717 }
40718 _ACEOF
40719 rm -f conftest.$ac_objext
40720 if { (ac_try="$ac_compile"
40721 case "(($ac_try" in
40722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40723 *) ac_try_echo=$ac_try;;
40724 esac
40725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40726 (eval "$ac_compile") 2>conftest.er1
40727 ac_status=$?
40728 grep -v '^ *+' conftest.er1 >conftest.err
40729 rm -f conftest.er1
40730 cat conftest.err >&5
40731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40732 (exit $ac_status); } && {
40733 test -z "$ac_c_werror_flag" ||
40734 test ! -s conftest.err
40735 } && test -s conftest.$ac_objext; then
40736 ac_cv_func_which_gethostbyname_r=no
40737 else
40738 echo "$as_me: failed program was:" >&5
40739 sed 's/^/| /' conftest.$ac_ext >&5
40740
40741
40742 fi
40743
40744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40745
40746 #
40747 # SIX ARGUMENTS
40748 # (e.g. Linux)
40749 #
40750
40751 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40752
40753 cat >conftest.$ac_ext <<_ACEOF
40754 /* confdefs.h. */
40755 _ACEOF
40756 cat confdefs.h >>conftest.$ac_ext
40757 cat >>conftest.$ac_ext <<_ACEOF
40758 /* end confdefs.h. */
40759 #include <netdb.h>
40760 int
40761 main ()
40762 {
40763
40764 char *name = "www.gnu.org";
40765 struct hostent ret, *retp;
40766 char buf[1024];
40767 int buflen = 1024;
40768 int my_h_errno;
40769 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40770
40771 ;
40772 return 0;
40773 }
40774 _ACEOF
40775 rm -f conftest.$ac_objext
40776 if { (ac_try="$ac_compile"
40777 case "(($ac_try" in
40778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40779 *) ac_try_echo=$ac_try;;
40780 esac
40781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40782 (eval "$ac_compile") 2>conftest.er1
40783 ac_status=$?
40784 grep -v '^ *+' conftest.er1 >conftest.err
40785 rm -f conftest.er1
40786 cat conftest.err >&5
40787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788 (exit $ac_status); } && {
40789 test -z "$ac_c_werror_flag" ||
40790 test ! -s conftest.err
40791 } && test -s conftest.$ac_objext; then
40792 ac_cv_func_which_gethostbyname_r=six
40793 else
40794 echo "$as_me: failed program was:" >&5
40795 sed 's/^/| /' conftest.$ac_ext >&5
40796
40797
40798 fi
40799
40800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40801
40802 fi
40803
40804 #
40805 # FIVE ARGUMENTS
40806 # (e.g. Solaris)
40807 #
40808
40809 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40810
40811 cat >conftest.$ac_ext <<_ACEOF
40812 /* confdefs.h. */
40813 _ACEOF
40814 cat confdefs.h >>conftest.$ac_ext
40815 cat >>conftest.$ac_ext <<_ACEOF
40816 /* end confdefs.h. */
40817 #include <netdb.h>
40818 int
40819 main ()
40820 {
40821
40822 char *name = "www.gnu.org";
40823 struct hostent ret;
40824 char buf[1024];
40825 int buflen = 1024;
40826 int my_h_errno;
40827 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40828
40829 ;
40830 return 0;
40831 }
40832 _ACEOF
40833 rm -f conftest.$ac_objext
40834 if { (ac_try="$ac_compile"
40835 case "(($ac_try" in
40836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40837 *) ac_try_echo=$ac_try;;
40838 esac
40839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40840 (eval "$ac_compile") 2>conftest.er1
40841 ac_status=$?
40842 grep -v '^ *+' conftest.er1 >conftest.err
40843 rm -f conftest.er1
40844 cat conftest.err >&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } && {
40847 test -z "$ac_c_werror_flag" ||
40848 test ! -s conftest.err
40849 } && test -s conftest.$ac_objext; then
40850 ac_cv_func_which_gethostbyname_r=five
40851 else
40852 echo "$as_me: failed program was:" >&5
40853 sed 's/^/| /' conftest.$ac_ext >&5
40854
40855
40856 fi
40857
40858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40859
40860 fi
40861
40862 #
40863 # THREE ARGUMENTS
40864 # (e.g. AIX, HP-UX, Tru64)
40865 #
40866
40867 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40868
40869 cat >conftest.$ac_ext <<_ACEOF
40870 /* confdefs.h. */
40871 _ACEOF
40872 cat confdefs.h >>conftest.$ac_ext
40873 cat >>conftest.$ac_ext <<_ACEOF
40874 /* end confdefs.h. */
40875 #include <netdb.h>
40876 int
40877 main ()
40878 {
40879
40880 char *name = "www.gnu.org";
40881 struct hostent ret;
40882 struct hostent_data data;
40883 (void)gethostbyname_r(name, &ret, &data) /* ; */
40884
40885 ;
40886 return 0;
40887 }
40888 _ACEOF
40889 rm -f conftest.$ac_objext
40890 if { (ac_try="$ac_compile"
40891 case "(($ac_try" in
40892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40893 *) ac_try_echo=$ac_try;;
40894 esac
40895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40896 (eval "$ac_compile") 2>conftest.er1
40897 ac_status=$?
40898 grep -v '^ *+' conftest.er1 >conftest.err
40899 rm -f conftest.er1
40900 cat conftest.err >&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); } && {
40903 test -z "$ac_c_werror_flag" ||
40904 test ! -s conftest.err
40905 } && test -s conftest.$ac_objext; then
40906 ac_cv_func_which_gethostbyname_r=three
40907 else
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.$ac_ext >&5
40910
40911
40912 fi
40913
40914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40915
40916 fi
40917
40918 ################################################################
40919
40920
40921 fi
40922
40923 case "$ac_cv_func_which_gethostbyname_r" in
40924 three)
40925 { echo "$as_me:$LINENO: result: three" >&5
40926 echo "${ECHO_T}three" >&6; }
40927 cat >>confdefs.h <<\_ACEOF
40928 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40929 _ACEOF
40930
40931 ;;
40932
40933 five)
40934 { echo "$as_me:$LINENO: result: five" >&5
40935 echo "${ECHO_T}five" >&6; }
40936 cat >>confdefs.h <<\_ACEOF
40937 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40938 _ACEOF
40939
40940 ;;
40941
40942 six)
40943 { echo "$as_me:$LINENO: result: six" >&5
40944 echo "${ECHO_T}six" >&6; }
40945 cat >>confdefs.h <<\_ACEOF
40946 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40947 _ACEOF
40948
40949 ;;
40950
40951 no)
40952 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40953 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40954 ;;
40955
40956 unknown)
40957 { echo "$as_me:$LINENO: result: can't tell" >&5
40958 echo "${ECHO_T}can't tell" >&6; }
40959 ;;
40960
40961 *)
40962 { { echo "$as_me:$LINENO: error: internal error" >&5
40963 echo "$as_me: error: internal error" >&2;}
40964 { (exit 1); exit 1; }; }
40965 ;;
40966 esac
40967
40968 ac_ext=c
40969 ac_cpp='$CPP $CPPFLAGS'
40970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40973
40974
40975
40976 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40977 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40978 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40979 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40980 if test "${ac_cv_func_gethostbyname+set}" = set; then
40981 echo $ECHO_N "(cached) $ECHO_C" >&6
40982 else
40983 cat >conftest.$ac_ext <<_ACEOF
40984 /* confdefs.h. */
40985 _ACEOF
40986 cat confdefs.h >>conftest.$ac_ext
40987 cat >>conftest.$ac_ext <<_ACEOF
40988 /* end confdefs.h. */
40989 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40991 #define gethostbyname innocuous_gethostbyname
40992
40993 /* System header to define __stub macros and hopefully few prototypes,
40994 which can conflict with char gethostbyname (); below.
40995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40996 <limits.h> exists even on freestanding compilers. */
40997
40998 #ifdef __STDC__
40999 # include <limits.h>
41000 #else
41001 # include <assert.h>
41002 #endif
41003
41004 #undef gethostbyname
41005
41006 /* Override any GCC internal prototype to avoid an error.
41007 Use char because int might match the return type of a GCC
41008 builtin and then its argument prototype would still apply. */
41009 #ifdef __cplusplus
41010 extern "C"
41011 #endif
41012 char gethostbyname ();
41013 /* The GNU C library defines this for functions which it implements
41014 to always fail with ENOSYS. Some functions are actually named
41015 something starting with __ and the normal name is an alias. */
41016 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41017 choke me
41018 #endif
41019
41020 int
41021 main ()
41022 {
41023 return gethostbyname ();
41024 ;
41025 return 0;
41026 }
41027 _ACEOF
41028 rm -f conftest.$ac_objext conftest$ac_exeext
41029 if { (ac_try="$ac_link"
41030 case "(($ac_try" in
41031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41032 *) ac_try_echo=$ac_try;;
41033 esac
41034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41035 (eval "$ac_link") 2>conftest.er1
41036 ac_status=$?
41037 grep -v '^ *+' conftest.er1 >conftest.err
41038 rm -f conftest.er1
41039 cat conftest.err >&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); } && {
41042 test -z "$ac_c_werror_flag" ||
41043 test ! -s conftest.err
41044 } && test -s conftest$ac_exeext &&
41045 $as_test_x conftest$ac_exeext; then
41046 ac_cv_func_gethostbyname=yes
41047 else
41048 echo "$as_me: failed program was:" >&5
41049 sed 's/^/| /' conftest.$ac_ext >&5
41050
41051 ac_cv_func_gethostbyname=no
41052 fi
41053
41054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41055 conftest$ac_exeext conftest.$ac_ext
41056 fi
41057 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41058 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41059 if test $ac_cv_func_gethostbyname = yes; then
41060 cat >>confdefs.h <<\_ACEOF
41061 #define HAVE_GETHOSTBYNAME 1
41062 _ACEOF
41063
41064 fi
41065
41066 fi
41067
41068 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41069 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41070 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41071 echo $ECHO_N "(cached) $ECHO_C" >&6
41072 else
41073
41074 ac_ext=cpp
41075 ac_cpp='$CXXCPP $CPPFLAGS'
41076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41079
41080
41081 cat >conftest.$ac_ext <<_ACEOF
41082 /* confdefs.h. */
41083 _ACEOF
41084 cat confdefs.h >>conftest.$ac_ext
41085 cat >>conftest.$ac_ext <<_ACEOF
41086 /* end confdefs.h. */
41087 #include <netdb.h>
41088 int
41089 main ()
41090 {
41091
41092 char *name;
41093 char *proto;
41094 struct servent *se, *res;
41095 char buffer[2048];
41096 int buflen = 2048;
41097 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41098
41099 ;
41100 return 0;
41101 }
41102 _ACEOF
41103 rm -f conftest.$ac_objext
41104 if { (ac_try="$ac_compile"
41105 case "(($ac_try" in
41106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41107 *) ac_try_echo=$ac_try;;
41108 esac
41109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41110 (eval "$ac_compile") 2>conftest.er1
41111 ac_status=$?
41112 grep -v '^ *+' conftest.er1 >conftest.err
41113 rm -f conftest.er1
41114 cat conftest.err >&5
41115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41116 (exit $ac_status); } && {
41117 test -z "$ac_cxx_werror_flag" ||
41118 test ! -s conftest.err
41119 } && test -s conftest.$ac_objext; then
41120 ac_cv_func_which_getservbyname_r=six
41121 else
41122 echo "$as_me: failed program was:" >&5
41123 sed 's/^/| /' conftest.$ac_ext >&5
41124
41125
41126 cat >conftest.$ac_ext <<_ACEOF
41127 /* confdefs.h. */
41128 _ACEOF
41129 cat confdefs.h >>conftest.$ac_ext
41130 cat >>conftest.$ac_ext <<_ACEOF
41131 /* end confdefs.h. */
41132 #include <netdb.h>
41133 int
41134 main ()
41135 {
41136
41137 char *name;
41138 char *proto;
41139 struct servent *se;
41140 char buffer[2048];
41141 int buflen = 2048;
41142 (void) getservbyname_r(name, proto, se, buffer, buflen)
41143
41144 ;
41145 return 0;
41146 }
41147 _ACEOF
41148 rm -f conftest.$ac_objext
41149 if { (ac_try="$ac_compile"
41150 case "(($ac_try" in
41151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41152 *) ac_try_echo=$ac_try;;
41153 esac
41154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41155 (eval "$ac_compile") 2>conftest.er1
41156 ac_status=$?
41157 grep -v '^ *+' conftest.er1 >conftest.err
41158 rm -f conftest.er1
41159 cat conftest.err >&5
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); } && {
41162 test -z "$ac_cxx_werror_flag" ||
41163 test ! -s conftest.err
41164 } && test -s conftest.$ac_objext; then
41165 ac_cv_func_which_getservbyname_r=five
41166 else
41167 echo "$as_me: failed program was:" >&5
41168 sed 's/^/| /' conftest.$ac_ext >&5
41169
41170
41171 cat >conftest.$ac_ext <<_ACEOF
41172 /* confdefs.h. */
41173 _ACEOF
41174 cat confdefs.h >>conftest.$ac_ext
41175 cat >>conftest.$ac_ext <<_ACEOF
41176 /* end confdefs.h. */
41177 #include <netdb.h>
41178 int
41179 main ()
41180 {
41181
41182 char *name;
41183 char *proto;
41184 struct servent *se;
41185 struct servent_data data;
41186 (void) getservbyname_r(name, proto, se, &data);
41187
41188 ;
41189 return 0;
41190 }
41191 _ACEOF
41192 rm -f conftest.$ac_objext
41193 if { (ac_try="$ac_compile"
41194 case "(($ac_try" in
41195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41196 *) ac_try_echo=$ac_try;;
41197 esac
41198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41199 (eval "$ac_compile") 2>conftest.er1
41200 ac_status=$?
41201 grep -v '^ *+' conftest.er1 >conftest.err
41202 rm -f conftest.er1
41203 cat conftest.err >&5
41204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41205 (exit $ac_status); } && {
41206 test -z "$ac_cxx_werror_flag" ||
41207 test ! -s conftest.err
41208 } && test -s conftest.$ac_objext; then
41209 ac_cv_func_which_getservbyname_r=four
41210 else
41211 echo "$as_me: failed program was:" >&5
41212 sed 's/^/| /' conftest.$ac_ext >&5
41213
41214 ac_cv_func_which_getservbyname_r=no
41215
41216 fi
41217
41218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41219
41220
41221 fi
41222
41223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41224
41225
41226 fi
41227
41228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41229 ac_ext=c
41230 ac_cpp='$CPP $CPPFLAGS'
41231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41234
41235
41236
41237 fi
41238 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41239 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41240
41241 if test $ac_cv_func_which_getservbyname_r = six; then
41242 cat >>confdefs.h <<\_ACEOF
41243 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41244 _ACEOF
41245
41246 elif test $ac_cv_func_which_getservbyname_r = five; then
41247 cat >>confdefs.h <<\_ACEOF
41248 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41249 _ACEOF
41250
41251 elif test $ac_cv_func_which_getservbyname_r = four; then
41252 cat >>confdefs.h <<\_ACEOF
41253 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41254 _ACEOF
41255
41256 fi
41257
41258
41259 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41260 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41261
41262 for ac_func in getservbyname
41263 do
41264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41265 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41267 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41268 echo $ECHO_N "(cached) $ECHO_C" >&6
41269 else
41270 cat >conftest.$ac_ext <<_ACEOF
41271 /* confdefs.h. */
41272 _ACEOF
41273 cat confdefs.h >>conftest.$ac_ext
41274 cat >>conftest.$ac_ext <<_ACEOF
41275 /* end confdefs.h. */
41276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41278 #define $ac_func innocuous_$ac_func
41279
41280 /* System header to define __stub macros and hopefully few prototypes,
41281 which can conflict with char $ac_func (); below.
41282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41283 <limits.h> exists even on freestanding compilers. */
41284
41285 #ifdef __STDC__
41286 # include <limits.h>
41287 #else
41288 # include <assert.h>
41289 #endif
41290
41291 #undef $ac_func
41292
41293 /* Override any GCC internal prototype to avoid an error.
41294 Use char because int might match the return type of a GCC
41295 builtin and then its argument prototype would still apply. */
41296 #ifdef __cplusplus
41297 extern "C"
41298 #endif
41299 char $ac_func ();
41300 /* The GNU C library defines this for functions which it implements
41301 to always fail with ENOSYS. Some functions are actually named
41302 something starting with __ and the normal name is an alias. */
41303 #if defined __stub_$ac_func || defined __stub___$ac_func
41304 choke me
41305 #endif
41306
41307 int
41308 main ()
41309 {
41310 return $ac_func ();
41311 ;
41312 return 0;
41313 }
41314 _ACEOF
41315 rm -f conftest.$ac_objext conftest$ac_exeext
41316 if { (ac_try="$ac_link"
41317 case "(($ac_try" in
41318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41319 *) ac_try_echo=$ac_try;;
41320 esac
41321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41322 (eval "$ac_link") 2>conftest.er1
41323 ac_status=$?
41324 grep -v '^ *+' conftest.er1 >conftest.err
41325 rm -f conftest.er1
41326 cat conftest.err >&5
41327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41328 (exit $ac_status); } && {
41329 test -z "$ac_c_werror_flag" ||
41330 test ! -s conftest.err
41331 } && test -s conftest$ac_exeext &&
41332 $as_test_x conftest$ac_exeext; then
41333 eval "$as_ac_var=yes"
41334 else
41335 echo "$as_me: failed program was:" >&5
41336 sed 's/^/| /' conftest.$ac_ext >&5
41337
41338 eval "$as_ac_var=no"
41339 fi
41340
41341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41342 conftest$ac_exeext conftest.$ac_ext
41343 fi
41344 ac_res=`eval echo '${'$as_ac_var'}'`
41345 { echo "$as_me:$LINENO: result: $ac_res" >&5
41346 echo "${ECHO_T}$ac_res" >&6; }
41347 if test `eval echo '${'$as_ac_var'}'` = yes; then
41348 cat >>confdefs.h <<_ACEOF
41349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41350 _ACEOF
41351 cat >>confdefs.h <<\_ACEOF
41352 #define HAVE_GETSERVBYNAME 1
41353 _ACEOF
41354
41355 fi
41356 done
41357
41358 fi
41359
41360 if test "$wxUSE_THREADS" = "yes"; then
41361 cat >>confdefs.h <<\_ACEOF
41362 #define wxUSE_THREADS 1
41363 _ACEOF
41364
41365
41366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41367 else
41368 if test "$wx_cv_func_strtok_r" = "yes"; then
41369 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41370 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41371 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41372 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41373 { echo "$as_me:$LINENO: result: yes" >&5
41374 echo "${ECHO_T}yes" >&6; }
41375 else
41376 { echo "$as_me:$LINENO: result: no" >&5
41377 echo "${ECHO_T}no" >&6; }
41378 fi
41379 fi
41380 fi
41381
41382 if test "$WXGTK2" = 1 ; then
41383 cat >>confdefs.h <<_ACEOF
41384 #define __WXGTK20__ $WXGTK2
41385 _ACEOF
41386
41387 WXGTK12=1
41388 fi
41389
41390 if test "$WXGTK12" = 1 ; then
41391 cat >>confdefs.h <<_ACEOF
41392 #define __WXGTK12__ $WXGTK12
41393 _ACEOF
41394
41395 fi
41396
41397 if test "$WXGTK127" = 1 ; then
41398 cat >>confdefs.h <<_ACEOF
41399 #define __WXGTK127__ $WXGTK127
41400 _ACEOF
41401
41402 fi
41403
41404 if test "$WXGPE" = 1 ; then
41405 cat >>confdefs.h <<_ACEOF
41406 #define __WXGPE__ $WXGPE
41407 _ACEOF
41408
41409 fi
41410
41411 DEBUG_CFLAGS=
41412 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41413 DEBUG_CFLAGS="-g"
41414 fi
41415
41416 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41417 wxUSE_DEBUG_INFO=yes
41418 if test "$GCC" = yes; then
41419 DEBUG_CFLAGS="-ggdb"
41420 fi
41421 fi
41422
41423 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41424 cat >>confdefs.h <<\_ACEOF
41425 #define WXDEBUG 1
41426 _ACEOF
41427
41428 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41429 else
41430 if test "$wxUSE_GTK" = 1 ; then
41431 if test "x$wxGTK_VERSION" = "x1" ; then
41432 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41433 fi
41434 fi
41435 fi
41436
41437 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41438 cat >>confdefs.h <<\_ACEOF
41439 #define wxUSE_MEMORY_TRACING 1
41440 _ACEOF
41441
41442 cat >>confdefs.h <<\_ACEOF
41443 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41444 _ACEOF
41445
41446 cat >>confdefs.h <<\_ACEOF
41447 #define wxUSE_DEBUG_NEW_ALWAYS 1
41448 _ACEOF
41449
41450 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41451 fi
41452
41453 if test "$wxUSE_DMALLOC" = "yes" ; then
41454 DMALLOC_LIBS="-ldmallocthcxx"
41455 fi
41456
41457 PROFILE_FLAGS=
41458 if test "$wxUSE_PROFILE" = "yes" ; then
41459 PROFILE_FLAGS=" -pg"
41460 fi
41461
41462 if test "$GCC" = "yes" ; then
41463 if test "$wxUSE_NO_RTTI" = "yes" ; then
41464 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41465 fi
41466 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41467 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41468 fi
41469 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41470 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41471 fi
41472
41473 case "${host}" in
41474 powerpc*-*-aix* )
41475 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41476 ;;
41477 *-hppa* )
41478 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41479 ;;
41480 esac
41481 fi
41482
41483 OPTIMISE_CFLAGS=
41484 if test "$wxUSE_OPTIMISE" = "no" ; then
41485 if test "$GCC" = yes ; then
41486 OPTIMISE_CFLAGS="-O0"
41487 fi
41488 else
41489 if test "$GCC" = yes ; then
41490 case "${host}" in
41491 *-pc-os2_emx | *-pc-os2-emx )
41492 OPTIMISE_CFLAGS="-O2"
41493 ;;
41494 *)
41495 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41496 ;;
41497 esac
41498 else
41499 OPTIMISE_CFLAGS="-O"
41500 fi
41501 fi
41502
41503
41504 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41505 cat >>confdefs.h <<\_ACEOF
41506 #define WXWIN_COMPATIBILITY_2_6 1
41507 _ACEOF
41508
41509
41510 WXWIN_COMPATIBILITY_2_8="yes"
41511 fi
41512
41513 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41514 cat >>confdefs.h <<\_ACEOF
41515 #define WXWIN_COMPATIBILITY_2_8 1
41516 _ACEOF
41517
41518 fi
41519
41520
41521 if test "$wxUSE_GUI" = "yes"; then
41522 cat >>confdefs.h <<\_ACEOF
41523 #define wxUSE_GUI 1
41524 _ACEOF
41525
41526
41527 fi
41528
41529
41530 if test "$wxUSE_UNIX" = "yes"; then
41531 cat >>confdefs.h <<\_ACEOF
41532 #define wxUSE_UNIX 1
41533 _ACEOF
41534
41535 fi
41536
41537
41538 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41539
41540 HAVE_DL_FUNCS=0
41541 HAVE_SHL_FUNCS=0
41542 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41543 if test "$USE_DOS" = 1; then
41544 HAVE_DL_FUNCS=0
41545 else
41546
41547 for ac_func in dlopen
41548 do
41549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41550 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41552 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41553 echo $ECHO_N "(cached) $ECHO_C" >&6
41554 else
41555 cat >conftest.$ac_ext <<_ACEOF
41556 /* confdefs.h. */
41557 _ACEOF
41558 cat confdefs.h >>conftest.$ac_ext
41559 cat >>conftest.$ac_ext <<_ACEOF
41560 /* end confdefs.h. */
41561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41563 #define $ac_func innocuous_$ac_func
41564
41565 /* System header to define __stub macros and hopefully few prototypes,
41566 which can conflict with char $ac_func (); below.
41567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41568 <limits.h> exists even on freestanding compilers. */
41569
41570 #ifdef __STDC__
41571 # include <limits.h>
41572 #else
41573 # include <assert.h>
41574 #endif
41575
41576 #undef $ac_func
41577
41578 /* Override any GCC internal prototype to avoid an error.
41579 Use char because int might match the return type of a GCC
41580 builtin and then its argument prototype would still apply. */
41581 #ifdef __cplusplus
41582 extern "C"
41583 #endif
41584 char $ac_func ();
41585 /* The GNU C library defines this for functions which it implements
41586 to always fail with ENOSYS. Some functions are actually named
41587 something starting with __ and the normal name is an alias. */
41588 #if defined __stub_$ac_func || defined __stub___$ac_func
41589 choke me
41590 #endif
41591
41592 int
41593 main ()
41594 {
41595 return $ac_func ();
41596 ;
41597 return 0;
41598 }
41599 _ACEOF
41600 rm -f conftest.$ac_objext conftest$ac_exeext
41601 if { (ac_try="$ac_link"
41602 case "(($ac_try" in
41603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41604 *) ac_try_echo=$ac_try;;
41605 esac
41606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41607 (eval "$ac_link") 2>conftest.er1
41608 ac_status=$?
41609 grep -v '^ *+' conftest.er1 >conftest.err
41610 rm -f conftest.er1
41611 cat conftest.err >&5
41612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613 (exit $ac_status); } && {
41614 test -z "$ac_c_werror_flag" ||
41615 test ! -s conftest.err
41616 } && test -s conftest$ac_exeext &&
41617 $as_test_x conftest$ac_exeext; then
41618 eval "$as_ac_var=yes"
41619 else
41620 echo "$as_me: failed program was:" >&5
41621 sed 's/^/| /' conftest.$ac_ext >&5
41622
41623 eval "$as_ac_var=no"
41624 fi
41625
41626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41627 conftest$ac_exeext conftest.$ac_ext
41628 fi
41629 ac_res=`eval echo '${'$as_ac_var'}'`
41630 { echo "$as_me:$LINENO: result: $ac_res" >&5
41631 echo "${ECHO_T}$ac_res" >&6; }
41632 if test `eval echo '${'$as_ac_var'}'` = yes; then
41633 cat >>confdefs.h <<_ACEOF
41634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41635 _ACEOF
41636
41637 cat >>confdefs.h <<\_ACEOF
41638 #define HAVE_DLOPEN 1
41639 _ACEOF
41640
41641 HAVE_DL_FUNCS=1
41642
41643 else
41644
41645 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41646 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41647 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41648 echo $ECHO_N "(cached) $ECHO_C" >&6
41649 else
41650 ac_check_lib_save_LIBS=$LIBS
41651 LIBS="-ldl $LIBS"
41652 cat >conftest.$ac_ext <<_ACEOF
41653 /* confdefs.h. */
41654 _ACEOF
41655 cat confdefs.h >>conftest.$ac_ext
41656 cat >>conftest.$ac_ext <<_ACEOF
41657 /* end confdefs.h. */
41658
41659 /* Override any GCC internal prototype to avoid an error.
41660 Use char because int might match the return type of a GCC
41661 builtin and then its argument prototype would still apply. */
41662 #ifdef __cplusplus
41663 extern "C"
41664 #endif
41665 char dlopen ();
41666 int
41667 main ()
41668 {
41669 return dlopen ();
41670 ;
41671 return 0;
41672 }
41673 _ACEOF
41674 rm -f conftest.$ac_objext conftest$ac_exeext
41675 if { (ac_try="$ac_link"
41676 case "(($ac_try" in
41677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41678 *) ac_try_echo=$ac_try;;
41679 esac
41680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41681 (eval "$ac_link") 2>conftest.er1
41682 ac_status=$?
41683 grep -v '^ *+' conftest.er1 >conftest.err
41684 rm -f conftest.er1
41685 cat conftest.err >&5
41686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41687 (exit $ac_status); } && {
41688 test -z "$ac_c_werror_flag" ||
41689 test ! -s conftest.err
41690 } && test -s conftest$ac_exeext &&
41691 $as_test_x conftest$ac_exeext; then
41692 ac_cv_lib_dl_dlopen=yes
41693 else
41694 echo "$as_me: failed program was:" >&5
41695 sed 's/^/| /' conftest.$ac_ext >&5
41696
41697 ac_cv_lib_dl_dlopen=no
41698 fi
41699
41700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41701 conftest$ac_exeext conftest.$ac_ext
41702 LIBS=$ac_check_lib_save_LIBS
41703 fi
41704 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41705 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41706 if test $ac_cv_lib_dl_dlopen = yes; then
41707
41708 cat >>confdefs.h <<\_ACEOF
41709 #define HAVE_DLOPEN 1
41710 _ACEOF
41711
41712 HAVE_DL_FUNCS=1
41713 DL_LINK=" -ldl$DL_LINK"
41714
41715 else
41716
41717
41718 for ac_func in shl_load
41719 do
41720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41721 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41723 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41724 echo $ECHO_N "(cached) $ECHO_C" >&6
41725 else
41726 cat >conftest.$ac_ext <<_ACEOF
41727 /* confdefs.h. */
41728 _ACEOF
41729 cat confdefs.h >>conftest.$ac_ext
41730 cat >>conftest.$ac_ext <<_ACEOF
41731 /* end confdefs.h. */
41732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41734 #define $ac_func innocuous_$ac_func
41735
41736 /* System header to define __stub macros and hopefully few prototypes,
41737 which can conflict with char $ac_func (); below.
41738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41739 <limits.h> exists even on freestanding compilers. */
41740
41741 #ifdef __STDC__
41742 # include <limits.h>
41743 #else
41744 # include <assert.h>
41745 #endif
41746
41747 #undef $ac_func
41748
41749 /* Override any GCC internal prototype to avoid an error.
41750 Use char because int might match the return type of a GCC
41751 builtin and then its argument prototype would still apply. */
41752 #ifdef __cplusplus
41753 extern "C"
41754 #endif
41755 char $ac_func ();
41756 /* The GNU C library defines this for functions which it implements
41757 to always fail with ENOSYS. Some functions are actually named
41758 something starting with __ and the normal name is an alias. */
41759 #if defined __stub_$ac_func || defined __stub___$ac_func
41760 choke me
41761 #endif
41762
41763 int
41764 main ()
41765 {
41766 return $ac_func ();
41767 ;
41768 return 0;
41769 }
41770 _ACEOF
41771 rm -f conftest.$ac_objext conftest$ac_exeext
41772 if { (ac_try="$ac_link"
41773 case "(($ac_try" in
41774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41775 *) ac_try_echo=$ac_try;;
41776 esac
41777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41778 (eval "$ac_link") 2>conftest.er1
41779 ac_status=$?
41780 grep -v '^ *+' conftest.er1 >conftest.err
41781 rm -f conftest.er1
41782 cat conftest.err >&5
41783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41784 (exit $ac_status); } && {
41785 test -z "$ac_c_werror_flag" ||
41786 test ! -s conftest.err
41787 } && test -s conftest$ac_exeext &&
41788 $as_test_x conftest$ac_exeext; then
41789 eval "$as_ac_var=yes"
41790 else
41791 echo "$as_me: failed program was:" >&5
41792 sed 's/^/| /' conftest.$ac_ext >&5
41793
41794 eval "$as_ac_var=no"
41795 fi
41796
41797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41798 conftest$ac_exeext conftest.$ac_ext
41799 fi
41800 ac_res=`eval echo '${'$as_ac_var'}'`
41801 { echo "$as_me:$LINENO: result: $ac_res" >&5
41802 echo "${ECHO_T}$ac_res" >&6; }
41803 if test `eval echo '${'$as_ac_var'}'` = yes; then
41804 cat >>confdefs.h <<_ACEOF
41805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41806 _ACEOF
41807
41808 cat >>confdefs.h <<\_ACEOF
41809 #define HAVE_SHL_LOAD 1
41810 _ACEOF
41811
41812 HAVE_SHL_FUNCS=1
41813
41814 else
41815
41816 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41817 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41818 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41819 echo $ECHO_N "(cached) $ECHO_C" >&6
41820 else
41821 ac_check_lib_save_LIBS=$LIBS
41822 LIBS="-lshl_load $LIBS"
41823 cat >conftest.$ac_ext <<_ACEOF
41824 /* confdefs.h. */
41825 _ACEOF
41826 cat confdefs.h >>conftest.$ac_ext
41827 cat >>conftest.$ac_ext <<_ACEOF
41828 /* end confdefs.h. */
41829
41830 /* Override any GCC internal prototype to avoid an error.
41831 Use char because int might match the return type of a GCC
41832 builtin and then its argument prototype would still apply. */
41833 #ifdef __cplusplus
41834 extern "C"
41835 #endif
41836 char dld ();
41837 int
41838 main ()
41839 {
41840 return dld ();
41841 ;
41842 return 0;
41843 }
41844 _ACEOF
41845 rm -f conftest.$ac_objext conftest$ac_exeext
41846 if { (ac_try="$ac_link"
41847 case "(($ac_try" in
41848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41849 *) ac_try_echo=$ac_try;;
41850 esac
41851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41852 (eval "$ac_link") 2>conftest.er1
41853 ac_status=$?
41854 grep -v '^ *+' conftest.er1 >conftest.err
41855 rm -f conftest.er1
41856 cat conftest.err >&5
41857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41858 (exit $ac_status); } && {
41859 test -z "$ac_c_werror_flag" ||
41860 test ! -s conftest.err
41861 } && test -s conftest$ac_exeext &&
41862 $as_test_x conftest$ac_exeext; then
41863 ac_cv_lib_shl_load_dld=yes
41864 else
41865 echo "$as_me: failed program was:" >&5
41866 sed 's/^/| /' conftest.$ac_ext >&5
41867
41868 ac_cv_lib_shl_load_dld=no
41869 fi
41870
41871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41872 conftest$ac_exeext conftest.$ac_ext
41873 LIBS=$ac_check_lib_save_LIBS
41874 fi
41875 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41876 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41877 if test $ac_cv_lib_shl_load_dld = yes; then
41878
41879 HAVE_SHL_FUNCS=1
41880 DL_LINK=" -ldld$DL_LINK"
41881
41882 fi
41883
41884
41885 fi
41886 done
41887
41888
41889 fi
41890
41891
41892 fi
41893 done
41894
41895
41896 if test "$HAVE_DL_FUNCS" = 1; then
41897
41898 for ac_func in dlerror
41899 do
41900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41904 echo $ECHO_N "(cached) $ECHO_C" >&6
41905 else
41906 cat >conftest.$ac_ext <<_ACEOF
41907 /* confdefs.h. */
41908 _ACEOF
41909 cat confdefs.h >>conftest.$ac_ext
41910 cat >>conftest.$ac_ext <<_ACEOF
41911 /* end confdefs.h. */
41912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41914 #define $ac_func innocuous_$ac_func
41915
41916 /* System header to define __stub macros and hopefully few prototypes,
41917 which can conflict with char $ac_func (); below.
41918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41919 <limits.h> exists even on freestanding compilers. */
41920
41921 #ifdef __STDC__
41922 # include <limits.h>
41923 #else
41924 # include <assert.h>
41925 #endif
41926
41927 #undef $ac_func
41928
41929 /* Override any GCC internal prototype to avoid an error.
41930 Use char because int might match the return type of a GCC
41931 builtin and then its argument prototype would still apply. */
41932 #ifdef __cplusplus
41933 extern "C"
41934 #endif
41935 char $ac_func ();
41936 /* The GNU C library defines this for functions which it implements
41937 to always fail with ENOSYS. Some functions are actually named
41938 something starting with __ and the normal name is an alias. */
41939 #if defined __stub_$ac_func || defined __stub___$ac_func
41940 choke me
41941 #endif
41942
41943 int
41944 main ()
41945 {
41946 return $ac_func ();
41947 ;
41948 return 0;
41949 }
41950 _ACEOF
41951 rm -f conftest.$ac_objext conftest$ac_exeext
41952 if { (ac_try="$ac_link"
41953 case "(($ac_try" in
41954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41955 *) ac_try_echo=$ac_try;;
41956 esac
41957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41958 (eval "$ac_link") 2>conftest.er1
41959 ac_status=$?
41960 grep -v '^ *+' conftest.er1 >conftest.err
41961 rm -f conftest.er1
41962 cat conftest.err >&5
41963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41964 (exit $ac_status); } && {
41965 test -z "$ac_c_werror_flag" ||
41966 test ! -s conftest.err
41967 } && test -s conftest$ac_exeext &&
41968 $as_test_x conftest$ac_exeext; then
41969 eval "$as_ac_var=yes"
41970 else
41971 echo "$as_me: failed program was:" >&5
41972 sed 's/^/| /' conftest.$ac_ext >&5
41973
41974 eval "$as_ac_var=no"
41975 fi
41976
41977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41978 conftest$ac_exeext conftest.$ac_ext
41979 fi
41980 ac_res=`eval echo '${'$as_ac_var'}'`
41981 { echo "$as_me:$LINENO: result: $ac_res" >&5
41982 echo "${ECHO_T}$ac_res" >&6; }
41983 if test `eval echo '${'$as_ac_var'}'` = yes; then
41984 cat >>confdefs.h <<_ACEOF
41985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41986 _ACEOF
41987 cat >>confdefs.h <<\_ACEOF
41988 #define HAVE_DLERROR 1
41989 _ACEOF
41990
41991 else
41992
41993 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41994 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41995 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41996 echo $ECHO_N "(cached) $ECHO_C" >&6
41997 else
41998 ac_check_lib_save_LIBS=$LIBS
41999 LIBS="-ldl $LIBS"
42000 cat >conftest.$ac_ext <<_ACEOF
42001 /* confdefs.h. */
42002 _ACEOF
42003 cat confdefs.h >>conftest.$ac_ext
42004 cat >>conftest.$ac_ext <<_ACEOF
42005 /* end confdefs.h. */
42006
42007 /* Override any GCC internal prototype to avoid an error.
42008 Use char because int might match the return type of a GCC
42009 builtin and then its argument prototype would still apply. */
42010 #ifdef __cplusplus
42011 extern "C"
42012 #endif
42013 char dlerror ();
42014 int
42015 main ()
42016 {
42017 return dlerror ();
42018 ;
42019 return 0;
42020 }
42021 _ACEOF
42022 rm -f conftest.$ac_objext conftest$ac_exeext
42023 if { (ac_try="$ac_link"
42024 case "(($ac_try" in
42025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42026 *) ac_try_echo=$ac_try;;
42027 esac
42028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42029 (eval "$ac_link") 2>conftest.er1
42030 ac_status=$?
42031 grep -v '^ *+' conftest.er1 >conftest.err
42032 rm -f conftest.er1
42033 cat conftest.err >&5
42034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42035 (exit $ac_status); } && {
42036 test -z "$ac_c_werror_flag" ||
42037 test ! -s conftest.err
42038 } && test -s conftest$ac_exeext &&
42039 $as_test_x conftest$ac_exeext; then
42040 ac_cv_lib_dl_dlerror=yes
42041 else
42042 echo "$as_me: failed program was:" >&5
42043 sed 's/^/| /' conftest.$ac_ext >&5
42044
42045 ac_cv_lib_dl_dlerror=no
42046 fi
42047
42048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42049 conftest$ac_exeext conftest.$ac_ext
42050 LIBS=$ac_check_lib_save_LIBS
42051 fi
42052 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42053 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42054 if test $ac_cv_lib_dl_dlerror = yes; then
42055 cat >>confdefs.h <<\_ACEOF
42056 #define HAVE_DLERROR 1
42057 _ACEOF
42058
42059 fi
42060
42061
42062
42063 fi
42064 done
42065
42066 fi
42067 fi
42068
42069 if test "$USE_DARWIN" = 1; then
42070 HAVE_DL_FUNCS=1
42071 fi
42072
42073 if test "$HAVE_DL_FUNCS" = 0; then
42074 if test "$HAVE_SHL_FUNCS" = 0; then
42075 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42076 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42077 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42078 wxUSE_DYNAMIC_LOADER=no
42079 wxUSE_DYNLIB_CLASS=no
42080 else
42081 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42082 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42083 fi
42084 fi
42085 fi
42086 fi
42087 fi
42088
42089 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42090 cat >>confdefs.h <<\_ACEOF
42091 #define wxUSE_DYNAMIC_LOADER 1
42092 _ACEOF
42093
42094 fi
42095 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42096 cat >>confdefs.h <<\_ACEOF
42097 #define wxUSE_DYNLIB_CLASS 1
42098 _ACEOF
42099
42100 fi
42101
42102
42103
42104 if test "$wxUSE_PLUGINS" = "yes" ; then
42105 if test "$wxUSE_SHARED" = "no" ; then
42106 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42107 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42108 wxUSE_PLUGINS=no
42109 fi
42110 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42111 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42112 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42113 wxUSE_PLUGINS=no
42114 fi
42115 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42116 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42117 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42118 wxUSE_PLUGINS=no
42119 fi
42120 if test "$wxUSE_PLUGINS" = "yes" ; then
42121 cat >>confdefs.h <<\_ACEOF
42122 #define wxUSE_PLUGINS 1
42123 _ACEOF
42124
42125 fi
42126 fi
42127
42128
42129 if test "$wxUSE_STL" = "yes"; then
42130 cat >>confdefs.h <<\_ACEOF
42131 #define wxUSE_STL 1
42132 _ACEOF
42133
42134 fi
42135
42136 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42137 cat >>confdefs.h <<\_ACEOF
42138 #define wxUSE_EXTENDED_RTTI 1
42139 _ACEOF
42140
42141 fi
42142
42143 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42144 cat >>confdefs.h <<\_ACEOF
42145 #define wxUSE_APPLE_IEEE 1
42146 _ACEOF
42147
42148 fi
42149
42150 if test "$wxUSE_TIMER" = "yes"; then
42151 cat >>confdefs.h <<\_ACEOF
42152 #define wxUSE_TIMER 1
42153 _ACEOF
42154
42155 fi
42156
42157 if test "$USE_UNIX" = 1 ; then
42158 if test "$wxUSE_MGL" != 1; then
42159 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42160 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42161 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42162 echo $ECHO_N "(cached) $ECHO_C" >&6
42163 else
42164
42165 cat >conftest.$ac_ext <<_ACEOF
42166 /* confdefs.h. */
42167 _ACEOF
42168 cat confdefs.h >>conftest.$ac_ext
42169 cat >>conftest.$ac_ext <<_ACEOF
42170 /* end confdefs.h. */
42171
42172 #include <sys/ioctl.h>
42173 #include <sys/soundcard.h>
42174
42175 int
42176 main ()
42177 {
42178
42179 ioctl(0, SNDCTL_DSP_SPEED, 0);
42180
42181 ;
42182 return 0;
42183 }
42184 _ACEOF
42185 rm -f conftest.$ac_objext conftest$ac_exeext
42186 if { (ac_try="$ac_link"
42187 case "(($ac_try" in
42188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42189 *) ac_try_echo=$ac_try;;
42190 esac
42191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42192 (eval "$ac_link") 2>conftest.er1
42193 ac_status=$?
42194 grep -v '^ *+' conftest.er1 >conftest.err
42195 rm -f conftest.er1
42196 cat conftest.err >&5
42197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198 (exit $ac_status); } && {
42199 test -z "$ac_c_werror_flag" ||
42200 test ! -s conftest.err
42201 } && test -s conftest$ac_exeext &&
42202 $as_test_x conftest$ac_exeext; then
42203 ac_cv_header_sys_soundcard=yes
42204 else
42205 echo "$as_me: failed program was:" >&5
42206 sed 's/^/| /' conftest.$ac_ext >&5
42207
42208
42209 saveLibs="$LIBS"
42210 LIBS="$saveLibs -lossaudio"
42211 cat >conftest.$ac_ext <<_ACEOF
42212 /* confdefs.h. */
42213 _ACEOF
42214 cat confdefs.h >>conftest.$ac_ext
42215 cat >>conftest.$ac_ext <<_ACEOF
42216 /* end confdefs.h. */
42217
42218 #include <sys/ioctl.h>
42219 #include <sys/soundcard.h>
42220
42221 int
42222 main ()
42223 {
42224
42225 ioctl(0, SNDCTL_DSP_SPEED, 0);
42226
42227 ;
42228 return 0;
42229 }
42230 _ACEOF
42231 rm -f conftest.$ac_objext conftest$ac_exeext
42232 if { (ac_try="$ac_link"
42233 case "(($ac_try" in
42234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42235 *) ac_try_echo=$ac_try;;
42236 esac
42237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42238 (eval "$ac_link") 2>conftest.er1
42239 ac_status=$?
42240 grep -v '^ *+' conftest.er1 >conftest.err
42241 rm -f conftest.er1
42242 cat conftest.err >&5
42243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244 (exit $ac_status); } && {
42245 test -z "$ac_c_werror_flag" ||
42246 test ! -s conftest.err
42247 } && test -s conftest$ac_exeext &&
42248 $as_test_x conftest$ac_exeext; then
42249 ac_cv_header_sys_soundcard=yes
42250 else
42251 echo "$as_me: failed program was:" >&5
42252 sed 's/^/| /' conftest.$ac_ext >&5
42253
42254
42255 LIBS="$saveLibs"
42256 ac_cv_header_sys_soundcard=no
42257
42258
42259 fi
42260
42261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42262 conftest$ac_exeext conftest.$ac_ext
42263
42264
42265 fi
42266
42267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42268 conftest$ac_exeext conftest.$ac_ext
42269
42270 fi
42271 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42272 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42273 fi
42274
42275 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42276 cat >>confdefs.h <<\_ACEOF
42277 #define HAVE_SYS_SOUNDCARD_H 1
42278 _ACEOF
42279
42280 fi
42281 fi
42282
42283 WITH_PLUGIN_SDL=0
42284 if test "$wxUSE_SOUND" = "yes"; then
42285 if test "$USE_UNIX" = 1 ; then
42286 if test "$wxUSE_LIBSDL" != "no"; then
42287
42288 # Check whether --with-sdl-prefix was given.
42289 if test "${with_sdl_prefix+set}" = set; then
42290 withval=$with_sdl_prefix; sdl_prefix="$withval"
42291 else
42292 sdl_prefix=""
42293 fi
42294
42295
42296 # Check whether --with-sdl-exec-prefix was given.
42297 if test "${with_sdl_exec_prefix+set}" = set; then
42298 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42299 else
42300 sdl_exec_prefix=""
42301 fi
42302
42303 # Check whether --enable-sdltest was given.
42304 if test "${enable_sdltest+set}" = set; then
42305 enableval=$enable_sdltest;
42306 else
42307 enable_sdltest=yes
42308 fi
42309
42310
42311 if test x$sdl_exec_prefix != x ; then
42312 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42313 if test x${SDL_CONFIG+set} != xset ; then
42314 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42315 fi
42316 fi
42317 if test x$sdl_prefix != x ; then
42318 sdl_args="$sdl_args --prefix=$sdl_prefix"
42319 if test x${SDL_CONFIG+set} != xset ; then
42320 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42321 fi
42322 fi
42323
42324 if test "x$prefix" != xNONE; then
42325 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42326 fi
42327 # Extract the first word of "sdl-config", so it can be a program name with args.
42328 set dummy sdl-config; ac_word=$2
42329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42331 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42332 echo $ECHO_N "(cached) $ECHO_C" >&6
42333 else
42334 case $SDL_CONFIG in
42335 [\\/]* | ?:[\\/]*)
42336 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42337 ;;
42338 *)
42339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42340 for as_dir in $PATH
42341 do
42342 IFS=$as_save_IFS
42343 test -z "$as_dir" && as_dir=.
42344 for ac_exec_ext in '' $ac_executable_extensions; do
42345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42346 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42348 break 2
42349 fi
42350 done
42351 done
42352 IFS=$as_save_IFS
42353
42354 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42355 ;;
42356 esac
42357 fi
42358 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42359 if test -n "$SDL_CONFIG"; then
42360 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42361 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42362 else
42363 { echo "$as_me:$LINENO: result: no" >&5
42364 echo "${ECHO_T}no" >&6; }
42365 fi
42366
42367
42368 min_sdl_version=1.2.0
42369 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42370 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42371 no_sdl=""
42372 if test "$SDL_CONFIG" = "no" ; then
42373 no_sdl=yes
42374 else
42375 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42376 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42377
42378 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42379 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42380 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42382 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42384 if test "x$enable_sdltest" = "xyes" ; then
42385 ac_save_CFLAGS="$CFLAGS"
42386 ac_save_CXXFLAGS="$CXXFLAGS"
42387 ac_save_LIBS="$LIBS"
42388 CFLAGS="$CFLAGS $SDL_CFLAGS"
42389 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42390 LIBS="$LIBS $SDL_LIBS"
42391 rm -f conf.sdltest
42392 if test "$cross_compiling" = yes; then
42393 echo $ac_n "cross compiling; assumed OK... $ac_c"
42394 else
42395 cat >conftest.$ac_ext <<_ACEOF
42396 /* confdefs.h. */
42397 _ACEOF
42398 cat confdefs.h >>conftest.$ac_ext
42399 cat >>conftest.$ac_ext <<_ACEOF
42400 /* end confdefs.h. */
42401
42402 #include <stdio.h>
42403 #include <stdlib.h>
42404 #include <string.h>
42405 #include "SDL.h"
42406
42407 char*
42408 my_strdup (char *str)
42409 {
42410 char *new_str;
42411
42412 if (str)
42413 {
42414 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42415 strcpy (new_str, str);
42416 }
42417 else
42418 new_str = NULL;
42419
42420 return new_str;
42421 }
42422
42423 int main (int argc, char *argv[])
42424 {
42425 int major, minor, micro;
42426 char *tmp_version;
42427
42428 /* This hangs on some systems (?)
42429 system ("touch conf.sdltest");
42430 */
42431 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42432
42433 /* HP/UX 9 (%@#!) writes to sscanf strings */
42434 tmp_version = my_strdup("$min_sdl_version");
42435 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42436 printf("%s, bad version string\n", "$min_sdl_version");
42437 exit(1);
42438 }
42439
42440 if (($sdl_major_version > major) ||
42441 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42442 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42443 {
42444 return 0;
42445 }
42446 else
42447 {
42448 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42449 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42450 printf("*** best to upgrade to the required version.\n");
42451 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42452 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42453 printf("*** config.cache before re-running configure\n");
42454 return 1;
42455 }
42456 }
42457
42458
42459 _ACEOF
42460 rm -f conftest$ac_exeext
42461 if { (ac_try="$ac_link"
42462 case "(($ac_try" in
42463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42464 *) ac_try_echo=$ac_try;;
42465 esac
42466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42467 (eval "$ac_link") 2>&5
42468 ac_status=$?
42469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42471 { (case "(($ac_try" in
42472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42473 *) ac_try_echo=$ac_try;;
42474 esac
42475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42476 (eval "$ac_try") 2>&5
42477 ac_status=$?
42478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479 (exit $ac_status); }; }; then
42480 :
42481 else
42482 echo "$as_me: program exited with status $ac_status" >&5
42483 echo "$as_me: failed program was:" >&5
42484 sed 's/^/| /' conftest.$ac_ext >&5
42485
42486 ( exit $ac_status )
42487 no_sdl=yes
42488 fi
42489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42490 fi
42491
42492
42493 CFLAGS="$ac_save_CFLAGS"
42494 CXXFLAGS="$ac_save_CXXFLAGS"
42495 LIBS="$ac_save_LIBS"
42496 fi
42497 fi
42498 if test "x$no_sdl" = x ; then
42499 { echo "$as_me:$LINENO: result: yes" >&5
42500 echo "${ECHO_T}yes" >&6; }
42501
42502 EXTRALIBS_SDL="$SDL_LIBS"
42503 CFLAGS="$SDL_CFLAGS $CFLAGS"
42504 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42505 cat >>confdefs.h <<\_ACEOF
42506 #define wxUSE_LIBSDL 1
42507 _ACEOF
42508
42509
42510 else
42511 { echo "$as_me:$LINENO: result: no" >&5
42512 echo "${ECHO_T}no" >&6; }
42513 if test "$SDL_CONFIG" = "no" ; then
42514 echo "*** The sdl-config script installed by SDL could not be found"
42515 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42516 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42517 echo "*** full path to sdl-config."
42518 else
42519 if test -f conf.sdltest ; then
42520 :
42521 else
42522 echo "*** Could not run SDL test program, checking why..."
42523 CFLAGS="$CFLAGS $SDL_CFLAGS"
42524 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42525 LIBS="$LIBS $SDL_LIBS"
42526 cat >conftest.$ac_ext <<_ACEOF
42527 /* confdefs.h. */
42528 _ACEOF
42529 cat confdefs.h >>conftest.$ac_ext
42530 cat >>conftest.$ac_ext <<_ACEOF
42531 /* end confdefs.h. */
42532
42533 #include <stdio.h>
42534 #include "SDL.h"
42535
42536 int main(int argc, char *argv[])
42537 { return 0; }
42538 #undef main
42539 #define main K_and_R_C_main
42540
42541 int
42542 main ()
42543 {
42544 return 0;
42545 ;
42546 return 0;
42547 }
42548 _ACEOF
42549 rm -f conftest.$ac_objext conftest$ac_exeext
42550 if { (ac_try="$ac_link"
42551 case "(($ac_try" in
42552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42553 *) ac_try_echo=$ac_try;;
42554 esac
42555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42556 (eval "$ac_link") 2>conftest.er1
42557 ac_status=$?
42558 grep -v '^ *+' conftest.er1 >conftest.err
42559 rm -f conftest.er1
42560 cat conftest.err >&5
42561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42562 (exit $ac_status); } && {
42563 test -z "$ac_c_werror_flag" ||
42564 test ! -s conftest.err
42565 } && test -s conftest$ac_exeext &&
42566 $as_test_x conftest$ac_exeext; then
42567 echo "*** The test program compiled, but did not run. This usually means"
42568 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42569 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42570 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42571 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42572 echo "*** is required on your system"
42573 echo "***"
42574 echo "*** If you have an old version installed, it is best to remove it, although"
42575 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42576 else
42577 echo "$as_me: failed program was:" >&5
42578 sed 's/^/| /' conftest.$ac_ext >&5
42579
42580 echo "*** The test program failed to compile or link. See the file config.log for the"
42581 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42582 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42583 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42584 fi
42585
42586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42587 conftest$ac_exeext conftest.$ac_ext
42588 CFLAGS="$ac_save_CFLAGS"
42589 CXXFLAGS="$ac_save_CXXFLAGS"
42590 LIBS="$ac_save_LIBS"
42591 fi
42592 fi
42593 SDL_CFLAGS=""
42594 SDL_LIBS=""
42595 wxUSE_LIBSDL="no"
42596 fi
42597
42598
42599 rm -f conf.sdltest
42600
42601 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42602 WITH_PLUGIN_SDL=1
42603 fi
42604 fi
42605 else
42606 if test "$wxUSE_MGL" = 1; then
42607 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42608 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42609 wxUSE_SOUND="no"
42610 fi
42611 fi
42612 fi
42613
42614 if test "$wxUSE_SOUND" = "yes"; then
42615 cat >>confdefs.h <<\_ACEOF
42616 #define wxUSE_SOUND 1
42617 _ACEOF
42618
42619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42620 fi
42621
42622 if test "$WXGTK2" = 1; then
42623
42624
42625 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42626 if test -n "$ac_tool_prefix"; then
42627 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42628 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42631 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42632 echo $ECHO_N "(cached) $ECHO_C" >&6
42633 else
42634 case $PKG_CONFIG in
42635 [\\/]* | ?:[\\/]*)
42636 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42637 ;;
42638 *)
42639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42640 for as_dir in $PATH
42641 do
42642 IFS=$as_save_IFS
42643 test -z "$as_dir" && as_dir=.
42644 for ac_exec_ext in '' $ac_executable_extensions; do
42645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42646 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42648 break 2
42649 fi
42650 done
42651 done
42652 IFS=$as_save_IFS
42653
42654 ;;
42655 esac
42656 fi
42657 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42658 if test -n "$PKG_CONFIG"; then
42659 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42660 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42661 else
42662 { echo "$as_me:$LINENO: result: no" >&5
42663 echo "${ECHO_T}no" >&6; }
42664 fi
42665
42666
42667 fi
42668 if test -z "$ac_cv_path_PKG_CONFIG"; then
42669 ac_pt_PKG_CONFIG=$PKG_CONFIG
42670 # Extract the first word of "pkg-config", so it can be a program name with args.
42671 set dummy pkg-config; ac_word=$2
42672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42674 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42675 echo $ECHO_N "(cached) $ECHO_C" >&6
42676 else
42677 case $ac_pt_PKG_CONFIG in
42678 [\\/]* | ?:[\\/]*)
42679 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42680 ;;
42681 *)
42682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42683 for as_dir in $PATH
42684 do
42685 IFS=$as_save_IFS
42686 test -z "$as_dir" && as_dir=.
42687 for ac_exec_ext in '' $ac_executable_extensions; do
42688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42689 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42691 break 2
42692 fi
42693 done
42694 done
42695 IFS=$as_save_IFS
42696
42697 ;;
42698 esac
42699 fi
42700 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42701 if test -n "$ac_pt_PKG_CONFIG"; then
42702 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42703 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42704 else
42705 { echo "$as_me:$LINENO: result: no" >&5
42706 echo "${ECHO_T}no" >&6; }
42707 fi
42708
42709 if test "x$ac_pt_PKG_CONFIG" = x; then
42710 PKG_CONFIG=""
42711 else
42712 case $cross_compiling:$ac_tool_warned in
42713 yes:)
42714 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42715 whose name does not start with the host triplet. If you think this
42716 configuration is useful to you, please write to autoconf@gnu.org." >&5
42717 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42718 whose name does not start with the host triplet. If you think this
42719 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42720 ac_tool_warned=yes ;;
42721 esac
42722 PKG_CONFIG=$ac_pt_PKG_CONFIG
42723 fi
42724 else
42725 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42726 fi
42727
42728 fi
42729 if test -n "$PKG_CONFIG"; then
42730 _pkg_min_version=0.9.0
42731 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42732 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42733 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42734 { echo "$as_me:$LINENO: result: yes" >&5
42735 echo "${ECHO_T}yes" >&6; }
42736 else
42737 { echo "$as_me:$LINENO: result: no" >&5
42738 echo "${ECHO_T}no" >&6; }
42739 PKG_CONFIG=""
42740 fi
42741
42742 fi
42743
42744 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42745
42746 if test "$wxUSE_GTKPRINT" = "yes" ; then
42747
42748
42749 pkg_failed=no
42750 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42751 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42752
42753 if test -n "$PKG_CONFIG"; then
42754 if test -n "$GTKPRINT_CFLAGS"; then
42755 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42756 else
42757 if test -n "$PKG_CONFIG" && \
42758 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42759 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42760 ac_status=$?
42761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42762 (exit $ac_status); }; then
42763 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42764 else
42765 pkg_failed=yes
42766 fi
42767 fi
42768 else
42769 pkg_failed=untried
42770 fi
42771 if test -n "$PKG_CONFIG"; then
42772 if test -n "$GTKPRINT_LIBS"; then
42773 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42774 else
42775 if test -n "$PKG_CONFIG" && \
42776 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42777 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42778 ac_status=$?
42779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42780 (exit $ac_status); }; then
42781 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42782 else
42783 pkg_failed=yes
42784 fi
42785 fi
42786 else
42787 pkg_failed=untried
42788 fi
42789
42790
42791
42792 if test $pkg_failed = yes; then
42793
42794 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42795 _pkg_short_errors_supported=yes
42796 else
42797 _pkg_short_errors_supported=no
42798 fi
42799 if test $_pkg_short_errors_supported = yes; then
42800 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42801 else
42802 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42803 fi
42804 # Put the nasty error message in config.log where it belongs
42805 echo "$GTKPRINT_PKG_ERRORS" >&5
42806
42807
42808 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42809 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42810 wxUSE_GTKPRINT="no"
42811
42812
42813 elif test $pkg_failed = untried; then
42814
42815 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42816 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42817 wxUSE_GTKPRINT="no"
42818
42819
42820 else
42821 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42822 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42823 { echo "$as_me:$LINENO: result: yes" >&5
42824 echo "${ECHO_T}yes" >&6; }
42825
42826 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42827 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42828 cat >>confdefs.h <<\_ACEOF
42829 #define wxUSE_GTKPRINT 1
42830 _ACEOF
42831
42832
42833 fi
42834 fi
42835
42836 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42837
42838
42839 pkg_failed=no
42840 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42841 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42842
42843 if test -n "$PKG_CONFIG"; then
42844 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42845 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42846 else
42847 if test -n "$PKG_CONFIG" && \
42848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42849 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42850 ac_status=$?
42851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42852 (exit $ac_status); }; then
42853 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42854 else
42855 pkg_failed=yes
42856 fi
42857 fi
42858 else
42859 pkg_failed=untried
42860 fi
42861 if test -n "$PKG_CONFIG"; then
42862 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42863 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42864 else
42865 if test -n "$PKG_CONFIG" && \
42866 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42867 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42868 ac_status=$?
42869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42870 (exit $ac_status); }; then
42871 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42872 else
42873 pkg_failed=yes
42874 fi
42875 fi
42876 else
42877 pkg_failed=untried
42878 fi
42879
42880
42881
42882 if test $pkg_failed = yes; then
42883
42884 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42885 _pkg_short_errors_supported=yes
42886 else
42887 _pkg_short_errors_supported=no
42888 fi
42889 if test $_pkg_short_errors_supported = yes; then
42890 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42891 else
42892 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42893 fi
42894 # Put the nasty error message in config.log where it belongs
42895 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42896
42897
42898 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42899 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42900 wxUSE_LIBGNOMEPRINT="no"
42901
42902
42903 elif test $pkg_failed = untried; then
42904
42905 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42906 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42907 wxUSE_LIBGNOMEPRINT="no"
42908
42909
42910 else
42911 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42912 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42913 { echo "$as_me:$LINENO: result: yes" >&5
42914 echo "${ECHO_T}yes" >&6; }
42915
42916 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42917 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42918 cat >>confdefs.h <<\_ACEOF
42919 #define wxUSE_LIBGNOMEPRINT 1
42920 _ACEOF
42921
42922
42923 fi
42924 fi
42925 fi
42926
42927 if test "$wxUSE_MIMETYPE" = "yes" ; then
42928 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42929
42930
42931 pkg_failed=no
42932 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42933 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42934
42935 if test -n "$PKG_CONFIG"; then
42936 if test -n "$GNOMEVFS_CFLAGS"; then
42937 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42938 else
42939 if test -n "$PKG_CONFIG" && \
42940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42941 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42942 ac_status=$?
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); }; then
42945 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42946 else
42947 pkg_failed=yes
42948 fi
42949 fi
42950 else
42951 pkg_failed=untried
42952 fi
42953 if test -n "$PKG_CONFIG"; then
42954 if test -n "$GNOMEVFS_LIBS"; then
42955 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42956 else
42957 if test -n "$PKG_CONFIG" && \
42958 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42959 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42960 ac_status=$?
42961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42962 (exit $ac_status); }; then
42963 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42964 else
42965 pkg_failed=yes
42966 fi
42967 fi
42968 else
42969 pkg_failed=untried
42970 fi
42971
42972
42973
42974 if test $pkg_failed = yes; then
42975
42976 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42977 _pkg_short_errors_supported=yes
42978 else
42979 _pkg_short_errors_supported=no
42980 fi
42981 if test $_pkg_short_errors_supported = yes; then
42982 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42983 else
42984 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42985 fi
42986 # Put the nasty error message in config.log where it belongs
42987 echo "$GNOMEVFS_PKG_ERRORS" >&5
42988
42989
42990 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42991 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42992 wxUSE_LIBGNOMEVFS="no"
42993
42994
42995 elif test $pkg_failed = untried; then
42996
42997 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42998 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42999 wxUSE_LIBGNOMEVFS="no"
43000
43001
43002 else
43003 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43004 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43005 { echo "$as_me:$LINENO: result: yes" >&5
43006 echo "${ECHO_T}yes" >&6; }
43007
43008 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43009 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43010 cat >>confdefs.h <<\_ACEOF
43011 #define wxUSE_LIBGNOMEVFS 1
43012 _ACEOF
43013
43014
43015 fi
43016 fi
43017 fi
43018
43019 if test "$wxUSE_LIBHILDON" = "yes" ; then
43020
43021 pkg_failed=no
43022 { echo "$as_me:$LINENO: checking for HILDON" >&5
43023 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43024
43025 if test -n "$PKG_CONFIG"; then
43026 if test -n "$HILDON_CFLAGS"; then
43027 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43028 else
43029 if test -n "$PKG_CONFIG" && \
43030 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43031 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43032 ac_status=$?
43033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43034 (exit $ac_status); }; then
43035 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43036 else
43037 pkg_failed=yes
43038 fi
43039 fi
43040 else
43041 pkg_failed=untried
43042 fi
43043 if test -n "$PKG_CONFIG"; then
43044 if test -n "$HILDON_LIBS"; then
43045 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43046 else
43047 if test -n "$PKG_CONFIG" && \
43048 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43049 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43050 ac_status=$?
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); }; then
43053 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43054 else
43055 pkg_failed=yes
43056 fi
43057 fi
43058 else
43059 pkg_failed=untried
43060 fi
43061
43062
43063
43064 if test $pkg_failed = yes; then
43065
43066 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43067 _pkg_short_errors_supported=yes
43068 else
43069 _pkg_short_errors_supported=no
43070 fi
43071 if test $_pkg_short_errors_supported = yes; then
43072 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43073 else
43074 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43075 fi
43076 # Put the nasty error message in config.log where it belongs
43077 echo "$HILDON_PKG_ERRORS" >&5
43078
43079
43080 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43081 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43082 wxUSE_LIBHILDON="no"
43083
43084
43085 elif test $pkg_failed = untried; then
43086
43087 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43088 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43089 wxUSE_LIBHILDON="no"
43090
43091
43092 else
43093 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43094 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43095 { echo "$as_me:$LINENO: result: yes" >&5
43096 echo "${ECHO_T}yes" >&6; }
43097
43098 EXTRALIBS_HILDON="$HILDON_LIBS"
43099 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43100 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43101 cat >>confdefs.h <<\_ACEOF
43102 #define wxUSE_LIBHILDON 1
43103 _ACEOF
43104
43105
43106 fi
43107 fi
43108 fi
43109
43110 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43111 cat >>confdefs.h <<\_ACEOF
43112 #define wxUSE_CMDLINE_PARSER 1
43113 _ACEOF
43114
43115 fi
43116
43117 if test "$wxUSE_STOPWATCH" = "yes"; then
43118 cat >>confdefs.h <<\_ACEOF
43119 #define wxUSE_STOPWATCH 1
43120 _ACEOF
43121
43122 fi
43123
43124 if test "$wxUSE_DATETIME" = "yes"; then
43125 cat >>confdefs.h <<\_ACEOF
43126 #define wxUSE_DATETIME 1
43127 _ACEOF
43128
43129 fi
43130
43131 if test "$wxUSE_FILE" = "yes"; then
43132 cat >>confdefs.h <<\_ACEOF
43133 #define wxUSE_FILE 1
43134 _ACEOF
43135
43136 fi
43137
43138 if test "$wxUSE_FFILE" = "yes"; then
43139 cat >>confdefs.h <<\_ACEOF
43140 #define wxUSE_FFILE 1
43141 _ACEOF
43142
43143 fi
43144
43145 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43146 if test "$wxUSE_STREAMS" != yes; then
43147 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43148 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43149 wxUSE_ARCHIVE_STREAMS=no
43150 else
43151 cat >>confdefs.h <<\_ACEOF
43152 #define wxUSE_ARCHIVE_STREAMS 1
43153 _ACEOF
43154
43155 fi
43156 fi
43157
43158 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43159 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43160 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43161 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43162 elif test "$wxUSE_ZLIB" = "no"; then
43163 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43164 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43165 else
43166 cat >>confdefs.h <<\_ACEOF
43167 #define wxUSE_ZIPSTREAM 1
43168 _ACEOF
43169
43170 fi
43171 fi
43172
43173 if test "$wxUSE_TARSTREAM" = "yes"; then
43174 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43175 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43176 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43177 else
43178 cat >>confdefs.h <<\_ACEOF
43179 #define wxUSE_TARSTREAM 1
43180 _ACEOF
43181
43182 fi
43183 fi
43184
43185 if test "$wxUSE_FILESYSTEM" = "yes"; then
43186 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43187 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43188 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43189 wxUSE_FILESYSTEM=no
43190 else
43191 cat >>confdefs.h <<\_ACEOF
43192 #define wxUSE_FILESYSTEM 1
43193 _ACEOF
43194
43195 fi
43196 fi
43197
43198 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43199 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43200 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43201 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43202 else
43203 cat >>confdefs.h <<\_ACEOF
43204 #define wxUSE_FS_ARCHIVE 1
43205 _ACEOF
43206
43207 fi
43208 fi
43209
43210 if test "$wxUSE_FS_ZIP" = "yes"; then
43211 if test "$wxUSE_FS_ARCHIVE" != yes; then
43212 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43213 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43214 else
43215 cat >>confdefs.h <<\_ACEOF
43216 #define wxUSE_FS_ZIP 1
43217 _ACEOF
43218
43219 fi
43220 fi
43221
43222 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43223 if test "$USE_UNIX" != 1; then
43224 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43225 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43226 wxUSE_ON_FATAL_EXCEPTION=no
43227 else
43228 cat >>confdefs.h <<\_ACEOF
43229 #define wxUSE_ON_FATAL_EXCEPTION 1
43230 _ACEOF
43231
43232 fi
43233 fi
43234
43235 if test "$wxUSE_STACKWALKER" = "yes"; then
43236 cat >>confdefs.h <<\_ACEOF
43237 #define wxUSE_STACKWALKER 1
43238 _ACEOF
43239
43240 fi
43241
43242 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43243 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43244 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43245 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43246 wxUSE_DEBUGREPORT=no
43247 else
43248 cat >>confdefs.h <<\_ACEOF
43249 #define wxUSE_DEBUGREPORT 1
43250 _ACEOF
43251
43252 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43254 fi
43255 fi
43256 fi
43257
43258 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43259 cat >>confdefs.h <<\_ACEOF
43260 #define wxUSE_SNGLINST_CHECKER 1
43261 _ACEOF
43262
43263 fi
43264
43265 if test "$wxUSE_BUSYINFO" = "yes"; then
43266 cat >>confdefs.h <<\_ACEOF
43267 #define wxUSE_BUSYINFO 1
43268 _ACEOF
43269
43270 fi
43271
43272 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43273 cat >>confdefs.h <<\_ACEOF
43274 #define wxUSE_STD_IOSTREAM 1
43275 _ACEOF
43276
43277 fi
43278
43279 if test "$wxUSE_STD_STRING" = "yes"; then
43280 cat >>confdefs.h <<\_ACEOF
43281 #define wxUSE_STD_STRING 1
43282 _ACEOF
43283
43284 fi
43285
43286 if test "$wxUSE_STDPATHS" = "yes"; then
43287 cat >>confdefs.h <<\_ACEOF
43288 #define wxUSE_STDPATHS 1
43289 _ACEOF
43290
43291 fi
43292
43293 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43294 cat >>confdefs.h <<\_ACEOF
43295 #define wxUSE_TEXTBUFFER 1
43296 _ACEOF
43297
43298 fi
43299
43300 if test "$wxUSE_TEXTFILE" = "yes"; then
43301 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43302 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43303 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43304 else
43305 cat >>confdefs.h <<\_ACEOF
43306 #define wxUSE_TEXTFILE 1
43307 _ACEOF
43308
43309 fi
43310 fi
43311
43312 if test "$wxUSE_CONFIG" = "yes" ; then
43313 if test "$wxUSE_TEXTFILE" != "yes"; then
43314 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43315 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43316 else
43317 cat >>confdefs.h <<\_ACEOF
43318 #define wxUSE_CONFIG 1
43319 _ACEOF
43320
43321 cat >>confdefs.h <<\_ACEOF
43322 #define wxUSE_CONFIG_NATIVE 1
43323 _ACEOF
43324
43325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43326 fi
43327 fi
43328
43329 if test "$wxUSE_INTL" = "yes" ; then
43330 if test "$wxUSE_FILE" != "yes"; then
43331 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43332 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43333 else
43334 cat >>confdefs.h <<\_ACEOF
43335 #define wxUSE_INTL 1
43336 _ACEOF
43337
43338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43339 GUIDIST="$GUIDIST INTL_DIST"
43340 fi
43341 fi
43342
43343 if test "$wxUSE_XLOCALE" = "yes" ; then
43344 cat >>confdefs.h <<\_ACEOF
43345 #define wxUSE_XLOCALE 1
43346 _ACEOF
43347
43348 { echo "$as_me:$LINENO: checking for locale_t" >&5
43349 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43350 if test "${ac_cv_type_locale_t+set}" = set; then
43351 echo $ECHO_N "(cached) $ECHO_C" >&6
43352 else
43353 cat >conftest.$ac_ext <<_ACEOF
43354 /* confdefs.h. */
43355 _ACEOF
43356 cat confdefs.h >>conftest.$ac_ext
43357 cat >>conftest.$ac_ext <<_ACEOF
43358 /* end confdefs.h. */
43359 #include <xlocale.h>
43360 #include <locale.h>
43361
43362 typedef locale_t ac__type_new_;
43363 int
43364 main ()
43365 {
43366 if ((ac__type_new_ *) 0)
43367 return 0;
43368 if (sizeof (ac__type_new_))
43369 return 0;
43370 ;
43371 return 0;
43372 }
43373 _ACEOF
43374 rm -f conftest.$ac_objext
43375 if { (ac_try="$ac_compile"
43376 case "(($ac_try" in
43377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43378 *) ac_try_echo=$ac_try;;
43379 esac
43380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43381 (eval "$ac_compile") 2>conftest.er1
43382 ac_status=$?
43383 grep -v '^ *+' conftest.er1 >conftest.err
43384 rm -f conftest.er1
43385 cat conftest.err >&5
43386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43387 (exit $ac_status); } && {
43388 test -z "$ac_c_werror_flag" ||
43389 test ! -s conftest.err
43390 } && test -s conftest.$ac_objext; then
43391 ac_cv_type_locale_t=yes
43392 else
43393 echo "$as_me: failed program was:" >&5
43394 sed 's/^/| /' conftest.$ac_ext >&5
43395
43396 ac_cv_type_locale_t=no
43397 fi
43398
43399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43400 fi
43401 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43402 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43403 if test $ac_cv_type_locale_t = yes; then
43404
43405 cat >>confdefs.h <<_ACEOF
43406 #define HAVE_LOCALE_T 1
43407 _ACEOF
43408
43409
43410 fi
43411
43412 fi
43413
43414 if test "$wxUSE_LOG" = "yes"; then
43415 cat >>confdefs.h <<\_ACEOF
43416 #define wxUSE_LOG 1
43417 _ACEOF
43418
43419
43420 if test "$wxUSE_LOGGUI" = "yes"; then
43421 cat >>confdefs.h <<\_ACEOF
43422 #define wxUSE_LOGGUI 1
43423 _ACEOF
43424
43425 fi
43426
43427 if test "$wxUSE_LOGWINDOW" = "yes"; then
43428 cat >>confdefs.h <<\_ACEOF
43429 #define wxUSE_LOGWINDOW 1
43430 _ACEOF
43431
43432 fi
43433
43434 if test "$wxUSE_LOGDIALOG" = "yes"; then
43435 cat >>confdefs.h <<\_ACEOF
43436 #define wxUSE_LOG_DIALOG 1
43437 _ACEOF
43438
43439 fi
43440
43441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43442 fi
43443
43444 if test "$wxUSE_LONGLONG" = "yes"; then
43445 cat >>confdefs.h <<\_ACEOF
43446 #define wxUSE_LONGLONG 1
43447 _ACEOF
43448
43449 fi
43450
43451 if test "$wxUSE_GEOMETRY" = "yes"; then
43452 cat >>confdefs.h <<\_ACEOF
43453 #define wxUSE_GEOMETRY 1
43454 _ACEOF
43455
43456 fi
43457
43458 if test "$wxUSE_BASE64" = "yes"; then
43459 cat >>confdefs.h <<\_ACEOF
43460 #define wxUSE_BASE64 1
43461 _ACEOF
43462
43463 fi
43464
43465 if test "$wxUSE_STREAMS" = "yes" ; then
43466 cat >>confdefs.h <<\_ACEOF
43467 #define wxUSE_STREAMS 1
43468 _ACEOF
43469
43470 fi
43471
43472 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43473 cat >>confdefs.h <<\_ACEOF
43474 #define wxUSE_PRINTF_POS_PARAMS 1
43475 _ACEOF
43476
43477 fi
43478
43479 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_OBJC_UNIQUIFYING 1
43482 _ACEOF
43483
43484 fi
43485
43486
43487 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_CONSOLE_EVENTLOOP 1
43490 _ACEOF
43491
43492
43493 if test "$wxUSE_UNIX" = "yes"; then
43494 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_SELECT_DISPATCHER 1
43497 _ACEOF
43498
43499 fi
43500
43501 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43502
43503 for ac_header in sys/epoll.h
43504 do
43505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43509 echo $ECHO_N "(cached) $ECHO_C" >&6
43510 else
43511 cat >conftest.$ac_ext <<_ACEOF
43512 /* confdefs.h. */
43513 _ACEOF
43514 cat confdefs.h >>conftest.$ac_ext
43515 cat >>conftest.$ac_ext <<_ACEOF
43516 /* end confdefs.h. */
43517 $ac_includes_default
43518
43519 #include <$ac_header>
43520 _ACEOF
43521 rm -f conftest.$ac_objext
43522 if { (ac_try="$ac_compile"
43523 case "(($ac_try" in
43524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43525 *) ac_try_echo=$ac_try;;
43526 esac
43527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43528 (eval "$ac_compile") 2>conftest.er1
43529 ac_status=$?
43530 grep -v '^ *+' conftest.er1 >conftest.err
43531 rm -f conftest.er1
43532 cat conftest.err >&5
43533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43534 (exit $ac_status); } && {
43535 test -z "$ac_c_werror_flag" ||
43536 test ! -s conftest.err
43537 } && test -s conftest.$ac_objext; then
43538 eval "$as_ac_Header=yes"
43539 else
43540 echo "$as_me: failed program was:" >&5
43541 sed 's/^/| /' conftest.$ac_ext >&5
43542
43543 eval "$as_ac_Header=no"
43544 fi
43545
43546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43547 fi
43548 ac_res=`eval echo '${'$as_ac_Header'}'`
43549 { echo "$as_me:$LINENO: result: $ac_res" >&5
43550 echo "${ECHO_T}$ac_res" >&6; }
43551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43552 cat >>confdefs.h <<_ACEOF
43553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43554 _ACEOF
43555
43556 fi
43557
43558 done
43559
43560 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43561 cat >>confdefs.h <<\_ACEOF
43562 #define wxUSE_EPOLL_DISPATCHER 1
43563 _ACEOF
43564
43565 else
43566 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43567 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43568 fi
43569 fi
43570 fi
43571 fi
43572
43573
43574
43575
43576 for ac_func in gettimeofday ftime
43577 do
43578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43582 echo $ECHO_N "(cached) $ECHO_C" >&6
43583 else
43584 cat >conftest.$ac_ext <<_ACEOF
43585 /* confdefs.h. */
43586 _ACEOF
43587 cat confdefs.h >>conftest.$ac_ext
43588 cat >>conftest.$ac_ext <<_ACEOF
43589 /* end confdefs.h. */
43590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43592 #define $ac_func innocuous_$ac_func
43593
43594 /* System header to define __stub macros and hopefully few prototypes,
43595 which can conflict with char $ac_func (); below.
43596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43597 <limits.h> exists even on freestanding compilers. */
43598
43599 #ifdef __STDC__
43600 # include <limits.h>
43601 #else
43602 # include <assert.h>
43603 #endif
43604
43605 #undef $ac_func
43606
43607 /* Override any GCC internal prototype to avoid an error.
43608 Use char because int might match the return type of a GCC
43609 builtin and then its argument prototype would still apply. */
43610 #ifdef __cplusplus
43611 extern "C"
43612 #endif
43613 char $ac_func ();
43614 /* The GNU C library defines this for functions which it implements
43615 to always fail with ENOSYS. Some functions are actually named
43616 something starting with __ and the normal name is an alias. */
43617 #if defined __stub_$ac_func || defined __stub___$ac_func
43618 choke me
43619 #endif
43620
43621 int
43622 main ()
43623 {
43624 return $ac_func ();
43625 ;
43626 return 0;
43627 }
43628 _ACEOF
43629 rm -f conftest.$ac_objext conftest$ac_exeext
43630 if { (ac_try="$ac_link"
43631 case "(($ac_try" in
43632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43633 *) ac_try_echo=$ac_try;;
43634 esac
43635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43636 (eval "$ac_link") 2>conftest.er1
43637 ac_status=$?
43638 grep -v '^ *+' conftest.er1 >conftest.err
43639 rm -f conftest.er1
43640 cat conftest.err >&5
43641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43642 (exit $ac_status); } && {
43643 test -z "$ac_c_werror_flag" ||
43644 test ! -s conftest.err
43645 } && test -s conftest$ac_exeext &&
43646 $as_test_x conftest$ac_exeext; then
43647 eval "$as_ac_var=yes"
43648 else
43649 echo "$as_me: failed program was:" >&5
43650 sed 's/^/| /' conftest.$ac_ext >&5
43651
43652 eval "$as_ac_var=no"
43653 fi
43654
43655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43656 conftest$ac_exeext conftest.$ac_ext
43657 fi
43658 ac_res=`eval echo '${'$as_ac_var'}'`
43659 { echo "$as_me:$LINENO: result: $ac_res" >&5
43660 echo "${ECHO_T}$ac_res" >&6; }
43661 if test `eval echo '${'$as_ac_var'}'` = yes; then
43662 cat >>confdefs.h <<_ACEOF
43663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43664 _ACEOF
43665 break
43666 fi
43667 done
43668
43669
43670 if test "$ac_cv_func_gettimeofday" = "yes"; then
43671 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43672 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43673 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43674 echo $ECHO_N "(cached) $ECHO_C" >&6
43675 else
43676
43677 cat >conftest.$ac_ext <<_ACEOF
43678 /* confdefs.h. */
43679 _ACEOF
43680 cat confdefs.h >>conftest.$ac_ext
43681 cat >>conftest.$ac_ext <<_ACEOF
43682 /* end confdefs.h. */
43683
43684 #include <sys/time.h>
43685 #include <unistd.h>
43686
43687 int
43688 main ()
43689 {
43690
43691 struct timeval tv;
43692 gettimeofday(&tv, NULL);
43693
43694 ;
43695 return 0;
43696 }
43697 _ACEOF
43698 rm -f conftest.$ac_objext
43699 if { (ac_try="$ac_compile"
43700 case "(($ac_try" in
43701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43702 *) ac_try_echo=$ac_try;;
43703 esac
43704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43705 (eval "$ac_compile") 2>conftest.er1
43706 ac_status=$?
43707 grep -v '^ *+' conftest.er1 >conftest.err
43708 rm -f conftest.er1
43709 cat conftest.err >&5
43710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43711 (exit $ac_status); } && {
43712 test -z "$ac_c_werror_flag" ||
43713 test ! -s conftest.err
43714 } && test -s conftest.$ac_objext; then
43715 wx_cv_func_gettimeofday_has_2_args=yes
43716 else
43717 echo "$as_me: failed program was:" >&5
43718 sed 's/^/| /' conftest.$ac_ext >&5
43719
43720 cat >conftest.$ac_ext <<_ACEOF
43721 /* confdefs.h. */
43722 _ACEOF
43723 cat confdefs.h >>conftest.$ac_ext
43724 cat >>conftest.$ac_ext <<_ACEOF
43725 /* end confdefs.h. */
43726
43727 #include <sys/time.h>
43728 #include <unistd.h>
43729
43730 int
43731 main ()
43732 {
43733
43734 struct timeval tv;
43735 gettimeofday(&tv);
43736
43737 ;
43738 return 0;
43739 }
43740 _ACEOF
43741 rm -f conftest.$ac_objext
43742 if { (ac_try="$ac_compile"
43743 case "(($ac_try" in
43744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43745 *) ac_try_echo=$ac_try;;
43746 esac
43747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43748 (eval "$ac_compile") 2>conftest.er1
43749 ac_status=$?
43750 grep -v '^ *+' conftest.er1 >conftest.err
43751 rm -f conftest.er1
43752 cat conftest.err >&5
43753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754 (exit $ac_status); } && {
43755 test -z "$ac_c_werror_flag" ||
43756 test ! -s conftest.err
43757 } && test -s conftest.$ac_objext; then
43758 wx_cv_func_gettimeofday_has_2_args=no
43759 else
43760 echo "$as_me: failed program was:" >&5
43761 sed 's/^/| /' conftest.$ac_ext >&5
43762
43763
43764 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43765 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43766 wx_cv_func_gettimeofday_has_2_args=unknown
43767
43768
43769 fi
43770
43771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43772
43773 fi
43774
43775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43776
43777 fi
43778 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43779 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43780
43781 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43782 cat >>confdefs.h <<\_ACEOF
43783 #define WX_GETTIMEOFDAY_NO_TZ 1
43784 _ACEOF
43785
43786 fi
43787 fi
43788
43789 if test "$wxUSE_DATETIME" = "yes"; then
43790 { echo "$as_me:$LINENO: checking for strptime" >&5
43791 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43792 if test "${ac_cv_func_strptime+set}" = set; then
43793 echo $ECHO_N "(cached) $ECHO_C" >&6
43794 else
43795 cat >conftest.$ac_ext <<_ACEOF
43796 /* confdefs.h. */
43797 _ACEOF
43798 cat confdefs.h >>conftest.$ac_ext
43799 cat >>conftest.$ac_ext <<_ACEOF
43800 /* end confdefs.h. */
43801 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43803 #define strptime innocuous_strptime
43804
43805 /* System header to define __stub macros and hopefully few prototypes,
43806 which can conflict with char strptime (); below.
43807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43808 <limits.h> exists even on freestanding compilers. */
43809
43810 #ifdef __STDC__
43811 # include <limits.h>
43812 #else
43813 # include <assert.h>
43814 #endif
43815
43816 #undef strptime
43817
43818 /* Override any GCC internal prototype to avoid an error.
43819 Use char because int might match the return type of a GCC
43820 builtin and then its argument prototype would still apply. */
43821 #ifdef __cplusplus
43822 extern "C"
43823 #endif
43824 char strptime ();
43825 /* The GNU C library defines this for functions which it implements
43826 to always fail with ENOSYS. Some functions are actually named
43827 something starting with __ and the normal name is an alias. */
43828 #if defined __stub_strptime || defined __stub___strptime
43829 choke me
43830 #endif
43831
43832 int
43833 main ()
43834 {
43835 return strptime ();
43836 ;
43837 return 0;
43838 }
43839 _ACEOF
43840 rm -f conftest.$ac_objext conftest$ac_exeext
43841 if { (ac_try="$ac_link"
43842 case "(($ac_try" in
43843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43844 *) ac_try_echo=$ac_try;;
43845 esac
43846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43847 (eval "$ac_link") 2>conftest.er1
43848 ac_status=$?
43849 grep -v '^ *+' conftest.er1 >conftest.err
43850 rm -f conftest.er1
43851 cat conftest.err >&5
43852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853 (exit $ac_status); } && {
43854 test -z "$ac_c_werror_flag" ||
43855 test ! -s conftest.err
43856 } && test -s conftest$ac_exeext &&
43857 $as_test_x conftest$ac_exeext; then
43858 ac_cv_func_strptime=yes
43859 else
43860 echo "$as_me: failed program was:" >&5
43861 sed 's/^/| /' conftest.$ac_ext >&5
43862
43863 ac_cv_func_strptime=no
43864 fi
43865
43866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43867 conftest$ac_exeext conftest.$ac_ext
43868 fi
43869 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43870 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43871
43872 if test "$ac_cv_func_strptime" = "yes"; then
43873 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43874 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43875 if test "${wx_cv_func_strptime_decl+set}" = set; then
43876 echo $ECHO_N "(cached) $ECHO_C" >&6
43877 else
43878
43879 ac_ext=cpp
43880 ac_cpp='$CXXCPP $CPPFLAGS'
43881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43884
43885 cat >conftest.$ac_ext <<_ACEOF
43886 /* confdefs.h. */
43887 _ACEOF
43888 cat confdefs.h >>conftest.$ac_ext
43889 cat >>conftest.$ac_ext <<_ACEOF
43890 /* end confdefs.h. */
43891
43892 #include <time.h>
43893
43894 int
43895 main ()
43896 {
43897
43898 struct tm t;
43899 strptime("foo", "bar", &t);
43900
43901 ;
43902 return 0;
43903 }
43904 _ACEOF
43905 rm -f conftest.$ac_objext
43906 if { (ac_try="$ac_compile"
43907 case "(($ac_try" in
43908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43909 *) ac_try_echo=$ac_try;;
43910 esac
43911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43912 (eval "$ac_compile") 2>conftest.er1
43913 ac_status=$?
43914 grep -v '^ *+' conftest.er1 >conftest.err
43915 rm -f conftest.er1
43916 cat conftest.err >&5
43917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43918 (exit $ac_status); } && {
43919 test -z "$ac_cxx_werror_flag" ||
43920 test ! -s conftest.err
43921 } && test -s conftest.$ac_objext; then
43922 wx_cv_func_strptime_decl=yes
43923 else
43924 echo "$as_me: failed program was:" >&5
43925 sed 's/^/| /' conftest.$ac_ext >&5
43926
43927 wx_cv_func_strptime_decl=no
43928
43929 fi
43930
43931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43932 ac_ext=c
43933 ac_cpp='$CPP $CPPFLAGS'
43934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43937
43938
43939
43940 fi
43941 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43942 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43943 fi
43944 if test "$wx_cv_func_strptime_decl" = "yes"; then
43945 cat >>confdefs.h <<\_ACEOF
43946 #define HAVE_STRPTIME_DECL 1
43947 _ACEOF
43948
43949 else
43950 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43951 fi
43952 if test "$ac_cv_func_strptime" = "yes"; then
43953 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43954 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43955 if test "${wx_cv_func_strptime_ok+set}" = set; then
43956 echo $ECHO_N "(cached) $ECHO_C" >&6
43957 else
43958 if test "$cross_compiling" = yes; then
43959 wx_cv_func_strptime_ok=no
43960
43961 else
43962 cat >conftest.$ac_ext <<_ACEOF
43963
43964 #include <stdlib.h>
43965 #include <time.h>
43966 #include "confdefs.h"
43967
43968 $wx_strptime_decl
43969
43970 int main()
43971 {
43972 struct tm t;
43973 return !!strptime("", "%x", &t);
43974 }
43975
43976 _ACEOF
43977 rm -f conftest$ac_exeext
43978 if { (ac_try="$ac_link"
43979 case "(($ac_try" in
43980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43981 *) ac_try_echo=$ac_try;;
43982 esac
43983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43984 (eval "$ac_link") 2>&5
43985 ac_status=$?
43986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43988 { (case "(($ac_try" in
43989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43990 *) ac_try_echo=$ac_try;;
43991 esac
43992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43993 (eval "$ac_try") 2>&5
43994 ac_status=$?
43995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43996 (exit $ac_status); }; }; then
43997 wx_cv_func_strptime_ok=yes
43998 else
43999 echo "$as_me: program exited with status $ac_status" >&5
44000 echo "$as_me: failed program was:" >&5
44001 sed 's/^/| /' conftest.$ac_ext >&5
44002
44003 ( exit $ac_status )
44004 wx_cv_func_strptime_ok=no
44005 fi
44006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44007 fi
44008
44009
44010
44011 fi
44012 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44013 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44014
44015 if test "$wx_cv_func_strptime_ok" = "yes"; then
44016 cat >>confdefs.h <<\_ACEOF
44017 #define HAVE_STRPTIME 1
44018 _ACEOF
44019
44020 fi
44021 fi
44022
44023 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44024 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44025 if test "${wx_cv_var_timezone+set}" = set; then
44026 echo $ECHO_N "(cached) $ECHO_C" >&6
44027 else
44028
44029 ac_ext=cpp
44030 ac_cpp='$CXXCPP $CPPFLAGS'
44031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44034
44035 cat >conftest.$ac_ext <<_ACEOF
44036 /* confdefs.h. */
44037 _ACEOF
44038 cat confdefs.h >>conftest.$ac_ext
44039 cat >>conftest.$ac_ext <<_ACEOF
44040 /* end confdefs.h. */
44041
44042 #include <time.h>
44043
44044 int
44045 main ()
44046 {
44047
44048 int tz;
44049 tz = timezone;
44050
44051 ;
44052 return 0;
44053 }
44054 _ACEOF
44055 rm -f conftest.$ac_objext
44056 if { (ac_try="$ac_compile"
44057 case "(($ac_try" in
44058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44059 *) ac_try_echo=$ac_try;;
44060 esac
44061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44062 (eval "$ac_compile") 2>conftest.er1
44063 ac_status=$?
44064 grep -v '^ *+' conftest.er1 >conftest.err
44065 rm -f conftest.er1
44066 cat conftest.err >&5
44067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44068 (exit $ac_status); } && {
44069 test -z "$ac_cxx_werror_flag" ||
44070 test ! -s conftest.err
44071 } && test -s conftest.$ac_objext; then
44072
44073 wx_cv_var_timezone=timezone
44074
44075 else
44076 echo "$as_me: failed program was:" >&5
44077 sed 's/^/| /' conftest.$ac_ext >&5
44078
44079
44080 cat >conftest.$ac_ext <<_ACEOF
44081 /* confdefs.h. */
44082 _ACEOF
44083 cat confdefs.h >>conftest.$ac_ext
44084 cat >>conftest.$ac_ext <<_ACEOF
44085 /* end confdefs.h. */
44086
44087 #include <time.h>
44088
44089 int
44090 main ()
44091 {
44092
44093 int tz;
44094 tz = _timezone;
44095
44096 ;
44097 return 0;
44098 }
44099 _ACEOF
44100 rm -f conftest.$ac_objext
44101 if { (ac_try="$ac_compile"
44102 case "(($ac_try" in
44103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44104 *) ac_try_echo=$ac_try;;
44105 esac
44106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44107 (eval "$ac_compile") 2>conftest.er1
44108 ac_status=$?
44109 grep -v '^ *+' conftest.er1 >conftest.err
44110 rm -f conftest.er1
44111 cat conftest.err >&5
44112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44113 (exit $ac_status); } && {
44114 test -z "$ac_cxx_werror_flag" ||
44115 test ! -s conftest.err
44116 } && test -s conftest.$ac_objext; then
44117
44118 wx_cv_var_timezone=_timezone
44119
44120 else
44121 echo "$as_me: failed program was:" >&5
44122 sed 's/^/| /' conftest.$ac_ext >&5
44123
44124
44125 cat >conftest.$ac_ext <<_ACEOF
44126 /* confdefs.h. */
44127 _ACEOF
44128 cat confdefs.h >>conftest.$ac_ext
44129 cat >>conftest.$ac_ext <<_ACEOF
44130 /* end confdefs.h. */
44131
44132 #include <time.h>
44133
44134 int
44135 main ()
44136 {
44137
44138 int tz;
44139 tz = __timezone;
44140
44141 ;
44142 return 0;
44143 }
44144 _ACEOF
44145 rm -f conftest.$ac_objext
44146 if { (ac_try="$ac_compile"
44147 case "(($ac_try" in
44148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44149 *) ac_try_echo=$ac_try;;
44150 esac
44151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44152 (eval "$ac_compile") 2>conftest.er1
44153 ac_status=$?
44154 grep -v '^ *+' conftest.er1 >conftest.err
44155 rm -f conftest.er1
44156 cat conftest.err >&5
44157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44158 (exit $ac_status); } && {
44159 test -z "$ac_cxx_werror_flag" ||
44160 test ! -s conftest.err
44161 } && test -s conftest.$ac_objext; then
44162
44163 wx_cv_var_timezone=__timezone
44164
44165 else
44166 echo "$as_me: failed program was:" >&5
44167 sed 's/^/| /' conftest.$ac_ext >&5
44168
44169
44170 if test "$USE_DOS" = 0 ; then
44171 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44172 echo "$as_me: WARNING: no timezone variable" >&2;}
44173 fi
44174
44175
44176 fi
44177
44178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44179
44180
44181 fi
44182
44183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44184
44185
44186 fi
44187
44188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44189 ac_ext=c
44190 ac_cpp='$CPP $CPPFLAGS'
44191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44194
44195
44196
44197 fi
44198 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44199 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44200
44201 if test "x$wx_cv_var_timezone" != x ; then
44202 cat >>confdefs.h <<_ACEOF
44203 #define WX_TIMEZONE $wx_cv_var_timezone
44204 _ACEOF
44205
44206 fi
44207
44208
44209 for ac_func in localtime
44210 do
44211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44215 echo $ECHO_N "(cached) $ECHO_C" >&6
44216 else
44217 cat >conftest.$ac_ext <<_ACEOF
44218 /* confdefs.h. */
44219 _ACEOF
44220 cat confdefs.h >>conftest.$ac_ext
44221 cat >>conftest.$ac_ext <<_ACEOF
44222 /* end confdefs.h. */
44223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44225 #define $ac_func innocuous_$ac_func
44226
44227 /* System header to define __stub macros and hopefully few prototypes,
44228 which can conflict with char $ac_func (); below.
44229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44230 <limits.h> exists even on freestanding compilers. */
44231
44232 #ifdef __STDC__
44233 # include <limits.h>
44234 #else
44235 # include <assert.h>
44236 #endif
44237
44238 #undef $ac_func
44239
44240 /* Override any GCC internal prototype to avoid an error.
44241 Use char because int might match the return type of a GCC
44242 builtin and then its argument prototype would still apply. */
44243 #ifdef __cplusplus
44244 extern "C"
44245 #endif
44246 char $ac_func ();
44247 /* The GNU C library defines this for functions which it implements
44248 to always fail with ENOSYS. Some functions are actually named
44249 something starting with __ and the normal name is an alias. */
44250 #if defined __stub_$ac_func || defined __stub___$ac_func
44251 choke me
44252 #endif
44253
44254 int
44255 main ()
44256 {
44257 return $ac_func ();
44258 ;
44259 return 0;
44260 }
44261 _ACEOF
44262 rm -f conftest.$ac_objext conftest$ac_exeext
44263 if { (ac_try="$ac_link"
44264 case "(($ac_try" in
44265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44266 *) ac_try_echo=$ac_try;;
44267 esac
44268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44269 (eval "$ac_link") 2>conftest.er1
44270 ac_status=$?
44271 grep -v '^ *+' conftest.er1 >conftest.err
44272 rm -f conftest.er1
44273 cat conftest.err >&5
44274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44275 (exit $ac_status); } && {
44276 test -z "$ac_c_werror_flag" ||
44277 test ! -s conftest.err
44278 } && test -s conftest$ac_exeext &&
44279 $as_test_x conftest$ac_exeext; then
44280 eval "$as_ac_var=yes"
44281 else
44282 echo "$as_me: failed program was:" >&5
44283 sed 's/^/| /' conftest.$ac_ext >&5
44284
44285 eval "$as_ac_var=no"
44286 fi
44287
44288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44289 conftest$ac_exeext conftest.$ac_ext
44290 fi
44291 ac_res=`eval echo '${'$as_ac_var'}'`
44292 { echo "$as_me:$LINENO: result: $ac_res" >&5
44293 echo "${ECHO_T}$ac_res" >&6; }
44294 if test `eval echo '${'$as_ac_var'}'` = yes; then
44295 cat >>confdefs.h <<_ACEOF
44296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44297 _ACEOF
44298
44299 fi
44300 done
44301
44302
44303 if test "$ac_cv_func_localtime" = "yes"; then
44304 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44305 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44306 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44307 echo $ECHO_N "(cached) $ECHO_C" >&6
44308 else
44309
44310 cat >conftest.$ac_ext <<_ACEOF
44311 /* confdefs.h. */
44312 _ACEOF
44313 cat confdefs.h >>conftest.$ac_ext
44314 cat >>conftest.$ac_ext <<_ACEOF
44315 /* end confdefs.h. */
44316
44317 #include <time.h>
44318
44319 int
44320 main ()
44321 {
44322
44323 struct tm tm;
44324 tm.tm_gmtoff++;
44325
44326 ;
44327 return 0;
44328 }
44329 _ACEOF
44330 rm -f conftest.$ac_objext
44331 if { (ac_try="$ac_compile"
44332 case "(($ac_try" in
44333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44334 *) ac_try_echo=$ac_try;;
44335 esac
44336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44337 (eval "$ac_compile") 2>conftest.er1
44338 ac_status=$?
44339 grep -v '^ *+' conftest.er1 >conftest.err
44340 rm -f conftest.er1
44341 cat conftest.err >&5
44342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44343 (exit $ac_status); } && {
44344 test -z "$ac_c_werror_flag" ||
44345 test ! -s conftest.err
44346 } && test -s conftest.$ac_objext; then
44347
44348 wx_cv_struct_tm_has_gmtoff=yes
44349
44350 else
44351 echo "$as_me: failed program was:" >&5
44352 sed 's/^/| /' conftest.$ac_ext >&5
44353
44354 wx_cv_struct_tm_has_gmtoff=no
44355
44356 fi
44357
44358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44359
44360 fi
44361 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44362 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44363 fi
44364
44365 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44366 cat >>confdefs.h <<\_ACEOF
44367 #define WX_GMTOFF_IN_TM 1
44368 _ACEOF
44369
44370 fi
44371
44372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44373 fi
44374
44375
44376 if test "$wxUSE_SOCKETS" = "yes"; then
44377 if test "$wxUSE_MGL" = 1; then
44378 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44379 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44380 wxUSE_SOCKETS="no"
44381 fi
44382 fi
44383
44384 if test "$wxUSE_SOCKETS" = "yes"; then
44385 if test "$TOOLKIT" != "MSW"; then
44386 { echo "$as_me:$LINENO: checking for socket" >&5
44387 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44388 if test "${ac_cv_func_socket+set}" = set; then
44389 echo $ECHO_N "(cached) $ECHO_C" >&6
44390 else
44391 cat >conftest.$ac_ext <<_ACEOF
44392 /* confdefs.h. */
44393 _ACEOF
44394 cat confdefs.h >>conftest.$ac_ext
44395 cat >>conftest.$ac_ext <<_ACEOF
44396 /* end confdefs.h. */
44397 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44399 #define socket innocuous_socket
44400
44401 /* System header to define __stub macros and hopefully few prototypes,
44402 which can conflict with char socket (); below.
44403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44404 <limits.h> exists even on freestanding compilers. */
44405
44406 #ifdef __STDC__
44407 # include <limits.h>
44408 #else
44409 # include <assert.h>
44410 #endif
44411
44412 #undef socket
44413
44414 /* Override any GCC internal prototype to avoid an error.
44415 Use char because int might match the return type of a GCC
44416 builtin and then its argument prototype would still apply. */
44417 #ifdef __cplusplus
44418 extern "C"
44419 #endif
44420 char socket ();
44421 /* The GNU C library defines this for functions which it implements
44422 to always fail with ENOSYS. Some functions are actually named
44423 something starting with __ and the normal name is an alias. */
44424 #if defined __stub_socket || defined __stub___socket
44425 choke me
44426 #endif
44427
44428 int
44429 main ()
44430 {
44431 return socket ();
44432 ;
44433 return 0;
44434 }
44435 _ACEOF
44436 rm -f conftest.$ac_objext conftest$ac_exeext
44437 if { (ac_try="$ac_link"
44438 case "(($ac_try" in
44439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44440 *) ac_try_echo=$ac_try;;
44441 esac
44442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44443 (eval "$ac_link") 2>conftest.er1
44444 ac_status=$?
44445 grep -v '^ *+' conftest.er1 >conftest.err
44446 rm -f conftest.er1
44447 cat conftest.err >&5
44448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44449 (exit $ac_status); } && {
44450 test -z "$ac_c_werror_flag" ||
44451 test ! -s conftest.err
44452 } && test -s conftest$ac_exeext &&
44453 $as_test_x conftest$ac_exeext; then
44454 ac_cv_func_socket=yes
44455 else
44456 echo "$as_me: failed program was:" >&5
44457 sed 's/^/| /' conftest.$ac_ext >&5
44458
44459 ac_cv_func_socket=no
44460 fi
44461
44462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44463 conftest$ac_exeext conftest.$ac_ext
44464 fi
44465 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44466 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44467 if test $ac_cv_func_socket = yes; then
44468 :
44469 else
44470
44471 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44472 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44473 if test "${ac_cv_lib_socket_socket+set}" = set; then
44474 echo $ECHO_N "(cached) $ECHO_C" >&6
44475 else
44476 ac_check_lib_save_LIBS=$LIBS
44477 LIBS="-lsocket $LIBS"
44478 cat >conftest.$ac_ext <<_ACEOF
44479 /* confdefs.h. */
44480 _ACEOF
44481 cat confdefs.h >>conftest.$ac_ext
44482 cat >>conftest.$ac_ext <<_ACEOF
44483 /* end confdefs.h. */
44484
44485 /* Override any GCC internal prototype to avoid an error.
44486 Use char because int might match the return type of a GCC
44487 builtin and then its argument prototype would still apply. */
44488 #ifdef __cplusplus
44489 extern "C"
44490 #endif
44491 char socket ();
44492 int
44493 main ()
44494 {
44495 return socket ();
44496 ;
44497 return 0;
44498 }
44499 _ACEOF
44500 rm -f conftest.$ac_objext conftest$ac_exeext
44501 if { (ac_try="$ac_link"
44502 case "(($ac_try" in
44503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44504 *) ac_try_echo=$ac_try;;
44505 esac
44506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44507 (eval "$ac_link") 2>conftest.er1
44508 ac_status=$?
44509 grep -v '^ *+' conftest.er1 >conftest.err
44510 rm -f conftest.er1
44511 cat conftest.err >&5
44512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44513 (exit $ac_status); } && {
44514 test -z "$ac_c_werror_flag" ||
44515 test ! -s conftest.err
44516 } && test -s conftest$ac_exeext &&
44517 $as_test_x conftest$ac_exeext; then
44518 ac_cv_lib_socket_socket=yes
44519 else
44520 echo "$as_me: failed program was:" >&5
44521 sed 's/^/| /' conftest.$ac_ext >&5
44522
44523 ac_cv_lib_socket_socket=no
44524 fi
44525
44526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44527 conftest$ac_exeext conftest.$ac_ext
44528 LIBS=$ac_check_lib_save_LIBS
44529 fi
44530 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44531 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44532 if test $ac_cv_lib_socket_socket = yes; then
44533 if test "$INET_LINK" != " -lsocket"; then
44534 INET_LINK="$INET_LINK -lsocket"
44535 fi
44536 else
44537
44538 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44539 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44540 wxUSE_SOCKETS=no
44541
44542
44543 fi
44544
44545
44546
44547 fi
44548
44549 fi
44550 fi
44551
44552 if test "$wxUSE_SOCKETS" = "yes" ; then
44553 if test "$TOOLKIT" != "MSW"; then
44554 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44555 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44556 if test "${wx_cv_type_getsockname3+set}" = set; then
44557 echo $ECHO_N "(cached) $ECHO_C" >&6
44558 else
44559
44560 ac_ext=cpp
44561 ac_cpp='$CXXCPP $CPPFLAGS'
44562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44565
44566 cat >conftest.$ac_ext <<_ACEOF
44567 /* confdefs.h. */
44568 _ACEOF
44569 cat confdefs.h >>conftest.$ac_ext
44570 cat >>conftest.$ac_ext <<_ACEOF
44571 /* end confdefs.h. */
44572
44573 #include <sys/types.h>
44574 #include <sys/socket.h>
44575
44576 int
44577 main ()
44578 {
44579
44580 socklen_t len;
44581 getsockname(0, 0, &len);
44582
44583 ;
44584 return 0;
44585 }
44586 _ACEOF
44587 rm -f conftest.$ac_objext
44588 if { (ac_try="$ac_compile"
44589 case "(($ac_try" in
44590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44591 *) ac_try_echo=$ac_try;;
44592 esac
44593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44594 (eval "$ac_compile") 2>conftest.er1
44595 ac_status=$?
44596 grep -v '^ *+' conftest.er1 >conftest.err
44597 rm -f conftest.er1
44598 cat conftest.err >&5
44599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44600 (exit $ac_status); } && {
44601 test -z "$ac_cxx_werror_flag" ||
44602 test ! -s conftest.err
44603 } && test -s conftest.$ac_objext; then
44604 wx_cv_type_getsockname3=socklen_t
44605 else
44606 echo "$as_me: failed program was:" >&5
44607 sed 's/^/| /' conftest.$ac_ext >&5
44608
44609
44610 CFLAGS_OLD="$CFLAGS"
44611 if test "$GCC" = yes ; then
44612 CFLAGS="-Werror $CFLAGS"
44613 fi
44614
44615 cat >conftest.$ac_ext <<_ACEOF
44616 /* confdefs.h. */
44617 _ACEOF
44618 cat confdefs.h >>conftest.$ac_ext
44619 cat >>conftest.$ac_ext <<_ACEOF
44620 /* end confdefs.h. */
44621
44622 #include <sys/types.h>
44623 #include <sys/socket.h>
44624
44625 int
44626 main ()
44627 {
44628
44629 size_t len;
44630 getsockname(0, 0, &len);
44631
44632 ;
44633 return 0;
44634 }
44635 _ACEOF
44636 rm -f conftest.$ac_objext
44637 if { (ac_try="$ac_compile"
44638 case "(($ac_try" in
44639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44640 *) ac_try_echo=$ac_try;;
44641 esac
44642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44643 (eval "$ac_compile") 2>conftest.er1
44644 ac_status=$?
44645 grep -v '^ *+' conftest.er1 >conftest.err
44646 rm -f conftest.er1
44647 cat conftest.err >&5
44648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44649 (exit $ac_status); } && {
44650 test -z "$ac_cxx_werror_flag" ||
44651 test ! -s conftest.err
44652 } && test -s conftest.$ac_objext; then
44653 wx_cv_type_getsockname3=size_t
44654 else
44655 echo "$as_me: failed program was:" >&5
44656 sed 's/^/| /' conftest.$ac_ext >&5
44657
44658 cat >conftest.$ac_ext <<_ACEOF
44659 /* confdefs.h. */
44660 _ACEOF
44661 cat confdefs.h >>conftest.$ac_ext
44662 cat >>conftest.$ac_ext <<_ACEOF
44663 /* end confdefs.h. */
44664
44665 #include <sys/types.h>
44666 #include <sys/socket.h>
44667
44668 int
44669 main ()
44670 {
44671
44672 int len;
44673 getsockname(0, 0, &len);
44674
44675 ;
44676 return 0;
44677 }
44678 _ACEOF
44679 rm -f conftest.$ac_objext
44680 if { (ac_try="$ac_compile"
44681 case "(($ac_try" in
44682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44683 *) ac_try_echo=$ac_try;;
44684 esac
44685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44686 (eval "$ac_compile") 2>conftest.er1
44687 ac_status=$?
44688 grep -v '^ *+' conftest.er1 >conftest.err
44689 rm -f conftest.er1
44690 cat conftest.err >&5
44691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44692 (exit $ac_status); } && {
44693 test -z "$ac_cxx_werror_flag" ||
44694 test ! -s conftest.err
44695 } && test -s conftest.$ac_objext; then
44696 wx_cv_type_getsockname3=int
44697 else
44698 echo "$as_me: failed program was:" >&5
44699 sed 's/^/| /' conftest.$ac_ext >&5
44700
44701 wx_cv_type_getsockname3=unknown
44702
44703 fi
44704
44705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44706
44707 fi
44708
44709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44710
44711 CFLAGS="$CFLAGS_OLD"
44712
44713
44714 fi
44715
44716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44717 ac_ext=c
44718 ac_cpp='$CPP $CPPFLAGS'
44719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44722
44723
44724 fi
44725 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44726 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44727
44728 if test "$wx_cv_type_getsockname3" = "unknown"; then
44729 wxUSE_SOCKETS=no
44730 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44731 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44732 else
44733 cat >>confdefs.h <<_ACEOF
44734 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44735 _ACEOF
44736
44737 fi
44738 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44739 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44740 if test "${wx_cv_type_getsockopt5+set}" = set; then
44741 echo $ECHO_N "(cached) $ECHO_C" >&6
44742 else
44743
44744 ac_ext=cpp
44745 ac_cpp='$CXXCPP $CPPFLAGS'
44746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44749
44750 cat >conftest.$ac_ext <<_ACEOF
44751 /* confdefs.h. */
44752 _ACEOF
44753 cat confdefs.h >>conftest.$ac_ext
44754 cat >>conftest.$ac_ext <<_ACEOF
44755 /* end confdefs.h. */
44756
44757 #include <sys/types.h>
44758 #include <sys/socket.h>
44759
44760 int
44761 main ()
44762 {
44763
44764 socklen_t len;
44765 getsockopt(0, 0, 0, 0, &len);
44766
44767 ;
44768 return 0;
44769 }
44770 _ACEOF
44771 rm -f conftest.$ac_objext
44772 if { (ac_try="$ac_compile"
44773 case "(($ac_try" in
44774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44775 *) ac_try_echo=$ac_try;;
44776 esac
44777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44778 (eval "$ac_compile") 2>conftest.er1
44779 ac_status=$?
44780 grep -v '^ *+' conftest.er1 >conftest.err
44781 rm -f conftest.er1
44782 cat conftest.err >&5
44783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44784 (exit $ac_status); } && {
44785 test -z "$ac_cxx_werror_flag" ||
44786 test ! -s conftest.err
44787 } && test -s conftest.$ac_objext; then
44788 wx_cv_type_getsockopt5=socklen_t
44789 else
44790 echo "$as_me: failed program was:" >&5
44791 sed 's/^/| /' conftest.$ac_ext >&5
44792
44793
44794 cat >conftest.$ac_ext <<_ACEOF
44795 /* confdefs.h. */
44796 _ACEOF
44797 cat confdefs.h >>conftest.$ac_ext
44798 cat >>conftest.$ac_ext <<_ACEOF
44799 /* end confdefs.h. */
44800
44801 #include <sys/types.h>
44802 #include <sys/socket.h>
44803
44804 int
44805 main ()
44806 {
44807
44808 size_t len;
44809 getsockopt(0, 0, 0, 0, &len);
44810
44811 ;
44812 return 0;
44813 }
44814 _ACEOF
44815 rm -f conftest.$ac_objext
44816 if { (ac_try="$ac_compile"
44817 case "(($ac_try" in
44818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44819 *) ac_try_echo=$ac_try;;
44820 esac
44821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44822 (eval "$ac_compile") 2>conftest.er1
44823 ac_status=$?
44824 grep -v '^ *+' conftest.er1 >conftest.err
44825 rm -f conftest.er1
44826 cat conftest.err >&5
44827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44828 (exit $ac_status); } && {
44829 test -z "$ac_cxx_werror_flag" ||
44830 test ! -s conftest.err
44831 } && test -s conftest.$ac_objext; then
44832 wx_cv_type_getsockopt5=size_t
44833 else
44834 echo "$as_me: failed program was:" >&5
44835 sed 's/^/| /' conftest.$ac_ext >&5
44836
44837 cat >conftest.$ac_ext <<_ACEOF
44838 /* confdefs.h. */
44839 _ACEOF
44840 cat confdefs.h >>conftest.$ac_ext
44841 cat >>conftest.$ac_ext <<_ACEOF
44842 /* end confdefs.h. */
44843
44844 #include <sys/types.h>
44845 #include <sys/socket.h>
44846
44847 int
44848 main ()
44849 {
44850
44851 int len;
44852 getsockopt(0, 0, 0, 0, &len);
44853
44854 ;
44855 return 0;
44856 }
44857 _ACEOF
44858 rm -f conftest.$ac_objext
44859 if { (ac_try="$ac_compile"
44860 case "(($ac_try" in
44861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44862 *) ac_try_echo=$ac_try;;
44863 esac
44864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44865 (eval "$ac_compile") 2>conftest.er1
44866 ac_status=$?
44867 grep -v '^ *+' conftest.er1 >conftest.err
44868 rm -f conftest.er1
44869 cat conftest.err >&5
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); } && {
44872 test -z "$ac_cxx_werror_flag" ||
44873 test ! -s conftest.err
44874 } && test -s conftest.$ac_objext; then
44875 wx_cv_type_getsockopt5=int
44876 else
44877 echo "$as_me: failed program was:" >&5
44878 sed 's/^/| /' conftest.$ac_ext >&5
44879
44880 wx_cv_type_getsockopt5=unknown
44881
44882 fi
44883
44884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44885
44886 fi
44887
44888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44889
44890
44891 fi
44892
44893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44894 ac_ext=c
44895 ac_cpp='$CPP $CPPFLAGS'
44896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44899
44900
44901 fi
44902 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44903 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44904
44905 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44906 wxUSE_SOCKETS=no
44907 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44908 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44909 else
44910 cat >>confdefs.h <<_ACEOF
44911 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44912 _ACEOF
44913
44914 fi
44915 fi
44916 fi
44917
44918 if test "$wxUSE_SOCKETS" = "yes" ; then
44919 if test "$wxUSE_IPV6" = "yes"; then
44920 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44921 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44922 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44923 echo $ECHO_N "(cached) $ECHO_C" >&6
44924 else
44925
44926 cat >conftest.$ac_ext <<_ACEOF
44927 /* confdefs.h. */
44928 _ACEOF
44929 cat confdefs.h >>conftest.$ac_ext
44930 cat >>conftest.$ac_ext <<_ACEOF
44931 /* end confdefs.h. */
44932
44933 #include <sys/types.h>
44934 #include <sys/socket.h>
44935 #include <netinet/in.h>
44936
44937 int
44938 main ()
44939 {
44940
44941 struct sockaddr_in6 sa6;
44942
44943 ;
44944 return 0;
44945 }
44946 _ACEOF
44947 rm -f conftest.$ac_objext
44948 if { (ac_try="$ac_compile"
44949 case "(($ac_try" in
44950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44951 *) ac_try_echo=$ac_try;;
44952 esac
44953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44954 (eval "$ac_compile") 2>conftest.er1
44955 ac_status=$?
44956 grep -v '^ *+' conftest.er1 >conftest.err
44957 rm -f conftest.er1
44958 cat conftest.err >&5
44959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44960 (exit $ac_status); } && {
44961 test -z "$ac_c_werror_flag" ||
44962 test ! -s conftest.err
44963 } && test -s conftest.$ac_objext; then
44964 wx_cv_type_sockaddr_in6=yes
44965 else
44966 echo "$as_me: failed program was:" >&5
44967 sed 's/^/| /' conftest.$ac_ext >&5
44968
44969 wx_cv_type_sockaddr_in6=no
44970
44971 fi
44972
44973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44974
44975
44976 fi
44977 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44978 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44979
44980 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44981 cat >>confdefs.h <<\_ACEOF
44982 #define wxUSE_IPV6 1
44983 _ACEOF
44984
44985 else
44986 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44987 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44988 fi
44989 fi
44990
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_SOCKETS 1
44993 _ACEOF
44994
44995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44996 fi
44997
44998 if test "$wxUSE_PROTOCOL" = "yes"; then
44999 if test "$wxUSE_SOCKETS" != "yes"; then
45000 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45001 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45002 wxUSE_PROTOCOL=no
45003 fi
45004 fi
45005
45006 if test "$wxUSE_PROTOCOL" = "yes"; then
45007 cat >>confdefs.h <<\_ACEOF
45008 #define wxUSE_PROTOCOL 1
45009 _ACEOF
45010
45011
45012 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45013 cat >>confdefs.h <<\_ACEOF
45014 #define wxUSE_PROTOCOL_HTTP 1
45015 _ACEOF
45016
45017 fi
45018 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_PROTOCOL_FTP 1
45021 _ACEOF
45022
45023 fi
45024 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_PROTOCOL_FILE 1
45027 _ACEOF
45028
45029 fi
45030 else
45031 if test "$wxUSE_FS_INET" = "yes"; then
45032 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45033 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45034 wxUSE_FS_INET="no"
45035 fi
45036 fi
45037
45038 if test "$wxUSE_URL" = "yes"; then
45039 if test "$wxUSE_PROTOCOL" != "yes"; then
45040 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45041 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45042 wxUSE_URL=no
45043 fi
45044 if test "$wxUSE_URL" = "yes"; then
45045 cat >>confdefs.h <<\_ACEOF
45046 #define wxUSE_URL 1
45047 _ACEOF
45048
45049 fi
45050 fi
45051
45052 if test "$wxUSE_VARIANT" = "yes"; then
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_VARIANT 1
45055 _ACEOF
45056
45057 fi
45058
45059 if test "$wxUSE_FS_INET" = "yes"; then
45060 cat >>confdefs.h <<\_ACEOF
45061 #define wxUSE_FS_INET 1
45062 _ACEOF
45063
45064 fi
45065
45066
45067 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45068 wxUSE_JOYSTICK=no
45069
45070 if test "$TOOLKIT" = "MSW"; then
45071 wxUSE_JOYSTICK=yes
45072
45073 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45074 if test "$USE_DARWIN" = 1; then
45075 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45076 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45077 ac_ext=cpp
45078 ac_cpp='$CXXCPP $CPPFLAGS'
45079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45082
45083 cat >conftest.$ac_ext <<_ACEOF
45084 /* confdefs.h. */
45085 _ACEOF
45086 cat confdefs.h >>conftest.$ac_ext
45087 cat >>conftest.$ac_ext <<_ACEOF
45088 /* end confdefs.h. */
45089 #include <IOKit/hid/IOHIDLib.h>
45090 int
45091 main ()
45092 {
45093 IOHIDQueueInterface *qi = NULL;
45094 IOHIDCallbackFunction cb = NULL;
45095 qi->setEventCallout(NULL, cb, NULL, NULL);
45096 ;
45097 return 0;
45098 }
45099 _ACEOF
45100 rm -f conftest.$ac_objext
45101 if { (ac_try="$ac_compile"
45102 case "(($ac_try" in
45103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45104 *) ac_try_echo=$ac_try;;
45105 esac
45106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45107 (eval "$ac_compile") 2>conftest.er1
45108 ac_status=$?
45109 grep -v '^ *+' conftest.er1 >conftest.err
45110 rm -f conftest.er1
45111 cat conftest.err >&5
45112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45113 (exit $ac_status); } && {
45114 test -z "$ac_cxx_werror_flag" ||
45115 test ! -s conftest.err
45116 } && test -s conftest.$ac_objext; then
45117 wxUSE_JOYSTICK=yes
45118
45119 else
45120 echo "$as_me: failed program was:" >&5
45121 sed 's/^/| /' conftest.$ac_ext >&5
45122
45123
45124 fi
45125
45126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45127 ac_ext=c
45128 ac_cpp='$CPP $CPPFLAGS'
45129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45132
45133 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45134 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45135 fi
45136
45137 else
45138 if test "$wxUSE_MGL" != 1; then
45139
45140 for ac_header in linux/joystick.h
45141 do
45142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45146 echo $ECHO_N "(cached) $ECHO_C" >&6
45147 else
45148 cat >conftest.$ac_ext <<_ACEOF
45149 /* confdefs.h. */
45150 _ACEOF
45151 cat confdefs.h >>conftest.$ac_ext
45152 cat >>conftest.$ac_ext <<_ACEOF
45153 /* end confdefs.h. */
45154 $ac_includes_default
45155
45156 #include <$ac_header>
45157 _ACEOF
45158 rm -f conftest.$ac_objext
45159 if { (ac_try="$ac_compile"
45160 case "(($ac_try" in
45161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45162 *) ac_try_echo=$ac_try;;
45163 esac
45164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45165 (eval "$ac_compile") 2>conftest.er1
45166 ac_status=$?
45167 grep -v '^ *+' conftest.er1 >conftest.err
45168 rm -f conftest.er1
45169 cat conftest.err >&5
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); } && {
45172 test -z "$ac_c_werror_flag" ||
45173 test ! -s conftest.err
45174 } && test -s conftest.$ac_objext; then
45175 eval "$as_ac_Header=yes"
45176 else
45177 echo "$as_me: failed program was:" >&5
45178 sed 's/^/| /' conftest.$ac_ext >&5
45179
45180 eval "$as_ac_Header=no"
45181 fi
45182
45183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45184 fi
45185 ac_res=`eval echo '${'$as_ac_Header'}'`
45186 { echo "$as_me:$LINENO: result: $ac_res" >&5
45187 echo "${ECHO_T}$ac_res" >&6; }
45188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45189 cat >>confdefs.h <<_ACEOF
45190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45191 _ACEOF
45192 wxUSE_JOYSTICK=yes
45193 fi
45194
45195 done
45196
45197 fi
45198 fi
45199
45200 if test "$wxUSE_JOYSTICK" = "yes"; then
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_JOYSTICK 1
45203 _ACEOF
45204
45205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45206 else
45207 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45208 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45209 fi
45210 fi
45211
45212
45213
45214 if test "$wxUSE_FONTENUM" = "yes" ; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_FONTENUM 1
45217 _ACEOF
45218
45219 fi
45220
45221 if test "$wxUSE_FONTMAP" = "yes" ; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_FONTMAP 1
45224 _ACEOF
45225
45226 fi
45227
45228 if test "$wxUSE_UNICODE" = "yes" ; then
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_UNICODE 1
45231 _ACEOF
45232
45233
45234 if test "$USE_WIN32" != 1; then
45235 wxUSE_UNICODE_MSLU=no
45236 fi
45237
45238 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45239 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45240 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45241 if test "${ac_cv_lib_unicows_main+set}" = set; then
45242 echo $ECHO_N "(cached) $ECHO_C" >&6
45243 else
45244 ac_check_lib_save_LIBS=$LIBS
45245 LIBS="-lunicows $LIBS"
45246 cat >conftest.$ac_ext <<_ACEOF
45247 /* confdefs.h. */
45248 _ACEOF
45249 cat confdefs.h >>conftest.$ac_ext
45250 cat >>conftest.$ac_ext <<_ACEOF
45251 /* end confdefs.h. */
45252
45253
45254 int
45255 main ()
45256 {
45257 return main ();
45258 ;
45259 return 0;
45260 }
45261 _ACEOF
45262 rm -f conftest.$ac_objext conftest$ac_exeext
45263 if { (ac_try="$ac_link"
45264 case "(($ac_try" in
45265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45266 *) ac_try_echo=$ac_try;;
45267 esac
45268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45269 (eval "$ac_link") 2>conftest.er1
45270 ac_status=$?
45271 grep -v '^ *+' conftest.er1 >conftest.err
45272 rm -f conftest.er1
45273 cat conftest.err >&5
45274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45275 (exit $ac_status); } && {
45276 test -z "$ac_c_werror_flag" ||
45277 test ! -s conftest.err
45278 } && test -s conftest$ac_exeext &&
45279 $as_test_x conftest$ac_exeext; then
45280 ac_cv_lib_unicows_main=yes
45281 else
45282 echo "$as_me: failed program was:" >&5
45283 sed 's/^/| /' conftest.$ac_ext >&5
45284
45285 ac_cv_lib_unicows_main=no
45286 fi
45287
45288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45289 conftest$ac_exeext conftest.$ac_ext
45290 LIBS=$ac_check_lib_save_LIBS
45291 fi
45292 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45293 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45294 if test $ac_cv_lib_unicows_main = yes; then
45295
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_UNICODE_MSLU 1
45298 _ACEOF
45299
45300
45301 else
45302
45303 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45304 Applications will only run on Windows NT/2000/XP!" >&5
45305 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45306 Applications will only run on Windows NT/2000/XP!" >&2;}
45307 wxUSE_UNICODE_MSLU=no
45308
45309 fi
45310
45311 fi
45312 fi
45313
45314 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_UNICODE_UTF8 1
45317 _ACEOF
45318
45319
45320 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45321 cat >>confdefs.h <<\_ACEOF
45322 #define wxUSE_UTF8_LOCALE_ONLY 1
45323 _ACEOF
45324
45325 fi
45326 fi
45327
45328
45329 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45330 cat >>confdefs.h <<\_ACEOF
45331 #define wxUSE_CONSTRAINTS 1
45332 _ACEOF
45333
45334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45335 fi
45336
45337 if test "$wxUSE_MDI" = "yes"; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_MDI 1
45340 _ACEOF
45341
45342
45343 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_MDI_ARCHITECTURE 1
45346 _ACEOF
45347
45348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45349 fi
45350 fi
45351
45352 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45355 _ACEOF
45356
45357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45358 fi
45359
45360 if test "$wxUSE_HELP" = "yes"; then
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_HELP 1
45363 _ACEOF
45364
45365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45366
45367 if test "$wxUSE_MSW" = 1; then
45368 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_MS_HTML_HELP 1
45371 _ACEOF
45372
45373 fi
45374 fi
45375
45376 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45377 if test "$wxUSE_HTML" = "yes"; then
45378 cat >>confdefs.h <<\_ACEOF
45379 #define wxUSE_WXHTML_HELP 1
45380 _ACEOF
45381
45382 else
45383 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45384 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45385 wxUSE_WXHTML_HELP=no
45386 fi
45387 fi
45388 fi
45389
45390 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_PRINTING_ARCHITECTURE 1
45393 _ACEOF
45394
45395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45396 fi
45397
45398 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_POSTSCRIPT 1
45401 _ACEOF
45402
45403 fi
45404
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45407 _ACEOF
45408
45409
45410 if test "$wxUSE_SVG" = "yes"; then
45411 cat >>confdefs.h <<\_ACEOF
45412 #define wxUSE_SVG 1
45413 _ACEOF
45414
45415 fi
45416
45417
45418 if test "$wxUSE_METAFILE" = "yes"; then
45419 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45420 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45421 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45422 wxUSE_METAFILE=no
45423 fi
45424 fi
45425
45426
45427 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45428 -o "$wxUSE_CLIPBOARD" = "yes" \
45429 -o "$wxUSE_OLE" = "yes" \
45430 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45431 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45432 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45433 if test "${ac_cv_header_ole2_h+set}" = set; then
45434 echo $ECHO_N "(cached) $ECHO_C" >&6
45435 else
45436 cat >conftest.$ac_ext <<_ACEOF
45437 /* confdefs.h. */
45438 _ACEOF
45439 cat confdefs.h >>conftest.$ac_ext
45440 cat >>conftest.$ac_ext <<_ACEOF
45441 /* end confdefs.h. */
45442
45443
45444 #include <ole2.h>
45445 _ACEOF
45446 rm -f conftest.$ac_objext
45447 if { (ac_try="$ac_compile"
45448 case "(($ac_try" in
45449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45450 *) ac_try_echo=$ac_try;;
45451 esac
45452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45453 (eval "$ac_compile") 2>conftest.er1
45454 ac_status=$?
45455 grep -v '^ *+' conftest.er1 >conftest.err
45456 rm -f conftest.er1
45457 cat conftest.err >&5
45458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45459 (exit $ac_status); } && {
45460 test -z "$ac_c_werror_flag" ||
45461 test ! -s conftest.err
45462 } && test -s conftest.$ac_objext; then
45463 ac_cv_header_ole2_h=yes
45464 else
45465 echo "$as_me: failed program was:" >&5
45466 sed 's/^/| /' conftest.$ac_ext >&5
45467
45468 ac_cv_header_ole2_h=no
45469 fi
45470
45471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45472 fi
45473 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45474 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45475
45476
45477
45478 if test "$ac_cv_header_ole2_h" = "yes" ; then
45479 if test "$GCC" = yes ; then
45480 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45481 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45482 cat >conftest.$ac_ext <<_ACEOF
45483 /* confdefs.h. */
45484 _ACEOF
45485 cat confdefs.h >>conftest.$ac_ext
45486 cat >>conftest.$ac_ext <<_ACEOF
45487 /* end confdefs.h. */
45488 #include <windows.h>
45489 #include <ole2.h>
45490 int
45491 main ()
45492 {
45493
45494 ;
45495 return 0;
45496 }
45497 _ACEOF
45498 rm -f conftest.$ac_objext
45499 if { (ac_try="$ac_compile"
45500 case "(($ac_try" in
45501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45502 *) ac_try_echo=$ac_try;;
45503 esac
45504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45505 (eval "$ac_compile") 2>conftest.er1
45506 ac_status=$?
45507 grep -v '^ *+' conftest.er1 >conftest.err
45508 rm -f conftest.er1
45509 cat conftest.err >&5
45510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45511 (exit $ac_status); } && {
45512 test -z "$ac_c_werror_flag" ||
45513 test ! -s conftest.err
45514 } && test -s conftest.$ac_objext; then
45515 { echo "$as_me:$LINENO: result: no" >&5
45516 echo "${ECHO_T}no" >&6; }
45517 else
45518 echo "$as_me: failed program was:" >&5
45519 sed 's/^/| /' conftest.$ac_ext >&5
45520
45521 { echo "$as_me:$LINENO: result: yes" >&5
45522 echo "${ECHO_T}yes" >&6; }
45523 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45524 fi
45525
45526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45527 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45528 if test "$wxUSE_OLE" = "yes" ; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_OLE 1
45531 _ACEOF
45532
45533 cat >>confdefs.h <<\_ACEOF
45534 #define wxUSE_OLE_AUTOMATION 1
45535 _ACEOF
45536
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_ACTIVEX 1
45539 _ACEOF
45540
45541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45542 fi
45543 fi
45544
45545 if test "$wxUSE_DATAOBJ" = "yes" ; then
45546 cat >>confdefs.h <<\_ACEOF
45547 #define wxUSE_DATAOBJ 1
45548 _ACEOF
45549
45550 fi
45551 else
45552 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45553 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45554
45555 wxUSE_CLIPBOARD=no
45556 wxUSE_DRAG_AND_DROP=no
45557 wxUSE_DATAOBJ=no
45558 wxUSE_OLE=no
45559 fi
45560
45561 if test "$wxUSE_METAFILE" = "yes"; then
45562 cat >>confdefs.h <<\_ACEOF
45563 #define wxUSE_METAFILE 1
45564 _ACEOF
45565
45566
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_ENH_METAFILE 1
45569 _ACEOF
45570
45571 fi
45572 fi
45573
45574 if test "$wxUSE_IPC" = "yes"; then
45575 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45576 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45577 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45578 wxUSE_IPC=no
45579 fi
45580
45581 if test "$wxUSE_IPC" = "yes"; then
45582 cat >>confdefs.h <<\_ACEOF
45583 #define wxUSE_IPC 1
45584 _ACEOF
45585
45586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45587 fi
45588 fi
45589
45590 if test "$wxUSE_DATAOBJ" = "yes"; then
45591 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45592 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45593 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45594 wxUSE_DATAOBJ=no
45595 else
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_DATAOBJ 1
45598 _ACEOF
45599
45600 fi
45601 else
45602 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45603 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45604 wxUSE_CLIPBOARD=no
45605 wxUSE_DRAG_AND_DROP=no
45606 fi
45607
45608 if test "$wxUSE_CLIPBOARD" = "yes"; then
45609 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45610 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45611 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45612 wxUSE_CLIPBOARD=no
45613 fi
45614
45615 if test "$wxUSE_CLIPBOARD" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_CLIPBOARD 1
45618 _ACEOF
45619
45620 fi
45621 fi
45622
45623 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45624 if test "$wxUSE_GTK" = 1; then
45625 if test "$WXGTK12" != 1; then
45626 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45627 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45628 wxUSE_DRAG_AND_DROP=no
45629 fi
45630 fi
45631
45632 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45633 "$wxUSE_DFB" = 1; then
45634 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45635 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45636 wxUSE_DRAG_AND_DROP=no
45637 fi
45638
45639 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_DRAG_AND_DROP 1
45642 _ACEOF
45643
45644 fi
45645
45646 fi
45647
45648 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45650 fi
45651
45652 if test "$wxUSE_CLIPBOARD" = "yes"; then
45653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45654 fi
45655
45656 if test "$wxUSE_SPLINES" = "yes" ; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_SPLINES 1
45659 _ACEOF
45660
45661 fi
45662
45663 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_MOUSEWHEEL 1
45666 _ACEOF
45667
45668 fi
45669
45670
45671 USES_CONTROLS=0
45672 if test "$wxUSE_CONTROLS" = "yes"; then
45673 USES_CONTROLS=1
45674 fi
45675
45676 if test "$wxUSE_ACCEL" = "yes"; then
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_ACCEL 1
45679 _ACEOF
45680
45681 USES_CONTROLS=1
45682 fi
45683
45684 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_ANIMATIONCTRL 1
45687 _ACEOF
45688
45689 USES_CONTROLS=1
45690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45691 fi
45692
45693 if test "$wxUSE_BUTTON" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_BUTTON 1
45696 _ACEOF
45697
45698 USES_CONTROLS=1
45699 fi
45700
45701 if test "$wxUSE_BMPBUTTON" = "yes"; then
45702 cat >>confdefs.h <<\_ACEOF
45703 #define wxUSE_BMPBUTTON 1
45704 _ACEOF
45705
45706 USES_CONTROLS=1
45707 fi
45708
45709 if test "$wxUSE_CALCTRL" = "yes"; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_CALENDARCTRL 1
45712 _ACEOF
45713
45714 USES_CONTROLS=1
45715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45716 fi
45717
45718 if test "$wxUSE_CARET" = "yes"; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_CARET 1
45721 _ACEOF
45722
45723 USES_CONTROLS=1
45724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45725 fi
45726
45727 if test "$wxUSE_COLLPANE" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_COLLPANE 1
45730 _ACEOF
45731
45732 USES_CONTROLS=1
45733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45734 fi
45735
45736 if test "$wxUSE_COMBOBOX" = "yes"; then
45737 cat >>confdefs.h <<\_ACEOF
45738 #define wxUSE_COMBOBOX 1
45739 _ACEOF
45740
45741 USES_CONTROLS=1
45742 fi
45743
45744 if test "$wxUSE_COMBOCTRL" = "yes"; then
45745 cat >>confdefs.h <<\_ACEOF
45746 #define wxUSE_COMBOCTRL 1
45747 _ACEOF
45748
45749 USES_CONTROLS=1
45750 fi
45751
45752 if test "$wxUSE_CHOICE" = "yes"; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_CHOICE 1
45755 _ACEOF
45756
45757 USES_CONTROLS=1
45758 fi
45759
45760 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_CHOICEBOOK 1
45763 _ACEOF
45764
45765 USES_CONTROLS=1
45766 fi
45767
45768 if test "$wxUSE_CHECKBOX" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_CHECKBOX 1
45771 _ACEOF
45772
45773 USES_CONTROLS=1
45774 fi
45775
45776 if test "$wxUSE_CHECKLST" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_CHECKLISTBOX 1
45779 _ACEOF
45780
45781 USES_CONTROLS=1
45782 fi
45783
45784 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45785 cat >>confdefs.h <<\_ACEOF
45786 #define wxUSE_COLOURPICKERCTRL 1
45787 _ACEOF
45788
45789 USES_CONTROLS=1
45790 fi
45791
45792 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45793 cat >>confdefs.h <<\_ACEOF
45794 #define wxUSE_DATEPICKCTRL 1
45795 _ACEOF
45796
45797 USES_CONTROLS=1
45798 fi
45799
45800 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_DIRPICKERCTRL 1
45803 _ACEOF
45804
45805 USES_CONTROLS=1
45806 fi
45807
45808 if test "$wxUSE_FILECTRL" = "yes"; then
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_FILECTRL 1
45811 _ACEOF
45812
45813 USES_CONTROLS=1
45814 fi
45815
45816 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_FILEPICKERCTRL 1
45819 _ACEOF
45820
45821 USES_CONTROLS=1
45822 fi
45823
45824 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45825 cat >>confdefs.h <<\_ACEOF
45826 #define wxUSE_FONTPICKERCTRL 1
45827 _ACEOF
45828
45829 USES_CONTROLS=1
45830 fi
45831
45832 if test "$wxUSE_DISPLAY" = "yes"; then
45833 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45834 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45835 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45836 wxUSE_DISPLAY=no
45837 else
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_DISPLAY 1
45840 _ACEOF
45841
45842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45843 fi
45844 fi
45845
45846 if test "$wxUSE_DETECT_SM" = "yes"; then
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_DETECT_SM 1
45849 _ACEOF
45850
45851 fi
45852
45853 if test "$wxUSE_GAUGE" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_GAUGE 1
45856 _ACEOF
45857
45858 USES_CONTROLS=1
45859 fi
45860
45861 if test "$wxUSE_GRID" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_GRID 1
45864 _ACEOF
45865
45866 USES_CONTROLS=1
45867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45868 fi
45869
45870 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_HYPERLINKCTRL 1
45873 _ACEOF
45874
45875 USES_CONTROLS=1
45876 fi
45877
45878 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_BITMAPCOMBOBOX 1
45881 _ACEOF
45882
45883 USES_CONTROLS=1
45884 fi
45885
45886 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45887 cat >>confdefs.h <<\_ACEOF
45888 #define wxUSE_DATAVIEWCTRL 1
45889 _ACEOF
45890
45891 USES_CONTROLS=1
45892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45893 fi
45894
45895 if test "$wxUSE_IMAGLIST" = "yes"; then
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_IMAGLIST 1
45898 _ACEOF
45899
45900 fi
45901
45902 if test "$wxUSE_LISTBOOK" = "yes"; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_LISTBOOK 1
45905 _ACEOF
45906
45907 USES_CONTROLS=1
45908 fi
45909
45910 if test "$wxUSE_LISTBOX" = "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_LISTBOX 1
45913 _ACEOF
45914
45915 USES_CONTROLS=1
45916 fi
45917
45918 if test "$wxUSE_LISTCTRL" = "yes"; then
45919 if test "$wxUSE_IMAGLIST" = "yes"; then
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_LISTCTRL 1
45922 _ACEOF
45923
45924 USES_CONTROLS=1
45925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45926 else
45927 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45928 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45929 fi
45930 fi
45931
45932 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45933 cat >>confdefs.h <<\_ACEOF
45934 #define wxUSE_EDITABLELISTBOX 1
45935 _ACEOF
45936
45937 USES_CONTROLS=1
45938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45939 fi
45940
45941 if test "$wxUSE_NOTEBOOK" = "yes"; then
45942 cat >>confdefs.h <<\_ACEOF
45943 #define wxUSE_NOTEBOOK 1
45944 _ACEOF
45945
45946 USES_CONTROLS=1
45947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45948 fi
45949
45950 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45951 cat >>confdefs.h <<\_ACEOF
45952 #define wxUSE_NOTIFICATION_MESSAGE 1
45953 _ACEOF
45954
45955 fi
45956
45957 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_ODCOMBOBOX 1
45960 _ACEOF
45961
45962 USES_CONTROLS=1
45963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45964 fi
45965
45966 if test "$wxUSE_RADIOBOX" = "yes"; then
45967 cat >>confdefs.h <<\_ACEOF
45968 #define wxUSE_RADIOBOX 1
45969 _ACEOF
45970
45971 USES_CONTROLS=1
45972 fi
45973
45974 if test "$wxUSE_RADIOBTN" = "yes"; then
45975 cat >>confdefs.h <<\_ACEOF
45976 #define wxUSE_RADIOBTN 1
45977 _ACEOF
45978
45979 USES_CONTROLS=1
45980 fi
45981
45982 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45983 cat >>confdefs.h <<\_ACEOF
45984 #define wxUSE_REARRANGECTRL 1
45985 _ACEOF
45986
45987 fi
45988
45989 if test "$wxUSE_SASH" = "yes"; then
45990 cat >>confdefs.h <<\_ACEOF
45991 #define wxUSE_SASH 1
45992 _ACEOF
45993
45994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45995 fi
45996
45997 if test "$wxUSE_SCROLLBAR" = "yes"; then
45998 cat >>confdefs.h <<\_ACEOF
45999 #define wxUSE_SCROLLBAR 1
46000 _ACEOF
46001
46002 USES_CONTROLS=1
46003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46004 fi
46005
46006 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46007 cat >>confdefs.h <<\_ACEOF
46008 #define wxUSE_SEARCHCTRL 1
46009 _ACEOF
46010
46011 USES_CONTROLS=1
46012 fi
46013
46014 if test "$wxUSE_SLIDER" = "yes"; then
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_SLIDER 1
46017 _ACEOF
46018
46019 USES_CONTROLS=1
46020 fi
46021
46022 if test "$wxUSE_SPINBTN" = "yes"; then
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_SPINBTN 1
46025 _ACEOF
46026
46027 USES_CONTROLS=1
46028 fi
46029
46030 if test "$wxUSE_SPINCTRL" = "yes"; then
46031 cat >>confdefs.h <<\_ACEOF
46032 #define wxUSE_SPINCTRL 1
46033 _ACEOF
46034
46035 USES_CONTROLS=1
46036 fi
46037
46038 if test "$wxUSE_SPLITTER" = "yes"; then
46039 cat >>confdefs.h <<\_ACEOF
46040 #define wxUSE_SPLITTER 1
46041 _ACEOF
46042
46043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46044 fi
46045
46046 if test "$wxUSE_STATBMP" = "yes"; then
46047 cat >>confdefs.h <<\_ACEOF
46048 #define wxUSE_STATBMP 1
46049 _ACEOF
46050
46051 USES_CONTROLS=1
46052 fi
46053
46054 if test "$wxUSE_STATBOX" = "yes"; then
46055 cat >>confdefs.h <<\_ACEOF
46056 #define wxUSE_STATBOX 1
46057 _ACEOF
46058
46059 USES_CONTROLS=1
46060 fi
46061
46062 if test "$wxUSE_STATTEXT" = "yes"; then
46063 cat >>confdefs.h <<\_ACEOF
46064 #define wxUSE_STATTEXT 1
46065 _ACEOF
46066
46067 USES_CONTROLS=1
46068 fi
46069
46070 if test "$wxUSE_STATLINE" = "yes"; then
46071 cat >>confdefs.h <<\_ACEOF
46072 #define wxUSE_STATLINE 1
46073 _ACEOF
46074
46075 USES_CONTROLS=1
46076 fi
46077
46078 if test "$wxUSE_STATUSBAR" = "yes"; then
46079 cat >>confdefs.h <<\_ACEOF
46080 #define wxUSE_NATIVE_STATUSBAR 1
46081 _ACEOF
46082
46083 cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_STATUSBAR 1
46085 _ACEOF
46086
46087 USES_CONTROLS=1
46088
46089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46090 fi
46091
46092 if test "$wxUSE_TEXTCTRL" = "yes"; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_TEXTCTRL 1
46095 _ACEOF
46096
46097 USES_CONTROLS=1
46098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46099
46100 cat >>confdefs.h <<\_ACEOF
46101 #define wxUSE_RICHEDIT 1
46102 _ACEOF
46103
46104 cat >>confdefs.h <<\_ACEOF
46105 #define wxUSE_RICHEDIT2 1
46106 _ACEOF
46107
46108 fi
46109
46110 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46111 if test "$wxUSE_COCOA" = 1 ; then
46112 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46113 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46114 wxUSE_TOGGLEBTN=no
46115 fi
46116
46117 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46118 cat >>confdefs.h <<\_ACEOF
46119 #define wxUSE_TOGGLEBTN 1
46120 _ACEOF
46121
46122 USES_CONTROLS=1
46123 fi
46124 fi
46125
46126 if test "$wxUSE_TOOLBAR" = "yes"; then
46127 cat >>confdefs.h <<\_ACEOF
46128 #define wxUSE_TOOLBAR 1
46129 _ACEOF
46130
46131 USES_CONTROLS=1
46132
46133 if test "$wxUSE_UNIVERSAL" = "yes"; then
46134 wxUSE_TOOLBAR_NATIVE="no"
46135 else
46136 wxUSE_TOOLBAR_NATIVE="yes"
46137 cat >>confdefs.h <<\_ACEOF
46138 #define wxUSE_TOOLBAR_NATIVE 1
46139 _ACEOF
46140
46141 fi
46142
46143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46144 fi
46145
46146 if test "$wxUSE_TOOLTIPS" = "yes"; then
46147 if test "$wxUSE_MOTIF" = 1; then
46148 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46149 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46150 else
46151 if test "$wxUSE_UNIVERSAL" = "yes"; then
46152 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46153 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46154 else
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_TOOLTIPS 1
46157 _ACEOF
46158
46159 fi
46160 fi
46161 fi
46162
46163 if test "$wxUSE_TREEBOOK" = "yes"; then
46164 cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_TREEBOOK 1
46166 _ACEOF
46167
46168 USES_CONTROLS=1
46169 fi
46170
46171 if test "$wxUSE_TOOLBOOK" = "yes"; then
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_TOOLBOOK 1
46174 _ACEOF
46175
46176 USES_CONTROLS=1
46177 fi
46178
46179 if test "$wxUSE_TREECTRL" = "yes"; then
46180 if test "$wxUSE_IMAGLIST" = "yes"; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define wxUSE_TREECTRL 1
46183 _ACEOF
46184
46185 USES_CONTROLS=1
46186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46187 else
46188 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46189 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46190 fi
46191 fi
46192
46193 if test "$wxUSE_POPUPWIN" = "yes"; then
46194 if test "$wxUSE_COCOA" = 1 ; then
46195 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46196 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46197 else
46198 if test "$wxUSE_PM" = 1; then
46199 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46200 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46201 else
46202 cat >>confdefs.h <<\_ACEOF
46203 #define wxUSE_POPUPWIN 1
46204 _ACEOF
46205
46206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46207
46208 USES_CONTROLS=1
46209 fi
46210 fi
46211 fi
46212
46213 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46214 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46215 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46216 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46217 else
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_DIALUP_MANAGER 1
46220 _ACEOF
46221
46222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46223 fi
46224 fi
46225
46226 if test "$wxUSE_TIPWINDOW" = "yes"; then
46227 if test "$wxUSE_PM" = 1; then
46228 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46229 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46230 else
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_TIPWINDOW 1
46233 _ACEOF
46234
46235 fi
46236 fi
46237
46238 if test "$USES_CONTROLS" = 1; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_CONTROLS 1
46241 _ACEOF
46242
46243 fi
46244
46245
46246 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46247 cat >>confdefs.h <<\_ACEOF
46248 #define wxUSE_ACCESSIBILITY 1
46249 _ACEOF
46250
46251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46252 fi
46253
46254 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_DRAGIMAGE 1
46257 _ACEOF
46258
46259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46260 fi
46261
46262 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46263 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46264 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46265 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46266 else
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_EXCEPTIONS 1
46269 _ACEOF
46270
46271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46272 fi
46273 fi
46274
46275 USE_HTML=0
46276 if test "$wxUSE_HTML" = "yes"; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_HTML 1
46279 _ACEOF
46280
46281 USE_HTML=1
46282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46283 fi
46284 if test "$wxUSE_WEBKIT" = "yes"; then
46285 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46286 old_CPPFLAGS="$CPPFLAGS"
46287 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46288 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46289 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46290 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46291 echo $ECHO_N "(cached) $ECHO_C" >&6
46292 else
46293 cat >conftest.$ac_ext <<_ACEOF
46294 /* confdefs.h. */
46295 _ACEOF
46296 cat confdefs.h >>conftest.$ac_ext
46297 cat >>conftest.$ac_ext <<_ACEOF
46298 /* end confdefs.h. */
46299
46300 #include <Carbon/Carbon.h>
46301 #include <WebKit/WebKit.h>
46302
46303
46304 #include <WebKit/HIWebView.h>
46305 _ACEOF
46306 rm -f conftest.$ac_objext
46307 if { (ac_try="$ac_compile"
46308 case "(($ac_try" in
46309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46310 *) ac_try_echo=$ac_try;;
46311 esac
46312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46313 (eval "$ac_compile") 2>conftest.er1
46314 ac_status=$?
46315 grep -v '^ *+' conftest.er1 >conftest.err
46316 rm -f conftest.er1
46317 cat conftest.err >&5
46318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46319 (exit $ac_status); } && {
46320 test -z "$ac_c_werror_flag" ||
46321 test ! -s conftest.err
46322 } && test -s conftest.$ac_objext; then
46323 ac_cv_header_WebKit_HIWebView_h=yes
46324 else
46325 echo "$as_me: failed program was:" >&5
46326 sed 's/^/| /' conftest.$ac_ext >&5
46327
46328 ac_cv_header_WebKit_HIWebView_h=no
46329 fi
46330
46331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46332 fi
46333 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46334 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46335 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46336
46337 cat >>confdefs.h <<\_ACEOF
46338 #define wxUSE_WEBKIT 1
46339 _ACEOF
46340
46341 WEBKIT_LINK="-framework WebKit"
46342
46343 else
46344
46345 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46346 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46347 wxUSE_WEBKIT=no
46348
46349 fi
46350
46351
46352 CPPFLAGS="$old_CPPFLAGS"
46353 elif test "$wxUSE_COCOA" = 1; then
46354 cat >>confdefs.h <<\_ACEOF
46355 #define wxUSE_WEBKIT 1
46356 _ACEOF
46357
46358 else
46359 wxUSE_WEBKIT=no
46360 fi
46361 if test "$wxUSE_WEBKIT" = "yes"; then
46362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46363 fi
46364 fi
46365
46366 USE_XRC=0
46367 if test "$wxUSE_XRC" = "yes"; then
46368 if test "$wxUSE_XML" != "yes"; then
46369 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46370 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46371 wxUSE_XRC=no
46372 else
46373 cat >>confdefs.h <<\_ACEOF
46374 #define wxUSE_XRC 1
46375 _ACEOF
46376
46377 USE_XRC=1
46378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46379 fi
46380 fi
46381
46382 USE_AUI=0
46383 if test "$wxUSE_AUI" = "yes"; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_AUI 1
46386 _ACEOF
46387
46388 USE_AUI=1
46389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46390 fi
46391
46392 USE_PROPGRID=0
46393 if test "$wxUSE_PROPGRID" = "yes"; then
46394 cat >>confdefs.h <<\_ACEOF
46395 #define wxUSE_PROPGRID 1
46396 _ACEOF
46397
46398 USE_PROPGRID=1
46399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46400 fi
46401
46402 USE_STC=0
46403 if test "$wxUSE_STC" = "yes"; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_STC 1
46406 _ACEOF
46407
46408 USE_STC=1
46409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46410 fi
46411
46412 if test "$wxUSE_MENUS" = "yes"; then
46413 cat >>confdefs.h <<\_ACEOF
46414 #define wxUSE_MENUS 1
46415 _ACEOF
46416
46417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46418 fi
46419
46420 if test "$wxUSE_METAFILE" = "yes"; then
46421 cat >>confdefs.h <<\_ACEOF
46422 #define wxUSE_METAFILE 1
46423 _ACEOF
46424
46425 fi
46426
46427 if test "$wxUSE_MIMETYPE" = "yes"; then
46428 cat >>confdefs.h <<\_ACEOF
46429 #define wxUSE_MIMETYPE 1
46430 _ACEOF
46431
46432 fi
46433
46434 if test "$wxUSE_MINIFRAME" = "yes"; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_MINIFRAME 1
46437 _ACEOF
46438
46439 fi
46440
46441 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_SYSTEM_OPTIONS 1
46444 _ACEOF
46445
46446 fi
46447
46448 if test "$wxUSE_TASKBARICON" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_TASKBARICON 1
46451 _ACEOF
46452
46453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46454 fi
46455
46456
46457 if test "$wxUSE_VALIDATORS" = "yes"; then
46458 cat >>confdefs.h <<\_ACEOF
46459 #define wxUSE_VALIDATORS 1
46460 _ACEOF
46461
46462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46463 fi
46464
46465 if test "$wxUSE_PALETTE" = "yes" ; then
46466 if test "$wxUSE_DFB" = 1; then
46467 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46468 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46469 wxUSE_PALETTE=no
46470 else
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_PALETTE 1
46473 _ACEOF
46474
46475 fi
46476 fi
46477
46478 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46479 LIBS=" -lunicows $LIBS"
46480 fi
46481
46482 USE_RICHTEXT=0
46483 if test "$wxUSE_RICHTEXT" = "yes"; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_RICHTEXT 1
46486 _ACEOF
46487
46488 USE_RICHTEXT=1
46489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46490 fi
46491
46492
46493 if test "$wxUSE_IMAGE" = "yes" ; then
46494 cat >>confdefs.h <<\_ACEOF
46495 #define wxUSE_IMAGE 1
46496 _ACEOF
46497
46498
46499 if test "$wxUSE_GIF" = "yes" ; then
46500 cat >>confdefs.h <<\_ACEOF
46501 #define wxUSE_GIF 1
46502 _ACEOF
46503
46504 fi
46505
46506 if test "$wxUSE_PCX" = "yes" ; then
46507 cat >>confdefs.h <<\_ACEOF
46508 #define wxUSE_PCX 1
46509 _ACEOF
46510
46511 fi
46512
46513 if test "$wxUSE_TGA" = "yes" ; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_TGA 1
46516 _ACEOF
46517
46518 fi
46519
46520 if test "$wxUSE_IFF" = "yes" ; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_IFF 1
46523 _ACEOF
46524
46525 fi
46526
46527 if test "$wxUSE_PNM" = "yes" ; then
46528 cat >>confdefs.h <<\_ACEOF
46529 #define wxUSE_PNM 1
46530 _ACEOF
46531
46532 fi
46533
46534 if test "$wxUSE_XPM" = "yes" ; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_XPM 1
46537 _ACEOF
46538
46539 fi
46540
46541 if test "$wxUSE_ICO_CUR" = "yes" ; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_ICO_CUR 1
46544 _ACEOF
46545
46546 fi
46547 fi
46548
46549
46550 if test "$wxUSE_ABOUTDLG" = "yes"; then
46551 cat >>confdefs.h <<\_ACEOF
46552 #define wxUSE_ABOUTDLG 1
46553 _ACEOF
46554
46555 fi
46556
46557 if test "$wxUSE_CHOICEDLG" = "yes"; then
46558 cat >>confdefs.h <<\_ACEOF
46559 #define wxUSE_CHOICEDLG 1
46560 _ACEOF
46561
46562 fi
46563
46564 if test "$wxUSE_COLOURDLG" = "yes"; then
46565 cat >>confdefs.h <<\_ACEOF
46566 #define wxUSE_COLOURDLG 1
46567 _ACEOF
46568
46569 fi
46570
46571 if test "$wxUSE_FILEDLG" = "yes"; then
46572 cat >>confdefs.h <<\_ACEOF
46573 #define wxUSE_FILEDLG 1
46574 _ACEOF
46575
46576 fi
46577
46578 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46579 cat >>confdefs.h <<\_ACEOF
46580 #define wxUSE_FINDREPLDLG 1
46581 _ACEOF
46582
46583 fi
46584
46585 if test "$wxUSE_FONTDLG" = "yes"; then
46586 cat >>confdefs.h <<\_ACEOF
46587 #define wxUSE_FONTDLG 1
46588 _ACEOF
46589
46590 fi
46591
46592 if test "$wxUSE_DIRDLG" = "yes"; then
46593 if test "$wxUSE_TREECTRL" != "yes"; then
46594 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46595 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46596 else
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_DIRDLG 1
46599 _ACEOF
46600
46601 fi
46602 fi
46603
46604 if test "$wxUSE_MSGDLG" = "yes"; then
46605 cat >>confdefs.h <<\_ACEOF
46606 #define wxUSE_MSGDLG 1
46607 _ACEOF
46608
46609 fi
46610
46611 if test "$wxUSE_NUMBERDLG" = "yes"; then
46612 cat >>confdefs.h <<\_ACEOF
46613 #define wxUSE_NUMBERDLG 1
46614 _ACEOF
46615
46616 fi
46617
46618 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_PROGRESSDLG 1
46621 _ACEOF
46622
46623 fi
46624
46625 if test "$wxUSE_SPLASH" = "yes"; then
46626 cat >>confdefs.h <<\_ACEOF
46627 #define wxUSE_SPLASH 1
46628 _ACEOF
46629
46630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46631 fi
46632
46633 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46634 cat >>confdefs.h <<\_ACEOF
46635 #define wxUSE_STARTUP_TIPS 1
46636 _ACEOF
46637
46638 fi
46639
46640 if test "$wxUSE_TEXTDLG" = "yes"; then
46641 cat >>confdefs.h <<\_ACEOF
46642 #define wxUSE_TEXTDLG 1
46643 _ACEOF
46644
46645 fi
46646
46647 if test "$wxUSE_WIZARDDLG" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_WIZARDDLG 1
46650 _ACEOF
46651
46652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46653 fi
46654
46655
46656 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46657 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46658 cat >>confdefs.h <<\_ACEOF
46659 #define wxUSE_OWNER_DRAWN 1
46660 _ACEOF
46661
46662 fi
46663 fi
46664
46665
46666 if test "$wxUSE_MSW" = 1 ; then
46667
46668 if test "$wxUSE_DC_CACHEING" = "yes"; then
46669 cat >>confdefs.h <<\_ACEOF
46670 #define wxUSE_DC_CACHEING 1
46671 _ACEOF
46672
46673 fi
46674
46675 if test "$wxUSE_DIB" = "yes"; then
46676 cat >>confdefs.h <<\_ACEOF
46677 #define wxUSE_WXDIB 1
46678 _ACEOF
46679
46680 fi
46681
46682 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46683 cat >>confdefs.h <<\_ACEOF
46684 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46685 _ACEOF
46686
46687 fi
46688
46689 if test "$wxUSE_UXTHEME" = "yes"; then
46690 cat >>confdefs.h <<\_ACEOF
46691 #define wxUSE_UXTHEME 1
46692 _ACEOF
46693
46694 fi
46695
46696 fi
46697
46698 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46699 cat >>confdefs.h <<\_ACEOF
46700 #define wxUSE_AUTOID_MANAGEMENT 1
46701 _ACEOF
46702
46703 fi
46704
46705 if test "$USE_WIN32" = 1 ; then
46706 if test "$wxUSE_INICONF" = "yes"; then
46707 cat >>confdefs.h <<\_ACEOF
46708 #define wxUSE_INICONF 1
46709 _ACEOF
46710
46711 fi
46712
46713 if test "$wxUSE_REGKEY" = "yes"; then
46714 cat >>confdefs.h <<\_ACEOF
46715 #define wxUSE_REGKEY 1
46716 _ACEOF
46717
46718 fi
46719 fi
46720
46721
46722 if test "$wxUSE_MAC" = 1; then
46723 wxUSE_GRAPHICS_CONTEXT="yes"
46724 fi
46725
46726 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46727 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46728 cat >>confdefs.h <<\_ACEOF
46729 #define wxUSE_GRAPHICS_CONTEXT 1
46730 _ACEOF
46731
46732 elif test "$wxUSE_GTK" != 1; then
46733 cat >>confdefs.h <<\_ACEOF
46734 #define wxUSE_GRAPHICS_CONTEXT 1
46735 _ACEOF
46736
46737 else
46738
46739 pkg_failed=no
46740 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46741 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46742
46743 if test -n "$PKG_CONFIG"; then
46744 if test -n "$CAIRO_CFLAGS"; then
46745 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46746 else
46747 if test -n "$PKG_CONFIG" && \
46748 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46749 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46750 ac_status=$?
46751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46752 (exit $ac_status); }; then
46753 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46754 else
46755 pkg_failed=yes
46756 fi
46757 fi
46758 else
46759 pkg_failed=untried
46760 fi
46761 if test -n "$PKG_CONFIG"; then
46762 if test -n "$CAIRO_LIBS"; then
46763 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46764 else
46765 if test -n "$PKG_CONFIG" && \
46766 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46767 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46768 ac_status=$?
46769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46770 (exit $ac_status); }; then
46771 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46772 else
46773 pkg_failed=yes
46774 fi
46775 fi
46776 else
46777 pkg_failed=untried
46778 fi
46779
46780
46781
46782 if test $pkg_failed = yes; then
46783
46784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46785 _pkg_short_errors_supported=yes
46786 else
46787 _pkg_short_errors_supported=no
46788 fi
46789 if test $_pkg_short_errors_supported = yes; then
46790 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46791 else
46792 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46793 fi
46794 # Put the nasty error message in config.log where it belongs
46795 echo "$CAIRO_PKG_ERRORS" >&5
46796
46797 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46798 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46799
46800 elif test $pkg_failed = untried; then
46801 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46802 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46803
46804 else
46805 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46806 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46807 { echo "$as_me:$LINENO: result: yes" >&5
46808 echo "${ECHO_T}yes" >&6; }
46809 cat >>confdefs.h <<\_ACEOF
46810 #define wxUSE_GRAPHICS_CONTEXT 1
46811 _ACEOF
46812
46813 fi
46814 fi
46815 fi
46816
46817
46818 USE_MEDIA=0
46819
46820 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46821 USE_MEDIA=1
46822
46823 if test "$wxUSE_GTK" = 1; then
46824 wxUSE_GSTREAMER="no"
46825
46826 GST_VERSION_MAJOR=0
46827 GST_VERSION_MINOR=10
46828 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46829
46830 if test "$wxUSE_GSTREAMER8" = "no"; then
46831
46832 pkg_failed=no
46833 { echo "$as_me:$LINENO: checking for GST" >&5
46834 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46835
46836 if test -n "$PKG_CONFIG"; then
46837 if test -n "$GST_CFLAGS"; then
46838 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46839 else
46840 if test -n "$PKG_CONFIG" && \
46841 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46842 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46843 ac_status=$?
46844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46845 (exit $ac_status); }; then
46846 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46847 else
46848 pkg_failed=yes
46849 fi
46850 fi
46851 else
46852 pkg_failed=untried
46853 fi
46854 if test -n "$PKG_CONFIG"; then
46855 if test -n "$GST_LIBS"; then
46856 pkg_cv_GST_LIBS="$GST_LIBS"
46857 else
46858 if test -n "$PKG_CONFIG" && \
46859 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46860 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46861 ac_status=$?
46862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46863 (exit $ac_status); }; then
46864 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46865 else
46866 pkg_failed=yes
46867 fi
46868 fi
46869 else
46870 pkg_failed=untried
46871 fi
46872
46873
46874
46875 if test $pkg_failed = yes; then
46876
46877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46878 _pkg_short_errors_supported=yes
46879 else
46880 _pkg_short_errors_supported=no
46881 fi
46882 if test $_pkg_short_errors_supported = yes; then
46883 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46884 else
46885 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46886 fi
46887 # Put the nasty error message in config.log where it belongs
46888 echo "$GST_PKG_ERRORS" >&5
46889
46890
46891 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46892 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46893 GST_VERSION_MINOR=8
46894
46895
46896 elif test $pkg_failed = untried; then
46897
46898 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46899 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46900 GST_VERSION_MINOR=8
46901
46902
46903 else
46904 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46905 GST_LIBS=$pkg_cv_GST_LIBS
46906 { echo "$as_me:$LINENO: result: yes" >&5
46907 echo "${ECHO_T}yes" >&6; }
46908
46909 wxUSE_GSTREAMER="yes"
46910 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46911
46912 fi
46913 else
46914 GST_VERSION_MINOR=8
46915 fi
46916
46917 if test $GST_VERSION_MINOR = "8"; then
46918 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46919
46920 pkg_failed=no
46921 { echo "$as_me:$LINENO: checking for GST" >&5
46922 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46923
46924 if test -n "$PKG_CONFIG"; then
46925 if test -n "$GST_CFLAGS"; then
46926 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46927 else
46928 if test -n "$PKG_CONFIG" && \
46929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46930 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46931 ac_status=$?
46932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46933 (exit $ac_status); }; then
46934 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46935 else
46936 pkg_failed=yes
46937 fi
46938 fi
46939 else
46940 pkg_failed=untried
46941 fi
46942 if test -n "$PKG_CONFIG"; then
46943 if test -n "$GST_LIBS"; then
46944 pkg_cv_GST_LIBS="$GST_LIBS"
46945 else
46946 if test -n "$PKG_CONFIG" && \
46947 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46948 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46949 ac_status=$?
46950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46951 (exit $ac_status); }; then
46952 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46953 else
46954 pkg_failed=yes
46955 fi
46956 fi
46957 else
46958 pkg_failed=untried
46959 fi
46960
46961
46962
46963 if test $pkg_failed = yes; then
46964
46965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46966 _pkg_short_errors_supported=yes
46967 else
46968 _pkg_short_errors_supported=no
46969 fi
46970 if test $_pkg_short_errors_supported = yes; then
46971 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46972 else
46973 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46974 fi
46975 # Put the nasty error message in config.log where it belongs
46976 echo "$GST_PKG_ERRORS" >&5
46977
46978
46979 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46980 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46981
46982 elif test $pkg_failed = untried; then
46983
46984 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46985 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46986
46987 else
46988 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46989 GST_LIBS=$pkg_cv_GST_LIBS
46990 { echo "$as_me:$LINENO: result: yes" >&5
46991 echo "${ECHO_T}yes" >&6; }
46992 wxUSE_GSTREAMER="yes"
46993 fi
46994 fi
46995
46996
46997 if test "$wxUSE_GSTREAMER" = "yes"; then
46998 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46999 EXTRALIBS_MEDIA="$GST_LIBS"
47000
47001 cat >>confdefs.h <<\_ACEOF
47002 #define wxUSE_GSTREAMER 1
47003 _ACEOF
47004
47005 else
47006 USE_MEDIA=0
47007 fi
47008 fi
47009
47010 if test $USE_MEDIA = 1; then
47011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_MEDIACTRL 1
47014 _ACEOF
47015
47016 else
47017 if test "$wxUSE_MEDIACTRL" = "yes"; then
47018 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47019 echo "$as_me: error: GStreamer not available" >&2;}
47020 { (exit 1); exit 1; }; }
47021 else
47022 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47023 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47024 fi
47025 fi
47026 fi
47027
47028
47029 if test "$cross_compiling" = "yes"; then
47030 OSINFO="\"$host\""
47031 else
47032 OSINFO=`uname -s -r -m`
47033 OSINFO="\"$OSINFO\""
47034 fi
47035
47036 cat >>confdefs.h <<_ACEOF
47037 #define WXWIN_OS_DESCRIPTION $OSINFO
47038 _ACEOF
47039
47040
47041
47042 if test "x$prefix" != "xNONE"; then
47043 wxPREFIX=$prefix
47044 else
47045 wxPREFIX=$ac_default_prefix
47046 fi
47047
47048 cat >>confdefs.h <<_ACEOF
47049 #define wxINSTALL_PREFIX "$wxPREFIX"
47050 _ACEOF
47051
47052
47053
47054
47055 STD_BASE_LIBS="base"
47056 STD_GUI_LIBS=""
47057 BUILT_WX_LIBS="base"
47058 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47059
47060 if test "$wxUSE_SOCKETS" = "yes" ; then
47061 STD_BASE_LIBS="net $STD_BASE_LIBS"
47062 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47063 fi
47064 if test "$wxUSE_XML" = "yes" ; then
47065 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47066 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47067 fi
47068
47069 if test "$wxUSE_GUI" = "yes"; then
47070 STD_GUI_LIBS="adv core"
47071 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47072
47073 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47074 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47075 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47076 fi
47077 if test "$wxUSE_HTML" = "yes" ; then
47078 STD_GUI_LIBS="html $STD_GUI_LIBS"
47079 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47080 fi
47081 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47082 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47083 fi
47084 if test "$wxUSE_OPENGL" = "yes" ; then
47085 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47086 fi
47087 if test "$wxUSE_AUI" = "yes" ; then
47088 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47089 fi
47090 if test "$wxUSE_PROPGRID" = "yes" ; then
47091 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47092 fi
47093 if test "$wxUSE_RICHTEXT" = "yes" ; then
47094 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47095 fi
47096 if test "$wxUSE_STC" = "yes" ; then
47097 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47098 fi
47099 if test "$wxUSE_XRC" = "yes" ; then
47100 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47101 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47102 fi
47103 fi
47104
47105
47106
47107
47108
47109
47110
47111
47112 if test "$wxUSE_MAC" = 1 ; then
47113 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47114 if test "$USE_DARWIN" = 1; then
47115 LDFLAGS="$LDFLAGS -framework QuickTime"
47116 fi
47117 fi
47118 if test "$USE_DARWIN" = 1; then
47119 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47120 fi
47121 fi
47122 if test "$wxUSE_COCOA" = 1 ; then
47123 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47124 if test "$wxUSE_MEDIACTRL" = "yes"; then
47125 LDFLAGS="$LDFLAGS -framework QuickTime"
47126 fi
47127 fi
47128 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47129 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47130 fi
47131
47132 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47133
47134 if test "$wxUSE_GUI" = "yes"; then
47135
47136
47137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47138 erase event exec font image minimal mobile \
47139 mobile/wxedit mobile/styles render \
47140 shaped svg taborder vscroll widgets"
47141
47142 if test "$wxUSE_MONOLITHIC" != "yes"; then
47143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47144 fi
47145 if test "$TOOLKIT" = "MSW"; then
47146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47147 if test "$wxUSE_UNIVERSAL" != "yes"; then
47148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47149 fi
47150 fi
47151 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47153 fi
47154 else
47155 SAMPLES_SUBDIRS="console"
47156 if test "$wxUSE_SOCKETS" = "yes" ; then
47157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47158 fi
47159 if test "$wxUSE_IPC" = "yes" ; then
47160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47161 fi
47162 fi
47163
47164
47165 if test "x$INTELCC" = "xyes" ; then
47166 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47167 elif test "$GCC" = yes ; then
47168 CWARNINGS="-Wall -Wundef"
47169 fi
47170
47171 if test "x$INTELCXX" = "xyes" ; then
47172 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47173 elif test "$GXX" = yes ; then
47174 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47175 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47176 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47177 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47178 echo $ECHO_N "(cached) $ECHO_C" >&6
47179 else
47180 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47181
47182 ac_ext=cpp
47183 ac_cpp='$CXXCPP $CPPFLAGS'
47184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47187
47188 ac_save_CXXFLAGS="$CXXFLAGS"
47189 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47190 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47191 cat >conftest.$ac_ext <<_ACEOF
47192 /* confdefs.h. */
47193 _ACEOF
47194 cat confdefs.h >>conftest.$ac_ext
47195 cat >>conftest.$ac_ext <<_ACEOF
47196 /* end confdefs.h. */
47197
47198 int
47199 main ()
47200 {
47201 return 0;
47202 ;
47203 return 0;
47204 }
47205 _ACEOF
47206 rm -f conftest.$ac_objext
47207 if { (ac_try="$ac_compile"
47208 case "(($ac_try" in
47209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47210 *) ac_try_echo=$ac_try;;
47211 esac
47212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47213 (eval "$ac_compile") 2>conftest.er1
47214 ac_status=$?
47215 grep -v '^ *+' conftest.er1 >conftest.err
47216 rm -f conftest.er1
47217 cat conftest.err >&5
47218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47219 (exit $ac_status); } && {
47220 test -z "$ac_cxx_werror_flag" ||
47221 test ! -s conftest.err
47222 } && test -s conftest.$ac_objext; then
47223 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47224 else
47225 echo "$as_me: failed program was:" >&5
47226 sed 's/^/| /' conftest.$ac_ext >&5
47227
47228
47229 fi
47230
47231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47232 done
47233 CXXFLAGS="$ac_save_CXXFLAGS"
47234 ac_ext=c
47235 ac_cpp='$CPP $CPPFLAGS'
47236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47239
47240
47241 fi
47242 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47243 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47244 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47245 .ok|.ok,*) ;;
47246 .|.no|.no,*) ;;
47247 *)
47248 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47249 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47250 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47251 ac_status=$?
47252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47253 (exit $ac_status); }
47254 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47255 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47256 ac_status=$?
47257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47258 (exit $ac_status); }
47259 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47260 fi
47261 ;;
47262 esac
47263
47264 fi
47265
47266
47267 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47268 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47269
47270
47271 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47272 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47273 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47274 $CPPFLAGS `
47275
47276 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47277 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47278 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47279 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47280 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47281
47282 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47283
47284
47285 if test "x$MWCC" = "xyes"; then
47286
47287 CC="$CC -cwd source -I-"
47288 CXX="$CXX -cwd source -I-"
47289 fi
47290
47291
47292 LIBS=`echo $LIBS`
47293 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47294 EXTRALIBS_XML="$EXPAT_LINK"
47295 EXTRALIBS_HTML="$MSPACK_LINK"
47296 EXTRALIBS_MEDIA="$GST_LIBS"
47297 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47298 if test "$wxUSE_GUI" = "yes"; then
47299 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47300 fi
47301 if test "$wxUSE_OPENGL" = "yes"; then
47302 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47303 fi
47304
47305 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47306
47307 WXCONFIG_LIBS="$LIBS"
47308
47309 if test "$wxUSE_REGEX" = "builtin" ; then
47310 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47311 fi
47312 if test "$wxUSE_EXPAT" = "builtin" ; then
47313 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47314 fi
47315 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47316 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47317 fi
47318 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47319 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47320 fi
47321 if test "$wxUSE_LIBPNG" = "builtin" ; then
47322 wxconfig_3rdparty="png $wxconfig_3rdparty"
47323 fi
47324 if test "$wxUSE_ZLIB" = "builtin" ; then
47325 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47326 fi
47327
47328 for i in $wxconfig_3rdparty ; do
47329 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47330 done
47331
47332
47333 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47334 WXUNIV=1
47335
47336 case "$wxUNIV_THEMES" in
47337 ''|all)
47338 cat >>confdefs.h <<\_ACEOF
47339 #define wxUSE_ALL_THEMES 1
47340 _ACEOF
47341
47342 ;;
47343
47344 *)
47345 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47346 cat >>confdefs.h <<_ACEOF
47347 #define wxUSE_THEME_$t 1
47348 _ACEOF
47349
47350 done
47351 esac
47352 else
47353 WXUNIV=0
47354 fi
47355
47356
47357
47358
47359
47360
47361
47362
47363 if test $wxUSE_MONOLITHIC = "yes" ; then
47364 MONOLITHIC=1
47365 else
47366 MONOLITHIC=0
47367 fi
47368
47369 if test $wxUSE_PLUGINS = "yes" ; then
47370 USE_PLUGINS=1
47371 else
47372 USE_PLUGINS=0
47373 fi
47374
47375 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47376 USE_QA=1
47377 else
47378 USE_QA=0
47379 fi
47380
47381 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47382 OFFICIAL_BUILD=1
47383 else
47384 OFFICIAL_BUILD=0
47385 fi
47386
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414 TOOLKIT_LOWERCASE=xxx
47415 if test "$TOOLKIT" = "MAC"; then
47416 TOOLKIT_LOWERCASE=osx_carbon
47417 fi
47418 if test "$TOOLKIT" = "OSX_CARBON"; then
47419 TOOLKIT_LOWERCASE=osx_carbon
47420 fi
47421 if test "$TOOLKIT" = "OSX_COCOA"; then
47422 TOOLKIT_LOWERCASE=osx_cocoa
47423 fi
47424 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47425 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47426 fi
47427
47428
47429
47430
47431
47432
47433
47434
47435
47436 case "$TOOLKIT" in
47437 GTK)
47438 TOOLKIT_DESC="GTK+"
47439 if test "$WXGTK2" = 1; then
47440 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47441 if test "$wxUSE_GTKPRINT" = "yes" ; then
47442 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47443 fi
47444 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47445 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47446 fi
47447 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47448 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47449 fi
47450 if test "$wxUSE_LIBHILDON" = "yes"; then
47451 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47452 fi
47453
47454 if test "$TOOLKIT_EXTRA" != ""; then
47455 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47456 fi
47457 fi
47458 ;;
47459
47460 ?*)
47461 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47462 ;;
47463
47464 *)
47465 TOOLKIT_DESC="base only"
47466 ;;
47467 esac
47468
47469 if test "$wxUSE_WINE" = "yes"; then
47470 BAKEFILE_FORCE_PLATFORM=win32
47471 fi
47472
47473 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47474 then
47475 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47476 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47477 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47478 echo $ECHO_N "(cached) $ECHO_C" >&6
47479 else
47480
47481 echo '#include <stdio.h>
47482 const wchar_t test_var[] = L"awidetest";' > conftest.h
47483
47484 echo '#include "conftest.h"
47485 int main()
47486 {
47487 printf("%ls", test_var);
47488 return 0;
47489 }' > conftest.cpp
47490
47491 wx_cv_gcc_pch_bug="pch not supported"
47492
47493 if $CXX conftest.h >/dev/null 2>&1
47494 then
47495 wx_cv_gcc_pch_bug=
47496
47497 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47498 then
47499 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47500 grep awidetest >/dev/null
47501 then
47502 wx_cv_gcc_pch_bug=no
47503 else
47504 wx_cv_gcc_pch_bug=yes
47505 fi
47506 fi
47507 fi
47508
47509 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47510
47511 fi
47512 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47513 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47514
47515 if test "$wx_cv_gcc_pch_bug" = yes; then
47516 bk_use_pch=no
47517 fi
47518 fi
47519
47520
47521
47522
47523
47524
47525
47526 if test "x$BAKEFILE_HOST" = "x"; then
47527 if test "x${host}" = "x" ; then
47528 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47529 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47530 { (exit 1); exit 1; }; }
47531 fi
47532
47533 BAKEFILE_HOST="${host}"
47534 fi
47535
47536 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47537
47538 if test -n "$ac_tool_prefix"; then
47539 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47540 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47543 if test "${ac_cv_prog_RANLIB+set}" = set; then
47544 echo $ECHO_N "(cached) $ECHO_C" >&6
47545 else
47546 if test -n "$RANLIB"; then
47547 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47548 else
47549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47550 for as_dir in $PATH
47551 do
47552 IFS=$as_save_IFS
47553 test -z "$as_dir" && as_dir=.
47554 for ac_exec_ext in '' $ac_executable_extensions; do
47555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47556 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47558 break 2
47559 fi
47560 done
47561 done
47562 IFS=$as_save_IFS
47563
47564 fi
47565 fi
47566 RANLIB=$ac_cv_prog_RANLIB
47567 if test -n "$RANLIB"; then
47568 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47569 echo "${ECHO_T}$RANLIB" >&6; }
47570 else
47571 { echo "$as_me:$LINENO: result: no" >&5
47572 echo "${ECHO_T}no" >&6; }
47573 fi
47574
47575
47576 fi
47577 if test -z "$ac_cv_prog_RANLIB"; then
47578 ac_ct_RANLIB=$RANLIB
47579 # Extract the first word of "ranlib", so it can be a program name with args.
47580 set dummy ranlib; ac_word=$2
47581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47583 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47584 echo $ECHO_N "(cached) $ECHO_C" >&6
47585 else
47586 if test -n "$ac_ct_RANLIB"; then
47587 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47588 else
47589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47590 for as_dir in $PATH
47591 do
47592 IFS=$as_save_IFS
47593 test -z "$as_dir" && as_dir=.
47594 for ac_exec_ext in '' $ac_executable_extensions; do
47595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47596 ac_cv_prog_ac_ct_RANLIB="ranlib"
47597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47598 break 2
47599 fi
47600 done
47601 done
47602 IFS=$as_save_IFS
47603
47604 fi
47605 fi
47606 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47607 if test -n "$ac_ct_RANLIB"; then
47608 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47609 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47610 else
47611 { echo "$as_me:$LINENO: result: no" >&5
47612 echo "${ECHO_T}no" >&6; }
47613 fi
47614
47615 if test "x$ac_ct_RANLIB" = x; then
47616 RANLIB=":"
47617 else
47618 case $cross_compiling:$ac_tool_warned in
47619 yes:)
47620 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47621 whose name does not start with the host triplet. If you think this
47622 configuration is useful to you, please write to autoconf@gnu.org." >&5
47623 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47624 whose name does not start with the host triplet. If you think this
47625 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47626 ac_tool_warned=yes ;;
47627 esac
47628 RANLIB=$ac_ct_RANLIB
47629 fi
47630 else
47631 RANLIB="$ac_cv_prog_RANLIB"
47632 fi
47633
47634 # Find a good install program. We prefer a C program (faster),
47635 # so one script is as good as another. But avoid the broken or
47636 # incompatible versions:
47637 # SysV /etc/install, /usr/sbin/install
47638 # SunOS /usr/etc/install
47639 # IRIX /sbin/install
47640 # AIX /bin/install
47641 # AmigaOS /C/install, which installs bootblocks on floppy discs
47642 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47643 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47644 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47645 # OS/2's system install, which has a completely different semantic
47646 # ./install, which can be erroneously created by make from ./install.sh.
47647 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47648 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47649 if test -z "$INSTALL"; then
47650 if test "${ac_cv_path_install+set}" = set; then
47651 echo $ECHO_N "(cached) $ECHO_C" >&6
47652 else
47653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47654 for as_dir in $PATH
47655 do
47656 IFS=$as_save_IFS
47657 test -z "$as_dir" && as_dir=.
47658 # Account for people who put trailing slashes in PATH elements.
47659 case $as_dir/ in
47660 ./ | .// | /cC/* | \
47661 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47662 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47663 /usr/ucb/* ) ;;
47664 *)
47665 # OSF1 and SCO ODT 3.0 have their own names for install.
47666 # Don't use installbsd from OSF since it installs stuff as root
47667 # by default.
47668 for ac_prog in ginstall scoinst install; do
47669 for ac_exec_ext in '' $ac_executable_extensions; do
47670 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47671 if test $ac_prog = install &&
47672 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47673 # AIX install. It has an incompatible calling convention.
47674 :
47675 elif test $ac_prog = install &&
47676 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47677 # program-specific install script used by HP pwplus--don't use.
47678 :
47679 else
47680 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47681 break 3
47682 fi
47683 fi
47684 done
47685 done
47686 ;;
47687 esac
47688 done
47689 IFS=$as_save_IFS
47690
47691
47692 fi
47693 if test "${ac_cv_path_install+set}" = set; then
47694 INSTALL=$ac_cv_path_install
47695 else
47696 # As a last resort, use the slow shell script. Don't cache a
47697 # value for INSTALL within a source directory, because that will
47698 # break other packages using the cache if that directory is
47699 # removed, or if the value is a relative name.
47700 INSTALL=$ac_install_sh
47701 fi
47702 fi
47703 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47704 echo "${ECHO_T}$INSTALL" >&6; }
47705
47706 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47707 # It thinks the first close brace ends the variable substitution.
47708 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47709
47710 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47711
47712 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47713
47714 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47715 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47716 LN_S=$as_ln_s
47717 if test "$LN_S" = "ln -s"; then
47718 { echo "$as_me:$LINENO: result: yes" >&5
47719 echo "${ECHO_T}yes" >&6; }
47720 else
47721 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47722 echo "${ECHO_T}no, using $LN_S" >&6; }
47723 fi
47724
47725
47726 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47727 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47728 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47729 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47730 echo $ECHO_N "(cached) $ECHO_C" >&6
47731 else
47732 cat >conftest.make <<\_ACEOF
47733 SHELL = /bin/sh
47734 all:
47735 @echo '@@@%%%=$(MAKE)=@@@%%%'
47736 _ACEOF
47737 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47738 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47739 *@@@%%%=?*=@@@%%%*)
47740 eval ac_cv_prog_make_${ac_make}_set=yes;;
47741 *)
47742 eval ac_cv_prog_make_${ac_make}_set=no;;
47743 esac
47744 rm -f conftest.make
47745 fi
47746 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47747 { echo "$as_me:$LINENO: result: yes" >&5
47748 echo "${ECHO_T}yes" >&6; }
47749 SET_MAKE=
47750 else
47751 { echo "$as_me:$LINENO: result: no" >&5
47752 echo "${ECHO_T}no" >&6; }
47753 SET_MAKE="MAKE=${MAKE-make}"
47754 fi
47755
47756
47757
47758 if test "x$SUNCXX" = "xyes"; then
47759 AR=$CXX
47760 AROPTIONS="-xar -o"
47761
47762 elif test "x$SGICC" = "xyes"; then
47763 AR=$CXX
47764 AROPTIONS="-ar -o"
47765
47766 else
47767 if test -n "$ac_tool_prefix"; then
47768 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47769 set dummy ${ac_tool_prefix}ar; ac_word=$2
47770 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47772 if test "${ac_cv_prog_AR+set}" = set; then
47773 echo $ECHO_N "(cached) $ECHO_C" >&6
47774 else
47775 if test -n "$AR"; then
47776 ac_cv_prog_AR="$AR" # Let the user override the test.
47777 else
47778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47779 for as_dir in $PATH
47780 do
47781 IFS=$as_save_IFS
47782 test -z "$as_dir" && as_dir=.
47783 for ac_exec_ext in '' $ac_executable_extensions; do
47784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47785 ac_cv_prog_AR="${ac_tool_prefix}ar"
47786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47787 break 2
47788 fi
47789 done
47790 done
47791 IFS=$as_save_IFS
47792
47793 fi
47794 fi
47795 AR=$ac_cv_prog_AR
47796 if test -n "$AR"; then
47797 { echo "$as_me:$LINENO: result: $AR" >&5
47798 echo "${ECHO_T}$AR" >&6; }
47799 else
47800 { echo "$as_me:$LINENO: result: no" >&5
47801 echo "${ECHO_T}no" >&6; }
47802 fi
47803
47804
47805 fi
47806 if test -z "$ac_cv_prog_AR"; then
47807 ac_ct_AR=$AR
47808 # Extract the first word of "ar", so it can be a program name with args.
47809 set dummy ar; ac_word=$2
47810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47812 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47813 echo $ECHO_N "(cached) $ECHO_C" >&6
47814 else
47815 if test -n "$ac_ct_AR"; then
47816 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47817 else
47818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47819 for as_dir in $PATH
47820 do
47821 IFS=$as_save_IFS
47822 test -z "$as_dir" && as_dir=.
47823 for ac_exec_ext in '' $ac_executable_extensions; do
47824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47825 ac_cv_prog_ac_ct_AR="ar"
47826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47827 break 2
47828 fi
47829 done
47830 done
47831 IFS=$as_save_IFS
47832
47833 fi
47834 fi
47835 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47836 if test -n "$ac_ct_AR"; then
47837 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47838 echo "${ECHO_T}$ac_ct_AR" >&6; }
47839 else
47840 { echo "$as_me:$LINENO: result: no" >&5
47841 echo "${ECHO_T}no" >&6; }
47842 fi
47843
47844 if test "x$ac_ct_AR" = x; then
47845 AR="ar"
47846 else
47847 case $cross_compiling:$ac_tool_warned in
47848 yes:)
47849 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47850 whose name does not start with the host triplet. If you think this
47851 configuration is useful to you, please write to autoconf@gnu.org." >&5
47852 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47853 whose name does not start with the host triplet. If you think this
47854 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47855 ac_tool_warned=yes ;;
47856 esac
47857 AR=$ac_ct_AR
47858 fi
47859 else
47860 AR="$ac_cv_prog_AR"
47861 fi
47862
47863 AROPTIONS=rcu
47864 fi
47865
47866
47867 if test -n "$ac_tool_prefix"; then
47868 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47869 set dummy ${ac_tool_prefix}strip; ac_word=$2
47870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47872 if test "${ac_cv_prog_STRIP+set}" = set; then
47873 echo $ECHO_N "(cached) $ECHO_C" >&6
47874 else
47875 if test -n "$STRIP"; then
47876 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47877 else
47878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47879 for as_dir in $PATH
47880 do
47881 IFS=$as_save_IFS
47882 test -z "$as_dir" && as_dir=.
47883 for ac_exec_ext in '' $ac_executable_extensions; do
47884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47885 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47887 break 2
47888 fi
47889 done
47890 done
47891 IFS=$as_save_IFS
47892
47893 fi
47894 fi
47895 STRIP=$ac_cv_prog_STRIP
47896 if test -n "$STRIP"; then
47897 { echo "$as_me:$LINENO: result: $STRIP" >&5
47898 echo "${ECHO_T}$STRIP" >&6; }
47899 else
47900 { echo "$as_me:$LINENO: result: no" >&5
47901 echo "${ECHO_T}no" >&6; }
47902 fi
47903
47904
47905 fi
47906 if test -z "$ac_cv_prog_STRIP"; then
47907 ac_ct_STRIP=$STRIP
47908 # Extract the first word of "strip", so it can be a program name with args.
47909 set dummy strip; ac_word=$2
47910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47913 echo $ECHO_N "(cached) $ECHO_C" >&6
47914 else
47915 if test -n "$ac_ct_STRIP"; then
47916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47917 else
47918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47919 for as_dir in $PATH
47920 do
47921 IFS=$as_save_IFS
47922 test -z "$as_dir" && as_dir=.
47923 for ac_exec_ext in '' $ac_executable_extensions; do
47924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47925 ac_cv_prog_ac_ct_STRIP="strip"
47926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47927 break 2
47928 fi
47929 done
47930 done
47931 IFS=$as_save_IFS
47932
47933 fi
47934 fi
47935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47936 if test -n "$ac_ct_STRIP"; then
47937 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47938 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47939 else
47940 { echo "$as_me:$LINENO: result: no" >&5
47941 echo "${ECHO_T}no" >&6; }
47942 fi
47943
47944 if test "x$ac_ct_STRIP" = x; then
47945 STRIP=":"
47946 else
47947 case $cross_compiling:$ac_tool_warned in
47948 yes:)
47949 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47950 whose name does not start with the host triplet. If you think this
47951 configuration is useful to you, please write to autoconf@gnu.org." >&5
47952 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47953 whose name does not start with the host triplet. If you think this
47954 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47955 ac_tool_warned=yes ;;
47956 esac
47957 STRIP=$ac_ct_STRIP
47958 fi
47959 else
47960 STRIP="$ac_cv_prog_STRIP"
47961 fi
47962
47963 if test -n "$ac_tool_prefix"; then
47964 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47965 set dummy ${ac_tool_prefix}nm; ac_word=$2
47966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47968 if test "${ac_cv_prog_NM+set}" = set; then
47969 echo $ECHO_N "(cached) $ECHO_C" >&6
47970 else
47971 if test -n "$NM"; then
47972 ac_cv_prog_NM="$NM" # Let the user override the test.
47973 else
47974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47975 for as_dir in $PATH
47976 do
47977 IFS=$as_save_IFS
47978 test -z "$as_dir" && as_dir=.
47979 for ac_exec_ext in '' $ac_executable_extensions; do
47980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47981 ac_cv_prog_NM="${ac_tool_prefix}nm"
47982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47983 break 2
47984 fi
47985 done
47986 done
47987 IFS=$as_save_IFS
47988
47989 fi
47990 fi
47991 NM=$ac_cv_prog_NM
47992 if test -n "$NM"; then
47993 { echo "$as_me:$LINENO: result: $NM" >&5
47994 echo "${ECHO_T}$NM" >&6; }
47995 else
47996 { echo "$as_me:$LINENO: result: no" >&5
47997 echo "${ECHO_T}no" >&6; }
47998 fi
47999
48000
48001 fi
48002 if test -z "$ac_cv_prog_NM"; then
48003 ac_ct_NM=$NM
48004 # Extract the first word of "nm", so it can be a program name with args.
48005 set dummy nm; ac_word=$2
48006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48008 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48009 echo $ECHO_N "(cached) $ECHO_C" >&6
48010 else
48011 if test -n "$ac_ct_NM"; then
48012 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48013 else
48014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48015 for as_dir in $PATH
48016 do
48017 IFS=$as_save_IFS
48018 test -z "$as_dir" && as_dir=.
48019 for ac_exec_ext in '' $ac_executable_extensions; do
48020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48021 ac_cv_prog_ac_ct_NM="nm"
48022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48023 break 2
48024 fi
48025 done
48026 done
48027 IFS=$as_save_IFS
48028
48029 fi
48030 fi
48031 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48032 if test -n "$ac_ct_NM"; then
48033 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48034 echo "${ECHO_T}$ac_ct_NM" >&6; }
48035 else
48036 { echo "$as_me:$LINENO: result: no" >&5
48037 echo "${ECHO_T}no" >&6; }
48038 fi
48039
48040 if test "x$ac_ct_NM" = x; then
48041 NM=":"
48042 else
48043 case $cross_compiling:$ac_tool_warned in
48044 yes:)
48045 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48046 whose name does not start with the host triplet. If you think this
48047 configuration is useful to you, please write to autoconf@gnu.org." >&5
48048 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48049 whose name does not start with the host triplet. If you think this
48050 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48051 ac_tool_warned=yes ;;
48052 esac
48053 NM=$ac_ct_NM
48054 fi
48055 else
48056 NM="$ac_cv_prog_NM"
48057 fi
48058
48059
48060 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48061 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48062 INSTALL_TEST_DIR=acbftest$$
48063 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48064 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48065 rmdir $INSTALL_TEST_DIR
48066 INSTALL_DIR='$(INSTALL) -d'
48067 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48068 echo "${ECHO_T}$INSTALL -d" >&6; }
48069 else
48070 INSTALL_DIR="mkdir -p"
48071 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48072 echo "${ECHO_T}mkdir -p" >&6; }
48073 fi
48074
48075
48076 LDFLAGS_GUI=
48077 case ${BAKEFILE_HOST} in
48078 *-*-cygwin* | *-*-mingw32* )
48079 LDFLAGS_GUI="-mwindows"
48080 esac
48081
48082
48083 fi
48084
48085 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48086 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48087 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48088 echo $ECHO_N "(cached) $ECHO_C" >&6
48089 else
48090
48091 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48092 egrep -s GNU > /dev/null); then
48093 bakefile_cv_prog_makeisgnu="yes"
48094 else
48095 bakefile_cv_prog_makeisgnu="no"
48096 fi
48097
48098 fi
48099 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48100 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48101
48102 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48103 IF_GNU_MAKE=""
48104 else
48105 IF_GNU_MAKE="#"
48106 fi
48107
48108
48109
48110 PLATFORM_UNIX=0
48111 PLATFORM_WIN32=0
48112 PLATFORM_MSDOS=0
48113 PLATFORM_MAC=0
48114 PLATFORM_MACOS=0
48115 PLATFORM_MACOSX=0
48116 PLATFORM_OS2=0
48117 PLATFORM_BEOS=0
48118
48119 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48120 case "${BAKEFILE_HOST}" in
48121 *-*-mingw32* )
48122 PLATFORM_WIN32=1
48123 ;;
48124 *-pc-msdosdjgpp )
48125 PLATFORM_MSDOS=1
48126 ;;
48127 *-pc-os2_emx | *-pc-os2-emx )
48128 PLATFORM_OS2=1
48129 ;;
48130 *-*-darwin* )
48131 PLATFORM_MAC=1
48132 PLATFORM_MACOSX=1
48133 ;;
48134 *-*-beos* )
48135 PLATFORM_BEOS=1
48136 ;;
48137 powerpc-apple-macos* )
48138 PLATFORM_MAC=1
48139 PLATFORM_MACOS=1
48140 ;;
48141 * )
48142 PLATFORM_UNIX=1
48143 ;;
48144 esac
48145 else
48146 case "$BAKEFILE_FORCE_PLATFORM" in
48147 win32 )
48148 PLATFORM_WIN32=1
48149 ;;
48150 msdos )
48151 PLATFORM_MSDOS=1
48152 ;;
48153 os2 )
48154 PLATFORM_OS2=1
48155 ;;
48156 darwin )
48157 PLATFORM_MAC=1
48158 PLATFORM_MACOSX=1
48159 ;;
48160 unix )
48161 PLATFORM_UNIX=1
48162 ;;
48163 beos )
48164 PLATFORM_BEOS=1
48165 ;;
48166 * )
48167 ;;
48168 esac
48169 fi
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181 # Check whether --enable-omf was given.
48182 if test "${enable_omf+set}" = set; then
48183 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48184 fi
48185
48186
48187 case "${BAKEFILE_HOST}" in
48188 *-*-darwin* )
48189 if test "x$GCC" = "xyes"; then
48190 CFLAGS="$CFLAGS -fno-common"
48191 CXXFLAGS="$CXXFLAGS -fno-common"
48192 fi
48193 if test "x$XLCC" = "xyes"; then
48194 CFLAGS="$CFLAGS -qnocommon"
48195 CXXFLAGS="$CXXFLAGS -qnocommon"
48196 fi
48197 ;;
48198
48199 *-pc-os2_emx | *-pc-os2-emx )
48200 if test "x$bk_os2_use_omf" = "xyes" ; then
48201 AR=emxomfar
48202 RANLIB=:
48203 LDFLAGS="-Zomf $LDFLAGS"
48204 CFLAGS="-Zomf $CFLAGS"
48205 CXXFLAGS="-Zomf $CXXFLAGS"
48206 OS2_LIBEXT="lib"
48207 else
48208 OS2_LIBEXT="a"
48209 fi
48210 ;;
48211
48212 i*86-*-beos* )
48213 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48214 ;;
48215 esac
48216
48217
48218 SO_SUFFIX="so"
48219 SO_SUFFIX_MODULE="so"
48220 EXEEXT=""
48221 LIBPREFIX="lib"
48222 LIBEXT=".a"
48223 DLLPREFIX="lib"
48224 DLLPREFIX_MODULE=""
48225 DLLIMP_SUFFIX=""
48226 dlldir="$libdir"
48227
48228 case "${BAKEFILE_HOST}" in
48229 ia64-hp-hpux* )
48230 ;;
48231 *-hp-hpux* )
48232 SO_SUFFIX="sl"
48233 SO_SUFFIX_MODULE="sl"
48234 ;;
48235 *-*-aix* )
48236 SO_SUFFIX="a"
48237 SO_SUFFIX_MODULE="a"
48238 ;;
48239 *-*-cygwin* )
48240 SO_SUFFIX="dll"
48241 SO_SUFFIX_MODULE="dll"
48242 DLLIMP_SUFFIX="dll.a"
48243 EXEEXT=".exe"
48244 DLLPREFIX="cyg"
48245 dlldir="$bindir"
48246 ;;
48247 *-*-mingw32* )
48248 SO_SUFFIX="dll"
48249 SO_SUFFIX_MODULE="dll"
48250 DLLIMP_SUFFIX="dll.a"
48251 EXEEXT=".exe"
48252 DLLPREFIX=""
48253 dlldir="$bindir"
48254 ;;
48255 *-pc-msdosdjgpp )
48256 EXEEXT=".exe"
48257 DLLPREFIX=""
48258 dlldir="$bindir"
48259 ;;
48260 *-pc-os2_emx | *-pc-os2-emx )
48261 SO_SUFFIX="dll"
48262 SO_SUFFIX_MODULE="dll"
48263 DLLIMP_SUFFIX=$OS2_LIBEXT
48264 EXEEXT=".exe"
48265 DLLPREFIX=""
48266 LIBPREFIX=""
48267 LIBEXT=".$OS2_LIBEXT"
48268 dlldir="$bindir"
48269 ;;
48270 *-*-darwin* )
48271 SO_SUFFIX="dylib"
48272 SO_SUFFIX_MODULE="bundle"
48273 ;;
48274 esac
48275
48276 if test "x$DLLIMP_SUFFIX" = "x" ; then
48277 DLLIMP_SUFFIX="$SO_SUFFIX"
48278 fi
48279
48280
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291 PIC_FLAG=""
48292 if test "x$GCC" = "xyes"; then
48293 PIC_FLAG="-fPIC"
48294 fi
48295
48296 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48297 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48298 WINDOWS_IMPLIB=0
48299
48300 case "${BAKEFILE_HOST}" in
48301 *-hp-hpux* )
48302 if test "x$GCC" != "xyes"; then
48303 LDFLAGS="$LDFLAGS -L/usr/lib"
48304
48305 SHARED_LD_CC="${CC} -b -o"
48306 SHARED_LD_CXX="${CXX} -b -o"
48307 PIC_FLAG="+Z"
48308 fi
48309 ;;
48310
48311 *-*-linux* )
48312 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48313 PIC_FLAG="-KPIC"
48314 elif test "x$SUNCXX" = "xyes"; then
48315 SHARED_LD_CC="${CC} -G -o"
48316 SHARED_LD_CXX="${CXX} -G -o"
48317 PIC_FLAG="-KPIC"
48318 fi
48319 ;;
48320
48321 *-*-solaris2* )
48322 if test "x$SUNCXX" = xyes ; then
48323 SHARED_LD_CC="${CC} -G -o"
48324 SHARED_LD_CXX="${CXX} -G -o"
48325 PIC_FLAG="-KPIC"
48326 fi
48327 ;;
48328
48329 *-*-darwin* )
48330
48331 D='$'
48332 cat <<EOF >shared-ld-sh
48333 #!/bin/sh
48334 #-----------------------------------------------------------------------------
48335 #-- Name: distrib/mac/shared-ld-sh
48336 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48337 #-- Author: Gilles Depeyrot
48338 #-- Copyright: (c) 2002 Gilles Depeyrot
48339 #-- Licence: any use permitted
48340 #-----------------------------------------------------------------------------
48341
48342 verbose=0
48343 args=""
48344 objects=""
48345 linking_flag="-dynamiclib"
48346 ldargs="-r -keep_private_externs -nostdlib"
48347
48348 if test "x${D}CXX" = "x"; then
48349 CXX="c++"
48350 fi
48351
48352 while test ${D}# -gt 0; do
48353 case ${D}1 in
48354
48355 -v)
48356 verbose=1
48357 ;;
48358
48359 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48360 # collect these options and values
48361 args="${D}{args} ${D}1 ${D}2"
48362 shift
48363 ;;
48364
48365 -arch|-isysroot)
48366 # collect these options and values
48367 ldargs="${D}{ldargs} ${D}1 ${D}2"
48368 shift
48369 ;;
48370
48371 -s|-Wl,*)
48372 # collect these load args
48373 ldargs="${D}{ldargs} ${D}1"
48374 ;;
48375
48376 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48377 # collect these options
48378 args="${D}{args} ${D}1"
48379 ;;
48380
48381 -dynamiclib|-bundle)
48382 linking_flag="${D}1"
48383 ;;
48384
48385 -*)
48386 echo "shared-ld: unhandled option '${D}1'"
48387 exit 1
48388 ;;
48389
48390 *.o | *.a | *.dylib)
48391 # collect object files
48392 objects="${D}{objects} ${D}1"
48393 ;;
48394
48395 *)
48396 echo "shared-ld: unhandled argument '${D}1'"
48397 exit 1
48398 ;;
48399
48400 esac
48401 shift
48402 done
48403
48404 status=0
48405
48406 #
48407 # Link one module containing all the others
48408 #
48409 if test ${D}{verbose} = 1; then
48410 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48411 fi
48412 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48413 status=${D}?
48414
48415 #
48416 # Link the shared library from the single module created, but only if the
48417 # previous command didn't fail:
48418 #
48419 if test ${D}{status} = 0; then
48420 if test ${D}{verbose} = 1; then
48421 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48422 fi
48423 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48424 status=${D}?
48425 fi
48426
48427 #
48428 # Remove intermediate module
48429 #
48430 rm -f master.${D}${D}.o
48431
48432 exit ${D}status
48433 EOF
48434
48435 chmod +x shared-ld-sh
48436
48437 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48438 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48439
48440
48441 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48442 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48443 if test "${bakefile_cv_gcc31+set}" = set; then
48444 echo $ECHO_N "(cached) $ECHO_C" >&6
48445 else
48446
48447 cat >conftest.$ac_ext <<_ACEOF
48448 /* confdefs.h. */
48449 _ACEOF
48450 cat confdefs.h >>conftest.$ac_ext
48451 cat >>conftest.$ac_ext <<_ACEOF
48452 /* end confdefs.h. */
48453
48454 int
48455 main ()
48456 {
48457
48458 #if (__GNUC__ < 3) || \
48459 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48460 This is old gcc
48461 #endif
48462
48463 ;
48464 return 0;
48465 }
48466 _ACEOF
48467 rm -f conftest.$ac_objext
48468 if { (ac_try="$ac_compile"
48469 case "(($ac_try" in
48470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48471 *) ac_try_echo=$ac_try;;
48472 esac
48473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48474 (eval "$ac_compile") 2>conftest.er1
48475 ac_status=$?
48476 grep -v '^ *+' conftest.er1 >conftest.err
48477 rm -f conftest.er1
48478 cat conftest.err >&5
48479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48480 (exit $ac_status); } && {
48481 test -z "$ac_c_werror_flag" ||
48482 test ! -s conftest.err
48483 } && test -s conftest.$ac_objext; then
48484
48485 bakefile_cv_gcc31=yes
48486
48487 else
48488 echo "$as_me: failed program was:" >&5
48489 sed 's/^/| /' conftest.$ac_ext >&5
48490
48491
48492 bakefile_cv_gcc31=no
48493
48494
48495 fi
48496
48497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48498
48499 fi
48500 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48501 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48502 if test "$bakefile_cv_gcc31" = "no"; then
48503 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48504 SHARED_LD_CXX="$SHARED_LD_CC"
48505 else
48506 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48507 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48508 fi
48509
48510 if test "x$GCC" == "xyes"; then
48511 PIC_FLAG="-dynamic -fPIC"
48512 fi
48513 if test "x$XLCC" = "xyes"; then
48514 PIC_FLAG="-dynamic -DPIC"
48515 fi
48516 ;;
48517
48518 *-*-aix* )
48519 if test "x$GCC" = "xyes"; then
48520 PIC_FLAG=""
48521
48522 case "${BAKEFILE_HOST}" in
48523 *-*-aix5* )
48524 LD_EXPFULL="-Wl,-bexpfull"
48525 ;;
48526 esac
48527
48528 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48529 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48530 else
48531 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48532 set dummy makeC++SharedLib; ac_word=$2
48533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48535 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48536 echo $ECHO_N "(cached) $ECHO_C" >&6
48537 else
48538 if test -n "$AIX_CXX_LD"; then
48539 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48540 else
48541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48542 for as_dir in $PATH
48543 do
48544 IFS=$as_save_IFS
48545 test -z "$as_dir" && as_dir=.
48546 for ac_exec_ext in '' $ac_executable_extensions; do
48547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48548 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48550 break 2
48551 fi
48552 done
48553 done
48554 IFS=$as_save_IFS
48555
48556 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48557 fi
48558 fi
48559 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48560 if test -n "$AIX_CXX_LD"; then
48561 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48562 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48563 else
48564 { echo "$as_me:$LINENO: result: no" >&5
48565 echo "${ECHO_T}no" >&6; }
48566 fi
48567
48568
48569 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48570 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48571 fi
48572 ;;
48573
48574 *-*-beos* )
48575 SHARED_LD_CC="${LD} -nostart -o"
48576 SHARED_LD_CXX="${LD} -nostart -o"
48577 ;;
48578
48579 *-*-irix* )
48580 if test "x$GCC" != "xyes"; then
48581 PIC_FLAG="-KPIC"
48582 fi
48583 ;;
48584
48585 *-*-cygwin* | *-*-mingw32* )
48586 PIC_FLAG=""
48587 SHARED_LD_CC="\$(CC) -shared -o"
48588 SHARED_LD_CXX="\$(CXX) -shared -o"
48589 WINDOWS_IMPLIB=1
48590 ;;
48591
48592 *-pc-os2_emx | *-pc-os2-emx )
48593 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48594 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48595 PIC_FLAG=""
48596
48597 D='$'
48598 cat <<EOF >dllar.sh
48599 #!/bin/sh
48600 #
48601 # dllar - a tool to build both a .dll and an .a file
48602 # from a set of object (.o) files for EMX/OS2.
48603 #
48604 # Written by Andrew Zabolotny, bit@freya.etu.ru
48605 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48606 #
48607 # This script will accept a set of files on the command line.
48608 # All the public symbols from the .o files will be exported into
48609 # a .DEF file, then linker will be run (through gcc) against them to
48610 # build a shared library consisting of all given .o files. All libraries
48611 # (.a) will be first decompressed into component .o files then act as
48612 # described above. You can optionally give a description (-d "description")
48613 # which will be put into .DLL. To see the list of accepted options (as well
48614 # as command-line format) simply run this program without options. The .DLL
48615 # is built to be imported by name (there is no guarantee that new versions
48616 # of the library you build will have same ordinals for same symbols).
48617 #
48618 # dllar is free software; you can redistribute it and/or modify
48619 # it under the terms of the GNU General Public License as published by
48620 # the Free Software Foundation; either version 2, or (at your option)
48621 # any later version.
48622 #
48623 # dllar is distributed in the hope that it will be useful,
48624 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48625 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48626 # GNU General Public License for more details.
48627 #
48628 # You should have received a copy of the GNU General Public License
48629 # along with dllar; see the file COPYING. If not, write to the Free
48630 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48631 # 02111-1307, USA.
48632
48633 # To successfuly run this program you will need:
48634 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48635 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48636 # - gcc
48637 # (used to build the .dll)
48638 # - emxexp
48639 # (used to create .def file from .o files)
48640 # - emximp
48641 # (used to create .a file from .def file)
48642 # - GNU text utilites (cat, sort, uniq)
48643 # used to process emxexp output
48644 # - GNU file utilities (mv, rm)
48645 # - GNU sed
48646 # - lxlite (optional, see flag below)
48647 # (used for general .dll cleanup)
48648 #
48649
48650 flag_USE_LXLITE=1;
48651
48652 #
48653 # helper functions
48654 # basnam, variant of basename, which does _not_ remove the path, _iff_
48655 # second argument (suffix to remove) is given
48656 basnam(){
48657 case ${D}# in
48658 1)
48659 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48660 ;;
48661 2)
48662 echo ${D}1 | sed 's/'${D}2'${D}//'
48663 ;;
48664 *)
48665 echo "error in basnam ${D}*"
48666 exit 8
48667 ;;
48668 esac
48669 }
48670
48671 # Cleanup temporary files and output
48672 CleanUp() {
48673 cd ${D}curDir
48674 for i in ${D}inputFiles ; do
48675 case ${D}i in
48676 *!)
48677 rm -rf \`basnam ${D}i !\`
48678 ;;
48679 *)
48680 ;;
48681 esac
48682 done
48683
48684 # Kill result in case of failure as there is just to many stupid make/nmake
48685 # things out there which doesn't do this.
48686 if [ ${D}# -eq 0 ]; then
48687 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48688 fi
48689 }
48690
48691 # Print usage and exit script with rc=1.
48692 PrintHelp() {
48693 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48694 echo ' [-name-mangler-script script.sh]'
48695 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48696 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48697 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48698 echo ' [*.o] [*.a]'
48699 echo '*> "output_file" should have no extension.'
48700 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48701 echo ' The import library name is derived from this and is set to "name".a,'
48702 echo ' unless overridden by -import'
48703 echo '*> "importlib_name" should have no extension.'
48704 echo ' If it has the .o, or .a extension, it is automatically removed.'
48705 echo ' This name is used as the import library name and may be longer and'
48706 echo ' more descriptive than the DLL name which has to follow the old '
48707 echo ' 8.3 convention of FAT.'
48708 echo '*> "script.sh may be given to override the output_file name by a'
48709 echo ' different name. It is mainly useful if the regular make process'
48710 echo ' of some package does not take into account OS/2 restriction of'
48711 echo ' DLL name lengths. It takes the importlib name as input and is'
48712 echo ' supposed to procude a shorter name as output. The script should'
48713 echo ' expect to get importlib_name without extension and should produce'
48714 echo ' a (max.) 8 letter name without extension.'
48715 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48716 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48717 echo ' These flags will be put at the start of GCC command line.'
48718 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48719 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48720 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48721 echo ' If the last character of a symbol is "*", all symbols beginning'
48722 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48723 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48724 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48725 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48726 echo ' C runtime DLLs.'
48727 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48728 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48729 echo ' unchanged to GCC at the end of command line.'
48730 echo '*> If you create a DLL from a library and you do not specify -o,'
48731 echo ' the basename for DLL and import library will be set to library name,'
48732 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48733 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48734 echo ' library will be renamed into gcc_s.a.'
48735 echo '--------'
48736 echo 'Example:'
48737 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48738 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48739 CleanUp
48740 exit 1
48741 }
48742
48743 # Execute a command.
48744 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48745 # @Uses Whatever CleanUp() uses.
48746 doCommand() {
48747 echo "${D}*"
48748 eval ${D}*
48749 rcCmd=${D}?
48750
48751 if [ ${D}rcCmd -ne 0 ]; then
48752 echo "command failed, exit code="${D}rcCmd
48753 CleanUp
48754 exit ${D}rcCmd
48755 fi
48756 }
48757
48758 # main routine
48759 # setup globals
48760 cmdLine=${D}*
48761 outFile=""
48762 outimpFile=""
48763 inputFiles=""
48764 renameScript=""
48765 description=""
48766 CC=gcc.exe
48767 CFLAGS="-s -Zcrtdll"
48768 EXTRA_CFLAGS=""
48769 EXPORT_BY_ORDINALS=0
48770 exclude_symbols=""
48771 library_flags=""
48772 curDir=\`pwd\`
48773 curDirS=curDir
48774 case ${D}curDirS in
48775 */)
48776 ;;
48777 *)
48778 curDirS=${D}{curDirS}"/"
48779 ;;
48780 esac
48781 # Parse commandline
48782 libsToLink=0
48783 omfLinking=0
48784 while [ ${D}1 ]; do
48785 case ${D}1 in
48786 -ord*)
48787 EXPORT_BY_ORDINALS=1;
48788 ;;
48789 -o*)
48790 shift
48791 outFile=${D}1
48792 ;;
48793 -i*)
48794 shift
48795 outimpFile=${D}1
48796 ;;
48797 -name-mangler-script)
48798 shift
48799 renameScript=${D}1
48800 ;;
48801 -d*)
48802 shift
48803 description=${D}1
48804 ;;
48805 -f*)
48806 shift
48807 CFLAGS=${D}1
48808 ;;
48809 -c*)
48810 shift
48811 CC=${D}1
48812 ;;
48813 -h*)
48814 PrintHelp
48815 ;;
48816 -ex*)
48817 shift
48818 exclude_symbols=${D}{exclude_symbols}${D}1" "
48819 ;;
48820 -libf*)
48821 shift
48822 library_flags=${D}{library_flags}${D}1" "
48823 ;;
48824 -nocrt*)
48825 CFLAGS="-s"
48826 ;;
48827 -nolxl*)
48828 flag_USE_LXLITE=0
48829 ;;
48830 -* | /*)
48831 case ${D}1 in
48832 -L* | -l*)
48833 libsToLink=1
48834 ;;
48835 -Zomf)
48836 omfLinking=1
48837 ;;
48838 *)
48839 ;;
48840 esac
48841 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48842 ;;
48843 *.dll)
48844 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48845 if [ ${D}omfLinking -eq 1 ]; then
48846 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48847 else
48848 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48849 fi
48850 ;;
48851 *)
48852 found=0;
48853 if [ ${D}libsToLink -ne 0 ]; then
48854 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48855 else
48856 for file in ${D}1 ; do
48857 if [ -f ${D}file ]; then
48858 inputFiles="${D}{inputFiles} ${D}file"
48859 found=1
48860 fi
48861 done
48862 if [ ${D}found -eq 0 ]; then
48863 echo "ERROR: No file(s) found: "${D}1
48864 exit 8
48865 fi
48866 fi
48867 ;;
48868 esac
48869 shift
48870 done # iterate cmdline words
48871
48872 #
48873 if [ -z "${D}inputFiles" ]; then
48874 echo "dllar: no input files"
48875 PrintHelp
48876 fi
48877
48878 # Now extract all .o files from .a files
48879 newInputFiles=""
48880 for file in ${D}inputFiles ; do
48881 case ${D}file in
48882 *.a | *.lib)
48883 case ${D}file in
48884 *.a)
48885 suffix=".a"
48886 AR="ar"
48887 ;;
48888 *.lib)
48889 suffix=".lib"
48890 AR="emxomfar"
48891 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48892 ;;
48893 *)
48894 ;;
48895 esac
48896 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48897 mkdir ${D}dirname
48898 if [ ${D}? -ne 0 ]; then
48899 echo "Failed to create subdirectory ./${D}dirname"
48900 CleanUp
48901 exit 8;
48902 fi
48903 # Append '!' to indicate archive
48904 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48905 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48906 cd ${D}curDir
48907 found=0;
48908 for subfile in ${D}dirname/*.o* ; do
48909 if [ -f ${D}subfile ]; then
48910 found=1
48911 if [ -s ${D}subfile ]; then
48912 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48913 newInputFiles="${D}newInputFiles ${D}subfile"
48914 fi
48915 fi
48916 done
48917 if [ ${D}found -eq 0 ]; then
48918 echo "WARNING: there are no files in archive \\'${D}file\\'"
48919 fi
48920 ;;
48921 *)
48922 newInputFiles="${D}{newInputFiles} ${D}file"
48923 ;;
48924 esac
48925 done
48926 inputFiles="${D}newInputFiles"
48927
48928 # Output filename(s).
48929 do_backup=0;
48930 if [ -z ${D}outFile ]; then
48931 do_backup=1;
48932 set outFile ${D}inputFiles; outFile=${D}2
48933 fi
48934
48935 # If it is an archive, remove the '!' and the '_%' suffixes
48936 case ${D}outFile in
48937 *_%!)
48938 outFile=\`basnam ${D}outFile _%!\`
48939 ;;
48940 *)
48941 ;;
48942 esac
48943 case ${D}outFile in
48944 *.dll)
48945 outFile=\`basnam ${D}outFile .dll\`
48946 ;;
48947 *.DLL)
48948 outFile=\`basnam ${D}outFile .DLL\`
48949 ;;
48950 *.o)
48951 outFile=\`basnam ${D}outFile .o\`
48952 ;;
48953 *.obj)
48954 outFile=\`basnam ${D}outFile .obj\`
48955 ;;
48956 *.a)
48957 outFile=\`basnam ${D}outFile .a\`
48958 ;;
48959 *.lib)
48960 outFile=\`basnam ${D}outFile .lib\`
48961 ;;
48962 *)
48963 ;;
48964 esac
48965 case ${D}outimpFile in
48966 *.a)
48967 outimpFile=\`basnam ${D}outimpFile .a\`
48968 ;;
48969 *.lib)
48970 outimpFile=\`basnam ${D}outimpFile .lib\`
48971 ;;
48972 *)
48973 ;;
48974 esac
48975 if [ -z ${D}outimpFile ]; then
48976 outimpFile=${D}outFile
48977 fi
48978 defFile="${D}{outFile}.def"
48979 arcFile="${D}{outimpFile}.a"
48980 arcFile2="${D}{outimpFile}.lib"
48981
48982 #create ${D}dllFile as something matching 8.3 restrictions,
48983 if [ -z ${D}renameScript ] ; then
48984 dllFile="${D}outFile"
48985 else
48986 dllFile=\`${D}renameScript ${D}outimpFile\`
48987 fi
48988
48989 if [ ${D}do_backup -ne 0 ] ; then
48990 if [ -f ${D}arcFile ] ; then
48991 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48992 fi
48993 if [ -f ${D}arcFile2 ] ; then
48994 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48995 fi
48996 fi
48997
48998 # Extract public symbols from all the object files.
48999 tmpdefFile=${D}{defFile}_%
49000 rm -f ${D}tmpdefFile
49001 for file in ${D}inputFiles ; do
49002 case ${D}file in
49003 *!)
49004 ;;
49005 *)
49006 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49007 ;;
49008 esac
49009 done
49010
49011 # Create the def file.
49012 rm -f ${D}defFile
49013 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49014 dllFile="${D}{dllFile}.dll"
49015 if [ ! -z ${D}description ]; then
49016 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49017 fi
49018 echo "EXPORTS" >> ${D}defFile
49019
49020 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49021 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49022
49023 # Checks if the export is ok or not.
49024 for word in ${D}exclude_symbols; do
49025 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49026 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49027 done
49028
49029
49030 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49031 sed "=" < ${D}tmpdefFile | \\
49032 sed '
49033 N
49034 : loop
49035 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49036 t loop
49037 ' > ${D}{tmpdefFile}%
49038 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49039 else
49040 rm -f ${D}{tmpdefFile}%
49041 fi
49042 cat ${D}tmpdefFile >> ${D}defFile
49043 rm -f ${D}tmpdefFile
49044
49045 # Do linking, create implib, and apply lxlite.
49046 gccCmdl="";
49047 for file in ${D}inputFiles ; do
49048 case ${D}file in
49049 *!)
49050 ;;
49051 *)
49052 gccCmdl="${D}gccCmdl ${D}file"
49053 ;;
49054 esac
49055 done
49056 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49057 touch "${D}{outFile}.dll"
49058
49059 doCommand "emximp -o ${D}arcFile ${D}defFile"
49060 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49061 add_flags="";
49062 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49063 add_flags="-ynd"
49064 fi
49065 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49066 fi
49067 doCommand "emxomf -s -l ${D}arcFile"
49068
49069 # Successful exit.
49070 CleanUp 1
49071 exit 0
49072 EOF
49073
49074 chmod +x dllar.sh
49075 ;;
49076
49077 powerpc-apple-macos* | \
49078 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49079 *-*-mirbsd* | \
49080 *-*-sunos4* | \
49081 *-*-osf* | \
49082 *-*-dgux5* | \
49083 *-*-sysv5* | \
49084 *-pc-msdosdjgpp )
49085 ;;
49086
49087 *)
49088 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49089 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49090 { (exit 1); exit 1; }; }
49091 esac
49092
49093 if test "x$PIC_FLAG" != "x" ; then
49094 PIC_FLAG="$PIC_FLAG -DPIC"
49095 fi
49096
49097 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49098 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49099 fi
49100 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49101 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49102 fi
49103
49104
49105
49106
49107
49108
49109
49110
49111
49112 USE_SOVERSION=0
49113 USE_SOVERLINUX=0
49114 USE_SOVERSOLARIS=0
49115 USE_SOVERCYGWIN=0
49116 USE_SOSYMLINKS=0
49117 USE_MACVERSION=0
49118 SONAME_FLAG=
49119
49120 case "${BAKEFILE_HOST}" in
49121 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49122 *-*-k*bsd*-gnu | *-*-mirbsd* )
49123 if test "x$SUNCXX" = "xyes"; then
49124 SONAME_FLAG="-h "
49125 else
49126 SONAME_FLAG="-Wl,-soname,"
49127 fi
49128 USE_SOVERSION=1
49129 USE_SOVERLINUX=1
49130 USE_SOSYMLINKS=1
49131 ;;
49132
49133 *-*-solaris2* )
49134 SONAME_FLAG="-h "
49135 USE_SOVERSION=1
49136 USE_SOVERSOLARIS=1
49137 USE_SOSYMLINKS=1
49138 ;;
49139
49140 *-*-darwin* )
49141 USE_MACVERSION=1
49142 USE_SOVERSION=1
49143 USE_SOSYMLINKS=1
49144 ;;
49145
49146 *-*-cygwin* )
49147 USE_SOVERSION=1
49148 USE_SOVERCYGWIN=1
49149 ;;
49150 esac
49151
49152
49153
49154
49155
49156
49157
49158
49159
49160
49161 # Check whether --enable-dependency-tracking was given.
49162 if test "${enable_dependency_tracking+set}" = set; then
49163 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49164 fi
49165
49166
49167 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49168 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49169
49170 BK_DEPS=""
49171 if test "x$bk_use_trackdeps" = "xno" ; then
49172 DEPS_TRACKING=0
49173 { echo "$as_me:$LINENO: result: disabled" >&5
49174 echo "${ECHO_T}disabled" >&6; }
49175 else
49176 DEPS_TRACKING=1
49177
49178 if test "x$GCC" = "xyes"; then
49179 DEPSMODE=gcc
49180 case "${BAKEFILE_HOST}" in
49181 *-*-darwin* )
49182 DEPSFLAG="-no-cpp-precomp -MMD"
49183 ;;
49184 * )
49185 DEPSFLAG="-MMD"
49186 ;;
49187 esac
49188 { echo "$as_me:$LINENO: result: gcc" >&5
49189 echo "${ECHO_T}gcc" >&6; }
49190 elif test "x$MWCC" = "xyes"; then
49191 DEPSMODE=mwcc
49192 DEPSFLAG="-MM"
49193 { echo "$as_me:$LINENO: result: mwcc" >&5
49194 echo "${ECHO_T}mwcc" >&6; }
49195 elif test "x$SUNCC" = "xyes"; then
49196 DEPSMODE=unixcc
49197 DEPSFLAG="-xM1"
49198 { echo "$as_me:$LINENO: result: Sun cc" >&5
49199 echo "${ECHO_T}Sun cc" >&6; }
49200 elif test "x$SGICC" = "xyes"; then
49201 DEPSMODE=unixcc
49202 DEPSFLAG="-M"
49203 { echo "$as_me:$LINENO: result: SGI cc" >&5
49204 echo "${ECHO_T}SGI cc" >&6; }
49205 elif test "x$HPCC" = "xyes"; then
49206 DEPSMODE=unixcc
49207 DEPSFLAG="+make"
49208 { echo "$as_me:$LINENO: result: HP cc" >&5
49209 echo "${ECHO_T}HP cc" >&6; }
49210 elif test "x$COMPAQCC" = "xyes"; then
49211 DEPSMODE=gcc
49212 DEPSFLAG="-MD"
49213 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49214 echo "${ECHO_T}Compaq cc" >&6; }
49215 else
49216 DEPS_TRACKING=0
49217 { echo "$as_me:$LINENO: result: none" >&5
49218 echo "${ECHO_T}none" >&6; }
49219 fi
49220
49221 if test $DEPS_TRACKING = 1 ; then
49222
49223 D='$'
49224 cat <<EOF >bk-deps
49225 #!/bin/sh
49226
49227 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49228 # script. It is used to track C/C++ files dependencies in portable way.
49229 #
49230 # Permission is given to use this file in any way.
49231
49232 DEPSMODE=${DEPSMODE}
49233 DEPSFLAG="${DEPSFLAG}"
49234 DEPSDIRBASE=.deps
49235
49236 if test ${D}DEPSMODE = gcc ; then
49237 ${D}* ${D}{DEPSFLAG}
49238 status=${D}?
49239
49240 # determine location of created files:
49241 while test ${D}# -gt 0; do
49242 case "${D}1" in
49243 -o )
49244 shift
49245 objfile=${D}1
49246 ;;
49247 -* )
49248 ;;
49249 * )
49250 srcfile=${D}1
49251 ;;
49252 esac
49253 shift
49254 done
49255 objfilebase=\`basename ${D}objfile\`
49256 builddir=\`dirname ${D}objfile\`
49257 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49258 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49259 depsdir=${D}builddir/${D}DEPSDIRBASE
49260 mkdir -p ${D}depsdir
49261
49262 # if the compiler failed, we're done:
49263 if test ${D}{status} != 0 ; then
49264 rm -f ${D}depfile
49265 exit ${D}{status}
49266 fi
49267
49268 # move created file to the location we want it in:
49269 if test -f ${D}depfile ; then
49270 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49271 rm -f ${D}depfile
49272 else
49273 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49274 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49275 if test ! -f ${D}depfile ; then
49276 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49277 depfile="${D}objfile.d"
49278 fi
49279 if test -f ${D}depfile ; then
49280 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49281 rm -f ${D}depfile
49282 fi
49283 fi
49284 exit 0
49285
49286 elif test ${D}DEPSMODE = mwcc ; then
49287 ${D}* || exit ${D}?
49288 # Run mwcc again with -MM and redirect into the dep file we want
49289 # NOTE: We can't use shift here because we need ${D}* to be valid
49290 prevarg=
49291 for arg in ${D}* ; do
49292 if test "${D}prevarg" = "-o"; then
49293 objfile=${D}arg
49294 else
49295 case "${D}arg" in
49296 -* )
49297 ;;
49298 * )
49299 srcfile=${D}arg
49300 ;;
49301 esac
49302 fi
49303 prevarg="${D}arg"
49304 done
49305
49306 objfilebase=\`basename ${D}objfile\`
49307 builddir=\`dirname ${D}objfile\`
49308 depsdir=${D}builddir/${D}DEPSDIRBASE
49309 mkdir -p ${D}depsdir
49310
49311 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49312 exit 0
49313
49314 elif test ${D}DEPSMODE = unixcc; then
49315 ${D}* || exit ${D}?
49316 # Run compiler again with deps flag and redirect into the dep file.
49317 # It doesn't work if the '-o FILE' option is used, but without it the
49318 # dependency file will contain the wrong name for the object. So it is
49319 # removed from the command line, and the dep file is fixed with sed.
49320 cmd=""
49321 while test ${D}# -gt 0; do
49322 case "${D}1" in
49323 -o )
49324 shift
49325 objfile=${D}1
49326 ;;
49327 * )
49328 eval arg${D}#=\\${D}1
49329 cmd="${D}cmd \\${D}arg${D}#"
49330 ;;
49331 esac
49332 shift
49333 done
49334
49335 objfilebase=\`basename ${D}objfile\`
49336 builddir=\`dirname ${D}objfile\`
49337 depsdir=${D}builddir/${D}DEPSDIRBASE
49338 mkdir -p ${D}depsdir
49339
49340 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49341 exit 0
49342
49343 else
49344 ${D}*
49345 exit ${D}?
49346 fi
49347 EOF
49348
49349 chmod +x bk-deps
49350 BK_DEPS="`pwd`/bk-deps"
49351 fi
49352 fi
49353
49354
49355
49356
49357
49358 case ${BAKEFILE_HOST} in
49359 *-*-cygwin* | *-*-mingw32* )
49360 if test -n "$ac_tool_prefix"; then
49361 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49362 set dummy ${ac_tool_prefix}windres; ac_word=$2
49363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49365 if test "${ac_cv_prog_WINDRES+set}" = set; then
49366 echo $ECHO_N "(cached) $ECHO_C" >&6
49367 else
49368 if test -n "$WINDRES"; then
49369 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49370 else
49371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49372 for as_dir in $PATH
49373 do
49374 IFS=$as_save_IFS
49375 test -z "$as_dir" && as_dir=.
49376 for ac_exec_ext in '' $ac_executable_extensions; do
49377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49378 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49380 break 2
49381 fi
49382 done
49383 done
49384 IFS=$as_save_IFS
49385
49386 fi
49387 fi
49388 WINDRES=$ac_cv_prog_WINDRES
49389 if test -n "$WINDRES"; then
49390 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49391 echo "${ECHO_T}$WINDRES" >&6; }
49392 else
49393 { echo "$as_me:$LINENO: result: no" >&5
49394 echo "${ECHO_T}no" >&6; }
49395 fi
49396
49397
49398 fi
49399 if test -z "$ac_cv_prog_WINDRES"; then
49400 ac_ct_WINDRES=$WINDRES
49401 # Extract the first word of "windres", so it can be a program name with args.
49402 set dummy windres; ac_word=$2
49403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49405 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49406 echo $ECHO_N "(cached) $ECHO_C" >&6
49407 else
49408 if test -n "$ac_ct_WINDRES"; then
49409 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49410 else
49411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49412 for as_dir in $PATH
49413 do
49414 IFS=$as_save_IFS
49415 test -z "$as_dir" && as_dir=.
49416 for ac_exec_ext in '' $ac_executable_extensions; do
49417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49418 ac_cv_prog_ac_ct_WINDRES="windres"
49419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49420 break 2
49421 fi
49422 done
49423 done
49424 IFS=$as_save_IFS
49425
49426 fi
49427 fi
49428 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49429 if test -n "$ac_ct_WINDRES"; then
49430 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49431 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49432 else
49433 { echo "$as_me:$LINENO: result: no" >&5
49434 echo "${ECHO_T}no" >&6; }
49435 fi
49436
49437 if test "x$ac_ct_WINDRES" = x; then
49438 WINDRES=""
49439 else
49440 case $cross_compiling:$ac_tool_warned in
49441 yes:)
49442 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49443 whose name does not start with the host triplet. If you think this
49444 configuration is useful to you, please write to autoconf@gnu.org." >&5
49445 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49446 whose name does not start with the host triplet. If you think this
49447 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49448 ac_tool_warned=yes ;;
49449 esac
49450 WINDRES=$ac_ct_WINDRES
49451 fi
49452 else
49453 WINDRES="$ac_cv_prog_WINDRES"
49454 fi
49455
49456 ;;
49457
49458 *-*-darwin* | powerpc-apple-macos* )
49459 # Extract the first word of "Rez", so it can be a program name with args.
49460 set dummy Rez; ac_word=$2
49461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49463 if test "${ac_cv_prog_REZ+set}" = set; then
49464 echo $ECHO_N "(cached) $ECHO_C" >&6
49465 else
49466 if test -n "$REZ"; then
49467 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49468 else
49469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49470 for as_dir in $PATH
49471 do
49472 IFS=$as_save_IFS
49473 test -z "$as_dir" && as_dir=.
49474 for ac_exec_ext in '' $ac_executable_extensions; do
49475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49476 ac_cv_prog_REZ="Rez"
49477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49478 break 2
49479 fi
49480 done
49481 done
49482 IFS=$as_save_IFS
49483
49484 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49485 fi
49486 fi
49487 REZ=$ac_cv_prog_REZ
49488 if test -n "$REZ"; then
49489 { echo "$as_me:$LINENO: result: $REZ" >&5
49490 echo "${ECHO_T}$REZ" >&6; }
49491 else
49492 { echo "$as_me:$LINENO: result: no" >&5
49493 echo "${ECHO_T}no" >&6; }
49494 fi
49495
49496
49497 # Extract the first word of "SetFile", so it can be a program name with args.
49498 set dummy SetFile; ac_word=$2
49499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49501 if test "${ac_cv_prog_SETFILE+set}" = set; then
49502 echo $ECHO_N "(cached) $ECHO_C" >&6
49503 else
49504 if test -n "$SETFILE"; then
49505 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49506 else
49507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49508 for as_dir in $PATH
49509 do
49510 IFS=$as_save_IFS
49511 test -z "$as_dir" && as_dir=.
49512 for ac_exec_ext in '' $ac_executable_extensions; do
49513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49514 ac_cv_prog_SETFILE="SetFile"
49515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49516 break 2
49517 fi
49518 done
49519 done
49520 IFS=$as_save_IFS
49521
49522 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49523 fi
49524 fi
49525 SETFILE=$ac_cv_prog_SETFILE
49526 if test -n "$SETFILE"; then
49527 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49528 echo "${ECHO_T}$SETFILE" >&6; }
49529 else
49530 { echo "$as_me:$LINENO: result: no" >&5
49531 echo "${ECHO_T}no" >&6; }
49532 fi
49533
49534
49535 ;;
49536 esac
49537
49538
49539
49540
49541
49542
49543
49544
49545
49546 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49547
49548
49549 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49550
49551
49552
49553 # Check whether --enable-precomp-headers was given.
49554 if test "${enable_precomp_headers+set}" = set; then
49555 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49556 fi
49557
49558
49559 GCC_PCH=0
49560 ICC_PCH=0
49561 USE_PCH=0
49562 BK_MAKE_PCH=""
49563
49564 case ${BAKEFILE_HOST} in
49565 *-*-cygwin* )
49566 bk_use_pch="no"
49567 ;;
49568 esac
49569
49570 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49571 if test "x$GCC" = "xyes"; then
49572 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49573 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49574 cat >conftest.$ac_ext <<_ACEOF
49575 /* confdefs.h. */
49576 _ACEOF
49577 cat confdefs.h >>conftest.$ac_ext
49578 cat >>conftest.$ac_ext <<_ACEOF
49579 /* end confdefs.h. */
49580
49581 int
49582 main ()
49583 {
49584
49585 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49586 There is no PCH support
49587 #endif
49588 #if (__GNUC__ < 3)
49589 There is no PCH support
49590 #endif
49591 #if (__GNUC__ == 3) && \
49592 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49593 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49594 ( defined(__INTEL_COMPILER) )
49595 There is no PCH support
49596 #endif
49597
49598 ;
49599 return 0;
49600 }
49601 _ACEOF
49602 rm -f conftest.$ac_objext
49603 if { (ac_try="$ac_compile"
49604 case "(($ac_try" in
49605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49606 *) ac_try_echo=$ac_try;;
49607 esac
49608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49609 (eval "$ac_compile") 2>conftest.er1
49610 ac_status=$?
49611 grep -v '^ *+' conftest.er1 >conftest.err
49612 rm -f conftest.er1
49613 cat conftest.err >&5
49614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49615 (exit $ac_status); } && {
49616 test -z "$ac_c_werror_flag" ||
49617 test ! -s conftest.err
49618 } && test -s conftest.$ac_objext; then
49619
49620 { echo "$as_me:$LINENO: result: yes" >&5
49621 echo "${ECHO_T}yes" >&6; }
49622 GCC_PCH=1
49623
49624 else
49625 echo "$as_me: failed program was:" >&5
49626 sed 's/^/| /' conftest.$ac_ext >&5
49627
49628
49629 if test "$INTELCXX8" = "yes"; then
49630 { echo "$as_me:$LINENO: result: yes" >&5
49631 echo "${ECHO_T}yes" >&6; }
49632 ICC_PCH=1
49633 if test "$INTELCXX10" = "yes"; then
49634 ICC_PCH_CREATE_SWITCH="-pch-create"
49635 ICC_PCH_USE_SWITCH="-pch-use"
49636 else
49637 ICC_PCH_CREATE_SWITCH="-create-pch"
49638 ICC_PCH_USE_SWITCH="-use-pch"
49639 fi
49640 else
49641 { echo "$as_me:$LINENO: result: no" >&5
49642 echo "${ECHO_T}no" >&6; }
49643 fi
49644
49645 fi
49646
49647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49648 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49649 USE_PCH=1
49650
49651 D='$'
49652 cat <<EOF >bk-make-pch
49653 #!/bin/sh
49654
49655 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49656 # script. It is used to generated precompiled headers.
49657 #
49658 # Permission is given to use this file in any way.
49659
49660 outfile="${D}{1}"
49661 header="${D}{2}"
49662 shift
49663 shift
49664
49665 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49666
49667 compiler=""
49668 headerfile=""
49669
49670 while test ${D}{#} -gt 0; do
49671 add_to_cmdline=1
49672 case "${D}{1}" in
49673 -I* )
49674 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49675 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49676 headerfile="${D}{incdir}/${D}{header}"
49677 fi
49678 ;;
49679 -use-pch|-use_pch|-pch-use )
49680 shift
49681 add_to_cmdline=0
49682 ;;
49683 esac
49684 if test ${D}add_to_cmdline = 1 ; then
49685 compiler="${D}{compiler} ${D}{1}"
49686 fi
49687 shift
49688 done
49689
49690 if test "x${D}{headerfile}" = "x" ; then
49691 echo "error: can't find header ${D}{header} in include paths" >&2
49692 else
49693 if test -f ${D}{outfile} ; then
49694 rm -f ${D}{outfile}
49695 else
49696 mkdir -p \`dirname ${D}{outfile}\`
49697 fi
49698 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49699 mkdir -p ${D}{builddir}/.deps
49700 if test "x${GCC_PCH}" = "x1" ; then
49701 # can do this because gcc is >= 3.4:
49702 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49703 elif test "x${ICC_PCH}" = "x1" ; then
49704 filename=pch_gen-${D}${D}
49705 file=${D}{filename}.c
49706 dfile=${D}{filename}.d
49707 cat > ${D}file <<EOT
49708 #include "${D}header"
49709 EOT
49710 # using -MF icc complains about differing command lines in creation/use
49711 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49712 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49713 rm -f ${D}file ${D}dfile ${D}{filename}.o
49714 fi
49715 exit ${D}{?}
49716 fi
49717 EOF
49718
49719 chmod +x bk-make-pch
49720 BK_MAKE_PCH="`pwd`/bk-make-pch"
49721 fi
49722 fi
49723 fi
49724
49725
49726
49727
49728
49729
49730
49731 COND_BUILD_DEBUG="#"
49732 if test "x$BUILD" = "xdebug" ; then
49733 COND_BUILD_DEBUG=""
49734 fi
49735
49736 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49737 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49738 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49739 fi
49740
49741 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49742 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49743 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49744 fi
49745
49746 COND_BUILD_DEBUG_UNICODE_0="#"
49747 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49748 COND_BUILD_DEBUG_UNICODE_0=""
49749 fi
49750
49751 COND_BUILD_DEBUG_UNICODE_1="#"
49752 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49753 COND_BUILD_DEBUG_UNICODE_1=""
49754 fi
49755
49756 COND_BUILD_RELEASE="#"
49757 if test "x$BUILD" = "xrelease" ; then
49758 COND_BUILD_RELEASE=""
49759 fi
49760
49761 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49762 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49763 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49764 fi
49765
49766 COND_BUILD_RELEASE_UNICODE_0="#"
49767 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49768 COND_BUILD_RELEASE_UNICODE_0=""
49769 fi
49770
49771 COND_BUILD_RELEASE_UNICODE_1="#"
49772 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49773 COND_BUILD_RELEASE_UNICODE_1=""
49774 fi
49775
49776 COND_BUILD_debug="#"
49777 if test "x$BUILD" = "xdebug" ; then
49778 COND_BUILD_debug=""
49779 fi
49780
49781 COND_BUILD_debug_DEBUG_FLAG_default="#"
49782 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49783 COND_BUILD_debug_DEBUG_FLAG_default=""
49784 fi
49785
49786 COND_BUILD_debug_DEBUG_INFO_default="#"
49787 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49788 COND_BUILD_debug_DEBUG_INFO_default=""
49789 fi
49790
49791 COND_BUILD_debug_UNICODE_0="#"
49792 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49793 COND_BUILD_debug_UNICODE_0=""
49794 fi
49795
49796 COND_BUILD_debug_UNICODE_1="#"
49797 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49798 COND_BUILD_debug_UNICODE_1=""
49799 fi
49800
49801 COND_BUILD_release="#"
49802 if test "x$BUILD" = "xrelease" ; then
49803 COND_BUILD_release=""
49804 fi
49805
49806 COND_BUILD_release_DEBUG_INFO_default="#"
49807 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49808 COND_BUILD_release_DEBUG_INFO_default=""
49809 fi
49810
49811 COND_BUILD_release_UNICODE_0="#"
49812 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49813 COND_BUILD_release_UNICODE_0=""
49814 fi
49815
49816 COND_BUILD_release_UNICODE_1="#"
49817 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49818 COND_BUILD_release_UNICODE_1=""
49819 fi
49820
49821 COND_DEBUG_FLAG_1="#"
49822 if test "x$DEBUG_FLAG" = "x1" ; then
49823 COND_DEBUG_FLAG_1=""
49824 fi
49825
49826 COND_DEBUG_INFO_0="#"
49827 if test "x$DEBUG_INFO" = "x0" ; then
49828 COND_DEBUG_INFO_0=""
49829 fi
49830
49831 COND_DEBUG_INFO_1="#"
49832 if test "x$DEBUG_INFO" = "x1" ; then
49833 COND_DEBUG_INFO_1=""
49834 fi
49835
49836 COND_DEPS_TRACKING_0="#"
49837 if test "x$DEPS_TRACKING" = "x0" ; then
49838 COND_DEPS_TRACKING_0=""
49839 fi
49840
49841 COND_DEPS_TRACKING_1="#"
49842 if test "x$DEPS_TRACKING" = "x1" ; then
49843 COND_DEPS_TRACKING_1=""
49844 fi
49845
49846 COND_GCC_PCH_1="#"
49847 if test "x$GCC_PCH" = "x1" ; then
49848 COND_GCC_PCH_1=""
49849 fi
49850
49851 COND_ICC_PCH_1="#"
49852 if test "x$ICC_PCH" = "x1" ; then
49853 COND_ICC_PCH_1=""
49854 fi
49855
49856 COND_MONOLITHIC_0="#"
49857 if test "x$MONOLITHIC" = "x0" ; then
49858 COND_MONOLITHIC_0=""
49859 fi
49860
49861 COND_MONOLITHIC_0_SHARED_0="#"
49862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49863 COND_MONOLITHIC_0_SHARED_0=""
49864 fi
49865
49866 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49867 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49868 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49869 fi
49870
49871 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49872 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49873 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49874 fi
49875
49876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49877 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49878 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49879 fi
49880
49881 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49882 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49883 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49884 fi
49885
49886 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49887 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49888 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49889 fi
49890
49891 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49893 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49894 fi
49895
49896 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49898 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49899 fi
49900
49901 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49903 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49904 fi
49905
49906 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49908 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49909 fi
49910
49911 COND_MONOLITHIC_0_SHARED_1="#"
49912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49913 COND_MONOLITHIC_0_SHARED_1=""
49914 fi
49915
49916 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49918 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49919 fi
49920
49921 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49923 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49924 fi
49925
49926 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49928 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49929 fi
49930
49931 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49932 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49933 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49934 fi
49935
49936 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49937 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49938 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49939 fi
49940
49941 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49942 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49943 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49944 fi
49945
49946 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49947 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49948 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49949 fi
49950
49951 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49952 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49953 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49954 fi
49955
49956 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49957 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49958 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49959 fi
49960
49961 COND_MONOLITHIC_0_USE_AUI_1="#"
49962 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49963 COND_MONOLITHIC_0_USE_AUI_1=""
49964 fi
49965
49966 COND_MONOLITHIC_0_USE_GUI_1="#"
49967 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49968 COND_MONOLITHIC_0_USE_GUI_1=""
49969 fi
49970
49971 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49972 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49973 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49974 fi
49975
49976 COND_MONOLITHIC_0_USE_HTML_1="#"
49977 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49978 COND_MONOLITHIC_0_USE_HTML_1=""
49979 fi
49980
49981 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49982 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49983 COND_MONOLITHIC_0_USE_MEDIA_1=""
49984 fi
49985
49986 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49987 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49988 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49989 fi
49990
49991 COND_MONOLITHIC_0_USE_QA_1="#"
49992 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49993 COND_MONOLITHIC_0_USE_QA_1=""
49994 fi
49995
49996 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49997 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49998 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49999 fi
50000
50001 COND_MONOLITHIC_0_USE_STC_1="#"
50002 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50003 COND_MONOLITHIC_0_USE_STC_1=""
50004 fi
50005
50006 COND_MONOLITHIC_0_USE_XRC_1="#"
50007 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50008 COND_MONOLITHIC_0_USE_XRC_1=""
50009 fi
50010
50011 COND_MONOLITHIC_1="#"
50012 if test "x$MONOLITHIC" = "x1" ; then
50013 COND_MONOLITHIC_1=""
50014 fi
50015
50016 COND_MONOLITHIC_1_SHARED_0="#"
50017 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50018 COND_MONOLITHIC_1_SHARED_0=""
50019 fi
50020
50021 COND_MONOLITHIC_1_SHARED_1="#"
50022 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50023 COND_MONOLITHIC_1_SHARED_1=""
50024 fi
50025
50026 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50027 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50028 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50029 fi
50030
50031 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50032 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50033 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50034 fi
50035
50036 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50037 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50038 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50039 fi
50040
50041 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50042 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50043 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50044 fi
50045
50046 COND_PLATFORM_MACOSX_1="#"
50047 if test "x$PLATFORM_MACOSX" = "x1" ; then
50048 COND_PLATFORM_MACOSX_1=""
50049 fi
50050
50051 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50052 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50053 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50054 fi
50055
50056 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50057 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50058 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50059 fi
50060
50061 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50063 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50064 fi
50065
50066 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50067 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50068 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50069 fi
50070
50071 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50072 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50073 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50074 fi
50075
50076 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50077 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50078 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50079 fi
50080
50081 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50082 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50083 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50084 fi
50085
50086 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50087 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50088 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50089 fi
50090
50091 COND_PLATFORM_MACOS_1="#"
50092 if test "x$PLATFORM_MACOS" = "x1" ; then
50093 COND_PLATFORM_MACOS_1=""
50094 fi
50095
50096 COND_PLATFORM_MAC_0="#"
50097 if test "x$PLATFORM_MAC" = "x0" ; then
50098 COND_PLATFORM_MAC_0=""
50099 fi
50100
50101 COND_PLATFORM_MAC_1="#"
50102 if test "x$PLATFORM_MAC" = "x1" ; then
50103 COND_PLATFORM_MAC_1=""
50104 fi
50105
50106 COND_PLATFORM_MSDOS_0="#"
50107 if test "x$PLATFORM_MSDOS" = "x0" ; then
50108 COND_PLATFORM_MSDOS_0=""
50109 fi
50110
50111 COND_PLATFORM_MSDOS_1="#"
50112 if test "x$PLATFORM_MSDOS" = "x1" ; then
50113 COND_PLATFORM_MSDOS_1=""
50114 fi
50115
50116 COND_PLATFORM_OS2_1="#"
50117 if test "x$PLATFORM_OS2" = "x1" ; then
50118 COND_PLATFORM_OS2_1=""
50119 fi
50120
50121 COND_PLATFORM_UNIX_0="#"
50122 if test "x$PLATFORM_UNIX" = "x0" ; then
50123 COND_PLATFORM_UNIX_0=""
50124 fi
50125
50126 COND_PLATFORM_UNIX_1="#"
50127 if test "x$PLATFORM_UNIX" = "x1" ; then
50128 COND_PLATFORM_UNIX_1=""
50129 fi
50130
50131 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50132 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50133 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50134 fi
50135
50136 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50137 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50138 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50139 fi
50140
50141 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50142 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50143 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50144 fi
50145
50146 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50147 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50148 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50149 fi
50150
50151 COND_PLATFORM_WIN32_0="#"
50152 if test "x$PLATFORM_WIN32" = "x0" ; then
50153 COND_PLATFORM_WIN32_0=""
50154 fi
50155
50156 COND_PLATFORM_WIN32_1="#"
50157 if test "x$PLATFORM_WIN32" = "x1" ; then
50158 COND_PLATFORM_WIN32_1=""
50159 fi
50160
50161 COND_SHARED_0="#"
50162 if test "x$SHARED" = "x0" ; then
50163 COND_SHARED_0=""
50164 fi
50165
50166 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50167 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50168 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50169 fi
50170
50171 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50172 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50173 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50174 fi
50175
50176 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50177 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50178 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50179 fi
50180
50181 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50182 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50183 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50184 fi
50185
50186 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50187 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50188 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50189 fi
50190
50191 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50192 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50193 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50194 fi
50195
50196 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50197 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50198 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50199 fi
50200
50201 COND_SHARED_0_USE_STC_1="#"
50202 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50203 COND_SHARED_0_USE_STC_1=""
50204 fi
50205
50206 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50207 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50208 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50209 fi
50210
50211 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50212 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50213 COND_SHARED_0_wxUSE_REGEX_builtin=""
50214 fi
50215
50216 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50217 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50218 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50219 fi
50220
50221 COND_SHARED_1="#"
50222 if test "x$SHARED" = "x1" ; then
50223 COND_SHARED_1=""
50224 fi
50225
50226 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50227 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50228 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50229 fi
50230
50231 COND_TOOLKIT_="#"
50232 if test "x$TOOLKIT" = "x" ; then
50233 COND_TOOLKIT_=""
50234 fi
50235
50236 COND_TOOLKIT_COCOA="#"
50237 if test "x$TOOLKIT" = "xCOCOA" ; then
50238 COND_TOOLKIT_COCOA=""
50239 fi
50240
50241 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50242 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50243 COND_TOOLKIT_COCOA_USE_GUI_1=""
50244 fi
50245
50246 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50247 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50248 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50249 fi
50250
50251 COND_TOOLKIT_DFB="#"
50252 if test "x$TOOLKIT" = "xDFB" ; then
50253 COND_TOOLKIT_DFB=""
50254 fi
50255
50256 COND_TOOLKIT_DFB_USE_GUI_1="#"
50257 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50258 COND_TOOLKIT_DFB_USE_GUI_1=""
50259 fi
50260
50261 COND_TOOLKIT_GTK="#"
50262 if test "x$TOOLKIT" = "xGTK" ; then
50263 COND_TOOLKIT_GTK=""
50264 fi
50265
50266 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50267 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50268 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50269 fi
50270
50271 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50272 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50273 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50274 fi
50275
50276 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50277 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50278 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50279 fi
50280
50281 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50282 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50283 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50284 fi
50285
50286 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50287 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50288 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50289 fi
50290
50291 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50292 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50293 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50294 fi
50295
50296 COND_TOOLKIT_GTK_USE_GUI_1="#"
50297 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50298 COND_TOOLKIT_GTK_USE_GUI_1=""
50299 fi
50300
50301 COND_TOOLKIT_MAC="#"
50302 if test "x$TOOLKIT" = "xMAC" ; then
50303 COND_TOOLKIT_MAC=""
50304 fi
50305
50306 COND_TOOLKIT_MGL="#"
50307 if test "x$TOOLKIT" = "xMGL" ; then
50308 COND_TOOLKIT_MGL=""
50309 fi
50310
50311 COND_TOOLKIT_MGL_USE_GUI_1="#"
50312 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50313 COND_TOOLKIT_MGL_USE_GUI_1=""
50314 fi
50315
50316 COND_TOOLKIT_MOTIF="#"
50317 if test "x$TOOLKIT" = "xMOTIF" ; then
50318 COND_TOOLKIT_MOTIF=""
50319 fi
50320
50321 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50322 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50323 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50324 fi
50325
50326 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50327 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50328 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50329 fi
50330
50331 COND_TOOLKIT_MSW="#"
50332 if test "x$TOOLKIT" = "xMSW" ; then
50333 COND_TOOLKIT_MSW=""
50334 fi
50335
50336 COND_TOOLKIT_MSW_USE_GUI_1="#"
50337 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50338 COND_TOOLKIT_MSW_USE_GUI_1=""
50339 fi
50340
50341 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50342 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50343 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50344 fi
50345
50346 COND_TOOLKIT_MSW_WXUNIV_0="#"
50347 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50348 COND_TOOLKIT_MSW_WXUNIV_0=""
50349 fi
50350
50351 COND_TOOLKIT_OSX_CARBON="#"
50352 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50353 COND_TOOLKIT_OSX_CARBON=""
50354 fi
50355
50356 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50357 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50358 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50359 fi
50360
50361 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50362 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50363 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50364 fi
50365
50366 COND_TOOLKIT_OSX_COCOA="#"
50367 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50368 COND_TOOLKIT_OSX_COCOA=""
50369 fi
50370
50371 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50372 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50373 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50374 fi
50375
50376 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50377 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50378 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50379 fi
50380
50381 COND_TOOLKIT_OSX_IPHONE="#"
50382 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50383 COND_TOOLKIT_OSX_IPHONE=""
50384 fi
50385
50386 COND_TOOLKIT_PM="#"
50387 if test "x$TOOLKIT" = "xPM" ; then
50388 COND_TOOLKIT_PM=""
50389 fi
50390
50391 COND_TOOLKIT_PM_USE_GUI_1="#"
50392 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50393 COND_TOOLKIT_PM_USE_GUI_1=""
50394 fi
50395
50396 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50397 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50398 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50399 fi
50400
50401 COND_TOOLKIT_WINCE="#"
50402 if test "x$TOOLKIT" = "xWINCE" ; then
50403 COND_TOOLKIT_WINCE=""
50404 fi
50405
50406 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50407 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50408 COND_TOOLKIT_WINCE_USE_GUI_1=""
50409 fi
50410
50411 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50412 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50413 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50414 fi
50415
50416 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50417 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50418 COND_TOOLKIT_WINCE_WXUNIV_0=""
50419 fi
50420
50421 COND_TOOLKIT_X11="#"
50422 if test "x$TOOLKIT" = "xX11" ; then
50423 COND_TOOLKIT_X11=""
50424 fi
50425
50426 COND_TOOLKIT_X11_USE_GUI_1="#"
50427 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50428 COND_TOOLKIT_X11_USE_GUI_1=""
50429 fi
50430
50431 COND_UNICODE_1="#"
50432 if test "x$UNICODE" = "x1" ; then
50433 COND_UNICODE_1=""
50434 fi
50435
50436 COND_USE_EXCEPTIONS_0="#"
50437 if test "x$USE_EXCEPTIONS" = "x0" ; then
50438 COND_USE_EXCEPTIONS_0=""
50439 fi
50440
50441 COND_USE_EXCEPTIONS_1="#"
50442 if test "x$USE_EXCEPTIONS" = "x1" ; then
50443 COND_USE_EXCEPTIONS_1=""
50444 fi
50445
50446 COND_USE_GUI_0="#"
50447 if test "x$USE_GUI" = "x0" ; then
50448 COND_USE_GUI_0=""
50449 fi
50450
50451 COND_USE_GUI_1="#"
50452 if test "x$USE_GUI" = "x1" ; then
50453 COND_USE_GUI_1=""
50454 fi
50455
50456 COND_USE_GUI_1_USE_OPENGL_1="#"
50457 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50458 COND_USE_GUI_1_USE_OPENGL_1=""
50459 fi
50460
50461 COND_USE_GUI_1_WXUNIV_0="#"
50462 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50463 COND_USE_GUI_1_WXUNIV_0=""
50464 fi
50465
50466 COND_USE_GUI_1_WXUNIV_1="#"
50467 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50468 COND_USE_GUI_1_WXUNIV_1=""
50469 fi
50470
50471 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50472 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50473 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50474 fi
50475
50476 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50477 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50478 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50479 fi
50480
50481 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50482 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50483 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50484 fi
50485
50486 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50487 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50488 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50489 fi
50490
50491 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50492 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50493 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50494 fi
50495
50496 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50497 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50498 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50499 fi
50500
50501 COND_USE_OPENGL_1="#"
50502 if test "x$USE_OPENGL" = "x1" ; then
50503 COND_USE_OPENGL_1=""
50504 fi
50505
50506 COND_USE_PCH_1="#"
50507 if test "x$USE_PCH" = "x1" ; then
50508 COND_USE_PCH_1=""
50509 fi
50510
50511 COND_USE_PLUGINS_0="#"
50512 if test "x$USE_PLUGINS" = "x0" ; then
50513 COND_USE_PLUGINS_0=""
50514 fi
50515
50516 COND_USE_RTTI_0="#"
50517 if test "x$USE_RTTI" = "x0" ; then
50518 COND_USE_RTTI_0=""
50519 fi
50520
50521 COND_USE_RTTI_1="#"
50522 if test "x$USE_RTTI" = "x1" ; then
50523 COND_USE_RTTI_1=""
50524 fi
50525
50526 COND_USE_SOSYMLINKS_1="#"
50527 if test "x$USE_SOSYMLINKS" = "x1" ; then
50528 COND_USE_SOSYMLINKS_1=""
50529 fi
50530
50531 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50532 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50533 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50534 fi
50535
50536 COND_USE_SOVERLINUX_1="#"
50537 if test "x$USE_SOVERLINUX" = "x1" ; then
50538 COND_USE_SOVERLINUX_1=""
50539 fi
50540
50541 COND_USE_SOVERSION_0="#"
50542 if test "x$USE_SOVERSION" = "x0" ; then
50543 COND_USE_SOVERSION_0=""
50544 fi
50545
50546 COND_USE_SOVERSOLARIS_1="#"
50547 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50548 COND_USE_SOVERSOLARIS_1=""
50549 fi
50550
50551 COND_USE_STC_1="#"
50552 if test "x$USE_STC" = "x1" ; then
50553 COND_USE_STC_1=""
50554 fi
50555
50556 COND_USE_THREADS_0="#"
50557 if test "x$USE_THREADS" = "x0" ; then
50558 COND_USE_THREADS_0=""
50559 fi
50560
50561 COND_USE_THREADS_1="#"
50562 if test "x$USE_THREADS" = "x1" ; then
50563 COND_USE_THREADS_1=""
50564 fi
50565
50566 COND_USE_XRC_1="#"
50567 if test "x$USE_XRC" = "x1" ; then
50568 COND_USE_XRC_1=""
50569 fi
50570
50571 COND_WINDOWS_IMPLIB_1="#"
50572 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50573 COND_WINDOWS_IMPLIB_1=""
50574 fi
50575
50576 COND_WITH_PLUGIN_SDL_1="#"
50577 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50578 COND_WITH_PLUGIN_SDL_1=""
50579 fi
50580
50581 COND_WXUNIV_0="#"
50582 if test "x$WXUNIV" = "x0" ; then
50583 COND_WXUNIV_0=""
50584 fi
50585
50586 COND_WXUNIV_1="#"
50587 if test "x$WXUNIV" = "x1" ; then
50588 COND_WXUNIV_1=""
50589 fi
50590
50591 COND_WXUSE_EXPAT_BUILTIN="#"
50592 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50593 COND_WXUSE_EXPAT_BUILTIN=""
50594 fi
50595
50596 COND_WXUSE_LIBJPEG_BUILTIN="#"
50597 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50598 COND_WXUSE_LIBJPEG_BUILTIN=""
50599 fi
50600
50601 COND_WXUSE_LIBPNG_BUILTIN="#"
50602 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50603 COND_WXUSE_LIBPNG_BUILTIN=""
50604 fi
50605
50606 COND_WXUSE_LIBTIFF_BUILTIN="#"
50607 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50608 COND_WXUSE_LIBTIFF_BUILTIN=""
50609 fi
50610
50611 COND_WXUSE_REGEX_BUILTIN="#"
50612 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50613 COND_WXUSE_REGEX_BUILTIN=""
50614 fi
50615
50616 COND_WXUSE_ZLIB_BUILTIN="#"
50617 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50618 COND_WXUSE_ZLIB_BUILTIN=""
50619 fi
50620
50621 COND_wxUSE_EXPAT_builtin="#"
50622 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50623 COND_wxUSE_EXPAT_builtin=""
50624 fi
50625
50626 COND_wxUSE_LIBJPEG_builtin="#"
50627 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50628 COND_wxUSE_LIBJPEG_builtin=""
50629 fi
50630
50631 COND_wxUSE_LIBPNG_builtin="#"
50632 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50633 COND_wxUSE_LIBPNG_builtin=""
50634 fi
50635
50636 COND_wxUSE_LIBTIFF_builtin="#"
50637 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50638 COND_wxUSE_LIBTIFF_builtin=""
50639 fi
50640
50641 COND_wxUSE_REGEX_builtin="#"
50642 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50643 COND_wxUSE_REGEX_builtin=""
50644 fi
50645
50646 COND_wxUSE_ZLIB_builtin="#"
50647 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50648 COND_wxUSE_ZLIB_builtin=""
50649 fi
50650
50651
50652
50653 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50654 { { 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
50655 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;}
50656 { (exit 1); exit 1; }; }
50657 fi
50658
50659 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50660 { { 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
50661 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;}
50662 { (exit 1); exit 1; }; }
50663 fi
50664
50665
50666 case ${INSTALL} in
50667 /* ) # Absolute
50668 ;;
50669 ?:* ) # Drive letter, considered as absolute.
50670 ;;
50671 *)
50672 INSTALL=`pwd`/${INSTALL} ;;
50673 esac
50674
50675 if test "$wxUSE_GUI" = "yes"; then
50676
50677 if test "$wxUSE_MSW" = 1 ; then
50678 if test "x$WINDRES" = "x"; then
50679 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50680 echo "$as_me: error: Required windres program not found" >&2;}
50681 { (exit 1); exit 1; }; }
50682 fi
50683
50684 RESCOMP="$WINDRES"
50685 fi
50686
50687 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50688 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50689 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50690
50691 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50692
50693 # Extract the first word of "DeRez", so it can be a program name with args.
50694 set dummy DeRez; ac_word=$2
50695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50697 if test "${ac_cv_prog_DEREZ+set}" = set; then
50698 echo $ECHO_N "(cached) $ECHO_C" >&6
50699 else
50700 if test -n "$DEREZ"; then
50701 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50702 else
50703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50704 for as_dir in $PATH
50705 do
50706 IFS=$as_save_IFS
50707 test -z "$as_dir" && as_dir=.
50708 for ac_exec_ext in '' $ac_executable_extensions; do
50709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50710 ac_cv_prog_DEREZ="DeRez"
50711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50712 break 2
50713 fi
50714 done
50715 done
50716 IFS=$as_save_IFS
50717
50718 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50719 fi
50720 fi
50721 DEREZ=$ac_cv_prog_DEREZ
50722 if test -n "$DEREZ"; then
50723 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50724 echo "${ECHO_T}$DEREZ" >&6; }
50725 else
50726 { echo "$as_me:$LINENO: result: no" >&5
50727 echo "${ECHO_T}no" >&6; }
50728 fi
50729
50730
50731
50732 MACSETFILE="\$(SETFILE)"
50733
50734 if test "$wxUSE_OSX_CARBON" = 1; then
50735 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50736 RESCOMP="$REZ"
50737 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50738 else
50739 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50740 RESCOMP="cat /dev/null \| $REZ"
50741 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50742 fi
50743
50744 else
50745 MACSETFILE="@true"
50746
50747 if test "$wxUSE_PM" = 1; then
50748 RESCOMP="emxbind"
50749 WXCONFIG_RESFLAGS="-ep"
50750
50751 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50752 else
50753 POSTLINK_COMMAND="@true"
50754 fi
50755 fi
50756
50757 fi
50758
50759
50760 if test $GCC_PCH = 1
50761 then
50762 if test "$wx_cv_gcc_pch_bug" = yes; then
50763 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50764 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50765 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50766 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50767 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50768 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50769 fi
50770
50771 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50772 # the headers that benefit from precompilation are mostly C++ headers.
50773 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50774 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50775 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50776 fi
50777
50778
50779 if test "$wxUSE_MAC" = 1 ; then
50780 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50781 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50782 mv temp bk-deps
50783 chmod +x bk-deps
50784 fi
50785 fi
50786
50787 if test "$wxUSE_SHARED" = "yes"; then
50788 case "${host}" in
50789 *-pc-os2_emx | *-pc-os2-emx )
50790 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50791 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50792 cp -p ${srcdir}/src/os2/dllnames.sh .
50793 cp -p ${srcdir}/src/os2/dllar.sh .
50794 ;;
50795 esac
50796 fi
50797 if test "$wxUSE_OMF" = "yes"; then
50798 case "${host}" in
50799 *-pc-os2_emx | *-pc-os2-emx )
50800 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50801 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50802 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50803 ;;
50804 esac
50805 fi
50806
50807 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50808
50809
50810 case "${host}" in
50811 *-*-solaris2* )
50812 if test "$GCC" = yes; then
50813 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50814 LIBS=`echo $LIBS | sed 's/-mt//'`
50815 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50816 fi
50817 ;;
50818
50819 *-*-linux* )
50820 if test "x$SUNCXX" = xyes; then
50821 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50822 LIBS=`echo $LIBS | sed 's/-pthread//'`
50823 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50824 fi
50825 ;;
50826 esac
50827
50828 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50829 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50830 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50831 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50832
50833 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50834
50835
50836
50837
50838
50839
50840
50841
50842
50843
50844
50845
50846
50847
50848
50849
50850
50851
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50895 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50896 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50897 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50898 echo $ECHO_N "(cached) $ECHO_C" >&6
50899 else
50900 cat >conftest.make <<\_ACEOF
50901 SHELL = /bin/sh
50902 all:
50903 @echo '@@@%%%=$(MAKE)=@@@%%%'
50904 _ACEOF
50905 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50906 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50907 *@@@%%%=?*=@@@%%%*)
50908 eval ac_cv_prog_make_${ac_make}_set=yes;;
50909 *)
50910 eval ac_cv_prog_make_${ac_make}_set=no;;
50911 esac
50912 rm -f conftest.make
50913 fi
50914 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50915 { echo "$as_me:$LINENO: result: yes" >&5
50916 echo "${ECHO_T}yes" >&6; }
50917 SET_MAKE=
50918 else
50919 { echo "$as_me:$LINENO: result: no" >&5
50920 echo "${ECHO_T}no" >&6; }
50921 SET_MAKE="MAKE=${MAKE-make}"
50922 fi
50923
50924
50925
50926 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50927
50928
50929 if test "$USE_WIN32" = 1; then
50930 ac_config_commands="$ac_config_commands
50931 rcdefs.h
50932 "
50933
50934 fi
50935
50936 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50937
50938
50939 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50940
50941
50942 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50943
50944
50945 if test "$wx_cv_version_script" = "yes"; then
50946 ac_config_files="$ac_config_files version-script"
50947
50948 fi
50949 ac_config_files="$ac_config_files Makefile"
50950
50951
50952 ac_config_commands="$ac_config_commands wx-config"
50953
50954
50955
50956 if test "$wxWITH_SUBDIRS" != "no"; then
50957 if test "$wxUSE_GUI" = "yes"; then
50958 SUBDIRS="samples demos utils"
50959 else
50960 SUBDIRS="samples utils"
50961 fi
50962
50963
50964
50965 # Check whether --with-cppunit-prefix was given.
50966 if test "${with_cppunit_prefix+set}" = set; then
50967 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50968 else
50969 cppunit_config_prefix=""
50970 fi
50971
50972
50973 # Check whether --with-cppunit-exec-prefix was given.
50974 if test "${with_cppunit_exec_prefix+set}" = set; then
50975 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50976 else
50977 cppunit_config_exec_prefix=""
50978 fi
50979
50980
50981 if test x$cppunit_config_exec_prefix != x ; then
50982 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50983 if test x${CPPUNIT_CONFIG+set} != xset ; then
50984 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50985 fi
50986 fi
50987 if test x$cppunit_config_prefix != x ; then
50988 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50989 if test x${CPPUNIT_CONFIG+set} != xset ; then
50990 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50991 fi
50992 fi
50993
50994 # Extract the first word of "cppunit-config", so it can be a program name with args.
50995 set dummy cppunit-config; ac_word=$2
50996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50998 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50999 echo $ECHO_N "(cached) $ECHO_C" >&6
51000 else
51001 case $CPPUNIT_CONFIG in
51002 [\\/]* | ?:[\\/]*)
51003 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51004 ;;
51005 *)
51006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51007 for as_dir in $PATH
51008 do
51009 IFS=$as_save_IFS
51010 test -z "$as_dir" && as_dir=.
51011 for ac_exec_ext in '' $ac_executable_extensions; do
51012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51013 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51015 break 2
51016 fi
51017 done
51018 done
51019 IFS=$as_save_IFS
51020
51021 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51022 ;;
51023 esac
51024 fi
51025 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51026 if test -n "$CPPUNIT_CONFIG"; then
51027 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51028 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51029 else
51030 { echo "$as_me:$LINENO: result: no" >&5
51031 echo "${ECHO_T}no" >&6; }
51032 fi
51033
51034
51035 cppunit_version_min=1.8.0
51036
51037 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51038 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51039 no_cppunit=""
51040 if test "$CPPUNIT_CONFIG" = "no" ; then
51041 { echo "$as_me:$LINENO: result: no" >&5
51042 echo "${ECHO_T}no" >&6; }
51043 no_cppunit=yes
51044 else
51045 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51046 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51047 cppunit_version=`$CPPUNIT_CONFIG --version`
51048
51049 cppunit_major_version=`echo $cppunit_version | \
51050 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51051 cppunit_minor_version=`echo $cppunit_version | \
51052 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51053 cppunit_micro_version=`echo $cppunit_version | \
51054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51055
51056 cppunit_major_min=`echo $cppunit_version_min | \
51057 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51058 cppunit_minor_min=`echo $cppunit_version_min | \
51059 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51060 cppunit_micro_min=`echo $cppunit_version_min | \
51061 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51062
51063 cppunit_version_proper=`expr \
51064 $cppunit_major_version \> $cppunit_major_min \| \
51065 $cppunit_major_version \= $cppunit_major_min \& \
51066 $cppunit_minor_version \> $cppunit_minor_min \| \
51067 $cppunit_major_version \= $cppunit_major_min \& \
51068 $cppunit_minor_version \= $cppunit_minor_min \& \
51069 $cppunit_micro_version \>= $cppunit_micro_min `
51070
51071 if test "$cppunit_version_proper" = "1" ; then
51072 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51073 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51074 else
51075 { echo "$as_me:$LINENO: result: no" >&5
51076 echo "${ECHO_T}no" >&6; }
51077 no_cppunit=yes
51078 fi
51079 fi
51080
51081 if test "x$no_cppunit" = x ; then
51082 SUBDIRS="$SUBDIRS tests"
51083 else
51084 CPPUNIT_CFLAGS=""
51085 CPPUNIT_LIBS=""
51086 :
51087 fi
51088
51089
51090
51091
51092
51093 for subdir in $SUBDIRS; do
51094 if test -d ${srcdir}/${subdir} ; then
51095 if test "$wxUSE_GUI" = "yes"; then
51096 if test ${subdir} = "samples"; then
51097 makefiles="samples/Makefile.in $makefiles"
51098 for sample in $SAMPLES_SUBDIRS; do
51099 if test -d $srcdir/samples/$sample; then
51100 makefiles="samples/$sample/Makefile.in $makefiles"
51101 fi
51102 done
51103 else
51104 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51105 eval "disabled=\$$disabled_var"
51106 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51107 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51108 fi
51109 else
51110 if test ${subdir} = "samples"; then
51111 makefiles="samples/Makefile.in $makefiles"
51112 for sample in `echo $SAMPLES_SUBDIRS`; do
51113 if test -d $srcdir/samples/$sample; then
51114 makefiles="samples/$sample/Makefile.in $makefiles"
51115 fi
51116 done
51117 elif test ${subdir} = "utils"; then
51118 makefiles=""
51119 for util in ifacecheck ; do
51120 if test -d $srcdir/utils/$util ; then
51121 makefiles="utils/$util/src/Makefile.in \
51122 $makefiles"
51123 fi
51124 done
51125 else
51126 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51127 fi
51128 fi
51129
51130 for mkin in $makefiles ; do
51131 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51132 ac_config_files="$ac_config_files $mk"
51133
51134 done
51135 fi
51136 done
51137 fi
51138 cat >confcache <<\_ACEOF
51139 # This file is a shell script that caches the results of configure
51140 # tests run on this system so they can be shared between configure
51141 # scripts and configure runs, see configure's option --config-cache.
51142 # It is not useful on other systems. If it contains results you don't
51143 # want to keep, you may remove or edit it.
51144 #
51145 # config.status only pays attention to the cache file if you give it
51146 # the --recheck option to rerun configure.
51147 #
51148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51150 # following values.
51151
51152 _ACEOF
51153
51154 # The following way of writing the cache mishandles newlines in values,
51155 # but we know of no workaround that is simple, portable, and efficient.
51156 # So, we kill variables containing newlines.
51157 # Ultrix sh set writes to stderr and can't be redirected directly,
51158 # and sets the high bit in the cache file unless we assign to the vars.
51159 (
51160 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51161 eval ac_val=\$$ac_var
51162 case $ac_val in #(
51163 *${as_nl}*)
51164 case $ac_var in #(
51165 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51166 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51167 esac
51168 case $ac_var in #(
51169 _ | IFS | as_nl) ;; #(
51170 *) $as_unset $ac_var ;;
51171 esac ;;
51172 esac
51173 done
51174
51175 (set) 2>&1 |
51176 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51177 *${as_nl}ac_space=\ *)
51178 # `set' does not quote correctly, so add quotes (double-quote
51179 # substitution turns \\\\ into \\, and sed turns \\ into \).
51180 sed -n \
51181 "s/'/'\\\\''/g;
51182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51183 ;; #(
51184 *)
51185 # `set' quotes correctly as required by POSIX, so do not add quotes.
51186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51187 ;;
51188 esac |
51189 sort
51190 ) |
51191 sed '
51192 /^ac_cv_env_/b end
51193 t clear
51194 :clear
51195 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51196 t end
51197 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51198 :end' >>confcache
51199 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51200 if test -w "$cache_file"; then
51201 test "x$cache_file" != "x/dev/null" &&
51202 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51203 echo "$as_me: updating cache $cache_file" >&6;}
51204 cat confcache >$cache_file
51205 else
51206 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51207 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51208 fi
51209 fi
51210 rm -f confcache
51211
51212 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51213 # Let make expand exec_prefix.
51214 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51215
51216 DEFS=-DHAVE_CONFIG_H
51217
51218 ac_libobjs=
51219 ac_ltlibobjs=
51220 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51221 # 1. Remove the extension, and $U if already installed.
51222 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51223 ac_i=`echo "$ac_i" | sed "$ac_script"`
51224 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51225 # will be set to the directory where LIBOBJS objects are built.
51226 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51227 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51228 done
51229 LIBOBJS=$ac_libobjs
51230
51231 LTLIBOBJS=$ac_ltlibobjs
51232
51233
51234
51235 : ${CONFIG_STATUS=./config.status}
51236 ac_clean_files_save=$ac_clean_files
51237 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51238 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51239 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51240 cat >$CONFIG_STATUS <<_ACEOF
51241 #! $SHELL
51242 # Generated by $as_me.
51243 # Run this file to recreate the current configuration.
51244 # Compiler output produced by configure, useful for debugging
51245 # configure, is in config.log if it exists.
51246
51247 debug=false
51248 ac_cs_recheck=false
51249 ac_cs_silent=false
51250 SHELL=\${CONFIG_SHELL-$SHELL}
51251 _ACEOF
51252
51253 cat >>$CONFIG_STATUS <<\_ACEOF
51254 ## --------------------- ##
51255 ## M4sh Initialization. ##
51256 ## --------------------- ##
51257
51258 # Be more Bourne compatible
51259 DUALCASE=1; export DUALCASE # for MKS sh
51260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51261 emulate sh
51262 NULLCMD=:
51263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51264 # is contrary to our usage. Disable this feature.
51265 alias -g '${1+"$@"}'='"$@"'
51266 setopt NO_GLOB_SUBST
51267 else
51268 case `(set -o) 2>/dev/null` in
51269 *posix*) set -o posix ;;
51270 esac
51271
51272 fi
51273
51274
51275
51276
51277 # PATH needs CR
51278 # Avoid depending upon Character Ranges.
51279 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51280 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51281 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51282 as_cr_digits='0123456789'
51283 as_cr_alnum=$as_cr_Letters$as_cr_digits
51284
51285 # The user is always right.
51286 if test "${PATH_SEPARATOR+set}" != set; then
51287 echo "#! /bin/sh" >conf$$.sh
51288 echo "exit 0" >>conf$$.sh
51289 chmod +x conf$$.sh
51290 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51291 PATH_SEPARATOR=';'
51292 else
51293 PATH_SEPARATOR=:
51294 fi
51295 rm -f conf$$.sh
51296 fi
51297
51298 # Support unset when possible.
51299 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51300 as_unset=unset
51301 else
51302 as_unset=false
51303 fi
51304
51305
51306 # IFS
51307 # We need space, tab and new line, in precisely that order. Quoting is
51308 # there to prevent editors from complaining about space-tab.
51309 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51310 # splitting by setting IFS to empty value.)
51311 as_nl='
51312 '
51313 IFS=" "" $as_nl"
51314
51315 # Find who we are. Look in the path if we contain no directory separator.
51316 case $0 in
51317 *[\\/]* ) as_myself=$0 ;;
51318 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51319 for as_dir in $PATH
51320 do
51321 IFS=$as_save_IFS
51322 test -z "$as_dir" && as_dir=.
51323 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51324 done
51325 IFS=$as_save_IFS
51326
51327 ;;
51328 esac
51329 # We did not find ourselves, most probably we were run as `sh COMMAND'
51330 # in which case we are not to be found in the path.
51331 if test "x$as_myself" = x; then
51332 as_myself=$0
51333 fi
51334 if test ! -f "$as_myself"; then
51335 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51336 { (exit 1); exit 1; }
51337 fi
51338
51339 # Work around bugs in pre-3.0 UWIN ksh.
51340 for as_var in ENV MAIL MAILPATH
51341 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51342 done
51343 PS1='$ '
51344 PS2='> '
51345 PS4='+ '
51346
51347 # NLS nuisances.
51348 for as_var in \
51349 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51350 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51351 LC_TELEPHONE LC_TIME
51352 do
51353 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51354 eval $as_var=C; export $as_var
51355 else
51356 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51357 fi
51358 done
51359
51360 # Required to use basename.
51361 if expr a : '\(a\)' >/dev/null 2>&1 &&
51362 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51363 as_expr=expr
51364 else
51365 as_expr=false
51366 fi
51367
51368 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51369 as_basename=basename
51370 else
51371 as_basename=false
51372 fi
51373
51374
51375 # Name of the executable.
51376 as_me=`$as_basename -- "$0" ||
51377 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51378 X"$0" : 'X\(//\)$' \| \
51379 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51380 echo X/"$0" |
51381 sed '/^.*\/\([^/][^/]*\)\/*$/{
51382 s//\1/
51383 q
51384 }
51385 /^X\/\(\/\/\)$/{
51386 s//\1/
51387 q
51388 }
51389 /^X\/\(\/\).*/{
51390 s//\1/
51391 q
51392 }
51393 s/.*/./; q'`
51394
51395 # CDPATH.
51396 $as_unset CDPATH
51397
51398
51399
51400 as_lineno_1=$LINENO
51401 as_lineno_2=$LINENO
51402 test "x$as_lineno_1" != "x$as_lineno_2" &&
51403 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51404
51405 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51406 # uniformly replaced by the line number. The first 'sed' inserts a
51407 # line-number line after each line using $LINENO; the second 'sed'
51408 # does the real work. The second script uses 'N' to pair each
51409 # line-number line with the line containing $LINENO, and appends
51410 # trailing '-' during substitution so that $LINENO is not a special
51411 # case at line end.
51412 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51413 # scripts with optimization help from Paolo Bonzini. Blame Lee
51414 # E. McMahon (1931-1989) for sed's syntax. :-)
51415 sed -n '
51416 p
51417 /[$]LINENO/=
51418 ' <$as_myself |
51419 sed '
51420 s/[$]LINENO.*/&-/
51421 t lineno
51422 b
51423 :lineno
51424 N
51425 :loop
51426 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51427 t loop
51428 s/-\n.*//
51429 ' >$as_me.lineno &&
51430 chmod +x "$as_me.lineno" ||
51431 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51432 { (exit 1); exit 1; }; }
51433
51434 # Don't try to exec as it changes $[0], causing all sort of problems
51435 # (the dirname of $[0] is not the place where we might find the
51436 # original and so on. Autoconf is especially sensitive to this).
51437 . "./$as_me.lineno"
51438 # Exit status is that of the last command.
51439 exit
51440 }
51441
51442
51443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51444 as_dirname=dirname
51445 else
51446 as_dirname=false
51447 fi
51448
51449 ECHO_C= ECHO_N= ECHO_T=
51450 case `echo -n x` in
51451 -n*)
51452 case `echo 'x\c'` in
51453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51454 *) ECHO_C='\c';;
51455 esac;;
51456 *)
51457 ECHO_N='-n';;
51458 esac
51459
51460 if expr a : '\(a\)' >/dev/null 2>&1 &&
51461 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51462 as_expr=expr
51463 else
51464 as_expr=false
51465 fi
51466
51467 rm -f conf$$ conf$$.exe conf$$.file
51468 if test -d conf$$.dir; then
51469 rm -f conf$$.dir/conf$$.file
51470 else
51471 rm -f conf$$.dir
51472 mkdir conf$$.dir
51473 fi
51474 echo >conf$$.file
51475 if ln -s conf$$.file conf$$ 2>/dev/null; then
51476 as_ln_s='ln -s'
51477 # ... but there are two gotchas:
51478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51480 # In both cases, we have to default to `cp -p'.
51481 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51482 as_ln_s='cp -p'
51483 elif ln conf$$.file conf$$ 2>/dev/null; then
51484 as_ln_s=ln
51485 else
51486 as_ln_s='cp -p'
51487 fi
51488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51489 rmdir conf$$.dir 2>/dev/null
51490
51491 if mkdir -p . 2>/dev/null; then
51492 as_mkdir_p=:
51493 else
51494 test -d ./-p && rmdir ./-p
51495 as_mkdir_p=false
51496 fi
51497
51498 if test -x / >/dev/null 2>&1; then
51499 as_test_x='test -x'
51500 else
51501 if ls -dL / >/dev/null 2>&1; then
51502 as_ls_L_option=L
51503 else
51504 as_ls_L_option=
51505 fi
51506 as_test_x='
51507 eval sh -c '\''
51508 if test -d "$1"; then
51509 test -d "$1/.";
51510 else
51511 case $1 in
51512 -*)set "./$1";;
51513 esac;
51514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51515 ???[sx]*):;;*)false;;esac;fi
51516 '\'' sh
51517 '
51518 fi
51519 as_executable_p=$as_test_x
51520
51521 # Sed expression to map a string onto a valid CPP name.
51522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51523
51524 # Sed expression to map a string onto a valid variable name.
51525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51526
51527
51528 exec 6>&1
51529
51530 # Save the log message, to keep $[0] and so on meaningful, and to
51531 # report actual input values of CONFIG_FILES etc. instead of their
51532 # values after options handling.
51533 ac_log="
51534 This file was extended by wxWidgets $as_me 2.9.0, which was
51535 generated by GNU Autoconf 2.61. Invocation command line was
51536
51537 CONFIG_FILES = $CONFIG_FILES
51538 CONFIG_HEADERS = $CONFIG_HEADERS
51539 CONFIG_LINKS = $CONFIG_LINKS
51540 CONFIG_COMMANDS = $CONFIG_COMMANDS
51541 $ $0 $@
51542
51543 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51544 "
51545
51546 _ACEOF
51547
51548 cat >>$CONFIG_STATUS <<_ACEOF
51549 # Files that config.status was made for.
51550 config_files="$ac_config_files"
51551 config_headers="$ac_config_headers"
51552 config_commands="$ac_config_commands"
51553
51554 _ACEOF
51555
51556 cat >>$CONFIG_STATUS <<\_ACEOF
51557 ac_cs_usage="\
51558 \`$as_me' instantiates files from templates according to the
51559 current configuration.
51560
51561 Usage: $0 [OPTIONS] [FILE]...
51562
51563 -h, --help print this help, then exit
51564 -V, --version print version number and configuration settings, then exit
51565 -q, --quiet do not print progress messages
51566 -d, --debug don't remove temporary files
51567 --recheck update $as_me by reconfiguring in the same conditions
51568 --file=FILE[:TEMPLATE]
51569 instantiate the configuration file FILE
51570 --header=FILE[:TEMPLATE]
51571 instantiate the configuration header FILE
51572
51573 Configuration files:
51574 $config_files
51575
51576 Configuration headers:
51577 $config_headers
51578
51579 Configuration commands:
51580 $config_commands
51581
51582 Report bugs to <bug-autoconf@gnu.org>."
51583
51584 _ACEOF
51585 cat >>$CONFIG_STATUS <<_ACEOF
51586 ac_cs_version="\\
51587 wxWidgets config.status 2.9.0
51588 configured by $0, generated by GNU Autoconf 2.61,
51589 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51590
51591 Copyright (C) 2006 Free Software Foundation, Inc.
51592 This config.status script is free software; the Free Software Foundation
51593 gives unlimited permission to copy, distribute and modify it."
51594
51595 ac_pwd='$ac_pwd'
51596 srcdir='$srcdir'
51597 INSTALL='$INSTALL'
51598 _ACEOF
51599
51600 cat >>$CONFIG_STATUS <<\_ACEOF
51601 # If no file are specified by the user, then we need to provide default
51602 # value. By we need to know if files were specified by the user.
51603 ac_need_defaults=:
51604 while test $# != 0
51605 do
51606 case $1 in
51607 --*=*)
51608 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51609 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51610 ac_shift=:
51611 ;;
51612 *)
51613 ac_option=$1
51614 ac_optarg=$2
51615 ac_shift=shift
51616 ;;
51617 esac
51618
51619 case $ac_option in
51620 # Handling of the options.
51621 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51622 ac_cs_recheck=: ;;
51623 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51624 echo "$ac_cs_version"; exit ;;
51625 --debug | --debu | --deb | --de | --d | -d )
51626 debug=: ;;
51627 --file | --fil | --fi | --f )
51628 $ac_shift
51629 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51630 ac_need_defaults=false;;
51631 --header | --heade | --head | --hea )
51632 $ac_shift
51633 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51634 ac_need_defaults=false;;
51635 --he | --h)
51636 # Conflict between --help and --header
51637 { echo "$as_me: error: ambiguous option: $1
51638 Try \`$0 --help' for more information." >&2
51639 { (exit 1); exit 1; }; };;
51640 --help | --hel | -h )
51641 echo "$ac_cs_usage"; exit ;;
51642 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51643 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51644 ac_cs_silent=: ;;
51645
51646 # This is an error.
51647 -*) { echo "$as_me: error: unrecognized option: $1
51648 Try \`$0 --help' for more information." >&2
51649 { (exit 1); exit 1; }; } ;;
51650
51651 *) ac_config_targets="$ac_config_targets $1"
51652 ac_need_defaults=false ;;
51653
51654 esac
51655 shift
51656 done
51657
51658 ac_configure_extra_args=
51659
51660 if $ac_cs_silent; then
51661 exec 6>/dev/null
51662 ac_configure_extra_args="$ac_configure_extra_args --silent"
51663 fi
51664
51665 _ACEOF
51666 cat >>$CONFIG_STATUS <<_ACEOF
51667 if \$ac_cs_recheck; then
51668 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51669 CONFIG_SHELL=$SHELL
51670 export CONFIG_SHELL
51671 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51672 fi
51673
51674 _ACEOF
51675 cat >>$CONFIG_STATUS <<\_ACEOF
51676 exec 5>>config.log
51677 {
51678 echo
51679 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51680 ## Running $as_me. ##
51681 _ASBOX
51682 echo "$ac_log"
51683 } >&5
51684
51685 _ACEOF
51686 cat >>$CONFIG_STATUS <<_ACEOF
51687 #
51688 # INIT-COMMANDS
51689 #
51690
51691 CPP="$CPP"
51692 infile="$srcdir/include/wx/msw/genrcdefs.h"
51693 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51694
51695
51696 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51697 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51698 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51699 LN_S="${LN_S}"
51700
51701
51702 _ACEOF
51703
51704 cat >>$CONFIG_STATUS <<\_ACEOF
51705
51706 # Handling of arguments.
51707 for ac_config_target in $ac_config_targets
51708 do
51709 case $ac_config_target in
51710 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51711 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51712 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51713 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51714 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51715 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51716 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51717 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51718 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51719
51720 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51721 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51722 { (exit 1); exit 1; }; };;
51723 esac
51724 done
51725
51726
51727 # If the user did not use the arguments to specify the items to instantiate,
51728 # then the envvar interface is used. Set only those that are not.
51729 # We use the long form for the default assignment because of an extremely
51730 # bizarre bug on SunOS 4.1.3.
51731 if $ac_need_defaults; then
51732 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51733 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51734 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51735 fi
51736
51737 # Have a temporary directory for convenience. Make it in the build tree
51738 # simply because there is no reason against having it here, and in addition,
51739 # creating and moving files from /tmp can sometimes cause problems.
51740 # Hook for its removal unless debugging.
51741 # Note that there is a small window in which the directory will not be cleaned:
51742 # after its creation but before its name has been assigned to `$tmp'.
51743 $debug ||
51744 {
51745 tmp=
51746 trap 'exit_status=$?
51747 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51748 ' 0
51749 trap '{ (exit 1); exit 1; }' 1 2 13 15
51750 }
51751 # Create a (secure) tmp directory for tmp files.
51752
51753 {
51754 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51755 test -n "$tmp" && test -d "$tmp"
51756 } ||
51757 {
51758 tmp=./conf$$-$RANDOM
51759 (umask 077 && mkdir "$tmp")
51760 } ||
51761 {
51762 echo "$me: cannot create a temporary directory in ." >&2
51763 { (exit 1); exit 1; }
51764 }
51765
51766 #
51767 # Set up the sed scripts for CONFIG_FILES section.
51768 #
51769
51770 # No need to generate the scripts if there are no CONFIG_FILES.
51771 # This happens for instance when ./config.status config.h
51772 if test -n "$CONFIG_FILES"; then
51773
51774 _ACEOF
51775
51776
51777
51778 ac_delim='%!_!# '
51779 for ac_last_try in false false false false false :; do
51780 cat >conf$$subs.sed <<_ACEOF
51781 SHELL!$SHELL$ac_delim
51782 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51783 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51784 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51785 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51786 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51787 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51788 exec_prefix!$exec_prefix$ac_delim
51789 prefix!$prefix$ac_delim
51790 program_transform_name!$program_transform_name$ac_delim
51791 bindir!$bindir$ac_delim
51792 sbindir!$sbindir$ac_delim
51793 libexecdir!$libexecdir$ac_delim
51794 datarootdir!$datarootdir$ac_delim
51795 datadir!$datadir$ac_delim
51796 sysconfdir!$sysconfdir$ac_delim
51797 sharedstatedir!$sharedstatedir$ac_delim
51798 localstatedir!$localstatedir$ac_delim
51799 includedir!$includedir$ac_delim
51800 oldincludedir!$oldincludedir$ac_delim
51801 docdir!$docdir$ac_delim
51802 infodir!$infodir$ac_delim
51803 htmldir!$htmldir$ac_delim
51804 dvidir!$dvidir$ac_delim
51805 pdfdir!$pdfdir$ac_delim
51806 psdir!$psdir$ac_delim
51807 libdir!$libdir$ac_delim
51808 localedir!$localedir$ac_delim
51809 mandir!$mandir$ac_delim
51810 DEFS!$DEFS$ac_delim
51811 ECHO_C!$ECHO_C$ac_delim
51812 ECHO_N!$ECHO_N$ac_delim
51813 ECHO_T!$ECHO_T$ac_delim
51814 LIBS!$LIBS$ac_delim
51815 build_alias!$build_alias$ac_delim
51816 host_alias!$host_alias$ac_delim
51817 target_alias!$target_alias$ac_delim
51818 build!$build$ac_delim
51819 build_cpu!$build_cpu$ac_delim
51820 build_vendor!$build_vendor$ac_delim
51821 build_os!$build_os$ac_delim
51822 host!$host$ac_delim
51823 host_cpu!$host_cpu$ac_delim
51824 host_vendor!$host_vendor$ac_delim
51825 host_os!$host_os$ac_delim
51826 wx_top_builddir!$wx_top_builddir$ac_delim
51827 CC!$CC$ac_delim
51828 CFLAGS!$CFLAGS$ac_delim
51829 LDFLAGS!$LDFLAGS$ac_delim
51830 CPPFLAGS!$CPPFLAGS$ac_delim
51831 ac_ct_CC!$ac_ct_CC$ac_delim
51832 EXEEXT!$EXEEXT$ac_delim
51833 OBJEXT!$OBJEXT$ac_delim
51834 CPP!$CPP$ac_delim
51835 GREP!$GREP$ac_delim
51836 EGREP!$EGREP$ac_delim
51837 CXX!$CXX$ac_delim
51838 CXXFLAGS!$CXXFLAGS$ac_delim
51839 ac_ct_CXX!$ac_ct_CXX$ac_delim
51840 AR!$AR$ac_delim
51841 subdirs!$subdirs$ac_delim
51842 PKG_CONFIG!$PKG_CONFIG$ac_delim
51843 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51844 GTK_LIBS!$GTK_LIBS$ac_delim
51845 GTK_CONFIG!$GTK_CONFIG$ac_delim
51846 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51847 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51848 XMKMF!$XMKMF$ac_delim
51849 X_CFLAGS!$X_CFLAGS$ac_delim
51850 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51851 X_LIBS!$X_LIBS$ac_delim
51852 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51853 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51854 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51855 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51856 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51857 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51858 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51859 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51860 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51861 LIBICONV!$LIBICONV$ac_delim
51862 GXX_VERSION!$GXX_VERSION$ac_delim
51863 SDL_CONFIG!$SDL_CONFIG$ac_delim
51864 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51865 SDL_LIBS!$SDL_LIBS$ac_delim
51866 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51867 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51868 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51869 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51870 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51871 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51872 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51873 HILDON_LIBS!$HILDON_LIBS$ac_delim
51874 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51875 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51876 GST_CFLAGS!$GST_CFLAGS$ac_delim
51877 GST_LIBS!$GST_LIBS$ac_delim
51878 _ACEOF
51879
51880 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51881 break
51882 elif $ac_last_try; then
51883 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51884 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51885 { (exit 1); exit 1; }; }
51886 else
51887 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51888 fi
51889 done
51890
51891 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51892 if test -n "$ac_eof"; then
51893 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51894 ac_eof=`expr $ac_eof + 1`
51895 fi
51896
51897 cat >>$CONFIG_STATUS <<_ACEOF
51898 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51899 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51900 _ACEOF
51901 sed '
51902 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51903 s/^/s,@/; s/!/@,|#_!!_#|/
51904 :n
51905 t n
51906 s/'"$ac_delim"'$/,g/; t
51907 s/$/\\/; p
51908 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51909 ' >>$CONFIG_STATUS <conf$$subs.sed
51910 rm -f conf$$subs.sed
51911 cat >>$CONFIG_STATUS <<_ACEOF
51912 CEOF$ac_eof
51913 _ACEOF
51914
51915
51916 ac_delim='%!_!# '
51917 for ac_last_try in false false false false false :; do
51918 cat >conf$$subs.sed <<_ACEOF
51919 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51920 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51921 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51922 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51923 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51924 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51925 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51926 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51927 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51928 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51929 VENDOR!$VENDOR$ac_delim
51930 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51931 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51932 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51933 WXUNIV!$WXUNIV$ac_delim
51934 MONOLITHIC!$MONOLITHIC$ac_delim
51935 USE_PLUGINS!$USE_PLUGINS$ac_delim
51936 CXXWARNINGS!$CXXWARNINGS$ac_delim
51937 EXTRALIBS!$EXTRALIBS$ac_delim
51938 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51939 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51940 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51941 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51942 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51943 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51944 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51945 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51946 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51947 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51948 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51949 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51950 UNICODE!$UNICODE$ac_delim
51951 BUILD!$BUILD$ac_delim
51952 DEBUG_INFO!$DEBUG_INFO$ac_delim
51953 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51954 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51955 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51956 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51957 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51958 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51959 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51960 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51961 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51962 RANLIB!$RANLIB$ac_delim
51963 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51964 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51965 INSTALL_DATA!$INSTALL_DATA$ac_delim
51966 LN_S!$LN_S$ac_delim
51967 SET_MAKE!$SET_MAKE$ac_delim
51968 MAKE_SET!$MAKE_SET$ac_delim
51969 AROPTIONS!$AROPTIONS$ac_delim
51970 STRIP!$STRIP$ac_delim
51971 NM!$NM$ac_delim
51972 INSTALL_DIR!$INSTALL_DIR$ac_delim
51973 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51974 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51975 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51976 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51977 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51978 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51979 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51980 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51981 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51982 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51983 SO_SUFFIX!$SO_SUFFIX$ac_delim
51984 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51985 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51986 LIBPREFIX!$LIBPREFIX$ac_delim
51987 LIBEXT!$LIBEXT$ac_delim
51988 DLLPREFIX!$DLLPREFIX$ac_delim
51989 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51990 dlldir!$dlldir$ac_delim
51991 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51992 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51993 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51994 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51995 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51996 PIC_FLAG!$PIC_FLAG$ac_delim
51997 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51998 USE_SOVERSION!$USE_SOVERSION$ac_delim
51999 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52000 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52001 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52002 USE_MACVERSION!$USE_MACVERSION$ac_delim
52003 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52004 SONAME_FLAG!$SONAME_FLAG$ac_delim
52005 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52006 BK_DEPS!$BK_DEPS$ac_delim
52007 WINDRES!$WINDRES$ac_delim
52008 REZ!$REZ$ac_delim
52009 SETFILE!$SETFILE$ac_delim
52010 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52011 GCC_PCH!$GCC_PCH$ac_delim
52012 ICC_PCH!$ICC_PCH$ac_delim
52013 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52014 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52015 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52016 _ACEOF
52017
52018 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52019 break
52020 elif $ac_last_try; then
52021 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52022 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52023 { (exit 1); exit 1; }; }
52024 else
52025 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52026 fi
52027 done
52028
52029 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52030 if test -n "$ac_eof"; then
52031 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52032 ac_eof=`expr $ac_eof + 1`
52033 fi
52034
52035 cat >>$CONFIG_STATUS <<_ACEOF
52036 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52038 _ACEOF
52039 sed '
52040 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52041 s/^/s,@/; s/!/@,|#_!!_#|/
52042 :n
52043 t n
52044 s/'"$ac_delim"'$/,g/; t
52045 s/$/\\/; p
52046 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52047 ' >>$CONFIG_STATUS <conf$$subs.sed
52048 rm -f conf$$subs.sed
52049 cat >>$CONFIG_STATUS <<_ACEOF
52050 CEOF$ac_eof
52051 _ACEOF
52052
52053
52054 ac_delim='%!_!# '
52055 for ac_last_try in false false false false false :; do
52056 cat >conf$$subs.sed <<_ACEOF
52057 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52058 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52059 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52060 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52061 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52062 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52063 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52064 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52065 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52066 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52067 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52068 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52069 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52070 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52071 COND_BUILD_release!$COND_BUILD_release$ac_delim
52072 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52073 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52074 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52075 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52076 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52077 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52078 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52079 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52080 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52081 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52082 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52083 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52084 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52085 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52086 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52087 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52089 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52090 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52091 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52092 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52093 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52094 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52095 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52096 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52097 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52098 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52099 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52100 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52101 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52102 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52103 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52104 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52105 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52106 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52107 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52108 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52109 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52110 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52111 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52112 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52113 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52114 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52115 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52116 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52117 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52118 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52119 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52120 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52121 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52122 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52123 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52124 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52125 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52126 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52127 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52128 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52129 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52130 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52131 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52132 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52133 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52134 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52135 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52136 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52137 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52138 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52139 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52140 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52141 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52142 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52143 COND_SHARED_0!$COND_SHARED_0$ac_delim
52144 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52145 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52146 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52147 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52148 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52149 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52150 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52151 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52152 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52153 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52154 _ACEOF
52155
52156 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52157 break
52158 elif $ac_last_try; then
52159 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52160 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52161 { (exit 1); exit 1; }; }
52162 else
52163 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52164 fi
52165 done
52166
52167 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52168 if test -n "$ac_eof"; then
52169 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52170 ac_eof=`expr $ac_eof + 1`
52171 fi
52172
52173 cat >>$CONFIG_STATUS <<_ACEOF
52174 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52175 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52176 _ACEOF
52177 sed '
52178 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52179 s/^/s,@/; s/!/@,|#_!!_#|/
52180 :n
52181 t n
52182 s/'"$ac_delim"'$/,g/; t
52183 s/$/\\/; p
52184 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52185 ' >>$CONFIG_STATUS <conf$$subs.sed
52186 rm -f conf$$subs.sed
52187 cat >>$CONFIG_STATUS <<_ACEOF
52188 CEOF$ac_eof
52189 _ACEOF
52190
52191
52192 ac_delim='%!_!# '
52193 for ac_last_try in false false false false false :; do
52194 cat >conf$$subs.sed <<_ACEOF
52195 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52196 COND_SHARED_1!$COND_SHARED_1$ac_delim
52197 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52198 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52199 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52200 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52201 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52202 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52203 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52204 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52206 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52207 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52209 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52210 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52211 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52212 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52213 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52214 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52215 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52216 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52217 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52218 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52219 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52220 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52221 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52222 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52223 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52224 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52225 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52226 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52227 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52228 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52229 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52230 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52231 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52232 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52233 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52234 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52235 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52236 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52237 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52238 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52239 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52240 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52241 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52242 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52243 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52244 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52245 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52246 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52247 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52248 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52249 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52250 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52251 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52252 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52253 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52254 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52255 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52256 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52257 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52258 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52259 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52260 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52261 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52262 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52263 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52264 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52265 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52266 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52267 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52268 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52269 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52270 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52271 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52272 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52273 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52274 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52275 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52276 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52277 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52278 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52279 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52280 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52281 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52282 DEREZ!$DEREZ$ac_delim
52283 SHARED!$SHARED$ac_delim
52284 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52285 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52286 USE_GUI!$USE_GUI$ac_delim
52287 AFMINSTALL!$AFMINSTALL$ac_delim
52288 WIN32INSTALL!$WIN32INSTALL$ac_delim
52289 TOOLKIT!$TOOLKIT$ac_delim
52290 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52291 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52292 _ACEOF
52293
52294 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52295 break
52296 elif $ac_last_try; then
52297 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52298 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52299 { (exit 1); exit 1; }; }
52300 else
52301 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52302 fi
52303 done
52304
52305 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52306 if test -n "$ac_eof"; then
52307 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52308 ac_eof=`expr $ac_eof + 1`
52309 fi
52310
52311 cat >>$CONFIG_STATUS <<_ACEOF
52312 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52313 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52314 _ACEOF
52315 sed '
52316 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52317 s/^/s,@/; s/!/@,|#_!!_#|/
52318 :n
52319 t n
52320 s/'"$ac_delim"'$/,g/; t
52321 s/$/\\/; p
52322 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52323 ' >>$CONFIG_STATUS <conf$$subs.sed
52324 rm -f conf$$subs.sed
52325 cat >>$CONFIG_STATUS <<_ACEOF
52326 CEOF$ac_eof
52327 _ACEOF
52328
52329
52330 ac_delim='%!_!# '
52331 for ac_last_try in false false false false false :; do
52332 cat >conf$$subs.sed <<_ACEOF
52333 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52334 cross_compiling!$cross_compiling$ac_delim
52335 WIDGET_SET!$WIDGET_SET$ac_delim
52336 WX_RELEASE!$WX_RELEASE$ac_delim
52337 WX_VERSION!$WX_VERSION$ac_delim
52338 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52339 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52340 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52341 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52342 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52343 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52344 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52345 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52346 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52347 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52348 GUIDIST!$GUIDIST$ac_delim
52349 DISTDIR!$DISTDIR$ac_delim
52350 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52351 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52352 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52353 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52354 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52355 RESCOMP!$RESCOMP$ac_delim
52356 RESFLAGS!$RESFLAGS$ac_delim
52357 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52358 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52359 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52360 LIBWXMACRES!$LIBWXMACRES$ac_delim
52361 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52362 MACSETFILE!$MACSETFILE$ac_delim
52363 GCC!$GCC$ac_delim
52364 DLLTOOL!$DLLTOOL$ac_delim
52365 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52366 LIBOBJS!$LIBOBJS$ac_delim
52367 LTLIBOBJS!$LTLIBOBJS$ac_delim
52368 _ACEOF
52369
52370 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52371 break
52372 elif $ac_last_try; then
52373 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52374 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52375 { (exit 1); exit 1; }; }
52376 else
52377 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52378 fi
52379 done
52380
52381 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52382 if test -n "$ac_eof"; then
52383 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52384 ac_eof=`expr $ac_eof + 1`
52385 fi
52386
52387 cat >>$CONFIG_STATUS <<_ACEOF
52388 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52389 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52390 _ACEOF
52391 sed '
52392 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52393 s/^/s,@/; s/!/@,|#_!!_#|/
52394 :n
52395 t n
52396 s/'"$ac_delim"'$/,g/; t
52397 s/$/\\/; p
52398 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52399 ' >>$CONFIG_STATUS <conf$$subs.sed
52400 rm -f conf$$subs.sed
52401 cat >>$CONFIG_STATUS <<_ACEOF
52402 :end
52403 s/|#_!!_#|//g
52404 CEOF$ac_eof
52405 _ACEOF
52406
52407
52408 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52409 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52410 # trailing colons and then remove the whole line if VPATH becomes empty
52411 # (actually we leave an empty line to preserve line numbers).
52412 if test "x$srcdir" = x.; then
52413 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52414 s/:*\$(srcdir):*/:/
52415 s/:*\${srcdir}:*/:/
52416 s/:*@srcdir@:*/:/
52417 s/^\([^=]*=[ ]*\):*/\1/
52418 s/:*$//
52419 s/^[^=]*=[ ]*$//
52420 }'
52421 fi
52422
52423 cat >>$CONFIG_STATUS <<\_ACEOF
52424 fi # test -n "$CONFIG_FILES"
52425
52426
52427 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52428 do
52429 case $ac_tag in
52430 :[FHLC]) ac_mode=$ac_tag; continue;;
52431 esac
52432 case $ac_mode$ac_tag in
52433 :[FHL]*:*);;
52434 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52435 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52436 { (exit 1); exit 1; }; };;
52437 :[FH]-) ac_tag=-:-;;
52438 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52439 esac
52440 ac_save_IFS=$IFS
52441 IFS=:
52442 set x $ac_tag
52443 IFS=$ac_save_IFS
52444 shift
52445 ac_file=$1
52446 shift
52447
52448 case $ac_mode in
52449 :L) ac_source=$1;;
52450 :[FH])
52451 ac_file_inputs=
52452 for ac_f
52453 do
52454 case $ac_f in
52455 -) ac_f="$tmp/stdin";;
52456 *) # Look for the file first in the build tree, then in the source tree
52457 # (if the path is not absolute). The absolute path cannot be DOS-style,
52458 # because $ac_f cannot contain `:'.
52459 test -f "$ac_f" ||
52460 case $ac_f in
52461 [\\/$]*) false;;
52462 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52463 esac ||
52464 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52465 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52466 { (exit 1); exit 1; }; };;
52467 esac
52468 ac_file_inputs="$ac_file_inputs $ac_f"
52469 done
52470
52471 # Let's still pretend it is `configure' which instantiates (i.e., don't
52472 # use $as_me), people would be surprised to read:
52473 # /* config.h. Generated by config.status. */
52474 configure_input="Generated from "`IFS=:
52475 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52476 if test x"$ac_file" != x-; then
52477 configure_input="$ac_file. $configure_input"
52478 { echo "$as_me:$LINENO: creating $ac_file" >&5
52479 echo "$as_me: creating $ac_file" >&6;}
52480 fi
52481
52482 case $ac_tag in
52483 *:-:* | *:-) cat >"$tmp/stdin";;
52484 esac
52485 ;;
52486 esac
52487
52488 ac_dir=`$as_dirname -- "$ac_file" ||
52489 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52490 X"$ac_file" : 'X\(//\)[^/]' \| \
52491 X"$ac_file" : 'X\(//\)$' \| \
52492 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52493 echo X"$ac_file" |
52494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52495 s//\1/
52496 q
52497 }
52498 /^X\(\/\/\)[^/].*/{
52499 s//\1/
52500 q
52501 }
52502 /^X\(\/\/\)$/{
52503 s//\1/
52504 q
52505 }
52506 /^X\(\/\).*/{
52507 s//\1/
52508 q
52509 }
52510 s/.*/./; q'`
52511 { as_dir="$ac_dir"
52512 case $as_dir in #(
52513 -*) as_dir=./$as_dir;;
52514 esac
52515 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52516 as_dirs=
52517 while :; do
52518 case $as_dir in #(
52519 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52520 *) as_qdir=$as_dir;;
52521 esac
52522 as_dirs="'$as_qdir' $as_dirs"
52523 as_dir=`$as_dirname -- "$as_dir" ||
52524 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52525 X"$as_dir" : 'X\(//\)[^/]' \| \
52526 X"$as_dir" : 'X\(//\)$' \| \
52527 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52528 echo X"$as_dir" |
52529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52530 s//\1/
52531 q
52532 }
52533 /^X\(\/\/\)[^/].*/{
52534 s//\1/
52535 q
52536 }
52537 /^X\(\/\/\)$/{
52538 s//\1/
52539 q
52540 }
52541 /^X\(\/\).*/{
52542 s//\1/
52543 q
52544 }
52545 s/.*/./; q'`
52546 test -d "$as_dir" && break
52547 done
52548 test -z "$as_dirs" || eval "mkdir $as_dirs"
52549 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52550 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52551 { (exit 1); exit 1; }; }; }
52552 ac_builddir=.
52553
52554 case "$ac_dir" in
52555 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52556 *)
52557 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52558 # A ".." for each directory in $ac_dir_suffix.
52559 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52560 case $ac_top_builddir_sub in
52561 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52562 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52563 esac ;;
52564 esac
52565 ac_abs_top_builddir=$ac_pwd
52566 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52567 # for backward compatibility:
52568 ac_top_builddir=$ac_top_build_prefix
52569
52570 case $srcdir in
52571 .) # We are building in place.
52572 ac_srcdir=.
52573 ac_top_srcdir=$ac_top_builddir_sub
52574 ac_abs_top_srcdir=$ac_pwd ;;
52575 [\\/]* | ?:[\\/]* ) # Absolute name.
52576 ac_srcdir=$srcdir$ac_dir_suffix;
52577 ac_top_srcdir=$srcdir
52578 ac_abs_top_srcdir=$srcdir ;;
52579 *) # Relative name.
52580 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52581 ac_top_srcdir=$ac_top_build_prefix$srcdir
52582 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52583 esac
52584 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52585
52586
52587 case $ac_mode in
52588 :F)
52589 #
52590 # CONFIG_FILE
52591 #
52592
52593 case $INSTALL in
52594 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52595 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52596 esac
52597 _ACEOF
52598
52599 cat >>$CONFIG_STATUS <<\_ACEOF
52600 # If the template does not know about datarootdir, expand it.
52601 # FIXME: This hack should be removed a few years after 2.60.
52602 ac_datarootdir_hack=; ac_datarootdir_seen=
52603
52604 case `sed -n '/datarootdir/ {
52605 p
52606 q
52607 }
52608 /@datadir@/p
52609 /@docdir@/p
52610 /@infodir@/p
52611 /@localedir@/p
52612 /@mandir@/p
52613 ' $ac_file_inputs` in
52614 *datarootdir*) ac_datarootdir_seen=yes;;
52615 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52616 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52617 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52618 _ACEOF
52619 cat >>$CONFIG_STATUS <<_ACEOF
52620 ac_datarootdir_hack='
52621 s&@datadir@&$datadir&g
52622 s&@docdir@&$docdir&g
52623 s&@infodir@&$infodir&g
52624 s&@localedir@&$localedir&g
52625 s&@mandir@&$mandir&g
52626 s&\\\${datarootdir}&$datarootdir&g' ;;
52627 esac
52628 _ACEOF
52629
52630 # Neutralize VPATH when `$srcdir' = `.'.
52631 # Shell code in configure.ac might set extrasub.
52632 # FIXME: do we really want to maintain this feature?
52633 cat >>$CONFIG_STATUS <<_ACEOF
52634 sed "$ac_vpsub
52635 $extrasub
52636 _ACEOF
52637 cat >>$CONFIG_STATUS <<\_ACEOF
52638 :t
52639 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52640 s&@configure_input@&$configure_input&;t t
52641 s&@top_builddir@&$ac_top_builddir_sub&;t t
52642 s&@srcdir@&$ac_srcdir&;t t
52643 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52644 s&@top_srcdir@&$ac_top_srcdir&;t t
52645 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52646 s&@builddir@&$ac_builddir&;t t
52647 s&@abs_builddir@&$ac_abs_builddir&;t t
52648 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52649 s&@INSTALL@&$ac_INSTALL&;t t
52650 $ac_datarootdir_hack
52651 " $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
52652
52653 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52654 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52655 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52656 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52657 which seems to be undefined. Please make sure it is defined." >&5
52658 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52659 which seems to be undefined. Please make sure it is defined." >&2;}
52660
52661 rm -f "$tmp/stdin"
52662 case $ac_file in
52663 -) cat "$tmp/out"; rm -f "$tmp/out";;
52664 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52665 esac
52666 ;;
52667 :H)
52668 #
52669 # CONFIG_HEADER
52670 #
52671 _ACEOF
52672
52673 # Transform confdefs.h into a sed script `conftest.defines', that
52674 # substitutes the proper values into config.h.in to produce config.h.
52675 rm -f conftest.defines conftest.tail
52676 # First, append a space to every undef/define line, to ease matching.
52677 echo 's/$/ /' >conftest.defines
52678 # Then, protect against being on the right side of a sed subst, or in
52679 # an unquoted here document, in config.status. If some macros were
52680 # called several times there might be several #defines for the same
52681 # symbol, which is useless. But do not sort them, since the last
52682 # AC_DEFINE must be honored.
52683 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52684 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52685 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52686 # PARAMS is the parameter list in the macro definition--in most cases, it's
52687 # just an empty string.
52688 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52689 ac_dB='\\)[ (].*,\\1define\\2'
52690 ac_dC=' '
52691 ac_dD=' ,'
52692
52693 uniq confdefs.h |
52694 sed -n '
52695 t rset
52696 :rset
52697 s/^[ ]*#[ ]*define[ ][ ]*//
52698 t ok
52699 d
52700 :ok
52701 s/[\\&,]/\\&/g
52702 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52703 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52704 ' >>conftest.defines
52705
52706 # Remove the space that was appended to ease matching.
52707 # Then replace #undef with comments. This is necessary, for
52708 # example, in the case of _POSIX_SOURCE, which is predefined and required
52709 # on some systems where configure will not decide to define it.
52710 # (The regexp can be short, since the line contains either #define or #undef.)
52711 echo 's/ $//
52712 s,^[ #]*u.*,/* & */,' >>conftest.defines
52713
52714 # Break up conftest.defines:
52715 ac_max_sed_lines=50
52716
52717 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52718 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52719 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52720 # et cetera.
52721 ac_in='$ac_file_inputs'
52722 ac_out='"$tmp/out1"'
52723 ac_nxt='"$tmp/out2"'
52724
52725 while :
52726 do
52727 # Write a here document:
52728 cat >>$CONFIG_STATUS <<_ACEOF
52729 # First, check the format of the line:
52730 cat >"\$tmp/defines.sed" <<\\CEOF
52731 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52732 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52733 b
52734 :def
52735 _ACEOF
52736 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52737 echo 'CEOF
52738 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52739 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52740 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52741 grep . conftest.tail >/dev/null || break
52742 rm -f conftest.defines
52743 mv conftest.tail conftest.defines
52744 done
52745 rm -f conftest.defines conftest.tail
52746
52747 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52748 cat >>$CONFIG_STATUS <<\_ACEOF
52749 if test x"$ac_file" != x-; then
52750 echo "/* $configure_input */" >"$tmp/config.h"
52751 cat "$ac_result" >>"$tmp/config.h"
52752 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52753 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52754 echo "$as_me: $ac_file is unchanged" >&6;}
52755 else
52756 rm -f $ac_file
52757 mv "$tmp/config.h" $ac_file
52758 fi
52759 else
52760 echo "/* $configure_input */"
52761 cat "$ac_result"
52762 fi
52763 rm -f "$tmp/out12"
52764 ;;
52765
52766 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52767 echo "$as_me: executing $ac_file commands" >&6;}
52768 ;;
52769 esac
52770
52771
52772 case $ac_file$ac_mode in
52773 "rcdefs.h":C)
52774 mkdir -p $outdir &&
52775 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52776 ;;
52777 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52778 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52779 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52780 "wx-config":C) rm -f wx-config
52781 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52782 ;;
52783
52784 esac
52785 done # for ac_tag
52786
52787
52788 { (exit 0); exit 0; }
52789 _ACEOF
52790 chmod +x $CONFIG_STATUS
52791 ac_clean_files=$ac_clean_files_save
52792
52793
52794 # configure is writing to config.log, and then calls config.status.
52795 # config.status does its own redirection, appending to config.log.
52796 # Unfortunately, on DOS this fails, as config.log is still kept open
52797 # by configure, so config.status won't be able to write to it; its
52798 # output is simply discarded. So we exec the FD to /dev/null,
52799 # effectively closing config.log, so it can be properly (re)opened and
52800 # appended to by config.status. When coming back to configure, we
52801 # need to make the FD available again.
52802 if test "$no_create" != yes; then
52803 ac_cs_success=:
52804 ac_config_status_args=
52805 test "$silent" = yes &&
52806 ac_config_status_args="$ac_config_status_args --quiet"
52807 exec 5>/dev/null
52808 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52809 exec 5>>config.log
52810 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52811 # would make configure fail if this is the last instruction.
52812 $ac_cs_success || { (exit 1); exit 1; }
52813 fi
52814
52815 #
52816 # CONFIG_SUBDIRS section.
52817 #
52818 if test "$no_recursion" != yes; then
52819
52820 # Remove --cache-file and --srcdir arguments so they do not pile up.
52821 ac_sub_configure_args=
52822 ac_prev=
52823 eval "set x $ac_configure_args"
52824 shift
52825 for ac_arg
52826 do
52827 if test -n "$ac_prev"; then
52828 ac_prev=
52829 continue
52830 fi
52831 case $ac_arg in
52832 -cache-file | --cache-file | --cache-fil | --cache-fi \
52833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52834 ac_prev=cache_file ;;
52835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52837 | --c=*)
52838 ;;
52839 --config-cache | -C)
52840 ;;
52841 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52842 ac_prev=srcdir ;;
52843 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52844 ;;
52845 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52846 ac_prev=prefix ;;
52847 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52848 ;;
52849 *)
52850 case $ac_arg in
52851 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52852 esac
52853 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52854 esac
52855 done
52856
52857 # Always prepend --prefix to ensure using the same prefix
52858 # in subdir configurations.
52859 ac_arg="--prefix=$prefix"
52860 case $ac_arg in
52861 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52862 esac
52863 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52864
52865 # Pass --silent
52866 if test "$silent" = yes; then
52867 ac_sub_configure_args="--silent $ac_sub_configure_args"
52868 fi
52869
52870 ac_popdir=`pwd`
52871 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52872
52873 # Do not complain, so a configure script can configure whichever
52874 # parts of a large source tree are present.
52875 test -d "$srcdir/$ac_dir" || continue
52876
52877 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52878 echo "$as_me:$LINENO: $ac_msg" >&5
52879 echo "$ac_msg" >&6
52880 { as_dir="$ac_dir"
52881 case $as_dir in #(
52882 -*) as_dir=./$as_dir;;
52883 esac
52884 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52885 as_dirs=
52886 while :; do
52887 case $as_dir in #(
52888 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52889 *) as_qdir=$as_dir;;
52890 esac
52891 as_dirs="'$as_qdir' $as_dirs"
52892 as_dir=`$as_dirname -- "$as_dir" ||
52893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52894 X"$as_dir" : 'X\(//\)[^/]' \| \
52895 X"$as_dir" : 'X\(//\)$' \| \
52896 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52897 echo X"$as_dir" |
52898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52899 s//\1/
52900 q
52901 }
52902 /^X\(\/\/\)[^/].*/{
52903 s//\1/
52904 q
52905 }
52906 /^X\(\/\/\)$/{
52907 s//\1/
52908 q
52909 }
52910 /^X\(\/\).*/{
52911 s//\1/
52912 q
52913 }
52914 s/.*/./; q'`
52915 test -d "$as_dir" && break
52916 done
52917 test -z "$as_dirs" || eval "mkdir $as_dirs"
52918 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52919 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52920 { (exit 1); exit 1; }; }; }
52921 ac_builddir=.
52922
52923 case "$ac_dir" in
52924 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52925 *)
52926 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52927 # A ".." for each directory in $ac_dir_suffix.
52928 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52929 case $ac_top_builddir_sub in
52930 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52931 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52932 esac ;;
52933 esac
52934 ac_abs_top_builddir=$ac_pwd
52935 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52936 # for backward compatibility:
52937 ac_top_builddir=$ac_top_build_prefix
52938
52939 case $srcdir in
52940 .) # We are building in place.
52941 ac_srcdir=.
52942 ac_top_srcdir=$ac_top_builddir_sub
52943 ac_abs_top_srcdir=$ac_pwd ;;
52944 [\\/]* | ?:[\\/]* ) # Absolute name.
52945 ac_srcdir=$srcdir$ac_dir_suffix;
52946 ac_top_srcdir=$srcdir
52947 ac_abs_top_srcdir=$srcdir ;;
52948 *) # Relative name.
52949 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52950 ac_top_srcdir=$ac_top_build_prefix$srcdir
52951 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52952 esac
52953 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52954
52955
52956 cd "$ac_dir"
52957
52958 # Check for guested configure; otherwise get Cygnus style configure.
52959 if test -f "$ac_srcdir/configure.gnu"; then
52960 ac_sub_configure=$ac_srcdir/configure.gnu
52961 elif test -f "$ac_srcdir/configure"; then
52962 ac_sub_configure=$ac_srcdir/configure
52963 elif test -f "$ac_srcdir/configure.in"; then
52964 # This should be Cygnus configure.
52965 ac_sub_configure=$ac_aux_dir/configure
52966 else
52967 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52968 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52969 ac_sub_configure=
52970 fi
52971
52972 # The recursion is here.
52973 if test -n "$ac_sub_configure"; then
52974 # Make the cache file name correct relative to the subdirectory.
52975 case $cache_file in
52976 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52977 *) # Relative name.
52978 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52979 esac
52980
52981 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52982 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52983 # The eval makes quoting arguments work.
52984 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52985 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52986 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52987 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52988 { (exit 1); exit 1; }; }
52989 fi
52990
52991 cd "$ac_popdir"
52992 done
52993 fi
52994
52995
52996 echo
52997 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52998 echo ""
52999 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53000 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53001
53002 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53003 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53004 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53005 if test "$wxUSE_UNICODE" = "yes"; then
53006 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53007 echo " (using UTF-8)"
53008 else
53009 echo " (using wchar_t)"
53010 fi
53011 else
53012 echo
53013 fi
53014
53015 echo " What level of wxWidgets compatibility should be enabled?"
53016 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53017 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53018
53019 echo " Which libraries should wxWidgets use?"
53020 echo " STL ${wxUSE_STL}"
53021 echo " jpeg ${wxUSE_LIBJPEG-none}"
53022 echo " png ${wxUSE_LIBPNG-none}"
53023 echo " regex ${wxUSE_REGEX}"
53024 echo " tiff ${wxUSE_LIBTIFF-none}"
53025 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53026 echo " xpm ${wxUSE_LIBXPM-none}"
53027 fi
53028 echo " zlib ${wxUSE_ZLIB}"
53029 echo " expat ${wxUSE_EXPAT}"
53030 echo " libmspack ${wxUSE_LIBMSPACK}"
53031 echo " sdl ${wxUSE_LIBSDL}"
53032
53033 echo ""
53034