]> git.saurik.com Git - wxWidgets.git/blob - configure
move Read/Write() to common code, there was almost nothing platform-specific in it
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 57523 2008-12-24 01:28:55Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 GXX_VERSION
705 SDL_CONFIG
706 SDL_CFLAGS
707 SDL_LIBS
708 GTKPRINT_CFLAGS
709 GTKPRINT_LIBS
710 LIBGNOMEPRINTUI_CFLAGS
711 LIBGNOMEPRINTUI_LIBS
712 GNOMEVFS_CFLAGS
713 GNOMEVFS_LIBS
714 HILDON_CFLAGS
715 HILDON_LIBS
716 CAIRO_CFLAGS
717 CAIRO_LIBS
718 GST_CFLAGS
719 GST_LIBS
720 ALL_WX_LIBS
721 BUILT_WX_LIBS
722 STD_BASE_LIBS
723 STD_GUI_LIBS
724 wxUSE_ZLIB
725 wxUSE_REGEX
726 wxUSE_EXPAT
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_MEDIA
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 EXTRALIBS_STC
746 WITH_PLUGIN_SDL
747 EXTRALIBS_GTKPRINT
748 EXTRALIBS_GNOMEPRINT
749 EXTRALIBS_GNOMEVFS
750 EXTRALIBS_HILDON
751 UNICODE
752 BUILD
753 DEBUG_INFO
754 DEBUG_FLAG
755 TOOLKIT_LOWERCASE
756 TOOLKIT_VERSION
757 SAMPLES_RPATH_FLAG
758 SAMPLES_RPATH_POSTLINK
759 HOST_SUFFIX
760 CPPUNIT_CFLAGS
761 CPPUNIT_LIBS
762 RANLIB
763 INSTALL_PROGRAM
764 INSTALL_SCRIPT
765 INSTALL_DATA
766 LN_S
767 SET_MAKE
768 MAKE_SET
769 AROPTIONS
770 STRIP
771 NM
772 INSTALL_DIR
773 LDFLAGS_GUI
774 IF_GNU_MAKE
775 PLATFORM_UNIX
776 PLATFORM_WIN32
777 PLATFORM_MSDOS
778 PLATFORM_MAC
779 PLATFORM_MACOS
780 PLATFORM_MACOSX
781 PLATFORM_OS2
782 PLATFORM_BEOS
783 SO_SUFFIX
784 SO_SUFFIX_MODULE
785 DLLIMP_SUFFIX
786 LIBPREFIX
787 LIBEXT
788 DLLPREFIX
789 DLLPREFIX_MODULE
790 dlldir
791 AIX_CXX_LD
792 SHARED_LD_CC
793 SHARED_LD_CXX
794 SHARED_LD_MODULE_CC
795 SHARED_LD_MODULE_CXX
796 PIC_FLAG
797 WINDOWS_IMPLIB
798 USE_SOVERSION
799 USE_SOVERLINUX
800 USE_SOVERSOLARIS
801 USE_SOVERCYGWIN
802 USE_MACVERSION
803 USE_SOSYMLINKS
804 SONAME_FLAG
805 DEPS_TRACKING
806 BK_DEPS
807 WINDRES
808 REZ
809 SETFILE
810 OBJCXXFLAGS
811 GCC_PCH
812 ICC_PCH
813 ICC_PCH_CREATE_SWITCH
814 ICC_PCH_USE_SWITCH
815 BK_MAKE_PCH
816 COND_BUILD_DEBUG
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_INFO_0
836 COND_DEBUG_INFO_1
837 COND_DEPS_TRACKING_0
838 COND_DEPS_TRACKING_1
839 COND_GCC_PCH_1
840 COND_ICC_PCH_1
841 COND_MONOLITHIC_0
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
872 COND_MONOLITHIC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
889 COND_PLATFORM_MAC_0
890 COND_PLATFORM_MAC_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_OS2_1
894 COND_PLATFORM_UNIX_0
895 COND_PLATFORM_UNIX_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
902 COND_SHARED_0
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
914 COND_SHARED_1
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
916 COND_TOOLKIT_
917 COND_TOOLKIT_COCOA
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_DFB
921 COND_TOOLKIT_DFB_USE_GUI_1
922 COND_TOOLKIT_GTK
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
930 COND_TOOLKIT_MAC
931 COND_TOOLKIT_MGL
932 COND_TOOLKIT_MGL_USE_GUI_1
933 COND_TOOLKIT_MOTIF
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_COCOA
944 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_OSX_IPHONE
947 COND_TOOLKIT_PM
948 COND_TOOLKIT_PM_USE_GUI_1
949 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE
951 COND_TOOLKIT_WINCE_USE_GUI_1
952 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE_WXUNIV_0
954 COND_TOOLKIT_X11
955 COND_TOOLKIT_X11_USE_GUI_1
956 COND_UNICODE_1
957 COND_USE_EXCEPTIONS_0
958 COND_USE_EXCEPTIONS_1
959 COND_USE_GUI_0
960 COND_USE_GUI_1
961 COND_USE_GUI_1_USE_OPENGL_1
962 COND_USE_GUI_1_WXUNIV_0
963 COND_USE_GUI_1_WXUNIV_1
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_GUI_1_wxUSE_LIBJPEG_builtin
968 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
969 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
970 COND_USE_OPENGL_1
971 COND_USE_PCH_1
972 COND_USE_PLUGINS_0
973 COND_USE_RTTI_0
974 COND_USE_RTTI_1
975 COND_USE_SOSYMLINKS_1
976 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
977 COND_USE_SOVERLINUX_1
978 COND_USE_SOVERSION_0
979 COND_USE_SOVERSOLARIS_1
980 COND_USE_STC_1
981 COND_USE_THREADS_0
982 COND_USE_THREADS_1
983 COND_USE_XRC_1
984 COND_WINDOWS_IMPLIB_1
985 COND_WITH_PLUGIN_SDL_1
986 COND_WXUNIV_0
987 COND_WXUNIV_1
988 COND_WXUSE_EXPAT_BUILTIN
989 COND_WXUSE_LIBJPEG_BUILTIN
990 COND_WXUSE_LIBPNG_BUILTIN
991 COND_WXUSE_LIBTIFF_BUILTIN
992 COND_WXUSE_REGEX_BUILTIN
993 COND_WXUSE_ZLIB_BUILTIN
994 COND_wxUSE_EXPAT_builtin
995 COND_wxUSE_LIBJPEG_builtin
996 COND_wxUSE_LIBPNG_builtin
997 COND_wxUSE_LIBTIFF_builtin
998 COND_wxUSE_REGEX_builtin
999 COND_wxUSE_ZLIB_builtin
1000 DEREZ
1001 SHARED
1002 WX_LIBRARY_BASENAME_NOGUI
1003 WX_LIBRARY_BASENAME_GUI
1004 USE_GUI
1005 AFMINSTALL
1006 WIN32INSTALL
1007 TOOLKIT
1008 TOOLKIT_DIR
1009 TOOLCHAIN_NAME
1010 TOOLCHAIN_FULLNAME
1011 cross_compiling
1012 WIDGET_SET
1013 WX_RELEASE
1014 WX_VERSION
1015 WX_SUBVERSION
1016 WX_CHARTYPE
1017 WX_DEBUGTYPE
1018 WXCONFIG_CPPFLAGS
1019 WXCONFIG_CFLAGS
1020 WXCONFIG_CXXFLAGS
1021 WXCONFIG_LIBS
1022 WXCONFIG_RPATH
1023 WXCONFIG_LDFLAGS_GUI
1024 WXCONFIG_RESFLAGS
1025 GUIDIST
1026 DISTDIR
1027 SAMPLES_SUBDIRS
1028 LDFLAGS_GL
1029 OPENGL_LIBS
1030 DMALLOC_LIBS
1031 WX_VERSION_TAG
1032 RESCOMP
1033 RESFLAGS
1034 RESPROGRAMOBJ
1035 WX_RESOURCES_MACOSX_ASCII
1036 WX_RESOURCES_MACOSX_DATA
1037 LIBWXMACRES
1038 POSTLINK_COMMAND
1039 MACSETFILE
1040 GCC
1041 DLLTOOL
1042 CPPUNIT_CONFIG
1043 LIBOBJS
1044 LTLIBOBJS'
1045 ac_subst_files=''
1046 ac_precious_vars='build_alias
1047 host_alias
1048 target_alias
1049 CC
1050 CFLAGS
1051 LDFLAGS
1052 LIBS
1053 CPPFLAGS
1054 CPP
1055 CXX
1056 CXXFLAGS
1057 CCC
1058 PKG_CONFIG
1059 DIRECTFB_CFLAGS
1060 DIRECTFB_LIBS
1061 XMKMF
1062 PANGOX_CFLAGS
1063 PANGOX_LIBS
1064 PANGOFT2_CFLAGS
1065 PANGOFT2_LIBS
1066 PANGOXFT_CFLAGS
1067 PANGOXFT_LIBS
1068 GTKPRINT_CFLAGS
1069 GTKPRINT_LIBS
1070 LIBGNOMEPRINTUI_CFLAGS
1071 LIBGNOMEPRINTUI_LIBS
1072 GNOMEVFS_CFLAGS
1073 GNOMEVFS_LIBS
1074 HILDON_CFLAGS
1075 HILDON_LIBS
1076 CAIRO_CFLAGS
1077 CAIRO_LIBS
1078 GST_CFLAGS
1079 GST_LIBS'
1080 ac_subdirs_all='src/tiff
1081 src/expat'
1082
1083 # Initialize some variables set by options.
1084 ac_init_help=
1085 ac_init_version=false
1086 # The variables have the same names as the options, with
1087 # dashes changed to underlines.
1088 cache_file=/dev/null
1089 exec_prefix=NONE
1090 no_create=
1091 no_recursion=
1092 prefix=NONE
1093 program_prefix=NONE
1094 program_suffix=NONE
1095 program_transform_name=s,x,x,
1096 silent=
1097 site=
1098 srcdir=
1099 verbose=
1100 x_includes=NONE
1101 x_libraries=NONE
1102
1103 # Installation directory options.
1104 # These are left unexpanded so users can "make install exec_prefix=/foo"
1105 # and all the variables that are supposed to be based on exec_prefix
1106 # by default will actually change.
1107 # Use braces instead of parens because sh, perl, etc. also accept them.
1108 # (The list follows the same order as the GNU Coding Standards.)
1109 bindir='${exec_prefix}/bin'
1110 sbindir='${exec_prefix}/sbin'
1111 libexecdir='${exec_prefix}/libexec'
1112 datarootdir='${prefix}/share'
1113 datadir='${datarootdir}'
1114 sysconfdir='${prefix}/etc'
1115 sharedstatedir='${prefix}/com'
1116 localstatedir='${prefix}/var'
1117 includedir='${prefix}/include'
1118 oldincludedir='/usr/include'
1119 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1120 infodir='${datarootdir}/info'
1121 htmldir='${docdir}'
1122 dvidir='${docdir}'
1123 pdfdir='${docdir}'
1124 psdir='${docdir}'
1125 libdir='${exec_prefix}/lib'
1126 localedir='${datarootdir}/locale'
1127 mandir='${datarootdir}/man'
1128
1129 ac_prev=
1130 ac_dashdash=
1131 for ac_option
1132 do
1133 # If the previous option needs an argument, assign it.
1134 if test -n "$ac_prev"; then
1135 eval $ac_prev=\$ac_option
1136 ac_prev=
1137 continue
1138 fi
1139
1140 case $ac_option in
1141 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1142 *) ac_optarg=yes ;;
1143 esac
1144
1145 # Accept the important Cygnus configure options, so we can diagnose typos.
1146
1147 case $ac_dashdash$ac_option in
1148 --)
1149 ac_dashdash=yes ;;
1150
1151 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1152 ac_prev=bindir ;;
1153 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1154 bindir=$ac_optarg ;;
1155
1156 -build | --build | --buil | --bui | --bu)
1157 ac_prev=build_alias ;;
1158 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1159 build_alias=$ac_optarg ;;
1160
1161 -cache-file | --cache-file | --cache-fil | --cache-fi \
1162 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1163 ac_prev=cache_file ;;
1164 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1165 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1166 cache_file=$ac_optarg ;;
1167
1168 --config-cache | -C)
1169 cache_file=config.cache ;;
1170
1171 -datadir | --datadir | --datadi | --datad)
1172 ac_prev=datadir ;;
1173 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1174 datadir=$ac_optarg ;;
1175
1176 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1177 | --dataroo | --dataro | --datar)
1178 ac_prev=datarootdir ;;
1179 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1180 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1181 datarootdir=$ac_optarg ;;
1182
1183 -disable-* | --disable-*)
1184 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_$ac_feature=no ;;
1191
1192 -docdir | --docdir | --docdi | --doc | --do)
1193 ac_prev=docdir ;;
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir=$ac_optarg ;;
1196
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1198 ac_prev=dvidir ;;
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir=$ac_optarg ;;
1201
1202 -enable-* | --enable-*)
1203 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_$ac_feature=\$ac_optarg ;;
1210
1211 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213 | --exec | --exe | --ex)
1214 ac_prev=exec_prefix ;;
1215 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217 | --exec=* | --exe=* | --ex=*)
1218 exec_prefix=$ac_optarg ;;
1219
1220 -gas | --gas | --ga | --g)
1221 # Obsolete; use --with-gas.
1222 with_gas=yes ;;
1223
1224 -help | --help | --hel | --he | -h)
1225 ac_init_help=long ;;
1226 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1227 ac_init_help=recursive ;;
1228 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1229 ac_init_help=short ;;
1230
1231 -host | --host | --hos | --ho)
1232 ac_prev=host_alias ;;
1233 -host=* | --host=* | --hos=* | --ho=*)
1234 host_alias=$ac_optarg ;;
1235
1236 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1237 ac_prev=htmldir ;;
1238 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1239 | --ht=*)
1240 htmldir=$ac_optarg ;;
1241
1242 -includedir | --includedir | --includedi | --included | --include \
1243 | --includ | --inclu | --incl | --inc)
1244 ac_prev=includedir ;;
1245 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246 | --includ=* | --inclu=* | --incl=* | --inc=*)
1247 includedir=$ac_optarg ;;
1248
1249 -infodir | --infodir | --infodi | --infod | --info | --inf)
1250 ac_prev=infodir ;;
1251 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252 infodir=$ac_optarg ;;
1253
1254 -libdir | --libdir | --libdi | --libd)
1255 ac_prev=libdir ;;
1256 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257 libdir=$ac_optarg ;;
1258
1259 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260 | --libexe | --libex | --libe)
1261 ac_prev=libexecdir ;;
1262 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263 | --libexe=* | --libex=* | --libe=*)
1264 libexecdir=$ac_optarg ;;
1265
1266 -localedir | --localedir | --localedi | --localed | --locale)
1267 ac_prev=localedir ;;
1268 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269 localedir=$ac_optarg ;;
1270
1271 -localstatedir | --localstatedir | --localstatedi | --localstated \
1272 | --localstate | --localstat | --localsta | --localst | --locals)
1273 ac_prev=localstatedir ;;
1274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276 localstatedir=$ac_optarg ;;
1277
1278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1279 ac_prev=mandir ;;
1280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281 mandir=$ac_optarg ;;
1282
1283 -nfp | --nfp | --nf)
1284 # Obsolete; use --without-fp.
1285 with_fp=no ;;
1286
1287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288 | --no-cr | --no-c | -n)
1289 no_create=yes ;;
1290
1291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1293 no_recursion=yes ;;
1294
1295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297 | --oldin | --oldi | --old | --ol | --o)
1298 ac_prev=oldincludedir ;;
1299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302 oldincludedir=$ac_optarg ;;
1303
1304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1305 ac_prev=prefix ;;
1306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307 prefix=$ac_optarg ;;
1308
1309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310 | --program-pre | --program-pr | --program-p)
1311 ac_prev=program_prefix ;;
1312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314 program_prefix=$ac_optarg ;;
1315
1316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317 | --program-suf | --program-su | --program-s)
1318 ac_prev=program_suffix ;;
1319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321 program_suffix=$ac_optarg ;;
1322
1323 -program-transform-name | --program-transform-name \
1324 | --program-transform-nam | --program-transform-na \
1325 | --program-transform-n | --program-transform- \
1326 | --program-transform | --program-transfor \
1327 | --program-transfo | --program-transf \
1328 | --program-trans | --program-tran \
1329 | --progr-tra | --program-tr | --program-t)
1330 ac_prev=program_transform_name ;;
1331 -program-transform-name=* | --program-transform-name=* \
1332 | --program-transform-nam=* | --program-transform-na=* \
1333 | --program-transform-n=* | --program-transform-=* \
1334 | --program-transform=* | --program-transfor=* \
1335 | --program-transfo=* | --program-transf=* \
1336 | --program-trans=* | --program-tran=* \
1337 | --progr-tra=* | --program-tr=* | --program-t=*)
1338 program_transform_name=$ac_optarg ;;
1339
1340 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1341 ac_prev=pdfdir ;;
1342 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343 pdfdir=$ac_optarg ;;
1344
1345 -psdir | --psdir | --psdi | --psd | --ps)
1346 ac_prev=psdir ;;
1347 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1348 psdir=$ac_optarg ;;
1349
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1352 silent=yes ;;
1353
1354 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1355 ac_prev=sbindir ;;
1356 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1357 | --sbi=* | --sb=*)
1358 sbindir=$ac_optarg ;;
1359
1360 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362 | --sharedst | --shareds | --shared | --share | --shar \
1363 | --sha | --sh)
1364 ac_prev=sharedstatedir ;;
1365 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1368 | --sha=* | --sh=*)
1369 sharedstatedir=$ac_optarg ;;
1370
1371 -site | --site | --sit)
1372 ac_prev=site ;;
1373 -site=* | --site=* | --sit=*)
1374 site=$ac_optarg ;;
1375
1376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1377 ac_prev=srcdir ;;
1378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379 srcdir=$ac_optarg ;;
1380
1381 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382 | --syscon | --sysco | --sysc | --sys | --sy)
1383 ac_prev=sysconfdir ;;
1384 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386 sysconfdir=$ac_optarg ;;
1387
1388 -target | --target | --targe | --targ | --tar | --ta | --t)
1389 ac_prev=target_alias ;;
1390 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391 target_alias=$ac_optarg ;;
1392
1393 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1394 verbose=yes ;;
1395
1396 -version | --version | --versio | --versi | --vers | -V)
1397 ac_init_version=: ;;
1398
1399 -with-* | --with-*)
1400 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1403 { echo "$as_me: error: invalid package name: $ac_package" >&2
1404 { (exit 1); exit 1; }; }
1405 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1406 eval with_$ac_package=\$ac_optarg ;;
1407
1408 -without-* | --without-*)
1409 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_$ac_package=no ;;
1416
1417 --x)
1418 # Obsolete; use --with-x.
1419 with_x=yes ;;
1420
1421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1422 | --x-incl | --x-inc | --x-in | --x-i)
1423 ac_prev=x_includes ;;
1424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1426 x_includes=$ac_optarg ;;
1427
1428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1430 ac_prev=x_libraries ;;
1431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1433 x_libraries=$ac_optarg ;;
1434
1435 -*) { echo "$as_me: error: unrecognized option: $ac_option
1436 Try \`$0 --help' for more information." >&2
1437 { (exit 1); exit 1; }; }
1438 ;;
1439
1440 *=*)
1441 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1442 # Reject names that are not valid shell variable names.
1443 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1444 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1445 { (exit 1); exit 1; }; }
1446 eval $ac_envvar=\$ac_optarg
1447 export $ac_envvar ;;
1448
1449 *)
1450 # FIXME: should be removed in autoconf 3.0.
1451 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1452 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1453 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1454 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1455 ;;
1456
1457 esac
1458 done
1459
1460 if test -n "$ac_prev"; then
1461 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1462 { echo "$as_me: error: missing argument to $ac_option" >&2
1463 { (exit 1); exit 1; }; }
1464 fi
1465
1466 # Be sure to have absolute directory names.
1467 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1468 datadir sysconfdir sharedstatedir localstatedir includedir \
1469 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1470 libdir localedir mandir
1471 do
1472 eval ac_val=\$$ac_var
1473 case $ac_val in
1474 [\\/$]* | ?:[\\/]* ) continue;;
1475 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1476 esac
1477 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1478 { (exit 1); exit 1; }; }
1479 done
1480
1481 # There might be people who depend on the old broken behavior: `$host'
1482 # used to hold the argument of --host etc.
1483 # FIXME: To remove some day.
1484 build=$build_alias
1485 host=$host_alias
1486 target=$target_alias
1487
1488 # FIXME: To remove some day.
1489 if test "x$host_alias" != x; then
1490 if test "x$build_alias" = x; then
1491 cross_compiling=maybe
1492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1493 If a cross compiler is detected then cross compile mode will be used." >&2
1494 elif test "x$build_alias" != "x$host_alias"; then
1495 cross_compiling=yes
1496 fi
1497 fi
1498
1499 ac_tool_prefix=
1500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1501
1502 test "$silent" = yes && exec 6>/dev/null
1503
1504
1505 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1506 ac_ls_di=`ls -di .` &&
1507 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1508 { echo "$as_me: error: Working directory cannot be determined" >&2
1509 { (exit 1); exit 1; }; }
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511 { echo "$as_me: error: pwd does not report name of working directory" >&2
1512 { (exit 1); exit 1; }; }
1513
1514
1515 # Find the source files, if location was not specified.
1516 if test -z "$srcdir"; then
1517 ac_srcdir_defaulted=yes
1518 # Try the directory containing this script, then the parent directory.
1519 ac_confdir=`$as_dirname -- "$0" ||
1520 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1521 X"$0" : 'X\(//\)[^/]' \| \
1522 X"$0" : 'X\(//\)$' \| \
1523 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1524 echo X"$0" |
1525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1526 s//\1/
1527 q
1528 }
1529 /^X\(\/\/\)[^/].*/{
1530 s//\1/
1531 q
1532 }
1533 /^X\(\/\/\)$/{
1534 s//\1/
1535 q
1536 }
1537 /^X\(\/\).*/{
1538 s//\1/
1539 q
1540 }
1541 s/.*/./; q'`
1542 srcdir=$ac_confdir
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1544 srcdir=..
1545 fi
1546 else
1547 ac_srcdir_defaulted=no
1548 fi
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1551 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1552 { (exit 1); exit 1; }; }
1553 fi
1554 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1555 ac_abs_confdir=`(
1556 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1557 { (exit 1); exit 1; }; }
1558 pwd)`
1559 # When building in place, set srcdir=.
1560 if test "$ac_abs_confdir" = "$ac_pwd"; then
1561 srcdir=.
1562 fi
1563 # Remove unnecessary trailing slashes from srcdir.
1564 # Double slashes in file names in object file debugging info
1565 # mess up M-x gdb in Emacs.
1566 case $srcdir in
1567 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1568 esac
1569 for ac_var in $ac_precious_vars; do
1570 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1571 eval ac_env_${ac_var}_value=\$${ac_var}
1572 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1573 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1574 done
1575
1576 #
1577 # Report the --help message.
1578 #
1579 if test "$ac_init_help" = "long"; then
1580 # Omit some internal or obsolete options to make the list less imposing.
1581 # This message is too long to be a string in the A/UX 3.1 sh.
1582 cat <<_ACEOF
1583 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1584
1585 Usage: $0 [OPTION]... [VAR=VALUE]...
1586
1587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1588 VAR=VALUE. See below for descriptions of some of the useful variables.
1589
1590 Defaults for the options are specified in brackets.
1591
1592 Configuration:
1593 -h, --help display this help and exit
1594 --help=short display options specific to this package
1595 --help=recursive display the short help of all the included packages
1596 -V, --version display version information and exit
1597 -q, --quiet, --silent do not print \`checking...' messages
1598 --cache-file=FILE cache test results in FILE [disabled]
1599 -C, --config-cache alias for \`--cache-file=config.cache'
1600 -n, --no-create do not create output files
1601 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1602
1603 Installation directories:
1604 --prefix=PREFIX install architecture-independent files in PREFIX
1605 [$ac_default_prefix]
1606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1607 [PREFIX]
1608
1609 By default, \`make install' will install all the files in
1610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1612 for instance \`--prefix=\$HOME'.
1613
1614 For better control, use the options below.
1615
1616 Fine tuning of the installation directories:
1617 --bindir=DIR user executables [EPREFIX/bin]
1618 --sbindir=DIR system admin executables [EPREFIX/sbin]
1619 --libexecdir=DIR program executables [EPREFIX/libexec]
1620 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1621 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1622 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1623 --libdir=DIR object code libraries [EPREFIX/lib]
1624 --includedir=DIR C header files [PREFIX/include]
1625 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1626 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1627 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1628 --infodir=DIR info documentation [DATAROOTDIR/info]
1629 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1630 --mandir=DIR man documentation [DATAROOTDIR/man]
1631 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1632 --htmldir=DIR html documentation [DOCDIR]
1633 --dvidir=DIR dvi documentation [DOCDIR]
1634 --pdfdir=DIR pdf documentation [DOCDIR]
1635 --psdir=DIR ps documentation [DOCDIR]
1636 _ACEOF
1637
1638 cat <<\_ACEOF
1639
1640 X features:
1641 --x-includes=DIR X include files are in DIR
1642 --x-libraries=DIR X library files are in DIR
1643
1644 System types:
1645 --build=BUILD configure for building on BUILD [guessed]
1646 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1647 --target=TARGET configure for building compilers for TARGET [HOST]
1648 _ACEOF
1649 fi
1650
1651 if test -n "$ac_init_help"; then
1652 case $ac_init_help in
1653 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1654 esac
1655 cat <<\_ACEOF
1656
1657 Optional Features:
1658 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1659 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1660 --disable-gui don't build GUI parts of the library
1661 --enable-monolithic build wxWidgets as single library
1662 --enable-plugins build parts of wxWidgets as loadable components
1663 --enable-official_build official build of wxWidgets (win32 DLL only)
1664 --enable-vendor=VENDOR vendor name (win32 DLL only)
1665 --disable-all-features disable all optional features to build minimal library
1666 --enable-universal use wxWidgets GUI controls instead of native ones
1667 --enable-nanox use NanoX
1668 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1669 --enable-gpe use GNOME PDA Environment features if possible
1670 --disable-shared create static library instead of shared
1671 --enable-debug same as debug_flag and debug_info
1672 --enable-stl use STL for containers
1673 --enable-std_iostreams use standard C++ stream classes
1674 --enable-std_string use standard C++ string classes
1675 --disable-unicode compile without Unicode support
1676 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1677 --enable-utf8 use UTF-8 representation for strings (Unix only)
1678 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1679 --enable-extended_rtti use extended RTTI (XTI)
1680 --enable-omf use OMF object format
1681 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1682 --enable-debug_info create code with debugging information
1683 --disable-optimise compile without optimisations
1684 --enable-debug_gdb create code with extra GDB debugging information
1685 --enable-debug_cntxt use wxDebugContext
1686 --enable-mem_tracing create code with memory tracing
1687 --enable-profile create code with profiling information
1688 --enable-no_rtti create code without RTTI information
1689 --enable-no_exceptions create code without C++ exceptions handling
1690 --enable-permissive compile code disregarding strict ANSI
1691 --enable-no_deps create code without dependency information
1692 --disable-vararg_macros don't use vararg macros, even if they are supported
1693 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1694 --enable-compat26 enable wxWidgets 2.6 compatibility
1695 --disable-compat28 disable wxWidgets 2.8 compatibility
1696 --disable-rpath disable use of rpath for uninstalled builds
1697 --enable-objc_uniquifying enable Objective-C class name uniquifying
1698 --disable-visibility disable use of ELF symbols visibility even if supported
1699 --enable-intl use internationalization system
1700 --enable-xlocale use x-locale support (requires wxLocale)
1701 --enable-config use wxConfig (and derived) classes
1702 --enable-protocols use wxProtocol and derived classes
1703 --enable-ftp use wxFTP (requires wxProtocol
1704 --enable-http use wxHTTP (requires wxProtocol
1705 --enable-fileproto use wxFileProto class (requires wxProtocol
1706 --enable-sockets use socket/network classes
1707 --enable-ipv6 enable IPv6 support in wxSocket
1708 --enable-ole use OLE classes (Win32 only)
1709 --enable-dataobj use data object classes
1710 --enable-ipc use interprocess communication (wxSocket etc.)
1711 --enable-baseevtloop use event loop in console programs too
1712 --enable-epollloop use wxEpollDispatcher class (Linux only)
1713 --enable-selectloop use wxSelectDispatcher class
1714 --enable-apple_ieee use the Apple IEEE codec
1715 --enable-arcstream use wxArchive streams
1716 --enable-base64 use base64 encoding/decoding functions
1717 --enable-backtrace use wxStackWalker class for getting backtraces
1718 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1719 --enable-cmdline use wxCmdLineParser class
1720 --enable-datetime use wxDateTime class
1721 --enable-debugreport use wxDebugReport class
1722 --enable-dialupman use dialup network classes
1723 --enable-dynlib use wxLibrary class for DLL loading
1724 --enable-dynamicloader use (new) wxDynamicLibrary class
1725 --enable-exceptions build exception-safe library
1726 --enable-ffile use wxFFile class
1727 --enable-file use wxFile class
1728 --enable-filesystem use virtual file systems classes
1729 --enable-fontenum use wxFontEnumerator class
1730 --enable-fontmap use font encodings conversion classes
1731 --enable-fs_archive use virtual archive filesystems
1732 --enable-fs_inet use virtual HTTP/FTP filesystems
1733 --enable-fs_zip now replaced by fs_archive
1734 --enable-geometry use geometry class
1735 --enable-log use logging system
1736 --enable-longlong use wxLongLong class
1737 --enable-mimetype use wxMimeTypesManager
1738 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1739 --enable-snglinst use wxSingleInstanceChecker class
1740 --enable-sound use wxSound class
1741 --enable-stdpaths use wxStandardPaths class
1742 --enable-stopwatch use wxStopWatch class
1743 --enable-streams use wxStream etc classes
1744 --enable-sysoptions use wxSystemOptions
1745 --enable-tarstream use wxTar streams
1746 --enable-textbuf use wxTextBuffer class
1747 --enable-textfile use wxTextFile class
1748 --enable-timer use wxTimer class
1749 --enable-variant use wxVariant class
1750 --enable-zipstream use wxZip streams
1751 --enable-url use wxURL class
1752 --enable-protocol use wxProtocol class
1753 --enable-protocol-http HTTP support in wxProtocol
1754 --enable-protocol-ftp FTP support in wxProtocol
1755 --enable-protocol-file FILE support in wxProtocol
1756 --enable-threads use threads
1757 --enable-iniconf use wxIniConfig (Win32 only)
1758 --enable-regkey use wxRegKey class (Win32 only)
1759 --enable-docview use document view architecture
1760 --enable-help use help subsystem
1761 --enable-mshtmlhelp use MS HTML Help (win32)
1762 --enable-html use wxHTML sub-library
1763 --enable-htmlhelp use wxHTML-based help
1764 --enable-xrc use XRC resources sub-library
1765 --enable-aui use AUI docking library
1766 --enable-propgrid use wxPropertyGrid library
1767 --enable-stc use wxStyledTextCtrl library
1768 --enable-constraints use layout-constraints system
1769 --enable-loggui use standard GUI logger
1770 --enable-logwin use wxLogWindow
1771 --enable-logdialog use wxLogDialog
1772 --enable-mdi use multiple document interface architecture
1773 --enable-mdidoc use docview architecture with MDI
1774 --enable-mediactrl use wxMediaCtrl class
1775 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1776 --enable-webkit use wxWebKitCtrl (Mac)
1777 --enable-richtext use wxRichTextCtrl
1778 --enable-graphics_ctx use graphics context 2D drawing API
1779 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1780 --enable-printarch use printing architecture
1781 --enable-svg use wxSVGFileDC device context
1782 --enable-clipboard use wxClipboard class
1783 --enable-dnd use Drag'n'Drop classes
1784 --enable-metafile use win32 metafiles
1785 --disable-controls disable compilation of all standard controls
1786 --enable-accel use accelerators
1787 --enable-animatectrl use wxAnimationCtrl class
1788 --enable-button use wxButton class
1789 --enable-bmpbutton use wxBitmapButton class
1790 --enable-bmpcombobox use wxBitmapComboBox class
1791 --enable-calendar use wxCalendarCtrl class
1792 --enable-caret use wxCaret class
1793 --enable-checkbox use wxCheckBox class
1794 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1795 --enable-choice use wxChoice class
1796 --enable-choicebook use wxChoicebook class
1797 --enable-collpane use wxCollapsiblePane class
1798 --enable-colourpicker use wxColourPickerCtrl class
1799 --enable-combobox use wxComboBox class
1800 --enable-comboctrl use wxComboCtrl class
1801 --enable-datepick use wxDatePickerCtrl class
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-detect_sm use code to detect X11 session manager
1805 --enable-editablebox use wxEditableListBox class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-filectrl use wxFileCtrl class
1808 --enable-fontpicker use wxFontPickerCtrl class
1809 --enable-gauge use wxGauge class
1810 --enable-grid use wxGrid class
1811 --enable-dataviewctrl use wxDataViewCtrl class
1812 --enable-hyperlink use wxHyperlinkCtrl class
1813 --enable-imaglist use wxImageList class
1814 --enable-listbook use wxListbook class
1815 --enable-listbox use wxListBox class
1816 --enable-listctrl use wxListCtrl class
1817 --enable-notebook use wxNotebook class
1818 --enable-notifmsg use wxNotificationMessage class
1819 --enable-odcombobox use wxOwnerDrawnComboBox class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-sash use wxSashWindow class
1823 --enable-scrollbar use wxScrollBar class and scrollable windows
1824 --enable-searchctrl use wxSearchCtrl class
1825 --enable-slider use wxSlider class
1826 --enable-spinbtn use wxSpinButton class
1827 --enable-spinctrl use wxSpinCtrl class
1828 --enable-splitter use wxSplitterWindow class
1829 --enable-statbmp use wxStaticBitmap class
1830 --enable-statbox use wxStaticBox class
1831 --enable-statline use wxStaticLine class
1832 --enable-stattext use wxStaticText class
1833 --enable-statusbar use wxStatusBar class
1834 --enable-taskbaricon use wxTaskBarIcon class
1835 --enable-textctrl use wxTextCtrl class
1836 --enable-togglebtn use wxToggleButton class
1837 --enable-toolbar use wxToolBar class
1838 --enable-tbarnative use native wxToolBar class
1839 --enable-treebook use wxTreebook class
1840 --enable-toolbook use wxToolbook class
1841 --enable-treectrl use wxTreeCtrl class
1842 --enable-tipwindow use wxTipWindow class
1843 --enable-popupwin use wxPopUpWindow class
1844 --enable-commondlg use all common dialogs
1845 --enable-aboutdlg use wxAboutBox
1846 --enable-choicedlg use wxChoiceDialog
1847 --enable-coldlg use wxColourDialog
1848 --enable-filedlg use wxFileDialog
1849 --enable-finddlg use wxFindReplaceDialog
1850 --enable-fontdlg use wxFontDialog
1851 --enable-dirdlg use wxDirDialog
1852 --enable-msgdlg use wxMessageDialog
1853 --enable-numberdlg use wxNumberEntryDialog
1854 --enable-splash use wxSplashScreen
1855 --enable-textdlg use wxTextDialog
1856 --enable-tipdlg use startup tips
1857 --enable-progressdlg use wxProgressDialog
1858 --enable-wizarddlg use wxWizard
1859 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1860 --enable-miniframe use wxMiniFrame class
1861 --enable-tooltips use wxToolTip class
1862 --enable-splines use spline drawing code
1863 --enable-mousewheel use mousewheel
1864 --enable-validators use wxValidator and derived classes
1865 --enable-busyinfo use wxBusyInfo
1866 --enable-joystick use wxJoystick
1867 --enable-metafiles use wxMetaFile (Win32 only)
1868 --enable-dragimage use wxDragImage
1869 --enable-accessibility enable accessibility support
1870 --enable-palette use wxPalette class
1871 --enable-image use wxImage class
1872 --enable-gif use gif images (GIF file format)
1873 --enable-pcx use pcx images (PCX file format)
1874 --enable-tga use tga images (TGA file format)
1875 --enable-iff use iff images (IFF file format)
1876 --enable-pnm use pnm images (PNM file format)
1877 --enable-xpm use xpm images (XPM file format)
1878 --enable-ico_cur use Windows ICO and CUR formats
1879 --enable-dccache cache temporary wxDC objects (Win32 only)
1880 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1881 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1882 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1883 --enable-wxdib use wxDIB class (Win32 only)
1884 --enable-autoidman use automatic ids management
1885 --disable-largefile omit support for large files
1886 --disable-gtktest do not try to compile and run a test GTK+ program
1887 --disable-gtktest Do not try to compile and run a test GTK program
1888 --disable-sdltest Do not try to compile and run a test SDL program
1889 --enable-omf use OMF object format (OS/2)
1890 --disable-dependency-tracking
1891 don't use dependency tracking even if the compiler
1892 can
1893 --disable-precomp-headers
1894 don't use precompiled headers even if compiler can
1895
1896 Optional Packages:
1897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1899 --without-subdirs don't generate makefiles for samples/demos/...
1900 --with-flavour=NAME specify a name to identify this build
1901 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1902 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1903 --with-motif use Motif/Lesstif
1904 --with-osx_carbon use Mac OS X (Carbon)
1905 --with-osx_cocoa use Mac OS X (Cocoa)
1906 --with-mac use Mac OS X (Default)
1907 --with-cocoa use Cocoa
1908 --with-wine use Wine
1909 --with-msw use MS-Windows
1910 --with-pm use OS/2 Presentation Manager
1911 --with-mgl use SciTech MGL
1912 --with-directfb use DirectFB
1913 --with-microwin use MicroWindows
1914 --with-x11 use X11
1915 --with-libpng use libpng (PNG image format)
1916 --with-libjpeg use libjpeg (JPEG file format)
1917 --with-libtiff use libtiff (TIFF file format)
1918 --with-libxpm use libxpm (XPM file format)
1919 --with-libiconv use libiconv (character conversion)
1920 --with-libmspack use libmspack (CHM help files loading)
1921 --without-gtkprint don't use GTK printing support
1922 --without-gnomeprint don't use GNOME printing libraries
1923 --with-gnomevfs use GNOME VFS for associating MIME types
1924 --with-hildon use Hildon framework for Nokia 770
1925 --with-opengl use OpenGL (or Mesa)
1926 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1927 --with-sdl use SDL for audio on Unix
1928 --with-regex enable support for wxRegEx class
1929 --with-zlib use zlib for LZW compression
1930 --with-expat enable XML support using expat parser
1931 --with-macosx-sdk=PATH use an OS X SDK at PATH
1932 --with-macosx-version-min=VER build binaries which require at least this OS X version
1933 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1934 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1935 --with-x use the X Window System
1936 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1937 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1938 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1939 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1940 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1941
1942 Some influential environment variables:
1943 CC C compiler command
1944 CFLAGS C compiler flags
1945 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1946 nonstandard directory <lib dir>
1947 LIBS libraries to pass to the linker, e.g. -l<library>
1948 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1949 you have headers in a nonstandard directory <include dir>
1950 CPP C preprocessor
1951 CXX C++ compiler command
1952 CXXFLAGS C++ compiler flags
1953 PKG_CONFIG path to pkg-config utility
1954 DIRECTFB_CFLAGS
1955 C compiler flags for DIRECTFB, overriding pkg-config
1956 DIRECTFB_LIBS
1957 linker flags for DIRECTFB, overriding pkg-config
1958 XMKMF Path to xmkmf, Makefile generator for X Window System
1959 PANGOX_CFLAGS
1960 C compiler flags for PANGOX, overriding pkg-config
1961 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1962 PANGOFT2_CFLAGS
1963 C compiler flags for PANGOFT2, overriding pkg-config
1964 PANGOFT2_LIBS
1965 linker flags for PANGOFT2, overriding pkg-config
1966 PANGOXFT_CFLAGS
1967 C compiler flags for PANGOXFT, overriding pkg-config
1968 PANGOXFT_LIBS
1969 linker flags for PANGOXFT, overriding pkg-config
1970 GTKPRINT_CFLAGS
1971 C compiler flags for GTKPRINT, overriding pkg-config
1972 GTKPRINT_LIBS
1973 linker flags for GTKPRINT, overriding pkg-config
1974 LIBGNOMEPRINTUI_CFLAGS
1975 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 LIBGNOMEPRINTUI_LIBS
1977 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1978 GNOMEVFS_CFLAGS
1979 C compiler flags for GNOMEVFS, overriding pkg-config
1980 GNOMEVFS_LIBS
1981 linker flags for GNOMEVFS, overriding pkg-config
1982 HILDON_CFLAGS
1983 C compiler flags for HILDON, overriding pkg-config
1984 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1985 CAIRO_CFLAGS
1986 C compiler flags for CAIRO, overriding pkg-config
1987 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1988 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1989 GST_LIBS linker flags for GST, overriding pkg-config
1990
1991 Use these variables to override the choices made by `configure' or to help
1992 it to find libraries and programs with nonstandard names/locations.
1993
1994 Report bugs to <wx-dev@lists.wxwidgets.org>.
1995 _ACEOF
1996 ac_status=$?
1997 fi
1998
1999 if test "$ac_init_help" = "recursive"; then
2000 # If there are subdirs, report their specific --help.
2001 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2002 test -d "$ac_dir" || continue
2003 ac_builddir=.
2004
2005 case "$ac_dir" in
2006 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2007 *)
2008 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2009 # A ".." for each directory in $ac_dir_suffix.
2010 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2011 case $ac_top_builddir_sub in
2012 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2013 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2014 esac ;;
2015 esac
2016 ac_abs_top_builddir=$ac_pwd
2017 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2018 # for backward compatibility:
2019 ac_top_builddir=$ac_top_build_prefix
2020
2021 case $srcdir in
2022 .) # We are building in place.
2023 ac_srcdir=.
2024 ac_top_srcdir=$ac_top_builddir_sub
2025 ac_abs_top_srcdir=$ac_pwd ;;
2026 [\\/]* | ?:[\\/]* ) # Absolute name.
2027 ac_srcdir=$srcdir$ac_dir_suffix;
2028 ac_top_srcdir=$srcdir
2029 ac_abs_top_srcdir=$srcdir ;;
2030 *) # Relative name.
2031 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2032 ac_top_srcdir=$ac_top_build_prefix$srcdir
2033 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2034 esac
2035 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2036
2037 cd "$ac_dir" || { ac_status=$?; continue; }
2038 # Check for guested configure.
2039 if test -f "$ac_srcdir/configure.gnu"; then
2040 echo &&
2041 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2042 elif test -f "$ac_srcdir/configure"; then
2043 echo &&
2044 $SHELL "$ac_srcdir/configure" --help=recursive
2045 else
2046 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2047 fi || ac_status=$?
2048 cd "$ac_pwd" || { ac_status=$?; break; }
2049 done
2050 fi
2051
2052 test -n "$ac_init_help" && exit $ac_status
2053 if $ac_init_version; then
2054 cat <<\_ACEOF
2055 wxWidgets configure 2.9.0
2056 generated by GNU Autoconf 2.61
2057
2058 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2059 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2060 This configure script is free software; the Free Software Foundation
2061 gives unlimited permission to copy, distribute and modify it.
2062 _ACEOF
2063 exit
2064 fi
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2068
2069 It was created by wxWidgets $as_me 2.9.0, which was
2070 generated by GNU Autoconf 2.61. Invocation command line was
2071
2072 $ $0 $@
2073
2074 _ACEOF
2075 exec 5>>config.log
2076 {
2077 cat <<_ASUNAME
2078 ## --------- ##
2079 ## Platform. ##
2080 ## --------- ##
2081
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2098
2099 _ASUNAME
2100
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 echo "PATH: $as_dir"
2107 done
2108 IFS=$as_save_IFS
2109
2110 } >&5
2111
2112 cat >&5 <<_ACEOF
2113
2114
2115 ## ----------- ##
2116 ## Core tests. ##
2117 ## ----------- ##
2118
2119 _ACEOF
2120
2121
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2127 ac_configure_args=
2128 ac_configure_args0=
2129 ac_configure_args1=
2130 ac_must_keep_next=false
2131 for ac_pass in 1 2
2132 do
2133 for ac_arg
2134 do
2135 case $ac_arg in
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2139 continue ;;
2140 *\'*)
2141 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 esac
2143 case $ac_pass in
2144 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2145 2)
2146 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2149 else
2150 case $ac_arg in
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 esac
2158 ;;
2159 -* ) ac_must_keep_next=true ;;
2160 esac
2161 fi
2162 ac_configure_args="$ac_configure_args '$ac_arg'"
2163 ;;
2164 esac
2165 done
2166 done
2167 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2168 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2169
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2177 {
2178 echo
2179
2180 cat <<\_ASBOX
2181 ## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##
2184 _ASBOX
2185 echo
2186 # The following way of writing the cache mishandles newlines in values,
2187 (
2188 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2189 eval ac_val=\$$ac_var
2190 case $ac_val in #(
2191 *${as_nl}*)
2192 case $ac_var in #(
2193 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2195 esac
2196 case $ac_var in #(
2197 _ | IFS | as_nl) ;; #(
2198 *) $as_unset $ac_var ;;
2199 esac ;;
2200 esac
2201 done
2202 (set) 2>&1 |
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2205 sed -n \
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 ;; #(
2209 *)
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2211 ;;
2212 esac |
2213 sort
2214 )
2215 echo
2216
2217 cat <<\_ASBOX
2218 ## ----------------- ##
2219 ## Output variables. ##
2220 ## ----------------- ##
2221 _ASBOX
2222 echo
2223 for ac_var in $ac_subst_vars
2224 do
2225 eval ac_val=\$$ac_var
2226 case $ac_val in
2227 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2228 esac
2229 echo "$ac_var='\''$ac_val'\''"
2230 done | sort
2231 echo
2232
2233 if test -n "$ac_subst_files"; then
2234 cat <<\_ASBOX
2235 ## ------------------- ##
2236 ## File substitutions. ##
2237 ## ------------------- ##
2238 _ASBOX
2239 echo
2240 for ac_var in $ac_subst_files
2241 do
2242 eval ac_val=\$$ac_var
2243 case $ac_val in
2244 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 esac
2246 echo "$ac_var='\''$ac_val'\''"
2247 done | sort
2248 echo
2249 fi
2250
2251 if test -s confdefs.h; then
2252 cat <<\_ASBOX
2253 ## ----------- ##
2254 ## confdefs.h. ##
2255 ## ----------- ##
2256 _ASBOX
2257 echo
2258 cat confdefs.h
2259 echo
2260 fi
2261 test "$ac_signal" != 0 &&
2262 echo "$as_me: caught signal $ac_signal"
2263 echo "$as_me: exit $exit_status"
2264 } >&5
2265 rm -f core *.core core.conftest.* &&
2266 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267 exit $exit_status
2268 ' 0
2269 for ac_signal in 1 2 13 15; do
2270 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2271 done
2272 ac_signal=0
2273
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest* confdefs.h
2276
2277 # Predefined preprocessor variables.
2278
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_NAME "$PACKAGE_NAME"
2281 _ACEOF
2282
2283
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2286 _ACEOF
2287
2288
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2291 _ACEOF
2292
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2296 _ACEOF
2297
2298
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2301 _ACEOF
2302
2303
2304 # Let the site file select an alternate cache file if it wants to.
2305 # Prefer explicitly selected file to automatically selected ones.
2306 if test -n "$CONFIG_SITE"; then
2307 set x "$CONFIG_SITE"
2308 elif test "x$prefix" != xNONE; then
2309 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2310 else
2311 set x "$ac_default_prefix/share/config.site" \
2312 "$ac_default_prefix/etc/config.site"
2313 fi
2314 shift
2315 for ac_site_file
2316 do
2317 if test -r "$ac_site_file"; then
2318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2319 echo "$as_me: loading site script $ac_site_file" >&6;}
2320 sed 's/^/| /' "$ac_site_file" >&5
2321 . "$ac_site_file"
2322 fi
2323 done
2324
2325 if test -r "$cache_file"; then
2326 # Some versions of bash will fail to source /dev/null (special
2327 # files actually), so we avoid doing that.
2328 if test -f "$cache_file"; then
2329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2330 echo "$as_me: loading cache $cache_file" >&6;}
2331 case $cache_file in
2332 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2333 *) . "./$cache_file";;
2334 esac
2335 fi
2336 else
2337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2338 echo "$as_me: creating cache $cache_file" >&6;}
2339 >$cache_file
2340 fi
2341
2342 # Check that the precious variables saved in the cache have kept the same
2343 # value.
2344 ac_cache_corrupted=false
2345 for ac_var in $ac_precious_vars; do
2346 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2347 eval ac_new_set=\$ac_env_${ac_var}_set
2348 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2349 eval ac_new_val=\$ac_env_${ac_var}_value
2350 case $ac_old_set,$ac_new_set in
2351 set,)
2352 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354 ac_cache_corrupted=: ;;
2355 ,set)
2356 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358 ac_cache_corrupted=: ;;
2359 ,);;
2360 *)
2361 if test "x$ac_old_val" != "x$ac_new_val"; then
2362 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2363 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2365 echo "$as_me: former value: $ac_old_val" >&2;}
2366 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2367 echo "$as_me: current value: $ac_new_val" >&2;}
2368 ac_cache_corrupted=:
2369 fi;;
2370 esac
2371 # Pass precious variables to config.status.
2372 if test "$ac_new_set" = set; then
2373 case $ac_new_val in
2374 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2375 *) ac_arg=$ac_var=$ac_new_val ;;
2376 esac
2377 case " $ac_configure_args " in
2378 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2379 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2380 esac
2381 fi
2382 done
2383 if $ac_cache_corrupted; then
2384 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2385 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2387 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2388 { (exit 1); exit 1; }; }
2389 fi
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415 ac_ext=c
2416 ac_cpp='$CPP $CPPFLAGS'
2417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2420
2421
2422
2423
2424
2425 ac_aux_dir=
2426 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2428 ac_aux_dir=$ac_dir
2429 ac_install_sh="$ac_aux_dir/install-sh -c"
2430 break
2431 elif test -f "$ac_dir/install.sh"; then
2432 ac_aux_dir=$ac_dir
2433 ac_install_sh="$ac_aux_dir/install.sh -c"
2434 break
2435 elif test -f "$ac_dir/shtool"; then
2436 ac_aux_dir=$ac_dir
2437 ac_install_sh="$ac_aux_dir/shtool install -c"
2438 break
2439 fi
2440 done
2441 if test -z "$ac_aux_dir"; then
2442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2443 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2444 { (exit 1); exit 1; }; }
2445 fi
2446
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454
2455
2456 # Make sure we can run config.sub.
2457 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2458 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2459 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2460 { (exit 1); exit 1; }; }
2461
2462 { echo "$as_me:$LINENO: checking build system type" >&5
2463 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_build+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 else
2467 ac_build_alias=$build_alias
2468 test "x$ac_build_alias" = x &&
2469 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x &&
2471 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2472 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2473 { (exit 1); exit 1; }; }
2474 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2478
2479 fi
2480 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2481 echo "${ECHO_T}$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2483 *-*-*) ;;
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2485 echo "$as_me: error: invalid value of canonical build" >&2;}
2486 { (exit 1); exit 1; }; };;
2487 esac
2488 build=$ac_cv_build
2489 ac_save_IFS=$IFS; IFS='-'
2490 set x $ac_cv_build
2491 shift
2492 build_cpu=$1
2493 build_vendor=$2
2494 shift; shift
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2497 build_os=$*
2498 IFS=$ac_save_IFS
2499 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500
2501
2502 { echo "$as_me:$LINENO: checking host system type" >&5
2503 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_host+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 else
2507 if test "x$host_alias" = x; then
2508 ac_cv_host=$ac_cv_build
2509 else
2510 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514 fi
2515
2516 fi
2517 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2518 echo "${ECHO_T}$ac_cv_host" >&6; }
2519 case $ac_cv_host in
2520 *-*-*) ;;
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2522 echo "$as_me: error: invalid value of canonical host" >&2;}
2523 { (exit 1); exit 1; }; };;
2524 esac
2525 host=$ac_cv_host
2526 ac_save_IFS=$IFS; IFS='-'
2527 set x $ac_cv_host
2528 shift
2529 host_cpu=$1
2530 host_vendor=$2
2531 shift; shift
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2534 host_os=$*
2535 IFS=$ac_save_IFS
2536 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2537
2538
2539 { echo "$as_me:$LINENO: checking target system type" >&5
2540 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2541 if test "${ac_cv_target+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 else
2544 if test "x$target_alias" = x; then
2545 ac_cv_target=$ac_cv_host
2546 else
2547 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2548 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2549 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2550 { (exit 1); exit 1; }; }
2551 fi
2552
2553 fi
2554 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2555 echo "${ECHO_T}$ac_cv_target" >&6; }
2556 case $ac_cv_target in
2557 *-*-*) ;;
2558 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2559 echo "$as_me: error: invalid value of canonical target" >&2;}
2560 { (exit 1); exit 1; }; };;
2561 esac
2562 target=$ac_cv_target
2563 ac_save_IFS=$IFS; IFS='-'
2564 set x $ac_cv_target
2565 shift
2566 target_cpu=$1
2567 target_vendor=$2
2568 shift; shift
2569 # Remember, the first character of IFS is used to create $*,
2570 # except with old shells:
2571 target_os=$*
2572 IFS=$ac_save_IFS
2573 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2574
2575
2576 # The aliases save the names the user supplied, while $host etc.
2577 # will get canonicalized.
2578 test -n "$target_alias" &&
2579 test "$program_prefix$program_suffix$program_transform_name" = \
2580 NONENONEs,x,x, &&
2581 program_prefix=${target_alias}-
2582
2583
2584
2585 wx_major_version_number=2
2586 wx_minor_version_number=9
2587 wx_release_number=0
2588 wx_subrelease_number=0
2589
2590 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2591 WX_VERSION=$WX_RELEASE.$wx_release_number
2592 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2593
2594 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2595
2596
2597 wx_top_builddir="`pwd`"
2598
2599
2600
2601
2602 USE_UNIX=1
2603 USE_OS2=0
2604 USE_WIN32=0
2605 USE_DOS=0
2606 USE_BEOS=0
2607 USE_MAC=0
2608
2609 USE_AIX=
2610 USE_BSD= USE_DARWIN= USE_FREEBSD=
2611 USE_GNU= USE_HPUX=
2612 USE_LINUX=
2613 USE_NETBSD=
2614 USE_OPENBSD=
2615 USE_OSF= USE_SGI=
2616 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2617 USE_ULTRIX=
2618 USE_UNIXWARE=
2619
2620 USE_ALPHA=
2621
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2623
2624 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2625
2626 DEFAULT_wxUSE_COCOA=0
2627 DEFAULT_wxUSE_GTK=0
2628 DEFAULT_wxUSE_OSX_CARBON=0
2629 DEFAULT_wxUSE_OSX_COCOA=0
2630 DEFAULT_wxUSE_MGL=0
2631 DEFAULT_wxUSE_MICROWIN=0
2632 DEFAULT_wxUSE_MOTIF=0
2633 DEFAULT_wxUSE_MSW=0
2634 DEFAULT_wxUSE_PM=0
2635 DEFAULT_wxUSE_X11=0
2636 DEFAULT_wxUSE_DFB=0
2637
2638 DEFAULT_DEFAULT_wxUSE_COCOA=0
2639 DEFAULT_DEFAULT_wxUSE_GTK=0
2640 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2642 DEFAULT_DEFAULT_wxUSE_MGL=0
2643 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2644 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2645 DEFAULT_DEFAULT_wxUSE_MSW=0
2646 DEFAULT_DEFAULT_wxUSE_PM=0
2647 DEFAULT_DEFAULT_wxUSE_X11=0
2648 DEFAULT_DEFAULT_wxUSE_DFB=0
2649
2650 PROGRAM_EXT=
2651 SAMPLES_RPATH_FLAG=
2652 SAMPLES_RPATH_POSTLINK=
2653
2654 DEFAULT_STD_FLAG=yes
2655
2656 case "${host}" in
2657 *-hp-hpux* )
2658 USE_HPUX=1
2659 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2660 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __HPUX__ 1
2663 _ACEOF
2664
2665
2666 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2667 ;;
2668 *-*-linux* )
2669 USE_LINUX=1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __LINUX__ 1
2672 _ACEOF
2673
2674 TMP=`uname -m`
2675 if test "x$TMP" = "xalpha"; then
2676 USE_ALPHA=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __ALPHA__ 1
2679 _ACEOF
2680
2681 fi
2682 DEFAULT_DEFAULT_wxUSE_GTK=1
2683 ;;
2684 *-*-gnu* | *-*-k*bsd*-gnu )
2685 USE_GNU=1
2686 TMP=`uname -m`
2687 if test "x$TMP" = "xalpha"; then
2688 USE_ALPHA=1
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __ALPHA__ 1
2691 _ACEOF
2692
2693 fi
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 ;;
2696 *-*-irix5* | *-*-irix6* )
2697 USE_SGI=1
2698 USE_SVR4=1
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __SGI__ 1
2701 _ACEOF
2702
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __SVR4__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2708 ;;
2709 *-*-solaris2* )
2710 USE_SUN=1
2711 USE_SOLARIS=1
2712 USE_SVR4=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __SUN__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __SOLARIS__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __SVR4__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2727 ;;
2728 *-*-sunos4* )
2729 USE_SUN=1
2730 USE_SUNOS=1
2731 USE_BSD=1
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __SUN__ 1
2734 _ACEOF
2735
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __SUNOS__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2745 ;;
2746 *-*-freebsd*)
2747 USE_BSD=1
2748 USE_FREEBSD=1
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __FREEBSD__ 1
2751 _ACEOF
2752
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __BSD__ 1
2755 _ACEOF
2756
2757 DEFAULT_DEFAULT_wxUSE_GTK=1
2758 ;;
2759 *-*-openbsd*|*-*-mirbsd*)
2760 USE_BSD=1
2761 USE_OPENBSD=1
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __OPENBSD__ 1
2764 _ACEOF
2765
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __BSD__ 1
2768 _ACEOF
2769
2770 DEFAULT_DEFAULT_wxUSE_GTK=1
2771 ;;
2772 *-*-netbsd*)
2773 USE_BSD=1
2774 USE_NETBSD=1
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __NETBSD__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __BSD__ 1
2781 _ACEOF
2782
2783 DEFAULT_DEFAULT_wxUSE_GTK=1
2784 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2785
2786 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2787 ;;
2788 *-*-osf* )
2789 USE_ALPHA=1
2790 USE_OSF=1
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __ALPHA__ 1
2793 _ACEOF
2794
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __OSF__ 1
2797 _ACEOF
2798
2799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2800 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2801 ;;
2802 *-*-dgux5* )
2803 USE_ALPHA=1
2804 USE_SVR4=1
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __ALPHA__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __SVR4__ 1
2811 _ACEOF
2812
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2814 ;;
2815 *-*-sysv5* )
2816 USE_SYSV=1
2817 USE_SVR4=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __SYSV__ 1
2820 _ACEOF
2821
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __SVR4__ 1
2824 _ACEOF
2825
2826 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2827 ;;
2828 *-*-aix* )
2829 USE_AIX=1
2830 USE_SYSV=1
2831 USE_SVR4=1
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __AIX__ 1
2834 _ACEOF
2835
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __SYSV__ 1
2838 _ACEOF
2839
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __SVR4__ 1
2842 _ACEOF
2843
2844 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2845 ;;
2846
2847 *-*-*UnixWare*)
2848 USE_SYSV=1
2849 USE_SVR4=1
2850 USE_UNIXWARE=1
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __UNIXWARE__ 1
2853 _ACEOF
2854
2855 ;;
2856
2857 *-*-cygwin* | *-*-mingw32* )
2858 PROGRAM_EXT=".exe"
2859 DEFAULT_DEFAULT_wxUSE_MSW=1
2860 ;;
2861
2862 *-pc-msdosdjgpp )
2863 USE_UNIX=0
2864 USE_DOS=1
2865 cat >>confdefs.h <<\_ACEOF
2866 #define __DOS__ 1
2867 _ACEOF
2868
2869 PROGRAM_EXT=".exe"
2870 DEFAULT_DEFAULT_wxUSE_MGL=1
2871 ;;
2872
2873 *-pc-os2_emx | *-pc-os2-emx )
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __EMX__ 1
2876 _ACEOF
2877
2878 USE_OS2=1
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __OS2__ 1
2881 _ACEOF
2882
2883 PROGRAM_EXT=".exe"
2884 DEFAULT_DEFAULT_wxUSE_PM=1
2885 CXX=gcc
2886 LDFLAGS="$LDFLAGS -Zcrtdll"
2887 ac_executable_extensions=".exe"
2888 export ac_executable_extensions
2889 ac_save_IFS="$IFS"
2890 IFS='\\'
2891 ac_TEMP_PATH=
2892 for ac_dir in $PATH; do
2893 IFS=$ac_save_IFS
2894 if test -z "$ac_TEMP_PATH"; then
2895 ac_TEMP_PATH="$ac_dir"
2896 else
2897 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2898 fi
2899 done
2900 export PATH="$ac_TEMP_PATH"
2901 unset ac_TEMP_PATH
2902 DEFAULT_STD_FLAG=no
2903 ;;
2904
2905 *-*-darwin* )
2906 USE_BSD=1
2907 USE_DARWIN=1
2908 cat >>confdefs.h <<\_ACEOF
2909 #define __BSD__ 1
2910 _ACEOF
2911
2912 cat >>confdefs.h <<\_ACEOF
2913 #define __DARWIN__ 1
2914 _ACEOF
2915
2916 cat >>confdefs.h <<\_ACEOF
2917 #define TARGET_CARBON 1
2918 _ACEOF
2919
2920 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2921 DEFAULT_STD_FLAG=no
2922 ;;
2923 powerpc-apple-macos* )
2924 USE_UNIX=0
2925 ac_cv_c_bigendian=yes
2926 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2927 DEFAULT_STD_FLAG=no
2928 ;;
2929
2930 *-*-beos* )
2931 USE_BEOS=1
2932 cat >>confdefs.h <<\_ACEOF
2933 #define __BEOS__ 1
2934 _ACEOF
2935
2936 ;;
2937
2938 *)
2939 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2940 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2941 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2942 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2943
2944 DEFAULT_DEFAULT_wxUSE_X11=1
2945 DEFAULT_wxUSE_SHARED=no
2946 esac
2947
2948
2949
2950 DEFAULT_wxUSE_ALL_FEATURES=yes
2951
2952 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2953 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2954
2955 DEFAULT_wxUSE_DMALLOC=no
2956 DEFAULT_wxUSE_LIBGNOMEVFS=no
2957 DEFAULT_wxUSE_LIBHILDON=no
2958 DEFAULT_wxUSE_LIBMSPACK=no
2959 DEFAULT_wxUSE_LIBSDL=no
2960
2961 DEFAULT_wxUSE_ACCESSIBILITY=no
2962 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2963 DEFAULT_wxUSE_IPV6=no
2964 DEFAULT_wxUSE_GSTREAMER8=no
2965
2966 DEFAULT_wxUSE_UNICODE_UTF8=auto
2967 DEFAULT_wxUSE_OPENGL=auto
2968 DEFAULT_wxUSE_MEDIACTRL=auto
2969
2970 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2971
2972 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2973
2974 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2975
2976 DEFAULT_wxUSE_GTK2=yes
2977
2978 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2979
2980
2981
2982
2983
2984 enablestring=disable
2985 defaultval=
2986 if test -z "$defaultval"; then
2987 if test x"$enablestring" = xdisable; then
2988 defaultval=yes
2989 else
2990 defaultval=no
2991 fi
2992 fi
2993
2994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2995 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2996 # Check whether --enable-gui was given.
2997 if test "${enable_gui+set}" = set; then
2998 enableval=$enable_gui;
2999 if test "$enableval" = yes; then
3000 wx_cv_use_gui='wxUSE_GUI=yes'
3001 else
3002 wx_cv_use_gui='wxUSE_GUI=no'
3003 fi
3004
3005 else
3006
3007 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3008
3009 fi
3010
3011
3012 eval "$wx_cv_use_gui"
3013
3014 if test x"$enablestring" = xdisable; then
3015 if test $wxUSE_GUI = yes; then
3016 result=no
3017 else
3018 result=yes
3019 fi
3020 else
3021 result=$wxUSE_GUI
3022 fi
3023
3024 { echo "$as_me:$LINENO: result: $result" >&5
3025 echo "${ECHO_T}$result" >&6; }
3026
3027
3028 enablestring=
3029 defaultval=
3030 if test -z "$defaultval"; then
3031 if test x"$enablestring" = xdisable; then
3032 defaultval=yes
3033 else
3034 defaultval=no
3035 fi
3036 fi
3037
3038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3039 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3040 # Check whether --enable-monolithic was given.
3041 if test "${enable_monolithic+set}" = set; then
3042 enableval=$enable_monolithic;
3043 if test "$enableval" = yes; then
3044 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3045 else
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3047 fi
3048
3049 else
3050
3051 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3052
3053 fi
3054
3055
3056 eval "$wx_cv_use_monolithic"
3057
3058 if test x"$enablestring" = xdisable; then
3059 if test $wxUSE_MONOLITHIC = yes; then
3060 result=no
3061 else
3062 result=yes
3063 fi
3064 else
3065 result=$wxUSE_MONOLITHIC
3066 fi
3067
3068 { echo "$as_me:$LINENO: result: $result" >&5
3069 echo "${ECHO_T}$result" >&6; }
3070
3071
3072 enablestring=
3073 defaultval=
3074 if test -z "$defaultval"; then
3075 if test x"$enablestring" = xdisable; then
3076 defaultval=yes
3077 else
3078 defaultval=no
3079 fi
3080 fi
3081
3082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3083 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3084 # Check whether --enable-plugins was given.
3085 if test "${enable_plugins+set}" = set; then
3086 enableval=$enable_plugins;
3087 if test "$enableval" = yes; then
3088 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3089 else
3090 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3091 fi
3092
3093 else
3094
3095 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3096
3097 fi
3098
3099
3100 eval "$wx_cv_use_plugins"
3101
3102 if test x"$enablestring" = xdisable; then
3103 if test $wxUSE_PLUGINS = yes; then
3104 result=no
3105 else
3106 result=yes
3107 fi
3108 else
3109 result=$wxUSE_PLUGINS
3110 fi
3111
3112 { echo "$as_me:$LINENO: result: $result" >&5
3113 echo "${ECHO_T}$result" >&6; }
3114
3115
3116 withstring=without
3117 defaultval=$wxUSE_ALL_FEATURES
3118 if test -z "$defaultval"; then
3119 if test x"$withstring" = xwithout; then
3120 defaultval=yes
3121 else
3122 defaultval=no
3123 fi
3124 fi
3125 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3127
3128 # Check whether --with-subdirs was given.
3129 if test "${with_subdirs+set}" = set; then
3130 withval=$with_subdirs;
3131 if test "$withval" = yes; then
3132 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3133 else
3134 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3135 fi
3136
3137 else
3138
3139 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3140
3141 fi
3142
3143
3144 eval "$wx_cv_use_subdirs"
3145
3146 if test x"$withstring" = xwithout; then
3147 if test $wxWITH_SUBDIRS = yes; then
3148 result=no
3149 else
3150 result=yes
3151 fi
3152 else
3153 result=$wxWITH_SUBDIRS
3154 fi
3155
3156 { echo "$as_me:$LINENO: result: $result" >&5
3157 echo "${ECHO_T}$result" >&6; }
3158
3159
3160 # Check whether --with-flavour was given.
3161 if test "${with_flavour+set}" = set; then
3162 withval=$with_flavour; WX_FLAVOUR="$withval"
3163 fi
3164
3165
3166 enablestring=
3167 defaultval=
3168 if test -z "$defaultval"; then
3169 if test x"$enablestring" = xdisable; then
3170 defaultval=yes
3171 else
3172 defaultval=no
3173 fi
3174 fi
3175
3176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3177 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3178 # Check whether --enable-official_build was given.
3179 if test "${enable_official_build+set}" = set; then
3180 enableval=$enable_official_build;
3181 if test "$enableval" = yes; then
3182 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3183 else
3184 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3185 fi
3186
3187 else
3188
3189 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3190
3191 fi
3192
3193
3194 eval "$wx_cv_use_official_build"
3195
3196 if test x"$enablestring" = xdisable; then
3197 if test $wxUSE_OFFICIAL_BUILD = yes; then
3198 result=no
3199 else
3200 result=yes
3201 fi
3202 else
3203 result=$wxUSE_OFFICIAL_BUILD
3204 fi
3205
3206 { echo "$as_me:$LINENO: result: $result" >&5
3207 echo "${ECHO_T}$result" >&6; }
3208
3209 # Check whether --enable-vendor was given.
3210 if test "${enable_vendor+set}" = set; then
3211 enableval=$enable_vendor; VENDOR="$enableval"
3212 fi
3213
3214 if test "x$VENDOR" = "x"; then
3215 VENDOR="custom"
3216 fi
3217
3218
3219 enablestring=disable
3220 defaultval=
3221 if test -z "$defaultval"; then
3222 if test x"$enablestring" = xdisable; then
3223 defaultval=yes
3224 else
3225 defaultval=no
3226 fi
3227 fi
3228
3229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3230 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3231 # Check whether --enable-all-features was given.
3232 if test "${enable_all_features+set}" = set; then
3233 enableval=$enable_all_features;
3234 if test "$enableval" = yes; then
3235 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3236 else
3237 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3238 fi
3239
3240 else
3241
3242 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3243
3244 fi
3245
3246
3247 eval "$wx_cv_use_all_features"
3248
3249 if test x"$enablestring" = xdisable; then
3250 if test $wxUSE_ALL_FEATURES = yes; then
3251 result=no
3252 else
3253 result=yes
3254 fi
3255 else
3256 result=$wxUSE_ALL_FEATURES
3257 fi
3258
3259 { echo "$as_me:$LINENO: result: $result" >&5
3260 echo "${ECHO_T}$result" >&6; }
3261
3262
3263
3264 if test "$wxUSE_GUI" = "yes"; then
3265
3266
3267 enablestring=
3268 defaultval=
3269 if test -z "$defaultval"; then
3270 if test x"$enablestring" = xdisable; then
3271 defaultval=yes
3272 else
3273 defaultval=no
3274 fi
3275 fi
3276
3277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3278 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3279 # Check whether --enable-universal was given.
3280 if test "${enable_universal+set}" = set; then
3281 enableval=$enable_universal;
3282 if test "$enableval" = yes; then
3283 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3284 else
3285 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3286 fi
3287
3288 else
3289
3290 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3291
3292 fi
3293
3294
3295 eval "$wx_cv_use_universal"
3296
3297 if test x"$enablestring" = xdisable; then
3298 if test $wxUSE_UNIVERSAL = yes; then
3299 result=no
3300 else
3301 result=yes
3302 fi
3303 else
3304 result=$wxUSE_UNIVERSAL
3305 fi
3306
3307 { echo "$as_me:$LINENO: result: $result" >&5
3308 echo "${ECHO_T}$result" >&6; }
3309
3310 if test "$wxUSE_UNIVERSAL" = "yes"; then
3311
3312 # Check whether --with-themes was given.
3313 if test "${with_themes+set}" = set; then
3314 withval=$with_themes; wxUNIV_THEMES="$withval"
3315 fi
3316
3317 fi
3318
3319
3320 # Check whether --with-gtk was given.
3321 if test "${with_gtk+set}" = set; then
3322 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3323 fi
3324
3325
3326 # Check whether --with-motif was given.
3327 if test "${with_motif+set}" = set; then
3328 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3329 fi
3330
3331
3332 # Check whether --with-osx_carbon was given.
3333 if test "${with_osx_carbon+set}" = set; then
3334 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3335 fi
3336
3337
3338 # Check whether --with-osx_cocoa was given.
3339 if test "${with_osx_cocoa+set}" = set; then
3340 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3341 fi
3342
3343
3344 # Check whether --with-mac was given.
3345 if test "${with_mac+set}" = set; then
3346 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-cocoa was given.
3351 if test "${with_cocoa+set}" = set; then
3352 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 # Check whether --with-wine was given.
3357 if test "${with_wine+set}" = set; then
3358 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3359 fi
3360
3361
3362 # Check whether --with-msw was given.
3363 if test "${with_msw+set}" = set; then
3364 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3365 fi
3366
3367
3368 # Check whether --with-pm was given.
3369 if test "${with_pm+set}" = set; then
3370 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3371 fi
3372
3373
3374 # Check whether --with-mgl was given.
3375 if test "${with_mgl+set}" = set; then
3376 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3377 fi
3378
3379
3380 # Check whether --with-directfb was given.
3381 if test "${with_directfb+set}" = set; then
3382 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3383 fi
3384
3385
3386 # Check whether --with-microwin was given.
3387 if test "${with_microwin+set}" = set; then
3388 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3389 fi
3390
3391
3392 # Check whether --with-x11 was given.
3393 if test "${with_x11+set}" = set; then
3394 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3395 fi
3396
3397
3398 enablestring=
3399 defaultval=
3400 if test -z "$defaultval"; then
3401 if test x"$enablestring" = xdisable; then
3402 defaultval=yes
3403 else
3404 defaultval=no
3405 fi
3406 fi
3407
3408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3409 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3410 # Check whether --enable-nanox was given.
3411 if test "${enable_nanox+set}" = set; then
3412 enableval=$enable_nanox;
3413 if test "$enableval" = yes; then
3414 wx_cv_use_nanox='wxUSE_NANOX=yes'
3415 else
3416 wx_cv_use_nanox='wxUSE_NANOX=no'
3417 fi
3418
3419 else
3420
3421 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3422
3423 fi
3424
3425
3426 eval "$wx_cv_use_nanox"
3427
3428 if test x"$enablestring" = xdisable; then
3429 if test $wxUSE_NANOX = yes; then
3430 result=no
3431 else
3432 result=yes
3433 fi
3434 else
3435 result=$wxUSE_NANOX
3436 fi
3437
3438 { echo "$as_me:$LINENO: result: $result" >&5
3439 echo "${ECHO_T}$result" >&6; }
3440
3441
3442 # Check whether --enable-gtk2 was given.
3443 if test "${enable_gtk2+set}" = set; then
3444 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3445 fi
3446
3447
3448 enablestring=
3449 defaultval=
3450 if test -z "$defaultval"; then
3451 if test x"$enablestring" = xdisable; then
3452 defaultval=yes
3453 else
3454 defaultval=no
3455 fi
3456 fi
3457
3458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3459 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3460 # Check whether --enable-gpe was given.
3461 if test "${enable_gpe+set}" = set; then
3462 enableval=$enable_gpe;
3463 if test "$enableval" = yes; then
3464 wx_cv_use_gpe='wxUSE_GPE=yes'
3465 else
3466 wx_cv_use_gpe='wxUSE_GPE=no'
3467 fi
3468
3469 else
3470
3471 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3472
3473 fi
3474
3475
3476 eval "$wx_cv_use_gpe"
3477
3478 if test x"$enablestring" = xdisable; then
3479 if test $wxUSE_GPE = yes; then
3480 result=no
3481 else
3482 result=yes
3483 fi
3484 else
3485 result=$wxUSE_GPE
3486 fi
3487
3488 { echo "$as_me:$LINENO: result: $result" >&5
3489 echo "${ECHO_T}$result" >&6; }
3490
3491
3492
3493 { echo "$as_me:$LINENO: checking for toolkit" >&5
3494 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3495
3496
3497
3498 # In Wine, we need to default to MSW, not GTK or MOTIF
3499 if test "$wxUSE_WINE" = "yes"; then
3500 DEFAULT_DEFAULT_wxUSE_GTK=0
3501 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3502 DEFAULT_DEFAULT_wxUSE_MSW=1
3503 wxUSE_SHARED=no
3504 CC=${CC:-winegcc}
3505 CXX=${CXX:-wineg++}
3506 fi
3507
3508
3509 if test "$wxUSE_GUI" = "yes"; then
3510
3511 if test "$USE_BEOS" = 1; then
3512 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3513 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3514 { (exit 1); exit 1; }; }
3515 fi
3516
3517 if test "$TOOLKIT_GIVEN" = 1; then
3518 for toolkit in $ALL_TOOLKITS; do
3519 var=wxUSE_$toolkit
3520 eval "value=\$${var}"
3521 if test "x$value" = "xno"; then
3522 eval "$var=0"
3523 elif test "x$value" != "x"; then
3524 eval "$var=1"
3525 fi
3526
3527 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3528 eval "wx${toolkit}_VERSION=$value"
3529 fi
3530 done
3531 else
3532 for toolkit in $ALL_TOOLKITS; do
3533 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3534 eval "wxUSE_$toolkit=\$${var}"
3535 done
3536 fi
3537
3538 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3539 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3540 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3541
3542 case "${host}" in
3543 *-pc-os2_emx | *-pc-os2-emx )
3544 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3545 esac
3546
3547 case "$NUM_TOOLKITS" in
3548 1)
3549 ;;
3550 0)
3551 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3552 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3553 { (exit 1); exit 1; }; }
3554 ;;
3555 *)
3556 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3557 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3558 { (exit 1); exit 1; }; }
3559 esac
3560
3561 # to be removed when --disable-gtk2 isn't needed
3562 if test "x$wxUSE_GTK2" = "xyes"; then
3563 wxGTK_VERSION=2
3564 elif test "x$wxUSE_GTK2" = "xno"; then
3565 wxGTK_VERSION=1
3566 fi
3567
3568 for toolkit in $ALL_TOOLKITS; do
3569 var=wxUSE_$toolkit
3570 eval "value=\$${var}"
3571 if test "$value" = 1; then
3572 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3573 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3574 echo "${ECHO_T}$toolkit_echo" >&6; }
3575 fi
3576 done
3577 else
3578 if test "x$host_alias" != "x"; then
3579 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3580 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3581 else
3582 { echo "$as_me:$LINENO: result: base only" >&5
3583 echo "${ECHO_T}base only" >&6; }
3584 fi
3585 fi
3586
3587 wxUSE_MAC=0
3588 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3589 wxUSE_MAC=1
3590 fi
3591
3592
3593
3594 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3595 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3596
3597 # Check whether --with-libpng was given.
3598 if test "${with_libpng+set}" = set; then
3599 withval=$with_libpng;
3600 if test "$withval" = yes; then
3601 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3602 elif test "$withval" = no; then
3603 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3604 elif test "$withval" = sys; then
3605 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3606 elif test "$withval" = builtin; then
3607 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3608 else
3609 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3610 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3611 { (exit 1); exit 1; }; }
3612 fi
3613
3614 else
3615
3616 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3617
3618 fi
3619
3620
3621 eval "$wx_cv_use_libpng"
3622
3623 if test "$wxUSE_LIBPNG" = yes; then
3624 { echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6; }
3626 elif test "$wxUSE_LIBPNG" = no; then
3627 { echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6; }
3629 elif test "$wxUSE_LIBPNG" = sys; then
3630 { echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6; }
3632 elif test "$wxUSE_LIBPNG" = builtin; then
3633 { echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6; }
3635 else
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3639 fi
3640
3641
3642 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3643 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3644
3645 # Check whether --with-libjpeg was given.
3646 if test "${with_libjpeg+set}" = set; then
3647 withval=$with_libjpeg;
3648 if test "$withval" = yes; then
3649 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3650 elif test "$withval" = no; then
3651 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3652 elif test "$withval" = sys; then
3653 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3654 elif test "$withval" = builtin; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3656 else
3657 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3658 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3659 { (exit 1); exit 1; }; }
3660 fi
3661
3662 else
3663
3664 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3665
3666 fi
3667
3668
3669 eval "$wx_cv_use_libjpeg"
3670
3671 if test "$wxUSE_LIBJPEG" = yes; then
3672 { echo "$as_me:$LINENO: result: yes" >&5
3673 echo "${ECHO_T}yes" >&6; }
3674 elif test "$wxUSE_LIBJPEG" = no; then
3675 { echo "$as_me:$LINENO: result: no" >&5
3676 echo "${ECHO_T}no" >&6; }
3677 elif test "$wxUSE_LIBJPEG" = sys; then
3678 { echo "$as_me:$LINENO: result: system version" >&5
3679 echo "${ECHO_T}system version" >&6; }
3680 elif test "$wxUSE_LIBJPEG" = builtin; then
3681 { echo "$as_me:$LINENO: result: builtin version" >&5
3682 echo "${ECHO_T}builtin version" >&6; }
3683 else
3684 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3685 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3686 { (exit 1); exit 1; }; }
3687 fi
3688
3689
3690 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3691 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3692
3693 # Check whether --with-libtiff was given.
3694 if test "${with_libtiff+set}" = set; then
3695 withval=$with_libtiff;
3696 if test "$withval" = yes; then
3697 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3698 elif test "$withval" = no; then
3699 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3700 elif test "$withval" = sys; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3702 elif test "$withval" = builtin; then
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3704 else
3705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3706 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3707 { (exit 1); exit 1; }; }
3708 fi
3709
3710 else
3711
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3713
3714 fi
3715
3716
3717 eval "$wx_cv_use_libtiff"
3718
3719 if test "$wxUSE_LIBTIFF" = yes; then
3720 { echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6; }
3722 elif test "$wxUSE_LIBTIFF" = no; then
3723 { echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6; }
3725 elif test "$wxUSE_LIBTIFF" = sys; then
3726 { echo "$as_me:$LINENO: result: system version" >&5
3727 echo "${ECHO_T}system version" >&6; }
3728 elif test "$wxUSE_LIBTIFF" = builtin; then
3729 { echo "$as_me:$LINENO: result: builtin version" >&5
3730 echo "${ECHO_T}builtin version" >&6; }
3731 else
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3735 fi
3736
3737
3738 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3739 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3740
3741 # Check whether --with-libxpm was given.
3742 if test "${with_libxpm+set}" = set; then
3743 withval=$with_libxpm;
3744 if test "$withval" = yes; then
3745 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3746 elif test "$withval" = no; then
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3748 elif test "$withval" = sys; then
3749 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3750 elif test "$withval" = builtin; then
3751 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3752 else
3753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3754 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3755 { (exit 1); exit 1; }; }
3756 fi
3757
3758 else
3759
3760 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3761
3762 fi
3763
3764
3765 eval "$wx_cv_use_libxpm"
3766
3767 if test "$wxUSE_LIBXPM" = yes; then
3768 { echo "$as_me:$LINENO: result: yes" >&5
3769 echo "${ECHO_T}yes" >&6; }
3770 elif test "$wxUSE_LIBXPM" = no; then
3771 { echo "$as_me:$LINENO: result: no" >&5
3772 echo "${ECHO_T}no" >&6; }
3773 elif test "$wxUSE_LIBXPM" = sys; then
3774 { echo "$as_me:$LINENO: result: system version" >&5
3775 echo "${ECHO_T}system version" >&6; }
3776 elif test "$wxUSE_LIBXPM" = builtin; then
3777 { echo "$as_me:$LINENO: result: builtin version" >&5
3778 echo "${ECHO_T}builtin version" >&6; }
3779 else
3780 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3781 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3782 { (exit 1); exit 1; }; }
3783 fi
3784
3785
3786 withstring=
3787 defaultval=$wxUSE_ALL_FEATURES
3788 if test -z "$defaultval"; then
3789 if test x"$withstring" = xwithout; then
3790 defaultval=yes
3791 else
3792 defaultval=no
3793 fi
3794 fi
3795 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3796 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3797
3798 # Check whether --with-libiconv was given.
3799 if test "${with_libiconv+set}" = set; then
3800 withval=$with_libiconv;
3801 if test "$withval" = yes; then
3802 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3803 else
3804 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3805 fi
3806
3807 else
3808
3809 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3810
3811 fi
3812
3813
3814 eval "$wx_cv_use_libiconv"
3815
3816 if test x"$withstring" = xwithout; then
3817 if test $wxUSE_LIBICONV = yes; then
3818 result=no
3819 else
3820 result=yes
3821 fi
3822 else
3823 result=$wxUSE_LIBICONV
3824 fi
3825
3826 { echo "$as_me:$LINENO: result: $result" >&5
3827 echo "${ECHO_T}$result" >&6; }
3828
3829
3830 withstring=
3831 defaultval=$wxUSE_ALL_FEATURES
3832 if test -z "$defaultval"; then
3833 if test x"$withstring" = xwithout; then
3834 defaultval=yes
3835 else
3836 defaultval=no
3837 fi
3838 fi
3839 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3840 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3841
3842 # Check whether --with-libmspack was given.
3843 if test "${with_libmspack+set}" = set; then
3844 withval=$with_libmspack;
3845 if test "$withval" = yes; then
3846 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3847 else
3848 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3849 fi
3850
3851 else
3852
3853 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3854
3855 fi
3856
3857
3858 eval "$wx_cv_use_libmspack"
3859
3860 if test x"$withstring" = xwithout; then
3861 if test $wxUSE_LIBMSPACK = yes; then
3862 result=no
3863 else
3864 result=yes
3865 fi
3866 else
3867 result=$wxUSE_LIBMSPACK
3868 fi
3869
3870 { echo "$as_me:$LINENO: result: $result" >&5
3871 echo "${ECHO_T}$result" >&6; }
3872
3873
3874 withstring=without
3875 defaultval=$wxUSE_ALL_FEATURES
3876 if test -z "$defaultval"; then
3877 if test x"$withstring" = xwithout; then
3878 defaultval=yes
3879 else
3880 defaultval=no
3881 fi
3882 fi
3883 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3884 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3885
3886 # Check whether --with-gtkprint was given.
3887 if test "${with_gtkprint+set}" = set; then
3888 withval=$with_gtkprint;
3889 if test "$withval" = yes; then
3890 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3891 else
3892 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3893 fi
3894
3895 else
3896
3897 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3898
3899 fi
3900
3901
3902 eval "$wx_cv_use_gtkprint"
3903
3904 if test x"$withstring" = xwithout; then
3905 if test $wxUSE_GTKPRINT = yes; then
3906 result=no
3907 else
3908 result=yes
3909 fi
3910 else
3911 result=$wxUSE_GTKPRINT
3912 fi
3913
3914 { echo "$as_me:$LINENO: result: $result" >&5
3915 echo "${ECHO_T}$result" >&6; }
3916
3917
3918 withstring=without
3919 defaultval=$wxUSE_ALL_FEATURES
3920 if test -z "$defaultval"; then
3921 if test x"$withstring" = xwithout; then
3922 defaultval=yes
3923 else
3924 defaultval=no
3925 fi
3926 fi
3927 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3928 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3929
3930 # Check whether --with-gnomeprint was given.
3931 if test "${with_gnomeprint+set}" = set; then
3932 withval=$with_gnomeprint;
3933 if test "$withval" = yes; then
3934 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3935 else
3936 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3937 fi
3938
3939 else
3940
3941 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3942
3943 fi
3944
3945
3946 eval "$wx_cv_use_gnomeprint"
3947
3948 if test x"$withstring" = xwithout; then
3949 if test $wxUSE_LIBGNOMEPRINT = yes; then
3950 result=no
3951 else
3952 result=yes
3953 fi
3954 else
3955 result=$wxUSE_LIBGNOMEPRINT
3956 fi
3957
3958 { echo "$as_me:$LINENO: result: $result" >&5
3959 echo "${ECHO_T}$result" >&6; }
3960
3961
3962 withstring=
3963 defaultval=$wxUSE_ALL_FEATURES
3964 if test -z "$defaultval"; then
3965 if test x"$withstring" = xwithout; then
3966 defaultval=yes
3967 else
3968 defaultval=no
3969 fi
3970 fi
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3973
3974 # Check whether --with-gnomevfs was given.
3975 if test "${with_gnomevfs+set}" = set; then
3976 withval=$with_gnomevfs;
3977 if test "$withval" = yes; then
3978 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3979 else
3980 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3981 fi
3982
3983 else
3984
3985 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3986
3987 fi
3988
3989
3990 eval "$wx_cv_use_gnomevfs"
3991
3992 if test x"$withstring" = xwithout; then
3993 if test $wxUSE_LIBGNOMEVFS = yes; then
3994 result=no
3995 else
3996 result=yes
3997 fi
3998 else
3999 result=$wxUSE_LIBGNOMEVFS
4000 fi
4001
4002 { echo "$as_me:$LINENO: result: $result" >&5
4003 echo "${ECHO_T}$result" >&6; }
4004
4005
4006 withstring=
4007 defaultval=$wxUSE_ALL_FEATURES
4008 if test -z "$defaultval"; then
4009 if test x"$withstring" = xwithout; then
4010 defaultval=yes
4011 else
4012 defaultval=no
4013 fi
4014 fi
4015 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4016 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4017
4018 # Check whether --with-hildon was given.
4019 if test "${with_hildon+set}" = set; then
4020 withval=$with_hildon;
4021 if test "$withval" = yes; then
4022 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4023 else
4024 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4025 fi
4026
4027 else
4028
4029 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4030
4031 fi
4032
4033
4034 eval "$wx_cv_use_hildon"
4035
4036 if test x"$withstring" = xwithout; then
4037 if test $wxUSE_LIBHILDON = yes; then
4038 result=no
4039 else
4040 result=yes
4041 fi
4042 else
4043 result=$wxUSE_LIBHILDON
4044 fi
4045
4046 { echo "$as_me:$LINENO: result: $result" >&5
4047 echo "${ECHO_T}$result" >&6; }
4048
4049
4050 withstring=
4051 defaultval=$wxUSE_ALL_FEATURES
4052 if test -z "$defaultval"; then
4053 if test x"$withstring" = xwithout; then
4054 defaultval=yes
4055 else
4056 defaultval=no
4057 fi
4058 fi
4059 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4060 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4061
4062 # Check whether --with-opengl was given.
4063 if test "${with_opengl+set}" = set; then
4064 withval=$with_opengl;
4065 if test "$withval" = yes; then
4066 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4067 else
4068 wx_cv_use_opengl='wxUSE_OPENGL=no'
4069 fi
4070
4071 else
4072
4073 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4074
4075 fi
4076
4077
4078 eval "$wx_cv_use_opengl"
4079
4080 if test x"$withstring" = xwithout; then
4081 if test $wxUSE_OPENGL = yes; then
4082 result=no
4083 else
4084 result=yes
4085 fi
4086 else
4087 result=$wxUSE_OPENGL
4088 fi
4089
4090 { echo "$as_me:$LINENO: result: $result" >&5
4091 echo "${ECHO_T}$result" >&6; }
4092
4093
4094 fi
4095
4096
4097 withstring=
4098 defaultval=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x"$withstring" = xwithout; then
4101 defaultval=yes
4102 else
4103 defaultval=no
4104 fi
4105 fi
4106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4107 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4108
4109 # Check whether --with-dmalloc was given.
4110 if test "${with_dmalloc+set}" = set; then
4111 withval=$with_dmalloc;
4112 if test "$withval" = yes; then
4113 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4114 else
4115 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4116 fi
4117
4118 else
4119
4120 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4121
4122 fi
4123
4124
4125 eval "$wx_cv_use_dmalloc"
4126
4127 if test x"$withstring" = xwithout; then
4128 if test $wxUSE_DMALLOC = yes; then
4129 result=no
4130 else
4131 result=yes
4132 fi
4133 else
4134 result=$wxUSE_DMALLOC
4135 fi
4136
4137 { echo "$as_me:$LINENO: result: $result" >&5
4138 echo "${ECHO_T}$result" >&6; }
4139
4140
4141 withstring=
4142 defaultval=$wxUSE_ALL_FEATURES
4143 if test -z "$defaultval"; then
4144 if test x"$withstring" = xwithout; then
4145 defaultval=yes
4146 else
4147 defaultval=no
4148 fi
4149 fi
4150 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4151 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4152
4153 # Check whether --with-sdl was given.
4154 if test "${with_sdl+set}" = set; then
4155 withval=$with_sdl;
4156 if test "$withval" = yes; then
4157 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4158 else
4159 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4160 fi
4161
4162 else
4163
4164 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4165
4166 fi
4167
4168
4169 eval "$wx_cv_use_sdl"
4170
4171 if test x"$withstring" = xwithout; then
4172 if test $wxUSE_LIBSDL = yes; then
4173 result=no
4174 else
4175 result=yes
4176 fi
4177 else
4178 result=$wxUSE_LIBSDL
4179 fi
4180
4181 { echo "$as_me:$LINENO: result: $result" >&5
4182 echo "${ECHO_T}$result" >&6; }
4183
4184
4185 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4186 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4187
4188 # Check whether --with-regex was given.
4189 if test "${with_regex+set}" = set; then
4190 withval=$with_regex;
4191 if test "$withval" = yes; then
4192 wx_cv_use_regex='wxUSE_REGEX=yes'
4193 elif test "$withval" = no; then
4194 wx_cv_use_regex='wxUSE_REGEX=no'
4195 elif test "$withval" = sys; then
4196 wx_cv_use_regex='wxUSE_REGEX=sys'
4197 elif test "$withval" = builtin; then
4198 wx_cv_use_regex='wxUSE_REGEX=builtin'
4199 else
4200 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4201 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4202 { (exit 1); exit 1; }; }
4203 fi
4204
4205 else
4206
4207 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4208
4209 fi
4210
4211
4212 eval "$wx_cv_use_regex"
4213
4214 if test "$wxUSE_REGEX" = yes; then
4215 { echo "$as_me:$LINENO: result: yes" >&5
4216 echo "${ECHO_T}yes" >&6; }
4217 elif test "$wxUSE_REGEX" = no; then
4218 { echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6; }
4220 elif test "$wxUSE_REGEX" = sys; then
4221 { echo "$as_me:$LINENO: result: system version" >&5
4222 echo "${ECHO_T}system version" >&6; }
4223 elif test "$wxUSE_REGEX" = builtin; then
4224 { echo "$as_me:$LINENO: result: builtin version" >&5
4225 echo "${ECHO_T}builtin version" >&6; }
4226 else
4227 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4228 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4229 { (exit 1); exit 1; }; }
4230 fi
4231
4232
4233 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4234 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4235
4236 # Check whether --with-zlib was given.
4237 if test "${with_zlib+set}" = set; then
4238 withval=$with_zlib;
4239 if test "$withval" = yes; then
4240 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4241 elif test "$withval" = no; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=no'
4243 elif test "$withval" = sys; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4245 elif test "$withval" = builtin; then
4246 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4247 else
4248 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4249 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4250 { (exit 1); exit 1; }; }
4251 fi
4252
4253 else
4254
4255 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4256
4257 fi
4258
4259
4260 eval "$wx_cv_use_zlib"
4261
4262 if test "$wxUSE_ZLIB" = yes; then
4263 { echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6; }
4265 elif test "$wxUSE_ZLIB" = no; then
4266 { echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6; }
4268 elif test "$wxUSE_ZLIB" = sys; then
4269 { echo "$as_me:$LINENO: result: system version" >&5
4270 echo "${ECHO_T}system version" >&6; }
4271 elif test "$wxUSE_ZLIB" = builtin; then
4272 { echo "$as_me:$LINENO: result: builtin version" >&5
4273 echo "${ECHO_T}builtin version" >&6; }
4274 else
4275 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4276 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4277 { (exit 1); exit 1; }; }
4278 fi
4279
4280
4281 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4282 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4283
4284 # Check whether --with-expat was given.
4285 if test "${with_expat+set}" = set; then
4286 withval=$with_expat;
4287 if test "$withval" = yes; then
4288 wx_cv_use_expat='wxUSE_EXPAT=yes'
4289 elif test "$withval" = no; then
4290 wx_cv_use_expat='wxUSE_EXPAT=no'
4291 elif test "$withval" = sys; then
4292 wx_cv_use_expat='wxUSE_EXPAT=sys'
4293 elif test "$withval" = builtin; then
4294 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4295 else
4296 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4297 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4298 { (exit 1); exit 1; }; }
4299 fi
4300
4301 else
4302
4303 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4304
4305 fi
4306
4307
4308 eval "$wx_cv_use_expat"
4309
4310 if test "$wxUSE_EXPAT" = yes; then
4311 { echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6; }
4313 elif test "$wxUSE_EXPAT" = no; then
4314 { echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6; }
4316 elif test "$wxUSE_EXPAT" = sys; then
4317 { echo "$as_me:$LINENO: result: system version" >&5
4318 echo "${ECHO_T}system version" >&6; }
4319 elif test "$wxUSE_EXPAT" = builtin; then
4320 { echo "$as_me:$LINENO: result: builtin version" >&5
4321 echo "${ECHO_T}builtin version" >&6; }
4322 else
4323 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4324 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4325 { (exit 1); exit 1; }; }
4326 fi
4327
4328
4329 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4330 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4331
4332 # Check whether --with-macosx-sdk was given.
4333 if test "${with_macosx_sdk+set}" = set; then
4334 withval=$with_macosx_sdk;
4335 wxUSE_MACOSX_SDK=$withval
4336 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4337
4338 fi
4339
4340 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4341 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4342
4343 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4344 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4345
4346 # Check whether --with-macosx-version-min was given.
4347 if test "${with_macosx_version_min+set}" = set; then
4348 withval=$with_macosx_version_min;
4349 wxUSE_MACOSX_VERSION_MIN=$withval
4350 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4351
4352 fi
4353
4354 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4355 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4356
4357
4358
4359 enablestring=disable
4360 defaultval=
4361 if test -z "$defaultval"; then
4362 if test x"$enablestring" = xdisable; then
4363 defaultval=yes
4364 else
4365 defaultval=no
4366 fi
4367 fi
4368
4369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4371 # Check whether --enable-shared was given.
4372 if test "${enable_shared+set}" = set; then
4373 enableval=$enable_shared;
4374 if test "$enableval" = yes; then
4375 wx_cv_use_shared='wxUSE_SHARED=yes'
4376 else
4377 wx_cv_use_shared='wxUSE_SHARED=no'
4378 fi
4379
4380 else
4381
4382 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4383
4384 fi
4385
4386
4387 eval "$wx_cv_use_shared"
4388
4389 if test x"$enablestring" = xdisable; then
4390 if test $wxUSE_SHARED = yes; then
4391 result=no
4392 else
4393 result=yes
4394 fi
4395 else
4396 result=$wxUSE_SHARED
4397 fi
4398
4399 { echo "$as_me:$LINENO: result: $result" >&5
4400 echo "${ECHO_T}$result" >&6; }
4401
4402
4403 enablestring=
4404 defaultval=
4405 if test -z "$defaultval"; then
4406 if test x"$enablestring" = xdisable; then
4407 defaultval=yes
4408 else
4409 defaultval=no
4410 fi
4411 fi
4412
4413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4414 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4415 # Check whether --enable-debug was given.
4416 if test "${enable_debug+set}" = set; then
4417 enableval=$enable_debug;
4418 if test "$enableval" = yes; then
4419 wx_cv_use_debug='wxUSE_DEBUG=yes'
4420 else
4421 wx_cv_use_debug='wxUSE_DEBUG=no'
4422 fi
4423
4424 else
4425
4426 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4427
4428 fi
4429
4430
4431 eval "$wx_cv_use_debug"
4432
4433 if test x"$enablestring" = xdisable; then
4434 if test $wxUSE_DEBUG = yes; then
4435 result=no
4436 else
4437 result=yes
4438 fi
4439 else
4440 result=$wxUSE_DEBUG
4441 fi
4442
4443 { echo "$as_me:$LINENO: result: $result" >&5
4444 echo "${ECHO_T}$result" >&6; }
4445
4446
4447 enablestring=
4448 defaultval=
4449 if test -z "$defaultval"; then
4450 if test x"$enablestring" = xdisable; then
4451 defaultval=yes
4452 else
4453 defaultval=no
4454 fi
4455 fi
4456
4457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4458 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4459 # Check whether --enable-stl was given.
4460 if test "${enable_stl+set}" = set; then
4461 enableval=$enable_stl;
4462 if test "$enableval" = yes; then
4463 wx_cv_use_stl='wxUSE_STL=yes'
4464 else
4465 wx_cv_use_stl='wxUSE_STL=no'
4466 fi
4467
4468 else
4469
4470 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4471
4472 fi
4473
4474
4475 eval "$wx_cv_use_stl"
4476
4477 if test x"$enablestring" = xdisable; then
4478 if test $wxUSE_STL = yes; then
4479 result=no
4480 else
4481 result=yes
4482 fi
4483 else
4484 result=$wxUSE_STL
4485 fi
4486
4487 { echo "$as_me:$LINENO: result: $result" >&5
4488 echo "${ECHO_T}$result" >&6; }
4489
4490
4491 enablestring=
4492 defaultval=
4493 if test -z "$defaultval"; then
4494 if test x"$enablestring" = xdisable; then
4495 defaultval=yes
4496 else
4497 defaultval=no
4498 fi
4499 fi
4500
4501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4503 # Check whether --enable-std_iostreams was given.
4504 if test "${enable_std_iostreams+set}" = set; then
4505 enableval=$enable_std_iostreams;
4506 if test "$enableval" = yes; then
4507 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4508 else
4509 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4510 fi
4511
4512 else
4513
4514 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4515
4516 fi
4517
4518
4519 eval "$wx_cv_use_std_iostreams"
4520
4521 if test x"$enablestring" = xdisable; then
4522 if test $wxUSE_STD_IOSTREAM = yes; then
4523 result=no
4524 else
4525 result=yes
4526 fi
4527 else
4528 result=$wxUSE_STD_IOSTREAM
4529 fi
4530
4531 { echo "$as_me:$LINENO: result: $result" >&5
4532 echo "${ECHO_T}$result" >&6; }
4533
4534
4535 enablestring=
4536 defaultval=
4537 if test -z "$defaultval"; then
4538 if test x"$enablestring" = xdisable; then
4539 defaultval=yes
4540 else
4541 defaultval=no
4542 fi
4543 fi
4544
4545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4547 # Check whether --enable-std_string was given.
4548 if test "${enable_std_string+set}" = set; then
4549 enableval=$enable_std_string;
4550 if test "$enableval" = yes; then
4551 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4552 else
4553 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4554 fi
4555
4556 else
4557
4558 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4559
4560 fi
4561
4562
4563 eval "$wx_cv_use_std_string"
4564
4565 if test x"$enablestring" = xdisable; then
4566 if test $wxUSE_STD_STRING = yes; then
4567 result=no
4568 else
4569 result=yes
4570 fi
4571 else
4572 result=$wxUSE_STD_STRING
4573 fi
4574
4575 { echo "$as_me:$LINENO: result: $result" >&5
4576 echo "${ECHO_T}$result" >&6; }
4577
4578
4579 enablestring=disable
4580 defaultval=
4581 if test -z "$defaultval"; then
4582 if test x"$enablestring" = xdisable; then
4583 defaultval=yes
4584 else
4585 defaultval=no
4586 fi
4587 fi
4588
4589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4591 # Check whether --enable-unicode was given.
4592 if test "${enable_unicode+set}" = set; then
4593 enableval=$enable_unicode;
4594 if test "$enableval" = yes; then
4595 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4596 else
4597 wx_cv_use_unicode='wxUSE_UNICODE=no'
4598 fi
4599
4600 else
4601
4602 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4603
4604 fi
4605
4606
4607 eval "$wx_cv_use_unicode"
4608
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_UNICODE = yes; then
4611 result=no
4612 else
4613 result=yes
4614 fi
4615 else
4616 result=$wxUSE_UNICODE
4617 fi
4618
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4621
4622
4623 enablestring=
4624 defaultval=
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4627 defaultval=yes
4628 else
4629 defaultval=no
4630 fi
4631 fi
4632
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4635 # Check whether --enable-mslu was given.
4636 if test "${enable_mslu+set}" = set; then
4637 enableval=$enable_mslu;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4640 else
4641 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4642 fi
4643
4644 else
4645
4646 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4647
4648 fi
4649
4650
4651 eval "$wx_cv_use_mslu"
4652
4653 if test x"$enablestring" = xdisable; then
4654 if test $wxUSE_UNICODE_MSLU = yes; then
4655 result=no
4656 else
4657 result=yes
4658 fi
4659 else
4660 result=$wxUSE_UNICODE_MSLU
4661 fi
4662
4663 { echo "$as_me:$LINENO: result: $result" >&5
4664 echo "${ECHO_T}$result" >&6; }
4665
4666
4667 enablestring=
4668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4669 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4670 # Check whether --enable-utf8 was given.
4671 if test "${enable_utf8+set}" = set; then
4672 enableval=$enable_utf8;
4673 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4674
4675 else
4676
4677 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4678
4679 fi
4680
4681
4682 eval "$wx_cv_use_utf8"
4683
4684 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4685 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4686
4687
4688 enablestring=
4689 defaultval=
4690 if test -z "$defaultval"; then
4691 if test x"$enablestring" = xdisable; then
4692 defaultval=yes
4693 else
4694 defaultval=no
4695 fi
4696 fi
4697
4698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4700 # Check whether --enable-utf8only was given.
4701 if test "${enable_utf8only+set}" = set; then
4702 enableval=$enable_utf8only;
4703 if test "$enableval" = yes; then
4704 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4705 else
4706 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4707 fi
4708
4709 else
4710
4711 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4712
4713 fi
4714
4715
4716 eval "$wx_cv_use_utf8only"
4717
4718 if test x"$enablestring" = xdisable; then
4719 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4720 result=no
4721 else
4722 result=yes
4723 fi
4724 else
4725 result=$wxUSE_UNICODE_UTF8_LOCALE
4726 fi
4727
4728 { echo "$as_me:$LINENO: result: $result" >&5
4729 echo "${ECHO_T}$result" >&6; }
4730
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}-extended_rtti" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4744 # Check whether --enable-extended_rtti was given.
4745 if test "${enable_extended_rtti+set}" = set; then
4746 enableval=$enable_extended_rtti;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4749 else
4750 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4751 fi
4752
4753 else
4754
4755 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4756
4757 fi
4758
4759
4760 eval "$wx_cv_use_extended_rtti"
4761
4762 if test x"$enablestring" = xdisable; then
4763 if test $wxUSE_EXTENDED_RTTI = yes; then
4764 result=no
4765 else
4766 result=yes
4767 fi
4768 else
4769 result=$wxUSE_EXTENDED_RTTI
4770 fi
4771
4772 { echo "$as_me:$LINENO: result: $result" >&5
4773 echo "${ECHO_T}$result" >&6; }
4774
4775 if test "$USE_OS2" = 1; then
4776 DEFAULT_wxUSE_OMF=no
4777
4778 enablestring=
4779 defaultval=
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4782 defaultval=yes
4783 else
4784 defaultval=no
4785 fi
4786 fi
4787
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4790 # Check whether --enable-omf was given.
4791 if test "${enable_omf+set}" = set; then
4792 enableval=$enable_omf;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_omf='wxUSE_OMF=yes'
4795 else
4796 wx_cv_use_omf='wxUSE_OMF=no'
4797 fi
4798
4799 else
4800
4801 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4802
4803 fi
4804
4805
4806 eval "$wx_cv_use_omf"
4807
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_OMF = yes; then
4810 result=no
4811 else
4812 result=yes
4813 fi
4814 else
4815 result=$wxUSE_OMF
4816 fi
4817
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4820
4821 fi
4822
4823 if test "$wxUSE_DEBUG" = "yes"; then
4824 DEFAULT_wxUSE_DEBUG_FLAG=yes
4825 DEFAULT_wxUSE_DEBUG_INFO=yes
4826 BUILD=debug
4827 elif test "$wxUSE_DEBUG" = "no"; then
4828 DEFAULT_wxUSE_DEBUG_FLAG=no
4829 DEFAULT_wxUSE_DEBUG_INFO=no
4830 BUILD=release
4831 fi
4832
4833
4834 enablestring=
4835 defaultval=
4836 if test -z "$defaultval"; then
4837 if test x"$enablestring" = xdisable; then
4838 defaultval=yes
4839 else
4840 defaultval=no
4841 fi
4842 fi
4843
4844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4845 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4846 # Check whether --enable-debug_flag was given.
4847 if test "${enable_debug_flag+set}" = set; then
4848 enableval=$enable_debug_flag;
4849 if test "$enableval" = yes; then
4850 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4851 else
4852 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4853 fi
4854
4855 else
4856
4857 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4858
4859 fi
4860
4861
4862 eval "$wx_cv_use_debug_flag"
4863
4864 if test x"$enablestring" = xdisable; then
4865 if test $wxUSE_DEBUG_FLAG = yes; then
4866 result=no
4867 else
4868 result=yes
4869 fi
4870 else
4871 result=$wxUSE_DEBUG_FLAG
4872 fi
4873
4874 { echo "$as_me:$LINENO: result: $result" >&5
4875 echo "${ECHO_T}$result" >&6; }
4876
4877
4878 enablestring=
4879 defaultval=
4880 if test -z "$defaultval"; then
4881 if test x"$enablestring" = xdisable; then
4882 defaultval=yes
4883 else
4884 defaultval=no
4885 fi
4886 fi
4887
4888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4890 # Check whether --enable-debug_info was given.
4891 if test "${enable_debug_info+set}" = set; then
4892 enableval=$enable_debug_info;
4893 if test "$enableval" = yes; then
4894 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4895 else
4896 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4897 fi
4898
4899 else
4900
4901 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4902
4903 fi
4904
4905
4906 eval "$wx_cv_use_debug_info"
4907
4908 if test x"$enablestring" = xdisable; then
4909 if test $wxUSE_DEBUG_INFO = yes; then
4910 result=no
4911 else
4912 result=yes
4913 fi
4914 else
4915 result=$wxUSE_DEBUG_INFO
4916 fi
4917
4918 { echo "$as_me:$LINENO: result: $result" >&5
4919 echo "${ECHO_T}$result" >&6; }
4920
4921
4922 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4923 wxUSE_DEBUG=yes
4924 BUILD=debug
4925 fi
4926
4927 if test "$wxUSE_DEBUG" = "yes"; then
4928 DEFAULT_wxUSE_OPTIMISE=no
4929 fi
4930
4931
4932 enablestring=disable
4933 defaultval=
4934 if test -z "$defaultval"; then
4935 if test x"$enablestring" = xdisable; then
4936 defaultval=yes
4937 else
4938 defaultval=no
4939 fi
4940 fi
4941
4942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4944 # Check whether --enable-optimise was given.
4945 if test "${enable_optimise+set}" = set; then
4946 enableval=$enable_optimise;
4947 if test "$enableval" = yes; then
4948 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4949 else
4950 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4951 fi
4952
4953 else
4954
4955 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4956
4957 fi
4958
4959
4960 eval "$wx_cv_use_optimise"
4961
4962 if test x"$enablestring" = xdisable; then
4963 if test $wxUSE_OPTIMISE = yes; then
4964 result=no
4965 else
4966 result=yes
4967 fi
4968 else
4969 result=$wxUSE_OPTIMISE
4970 fi
4971
4972 { echo "$as_me:$LINENO: result: $result" >&5
4973 echo "${ECHO_T}$result" >&6; }
4974
4975
4976
4977 enablestring=
4978 defaultval=
4979 if test -z "$defaultval"; then
4980 if test x"$enablestring" = xdisable; then
4981 defaultval=yes
4982 else
4983 defaultval=no
4984 fi
4985 fi
4986
4987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4988 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4989 # Check whether --enable-debug_gdb was given.
4990 if test "${enable_debug_gdb+set}" = set; then
4991 enableval=$enable_debug_gdb;
4992 if test "$enableval" = yes; then
4993 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4994 else
4995 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4996 fi
4997
4998 else
4999
5000 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5001
5002 fi
5003
5004
5005 eval "$wx_cv_use_debug_gdb"
5006
5007 if test x"$enablestring" = xdisable; then
5008 if test $wxUSE_DEBUG_GDB = yes; then
5009 result=no
5010 else
5011 result=yes
5012 fi
5013 else
5014 result=$wxUSE_DEBUG_GDB
5015 fi
5016
5017 { echo "$as_me:$LINENO: result: $result" >&5
5018 echo "${ECHO_T}$result" >&6; }
5019
5020
5021 enablestring=
5022 defaultval=
5023 if test -z "$defaultval"; then
5024 if test x"$enablestring" = xdisable; then
5025 defaultval=yes
5026 else
5027 defaultval=no
5028 fi
5029 fi
5030
5031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5033 # Check whether --enable-debug_cntxt was given.
5034 if test "${enable_debug_cntxt+set}" = set; then
5035 enableval=$enable_debug_cntxt;
5036 if test "$enableval" = yes; then
5037 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5038 else
5039 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5040 fi
5041
5042 else
5043
5044 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5045
5046 fi
5047
5048
5049 eval "$wx_cv_use_debug_cntxt"
5050
5051 if test x"$enablestring" = xdisable; then
5052 if test $wxUSE_DEBUG_CONTEXT = yes; then
5053 result=no
5054 else
5055 result=yes
5056 fi
5057 else
5058 result=$wxUSE_DEBUG_CONTEXT
5059 fi
5060
5061 { echo "$as_me:$LINENO: result: $result" >&5
5062 echo "${ECHO_T}$result" >&6; }
5063
5064
5065 enablestring=
5066 defaultval=
5067 if test -z "$defaultval"; then
5068 if test x"$enablestring" = xdisable; then
5069 defaultval=yes
5070 else
5071 defaultval=no
5072 fi
5073 fi
5074
5075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5076 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5077 # Check whether --enable-mem_tracing was given.
5078 if test "${enable_mem_tracing+set}" = set; then
5079 enableval=$enable_mem_tracing;
5080 if test "$enableval" = yes; then
5081 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5082 else
5083 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5084 fi
5085
5086 else
5087
5088 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5089
5090 fi
5091
5092
5093 eval "$wx_cv_use_mem_tracing"
5094
5095 if test x"$enablestring" = xdisable; then
5096 if test $wxUSE_MEM_TRACING = yes; then
5097 result=no
5098 else
5099 result=yes
5100 fi
5101 else
5102 result=$wxUSE_MEM_TRACING
5103 fi
5104
5105 { echo "$as_me:$LINENO: result: $result" >&5
5106 echo "${ECHO_T}$result" >&6; }
5107
5108
5109 enablestring=
5110 defaultval=
5111 if test -z "$defaultval"; then
5112 if test x"$enablestring" = xdisable; then
5113 defaultval=yes
5114 else
5115 defaultval=no
5116 fi
5117 fi
5118
5119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5120 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5121 # Check whether --enable-profile was given.
5122 if test "${enable_profile+set}" = set; then
5123 enableval=$enable_profile;
5124 if test "$enableval" = yes; then
5125 wx_cv_use_profile='wxUSE_PROFILE=yes'
5126 else
5127 wx_cv_use_profile='wxUSE_PROFILE=no'
5128 fi
5129
5130 else
5131
5132 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5133
5134 fi
5135
5136
5137 eval "$wx_cv_use_profile"
5138
5139 if test x"$enablestring" = xdisable; then
5140 if test $wxUSE_PROFILE = yes; then
5141 result=no
5142 else
5143 result=yes
5144 fi
5145 else
5146 result=$wxUSE_PROFILE
5147 fi
5148
5149 { echo "$as_me:$LINENO: result: $result" >&5
5150 echo "${ECHO_T}$result" >&6; }
5151
5152
5153 enablestring=
5154 defaultval=
5155 if test -z "$defaultval"; then
5156 if test x"$enablestring" = xdisable; then
5157 defaultval=yes
5158 else
5159 defaultval=no
5160 fi
5161 fi
5162
5163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5164 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5165 # Check whether --enable-no_rtti was given.
5166 if test "${enable_no_rtti+set}" = set; then
5167 enableval=$enable_no_rtti;
5168 if test "$enableval" = yes; then
5169 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5170 else
5171 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5172 fi
5173
5174 else
5175
5176 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5177
5178 fi
5179
5180
5181 eval "$wx_cv_use_no_rtti"
5182
5183 if test x"$enablestring" = xdisable; then
5184 if test $wxUSE_NO_RTTI = yes; then
5185 result=no
5186 else
5187 result=yes
5188 fi
5189 else
5190 result=$wxUSE_NO_RTTI
5191 fi
5192
5193 { echo "$as_me:$LINENO: result: $result" >&5
5194 echo "${ECHO_T}$result" >&6; }
5195
5196
5197 enablestring=
5198 defaultval=
5199 if test -z "$defaultval"; then
5200 if test x"$enablestring" = xdisable; then
5201 defaultval=yes
5202 else
5203 defaultval=no
5204 fi
5205 fi
5206
5207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5208 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5209 # Check whether --enable-no_exceptions was given.
5210 if test "${enable_no_exceptions+set}" = set; then
5211 enableval=$enable_no_exceptions;
5212 if test "$enableval" = yes; then
5213 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5214 else
5215 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5216 fi
5217
5218 else
5219
5220 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5221
5222 fi
5223
5224
5225 eval "$wx_cv_use_no_exceptions"
5226
5227 if test x"$enablestring" = xdisable; then
5228 if test $wxUSE_NO_EXCEPTIONS = yes; then
5229 result=no
5230 else
5231 result=yes
5232 fi
5233 else
5234 result=$wxUSE_NO_EXCEPTIONS
5235 fi
5236
5237 { echo "$as_me:$LINENO: result: $result" >&5
5238 echo "${ECHO_T}$result" >&6; }
5239
5240
5241 enablestring=
5242 defaultval=
5243 if test -z "$defaultval"; then
5244 if test x"$enablestring" = xdisable; then
5245 defaultval=yes
5246 else
5247 defaultval=no
5248 fi
5249 fi
5250
5251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5252 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5253 # Check whether --enable-permissive was given.
5254 if test "${enable_permissive+set}" = set; then
5255 enableval=$enable_permissive;
5256 if test "$enableval" = yes; then
5257 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5258 else
5259 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5260 fi
5261
5262 else
5263
5264 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5265
5266 fi
5267
5268
5269 eval "$wx_cv_use_permissive"
5270
5271 if test x"$enablestring" = xdisable; then
5272 if test $wxUSE_PERMISSIVE = yes; then
5273 result=no
5274 else
5275 result=yes
5276 fi
5277 else
5278 result=$wxUSE_PERMISSIVE
5279 fi
5280
5281 { echo "$as_me:$LINENO: result: $result" >&5
5282 echo "${ECHO_T}$result" >&6; }
5283
5284
5285 enablestring=
5286 defaultval=
5287 if test -z "$defaultval"; then
5288 if test x"$enablestring" = xdisable; then
5289 defaultval=yes
5290 else
5291 defaultval=no
5292 fi
5293 fi
5294
5295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5297 # Check whether --enable-no_deps was given.
5298 if test "${enable_no_deps+set}" = set; then
5299 enableval=$enable_no_deps;
5300 if test "$enableval" = yes; then
5301 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5302 else
5303 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5304 fi
5305
5306 else
5307
5308 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5309
5310 fi
5311
5312
5313 eval "$wx_cv_use_no_deps"
5314
5315 if test x"$enablestring" = xdisable; then
5316 if test $wxUSE_NO_DEPS = yes; then
5317 result=no
5318 else
5319 result=yes
5320 fi
5321 else
5322 result=$wxUSE_NO_DEPS
5323 fi
5324
5325 { echo "$as_me:$LINENO: result: $result" >&5
5326 echo "${ECHO_T}$result" >&6; }
5327
5328
5329 enablestring=disable
5330 defaultval=
5331 if test -z "$defaultval"; then
5332 if test x"$enablestring" = xdisable; then
5333 defaultval=yes
5334 else
5335 defaultval=no
5336 fi
5337 fi
5338
5339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5341 # Check whether --enable-vararg_macros was given.
5342 if test "${enable_vararg_macros+set}" = set; then
5343 enableval=$enable_vararg_macros;
5344 if test "$enableval" = yes; then
5345 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5346 else
5347 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5348 fi
5349
5350 else
5351
5352 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5353
5354 fi
5355
5356
5357 eval "$wx_cv_use_vararg_macros"
5358
5359 if test x"$enablestring" = xdisable; then
5360 if test $wxUSE_VARARG_MACROS = yes; then
5361 result=no
5362 else
5363 result=yes
5364 fi
5365 else
5366 result=$wxUSE_VARARG_MACROS
5367 fi
5368
5369 { echo "$as_me:$LINENO: result: $result" >&5
5370 echo "${ECHO_T}$result" >&6; }
5371
5372
5373 enablestring=
5374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5375 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5376 # Check whether --enable-universal_binary was given.
5377 if test "${enable_universal_binary+set}" = set; then
5378 enableval=$enable_universal_binary;
5379 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5380
5381 else
5382
5383 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5384
5385 fi
5386
5387
5388 eval "$wx_cv_use_universal_binary"
5389
5390 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5391 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5392
5393
5394
5395 enablestring=
5396 defaultval=
5397 if test -z "$defaultval"; then
5398 if test x"$enablestring" = xdisable; then
5399 defaultval=yes
5400 else
5401 defaultval=no
5402 fi
5403 fi
5404
5405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5407 # Check whether --enable-compat26 was given.
5408 if test "${enable_compat26+set}" = set; then
5409 enableval=$enable_compat26;
5410 if test "$enableval" = yes; then
5411 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5412 else
5413 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5414 fi
5415
5416 else
5417
5418 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5419
5420 fi
5421
5422
5423 eval "$wx_cv_use_compat26"
5424
5425 if test x"$enablestring" = xdisable; then
5426 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5427 result=no
5428 else
5429 result=yes
5430 fi
5431 else
5432 result=$WXWIN_COMPATIBILITY_2_6
5433 fi
5434
5435 { echo "$as_me:$LINENO: result: $result" >&5
5436 echo "${ECHO_T}$result" >&6; }
5437
5438
5439 enablestring=disable
5440 defaultval=
5441 if test -z "$defaultval"; then
5442 if test x"$enablestring" = xdisable; then
5443 defaultval=yes
5444 else
5445 defaultval=no
5446 fi
5447 fi
5448
5449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5451 # Check whether --enable-compat28 was given.
5452 if test "${enable_compat28+set}" = set; then
5453 enableval=$enable_compat28;
5454 if test "$enableval" = yes; then
5455 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5456 else
5457 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5458 fi
5459
5460 else
5461
5462 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5463
5464 fi
5465
5466
5467 eval "$wx_cv_use_compat28"
5468
5469 if test x"$enablestring" = xdisable; then
5470 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5471 result=no
5472 else
5473 result=yes
5474 fi
5475 else
5476 result=$WXWIN_COMPATIBILITY_2_8
5477 fi
5478
5479 { echo "$as_me:$LINENO: result: $result" >&5
5480 echo "${ECHO_T}$result" >&6; }
5481
5482
5483
5484 enablestring=disable
5485 defaultval=
5486 if test -z "$defaultval"; then
5487 if test x"$enablestring" = xdisable; then
5488 defaultval=yes
5489 else
5490 defaultval=no
5491 fi
5492 fi
5493
5494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5496 # Check whether --enable-rpath was given.
5497 if test "${enable_rpath+set}" = set; then
5498 enableval=$enable_rpath;
5499 if test "$enableval" = yes; then
5500 wx_cv_use_rpath='wxUSE_RPATH=yes'
5501 else
5502 wx_cv_use_rpath='wxUSE_RPATH=no'
5503 fi
5504
5505 else
5506
5507 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5508
5509 fi
5510
5511
5512 eval "$wx_cv_use_rpath"
5513
5514 if test x"$enablestring" = xdisable; then
5515 if test $wxUSE_RPATH = yes; then
5516 result=no
5517 else
5518 result=yes
5519 fi
5520 else
5521 result=$wxUSE_RPATH
5522 fi
5523
5524 { echo "$as_me:$LINENO: result: $result" >&5
5525 echo "${ECHO_T}$result" >&6; }
5526
5527
5528
5529 enablestring=
5530 defaultval=
5531 if test -z "$defaultval"; then
5532 if test x"$enablestring" = xdisable; then
5533 defaultval=yes
5534 else
5535 defaultval=no
5536 fi
5537 fi
5538
5539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5541 # Check whether --enable-objc_uniquifying was given.
5542 if test "${enable_objc_uniquifying+set}" = set; then
5543 enableval=$enable_objc_uniquifying;
5544 if test "$enableval" = yes; then
5545 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5546 else
5547 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5548 fi
5549
5550 else
5551
5552 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5553
5554 fi
5555
5556
5557 eval "$wx_cv_use_objc_uniquifying"
5558
5559 if test x"$enablestring" = xdisable; then
5560 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5561 result=no
5562 else
5563 result=yes
5564 fi
5565 else
5566 result=$wxUSE_OBJC_UNIQUIFYING
5567 fi
5568
5569 { echo "$as_me:$LINENO: result: $result" >&5
5570 echo "${ECHO_T}$result" >&6; }
5571
5572
5573
5574 enablestring=disable
5575 defaultval=
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}-visibility" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5586 # Check whether --enable-visibility was given.
5587 if test "${enable_visibility+set}" = set; then
5588 enableval=$enable_visibility;
5589 if test "$enableval" = yes; then
5590 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5591 else
5592 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5593 fi
5594
5595 else
5596
5597 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5598
5599 fi
5600
5601
5602 eval "$wx_cv_use_visibility"
5603
5604 if test x"$enablestring" = xdisable; then
5605 if test $wxUSE_VISIBILITY = yes; then
5606 result=no
5607 else
5608 result=yes
5609 fi
5610 else
5611 result=$wxUSE_VISIBILITY
5612 fi
5613
5614 { echo "$as_me:$LINENO: result: $result" >&5
5615 echo "${ECHO_T}$result" >&6; }
5616
5617
5618
5619
5620 enablestring=
5621 defaultval=$wxUSE_ALL_FEATURES
5622 if test -z "$defaultval"; then
5623 if test x"$enablestring" = xdisable; then
5624 defaultval=yes
5625 else
5626 defaultval=no
5627 fi
5628 fi
5629
5630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5631 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5632 # Check whether --enable-intl was given.
5633 if test "${enable_intl+set}" = set; then
5634 enableval=$enable_intl;
5635 if test "$enableval" = yes; then
5636 wx_cv_use_intl='wxUSE_INTL=yes'
5637 else
5638 wx_cv_use_intl='wxUSE_INTL=no'
5639 fi
5640
5641 else
5642
5643 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5644
5645 fi
5646
5647
5648 eval "$wx_cv_use_intl"
5649
5650 if test x"$enablestring" = xdisable; then
5651 if test $wxUSE_INTL = yes; then
5652 result=no
5653 else
5654 result=yes
5655 fi
5656 else
5657 result=$wxUSE_INTL
5658 fi
5659
5660 { echo "$as_me:$LINENO: result: $result" >&5
5661 echo "${ECHO_T}$result" >&6; }
5662
5663
5664 enablestring=
5665 defaultval=$wxUSE_ALL_FEATURES
5666 if test -z "$defaultval"; then
5667 if test x"$enablestring" = xdisable; then
5668 defaultval=yes
5669 else
5670 defaultval=no
5671 fi
5672 fi
5673
5674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5675 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5676 # Check whether --enable-xlocale was given.
5677 if test "${enable_xlocale+set}" = set; then
5678 enableval=$enable_xlocale;
5679 if test "$enableval" = yes; then
5680 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5681 else
5682 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5683 fi
5684
5685 else
5686
5687 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5688
5689 fi
5690
5691
5692 eval "$wx_cv_use_xlocale"
5693
5694 if test x"$enablestring" = xdisable; then
5695 if test $wxUSE_XLOCALE = yes; then
5696 result=no
5697 else
5698 result=yes
5699 fi
5700 else
5701 result=$wxUSE_XLOCALE
5702 fi
5703
5704 { echo "$as_me:$LINENO: result: $result" >&5
5705 echo "${ECHO_T}$result" >&6; }
5706
5707
5708 enablestring=
5709 defaultval=$wxUSE_ALL_FEATURES
5710 if test -z "$defaultval"; then
5711 if test x"$enablestring" = xdisable; then
5712 defaultval=yes
5713 else
5714 defaultval=no
5715 fi
5716 fi
5717
5718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5719 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5720 # Check whether --enable-config was given.
5721 if test "${enable_config+set}" = set; then
5722 enableval=$enable_config;
5723 if test "$enableval" = yes; then
5724 wx_cv_use_config='wxUSE_CONFIG=yes'
5725 else
5726 wx_cv_use_config='wxUSE_CONFIG=no'
5727 fi
5728
5729 else
5730
5731 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5732
5733 fi
5734
5735
5736 eval "$wx_cv_use_config"
5737
5738 if test x"$enablestring" = xdisable; then
5739 if test $wxUSE_CONFIG = yes; then
5740 result=no
5741 else
5742 result=yes
5743 fi
5744 else
5745 result=$wxUSE_CONFIG
5746 fi
5747
5748 { echo "$as_me:$LINENO: result: $result" >&5
5749 echo "${ECHO_T}$result" >&6; }
5750
5751
5752
5753 enablestring=
5754 defaultval=$wxUSE_ALL_FEATURES
5755 if test -z "$defaultval"; then
5756 if test x"$enablestring" = xdisable; then
5757 defaultval=yes
5758 else
5759 defaultval=no
5760 fi
5761 fi
5762
5763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5765 # Check whether --enable-protocols was given.
5766 if test "${enable_protocols+set}" = set; then
5767 enableval=$enable_protocols;
5768 if test "$enableval" = yes; then
5769 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5770 else
5771 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5772 fi
5773
5774 else
5775
5776 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5777
5778 fi
5779
5780
5781 eval "$wx_cv_use_protocols"
5782
5783 if test x"$enablestring" = xdisable; then
5784 if test $wxUSE_PROTOCOL = yes; then
5785 result=no
5786 else
5787 result=yes
5788 fi
5789 else
5790 result=$wxUSE_PROTOCOL
5791 fi
5792
5793 { echo "$as_me:$LINENO: result: $result" >&5
5794 echo "${ECHO_T}$result" >&6; }
5795
5796
5797 enablestring=
5798 defaultval=$wxUSE_ALL_FEATURES
5799 if test -z "$defaultval"; then
5800 if test x"$enablestring" = xdisable; then
5801 defaultval=yes
5802 else
5803 defaultval=no
5804 fi
5805 fi
5806
5807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5808 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5809 # Check whether --enable-ftp was given.
5810 if test "${enable_ftp+set}" = set; then
5811 enableval=$enable_ftp;
5812 if test "$enableval" = yes; then
5813 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5814 else
5815 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5816 fi
5817
5818 else
5819
5820 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5821
5822 fi
5823
5824
5825 eval "$wx_cv_use_ftp"
5826
5827 if test x"$enablestring" = xdisable; then
5828 if test $wxUSE_PROTOCOL_FTP = yes; then
5829 result=no
5830 else
5831 result=yes
5832 fi
5833 else
5834 result=$wxUSE_PROTOCOL_FTP
5835 fi
5836
5837 { echo "$as_me:$LINENO: result: $result" >&5
5838 echo "${ECHO_T}$result" >&6; }
5839
5840
5841 enablestring=
5842 defaultval=$wxUSE_ALL_FEATURES
5843 if test -z "$defaultval"; then
5844 if test x"$enablestring" = xdisable; then
5845 defaultval=yes
5846 else
5847 defaultval=no
5848 fi
5849 fi
5850
5851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5853 # Check whether --enable-http was given.
5854 if test "${enable_http+set}" = set; then
5855 enableval=$enable_http;
5856 if test "$enableval" = yes; then
5857 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5858 else
5859 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5860 fi
5861
5862 else
5863
5864 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5865
5866 fi
5867
5868
5869 eval "$wx_cv_use_http"
5870
5871 if test x"$enablestring" = xdisable; then
5872 if test $wxUSE_PROTOCOL_HTTP = yes; then
5873 result=no
5874 else
5875 result=yes
5876 fi
5877 else
5878 result=$wxUSE_PROTOCOL_HTTP
5879 fi
5880
5881 { echo "$as_me:$LINENO: result: $result" >&5
5882 echo "${ECHO_T}$result" >&6; }
5883
5884
5885 enablestring=
5886 defaultval=$wxUSE_ALL_FEATURES
5887 if test -z "$defaultval"; then
5888 if test x"$enablestring" = xdisable; then
5889 defaultval=yes
5890 else
5891 defaultval=no
5892 fi
5893 fi
5894
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5897 # Check whether --enable-fileproto was given.
5898 if test "${enable_fileproto+set}" = set; then
5899 enableval=$enable_fileproto;
5900 if test "$enableval" = yes; then
5901 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5902 else
5903 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5904 fi
5905
5906 else
5907
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5909
5910 fi
5911
5912
5913 eval "$wx_cv_use_fileproto"
5914
5915 if test x"$enablestring" = xdisable; then
5916 if test $wxUSE_PROTOCOL_FILE = yes; then
5917 result=no
5918 else
5919 result=yes
5920 fi
5921 else
5922 result=$wxUSE_PROTOCOL_FILE
5923 fi
5924
5925 { echo "$as_me:$LINENO: result: $result" >&5
5926 echo "${ECHO_T}$result" >&6; }
5927
5928
5929 enablestring=
5930 defaultval=$wxUSE_ALL_FEATURES
5931 if test -z "$defaultval"; then
5932 if test x"$enablestring" = xdisable; then
5933 defaultval=yes
5934 else
5935 defaultval=no
5936 fi
5937 fi
5938
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5941 # Check whether --enable-sockets was given.
5942 if test "${enable_sockets+set}" = set; then
5943 enableval=$enable_sockets;
5944 if test "$enableval" = yes; then
5945 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5946 else
5947 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5948 fi
5949
5950 else
5951
5952 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5953
5954 fi
5955
5956
5957 eval "$wx_cv_use_sockets"
5958
5959 if test x"$enablestring" = xdisable; then
5960 if test $wxUSE_SOCKETS = yes; then
5961 result=no
5962 else
5963 result=yes
5964 fi
5965 else
5966 result=$wxUSE_SOCKETS
5967 fi
5968
5969 { echo "$as_me:$LINENO: result: $result" >&5
5970 echo "${ECHO_T}$result" >&6; }
5971
5972
5973 enablestring=
5974 defaultval=$wxUSE_ALL_FEATURES
5975 if test -z "$defaultval"; then
5976 if test x"$enablestring" = xdisable; then
5977 defaultval=yes
5978 else
5979 defaultval=no
5980 fi
5981 fi
5982
5983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5984 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5985 # Check whether --enable-ipv6 was given.
5986 if test "${enable_ipv6+set}" = set; then
5987 enableval=$enable_ipv6;
5988 if test "$enableval" = yes; then
5989 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5990 else
5991 wx_cv_use_ipv6='wxUSE_IPV6=no'
5992 fi
5993
5994 else
5995
5996 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5997
5998 fi
5999
6000
6001 eval "$wx_cv_use_ipv6"
6002
6003 if test x"$enablestring" = xdisable; then
6004 if test $wxUSE_IPV6 = yes; then
6005 result=no
6006 else
6007 result=yes
6008 fi
6009 else
6010 result=$wxUSE_IPV6
6011 fi
6012
6013 { echo "$as_me:$LINENO: result: $result" >&5
6014 echo "${ECHO_T}$result" >&6; }
6015
6016
6017 enablestring=
6018 defaultval=$wxUSE_ALL_FEATURES
6019 if test -z "$defaultval"; then
6020 if test x"$enablestring" = xdisable; then
6021 defaultval=yes
6022 else
6023 defaultval=no
6024 fi
6025 fi
6026
6027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6028 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6029 # Check whether --enable-ole was given.
6030 if test "${enable_ole+set}" = set; then
6031 enableval=$enable_ole;
6032 if test "$enableval" = yes; then
6033 wx_cv_use_ole='wxUSE_OLE=yes'
6034 else
6035 wx_cv_use_ole='wxUSE_OLE=no'
6036 fi
6037
6038 else
6039
6040 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6041
6042 fi
6043
6044
6045 eval "$wx_cv_use_ole"
6046
6047 if test x"$enablestring" = xdisable; then
6048 if test $wxUSE_OLE = yes; then
6049 result=no
6050 else
6051 result=yes
6052 fi
6053 else
6054 result=$wxUSE_OLE
6055 fi
6056
6057 { echo "$as_me:$LINENO: result: $result" >&5
6058 echo "${ECHO_T}$result" >&6; }
6059
6060
6061 enablestring=
6062 defaultval=$wxUSE_ALL_FEATURES
6063 if test -z "$defaultval"; then
6064 if test x"$enablestring" = xdisable; then
6065 defaultval=yes
6066 else
6067 defaultval=no
6068 fi
6069 fi
6070
6071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6073 # Check whether --enable-dataobj was given.
6074 if test "${enable_dataobj+set}" = set; then
6075 enableval=$enable_dataobj;
6076 if test "$enableval" = yes; then
6077 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6078 else
6079 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6080 fi
6081
6082 else
6083
6084 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6085
6086 fi
6087
6088
6089 eval "$wx_cv_use_dataobj"
6090
6091 if test x"$enablestring" = xdisable; then
6092 if test $wxUSE_DATAOBJ = yes; then
6093 result=no
6094 else
6095 result=yes
6096 fi
6097 else
6098 result=$wxUSE_DATAOBJ
6099 fi
6100
6101 { echo "$as_me:$LINENO: result: $result" >&5
6102 echo "${ECHO_T}$result" >&6; }
6103
6104
6105
6106 enablestring=
6107 defaultval=$wxUSE_ALL_FEATURES
6108 if test -z "$defaultval"; then
6109 if test x"$enablestring" = xdisable; then
6110 defaultval=yes
6111 else
6112 defaultval=no
6113 fi
6114 fi
6115
6116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6118 # Check whether --enable-ipc was given.
6119 if test "${enable_ipc+set}" = set; then
6120 enableval=$enable_ipc;
6121 if test "$enableval" = yes; then
6122 wx_cv_use_ipc='wxUSE_IPC=yes'
6123 else
6124 wx_cv_use_ipc='wxUSE_IPC=no'
6125 fi
6126
6127 else
6128
6129 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6130
6131 fi
6132
6133
6134 eval "$wx_cv_use_ipc"
6135
6136 if test x"$enablestring" = xdisable; then
6137 if test $wxUSE_IPC = yes; then
6138 result=no
6139 else
6140 result=yes
6141 fi
6142 else
6143 result=$wxUSE_IPC
6144 fi
6145
6146 { echo "$as_me:$LINENO: result: $result" >&5
6147 echo "${ECHO_T}$result" >&6; }
6148
6149
6150
6151 enablestring=
6152 defaultval=$wxUSE_ALL_FEATURES
6153 if test -z "$defaultval"; then
6154 if test x"$enablestring" = xdisable; then
6155 defaultval=yes
6156 else
6157 defaultval=no
6158 fi
6159 fi
6160
6161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6162 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6163 # Check whether --enable-baseevtloop was given.
6164 if test "${enable_baseevtloop+set}" = set; then
6165 enableval=$enable_baseevtloop;
6166 if test "$enableval" = yes; then
6167 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6168 else
6169 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6170 fi
6171
6172 else
6173
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6175
6176 fi
6177
6178
6179 eval "$wx_cv_use_baseevtloop"
6180
6181 if test x"$enablestring" = xdisable; then
6182 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6183 result=no
6184 else
6185 result=yes
6186 fi
6187 else
6188 result=$wxUSE_CONSOLE_EVENTLOOP
6189 fi
6190
6191 { echo "$as_me:$LINENO: result: $result" >&5
6192 echo "${ECHO_T}$result" >&6; }
6193
6194
6195 enablestring=
6196 defaultval=$wxUSE_ALL_FEATURES
6197 if test -z "$defaultval"; then
6198 if test x"$enablestring" = xdisable; then
6199 defaultval=yes
6200 else
6201 defaultval=no
6202 fi
6203 fi
6204
6205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6206 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6207 # Check whether --enable-epollloop was given.
6208 if test "${enable_epollloop+set}" = set; then
6209 enableval=$enable_epollloop;
6210 if test "$enableval" = yes; then
6211 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6212 else
6213 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6214 fi
6215
6216 else
6217
6218 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6219
6220 fi
6221
6222
6223 eval "$wx_cv_use_epollloop"
6224
6225 if test x"$enablestring" = xdisable; then
6226 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6227 result=no
6228 else
6229 result=yes
6230 fi
6231 else
6232 result=$wxUSE_EPOLL_DISPATCHER
6233 fi
6234
6235 { echo "$as_me:$LINENO: result: $result" >&5
6236 echo "${ECHO_T}$result" >&6; }
6237
6238
6239 enablestring=
6240 defaultval=$wxUSE_ALL_FEATURES
6241 if test -z "$defaultval"; then
6242 if test x"$enablestring" = xdisable; then
6243 defaultval=yes
6244 else
6245 defaultval=no
6246 fi
6247 fi
6248
6249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6251 # Check whether --enable-selectloop was given.
6252 if test "${enable_selectloop+set}" = set; then
6253 enableval=$enable_selectloop;
6254 if test "$enableval" = yes; then
6255 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6256 else
6257 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6258 fi
6259
6260 else
6261
6262 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6263
6264 fi
6265
6266
6267 eval "$wx_cv_use_selectloop"
6268
6269 if test x"$enablestring" = xdisable; then
6270 if test $wxUSE_SELECT_DISPATCHER = yes; then
6271 result=no
6272 else
6273 result=yes
6274 fi
6275 else
6276 result=$wxUSE_SELECT_DISPATCHER
6277 fi
6278
6279 { echo "$as_me:$LINENO: result: $result" >&5
6280 echo "${ECHO_T}$result" >&6; }
6281
6282
6283
6284 enablestring=
6285 defaultval=$wxUSE_ALL_FEATURES
6286 if test -z "$defaultval"; then
6287 if test x"$enablestring" = xdisable; then
6288 defaultval=yes
6289 else
6290 defaultval=no
6291 fi
6292 fi
6293
6294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6295 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6296 # Check whether --enable-apple_ieee was given.
6297 if test "${enable_apple_ieee+set}" = set; then
6298 enableval=$enable_apple_ieee;
6299 if test "$enableval" = yes; then
6300 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6301 else
6302 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6303 fi
6304
6305 else
6306
6307 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6308
6309 fi
6310
6311
6312 eval "$wx_cv_use_apple_ieee"
6313
6314 if test x"$enablestring" = xdisable; then
6315 if test $wxUSE_APPLE_IEEE = yes; then
6316 result=no
6317 else
6318 result=yes
6319 fi
6320 else
6321 result=$wxUSE_APPLE_IEEE
6322 fi
6323
6324 { echo "$as_me:$LINENO: result: $result" >&5
6325 echo "${ECHO_T}$result" >&6; }
6326
6327
6328 enablestring=
6329 defaultval=$wxUSE_ALL_FEATURES
6330 if test -z "$defaultval"; then
6331 if test x"$enablestring" = xdisable; then
6332 defaultval=yes
6333 else
6334 defaultval=no
6335 fi
6336 fi
6337
6338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6339 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6340 # Check whether --enable-arcstream was given.
6341 if test "${enable_arcstream+set}" = set; then
6342 enableval=$enable_arcstream;
6343 if test "$enableval" = yes; then
6344 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6345 else
6346 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6347 fi
6348
6349 else
6350
6351 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6352
6353 fi
6354
6355
6356 eval "$wx_cv_use_arcstream"
6357
6358 if test x"$enablestring" = xdisable; then
6359 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6360 result=no
6361 else
6362 result=yes
6363 fi
6364 else
6365 result=$wxUSE_ARCHIVE_STREAMS
6366 fi
6367
6368 { echo "$as_me:$LINENO: result: $result" >&5
6369 echo "${ECHO_T}$result" >&6; }
6370
6371
6372 enablestring=
6373 defaultval=$wxUSE_ALL_FEATURES
6374 if test -z "$defaultval"; then
6375 if test x"$enablestring" = xdisable; then
6376 defaultval=yes
6377 else
6378 defaultval=no
6379 fi
6380 fi
6381
6382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6383 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6384 # Check whether --enable-base64 was given.
6385 if test "${enable_base64+set}" = set; then
6386 enableval=$enable_base64;
6387 if test "$enableval" = yes; then
6388 wx_cv_use_base64='wxUSE_BASE64=yes'
6389 else
6390 wx_cv_use_base64='wxUSE_BASE64=no'
6391 fi
6392
6393 else
6394
6395 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6396
6397 fi
6398
6399
6400 eval "$wx_cv_use_base64"
6401
6402 if test x"$enablestring" = xdisable; then
6403 if test $wxUSE_BASE64 = yes; then
6404 result=no
6405 else
6406 result=yes
6407 fi
6408 else
6409 result=$wxUSE_BASE64
6410 fi
6411
6412 { echo "$as_me:$LINENO: result: $result" >&5
6413 echo "${ECHO_T}$result" >&6; }
6414
6415
6416 enablestring=
6417 defaultval=$wxUSE_ALL_FEATURES
6418 if test -z "$defaultval"; then
6419 if test x"$enablestring" = xdisable; then
6420 defaultval=yes
6421 else
6422 defaultval=no
6423 fi
6424 fi
6425
6426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6428 # Check whether --enable-backtrace was given.
6429 if test "${enable_backtrace+set}" = set; then
6430 enableval=$enable_backtrace;
6431 if test "$enableval" = yes; then
6432 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6433 else
6434 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6435 fi
6436
6437 else
6438
6439 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6440
6441 fi
6442
6443
6444 eval "$wx_cv_use_backtrace"
6445
6446 if test x"$enablestring" = xdisable; then
6447 if test $wxUSE_STACKWALKER = yes; then
6448 result=no
6449 else
6450 result=yes
6451 fi
6452 else
6453 result=$wxUSE_STACKWALKER
6454 fi
6455
6456 { echo "$as_me:$LINENO: result: $result" >&5
6457 echo "${ECHO_T}$result" >&6; }
6458
6459
6460 enablestring=
6461 defaultval=$wxUSE_ALL_FEATURES
6462 if test -z "$defaultval"; then
6463 if test x"$enablestring" = xdisable; then
6464 defaultval=yes
6465 else
6466 defaultval=no
6467 fi
6468 fi
6469
6470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6472 # Check whether --enable-catch_segvs was given.
6473 if test "${enable_catch_segvs+set}" = set; then
6474 enableval=$enable_catch_segvs;
6475 if test "$enableval" = yes; then
6476 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6477 else
6478 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6479 fi
6480
6481 else
6482
6483 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6484
6485 fi
6486
6487
6488 eval "$wx_cv_use_catch_segvs"
6489
6490 if test x"$enablestring" = xdisable; then
6491 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6492 result=no
6493 else
6494 result=yes
6495 fi
6496 else
6497 result=$wxUSE_ON_FATAL_EXCEPTION
6498 fi
6499
6500 { echo "$as_me:$LINENO: result: $result" >&5
6501 echo "${ECHO_T}$result" >&6; }
6502
6503
6504 enablestring=
6505 defaultval=$wxUSE_ALL_FEATURES
6506 if test -z "$defaultval"; then
6507 if test x"$enablestring" = xdisable; then
6508 defaultval=yes
6509 else
6510 defaultval=no
6511 fi
6512 fi
6513
6514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6515 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6516 # Check whether --enable-cmdline was given.
6517 if test "${enable_cmdline+set}" = set; then
6518 enableval=$enable_cmdline;
6519 if test "$enableval" = yes; then
6520 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6521 else
6522 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6523 fi
6524
6525 else
6526
6527 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6528
6529 fi
6530
6531
6532 eval "$wx_cv_use_cmdline"
6533
6534 if test x"$enablestring" = xdisable; then
6535 if test $wxUSE_CMDLINE_PARSER = yes; then
6536 result=no
6537 else
6538 result=yes
6539 fi
6540 else
6541 result=$wxUSE_CMDLINE_PARSER
6542 fi
6543
6544 { echo "$as_me:$LINENO: result: $result" >&5
6545 echo "${ECHO_T}$result" >&6; }
6546
6547
6548 enablestring=
6549 defaultval=$wxUSE_ALL_FEATURES
6550 if test -z "$defaultval"; then
6551 if test x"$enablestring" = xdisable; then
6552 defaultval=yes
6553 else
6554 defaultval=no
6555 fi
6556 fi
6557
6558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6559 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6560 # Check whether --enable-datetime was given.
6561 if test "${enable_datetime+set}" = set; then
6562 enableval=$enable_datetime;
6563 if test "$enableval" = yes; then
6564 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6565 else
6566 wx_cv_use_datetime='wxUSE_DATETIME=no'
6567 fi
6568
6569 else
6570
6571 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6572
6573 fi
6574
6575
6576 eval "$wx_cv_use_datetime"
6577
6578 if test x"$enablestring" = xdisable; then
6579 if test $wxUSE_DATETIME = yes; then
6580 result=no
6581 else
6582 result=yes
6583 fi
6584 else
6585 result=$wxUSE_DATETIME
6586 fi
6587
6588 { echo "$as_me:$LINENO: result: $result" >&5
6589 echo "${ECHO_T}$result" >&6; }
6590
6591
6592 enablestring=
6593 defaultval=$wxUSE_ALL_FEATURES
6594 if test -z "$defaultval"; then
6595 if test x"$enablestring" = xdisable; then
6596 defaultval=yes
6597 else
6598 defaultval=no
6599 fi
6600 fi
6601
6602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6603 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6604 # Check whether --enable-debugreport was given.
6605 if test "${enable_debugreport+set}" = set; then
6606 enableval=$enable_debugreport;
6607 if test "$enableval" = yes; then
6608 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6609 else
6610 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6611 fi
6612
6613 else
6614
6615 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6616
6617 fi
6618
6619
6620 eval "$wx_cv_use_debugreport"
6621
6622 if test x"$enablestring" = xdisable; then
6623 if test $wxUSE_DEBUGREPORT = yes; then
6624 result=no
6625 else
6626 result=yes
6627 fi
6628 else
6629 result=$wxUSE_DEBUGREPORT
6630 fi
6631
6632 { echo "$as_me:$LINENO: result: $result" >&5
6633 echo "${ECHO_T}$result" >&6; }
6634
6635
6636 enablestring=
6637 defaultval=$wxUSE_ALL_FEATURES
6638 if test -z "$defaultval"; then
6639 if test x"$enablestring" = xdisable; then
6640 defaultval=yes
6641 else
6642 defaultval=no
6643 fi
6644 fi
6645
6646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6648 # Check whether --enable-dialupman was given.
6649 if test "${enable_dialupman+set}" = set; then
6650 enableval=$enable_dialupman;
6651 if test "$enableval" = yes; then
6652 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6653 else
6654 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6655 fi
6656
6657 else
6658
6659 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6660
6661 fi
6662
6663
6664 eval "$wx_cv_use_dialupman"
6665
6666 if test x"$enablestring" = xdisable; then
6667 if test $wxUSE_DIALUP_MANAGER = yes; then
6668 result=no
6669 else
6670 result=yes
6671 fi
6672 else
6673 result=$wxUSE_DIALUP_MANAGER
6674 fi
6675
6676 { echo "$as_me:$LINENO: result: $result" >&5
6677 echo "${ECHO_T}$result" >&6; }
6678
6679
6680 enablestring=
6681 defaultval=$wxUSE_ALL_FEATURES
6682 if test -z "$defaultval"; then
6683 if test x"$enablestring" = xdisable; then
6684 defaultval=yes
6685 else
6686 defaultval=no
6687 fi
6688 fi
6689
6690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6692 # Check whether --enable-dynlib was given.
6693 if test "${enable_dynlib+set}" = set; then
6694 enableval=$enable_dynlib;
6695 if test "$enableval" = yes; then
6696 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6697 else
6698 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6699 fi
6700
6701 else
6702
6703 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6704
6705 fi
6706
6707
6708 eval "$wx_cv_use_dynlib"
6709
6710 if test x"$enablestring" = xdisable; then
6711 if test $wxUSE_DYNLIB_CLASS = yes; then
6712 result=no
6713 else
6714 result=yes
6715 fi
6716 else
6717 result=$wxUSE_DYNLIB_CLASS
6718 fi
6719
6720 { echo "$as_me:$LINENO: result: $result" >&5
6721 echo "${ECHO_T}$result" >&6; }
6722
6723
6724 enablestring=
6725 defaultval=$wxUSE_ALL_FEATURES
6726 if test -z "$defaultval"; then
6727 if test x"$enablestring" = xdisable; then
6728 defaultval=yes
6729 else
6730 defaultval=no
6731 fi
6732 fi
6733
6734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6736 # Check whether --enable-dynamicloader was given.
6737 if test "${enable_dynamicloader+set}" = set; then
6738 enableval=$enable_dynamicloader;
6739 if test "$enableval" = yes; then
6740 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6741 else
6742 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6743 fi
6744
6745 else
6746
6747 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6748
6749 fi
6750
6751
6752 eval "$wx_cv_use_dynamicloader"
6753
6754 if test x"$enablestring" = xdisable; then
6755 if test $wxUSE_DYNAMIC_LOADER = yes; then
6756 result=no
6757 else
6758 result=yes
6759 fi
6760 else
6761 result=$wxUSE_DYNAMIC_LOADER
6762 fi
6763
6764 { echo "$as_me:$LINENO: result: $result" >&5
6765 echo "${ECHO_T}$result" >&6; }
6766
6767
6768 enablestring=
6769 defaultval=$wxUSE_ALL_FEATURES
6770 if test -z "$defaultval"; then
6771 if test x"$enablestring" = xdisable; then
6772 defaultval=yes
6773 else
6774 defaultval=no
6775 fi
6776 fi
6777
6778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6779 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6780 # Check whether --enable-exceptions was given.
6781 if test "${enable_exceptions+set}" = set; then
6782 enableval=$enable_exceptions;
6783 if test "$enableval" = yes; then
6784 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6785 else
6786 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6787 fi
6788
6789 else
6790
6791 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6792
6793 fi
6794
6795
6796 eval "$wx_cv_use_exceptions"
6797
6798 if test x"$enablestring" = xdisable; then
6799 if test $wxUSE_EXCEPTIONS = yes; then
6800 result=no
6801 else
6802 result=yes
6803 fi
6804 else
6805 result=$wxUSE_EXCEPTIONS
6806 fi
6807
6808 { echo "$as_me:$LINENO: result: $result" >&5
6809 echo "${ECHO_T}$result" >&6; }
6810
6811
6812 enablestring=
6813 defaultval=$wxUSE_ALL_FEATURES
6814 if test -z "$defaultval"; then
6815 if test x"$enablestring" = xdisable; then
6816 defaultval=yes
6817 else
6818 defaultval=no
6819 fi
6820 fi
6821
6822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6823 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6824 # Check whether --enable-ffile was given.
6825 if test "${enable_ffile+set}" = set; then
6826 enableval=$enable_ffile;
6827 if test "$enableval" = yes; then
6828 wx_cv_use_ffile='wxUSE_FFILE=yes'
6829 else
6830 wx_cv_use_ffile='wxUSE_FFILE=no'
6831 fi
6832
6833 else
6834
6835 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6836
6837 fi
6838
6839
6840 eval "$wx_cv_use_ffile"
6841
6842 if test x"$enablestring" = xdisable; then
6843 if test $wxUSE_FFILE = yes; then
6844 result=no
6845 else
6846 result=yes
6847 fi
6848 else
6849 result=$wxUSE_FFILE
6850 fi
6851
6852 { echo "$as_me:$LINENO: result: $result" >&5
6853 echo "${ECHO_T}$result" >&6; }
6854
6855
6856 enablestring=
6857 defaultval=$wxUSE_ALL_FEATURES
6858 if test -z "$defaultval"; then
6859 if test x"$enablestring" = xdisable; then
6860 defaultval=yes
6861 else
6862 defaultval=no
6863 fi
6864 fi
6865
6866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6867 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6868 # Check whether --enable-file was given.
6869 if test "${enable_file+set}" = set; then
6870 enableval=$enable_file;
6871 if test "$enableval" = yes; then
6872 wx_cv_use_file='wxUSE_FILE=yes'
6873 else
6874 wx_cv_use_file='wxUSE_FILE=no'
6875 fi
6876
6877 else
6878
6879 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6880
6881 fi
6882
6883
6884 eval "$wx_cv_use_file"
6885
6886 if test x"$enablestring" = xdisable; then
6887 if test $wxUSE_FILE = yes; then
6888 result=no
6889 else
6890 result=yes
6891 fi
6892 else
6893 result=$wxUSE_FILE
6894 fi
6895
6896 { echo "$as_me:$LINENO: result: $result" >&5
6897 echo "${ECHO_T}$result" >&6; }
6898
6899
6900 enablestring=
6901 defaultval=$wxUSE_ALL_FEATURES
6902 if test -z "$defaultval"; then
6903 if test x"$enablestring" = xdisable; then
6904 defaultval=yes
6905 else
6906 defaultval=no
6907 fi
6908 fi
6909
6910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6912 # Check whether --enable-filesystem was given.
6913 if test "${enable_filesystem+set}" = set; then
6914 enableval=$enable_filesystem;
6915 if test "$enableval" = yes; then
6916 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6917 else
6918 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6919 fi
6920
6921 else
6922
6923 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6924
6925 fi
6926
6927
6928 eval "$wx_cv_use_filesystem"
6929
6930 if test x"$enablestring" = xdisable; then
6931 if test $wxUSE_FILESYSTEM = yes; then
6932 result=no
6933 else
6934 result=yes
6935 fi
6936 else
6937 result=$wxUSE_FILESYSTEM
6938 fi
6939
6940 { echo "$as_me:$LINENO: result: $result" >&5
6941 echo "${ECHO_T}$result" >&6; }
6942
6943
6944 enablestring=
6945 defaultval=$wxUSE_ALL_FEATURES
6946 if test -z "$defaultval"; then
6947 if test x"$enablestring" = xdisable; then
6948 defaultval=yes
6949 else
6950 defaultval=no
6951 fi
6952 fi
6953
6954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6955 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6956 # Check whether --enable-fontenum was given.
6957 if test "${enable_fontenum+set}" = set; then
6958 enableval=$enable_fontenum;
6959 if test "$enableval" = yes; then
6960 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6961 else
6962 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6963 fi
6964
6965 else
6966
6967 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6968
6969 fi
6970
6971
6972 eval "$wx_cv_use_fontenum"
6973
6974 if test x"$enablestring" = xdisable; then
6975 if test $wxUSE_FONTENUM = yes; then
6976 result=no
6977 else
6978 result=yes
6979 fi
6980 else
6981 result=$wxUSE_FONTENUM
6982 fi
6983
6984 { echo "$as_me:$LINENO: result: $result" >&5
6985 echo "${ECHO_T}$result" >&6; }
6986
6987
6988 enablestring=
6989 defaultval=$wxUSE_ALL_FEATURES
6990 if test -z "$defaultval"; then
6991 if test x"$enablestring" = xdisable; then
6992 defaultval=yes
6993 else
6994 defaultval=no
6995 fi
6996 fi
6997
6998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6999 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7000 # Check whether --enable-fontmap was given.
7001 if test "${enable_fontmap+set}" = set; then
7002 enableval=$enable_fontmap;
7003 if test "$enableval" = yes; then
7004 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7005 else
7006 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7007 fi
7008
7009 else
7010
7011 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7012
7013 fi
7014
7015
7016 eval "$wx_cv_use_fontmap"
7017
7018 if test x"$enablestring" = xdisable; then
7019 if test $wxUSE_FONTMAP = yes; then
7020 result=no
7021 else
7022 result=yes
7023 fi
7024 else
7025 result=$wxUSE_FONTMAP
7026 fi
7027
7028 { echo "$as_me:$LINENO: result: $result" >&5
7029 echo "${ECHO_T}$result" >&6; }
7030
7031
7032 enablestring=
7033 defaultval=$wxUSE_ALL_FEATURES
7034 if test -z "$defaultval"; then
7035 if test x"$enablestring" = xdisable; then
7036 defaultval=yes
7037 else
7038 defaultval=no
7039 fi
7040 fi
7041
7042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7044 # Check whether --enable-fs_archive was given.
7045 if test "${enable_fs_archive+set}" = set; then
7046 enableval=$enable_fs_archive;
7047 if test "$enableval" = yes; then
7048 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7049 else
7050 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7051 fi
7052
7053 else
7054
7055 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7056
7057 fi
7058
7059
7060 eval "$wx_cv_use_fs_archive"
7061
7062 if test x"$enablestring" = xdisable; then
7063 if test $wxUSE_FS_ARCHIVE = yes; then
7064 result=no
7065 else
7066 result=yes
7067 fi
7068 else
7069 result=$wxUSE_FS_ARCHIVE
7070 fi
7071
7072 { echo "$as_me:$LINENO: result: $result" >&5
7073 echo "${ECHO_T}$result" >&6; }
7074
7075
7076 enablestring=
7077 defaultval=$wxUSE_ALL_FEATURES
7078 if test -z "$defaultval"; then
7079 if test x"$enablestring" = xdisable; then
7080 defaultval=yes
7081 else
7082 defaultval=no
7083 fi
7084 fi
7085
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7088 # Check whether --enable-fs_inet was given.
7089 if test "${enable_fs_inet+set}" = set; then
7090 enableval=$enable_fs_inet;
7091 if test "$enableval" = yes; then
7092 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7093 else
7094 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7095 fi
7096
7097 else
7098
7099 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7100
7101 fi
7102
7103
7104 eval "$wx_cv_use_fs_inet"
7105
7106 if test x"$enablestring" = xdisable; then
7107 if test $wxUSE_FS_INET = yes; then
7108 result=no
7109 else
7110 result=yes
7111 fi
7112 else
7113 result=$wxUSE_FS_INET
7114 fi
7115
7116 { echo "$as_me:$LINENO: result: $result" >&5
7117 echo "${ECHO_T}$result" >&6; }
7118
7119
7120 enablestring=
7121 defaultval=$wxUSE_ALL_FEATURES
7122 if test -z "$defaultval"; then
7123 if test x"$enablestring" = xdisable; then
7124 defaultval=yes
7125 else
7126 defaultval=no
7127 fi
7128 fi
7129
7130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7132 # Check whether --enable-fs_zip was given.
7133 if test "${enable_fs_zip+set}" = set; then
7134 enableval=$enable_fs_zip;
7135 if test "$enableval" = yes; then
7136 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7137 else
7138 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7139 fi
7140
7141 else
7142
7143 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7144
7145 fi
7146
7147
7148 eval "$wx_cv_use_fs_zip"
7149
7150 if test x"$enablestring" = xdisable; then
7151 if test $wxUSE_FS_ZIP = yes; then
7152 result=no
7153 else
7154 result=yes
7155 fi
7156 else
7157 result=$wxUSE_FS_ZIP
7158 fi
7159
7160 { echo "$as_me:$LINENO: result: $result" >&5
7161 echo "${ECHO_T}$result" >&6; }
7162
7163
7164 enablestring=
7165 defaultval=$wxUSE_ALL_FEATURES
7166 if test -z "$defaultval"; then
7167 if test x"$enablestring" = xdisable; then
7168 defaultval=yes
7169 else
7170 defaultval=no
7171 fi
7172 fi
7173
7174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7176 # Check whether --enable-geometry was given.
7177 if test "${enable_geometry+set}" = set; then
7178 enableval=$enable_geometry;
7179 if test "$enableval" = yes; then
7180 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7181 else
7182 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7183 fi
7184
7185 else
7186
7187 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7188
7189 fi
7190
7191
7192 eval "$wx_cv_use_geometry"
7193
7194 if test x"$enablestring" = xdisable; then
7195 if test $wxUSE_GEOMETRY = yes; then
7196 result=no
7197 else
7198 result=yes
7199 fi
7200 else
7201 result=$wxUSE_GEOMETRY
7202 fi
7203
7204 { echo "$as_me:$LINENO: result: $result" >&5
7205 echo "${ECHO_T}$result" >&6; }
7206
7207
7208 enablestring=
7209 defaultval=$wxUSE_ALL_FEATURES
7210 if test -z "$defaultval"; then
7211 if test x"$enablestring" = xdisable; then
7212 defaultval=yes
7213 else
7214 defaultval=no
7215 fi
7216 fi
7217
7218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7220 # Check whether --enable-log was given.
7221 if test "${enable_log+set}" = set; then
7222 enableval=$enable_log;
7223 if test "$enableval" = yes; then
7224 wx_cv_use_log='wxUSE_LOG=yes'
7225 else
7226 wx_cv_use_log='wxUSE_LOG=no'
7227 fi
7228
7229 else
7230
7231 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7232
7233 fi
7234
7235
7236 eval "$wx_cv_use_log"
7237
7238 if test x"$enablestring" = xdisable; then
7239 if test $wxUSE_LOG = yes; then
7240 result=no
7241 else
7242 result=yes
7243 fi
7244 else
7245 result=$wxUSE_LOG
7246 fi
7247
7248 { echo "$as_me:$LINENO: result: $result" >&5
7249 echo "${ECHO_T}$result" >&6; }
7250
7251
7252 enablestring=
7253 defaultval=$wxUSE_ALL_FEATURES
7254 if test -z "$defaultval"; then
7255 if test x"$enablestring" = xdisable; then
7256 defaultval=yes
7257 else
7258 defaultval=no
7259 fi
7260 fi
7261
7262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7263 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7264 # Check whether --enable-longlong was given.
7265 if test "${enable_longlong+set}" = set; then
7266 enableval=$enable_longlong;
7267 if test "$enableval" = yes; then
7268 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7269 else
7270 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7271 fi
7272
7273 else
7274
7275 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7276
7277 fi
7278
7279
7280 eval "$wx_cv_use_longlong"
7281
7282 if test x"$enablestring" = xdisable; then
7283 if test $wxUSE_LONGLONG = yes; then
7284 result=no
7285 else
7286 result=yes
7287 fi
7288 else
7289 result=$wxUSE_LONGLONG
7290 fi
7291
7292 { echo "$as_me:$LINENO: result: $result" >&5
7293 echo "${ECHO_T}$result" >&6; }
7294
7295
7296 enablestring=
7297 defaultval=$wxUSE_ALL_FEATURES
7298 if test -z "$defaultval"; then
7299 if test x"$enablestring" = xdisable; then
7300 defaultval=yes
7301 else
7302 defaultval=no
7303 fi
7304 fi
7305
7306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7307 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7308 # Check whether --enable-mimetype was given.
7309 if test "${enable_mimetype+set}" = set; then
7310 enableval=$enable_mimetype;
7311 if test "$enableval" = yes; then
7312 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7313 else
7314 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7315 fi
7316
7317 else
7318
7319 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7320
7321 fi
7322
7323
7324 eval "$wx_cv_use_mimetype"
7325
7326 if test x"$enablestring" = xdisable; then
7327 if test $wxUSE_MIMETYPE = yes; then
7328 result=no
7329 else
7330 result=yes
7331 fi
7332 else
7333 result=$wxUSE_MIMETYPE
7334 fi
7335
7336 { echo "$as_me:$LINENO: result: $result" >&5
7337 echo "${ECHO_T}$result" >&6; }
7338
7339
7340 enablestring=
7341 defaultval=$wxUSE_ALL_FEATURES
7342 if test -z "$defaultval"; then
7343 if test x"$enablestring" = xdisable; then
7344 defaultval=yes
7345 else
7346 defaultval=no
7347 fi
7348 fi
7349
7350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7351 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7352 # Check whether --enable-printfposparam was given.
7353 if test "${enable_printfposparam+set}" = set; then
7354 enableval=$enable_printfposparam;
7355 if test "$enableval" = yes; then
7356 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7357 else
7358 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7359 fi
7360
7361 else
7362
7363 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7364
7365 fi
7366
7367
7368 eval "$wx_cv_use_printfposparam"
7369
7370 if test x"$enablestring" = xdisable; then
7371 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7372 result=no
7373 else
7374 result=yes
7375 fi
7376 else
7377 result=$wxUSE_PRINTF_POS_PARAMS
7378 fi
7379
7380 { echo "$as_me:$LINENO: result: $result" >&5
7381 echo "${ECHO_T}$result" >&6; }
7382
7383
7384 enablestring=
7385 defaultval=$wxUSE_ALL_FEATURES
7386 if test -z "$defaultval"; then
7387 if test x"$enablestring" = xdisable; then
7388 defaultval=yes
7389 else
7390 defaultval=no
7391 fi
7392 fi
7393
7394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7395 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7396 # Check whether --enable-snglinst was given.
7397 if test "${enable_snglinst+set}" = set; then
7398 enableval=$enable_snglinst;
7399 if test "$enableval" = yes; then
7400 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7401 else
7402 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7403 fi
7404
7405 else
7406
7407 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7408
7409 fi
7410
7411
7412 eval "$wx_cv_use_snglinst"
7413
7414 if test x"$enablestring" = xdisable; then
7415 if test $wxUSE_SNGLINST_CHECKER = yes; then
7416 result=no
7417 else
7418 result=yes
7419 fi
7420 else
7421 result=$wxUSE_SNGLINST_CHECKER
7422 fi
7423
7424 { echo "$as_me:$LINENO: result: $result" >&5
7425 echo "${ECHO_T}$result" >&6; }
7426
7427
7428 enablestring=
7429 defaultval=$wxUSE_ALL_FEATURES
7430 if test -z "$defaultval"; then
7431 if test x"$enablestring" = xdisable; then
7432 defaultval=yes
7433 else
7434 defaultval=no
7435 fi
7436 fi
7437
7438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7440 # Check whether --enable-sound was given.
7441 if test "${enable_sound+set}" = set; then
7442 enableval=$enable_sound;
7443 if test "$enableval" = yes; then
7444 wx_cv_use_sound='wxUSE_SOUND=yes'
7445 else
7446 wx_cv_use_sound='wxUSE_SOUND=no'
7447 fi
7448
7449 else
7450
7451 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7452
7453 fi
7454
7455
7456 eval "$wx_cv_use_sound"
7457
7458 if test x"$enablestring" = xdisable; then
7459 if test $wxUSE_SOUND = yes; then
7460 result=no
7461 else
7462 result=yes
7463 fi
7464 else
7465 result=$wxUSE_SOUND
7466 fi
7467
7468 { echo "$as_me:$LINENO: result: $result" >&5
7469 echo "${ECHO_T}$result" >&6; }
7470
7471
7472 enablestring=
7473 defaultval=$wxUSE_ALL_FEATURES
7474 if test -z "$defaultval"; then
7475 if test x"$enablestring" = xdisable; then
7476 defaultval=yes
7477 else
7478 defaultval=no
7479 fi
7480 fi
7481
7482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7484 # Check whether --enable-stdpaths was given.
7485 if test "${enable_stdpaths+set}" = set; then
7486 enableval=$enable_stdpaths;
7487 if test "$enableval" = yes; then
7488 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7489 else
7490 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7491 fi
7492
7493 else
7494
7495 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7496
7497 fi
7498
7499
7500 eval "$wx_cv_use_stdpaths"
7501
7502 if test x"$enablestring" = xdisable; then
7503 if test $wxUSE_STDPATHS = yes; then
7504 result=no
7505 else
7506 result=yes
7507 fi
7508 else
7509 result=$wxUSE_STDPATHS
7510 fi
7511
7512 { echo "$as_me:$LINENO: result: $result" >&5
7513 echo "${ECHO_T}$result" >&6; }
7514
7515
7516 enablestring=
7517 defaultval=$wxUSE_ALL_FEATURES
7518 if test -z "$defaultval"; then
7519 if test x"$enablestring" = xdisable; then
7520 defaultval=yes
7521 else
7522 defaultval=no
7523 fi
7524 fi
7525
7526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7528 # Check whether --enable-stopwatch was given.
7529 if test "${enable_stopwatch+set}" = set; then
7530 enableval=$enable_stopwatch;
7531 if test "$enableval" = yes; then
7532 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7533 else
7534 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7535 fi
7536
7537 else
7538
7539 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7540
7541 fi
7542
7543
7544 eval "$wx_cv_use_stopwatch"
7545
7546 if test x"$enablestring" = xdisable; then
7547 if test $wxUSE_STOPWATCH = yes; then
7548 result=no
7549 else
7550 result=yes
7551 fi
7552 else
7553 result=$wxUSE_STOPWATCH
7554 fi
7555
7556 { echo "$as_me:$LINENO: result: $result" >&5
7557 echo "${ECHO_T}$result" >&6; }
7558
7559
7560 enablestring=
7561 defaultval=$wxUSE_ALL_FEATURES
7562 if test -z "$defaultval"; then
7563 if test x"$enablestring" = xdisable; then
7564 defaultval=yes
7565 else
7566 defaultval=no
7567 fi
7568 fi
7569
7570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7571 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7572 # Check whether --enable-streams was given.
7573 if test "${enable_streams+set}" = set; then
7574 enableval=$enable_streams;
7575 if test "$enableval" = yes; then
7576 wx_cv_use_streams='wxUSE_STREAMS=yes'
7577 else
7578 wx_cv_use_streams='wxUSE_STREAMS=no'
7579 fi
7580
7581 else
7582
7583 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7584
7585 fi
7586
7587
7588 eval "$wx_cv_use_streams"
7589
7590 if test x"$enablestring" = xdisable; then
7591 if test $wxUSE_STREAMS = yes; then
7592 result=no
7593 else
7594 result=yes
7595 fi
7596 else
7597 result=$wxUSE_STREAMS
7598 fi
7599
7600 { echo "$as_me:$LINENO: result: $result" >&5
7601 echo "${ECHO_T}$result" >&6; }
7602
7603
7604 enablestring=
7605 defaultval=$wxUSE_ALL_FEATURES
7606 if test -z "$defaultval"; then
7607 if test x"$enablestring" = xdisable; then
7608 defaultval=yes
7609 else
7610 defaultval=no
7611 fi
7612 fi
7613
7614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7615 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7616 # Check whether --enable-system_options was given.
7617 if test "${enable_system_options+set}" = set; then
7618 enableval=$enable_system_options;
7619 if test "$enableval" = yes; then
7620 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7621 else
7622 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7623 fi
7624
7625 else
7626
7627 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7628
7629 fi
7630
7631
7632 eval "$wx_cv_use_system_options"
7633
7634 if test x"$enablestring" = xdisable; then
7635 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7636 result=no
7637 else
7638 result=yes
7639 fi
7640 else
7641 result=$wxUSE_SYSTEM_OPTIONS
7642 fi
7643
7644 { echo "$as_me:$LINENO: result: $result" >&5
7645 echo "${ECHO_T}$result" >&6; }
7646
7647
7648 enablestring=
7649 defaultval=$wxUSE_ALL_FEATURES
7650 if test -z "$defaultval"; then
7651 if test x"$enablestring" = xdisable; then
7652 defaultval=yes
7653 else
7654 defaultval=no
7655 fi
7656 fi
7657
7658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7659 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7660 # Check whether --enable-tarstream was given.
7661 if test "${enable_tarstream+set}" = set; then
7662 enableval=$enable_tarstream;
7663 if test "$enableval" = yes; then
7664 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7665 else
7666 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7667 fi
7668
7669 else
7670
7671 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7672
7673 fi
7674
7675
7676 eval "$wx_cv_use_tarstream"
7677
7678 if test x"$enablestring" = xdisable; then
7679 if test $wxUSE_TARSTREAM = yes; then
7680 result=no
7681 else
7682 result=yes
7683 fi
7684 else
7685 result=$wxUSE_TARSTREAM
7686 fi
7687
7688 { echo "$as_me:$LINENO: result: $result" >&5
7689 echo "${ECHO_T}$result" >&6; }
7690
7691
7692 enablestring=
7693 defaultval=$wxUSE_ALL_FEATURES
7694 if test -z "$defaultval"; then
7695 if test x"$enablestring" = xdisable; then
7696 defaultval=yes
7697 else
7698 defaultval=no
7699 fi
7700 fi
7701
7702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7704 # Check whether --enable-textbuf was given.
7705 if test "${enable_textbuf+set}" = set; then
7706 enableval=$enable_textbuf;
7707 if test "$enableval" = yes; then
7708 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7709 else
7710 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7711 fi
7712
7713 else
7714
7715 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7716
7717 fi
7718
7719
7720 eval "$wx_cv_use_textbuf"
7721
7722 if test x"$enablestring" = xdisable; then
7723 if test $wxUSE_TEXTBUFFER = yes; then
7724 result=no
7725 else
7726 result=yes
7727 fi
7728 else
7729 result=$wxUSE_TEXTBUFFER
7730 fi
7731
7732 { echo "$as_me:$LINENO: result: $result" >&5
7733 echo "${ECHO_T}$result" >&6; }
7734
7735
7736 enablestring=
7737 defaultval=$wxUSE_ALL_FEATURES
7738 if test -z "$defaultval"; then
7739 if test x"$enablestring" = xdisable; then
7740 defaultval=yes
7741 else
7742 defaultval=no
7743 fi
7744 fi
7745
7746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7747 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7748 # Check whether --enable-textfile was given.
7749 if test "${enable_textfile+set}" = set; then
7750 enableval=$enable_textfile;
7751 if test "$enableval" = yes; then
7752 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7753 else
7754 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7755 fi
7756
7757 else
7758
7759 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7760
7761 fi
7762
7763
7764 eval "$wx_cv_use_textfile"
7765
7766 if test x"$enablestring" = xdisable; then
7767 if test $wxUSE_TEXTFILE = yes; then
7768 result=no
7769 else
7770 result=yes
7771 fi
7772 else
7773 result=$wxUSE_TEXTFILE
7774 fi
7775
7776 { echo "$as_me:$LINENO: result: $result" >&5
7777 echo "${ECHO_T}$result" >&6; }
7778
7779
7780 enablestring=
7781 defaultval=$wxUSE_ALL_FEATURES
7782 if test -z "$defaultval"; then
7783 if test x"$enablestring" = xdisable; then
7784 defaultval=yes
7785 else
7786 defaultval=no
7787 fi
7788 fi
7789
7790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7791 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7792 # Check whether --enable-timer was given.
7793 if test "${enable_timer+set}" = set; then
7794 enableval=$enable_timer;
7795 if test "$enableval" = yes; then
7796 wx_cv_use_timer='wxUSE_TIMER=yes'
7797 else
7798 wx_cv_use_timer='wxUSE_TIMER=no'
7799 fi
7800
7801 else
7802
7803 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7804
7805 fi
7806
7807
7808 eval "$wx_cv_use_timer"
7809
7810 if test x"$enablestring" = xdisable; then
7811 if test $wxUSE_TIMER = yes; then
7812 result=no
7813 else
7814 result=yes
7815 fi
7816 else
7817 result=$wxUSE_TIMER
7818 fi
7819
7820 { echo "$as_me:$LINENO: result: $result" >&5
7821 echo "${ECHO_T}$result" >&6; }
7822
7823
7824 enablestring=
7825 defaultval=$wxUSE_ALL_FEATURES
7826 if test -z "$defaultval"; then
7827 if test x"$enablestring" = xdisable; then
7828 defaultval=yes
7829 else
7830 defaultval=no
7831 fi
7832 fi
7833
7834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7835 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7836 # Check whether --enable-variant was given.
7837 if test "${enable_variant+set}" = set; then
7838 enableval=$enable_variant;
7839 if test "$enableval" = yes; then
7840 wx_cv_use_variant='wxUSE_VARIANT=yes'
7841 else
7842 wx_cv_use_variant='wxUSE_VARIANT=no'
7843 fi
7844
7845 else
7846
7847 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7848
7849 fi
7850
7851
7852 eval "$wx_cv_use_variant"
7853
7854 if test x"$enablestring" = xdisable; then
7855 if test $wxUSE_VARIANT = yes; then
7856 result=no
7857 else
7858 result=yes
7859 fi
7860 else
7861 result=$wxUSE_VARIANT
7862 fi
7863
7864 { echo "$as_me:$LINENO: result: $result" >&5
7865 echo "${ECHO_T}$result" >&6; }
7866
7867
7868 enablestring=
7869 defaultval=$wxUSE_ALL_FEATURES
7870 if test -z "$defaultval"; then
7871 if test x"$enablestring" = xdisable; then
7872 defaultval=yes
7873 else
7874 defaultval=no
7875 fi
7876 fi
7877
7878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7880 # Check whether --enable-zipstream was given.
7881 if test "${enable_zipstream+set}" = set; then
7882 enableval=$enable_zipstream;
7883 if test "$enableval" = yes; then
7884 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7885 else
7886 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7887 fi
7888
7889 else
7890
7891 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7892
7893 fi
7894
7895
7896 eval "$wx_cv_use_zipstream"
7897
7898 if test x"$enablestring" = xdisable; then
7899 if test $wxUSE_ZIPSTREAM = yes; then
7900 result=no
7901 else
7902 result=yes
7903 fi
7904 else
7905 result=$wxUSE_ZIPSTREAM
7906 fi
7907
7908 { echo "$as_me:$LINENO: result: $result" >&5
7909 echo "${ECHO_T}$result" >&6; }
7910
7911
7912
7913 enablestring=
7914 defaultval=$wxUSE_ALL_FEATURES
7915 if test -z "$defaultval"; then
7916 if test x"$enablestring" = xdisable; then
7917 defaultval=yes
7918 else
7919 defaultval=no
7920 fi
7921 fi
7922
7923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7924 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7925 # Check whether --enable-url was given.
7926 if test "${enable_url+set}" = set; then
7927 enableval=$enable_url;
7928 if test "$enableval" = yes; then
7929 wx_cv_use_url='wxUSE_URL=yes'
7930 else
7931 wx_cv_use_url='wxUSE_URL=no'
7932 fi
7933
7934 else
7935
7936 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7937
7938 fi
7939
7940
7941 eval "$wx_cv_use_url"
7942
7943 if test x"$enablestring" = xdisable; then
7944 if test $wxUSE_URL = yes; then
7945 result=no
7946 else
7947 result=yes
7948 fi
7949 else
7950 result=$wxUSE_URL
7951 fi
7952
7953 { echo "$as_me:$LINENO: result: $result" >&5
7954 echo "${ECHO_T}$result" >&6; }
7955
7956
7957 enablestring=
7958 defaultval=$wxUSE_ALL_FEATURES
7959 if test -z "$defaultval"; then
7960 if test x"$enablestring" = xdisable; then
7961 defaultval=yes
7962 else
7963 defaultval=no
7964 fi
7965 fi
7966
7967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7968 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7969 # Check whether --enable-protocol was given.
7970 if test "${enable_protocol+set}" = set; then
7971 enableval=$enable_protocol;
7972 if test "$enableval" = yes; then
7973 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7974 else
7975 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7976 fi
7977
7978 else
7979
7980 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7981
7982 fi
7983
7984
7985 eval "$wx_cv_use_protocol"
7986
7987 if test x"$enablestring" = xdisable; then
7988 if test $wxUSE_PROTOCOL = yes; then
7989 result=no
7990 else
7991 result=yes
7992 fi
7993 else
7994 result=$wxUSE_PROTOCOL
7995 fi
7996
7997 { echo "$as_me:$LINENO: result: $result" >&5
7998 echo "${ECHO_T}$result" >&6; }
7999
8000
8001 enablestring=
8002 defaultval=$wxUSE_ALL_FEATURES
8003 if test -z "$defaultval"; then
8004 if test x"$enablestring" = xdisable; then
8005 defaultval=yes
8006 else
8007 defaultval=no
8008 fi
8009 fi
8010
8011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8013 # Check whether --enable-protocol_http was given.
8014 if test "${enable_protocol_http+set}" = set; then
8015 enableval=$enable_protocol_http;
8016 if test "$enableval" = yes; then
8017 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8018 else
8019 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8020 fi
8021
8022 else
8023
8024 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8025
8026 fi
8027
8028
8029 eval "$wx_cv_use_protocol_http"
8030
8031 if test x"$enablestring" = xdisable; then
8032 if test $wxUSE_PROTOCOL_HTTP = yes; then
8033 result=no
8034 else
8035 result=yes
8036 fi
8037 else
8038 result=$wxUSE_PROTOCOL_HTTP
8039 fi
8040
8041 { echo "$as_me:$LINENO: result: $result" >&5
8042 echo "${ECHO_T}$result" >&6; }
8043
8044
8045 enablestring=
8046 defaultval=$wxUSE_ALL_FEATURES
8047 if test -z "$defaultval"; then
8048 if test x"$enablestring" = xdisable; then
8049 defaultval=yes
8050 else
8051 defaultval=no
8052 fi
8053 fi
8054
8055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8056 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8057 # Check whether --enable-protocol_ftp was given.
8058 if test "${enable_protocol_ftp+set}" = set; then
8059 enableval=$enable_protocol_ftp;
8060 if test "$enableval" = yes; then
8061 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8062 else
8063 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8064 fi
8065
8066 else
8067
8068 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8069
8070 fi
8071
8072
8073 eval "$wx_cv_use_protocol_ftp"
8074
8075 if test x"$enablestring" = xdisable; then
8076 if test $wxUSE_PROTOCOL_FTP = yes; then
8077 result=no
8078 else
8079 result=yes
8080 fi
8081 else
8082 result=$wxUSE_PROTOCOL_FTP
8083 fi
8084
8085 { echo "$as_me:$LINENO: result: $result" >&5
8086 echo "${ECHO_T}$result" >&6; }
8087
8088
8089 enablestring=
8090 defaultval=$wxUSE_ALL_FEATURES
8091 if test -z "$defaultval"; then
8092 if test x"$enablestring" = xdisable; then
8093 defaultval=yes
8094 else
8095 defaultval=no
8096 fi
8097 fi
8098
8099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8101 # Check whether --enable-protocol_file was given.
8102 if test "${enable_protocol_file+set}" = set; then
8103 enableval=$enable_protocol_file;
8104 if test "$enableval" = yes; then
8105 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8106 else
8107 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8108 fi
8109
8110 else
8111
8112 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8113
8114 fi
8115
8116
8117 eval "$wx_cv_use_protocol_file"
8118
8119 if test x"$enablestring" = xdisable; then
8120 if test $wxUSE_PROTOCOL_FILE = yes; then
8121 result=no
8122 else
8123 result=yes
8124 fi
8125 else
8126 result=$wxUSE_PROTOCOL_FILE
8127 fi
8128
8129 { echo "$as_me:$LINENO: result: $result" >&5
8130 echo "${ECHO_T}$result" >&6; }
8131
8132
8133
8134 enablestring=
8135 defaultval=$wxUSE_ALL_FEATURES
8136 if test -z "$defaultval"; then
8137 if test x"$enablestring" = xdisable; then
8138 defaultval=yes
8139 else
8140 defaultval=no
8141 fi
8142 fi
8143
8144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8145 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8146 # Check whether --enable-threads was given.
8147 if test "${enable_threads+set}" = set; then
8148 enableval=$enable_threads;
8149 if test "$enableval" = yes; then
8150 wx_cv_use_threads='wxUSE_THREADS=yes'
8151 else
8152 wx_cv_use_threads='wxUSE_THREADS=no'
8153 fi
8154
8155 else
8156
8157 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8158
8159 fi
8160
8161
8162 eval "$wx_cv_use_threads"
8163
8164 if test x"$enablestring" = xdisable; then
8165 if test $wxUSE_THREADS = yes; then
8166 result=no
8167 else
8168 result=yes
8169 fi
8170 else
8171 result=$wxUSE_THREADS
8172 fi
8173
8174 { echo "$as_me:$LINENO: result: $result" >&5
8175 echo "${ECHO_T}$result" >&6; }
8176
8177
8178
8179 enablestring=
8180 defaultval=
8181 if test -z "$defaultval"; then
8182 if test x"$enablestring" = xdisable; then
8183 defaultval=yes
8184 else
8185 defaultval=no
8186 fi
8187 fi
8188
8189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8190 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8191 # Check whether --enable-iniconf was given.
8192 if test "${enable_iniconf+set}" = set; then
8193 enableval=$enable_iniconf;
8194 if test "$enableval" = yes; then
8195 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8196 else
8197 wx_cv_use_iniconf='wxUSE_INICONF=no'
8198 fi
8199
8200 else
8201
8202 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8203
8204 fi
8205
8206
8207 eval "$wx_cv_use_iniconf"
8208
8209 if test x"$enablestring" = xdisable; then
8210 if test $wxUSE_INICONF = yes; then
8211 result=no
8212 else
8213 result=yes
8214 fi
8215 else
8216 result=$wxUSE_INICONF
8217 fi
8218
8219 { echo "$as_me:$LINENO: result: $result" >&5
8220 echo "${ECHO_T}$result" >&6; }
8221
8222
8223 enablestring=
8224 defaultval=$wxUSE_ALL_FEATURES
8225 if test -z "$defaultval"; then
8226 if test x"$enablestring" = xdisable; then
8227 defaultval=yes
8228 else
8229 defaultval=no
8230 fi
8231 fi
8232
8233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8235 # Check whether --enable-regkey was given.
8236 if test "${enable_regkey+set}" = set; then
8237 enableval=$enable_regkey;
8238 if test "$enableval" = yes; then
8239 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8240 else
8241 wx_cv_use_regkey='wxUSE_REGKEY=no'
8242 fi
8243
8244 else
8245
8246 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8247
8248 fi
8249
8250
8251 eval "$wx_cv_use_regkey"
8252
8253 if test x"$enablestring" = xdisable; then
8254 if test $wxUSE_REGKEY = yes; then
8255 result=no
8256 else
8257 result=yes
8258 fi
8259 else
8260 result=$wxUSE_REGKEY
8261 fi
8262
8263 { echo "$as_me:$LINENO: result: $result" >&5
8264 echo "${ECHO_T}$result" >&6; }
8265
8266
8267 if test "$wxUSE_GUI" = "yes"; then
8268
8269
8270
8271 enablestring=
8272 defaultval=$wxUSE_ALL_FEATURES
8273 if test -z "$defaultval"; then
8274 if test x"$enablestring" = xdisable; then
8275 defaultval=yes
8276 else
8277 defaultval=no
8278 fi
8279 fi
8280
8281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8283 # Check whether --enable-docview was given.
8284 if test "${enable_docview+set}" = set; then
8285 enableval=$enable_docview;
8286 if test "$enableval" = yes; then
8287 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8288 else
8289 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8290 fi
8291
8292 else
8293
8294 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8295
8296 fi
8297
8298
8299 eval "$wx_cv_use_docview"
8300
8301 if test x"$enablestring" = xdisable; then
8302 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8303 result=no
8304 else
8305 result=yes
8306 fi
8307 else
8308 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8309 fi
8310
8311 { echo "$as_me:$LINENO: result: $result" >&5
8312 echo "${ECHO_T}$result" >&6; }
8313
8314
8315 enablestring=
8316 defaultval=$wxUSE_ALL_FEATURES
8317 if test -z "$defaultval"; then
8318 if test x"$enablestring" = xdisable; then
8319 defaultval=yes
8320 else
8321 defaultval=no
8322 fi
8323 fi
8324
8325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8327 # Check whether --enable-help was given.
8328 if test "${enable_help+set}" = set; then
8329 enableval=$enable_help;
8330 if test "$enableval" = yes; then
8331 wx_cv_use_help='wxUSE_HELP=yes'
8332 else
8333 wx_cv_use_help='wxUSE_HELP=no'
8334 fi
8335
8336 else
8337
8338 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8339
8340 fi
8341
8342
8343 eval "$wx_cv_use_help"
8344
8345 if test x"$enablestring" = xdisable; then
8346 if test $wxUSE_HELP = yes; then
8347 result=no
8348 else
8349 result=yes
8350 fi
8351 else
8352 result=$wxUSE_HELP
8353 fi
8354
8355 { echo "$as_me:$LINENO: result: $result" >&5
8356 echo "${ECHO_T}$result" >&6; }
8357
8358
8359 enablestring=
8360 defaultval=$wxUSE_ALL_FEATURES
8361 if test -z "$defaultval"; then
8362 if test x"$enablestring" = xdisable; then
8363 defaultval=yes
8364 else
8365 defaultval=no
8366 fi
8367 fi
8368
8369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8371 # Check whether --enable-mshtmlhelp was given.
8372 if test "${enable_mshtmlhelp+set}" = set; then
8373 enableval=$enable_mshtmlhelp;
8374 if test "$enableval" = yes; then
8375 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8376 else
8377 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8378 fi
8379
8380 else
8381
8382 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8383
8384 fi
8385
8386
8387 eval "$wx_cv_use_mshtmlhelp"
8388
8389 if test x"$enablestring" = xdisable; then
8390 if test $wxUSE_MS_HTML_HELP = yes; then
8391 result=no
8392 else
8393 result=yes
8394 fi
8395 else
8396 result=$wxUSE_MS_HTML_HELP
8397 fi
8398
8399 { echo "$as_me:$LINENO: result: $result" >&5
8400 echo "${ECHO_T}$result" >&6; }
8401
8402
8403 enablestring=
8404 defaultval=$wxUSE_ALL_FEATURES
8405 if test -z "$defaultval"; then
8406 if test x"$enablestring" = xdisable; then
8407 defaultval=yes
8408 else
8409 defaultval=no
8410 fi
8411 fi
8412
8413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8414 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8415 # Check whether --enable-html was given.
8416 if test "${enable_html+set}" = set; then
8417 enableval=$enable_html;
8418 if test "$enableval" = yes; then
8419 wx_cv_use_html='wxUSE_HTML=yes'
8420 else
8421 wx_cv_use_html='wxUSE_HTML=no'
8422 fi
8423
8424 else
8425
8426 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8427
8428 fi
8429
8430
8431 eval "$wx_cv_use_html"
8432
8433 if test x"$enablestring" = xdisable; then
8434 if test $wxUSE_HTML = yes; then
8435 result=no
8436 else
8437 result=yes
8438 fi
8439 else
8440 result=$wxUSE_HTML
8441 fi
8442
8443 { echo "$as_me:$LINENO: result: $result" >&5
8444 echo "${ECHO_T}$result" >&6; }
8445
8446
8447 enablestring=
8448 defaultval=$wxUSE_ALL_FEATURES
8449 if test -z "$defaultval"; then
8450 if test x"$enablestring" = xdisable; then
8451 defaultval=yes
8452 else
8453 defaultval=no
8454 fi
8455 fi
8456
8457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8458 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8459 # Check whether --enable-htmlhelp was given.
8460 if test "${enable_htmlhelp+set}" = set; then
8461 enableval=$enable_htmlhelp;
8462 if test "$enableval" = yes; then
8463 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8464 else
8465 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8466 fi
8467
8468 else
8469
8470 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8471
8472 fi
8473
8474
8475 eval "$wx_cv_use_htmlhelp"
8476
8477 if test x"$enablestring" = xdisable; then
8478 if test $wxUSE_WXHTML_HELP = yes; then
8479 result=no
8480 else
8481 result=yes
8482 fi
8483 else
8484 result=$wxUSE_WXHTML_HELP
8485 fi
8486
8487 { echo "$as_me:$LINENO: result: $result" >&5
8488 echo "${ECHO_T}$result" >&6; }
8489
8490
8491 enablestring=
8492 defaultval=$wxUSE_ALL_FEATURES
8493 if test -z "$defaultval"; then
8494 if test x"$enablestring" = xdisable; then
8495 defaultval=yes
8496 else
8497 defaultval=no
8498 fi
8499 fi
8500
8501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8502 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8503 # Check whether --enable-xrc was given.
8504 if test "${enable_xrc+set}" = set; then
8505 enableval=$enable_xrc;
8506 if test "$enableval" = yes; then
8507 wx_cv_use_xrc='wxUSE_XRC=yes'
8508 else
8509 wx_cv_use_xrc='wxUSE_XRC=no'
8510 fi
8511
8512 else
8513
8514 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8515
8516 fi
8517
8518
8519 eval "$wx_cv_use_xrc"
8520
8521 if test x"$enablestring" = xdisable; then
8522 if test $wxUSE_XRC = yes; then
8523 result=no
8524 else
8525 result=yes
8526 fi
8527 else
8528 result=$wxUSE_XRC
8529 fi
8530
8531 { echo "$as_me:$LINENO: result: $result" >&5
8532 echo "${ECHO_T}$result" >&6; }
8533
8534
8535 enablestring=
8536 defaultval=$wxUSE_ALL_FEATURES
8537 if test -z "$defaultval"; then
8538 if test x"$enablestring" = xdisable; then
8539 defaultval=yes
8540 else
8541 defaultval=no
8542 fi
8543 fi
8544
8545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8546 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8547 # Check whether --enable-aui was given.
8548 if test "${enable_aui+set}" = set; then
8549 enableval=$enable_aui;
8550 if test "$enableval" = yes; then
8551 wx_cv_use_aui='wxUSE_AUI=yes'
8552 else
8553 wx_cv_use_aui='wxUSE_AUI=no'
8554 fi
8555
8556 else
8557
8558 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8559
8560 fi
8561
8562
8563 eval "$wx_cv_use_aui"
8564
8565 if test x"$enablestring" = xdisable; then
8566 if test $wxUSE_AUI = yes; then
8567 result=no
8568 else
8569 result=yes
8570 fi
8571 else
8572 result=$wxUSE_AUI
8573 fi
8574
8575 { echo "$as_me:$LINENO: result: $result" >&5
8576 echo "${ECHO_T}$result" >&6; }
8577
8578
8579 enablestring=
8580 defaultval=$wxUSE_ALL_FEATURES
8581 if test -z "$defaultval"; then
8582 if test x"$enablestring" = xdisable; then
8583 defaultval=yes
8584 else
8585 defaultval=no
8586 fi
8587 fi
8588
8589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8590 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8591 # Check whether --enable-propgrid was given.
8592 if test "${enable_propgrid+set}" = set; then
8593 enableval=$enable_propgrid;
8594 if test "$enableval" = yes; then
8595 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8596 else
8597 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8598 fi
8599
8600 else
8601
8602 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8603
8604 fi
8605
8606
8607 eval "$wx_cv_use_propgrid"
8608
8609 if test x"$enablestring" = xdisable; then
8610 if test $wxUSE_PROPGRID = yes; then
8611 result=no
8612 else
8613 result=yes
8614 fi
8615 else
8616 result=$wxUSE_PROPGRID
8617 fi
8618
8619 { echo "$as_me:$LINENO: result: $result" >&5
8620 echo "${ECHO_T}$result" >&6; }
8621
8622
8623 enablestring=
8624 defaultval=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x"$enablestring" = xdisable; then
8627 defaultval=yes
8628 else
8629 defaultval=no
8630 fi
8631 fi
8632
8633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8635 # Check whether --enable-stc was given.
8636 if test "${enable_stc+set}" = set; then
8637 enableval=$enable_stc;
8638 if test "$enableval" = yes; then
8639 wx_cv_use_stc='wxUSE_STC=yes'
8640 else
8641 wx_cv_use_stc='wxUSE_STC=no'
8642 fi
8643
8644 else
8645
8646 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8647
8648 fi
8649
8650
8651 eval "$wx_cv_use_stc"
8652
8653 if test x"$enablestring" = xdisable; then
8654 if test $wxUSE_STC = yes; then
8655 result=no
8656 else
8657 result=yes
8658 fi
8659 else
8660 result=$wxUSE_STC
8661 fi
8662
8663 { echo "$as_me:$LINENO: result: $result" >&5
8664 echo "${ECHO_T}$result" >&6; }
8665
8666
8667 enablestring=
8668 defaultval=$wxUSE_ALL_FEATURES
8669 if test -z "$defaultval"; then
8670 if test x"$enablestring" = xdisable; then
8671 defaultval=yes
8672 else
8673 defaultval=no
8674 fi
8675 fi
8676
8677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8678 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8679 # Check whether --enable-constraints was given.
8680 if test "${enable_constraints+set}" = set; then
8681 enableval=$enable_constraints;
8682 if test "$enableval" = yes; then
8683 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8684 else
8685 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8686 fi
8687
8688 else
8689
8690 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8691
8692 fi
8693
8694
8695 eval "$wx_cv_use_constraints"
8696
8697 if test x"$enablestring" = xdisable; then
8698 if test $wxUSE_CONSTRAINTS = yes; then
8699 result=no
8700 else
8701 result=yes
8702 fi
8703 else
8704 result=$wxUSE_CONSTRAINTS
8705 fi
8706
8707 { echo "$as_me:$LINENO: result: $result" >&5
8708 echo "${ECHO_T}$result" >&6; }
8709
8710
8711 enablestring=
8712 defaultval=$wxUSE_ALL_FEATURES
8713 if test -z "$defaultval"; then
8714 if test x"$enablestring" = xdisable; then
8715 defaultval=yes
8716 else
8717 defaultval=no
8718 fi
8719 fi
8720
8721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8722 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8723 # Check whether --enable-loggui was given.
8724 if test "${enable_loggui+set}" = set; then
8725 enableval=$enable_loggui;
8726 if test "$enableval" = yes; then
8727 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8728 else
8729 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8730 fi
8731
8732 else
8733
8734 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8735
8736 fi
8737
8738
8739 eval "$wx_cv_use_loggui"
8740
8741 if test x"$enablestring" = xdisable; then
8742 if test $wxUSE_LOGGUI = yes; then
8743 result=no
8744 else
8745 result=yes
8746 fi
8747 else
8748 result=$wxUSE_LOGGUI
8749 fi
8750
8751 { echo "$as_me:$LINENO: result: $result" >&5
8752 echo "${ECHO_T}$result" >&6; }
8753
8754
8755 enablestring=
8756 defaultval=$wxUSE_ALL_FEATURES
8757 if test -z "$defaultval"; then
8758 if test x"$enablestring" = xdisable; then
8759 defaultval=yes
8760 else
8761 defaultval=no
8762 fi
8763 fi
8764
8765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8767 # Check whether --enable-logwin was given.
8768 if test "${enable_logwin+set}" = set; then
8769 enableval=$enable_logwin;
8770 if test "$enableval" = yes; then
8771 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8772 else
8773 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8774 fi
8775
8776 else
8777
8778 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8779
8780 fi
8781
8782
8783 eval "$wx_cv_use_logwin"
8784
8785 if test x"$enablestring" = xdisable; then
8786 if test $wxUSE_LOGWINDOW = yes; then
8787 result=no
8788 else
8789 result=yes
8790 fi
8791 else
8792 result=$wxUSE_LOGWINDOW
8793 fi
8794
8795 { echo "$as_me:$LINENO: result: $result" >&5
8796 echo "${ECHO_T}$result" >&6; }
8797
8798
8799 enablestring=
8800 defaultval=$wxUSE_ALL_FEATURES
8801 if test -z "$defaultval"; then
8802 if test x"$enablestring" = xdisable; then
8803 defaultval=yes
8804 else
8805 defaultval=no
8806 fi
8807 fi
8808
8809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8811 # Check whether --enable-logdialog was given.
8812 if test "${enable_logdialog+set}" = set; then
8813 enableval=$enable_logdialog;
8814 if test "$enableval" = yes; then
8815 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8816 else
8817 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8818 fi
8819
8820 else
8821
8822 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8823
8824 fi
8825
8826
8827 eval "$wx_cv_use_logdialog"
8828
8829 if test x"$enablestring" = xdisable; then
8830 if test $wxUSE_LOGDIALOG = yes; then
8831 result=no
8832 else
8833 result=yes
8834 fi
8835 else
8836 result=$wxUSE_LOGDIALOG
8837 fi
8838
8839 { echo "$as_me:$LINENO: result: $result" >&5
8840 echo "${ECHO_T}$result" >&6; }
8841
8842
8843 enablestring=
8844 defaultval=$wxUSE_ALL_FEATURES
8845 if test -z "$defaultval"; then
8846 if test x"$enablestring" = xdisable; then
8847 defaultval=yes
8848 else
8849 defaultval=no
8850 fi
8851 fi
8852
8853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8855 # Check whether --enable-mdi was given.
8856 if test "${enable_mdi+set}" = set; then
8857 enableval=$enable_mdi;
8858 if test "$enableval" = yes; then
8859 wx_cv_use_mdi='wxUSE_MDI=yes'
8860 else
8861 wx_cv_use_mdi='wxUSE_MDI=no'
8862 fi
8863
8864 else
8865
8866 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8867
8868 fi
8869
8870
8871 eval "$wx_cv_use_mdi"
8872
8873 if test x"$enablestring" = xdisable; then
8874 if test $wxUSE_MDI = yes; then
8875 result=no
8876 else
8877 result=yes
8878 fi
8879 else
8880 result=$wxUSE_MDI
8881 fi
8882
8883 { echo "$as_me:$LINENO: result: $result" >&5
8884 echo "${ECHO_T}$result" >&6; }
8885
8886
8887 enablestring=
8888 defaultval=$wxUSE_ALL_FEATURES
8889 if test -z "$defaultval"; then
8890 if test x"$enablestring" = xdisable; then
8891 defaultval=yes
8892 else
8893 defaultval=no
8894 fi
8895 fi
8896
8897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8899 # Check whether --enable-mdidoc was given.
8900 if test "${enable_mdidoc+set}" = set; then
8901 enableval=$enable_mdidoc;
8902 if test "$enableval" = yes; then
8903 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8904 else
8905 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8906 fi
8907
8908 else
8909
8910 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8911
8912 fi
8913
8914
8915 eval "$wx_cv_use_mdidoc"
8916
8917 if test x"$enablestring" = xdisable; then
8918 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8919 result=no
8920 else
8921 result=yes
8922 fi
8923 else
8924 result=$wxUSE_MDI_ARCHITECTURE
8925 fi
8926
8927 { echo "$as_me:$LINENO: result: $result" >&5
8928 echo "${ECHO_T}$result" >&6; }
8929
8930
8931 enablestring=
8932 defaultval=$wxUSE_ALL_FEATURES
8933 if test -z "$defaultval"; then
8934 if test x"$enablestring" = xdisable; then
8935 defaultval=yes
8936 else
8937 defaultval=no
8938 fi
8939 fi
8940
8941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8942 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8943 # Check whether --enable-mediactrl was given.
8944 if test "${enable_mediactrl+set}" = set; then
8945 enableval=$enable_mediactrl;
8946 if test "$enableval" = yes; then
8947 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8948 else
8949 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8950 fi
8951
8952 else
8953
8954 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8955
8956 fi
8957
8958
8959 eval "$wx_cv_use_mediactrl"
8960
8961 if test x"$enablestring" = xdisable; then
8962 if test $wxUSE_MEDIACTRL = yes; then
8963 result=no
8964 else
8965 result=yes
8966 fi
8967 else
8968 result=$wxUSE_MEDIACTRL
8969 fi
8970
8971 { echo "$as_me:$LINENO: result: $result" >&5
8972 echo "${ECHO_T}$result" >&6; }
8973
8974
8975 enablestring=
8976 defaultval=$wxUSE_ALL_FEATURES
8977 if test -z "$defaultval"; then
8978 if test x"$enablestring" = xdisable; then
8979 defaultval=yes
8980 else
8981 defaultval=no
8982 fi
8983 fi
8984
8985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8987 # Check whether --enable-gstreamer8 was given.
8988 if test "${enable_gstreamer8+set}" = set; then
8989 enableval=$enable_gstreamer8;
8990 if test "$enableval" = yes; then
8991 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8992 else
8993 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8994 fi
8995
8996 else
8997
8998 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8999
9000 fi
9001
9002
9003 eval "$wx_cv_use_gstreamer8"
9004
9005 if test x"$enablestring" = xdisable; then
9006 if test $wxUSE_GSTREAMER8 = yes; then
9007 result=no
9008 else
9009 result=yes
9010 fi
9011 else
9012 result=$wxUSE_GSTREAMER8
9013 fi
9014
9015 { echo "$as_me:$LINENO: result: $result" >&5
9016 echo "${ECHO_T}$result" >&6; }
9017
9018
9019 enablestring=
9020 defaultval=$wxUSE_ALL_FEATURES
9021 if test -z "$defaultval"; then
9022 if test x"$enablestring" = xdisable; then
9023 defaultval=yes
9024 else
9025 defaultval=no
9026 fi
9027 fi
9028
9029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9030 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9031 # Check whether --enable-webkit was given.
9032 if test "${enable_webkit+set}" = set; then
9033 enableval=$enable_webkit;
9034 if test "$enableval" = yes; then
9035 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9036 else
9037 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9038 fi
9039
9040 else
9041
9042 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9043
9044 fi
9045
9046
9047 eval "$wx_cv_use_webkit"
9048
9049 if test x"$enablestring" = xdisable; then
9050 if test $wxUSE_WEBKIT = yes; then
9051 result=no
9052 else
9053 result=yes
9054 fi
9055 else
9056 result=$wxUSE_WEBKIT
9057 fi
9058
9059 { echo "$as_me:$LINENO: result: $result" >&5
9060 echo "${ECHO_T}$result" >&6; }
9061
9062
9063 enablestring=
9064 defaultval=$wxUSE_ALL_FEATURES
9065 if test -z "$defaultval"; then
9066 if test x"$enablestring" = xdisable; then
9067 defaultval=yes
9068 else
9069 defaultval=no
9070 fi
9071 fi
9072
9073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9074 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9075 # Check whether --enable-richtext was given.
9076 if test "${enable_richtext+set}" = set; then
9077 enableval=$enable_richtext;
9078 if test "$enableval" = yes; then
9079 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9080 else
9081 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9082 fi
9083
9084 else
9085
9086 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9087
9088 fi
9089
9090
9091 eval "$wx_cv_use_richtext"
9092
9093 if test x"$enablestring" = xdisable; then
9094 if test $wxUSE_RICHTEXT = yes; then
9095 result=no
9096 else
9097 result=yes
9098 fi
9099 else
9100 result=$wxUSE_RICHTEXT
9101 fi
9102
9103 { echo "$as_me:$LINENO: result: $result" >&5
9104 echo "${ECHO_T}$result" >&6; }
9105
9106
9107 enablestring=
9108 defaultval=$wxUSE_ALL_FEATURES
9109 if test -z "$defaultval"; then
9110 if test x"$enablestring" = xdisable; then
9111 defaultval=yes
9112 else
9113 defaultval=no
9114 fi
9115 fi
9116
9117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9118 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9119 # Check whether --enable-graphics_ctx was given.
9120 if test "${enable_graphics_ctx+set}" = set; then
9121 enableval=$enable_graphics_ctx;
9122 if test "$enableval" = yes; then
9123 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9124 else
9125 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9126 fi
9127
9128 else
9129
9130 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9131
9132 fi
9133
9134
9135 eval "$wx_cv_use_graphics_ctx"
9136
9137 if test x"$enablestring" = xdisable; then
9138 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9139 result=no
9140 else
9141 result=yes
9142 fi
9143 else
9144 result=$wxUSE_GRAPHICS_CONTEXT
9145 fi
9146
9147 { echo "$as_me:$LINENO: result: $result" >&5
9148 echo "${ECHO_T}$result" >&6; }
9149
9150
9151 enablestring=
9152 defaultval=$wxUSE_ALL_FEATURES
9153 if test -z "$defaultval"; then
9154 if test x"$enablestring" = xdisable; then
9155 defaultval=yes
9156 else
9157 defaultval=no
9158 fi
9159 fi
9160
9161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9163 # Check whether --enable-postscript was given.
9164 if test "${enable_postscript+set}" = set; then
9165 enableval=$enable_postscript;
9166 if test "$enableval" = yes; then
9167 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9168 else
9169 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9170 fi
9171
9172 else
9173
9174 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9175
9176 fi
9177
9178
9179 eval "$wx_cv_use_postscript"
9180
9181 if test x"$enablestring" = xdisable; then
9182 if test $wxUSE_POSTSCRIPT = yes; then
9183 result=no
9184 else
9185 result=yes
9186 fi
9187 else
9188 result=$wxUSE_POSTSCRIPT
9189 fi
9190
9191 { echo "$as_me:$LINENO: result: $result" >&5
9192 echo "${ECHO_T}$result" >&6; }
9193
9194
9195 enablestring=
9196 defaultval=$wxUSE_ALL_FEATURES
9197 if test -z "$defaultval"; then
9198 if test x"$enablestring" = xdisable; then
9199 defaultval=yes
9200 else
9201 defaultval=no
9202 fi
9203 fi
9204
9205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9206 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9207 # Check whether --enable-printarch was given.
9208 if test "${enable_printarch+set}" = set; then
9209 enableval=$enable_printarch;
9210 if test "$enableval" = yes; then
9211 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9212 else
9213 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9214 fi
9215
9216 else
9217
9218 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9219
9220 fi
9221
9222
9223 eval "$wx_cv_use_printarch"
9224
9225 if test x"$enablestring" = xdisable; then
9226 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9227 result=no
9228 else
9229 result=yes
9230 fi
9231 else
9232 result=$wxUSE_PRINTING_ARCHITECTURE
9233 fi
9234
9235 { echo "$as_me:$LINENO: result: $result" >&5
9236 echo "${ECHO_T}$result" >&6; }
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}-svg" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9251 # Check whether --enable-svg was given.
9252 if test "${enable_svg+set}" = set; then
9253 enableval=$enable_svg;
9254 if test "$enableval" = yes; then
9255 wx_cv_use_svg='wxUSE_SVG=yes'
9256 else
9257 wx_cv_use_svg='wxUSE_SVG=no'
9258 fi
9259
9260 else
9261
9262 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9263
9264 fi
9265
9266
9267 eval "$wx_cv_use_svg"
9268
9269 if test x"$enablestring" = xdisable; then
9270 if test $wxUSE_SVG = yes; then
9271 result=no
9272 else
9273 result=yes
9274 fi
9275 else
9276 result=$wxUSE_SVG
9277 fi
9278
9279 { echo "$as_me:$LINENO: result: $result" >&5
9280 echo "${ECHO_T}$result" >&6; }
9281
9282
9283
9284
9285 enablestring=
9286 defaultval=$wxUSE_ALL_FEATURES
9287 if test -z "$defaultval"; then
9288 if test x"$enablestring" = xdisable; then
9289 defaultval=yes
9290 else
9291 defaultval=no
9292 fi
9293 fi
9294
9295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9296 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9297 # Check whether --enable-clipboard was given.
9298 if test "${enable_clipboard+set}" = set; then
9299 enableval=$enable_clipboard;
9300 if test "$enableval" = yes; then
9301 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9302 else
9303 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9304 fi
9305
9306 else
9307
9308 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9309
9310 fi
9311
9312
9313 eval "$wx_cv_use_clipboard"
9314
9315 if test x"$enablestring" = xdisable; then
9316 if test $wxUSE_CLIPBOARD = yes; then
9317 result=no
9318 else
9319 result=yes
9320 fi
9321 else
9322 result=$wxUSE_CLIPBOARD
9323 fi
9324
9325 { echo "$as_me:$LINENO: result: $result" >&5
9326 echo "${ECHO_T}$result" >&6; }
9327
9328
9329 enablestring=
9330 defaultval=$wxUSE_ALL_FEATURES
9331 if test -z "$defaultval"; then
9332 if test x"$enablestring" = xdisable; then
9333 defaultval=yes
9334 else
9335 defaultval=no
9336 fi
9337 fi
9338
9339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9340 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9341 # Check whether --enable-dnd was given.
9342 if test "${enable_dnd+set}" = set; then
9343 enableval=$enable_dnd;
9344 if test "$enableval" = yes; then
9345 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9346 else
9347 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9348 fi
9349
9350 else
9351
9352 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9353
9354 fi
9355
9356
9357 eval "$wx_cv_use_dnd"
9358
9359 if test x"$enablestring" = xdisable; then
9360 if test $wxUSE_DRAG_AND_DROP = yes; then
9361 result=no
9362 else
9363 result=yes
9364 fi
9365 else
9366 result=$wxUSE_DRAG_AND_DROP
9367 fi
9368
9369 { echo "$as_me:$LINENO: result: $result" >&5
9370 echo "${ECHO_T}$result" >&6; }
9371
9372
9373 enablestring=
9374 defaultval=$wxUSE_ALL_FEATURES
9375 if test -z "$defaultval"; then
9376 if test x"$enablestring" = xdisable; then
9377 defaultval=yes
9378 else
9379 defaultval=no
9380 fi
9381 fi
9382
9383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9385 # Check whether --enable-metafile was given.
9386 if test "${enable_metafile+set}" = set; then
9387 enableval=$enable_metafile;
9388 if test "$enableval" = yes; then
9389 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9390 else
9391 wx_cv_use_metafile='wxUSE_METAFILE=no'
9392 fi
9393
9394 else
9395
9396 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9397
9398 fi
9399
9400
9401 eval "$wx_cv_use_metafile"
9402
9403 if test x"$enablestring" = xdisable; then
9404 if test $wxUSE_METAFILE = yes; then
9405 result=no
9406 else
9407 result=yes
9408 fi
9409 else
9410 result=$wxUSE_METAFILE
9411 fi
9412
9413 { echo "$as_me:$LINENO: result: $result" >&5
9414 echo "${ECHO_T}$result" >&6; }
9415
9416
9417
9418 DEFAULT_wxUSE_CONTROLS=none
9419
9420 enablestring=disable
9421 defaultval=
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9424 defaultval=yes
9425 else
9426 defaultval=no
9427 fi
9428 fi
9429
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9432 # Check whether --enable-controls was given.
9433 if test "${enable_controls+set}" = set; then
9434 enableval=$enable_controls;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9437 else
9438 wx_cv_use_controls='wxUSE_CONTROLS=no'
9439 fi
9440
9441 else
9442
9443 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9444
9445 fi
9446
9447
9448 eval "$wx_cv_use_controls"
9449
9450 if test x"$enablestring" = xdisable; then
9451 if test $wxUSE_CONTROLS = yes; then
9452 result=no
9453 else
9454 result=yes
9455 fi
9456 else
9457 result=$wxUSE_CONTROLS
9458 fi
9459
9460 { echo "$as_me:$LINENO: result: $result" >&5
9461 echo "${ECHO_T}$result" >&6; }
9462
9463
9464 if test "$wxUSE_CONTROLS" = "yes"; then
9465 DEFAULT_wxUSE_ACCEL=yes
9466 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9467 DEFAULT_wxUSE_BMPBUTTON=yes
9468 DEFAULT_wxUSE_BUTTON=yes
9469 DEFAULT_wxUSE_CALCTRL=yes
9470 DEFAULT_wxUSE_CARET=yes
9471 DEFAULT_wxUSE_COMBOBOX=yes
9472 DEFAULT_wxUSE_CHECKBOX=yes
9473 DEFAULT_wxUSE_CHECKLISTBOX=yes
9474 DEFAULT_wxUSE_CHOICE=yes
9475 DEFAULT_wxUSE_CHOICEBOOK=yes
9476 DEFAULT_wxUSE_COLLPANE=yes
9477 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9478 DEFAULT_wxUSE_COMBOBOX=yes
9479 DEFAULT_wxUSE_DATEPICKCTRL=yes
9480 DEFAULT_wxUSE_DISPLAY=yes
9481 DEFAULT_wxUSE_DETECT_SM=yes
9482 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9483 DEFAULT_wxUSE_FILECTRL=yes
9484 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9485 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9486 DEFAULT_wxUSE_GAUGE=yes
9487 DEFAULT_wxUSE_GRID=yes
9488 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9489 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9490 DEFAULT_wxUSE_IMAGLIST=yes
9491 DEFAULT_wxUSE_LISTBOOK=yes
9492 DEFAULT_wxUSE_LISTBOX=yes
9493 DEFAULT_wxUSE_LISTCTRL=yes
9494 DEFAULT_wxUSE_NOTEBOOK=yes
9495 DEFAULT_wxUSE_RADIOBOX=yes
9496 DEFAULT_wxUSE_RADIOBTN=yes
9497 DEFAULT_wxUSE_SASH=yes
9498 DEFAULT_wxUSE_SCROLLBAR=yes
9499 DEFAULT_wxUSE_SEARCHCTRL=yes
9500 DEFAULT_wxUSE_SLIDER=yes
9501 DEFAULT_wxUSE_SPINBTN=yes
9502 DEFAULT_wxUSE_SPINCTRL=yes
9503 DEFAULT_wxUSE_SPLITTER=yes
9504 DEFAULT_wxUSE_STATBMP=yes
9505 DEFAULT_wxUSE_STATBOX=yes
9506 DEFAULT_wxUSE_STATLINE=yes
9507 DEFAULT_wxUSE_STATUSBAR=yes
9508 DEFAULT_wxUSE_TOGGLEBTN=yes
9509 DEFAULT_wxUSE_TOOLBAR=yes
9510 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9511 DEFAULT_wxUSE_TOOLTIPS=yes
9512 DEFAULT_wxUSE_TREEBOOK=yes
9513 DEFAULT_wxUSE_TOOLBOOK=yes
9514 DEFAULT_wxUSE_TREECTRL=yes
9515 DEFAULT_wxUSE_POPUPWIN=yes
9516 DEFAULT_wxUSE_TIPWINDOW=yes
9517 elif test "$wxUSE_CONTROLS" = "no"; then
9518 DEFAULT_wxUSE_ACCEL=no
9519 DEFAULT_wxUSE_ANIMATIONCTRL=no
9520 DEFAULT_wxUSE_BMPBUTTON=no
9521 DEFAULT_wxUSE_BUTTON=no
9522 DEFAULT_wxUSE_CALCTRL=no
9523 DEFAULT_wxUSE_CARET=no
9524 DEFAULT_wxUSE_COLLPANE=no
9525 DEFAULT_wxUSE_COMBOBOX=no
9526 DEFAULT_wxUSE_CHECKBOX=no
9527 DEFAULT_wxUSE_CHECKLISTBOX=no
9528 DEFAULT_wxUSE_CHOICE=no
9529 DEFAULT_wxUSE_CHOICEBOOK=no
9530 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9531 DEFAULT_wxUSE_COMBOBOX=no
9532 DEFAULT_wxUSE_DATEPICKCTRL=no
9533 DEFAULT_wxUSE_DISPLAY=no
9534 DEFAULT_wxUSE_DETECT_SM=no
9535 DEFAULT_wxUSE_DIRPICKERCTRL=no
9536 DEFAULT_wxUSE_FILECTRL=no
9537 DEFAULT_wxUSE_FILEPICKERCTRL=no
9538 DEFAULT_wxUSE_FONTPICKERCTRL=no
9539 DEFAULT_wxUSE_GAUGE=no
9540 DEFAULT_wxUSE_GRID=no
9541 DEFAULT_wxUSE_HYPERLINKCTRL=no
9542 DEFAULT_wxUSE_DATAVIEWCTRL=no
9543 DEFAULT_wxUSE_IMAGLIST=no
9544 DEFAULT_wxUSE_LISTBOOK=no
9545 DEFAULT_wxUSE_LISTBOX=no
9546 DEFAULT_wxUSE_LISTCTRL=no
9547 DEFAULT_wxUSE_NOTEBOOK=no
9548 DEFAULT_wxUSE_RADIOBOX=no
9549 DEFAULT_wxUSE_RADIOBTN=no
9550 DEFAULT_wxUSE_SASH=no
9551 DEFAULT_wxUSE_SCROLLBAR=no
9552 DEFAULT_wxUSE_SEARCHCTRL=no
9553 DEFAULT_wxUSE_SLIDER=no
9554 DEFAULT_wxUSE_SPINBTN=no
9555 DEFAULT_wxUSE_SPINCTRL=no
9556 DEFAULT_wxUSE_SPLITTER=no
9557 DEFAULT_wxUSE_STATBMP=no
9558 DEFAULT_wxUSE_STATBOX=no
9559 DEFAULT_wxUSE_STATLINE=no
9560 DEFAULT_wxUSE_STATUSBAR=no
9561 DEFAULT_wxUSE_TOGGLEBTN=no
9562 DEFAULT_wxUSE_TOOLBAR=no
9563 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9564 DEFAULT_wxUSE_TOOLTIPS=no
9565 DEFAULT_wxUSE_TREEBOOK=no
9566 DEFAULT_wxUSE_TOOLBOOK=no
9567 DEFAULT_wxUSE_TREECTRL=no
9568 DEFAULT_wxUSE_POPUPWIN=no
9569 DEFAULT_wxUSE_TIPWINDOW=no
9570 fi
9571
9572
9573 enablestring=
9574 defaultval=$wxUSE_ALL_FEATURES
9575 if test -z "$defaultval"; then
9576 if test x"$enablestring" = xdisable; then
9577 defaultval=yes
9578 else
9579 defaultval=no
9580 fi
9581 fi
9582
9583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9584 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9585 # Check whether --enable-accel was given.
9586 if test "${enable_accel+set}" = set; then
9587 enableval=$enable_accel;
9588 if test "$enableval" = yes; then
9589 wx_cv_use_accel='wxUSE_ACCEL=yes'
9590 else
9591 wx_cv_use_accel='wxUSE_ACCEL=no'
9592 fi
9593
9594 else
9595
9596 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9597
9598 fi
9599
9600
9601 eval "$wx_cv_use_accel"
9602
9603 if test x"$enablestring" = xdisable; then
9604 if test $wxUSE_ACCEL = yes; then
9605 result=no
9606 else
9607 result=yes
9608 fi
9609 else
9610 result=$wxUSE_ACCEL
9611 fi
9612
9613 { echo "$as_me:$LINENO: result: $result" >&5
9614 echo "${ECHO_T}$result" >&6; }
9615
9616
9617 enablestring=
9618 defaultval=$wxUSE_ALL_FEATURES
9619 if test -z "$defaultval"; then
9620 if test x"$enablestring" = xdisable; then
9621 defaultval=yes
9622 else
9623 defaultval=no
9624 fi
9625 fi
9626
9627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9628 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9629 # Check whether --enable-animatectrl was given.
9630 if test "${enable_animatectrl+set}" = set; then
9631 enableval=$enable_animatectrl;
9632 if test "$enableval" = yes; then
9633 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9634 else
9635 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9636 fi
9637
9638 else
9639
9640 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9641
9642 fi
9643
9644
9645 eval "$wx_cv_use_animatectrl"
9646
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_ANIMATIONCTRL = yes; then
9649 result=no
9650 else
9651 result=yes
9652 fi
9653 else
9654 result=$wxUSE_ANIMATIONCTRL
9655 fi
9656
9657 { echo "$as_me:$LINENO: result: $result" >&5
9658 echo "${ECHO_T}$result" >&6; }
9659
9660
9661 enablestring=
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9665 defaultval=yes
9666 else
9667 defaultval=no
9668 fi
9669 fi
9670
9671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9673 # Check whether --enable-button was given.
9674 if test "${enable_button+set}" = set; then
9675 enableval=$enable_button;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_button='wxUSE_BUTTON=yes'
9678 else
9679 wx_cv_use_button='wxUSE_BUTTON=no'
9680 fi
9681
9682 else
9683
9684 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9685
9686 fi
9687
9688
9689 eval "$wx_cv_use_button"
9690
9691 if test x"$enablestring" = xdisable; then
9692 if test $wxUSE_BUTTON = yes; then
9693 result=no
9694 else
9695 result=yes
9696 fi
9697 else
9698 result=$wxUSE_BUTTON
9699 fi
9700
9701 { echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6; }
9703
9704
9705 enablestring=
9706 defaultval=$wxUSE_ALL_FEATURES
9707 if test -z "$defaultval"; then
9708 if test x"$enablestring" = xdisable; then
9709 defaultval=yes
9710 else
9711 defaultval=no
9712 fi
9713 fi
9714
9715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9717 # Check whether --enable-bmpbutton was given.
9718 if test "${enable_bmpbutton+set}" = set; then
9719 enableval=$enable_bmpbutton;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9722 else
9723 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9724 fi
9725
9726 else
9727
9728 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9729
9730 fi
9731
9732
9733 eval "$wx_cv_use_bmpbutton"
9734
9735 if test x"$enablestring" = xdisable; then
9736 if test $wxUSE_BMPBUTTON = yes; then
9737 result=no
9738 else
9739 result=yes
9740 fi
9741 else
9742 result=$wxUSE_BMPBUTTON
9743 fi
9744
9745 { echo "$as_me:$LINENO: result: $result" >&5
9746 echo "${ECHO_T}$result" >&6; }
9747
9748
9749 enablestring=
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9753 defaultval=yes
9754 else
9755 defaultval=no
9756 fi
9757 fi
9758
9759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9761 # Check whether --enable-bmpcombobox was given.
9762 if test "${enable_bmpcombobox+set}" = set; then
9763 enableval=$enable_bmpcombobox;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9766 else
9767 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9768 fi
9769
9770 else
9771
9772 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9773
9774 fi
9775
9776
9777 eval "$wx_cv_use_bmpcombobox"
9778
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9781 result=no
9782 else
9783 result=yes
9784 fi
9785 else
9786 result=$wxUSE_BITMAPCOMBOBOX
9787 fi
9788
9789 { echo "$as_me:$LINENO: result: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9791
9792
9793 enablestring=
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9797 defaultval=yes
9798 else
9799 defaultval=no
9800 fi
9801 fi
9802
9803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9805 # Check whether --enable-calendar was given.
9806 if test "${enable_calendar+set}" = set; then
9807 enableval=$enable_calendar;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9810 else
9811 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9812 fi
9813
9814 else
9815
9816 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9817
9818 fi
9819
9820
9821 eval "$wx_cv_use_calendar"
9822
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_CALCTRL = yes; then
9825 result=no
9826 else
9827 result=yes
9828 fi
9829 else
9830 result=$wxUSE_CALCTRL
9831 fi
9832
9833 { echo "$as_me:$LINENO: result: $result" >&5
9834 echo "${ECHO_T}$result" >&6; }
9835
9836
9837 enablestring=
9838 defaultval=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x"$enablestring" = xdisable; then
9841 defaultval=yes
9842 else
9843 defaultval=no
9844 fi
9845 fi
9846
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9849 # Check whether --enable-caret was given.
9850 if test "${enable_caret+set}" = set; then
9851 enableval=$enable_caret;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_caret='wxUSE_CARET=yes'
9854 else
9855 wx_cv_use_caret='wxUSE_CARET=no'
9856 fi
9857
9858 else
9859
9860 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9861
9862 fi
9863
9864
9865 eval "$wx_cv_use_caret"
9866
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_CARET = yes; then
9869 result=no
9870 else
9871 result=yes
9872 fi
9873 else
9874 result=$wxUSE_CARET
9875 fi
9876
9877 { echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6; }
9879
9880
9881 enablestring=
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9885 defaultval=yes
9886 else
9887 defaultval=no
9888 fi
9889 fi
9890
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9893 # Check whether --enable-checkbox was given.
9894 if test "${enable_checkbox+set}" = set; then
9895 enableval=$enable_checkbox;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9898 else
9899 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9900 fi
9901
9902 else
9903
9904 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9905
9906 fi
9907
9908
9909 eval "$wx_cv_use_checkbox"
9910
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CHECKBOX = yes; then
9913 result=no
9914 else
9915 result=yes
9916 fi
9917 else
9918 result=$wxUSE_CHECKBOX
9919 fi
9920
9921 { echo "$as_me:$LINENO: result: $result" >&5
9922 echo "${ECHO_T}$result" >&6; }
9923
9924
9925 enablestring=
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9929 defaultval=yes
9930 else
9931 defaultval=no
9932 fi
9933 fi
9934
9935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9937 # Check whether --enable-checklst was given.
9938 if test "${enable_checklst+set}" = set; then
9939 enableval=$enable_checklst;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9942 else
9943 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9944 fi
9945
9946 else
9947
9948 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9949
9950 fi
9951
9952
9953 eval "$wx_cv_use_checklst"
9954
9955 if test x"$enablestring" = xdisable; then
9956 if test $wxUSE_CHECKLST = yes; then
9957 result=no
9958 else
9959 result=yes
9960 fi
9961 else
9962 result=$wxUSE_CHECKLST
9963 fi
9964
9965 { echo "$as_me:$LINENO: result: $result" >&5
9966 echo "${ECHO_T}$result" >&6; }
9967
9968
9969 enablestring=
9970 defaultval=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x"$enablestring" = xdisable; then
9973 defaultval=yes
9974 else
9975 defaultval=no
9976 fi
9977 fi
9978
9979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9980 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9981 # Check whether --enable-choice was given.
9982 if test "${enable_choice+set}" = set; then
9983 enableval=$enable_choice;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_choice='wxUSE_CHOICE=yes'
9986 else
9987 wx_cv_use_choice='wxUSE_CHOICE=no'
9988 fi
9989
9990 else
9991
9992 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9993
9994 fi
9995
9996
9997 eval "$wx_cv_use_choice"
9998
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_CHOICE = yes; then
10001 result=no
10002 else
10003 result=yes
10004 fi
10005 else
10006 result=$wxUSE_CHOICE
10007 fi
10008
10009 { echo "$as_me:$LINENO: result: $result" >&5
10010 echo "${ECHO_T}$result" >&6; }
10011
10012
10013 enablestring=
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10017 defaultval=yes
10018 else
10019 defaultval=no
10020 fi
10021 fi
10022
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10025 # Check whether --enable-choicebook was given.
10026 if test "${enable_choicebook+set}" = set; then
10027 enableval=$enable_choicebook;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10030 else
10031 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10032 fi
10033
10034 else
10035
10036 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10037
10038 fi
10039
10040
10041 eval "$wx_cv_use_choicebook"
10042
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_CHOICEBOOK = yes; then
10045 result=no
10046 else
10047 result=yes
10048 fi
10049 else
10050 result=$wxUSE_CHOICEBOOK
10051 fi
10052
10053 { echo "$as_me:$LINENO: result: $result" >&5
10054 echo "${ECHO_T}$result" >&6; }
10055
10056
10057 enablestring=
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10061 defaultval=yes
10062 else
10063 defaultval=no
10064 fi
10065 fi
10066
10067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10069 # Check whether --enable-collpane was given.
10070 if test "${enable_collpane+set}" = set; then
10071 enableval=$enable_collpane;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10074 else
10075 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10076 fi
10077
10078 else
10079
10080 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10081
10082 fi
10083
10084
10085 eval "$wx_cv_use_collpane"
10086
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_COLLPANE = yes; then
10089 result=no
10090 else
10091 result=yes
10092 fi
10093 else
10094 result=$wxUSE_COLLPANE
10095 fi
10096
10097 { echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6; }
10099
10100
10101 enablestring=
10102 defaultval=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x"$enablestring" = xdisable; then
10105 defaultval=yes
10106 else
10107 defaultval=no
10108 fi
10109 fi
10110
10111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10113 # Check whether --enable-colourpicker was given.
10114 if test "${enable_colourpicker+set}" = set; then
10115 enableval=$enable_colourpicker;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10118 else
10119 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10120 fi
10121
10122 else
10123
10124 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10125
10126 fi
10127
10128
10129 eval "$wx_cv_use_colourpicker"
10130
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_COLOURPICKERCTRL = yes; then
10133 result=no
10134 else
10135 result=yes
10136 fi
10137 else
10138 result=$wxUSE_COLOURPICKERCTRL
10139 fi
10140
10141 { echo "$as_me:$LINENO: result: $result" >&5
10142 echo "${ECHO_T}$result" >&6; }
10143
10144
10145 enablestring=
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10149 defaultval=yes
10150 else
10151 defaultval=no
10152 fi
10153 fi
10154
10155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10157 # Check whether --enable-combobox was given.
10158 if test "${enable_combobox+set}" = set; then
10159 enableval=$enable_combobox;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10162 else
10163 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10164 fi
10165
10166 else
10167
10168 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10169
10170 fi
10171
10172
10173 eval "$wx_cv_use_combobox"
10174
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_COMBOBOX = yes; then
10177 result=no
10178 else
10179 result=yes
10180 fi
10181 else
10182 result=$wxUSE_COMBOBOX
10183 fi
10184
10185 { echo "$as_me:$LINENO: result: $result" >&5
10186 echo "${ECHO_T}$result" >&6; }
10187
10188
10189 enablestring=
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10193 defaultval=yes
10194 else
10195 defaultval=no
10196 fi
10197 fi
10198
10199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10200 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10201 # Check whether --enable-comboctrl was given.
10202 if test "${enable_comboctrl+set}" = set; then
10203 enableval=$enable_comboctrl;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10206 else
10207 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10208 fi
10209
10210 else
10211
10212 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10213
10214 fi
10215
10216
10217 eval "$wx_cv_use_comboctrl"
10218
10219 if test x"$enablestring" = xdisable; then
10220 if test $wxUSE_COMBOCTRL = yes; then
10221 result=no
10222 else
10223 result=yes
10224 fi
10225 else
10226 result=$wxUSE_COMBOCTRL
10227 fi
10228
10229 { echo "$as_me:$LINENO: result: $result" >&5
10230 echo "${ECHO_T}$result" >&6; }
10231
10232
10233 enablestring=
10234 defaultval=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x"$enablestring" = xdisable; then
10237 defaultval=yes
10238 else
10239 defaultval=no
10240 fi
10241 fi
10242
10243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10245 # Check whether --enable-datepick was given.
10246 if test "${enable_datepick+set}" = set; then
10247 enableval=$enable_datepick;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10250 else
10251 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10252 fi
10253
10254 else
10255
10256 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10257
10258 fi
10259
10260
10261 eval "$wx_cv_use_datepick"
10262
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_DATEPICKCTRL = yes; then
10265 result=no
10266 else
10267 result=yes
10268 fi
10269 else
10270 result=$wxUSE_DATEPICKCTRL
10271 fi
10272
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10275
10276
10277 enablestring=
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10281 defaultval=yes
10282 else
10283 defaultval=no
10284 fi
10285 fi
10286
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10289 # Check whether --enable-dirpicker was given.
10290 if test "${enable_dirpicker+set}" = set; then
10291 enableval=$enable_dirpicker;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10294 else
10295 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10296 fi
10297
10298 else
10299
10300 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10301
10302 fi
10303
10304
10305 eval "$wx_cv_use_dirpicker"
10306
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_DIRPICKERCTRL = yes; then
10309 result=no
10310 else
10311 result=yes
10312 fi
10313 else
10314 result=$wxUSE_DIRPICKERCTRL
10315 fi
10316
10317 { echo "$as_me:$LINENO: result: $result" >&5
10318 echo "${ECHO_T}$result" >&6; }
10319
10320
10321 enablestring=
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10325 defaultval=yes
10326 else
10327 defaultval=no
10328 fi
10329 fi
10330
10331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10333 # Check whether --enable-display was given.
10334 if test "${enable_display+set}" = set; then
10335 enableval=$enable_display;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_display='wxUSE_DISPLAY=yes'
10338 else
10339 wx_cv_use_display='wxUSE_DISPLAY=no'
10340 fi
10341
10342 else
10343
10344 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10345
10346 fi
10347
10348
10349 eval "$wx_cv_use_display"
10350
10351 if test x"$enablestring" = xdisable; then
10352 if test $wxUSE_DISPLAY = yes; then
10353 result=no
10354 else
10355 result=yes
10356 fi
10357 else
10358 result=$wxUSE_DISPLAY
10359 fi
10360
10361 { echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6; }
10363
10364
10365 enablestring=
10366 defaultval=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x"$enablestring" = xdisable; then
10369 defaultval=yes
10370 else
10371 defaultval=no
10372 fi
10373 fi
10374
10375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10377 # Check whether --enable-detect_sm was given.
10378 if test "${enable_detect_sm+set}" = set; then
10379 enableval=$enable_detect_sm;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10382 else
10383 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10384 fi
10385
10386 else
10387
10388 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10389
10390 fi
10391
10392
10393 eval "$wx_cv_use_detect_sm"
10394
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_DETECT_SM = yes; then
10397 result=no
10398 else
10399 result=yes
10400 fi
10401 else
10402 result=$wxUSE_DETECT_SM
10403 fi
10404
10405 { echo "$as_me:$LINENO: result: $result" >&5
10406 echo "${ECHO_T}$result" >&6; }
10407
10408
10409 enablestring=
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10413 defaultval=yes
10414 else
10415 defaultval=no
10416 fi
10417 fi
10418
10419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10421 # Check whether --enable-editablebox was given.
10422 if test "${enable_editablebox+set}" = set; then
10423 enableval=$enable_editablebox;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10426 else
10427 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10428 fi
10429
10430 else
10431
10432 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10433
10434 fi
10435
10436
10437 eval "$wx_cv_use_editablebox"
10438
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_EDITABLELISTBOX = yes; then
10441 result=no
10442 else
10443 result=yes
10444 fi
10445 else
10446 result=$wxUSE_EDITABLELISTBOX
10447 fi
10448
10449 { echo "$as_me:$LINENO: result: $result" >&5
10450 echo "${ECHO_T}$result" >&6; }
10451
10452
10453 enablestring=
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10457 defaultval=yes
10458 else
10459 defaultval=no
10460 fi
10461 fi
10462
10463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10465 # Check whether --enable-filepicker was given.
10466 if test "${enable_filepicker+set}" = set; then
10467 enableval=$enable_filepicker;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10470 else
10471 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10472 fi
10473
10474 else
10475
10476 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10477
10478 fi
10479
10480
10481 eval "$wx_cv_use_filepicker"
10482
10483 if test x"$enablestring" = xdisable; then
10484 if test $wxUSE_FILEPICKERCTRL = yes; then
10485 result=no
10486 else
10487 result=yes
10488 fi
10489 else
10490 result=$wxUSE_FILEPICKERCTRL
10491 fi
10492
10493 { echo "$as_me:$LINENO: result: $result" >&5
10494 echo "${ECHO_T}$result" >&6; }
10495
10496
10497 enablestring=
10498 defaultval=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x"$enablestring" = xdisable; then
10501 defaultval=yes
10502 else
10503 defaultval=no
10504 fi
10505 fi
10506
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10509 # Check whether --enable-filectrl was given.
10510 if test "${enable_filectrl+set}" = set; then
10511 enableval=$enable_filectrl;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10514 else
10515 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10516 fi
10517
10518 else
10519
10520 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10521
10522 fi
10523
10524
10525 eval "$wx_cv_use_filectrl"
10526
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_FILECTRL = yes; then
10529 result=no
10530 else
10531 result=yes
10532 fi
10533 else
10534 result=$wxUSE_FILECTRL
10535 fi
10536
10537 { echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6; }
10539
10540
10541 enablestring=
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10545 defaultval=yes
10546 else
10547 defaultval=no
10548 fi
10549 fi
10550
10551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10553 # Check whether --enable-fontpicker was given.
10554 if test "${enable_fontpicker+set}" = set; then
10555 enableval=$enable_fontpicker;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10558 else
10559 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10560 fi
10561
10562 else
10563
10564 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10565
10566 fi
10567
10568
10569 eval "$wx_cv_use_fontpicker"
10570
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_FONTPICKERCTRL = yes; then
10573 result=no
10574 else
10575 result=yes
10576 fi
10577 else
10578 result=$wxUSE_FONTPICKERCTRL
10579 fi
10580
10581 { echo "$as_me:$LINENO: result: $result" >&5
10582 echo "${ECHO_T}$result" >&6; }
10583
10584
10585 enablestring=
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10589 defaultval=yes
10590 else
10591 defaultval=no
10592 fi
10593 fi
10594
10595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10597 # Check whether --enable-gauge was given.
10598 if test "${enable_gauge+set}" = set; then
10599 enableval=$enable_gauge;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10602 else
10603 wx_cv_use_gauge='wxUSE_GAUGE=no'
10604 fi
10605
10606 else
10607
10608 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10609
10610 fi
10611
10612
10613 eval "$wx_cv_use_gauge"
10614
10615 if test x"$enablestring" = xdisable; then
10616 if test $wxUSE_GAUGE = yes; then
10617 result=no
10618 else
10619 result=yes
10620 fi
10621 else
10622 result=$wxUSE_GAUGE
10623 fi
10624
10625 { echo "$as_me:$LINENO: result: $result" >&5
10626 echo "${ECHO_T}$result" >&6; }
10627
10628
10629 enablestring=
10630 defaultval=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x"$enablestring" = xdisable; then
10633 defaultval=yes
10634 else
10635 defaultval=no
10636 fi
10637 fi
10638
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10641 # Check whether --enable-grid was given.
10642 if test "${enable_grid+set}" = set; then
10643 enableval=$enable_grid;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_grid='wxUSE_GRID=yes'
10646 else
10647 wx_cv_use_grid='wxUSE_GRID=no'
10648 fi
10649
10650 else
10651
10652 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10653
10654 fi
10655
10656
10657 eval "$wx_cv_use_grid"
10658
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_GRID = yes; then
10661 result=no
10662 else
10663 result=yes
10664 fi
10665 else
10666 result=$wxUSE_GRID
10667 fi
10668
10669 { echo "$as_me:$LINENO: result: $result" >&5
10670 echo "${ECHO_T}$result" >&6; }
10671
10672
10673 enablestring=
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10677 defaultval=yes
10678 else
10679 defaultval=no
10680 fi
10681 fi
10682
10683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10684 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10685 # Check whether --enable-dataviewctrl was given.
10686 if test "${enable_dataviewctrl+set}" = set; then
10687 enableval=$enable_dataviewctrl;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10690 else
10691 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10692 fi
10693
10694 else
10695
10696 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10697
10698 fi
10699
10700
10701 eval "$wx_cv_use_dataviewctrl"
10702
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_DATAVIEWCTRL = yes; then
10705 result=no
10706 else
10707 result=yes
10708 fi
10709 else
10710 result=$wxUSE_DATAVIEWCTRL
10711 fi
10712
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10715
10716
10717 enablestring=
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10721 defaultval=yes
10722 else
10723 defaultval=no
10724 fi
10725 fi
10726
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10729 # Check whether --enable-hyperlink was given.
10730 if test "${enable_hyperlink+set}" = set; then
10731 enableval=$enable_hyperlink;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10734 else
10735 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10736 fi
10737
10738 else
10739
10740 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10741
10742 fi
10743
10744
10745 eval "$wx_cv_use_hyperlink"
10746
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_HYPERLINKCTRL = yes; then
10749 result=no
10750 else
10751 result=yes
10752 fi
10753 else
10754 result=$wxUSE_HYPERLINKCTRL
10755 fi
10756
10757 { echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6; }
10759
10760
10761 enablestring=
10762 defaultval=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x"$enablestring" = xdisable; then
10765 defaultval=yes
10766 else
10767 defaultval=no
10768 fi
10769 fi
10770
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10773 # Check whether --enable-imaglist was given.
10774 if test "${enable_imaglist+set}" = set; then
10775 enableval=$enable_imaglist;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10778 else
10779 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10780 fi
10781
10782 else
10783
10784 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10785
10786 fi
10787
10788
10789 eval "$wx_cv_use_imaglist"
10790
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_IMAGLIST = yes; then
10793 result=no
10794 else
10795 result=yes
10796 fi
10797 else
10798 result=$wxUSE_IMAGLIST
10799 fi
10800
10801 { echo "$as_me:$LINENO: result: $result" >&5
10802 echo "${ECHO_T}$result" >&6; }
10803
10804
10805 enablestring=
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10809 defaultval=yes
10810 else
10811 defaultval=no
10812 fi
10813 fi
10814
10815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10817 # Check whether --enable-listbook was given.
10818 if test "${enable_listbook+set}" = set; then
10819 enableval=$enable_listbook;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10822 else
10823 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10824 fi
10825
10826 else
10827
10828 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10829
10830 fi
10831
10832
10833 eval "$wx_cv_use_listbook"
10834
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_LISTBOOK = yes; then
10837 result=no
10838 else
10839 result=yes
10840 fi
10841 else
10842 result=$wxUSE_LISTBOOK
10843 fi
10844
10845 { echo "$as_me:$LINENO: result: $result" >&5
10846 echo "${ECHO_T}$result" >&6; }
10847
10848
10849 enablestring=
10850 defaultval=$wxUSE_ALL_FEATURES
10851 if test -z "$defaultval"; then
10852 if test x"$enablestring" = xdisable; then
10853 defaultval=yes
10854 else
10855 defaultval=no
10856 fi
10857 fi
10858
10859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10860 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10861 # Check whether --enable-listbox was given.
10862 if test "${enable_listbox+set}" = set; then
10863 enableval=$enable_listbox;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10866 else
10867 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10868 fi
10869
10870 else
10871
10872 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10873
10874 fi
10875
10876
10877 eval "$wx_cv_use_listbox"
10878
10879 if test x"$enablestring" = xdisable; then
10880 if test $wxUSE_LISTBOX = yes; then
10881 result=no
10882 else
10883 result=yes
10884 fi
10885 else
10886 result=$wxUSE_LISTBOX
10887 fi
10888
10889 { echo "$as_me:$LINENO: result: $result" >&5
10890 echo "${ECHO_T}$result" >&6; }
10891
10892
10893 enablestring=
10894 defaultval=$wxUSE_ALL_FEATURES
10895 if test -z "$defaultval"; then
10896 if test x"$enablestring" = xdisable; then
10897 defaultval=yes
10898 else
10899 defaultval=no
10900 fi
10901 fi
10902
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10905 # Check whether --enable-listctrl was given.
10906 if test "${enable_listctrl+set}" = set; then
10907 enableval=$enable_listctrl;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10910 else
10911 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10912 fi
10913
10914 else
10915
10916 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10917
10918 fi
10919
10920
10921 eval "$wx_cv_use_listctrl"
10922
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_LISTCTRL = yes; then
10925 result=no
10926 else
10927 result=yes
10928 fi
10929 else
10930 result=$wxUSE_LISTCTRL
10931 fi
10932
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10935
10936
10937 enablestring=
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10941 defaultval=yes
10942 else
10943 defaultval=no
10944 fi
10945 fi
10946
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10949 # Check whether --enable-notebook was given.
10950 if test "${enable_notebook+set}" = set; then
10951 enableval=$enable_notebook;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10954 else
10955 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10956 fi
10957
10958 else
10959
10960 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10961
10962 fi
10963
10964
10965 eval "$wx_cv_use_notebook"
10966
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_NOTEBOOK = yes; then
10969 result=no
10970 else
10971 result=yes
10972 fi
10973 else
10974 result=$wxUSE_NOTEBOOK
10975 fi
10976
10977 { echo "$as_me:$LINENO: result: $result" >&5
10978 echo "${ECHO_T}$result" >&6; }
10979
10980
10981 enablestring=
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10985 defaultval=yes
10986 else
10987 defaultval=no
10988 fi
10989 fi
10990
10991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10993 # Check whether --enable-notifmsg was given.
10994 if test "${enable_notifmsg+set}" = set; then
10995 enableval=$enable_notifmsg;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10998 else
10999 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11000 fi
11001
11002 else
11003
11004 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11005
11006 fi
11007
11008
11009 eval "$wx_cv_use_notifmsg"
11010
11011 if test x"$enablestring" = xdisable; then
11012 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11013 result=no
11014 else
11015 result=yes
11016 fi
11017 else
11018 result=$wxUSE_NOTIFICATION_MESSAGE
11019 fi
11020
11021 { echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6; }
11023
11024
11025 enablestring=
11026 defaultval=$wxUSE_ALL_FEATURES
11027 if test -z "$defaultval"; then
11028 if test x"$enablestring" = xdisable; then
11029 defaultval=yes
11030 else
11031 defaultval=no
11032 fi
11033 fi
11034
11035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11037 # Check whether --enable-odcombobox was given.
11038 if test "${enable_odcombobox+set}" = set; then
11039 enableval=$enable_odcombobox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11042 else
11043 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11044 fi
11045
11046 else
11047
11048 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11049
11050 fi
11051
11052
11053 eval "$wx_cv_use_odcombobox"
11054
11055 if test x"$enablestring" = xdisable; then
11056 if test $wxUSE_ODCOMBOBOX = yes; then
11057 result=no
11058 else
11059 result=yes
11060 fi
11061 else
11062 result=$wxUSE_ODCOMBOBOX
11063 fi
11064
11065 { echo "$as_me:$LINENO: result: $result" >&5
11066 echo "${ECHO_T}$result" >&6; }
11067
11068
11069 enablestring=
11070 defaultval=$wxUSE_ALL_FEATURES
11071 if test -z "$defaultval"; then
11072 if test x"$enablestring" = xdisable; then
11073 defaultval=yes
11074 else
11075 defaultval=no
11076 fi
11077 fi
11078
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11081 # Check whether --enable-radiobox was given.
11082 if test "${enable_radiobox+set}" = set; then
11083 enableval=$enable_radiobox;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11086 else
11087 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11088 fi
11089
11090 else
11091
11092 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11093
11094 fi
11095
11096
11097 eval "$wx_cv_use_radiobox"
11098
11099 if test x"$enablestring" = xdisable; then
11100 if test $wxUSE_RADIOBOX = yes; then
11101 result=no
11102 else
11103 result=yes
11104 fi
11105 else
11106 result=$wxUSE_RADIOBOX
11107 fi
11108
11109 { echo "$as_me:$LINENO: result: $result" >&5
11110 echo "${ECHO_T}$result" >&6; }
11111
11112
11113 enablestring=
11114 defaultval=$wxUSE_ALL_FEATURES
11115 if test -z "$defaultval"; then
11116 if test x"$enablestring" = xdisable; then
11117 defaultval=yes
11118 else
11119 defaultval=no
11120 fi
11121 fi
11122
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11125 # Check whether --enable-radiobtn was given.
11126 if test "${enable_radiobtn+set}" = set; then
11127 enableval=$enable_radiobtn;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11130 else
11131 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11132 fi
11133
11134 else
11135
11136 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11137
11138 fi
11139
11140
11141 eval "$wx_cv_use_radiobtn"
11142
11143 if test x"$enablestring" = xdisable; then
11144 if test $wxUSE_RADIOBTN = yes; then
11145 result=no
11146 else
11147 result=yes
11148 fi
11149 else
11150 result=$wxUSE_RADIOBTN
11151 fi
11152
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11155
11156
11157 enablestring=
11158 defaultval=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x"$enablestring" = xdisable; then
11161 defaultval=yes
11162 else
11163 defaultval=no
11164 fi
11165 fi
11166
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11169 # Check whether --enable-sash was given.
11170 if test "${enable_sash+set}" = set; then
11171 enableval=$enable_sash;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_sash='wxUSE_SASH=yes'
11174 else
11175 wx_cv_use_sash='wxUSE_SASH=no'
11176 fi
11177
11178 else
11179
11180 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11181
11182 fi
11183
11184
11185 eval "$wx_cv_use_sash"
11186
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_SASH = yes; then
11189 result=no
11190 else
11191 result=yes
11192 fi
11193 else
11194 result=$wxUSE_SASH
11195 fi
11196
11197 { echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11199
11200
11201 enablestring=
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11205 defaultval=yes
11206 else
11207 defaultval=no
11208 fi
11209 fi
11210
11211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11213 # Check whether --enable-scrollbar was given.
11214 if test "${enable_scrollbar+set}" = set; then
11215 enableval=$enable_scrollbar;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11218 else
11219 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11220 fi
11221
11222 else
11223
11224 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11225
11226 fi
11227
11228
11229 eval "$wx_cv_use_scrollbar"
11230
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_SCROLLBAR = yes; then
11233 result=no
11234 else
11235 result=yes
11236 fi
11237 else
11238 result=$wxUSE_SCROLLBAR
11239 fi
11240
11241 { echo "$as_me:$LINENO: result: $result" >&5
11242 echo "${ECHO_T}$result" >&6; }
11243
11244
11245 enablestring=
11246 defaultval=$wxUSE_ALL_FEATURES
11247 if test -z "$defaultval"; then
11248 if test x"$enablestring" = xdisable; then
11249 defaultval=yes
11250 else
11251 defaultval=no
11252 fi
11253 fi
11254
11255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11257 # Check whether --enable-searchctrl was given.
11258 if test "${enable_searchctrl+set}" = set; then
11259 enableval=$enable_searchctrl;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11262 else
11263 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11264 fi
11265
11266 else
11267
11268 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11269
11270 fi
11271
11272
11273 eval "$wx_cv_use_searchctrl"
11274
11275 if test x"$enablestring" = xdisable; then
11276 if test $wxUSE_SEARCHCTRL = yes; then
11277 result=no
11278 else
11279 result=yes
11280 fi
11281 else
11282 result=$wxUSE_SEARCHCTRL
11283 fi
11284
11285 { echo "$as_me:$LINENO: result: $result" >&5
11286 echo "${ECHO_T}$result" >&6; }
11287
11288
11289 enablestring=
11290 defaultval=$wxUSE_ALL_FEATURES
11291 if test -z "$defaultval"; then
11292 if test x"$enablestring" = xdisable; then
11293 defaultval=yes
11294 else
11295 defaultval=no
11296 fi
11297 fi
11298
11299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11301 # Check whether --enable-slider was given.
11302 if test "${enable_slider+set}" = set; then
11303 enableval=$enable_slider;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_slider='wxUSE_SLIDER=yes'
11306 else
11307 wx_cv_use_slider='wxUSE_SLIDER=no'
11308 fi
11309
11310 else
11311
11312 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11313
11314 fi
11315
11316
11317 eval "$wx_cv_use_slider"
11318
11319 if test x"$enablestring" = xdisable; then
11320 if test $wxUSE_SLIDER = yes; then
11321 result=no
11322 else
11323 result=yes
11324 fi
11325 else
11326 result=$wxUSE_SLIDER
11327 fi
11328
11329 { echo "$as_me:$LINENO: result: $result" >&5
11330 echo "${ECHO_T}$result" >&6; }
11331
11332
11333 enablestring=
11334 defaultval=$wxUSE_ALL_FEATURES
11335 if test -z "$defaultval"; then
11336 if test x"$enablestring" = xdisable; then
11337 defaultval=yes
11338 else
11339 defaultval=no
11340 fi
11341 fi
11342
11343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11344 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11345 # Check whether --enable-spinbtn was given.
11346 if test "${enable_spinbtn+set}" = set; then
11347 enableval=$enable_spinbtn;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11350 else
11351 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11352 fi
11353
11354 else
11355
11356 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11357
11358 fi
11359
11360
11361 eval "$wx_cv_use_spinbtn"
11362
11363 if test x"$enablestring" = xdisable; then
11364 if test $wxUSE_SPINBTN = yes; then
11365 result=no
11366 else
11367 result=yes
11368 fi
11369 else
11370 result=$wxUSE_SPINBTN
11371 fi
11372
11373 { echo "$as_me:$LINENO: result: $result" >&5
11374 echo "${ECHO_T}$result" >&6; }
11375
11376
11377 enablestring=
11378 defaultval=$wxUSE_ALL_FEATURES
11379 if test -z "$defaultval"; then
11380 if test x"$enablestring" = xdisable; then
11381 defaultval=yes
11382 else
11383 defaultval=no
11384 fi
11385 fi
11386
11387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11388 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11389 # Check whether --enable-spinctrl was given.
11390 if test "${enable_spinctrl+set}" = set; then
11391 enableval=$enable_spinctrl;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11394 else
11395 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11396 fi
11397
11398 else
11399
11400 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11401
11402 fi
11403
11404
11405 eval "$wx_cv_use_spinctrl"
11406
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_SPINCTRL = yes; then
11409 result=no
11410 else
11411 result=yes
11412 fi
11413 else
11414 result=$wxUSE_SPINCTRL
11415 fi
11416
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11419
11420
11421 enablestring=
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11425 defaultval=yes
11426 else
11427 defaultval=no
11428 fi
11429 fi
11430
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11433 # Check whether --enable-splitter was given.
11434 if test "${enable_splitter+set}" = set; then
11435 enableval=$enable_splitter;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11438 else
11439 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11440 fi
11441
11442 else
11443
11444 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11445
11446 fi
11447
11448
11449 eval "$wx_cv_use_splitter"
11450
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SPLITTER = yes; then
11453 result=no
11454 else
11455 result=yes
11456 fi
11457 else
11458 result=$wxUSE_SPLITTER
11459 fi
11460
11461 { echo "$as_me:$LINENO: result: $result" >&5
11462 echo "${ECHO_T}$result" >&6; }
11463
11464
11465 enablestring=
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z "$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11469 defaultval=yes
11470 else
11471 defaultval=no
11472 fi
11473 fi
11474
11475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11477 # Check whether --enable-statbmp was given.
11478 if test "${enable_statbmp+set}" = set; then
11479 enableval=$enable_statbmp;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11482 else
11483 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11484 fi
11485
11486 else
11487
11488 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11489
11490 fi
11491
11492
11493 eval "$wx_cv_use_statbmp"
11494
11495 if test x"$enablestring" = xdisable; then
11496 if test $wxUSE_STATBMP = yes; then
11497 result=no
11498 else
11499 result=yes
11500 fi
11501 else
11502 result=$wxUSE_STATBMP
11503 fi
11504
11505 { echo "$as_me:$LINENO: result: $result" >&5
11506 echo "${ECHO_T}$result" >&6; }
11507
11508
11509 enablestring=
11510 defaultval=$wxUSE_ALL_FEATURES
11511 if test -z "$defaultval"; then
11512 if test x"$enablestring" = xdisable; then
11513 defaultval=yes
11514 else
11515 defaultval=no
11516 fi
11517 fi
11518
11519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11521 # Check whether --enable-statbox was given.
11522 if test "${enable_statbox+set}" = set; then
11523 enableval=$enable_statbox;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11526 else
11527 wx_cv_use_statbox='wxUSE_STATBOX=no'
11528 fi
11529
11530 else
11531
11532 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11533
11534 fi
11535
11536
11537 eval "$wx_cv_use_statbox"
11538
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_STATBOX = yes; then
11541 result=no
11542 else
11543 result=yes
11544 fi
11545 else
11546 result=$wxUSE_STATBOX
11547 fi
11548
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11551
11552
11553 enablestring=
11554 defaultval=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x"$enablestring" = xdisable; then
11557 defaultval=yes
11558 else
11559 defaultval=no
11560 fi
11561 fi
11562
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11565 # Check whether --enable-statline was given.
11566 if test "${enable_statline+set}" = set; then
11567 enableval=$enable_statline;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_statline='wxUSE_STATLINE=yes'
11570 else
11571 wx_cv_use_statline='wxUSE_STATLINE=no'
11572 fi
11573
11574 else
11575
11576 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11577
11578 fi
11579
11580
11581 eval "$wx_cv_use_statline"
11582
11583 if test x"$enablestring" = xdisable; then
11584 if test $wxUSE_STATLINE = yes; then
11585 result=no
11586 else
11587 result=yes
11588 fi
11589 else
11590 result=$wxUSE_STATLINE
11591 fi
11592
11593 { echo "$as_me:$LINENO: result: $result" >&5
11594 echo "${ECHO_T}$result" >&6; }
11595
11596
11597 enablestring=
11598 defaultval=$wxUSE_ALL_FEATURES
11599 if test -z "$defaultval"; then
11600 if test x"$enablestring" = xdisable; then
11601 defaultval=yes
11602 else
11603 defaultval=no
11604 fi
11605 fi
11606
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11609 # Check whether --enable-stattext was given.
11610 if test "${enable_stattext+set}" = set; then
11611 enableval=$enable_stattext;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11614 else
11615 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11616 fi
11617
11618 else
11619
11620 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11621
11622 fi
11623
11624
11625 eval "$wx_cv_use_stattext"
11626
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_STATTEXT = yes; then
11629 result=no
11630 else
11631 result=yes
11632 fi
11633 else
11634 result=$wxUSE_STATTEXT
11635 fi
11636
11637 { echo "$as_me:$LINENO: result: $result" >&5
11638 echo "${ECHO_T}$result" >&6; }
11639
11640
11641 enablestring=
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11645 defaultval=yes
11646 else
11647 defaultval=no
11648 fi
11649 fi
11650
11651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11652 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11653 # Check whether --enable-statusbar was given.
11654 if test "${enable_statusbar+set}" = set; then
11655 enableval=$enable_statusbar;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11658 else
11659 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11660 fi
11661
11662 else
11663
11664 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11665
11666 fi
11667
11668
11669 eval "$wx_cv_use_statusbar"
11670
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_STATUSBAR = yes; then
11673 result=no
11674 else
11675 result=yes
11676 fi
11677 else
11678 result=$wxUSE_STATUSBAR
11679 fi
11680
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11683
11684
11685 enablestring=
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11689 defaultval=yes
11690 else
11691 defaultval=no
11692 fi
11693 fi
11694
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11697 # Check whether --enable-taskbaricon was given.
11698 if test "${enable_taskbaricon+set}" = set; then
11699 enableval=$enable_taskbaricon;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11702 else
11703 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11704 fi
11705
11706 else
11707
11708 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11709
11710 fi
11711
11712
11713 eval "$wx_cv_use_taskbaricon"
11714
11715 if test x"$enablestring" = xdisable; then
11716 if test $wxUSE_TASKBARICON = yes; then
11717 result=no
11718 else
11719 result=yes
11720 fi
11721 else
11722 result=$wxUSE_TASKBARICON
11723 fi
11724
11725 { echo "$as_me:$LINENO: result: $result" >&5
11726 echo "${ECHO_T}$result" >&6; }
11727
11728
11729 enablestring=
11730 defaultval=$wxUSE_ALL_FEATURES
11731 if test -z "$defaultval"; then
11732 if test x"$enablestring" = xdisable; then
11733 defaultval=yes
11734 else
11735 defaultval=no
11736 fi
11737 fi
11738
11739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11740 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11741 # Check whether --enable-textctrl was given.
11742 if test "${enable_textctrl+set}" = set; then
11743 enableval=$enable_textctrl;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11746 else
11747 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11748 fi
11749
11750 else
11751
11752 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11753
11754 fi
11755
11756
11757 eval "$wx_cv_use_textctrl"
11758
11759 if test x"$enablestring" = xdisable; then
11760 if test $wxUSE_TEXTCTRL = yes; then
11761 result=no
11762 else
11763 result=yes
11764 fi
11765 else
11766 result=$wxUSE_TEXTCTRL
11767 fi
11768
11769 { echo "$as_me:$LINENO: result: $result" >&5
11770 echo "${ECHO_T}$result" >&6; }
11771
11772
11773 enablestring=
11774 defaultval=$wxUSE_ALL_FEATURES
11775 if test -z "$defaultval"; then
11776 if test x"$enablestring" = xdisable; then
11777 defaultval=yes
11778 else
11779 defaultval=no
11780 fi
11781 fi
11782
11783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11784 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11785 # Check whether --enable-togglebtn was given.
11786 if test "${enable_togglebtn+set}" = set; then
11787 enableval=$enable_togglebtn;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11790 else
11791 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11792 fi
11793
11794 else
11795
11796 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11797
11798 fi
11799
11800
11801 eval "$wx_cv_use_togglebtn"
11802
11803 if test x"$enablestring" = xdisable; then
11804 if test $wxUSE_TOGGLEBTN = yes; then
11805 result=no
11806 else
11807 result=yes
11808 fi
11809 else
11810 result=$wxUSE_TOGGLEBTN
11811 fi
11812
11813 { echo "$as_me:$LINENO: result: $result" >&5
11814 echo "${ECHO_T}$result" >&6; }
11815
11816
11817 enablestring=
11818 defaultval=$wxUSE_ALL_FEATURES
11819 if test -z "$defaultval"; then
11820 if test x"$enablestring" = xdisable; then
11821 defaultval=yes
11822 else
11823 defaultval=no
11824 fi
11825 fi
11826
11827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11828 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11829 # Check whether --enable-toolbar was given.
11830 if test "${enable_toolbar+set}" = set; then
11831 enableval=$enable_toolbar;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11834 else
11835 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11836 fi
11837
11838 else
11839
11840 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11841
11842 fi
11843
11844
11845 eval "$wx_cv_use_toolbar"
11846
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_TOOLBAR = yes; then
11849 result=no
11850 else
11851 result=yes
11852 fi
11853 else
11854 result=$wxUSE_TOOLBAR
11855 fi
11856
11857 { echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6; }
11859
11860
11861 enablestring=
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11865 defaultval=yes
11866 else
11867 defaultval=no
11868 fi
11869 fi
11870
11871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11873 # Check whether --enable-tbarnative was given.
11874 if test "${enable_tbarnative+set}" = set; then
11875 enableval=$enable_tbarnative;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11878 else
11879 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11880 fi
11881
11882 else
11883
11884 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11885
11886 fi
11887
11888
11889 eval "$wx_cv_use_tbarnative"
11890
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11893 result=no
11894 else
11895 result=yes
11896 fi
11897 else
11898 result=$wxUSE_TOOLBAR_NATIVE
11899 fi
11900
11901 { echo "$as_me:$LINENO: result: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11903
11904
11905 enablestring=
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11909 defaultval=yes
11910 else
11911 defaultval=no
11912 fi
11913 fi
11914
11915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11916 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11917 # Check whether --enable-treebook was given.
11918 if test "${enable_treebook+set}" = set; then
11919 enableval=$enable_treebook;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11922 else
11923 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11924 fi
11925
11926 else
11927
11928 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11929
11930 fi
11931
11932
11933 eval "$wx_cv_use_treebook"
11934
11935 if test x"$enablestring" = xdisable; then
11936 if test $wxUSE_TREEBOOK = yes; then
11937 result=no
11938 else
11939 result=yes
11940 fi
11941 else
11942 result=$wxUSE_TREEBOOK
11943 fi
11944
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11947
11948
11949 enablestring=
11950 defaultval=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x"$enablestring" = xdisable; then
11953 defaultval=yes
11954 else
11955 defaultval=no
11956 fi
11957 fi
11958
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11961 # Check whether --enable-toolbook was given.
11962 if test "${enable_toolbook+set}" = set; then
11963 enableval=$enable_toolbook;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11966 else
11967 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11968 fi
11969
11970 else
11971
11972 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11973
11974 fi
11975
11976
11977 eval "$wx_cv_use_toolbook"
11978
11979 if test x"$enablestring" = xdisable; then
11980 if test $wxUSE_TOOLBOOK = yes; then
11981 result=no
11982 else
11983 result=yes
11984 fi
11985 else
11986 result=$wxUSE_TOOLBOOK
11987 fi
11988
11989 { echo "$as_me:$LINENO: result: $result" >&5
11990 echo "${ECHO_T}$result" >&6; }
11991
11992
11993 enablestring=
11994 defaultval=$wxUSE_ALL_FEATURES
11995 if test -z "$defaultval"; then
11996 if test x"$enablestring" = xdisable; then
11997 defaultval=yes
11998 else
11999 defaultval=no
12000 fi
12001 fi
12002
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12005 # Check whether --enable-treectrl was given.
12006 if test "${enable_treectrl+set}" = set; then
12007 enableval=$enable_treectrl;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12010 else
12011 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12012 fi
12013
12014 else
12015
12016 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12017
12018 fi
12019
12020
12021 eval "$wx_cv_use_treectrl"
12022
12023 if test x"$enablestring" = xdisable; then
12024 if test $wxUSE_TREECTRL = yes; then
12025 result=no
12026 else
12027 result=yes
12028 fi
12029 else
12030 result=$wxUSE_TREECTRL
12031 fi
12032
12033 { echo "$as_me:$LINENO: result: $result" >&5
12034 echo "${ECHO_T}$result" >&6; }
12035
12036
12037 enablestring=
12038 defaultval=$wxUSE_ALL_FEATURES
12039 if test -z "$defaultval"; then
12040 if test x"$enablestring" = xdisable; then
12041 defaultval=yes
12042 else
12043 defaultval=no
12044 fi
12045 fi
12046
12047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12048 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12049 # Check whether --enable-tipwindow was given.
12050 if test "${enable_tipwindow+set}" = set; then
12051 enableval=$enable_tipwindow;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12054 else
12055 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12056 fi
12057
12058 else
12059
12060 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12061
12062 fi
12063
12064
12065 eval "$wx_cv_use_tipwindow"
12066
12067 if test x"$enablestring" = xdisable; then
12068 if test $wxUSE_TIPWINDOW = yes; then
12069 result=no
12070 else
12071 result=yes
12072 fi
12073 else
12074 result=$wxUSE_TIPWINDOW
12075 fi
12076
12077 { echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6; }
12079
12080
12081 enablestring=
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12085 defaultval=yes
12086 else
12087 defaultval=no
12088 fi
12089 fi
12090
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12093 # Check whether --enable-popupwin was given.
12094 if test "${enable_popupwin+set}" = set; then
12095 enableval=$enable_popupwin;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12098 else
12099 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12100 fi
12101
12102 else
12103
12104 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12105
12106 fi
12107
12108
12109 eval "$wx_cv_use_popupwin"
12110
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_POPUPWIN = yes; then
12113 result=no
12114 else
12115 result=yes
12116 fi
12117 else
12118 result=$wxUSE_POPUPWIN
12119 fi
12120
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12123
12124
12125
12126
12127 enablestring=
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12131 defaultval=yes
12132 else
12133 defaultval=no
12134 fi
12135 fi
12136
12137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12138 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12139 # Check whether --enable-commondlg was given.
12140 if test "${enable_commondlg+set}" = set; then
12141 enableval=$enable_commondlg;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12144 else
12145 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12146 fi
12147
12148 else
12149
12150 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12151
12152 fi
12153
12154
12155 eval "$wx_cv_use_commondlg"
12156
12157 if test x"$enablestring" = xdisable; then
12158 if test $wxUSE_COMMONDLGS = yes; then
12159 result=no
12160 else
12161 result=yes
12162 fi
12163 else
12164 result=$wxUSE_COMMONDLGS
12165 fi
12166
12167 { echo "$as_me:$LINENO: result: $result" >&5
12168 echo "${ECHO_T}$result" >&6; }
12169
12170
12171 enablestring=
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12175 defaultval=yes
12176 else
12177 defaultval=no
12178 fi
12179 fi
12180
12181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12182 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12183 # Check whether --enable-aboutdlg was given.
12184 if test "${enable_aboutdlg+set}" = set; then
12185 enableval=$enable_aboutdlg;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12188 else
12189 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12190 fi
12191
12192 else
12193
12194 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12195
12196 fi
12197
12198
12199 eval "$wx_cv_use_aboutdlg"
12200
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_ABOUTDLG = yes; then
12203 result=no
12204 else
12205 result=yes
12206 fi
12207 else
12208 result=$wxUSE_ABOUTDLG
12209 fi
12210
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12213
12214
12215 enablestring=
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12219 defaultval=yes
12220 else
12221 defaultval=no
12222 fi
12223 fi
12224
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12227 # Check whether --enable-choicedlg was given.
12228 if test "${enable_choicedlg+set}" = set; then
12229 enableval=$enable_choicedlg;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12232 else
12233 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12234 fi
12235
12236 else
12237
12238 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12239
12240 fi
12241
12242
12243 eval "$wx_cv_use_choicedlg"
12244
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_CHOICEDLG = yes; then
12247 result=no
12248 else
12249 result=yes
12250 fi
12251 else
12252 result=$wxUSE_CHOICEDLG
12253 fi
12254
12255 { echo "$as_me:$LINENO: result: $result" >&5
12256 echo "${ECHO_T}$result" >&6; }
12257
12258
12259 enablestring=
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12263 defaultval=yes
12264 else
12265 defaultval=no
12266 fi
12267 fi
12268
12269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12270 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12271 # Check whether --enable-coldlg was given.
12272 if test "${enable_coldlg+set}" = set; then
12273 enableval=$enable_coldlg;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12276 else
12277 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12278 fi
12279
12280 else
12281
12282 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12283
12284 fi
12285
12286
12287 eval "$wx_cv_use_coldlg"
12288
12289 if test x"$enablestring" = xdisable; then
12290 if test $wxUSE_COLOURDLG = yes; then
12291 result=no
12292 else
12293 result=yes
12294 fi
12295 else
12296 result=$wxUSE_COLOURDLG
12297 fi
12298
12299 { echo "$as_me:$LINENO: result: $result" >&5
12300 echo "${ECHO_T}$result" >&6; }
12301
12302
12303 enablestring=
12304 defaultval=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x"$enablestring" = xdisable; then
12307 defaultval=yes
12308 else
12309 defaultval=no
12310 fi
12311 fi
12312
12313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12314 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12315 # Check whether --enable-filedlg was given.
12316 if test "${enable_filedlg+set}" = set; then
12317 enableval=$enable_filedlg;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12320 else
12321 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12322 fi
12323
12324 else
12325
12326 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12327
12328 fi
12329
12330
12331 eval "$wx_cv_use_filedlg"
12332
12333 if test x"$enablestring" = xdisable; then
12334 if test $wxUSE_FILEDLG = yes; then
12335 result=no
12336 else
12337 result=yes
12338 fi
12339 else
12340 result=$wxUSE_FILEDLG
12341 fi
12342
12343 { echo "$as_me:$LINENO: result: $result" >&5
12344 echo "${ECHO_T}$result" >&6; }
12345
12346
12347 enablestring=
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12351 defaultval=yes
12352 else
12353 defaultval=no
12354 fi
12355 fi
12356
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12359 # Check whether --enable-finddlg was given.
12360 if test "${enable_finddlg+set}" = set; then
12361 enableval=$enable_finddlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12364 else
12365 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12366 fi
12367
12368 else
12369
12370 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12371
12372 fi
12373
12374
12375 eval "$wx_cv_use_finddlg"
12376
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_FINDREPLDLG = yes; then
12379 result=no
12380 else
12381 result=yes
12382 fi
12383 else
12384 result=$wxUSE_FINDREPLDLG
12385 fi
12386
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12389
12390
12391 enablestring=
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12395 defaultval=yes
12396 else
12397 defaultval=no
12398 fi
12399 fi
12400
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12403 # Check whether --enable-fontdlg was given.
12404 if test "${enable_fontdlg+set}" = set; then
12405 enableval=$enable_fontdlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12408 else
12409 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12410 fi
12411
12412 else
12413
12414 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12415
12416 fi
12417
12418
12419 eval "$wx_cv_use_fontdlg"
12420
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_FONTDLG = yes; then
12423 result=no
12424 else
12425 result=yes
12426 fi
12427 else
12428 result=$wxUSE_FONTDLG
12429 fi
12430
12431 { echo "$as_me:$LINENO: result: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12433
12434
12435 enablestring=
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12439 defaultval=yes
12440 else
12441 defaultval=no
12442 fi
12443 fi
12444
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12447 # Check whether --enable-dirdlg was given.
12448 if test "${enable_dirdlg+set}" = set; then
12449 enableval=$enable_dirdlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12452 else
12453 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12454 fi
12455
12456 else
12457
12458 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12459
12460 fi
12461
12462
12463 eval "$wx_cv_use_dirdlg"
12464
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_DIRDLG = yes; then
12467 result=no
12468 else
12469 result=yes
12470 fi
12471 else
12472 result=$wxUSE_DIRDLG
12473 fi
12474
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12477
12478
12479 enablestring=
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12483 defaultval=yes
12484 else
12485 defaultval=no
12486 fi
12487 fi
12488
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12491 # Check whether --enable-msgdlg was given.
12492 if test "${enable_msgdlg+set}" = set; then
12493 enableval=$enable_msgdlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12496 else
12497 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12498 fi
12499
12500 else
12501
12502 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12503
12504 fi
12505
12506
12507 eval "$wx_cv_use_msgdlg"
12508
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_MSGDLG = yes; then
12511 result=no
12512 else
12513 result=yes
12514 fi
12515 else
12516 result=$wxUSE_MSGDLG
12517 fi
12518
12519 { echo "$as_me:$LINENO: result: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12521
12522
12523 enablestring=
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12527 defaultval=yes
12528 else
12529 defaultval=no
12530 fi
12531 fi
12532
12533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12535 # Check whether --enable-numberdlg was given.
12536 if test "${enable_numberdlg+set}" = set; then
12537 enableval=$enable_numberdlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12540 else
12541 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12542 fi
12543
12544 else
12545
12546 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12547
12548 fi
12549
12550
12551 eval "$wx_cv_use_numberdlg"
12552
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_NUMBERDLG = yes; then
12555 result=no
12556 else
12557 result=yes
12558 fi
12559 else
12560 result=$wxUSE_NUMBERDLG
12561 fi
12562
12563 { echo "$as_me:$LINENO: result: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12565
12566
12567 enablestring=
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12571 defaultval=yes
12572 else
12573 defaultval=no
12574 fi
12575 fi
12576
12577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12579 # Check whether --enable-splash was given.
12580 if test "${enable_splash+set}" = set; then
12581 enableval=$enable_splash;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_splash='wxUSE_SPLASH=yes'
12584 else
12585 wx_cv_use_splash='wxUSE_SPLASH=no'
12586 fi
12587
12588 else
12589
12590 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12591
12592 fi
12593
12594
12595 eval "$wx_cv_use_splash"
12596
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_SPLASH = yes; then
12599 result=no
12600 else
12601 result=yes
12602 fi
12603 else
12604 result=$wxUSE_SPLASH
12605 fi
12606
12607 { echo "$as_me:$LINENO: result: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12609
12610
12611 enablestring=
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12615 defaultval=yes
12616 else
12617 defaultval=no
12618 fi
12619 fi
12620
12621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12622 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12623 # Check whether --enable-textdlg was given.
12624 if test "${enable_textdlg+set}" = set; then
12625 enableval=$enable_textdlg;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12628 else
12629 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12630 fi
12631
12632 else
12633
12634 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12635
12636 fi
12637
12638
12639 eval "$wx_cv_use_textdlg"
12640
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_TEXTDLG = yes; then
12643 result=no
12644 else
12645 result=yes
12646 fi
12647 else
12648 result=$wxUSE_TEXTDLG
12649 fi
12650
12651 { echo "$as_me:$LINENO: result: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12653
12654
12655 enablestring=
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12659 defaultval=yes
12660 else
12661 defaultval=no
12662 fi
12663 fi
12664
12665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12667 # Check whether --enable-tipdlg was given.
12668 if test "${enable_tipdlg+set}" = set; then
12669 enableval=$enable_tipdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12672 else
12673 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12674 fi
12675
12676 else
12677
12678 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12679
12680 fi
12681
12682
12683 eval "$wx_cv_use_tipdlg"
12684
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_STARTUP_TIPS = yes; then
12687 result=no
12688 else
12689 result=yes
12690 fi
12691 else
12692 result=$wxUSE_STARTUP_TIPS
12693 fi
12694
12695 { echo "$as_me:$LINENO: result: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12697
12698
12699 enablestring=
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12703 defaultval=yes
12704 else
12705 defaultval=no
12706 fi
12707 fi
12708
12709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12710 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12711 # Check whether --enable-progressdlg was given.
12712 if test "${enable_progressdlg+set}" = set; then
12713 enableval=$enable_progressdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12716 else
12717 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12718 fi
12719
12720 else
12721
12722 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12723
12724 fi
12725
12726
12727 eval "$wx_cv_use_progressdlg"
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_PROGRESSDLG = yes; then
12731 result=no
12732 else
12733 result=yes
12734 fi
12735 else
12736 result=$wxUSE_PROGRESSDLG
12737 fi
12738
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12755 # Check whether --enable-wizarddlg was given.
12756 if test "${enable_wizarddlg+set}" = set; then
12757 enableval=$enable_wizarddlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12760 else
12761 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12762 fi
12763
12764 else
12765
12766 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12767
12768 fi
12769
12770
12771 eval "$wx_cv_use_wizarddlg"
12772
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_WIZARDDLG = yes; then
12775 result=no
12776 else
12777 result=yes
12778 fi
12779 else
12780 result=$wxUSE_WIZARDDLG
12781 fi
12782
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12785
12786
12787
12788
12789 enablestring=
12790 defaultval=$wxUSE_ALL_FEATURES
12791 if test -z "$defaultval"; then
12792 if test x"$enablestring" = xdisable; then
12793 defaultval=yes
12794 else
12795 defaultval=no
12796 fi
12797 fi
12798
12799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12800 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12801 # Check whether --enable-menus was given.
12802 if test "${enable_menus+set}" = set; then
12803 enableval=$enable_menus;
12804 if test "$enableval" = yes; then
12805 wx_cv_use_menus='wxUSE_MENUS=yes'
12806 else
12807 wx_cv_use_menus='wxUSE_MENUS=no'
12808 fi
12809
12810 else
12811
12812 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12813
12814 fi
12815
12816
12817 eval "$wx_cv_use_menus"
12818
12819 if test x"$enablestring" = xdisable; then
12820 if test $wxUSE_MENUS = yes; then
12821 result=no
12822 else
12823 result=yes
12824 fi
12825 else
12826 result=$wxUSE_MENUS
12827 fi
12828
12829 { echo "$as_me:$LINENO: result: $result" >&5
12830 echo "${ECHO_T}$result" >&6; }
12831
12832
12833 enablestring=
12834 defaultval=$wxUSE_ALL_FEATURES
12835 if test -z "$defaultval"; then
12836 if test x"$enablestring" = xdisable; then
12837 defaultval=yes
12838 else
12839 defaultval=no
12840 fi
12841 fi
12842
12843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12844 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12845 # Check whether --enable-miniframe was given.
12846 if test "${enable_miniframe+set}" = set; then
12847 enableval=$enable_miniframe;
12848 if test "$enableval" = yes; then
12849 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12850 else
12851 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12852 fi
12853
12854 else
12855
12856 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12857
12858 fi
12859
12860
12861 eval "$wx_cv_use_miniframe"
12862
12863 if test x"$enablestring" = xdisable; then
12864 if test $wxUSE_MINIFRAME = yes; then
12865 result=no
12866 else
12867 result=yes
12868 fi
12869 else
12870 result=$wxUSE_MINIFRAME
12871 fi
12872
12873 { echo "$as_me:$LINENO: result: $result" >&5
12874 echo "${ECHO_T}$result" >&6; }
12875
12876
12877 enablestring=
12878 defaultval=$wxUSE_ALL_FEATURES
12879 if test -z "$defaultval"; then
12880 if test x"$enablestring" = xdisable; then
12881 defaultval=yes
12882 else
12883 defaultval=no
12884 fi
12885 fi
12886
12887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12888 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12889 # Check whether --enable-tooltips was given.
12890 if test "${enable_tooltips+set}" = set; then
12891 enableval=$enable_tooltips;
12892 if test "$enableval" = yes; then
12893 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12894 else
12895 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12896 fi
12897
12898 else
12899
12900 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12901
12902 fi
12903
12904
12905 eval "$wx_cv_use_tooltips"
12906
12907 if test x"$enablestring" = xdisable; then
12908 if test $wxUSE_TOOLTIPS = yes; then
12909 result=no
12910 else
12911 result=yes
12912 fi
12913 else
12914 result=$wxUSE_TOOLTIPS
12915 fi
12916
12917 { echo "$as_me:$LINENO: result: $result" >&5
12918 echo "${ECHO_T}$result" >&6; }
12919
12920
12921 enablestring=
12922 defaultval=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x"$enablestring" = xdisable; then
12925 defaultval=yes
12926 else
12927 defaultval=no
12928 fi
12929 fi
12930
12931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12932 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12933 # Check whether --enable-splines was given.
12934 if test "${enable_splines+set}" = set; then
12935 enableval=$enable_splines;
12936 if test "$enableval" = yes; then
12937 wx_cv_use_splines='wxUSE_SPLINES=yes'
12938 else
12939 wx_cv_use_splines='wxUSE_SPLINES=no'
12940 fi
12941
12942 else
12943
12944 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12945
12946 fi
12947
12948
12949 eval "$wx_cv_use_splines"
12950
12951 if test x"$enablestring" = xdisable; then
12952 if test $wxUSE_SPLINES = yes; then
12953 result=no
12954 else
12955 result=yes
12956 fi
12957 else
12958 result=$wxUSE_SPLINES
12959 fi
12960
12961 { echo "$as_me:$LINENO: result: $result" >&5
12962 echo "${ECHO_T}$result" >&6; }
12963
12964
12965 enablestring=
12966 defaultval=$wxUSE_ALL_FEATURES
12967 if test -z "$defaultval"; then
12968 if test x"$enablestring" = xdisable; then
12969 defaultval=yes
12970 else
12971 defaultval=no
12972 fi
12973 fi
12974
12975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12976 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12977 # Check whether --enable-mousewheel was given.
12978 if test "${enable_mousewheel+set}" = set; then
12979 enableval=$enable_mousewheel;
12980 if test "$enableval" = yes; then
12981 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12982 else
12983 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12984 fi
12985
12986 else
12987
12988 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12989
12990 fi
12991
12992
12993 eval "$wx_cv_use_mousewheel"
12994
12995 if test x"$enablestring" = xdisable; then
12996 if test $wxUSE_MOUSEWHEEL = yes; then
12997 result=no
12998 else
12999 result=yes
13000 fi
13001 else
13002 result=$wxUSE_MOUSEWHEEL
13003 fi
13004
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13007
13008
13009 enablestring=
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13013 defaultval=yes
13014 else
13015 defaultval=no
13016 fi
13017 fi
13018
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13021 # Check whether --enable-validators was given.
13022 if test "${enable_validators+set}" = set; then
13023 enableval=$enable_validators;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13026 else
13027 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13028 fi
13029
13030 else
13031
13032 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13033
13034 fi
13035
13036
13037 eval "$wx_cv_use_validators"
13038
13039 if test x"$enablestring" = xdisable; then
13040 if test $wxUSE_VALIDATORS = yes; then
13041 result=no
13042 else
13043 result=yes
13044 fi
13045 else
13046 result=$wxUSE_VALIDATORS
13047 fi
13048
13049 { echo "$as_me:$LINENO: result: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13051
13052
13053 enablestring=
13054 defaultval=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x"$enablestring" = xdisable; then
13057 defaultval=yes
13058 else
13059 defaultval=no
13060 fi
13061 fi
13062
13063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13065 # Check whether --enable-busyinfo was given.
13066 if test "${enable_busyinfo+set}" = set; then
13067 enableval=$enable_busyinfo;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13070 else
13071 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13072 fi
13073
13074 else
13075
13076 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13077
13078 fi
13079
13080
13081 eval "$wx_cv_use_busyinfo"
13082
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_BUSYINFO = yes; then
13085 result=no
13086 else
13087 result=yes
13088 fi
13089 else
13090 result=$wxUSE_BUSYINFO
13091 fi
13092
13093 { echo "$as_me:$LINENO: result: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13095
13096
13097 enablestring=
13098 defaultval=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x"$enablestring" = xdisable; then
13101 defaultval=yes
13102 else
13103 defaultval=no
13104 fi
13105 fi
13106
13107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13108 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13109 # Check whether --enable-joystick was given.
13110 if test "${enable_joystick+set}" = set; then
13111 enableval=$enable_joystick;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13114 else
13115 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13116 fi
13117
13118 else
13119
13120 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13121
13122 fi
13123
13124
13125 eval "$wx_cv_use_joystick"
13126
13127 if test x"$enablestring" = xdisable; then
13128 if test $wxUSE_JOYSTICK = yes; then
13129 result=no
13130 else
13131 result=yes
13132 fi
13133 else
13134 result=$wxUSE_JOYSTICK
13135 fi
13136
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13139
13140
13141 enablestring=
13142 defaultval=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x"$enablestring" = xdisable; then
13145 defaultval=yes
13146 else
13147 defaultval=no
13148 fi
13149 fi
13150
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13153 # Check whether --enable-metafile was given.
13154 if test "${enable_metafile+set}" = set; then
13155 enableval=$enable_metafile;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13158 else
13159 wx_cv_use_metafile='wxUSE_METAFILE=no'
13160 fi
13161
13162 else
13163
13164 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13165
13166 fi
13167
13168
13169 eval "$wx_cv_use_metafile"
13170
13171 if test x"$enablestring" = xdisable; then
13172 if test $wxUSE_METAFILE = yes; then
13173 result=no
13174 else
13175 result=yes
13176 fi
13177 else
13178 result=$wxUSE_METAFILE
13179 fi
13180
13181 { echo "$as_me:$LINENO: result: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13183
13184
13185 enablestring=
13186 defaultval=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x"$enablestring" = xdisable; then
13189 defaultval=yes
13190 else
13191 defaultval=no
13192 fi
13193 fi
13194
13195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13197 # Check whether --enable-dragimage was given.
13198 if test "${enable_dragimage+set}" = set; then
13199 enableval=$enable_dragimage;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13202 else
13203 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13204 fi
13205
13206 else
13207
13208 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13209
13210 fi
13211
13212
13213 eval "$wx_cv_use_dragimage"
13214
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_DRAGIMAGE = yes; then
13217 result=no
13218 else
13219 result=yes
13220 fi
13221 else
13222 result=$wxUSE_DRAGIMAGE
13223 fi
13224
13225 { echo "$as_me:$LINENO: result: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13227
13228
13229 enablestring=
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13233 defaultval=yes
13234 else
13235 defaultval=no
13236 fi
13237 fi
13238
13239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13241 # Check whether --enable-accessibility was given.
13242 if test "${enable_accessibility+set}" = set; then
13243 enableval=$enable_accessibility;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13246 else
13247 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13248 fi
13249
13250 else
13251
13252 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13253
13254 fi
13255
13256
13257 eval "$wx_cv_use_accessibility"
13258
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_ACCESSIBILITY = yes; then
13261 result=no
13262 else
13263 result=yes
13264 fi
13265 else
13266 result=$wxUSE_ACCESSIBILITY
13267 fi
13268
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13271
13272
13273
13274
13275 enablestring=
13276 defaultval=$wxUSE_ALL_FEATURES
13277 if test -z "$defaultval"; then
13278 if test x"$enablestring" = xdisable; then
13279 defaultval=yes
13280 else
13281 defaultval=no
13282 fi
13283 fi
13284
13285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13286 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13287 # Check whether --enable-palette was given.
13288 if test "${enable_palette+set}" = set; then
13289 enableval=$enable_palette;
13290 if test "$enableval" = yes; then
13291 wx_cv_use_palette='wxUSE_PALETTE=yes'
13292 else
13293 wx_cv_use_palette='wxUSE_PALETTE=no'
13294 fi
13295
13296 else
13297
13298 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13299
13300 fi
13301
13302
13303 eval "$wx_cv_use_palette"
13304
13305 if test x"$enablestring" = xdisable; then
13306 if test $wxUSE_PALETTE = yes; then
13307 result=no
13308 else
13309 result=yes
13310 fi
13311 else
13312 result=$wxUSE_PALETTE
13313 fi
13314
13315 { echo "$as_me:$LINENO: result: $result" >&5
13316 echo "${ECHO_T}$result" >&6; }
13317
13318
13319 enablestring=
13320 defaultval=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x"$enablestring" = xdisable; then
13323 defaultval=yes
13324 else
13325 defaultval=no
13326 fi
13327 fi
13328
13329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13330 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13331 # Check whether --enable-image was given.
13332 if test "${enable_image+set}" = set; then
13333 enableval=$enable_image;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_image='wxUSE_IMAGE=yes'
13336 else
13337 wx_cv_use_image='wxUSE_IMAGE=no'
13338 fi
13339
13340 else
13341
13342 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13343
13344 fi
13345
13346
13347 eval "$wx_cv_use_image"
13348
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_IMAGE = yes; then
13351 result=no
13352 else
13353 result=yes
13354 fi
13355 else
13356 result=$wxUSE_IMAGE
13357 fi
13358
13359 { echo "$as_me:$LINENO: result: $result" >&5
13360 echo "${ECHO_T}$result" >&6; }
13361
13362
13363 enablestring=
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13367 defaultval=yes
13368 else
13369 defaultval=no
13370 fi
13371 fi
13372
13373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13374 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13375 # Check whether --enable-gif was given.
13376 if test "${enable_gif+set}" = set; then
13377 enableval=$enable_gif;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_gif='wxUSE_GIF=yes'
13380 else
13381 wx_cv_use_gif='wxUSE_GIF=no'
13382 fi
13383
13384 else
13385
13386 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13387
13388 fi
13389
13390
13391 eval "$wx_cv_use_gif"
13392
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_GIF = yes; then
13395 result=no
13396 else
13397 result=yes
13398 fi
13399 else
13400 result=$wxUSE_GIF
13401 fi
13402
13403 { echo "$as_me:$LINENO: result: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13405
13406
13407 enablestring=
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13411 defaultval=yes
13412 else
13413 defaultval=no
13414 fi
13415 fi
13416
13417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13418 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13419 # Check whether --enable-pcx was given.
13420 if test "${enable_pcx+set}" = set; then
13421 enableval=$enable_pcx;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_pcx='wxUSE_PCX=yes'
13424 else
13425 wx_cv_use_pcx='wxUSE_PCX=no'
13426 fi
13427
13428 else
13429
13430 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13431
13432 fi
13433
13434
13435 eval "$wx_cv_use_pcx"
13436
13437 if test x"$enablestring" = xdisable; then
13438 if test $wxUSE_PCX = yes; then
13439 result=no
13440 else
13441 result=yes
13442 fi
13443 else
13444 result=$wxUSE_PCX
13445 fi
13446
13447 { echo "$as_me:$LINENO: result: $result" >&5
13448 echo "${ECHO_T}$result" >&6; }
13449
13450
13451 enablestring=
13452 defaultval=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x"$enablestring" = xdisable; then
13455 defaultval=yes
13456 else
13457 defaultval=no
13458 fi
13459 fi
13460
13461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13462 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13463 # Check whether --enable-tga was given.
13464 if test "${enable_tga+set}" = set; then
13465 enableval=$enable_tga;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_tga='wxUSE_TGA=yes'
13468 else
13469 wx_cv_use_tga='wxUSE_TGA=no'
13470 fi
13471
13472 else
13473
13474 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13475
13476 fi
13477
13478
13479 eval "$wx_cv_use_tga"
13480
13481 if test x"$enablestring" = xdisable; then
13482 if test $wxUSE_TGA = yes; then
13483 result=no
13484 else
13485 result=yes
13486 fi
13487 else
13488 result=$wxUSE_TGA
13489 fi
13490
13491 { echo "$as_me:$LINENO: result: $result" >&5
13492 echo "${ECHO_T}$result" >&6; }
13493
13494
13495 enablestring=
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13499 defaultval=yes
13500 else
13501 defaultval=no
13502 fi
13503 fi
13504
13505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13506 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13507 # Check whether --enable-iff was given.
13508 if test "${enable_iff+set}" = set; then
13509 enableval=$enable_iff;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_iff='wxUSE_IFF=yes'
13512 else
13513 wx_cv_use_iff='wxUSE_IFF=no'
13514 fi
13515
13516 else
13517
13518 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13519
13520 fi
13521
13522
13523 eval "$wx_cv_use_iff"
13524
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_IFF = yes; then
13527 result=no
13528 else
13529 result=yes
13530 fi
13531 else
13532 result=$wxUSE_IFF
13533 fi
13534
13535 { echo "$as_me:$LINENO: result: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13537
13538
13539 enablestring=
13540 defaultval=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x"$enablestring" = xdisable; then
13543 defaultval=yes
13544 else
13545 defaultval=no
13546 fi
13547 fi
13548
13549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13550 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13551 # Check whether --enable-pnm was given.
13552 if test "${enable_pnm+set}" = set; then
13553 enableval=$enable_pnm;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_pnm='wxUSE_PNM=yes'
13556 else
13557 wx_cv_use_pnm='wxUSE_PNM=no'
13558 fi
13559
13560 else
13561
13562 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13563
13564 fi
13565
13566
13567 eval "$wx_cv_use_pnm"
13568
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_PNM = yes; then
13571 result=no
13572 else
13573 result=yes
13574 fi
13575 else
13576 result=$wxUSE_PNM
13577 fi
13578
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13581
13582
13583 enablestring=
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13587 defaultval=yes
13588 else
13589 defaultval=no
13590 fi
13591 fi
13592
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13595 # Check whether --enable-xpm was given.
13596 if test "${enable_xpm+set}" = set; then
13597 enableval=$enable_xpm;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_xpm='wxUSE_XPM=yes'
13600 else
13601 wx_cv_use_xpm='wxUSE_XPM=no'
13602 fi
13603
13604 else
13605
13606 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13607
13608 fi
13609
13610
13611 eval "$wx_cv_use_xpm"
13612
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_XPM = yes; then
13615 result=no
13616 else
13617 result=yes
13618 fi
13619 else
13620 result=$wxUSE_XPM
13621 fi
13622
13623 { echo "$as_me:$LINENO: result: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13625
13626
13627 enablestring=
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13631 defaultval=yes
13632 else
13633 defaultval=no
13634 fi
13635 fi
13636
13637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13639 # Check whether --enable-ico_cur was given.
13640 if test "${enable_ico_cur+set}" = set; then
13641 enableval=$enable_ico_cur;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13644 else
13645 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13646 fi
13647
13648 else
13649
13650 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13651
13652 fi
13653
13654
13655 eval "$wx_cv_use_ico_cur"
13656
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_ICO_CUR = yes; then
13659 result=no
13660 else
13661 result=yes
13662 fi
13663 else
13664 result=$wxUSE_ICO_CUR
13665 fi
13666
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13669
13670
13671
13672
13673 enablestring=
13674 defaultval=$wxUSE_ALL_FEATURES
13675 if test -z "$defaultval"; then
13676 if test x"$enablestring" = xdisable; then
13677 defaultval=yes
13678 else
13679 defaultval=no
13680 fi
13681 fi
13682
13683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13684 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13685 # Check whether --enable-dccache was given.
13686 if test "${enable_dccache+set}" = set; then
13687 enableval=$enable_dccache;
13688 if test "$enableval" = yes; then
13689 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13690 else
13691 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13692 fi
13693
13694 else
13695
13696 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13697
13698 fi
13699
13700
13701 eval "$wx_cv_use_dccache"
13702
13703 if test x"$enablestring" = xdisable; then
13704 if test $wxUSE_DC_CACHEING = yes; then
13705 result=no
13706 else
13707 result=yes
13708 fi
13709 else
13710 result=$wxUSE_DC_CACHEING
13711 fi
13712
13713 { echo "$as_me:$LINENO: result: $result" >&5
13714 echo "${ECHO_T}$result" >&6; }
13715
13716
13717 enablestring=
13718 defaultval=$wxUSE_ALL_FEATURES
13719 if test -z "$defaultval"; then
13720 if test x"$enablestring" = xdisable; then
13721 defaultval=yes
13722 else
13723 defaultval=no
13724 fi
13725 fi
13726
13727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13728 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13729 # Check whether --enable-ps-in-msw was given.
13730 if test "${enable_ps_in_msw+set}" = set; then
13731 enableval=$enable_ps_in_msw;
13732 if test "$enableval" = yes; then
13733 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13734 else
13735 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13736 fi
13737
13738 else
13739
13740 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13741
13742 fi
13743
13744
13745 eval "$wx_cv_use_ps_in_msw"
13746
13747 if test x"$enablestring" = xdisable; then
13748 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13749 result=no
13750 else
13751 result=yes
13752 fi
13753 else
13754 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13755 fi
13756
13757 { echo "$as_me:$LINENO: result: $result" >&5
13758 echo "${ECHO_T}$result" >&6; }
13759
13760
13761 enablestring=
13762 defaultval=$wxUSE_ALL_FEATURES
13763 if test -z "$defaultval"; then
13764 if test x"$enablestring" = xdisable; then
13765 defaultval=yes
13766 else
13767 defaultval=no
13768 fi
13769 fi
13770
13771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13772 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13773 # Check whether --enable-ownerdrawn was given.
13774 if test "${enable_ownerdrawn+set}" = set; then
13775 enableval=$enable_ownerdrawn;
13776 if test "$enableval" = yes; then
13777 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13778 else
13779 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13780 fi
13781
13782 else
13783
13784 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13785
13786 fi
13787
13788
13789 eval "$wx_cv_use_ownerdrawn"
13790
13791 if test x"$enablestring" = xdisable; then
13792 if test $wxUSE_OWNER_DRAWN = yes; then
13793 result=no
13794 else
13795 result=yes
13796 fi
13797 else
13798 result=$wxUSE_OWNER_DRAWN
13799 fi
13800
13801 { echo "$as_me:$LINENO: result: $result" >&5
13802 echo "${ECHO_T}$result" >&6; }
13803
13804
13805 enablestring=
13806 defaultval=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x"$enablestring" = xdisable; then
13809 defaultval=yes
13810 else
13811 defaultval=no
13812 fi
13813 fi
13814
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13817 # Check whether --enable-uxtheme was given.
13818 if test "${enable_uxtheme+set}" = set; then
13819 enableval=$enable_uxtheme;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13822 else
13823 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13824 fi
13825
13826 else
13827
13828 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13829
13830 fi
13831
13832
13833 eval "$wx_cv_use_uxtheme"
13834
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_UXTHEME = yes; then
13837 result=no
13838 else
13839 result=yes
13840 fi
13841 else
13842 result=$wxUSE_UXTHEME
13843 fi
13844
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13847
13848
13849 enablestring=
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13853 defaultval=yes
13854 else
13855 defaultval=no
13856 fi
13857 fi
13858
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13861 # Check whether --enable-wxdib was given.
13862 if test "${enable_wxdib+set}" = set; then
13863 enableval=$enable_wxdib;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_wxdib='wxUSE_DIB=yes'
13866 else
13867 wx_cv_use_wxdib='wxUSE_DIB=no'
13868 fi
13869
13870 else
13871
13872 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13873
13874 fi
13875
13876
13877 eval "$wx_cv_use_wxdib"
13878
13879 if test x"$enablestring" = xdisable; then
13880 if test $wxUSE_DIB = yes; then
13881 result=no
13882 else
13883 result=yes
13884 fi
13885 else
13886 result=$wxUSE_DIB
13887 fi
13888
13889 { echo "$as_me:$LINENO: result: $result" >&5
13890 echo "${ECHO_T}$result" >&6; }
13891
13892
13893 if test "$wxUSE_MSW" != 1; then
13894 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13895 fi
13896
13897
13898 enablestring=
13899 defaultval=$wxUSE_ALL_FEATURES
13900 if test -z "$defaultval"; then
13901 if test x"$enablestring" = xdisable; then
13902 defaultval=yes
13903 else
13904 defaultval=no
13905 fi
13906 fi
13907
13908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13909 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13910 # Check whether --enable-autoidman was given.
13911 if test "${enable_autoidman+set}" = set; then
13912 enableval=$enable_autoidman;
13913 if test "$enableval" = yes; then
13914 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13915 else
13916 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13917 fi
13918
13919 else
13920
13921 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13922
13923 fi
13924
13925
13926 eval "$wx_cv_use_autoidman"
13927
13928 if test x"$enablestring" = xdisable; then
13929 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13930 result=no
13931 else
13932 result=yes
13933 fi
13934 else
13935 result=$wxUSE_AUTOID_MANAGEMENT
13936 fi
13937
13938 { echo "$as_me:$LINENO: result: $result" >&5
13939 echo "${ECHO_T}$result" >&6; }
13940
13941
13942 fi
13943
13944
13945 cat >confcache <<\_ACEOF
13946 # This file is a shell script that caches the results of configure
13947 # tests run on this system so they can be shared between configure
13948 # scripts and configure runs, see configure's option --config-cache.
13949 # It is not useful on other systems. If it contains results you don't
13950 # want to keep, you may remove or edit it.
13951 #
13952 # config.status only pays attention to the cache file if you give it
13953 # the --recheck option to rerun configure.
13954 #
13955 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13956 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13957 # following values.
13958
13959 _ACEOF
13960
13961 # The following way of writing the cache mishandles newlines in values,
13962 # but we know of no workaround that is simple, portable, and efficient.
13963 # So, we kill variables containing newlines.
13964 # Ultrix sh set writes to stderr and can't be redirected directly,
13965 # and sets the high bit in the cache file unless we assign to the vars.
13966 (
13967 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13968 eval ac_val=\$$ac_var
13969 case $ac_val in #(
13970 *${as_nl}*)
13971 case $ac_var in #(
13972 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13973 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13974 esac
13975 case $ac_var in #(
13976 _ | IFS | as_nl) ;; #(
13977 *) $as_unset $ac_var ;;
13978 esac ;;
13979 esac
13980 done
13981
13982 (set) 2>&1 |
13983 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13984 *${as_nl}ac_space=\ *)
13985 # `set' does not quote correctly, so add quotes (double-quote
13986 # substitution turns \\\\ into \\, and sed turns \\ into \).
13987 sed -n \
13988 "s/'/'\\\\''/g;
13989 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13990 ;; #(
13991 *)
13992 # `set' quotes correctly as required by POSIX, so do not add quotes.
13993 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13994 ;;
13995 esac |
13996 sort
13997 ) |
13998 sed '
13999 /^ac_cv_env_/b end
14000 t clear
14001 :clear
14002 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14003 t end
14004 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14005 :end' >>confcache
14006 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14007 if test -w "$cache_file"; then
14008 test "x$cache_file" != "x/dev/null" &&
14009 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14010 echo "$as_me: updating cache $cache_file" >&6;}
14011 cat confcache >$cache_file
14012 else
14013 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14014 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14015 fi
14016 fi
14017 rm -f confcache
14018
14019 CFLAGS=${CFLAGS:=}
14020
14021
14022
14023 ac_ext=c
14024 ac_cpp='$CPP $CPPFLAGS'
14025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14028 if test -n "$ac_tool_prefix"; then
14029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14030 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14033 if test "${ac_cv_prog_CC+set}" = set; then
14034 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 else
14036 if test -n "$CC"; then
14037 ac_cv_prog_CC="$CC" # Let the user override the test.
14038 else
14039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14040 for as_dir in $PATH
14041 do
14042 IFS=$as_save_IFS
14043 test -z "$as_dir" && as_dir=.
14044 for ac_exec_ext in '' $ac_executable_extensions; do
14045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14046 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14048 break 2
14049 fi
14050 done
14051 done
14052 IFS=$as_save_IFS
14053
14054 fi
14055 fi
14056 CC=$ac_cv_prog_CC
14057 if test -n "$CC"; then
14058 { echo "$as_me:$LINENO: result: $CC" >&5
14059 echo "${ECHO_T}$CC" >&6; }
14060 else
14061 { echo "$as_me:$LINENO: result: no" >&5
14062 echo "${ECHO_T}no" >&6; }
14063 fi
14064
14065
14066 fi
14067 if test -z "$ac_cv_prog_CC"; then
14068 ac_ct_CC=$CC
14069 # Extract the first word of "gcc", so it can be a program name with args.
14070 set dummy gcc; ac_word=$2
14071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14074 echo $ECHO_N "(cached) $ECHO_C" >&6
14075 else
14076 if test -n "$ac_ct_CC"; then
14077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14078 else
14079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14080 for as_dir in $PATH
14081 do
14082 IFS=$as_save_IFS
14083 test -z "$as_dir" && as_dir=.
14084 for ac_exec_ext in '' $ac_executable_extensions; do
14085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14086 ac_cv_prog_ac_ct_CC="gcc"
14087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14088 break 2
14089 fi
14090 done
14091 done
14092 IFS=$as_save_IFS
14093
14094 fi
14095 fi
14096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14097 if test -n "$ac_ct_CC"; then
14098 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14099 echo "${ECHO_T}$ac_ct_CC" >&6; }
14100 else
14101 { echo "$as_me:$LINENO: result: no" >&5
14102 echo "${ECHO_T}no" >&6; }
14103 fi
14104
14105 if test "x$ac_ct_CC" = x; then
14106 CC=""
14107 else
14108 case $cross_compiling:$ac_tool_warned in
14109 yes:)
14110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14111 whose name does not start with the host triplet. If you think this
14112 configuration is useful to you, please write to autoconf@gnu.org." >&5
14113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14114 whose name does not start with the host triplet. If you think this
14115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14116 ac_tool_warned=yes ;;
14117 esac
14118 CC=$ac_ct_CC
14119 fi
14120 else
14121 CC="$ac_cv_prog_CC"
14122 fi
14123
14124 if test -z "$CC"; then
14125 if test -n "$ac_tool_prefix"; then
14126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14127 set dummy ${ac_tool_prefix}cc; ac_word=$2
14128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14130 if test "${ac_cv_prog_CC+set}" = set; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14132 else
14133 if test -n "$CC"; then
14134 ac_cv_prog_CC="$CC" # Let the user override the test.
14135 else
14136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14137 for as_dir in $PATH
14138 do
14139 IFS=$as_save_IFS
14140 test -z "$as_dir" && as_dir=.
14141 for ac_exec_ext in '' $ac_executable_extensions; do
14142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14143 ac_cv_prog_CC="${ac_tool_prefix}cc"
14144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14145 break 2
14146 fi
14147 done
14148 done
14149 IFS=$as_save_IFS
14150
14151 fi
14152 fi
14153 CC=$ac_cv_prog_CC
14154 if test -n "$CC"; then
14155 { echo "$as_me:$LINENO: result: $CC" >&5
14156 echo "${ECHO_T}$CC" >&6; }
14157 else
14158 { echo "$as_me:$LINENO: result: no" >&5
14159 echo "${ECHO_T}no" >&6; }
14160 fi
14161
14162
14163 fi
14164 fi
14165 if test -z "$CC"; then
14166 # Extract the first word of "cc", so it can be a program name with args.
14167 set dummy cc; ac_word=$2
14168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14170 if test "${ac_cv_prog_CC+set}" = set; then
14171 echo $ECHO_N "(cached) $ECHO_C" >&6
14172 else
14173 if test -n "$CC"; then
14174 ac_cv_prog_CC="$CC" # Let the user override the test.
14175 else
14176 ac_prog_rejected=no
14177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14178 for as_dir in $PATH
14179 do
14180 IFS=$as_save_IFS
14181 test -z "$as_dir" && as_dir=.
14182 for ac_exec_ext in '' $ac_executable_extensions; do
14183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14185 ac_prog_rejected=yes
14186 continue
14187 fi
14188 ac_cv_prog_CC="cc"
14189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14190 break 2
14191 fi
14192 done
14193 done
14194 IFS=$as_save_IFS
14195
14196 if test $ac_prog_rejected = yes; then
14197 # We found a bogon in the path, so make sure we never use it.
14198 set dummy $ac_cv_prog_CC
14199 shift
14200 if test $# != 0; then
14201 # We chose a different compiler from the bogus one.
14202 # However, it has the same basename, so the bogon will be chosen
14203 # first if we set CC to just the basename; use the full file name.
14204 shift
14205 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14206 fi
14207 fi
14208 fi
14209 fi
14210 CC=$ac_cv_prog_CC
14211 if test -n "$CC"; then
14212 { echo "$as_me:$LINENO: result: $CC" >&5
14213 echo "${ECHO_T}$CC" >&6; }
14214 else
14215 { echo "$as_me:$LINENO: result: no" >&5
14216 echo "${ECHO_T}no" >&6; }
14217 fi
14218
14219
14220 fi
14221 if test -z "$CC"; then
14222 if test -n "$ac_tool_prefix"; then
14223 for ac_prog in cl.exe
14224 do
14225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14229 if test "${ac_cv_prog_CC+set}" = set; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14231 else
14232 if test -n "$CC"; then
14233 ac_cv_prog_CC="$CC" # Let the user override the test.
14234 else
14235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14236 for as_dir in $PATH
14237 do
14238 IFS=$as_save_IFS
14239 test -z "$as_dir" && as_dir=.
14240 for ac_exec_ext in '' $ac_executable_extensions; do
14241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14244 break 2
14245 fi
14246 done
14247 done
14248 IFS=$as_save_IFS
14249
14250 fi
14251 fi
14252 CC=$ac_cv_prog_CC
14253 if test -n "$CC"; then
14254 { echo "$as_me:$LINENO: result: $CC" >&5
14255 echo "${ECHO_T}$CC" >&6; }
14256 else
14257 { echo "$as_me:$LINENO: result: no" >&5
14258 echo "${ECHO_T}no" >&6; }
14259 fi
14260
14261
14262 test -n "$CC" && break
14263 done
14264 fi
14265 if test -z "$CC"; then
14266 ac_ct_CC=$CC
14267 for ac_prog in cl.exe
14268 do
14269 # Extract the first word of "$ac_prog", so it can be a program name with args.
14270 set dummy $ac_prog; ac_word=$2
14271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 else
14276 if test -n "$ac_ct_CC"; then
14277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14278 else
14279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14280 for as_dir in $PATH
14281 do
14282 IFS=$as_save_IFS
14283 test -z "$as_dir" && as_dir=.
14284 for ac_exec_ext in '' $ac_executable_extensions; do
14285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14286 ac_cv_prog_ac_ct_CC="$ac_prog"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14288 break 2
14289 fi
14290 done
14291 done
14292 IFS=$as_save_IFS
14293
14294 fi
14295 fi
14296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14297 if test -n "$ac_ct_CC"; then
14298 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14299 echo "${ECHO_T}$ac_ct_CC" >&6; }
14300 else
14301 { echo "$as_me:$LINENO: result: no" >&5
14302 echo "${ECHO_T}no" >&6; }
14303 fi
14304
14305
14306 test -n "$ac_ct_CC" && break
14307 done
14308
14309 if test "x$ac_ct_CC" = x; then
14310 CC=""
14311 else
14312 case $cross_compiling:$ac_tool_warned in
14313 yes:)
14314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14315 whose name does not start with the host triplet. If you think this
14316 configuration is useful to you, please write to autoconf@gnu.org." >&5
14317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14318 whose name does not start with the host triplet. If you think this
14319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14320 ac_tool_warned=yes ;;
14321 esac
14322 CC=$ac_ct_CC
14323 fi
14324 fi
14325
14326 fi
14327
14328
14329 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14330 See \`config.log' for more details." >&5
14331 echo "$as_me: error: no acceptable C compiler found in \$PATH
14332 See \`config.log' for more details." >&2;}
14333 { (exit 1); exit 1; }; }
14334
14335 # Provide some information about the compiler.
14336 echo "$as_me:$LINENO: checking for C compiler version" >&5
14337 ac_compiler=`set X $ac_compile; echo $2`
14338 { (ac_try="$ac_compiler --version >&5"
14339 case "(($ac_try" in
14340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14341 *) ac_try_echo=$ac_try;;
14342 esac
14343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14344 (eval "$ac_compiler --version >&5") 2>&5
14345 ac_status=$?
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }
14348 { (ac_try="$ac_compiler -v >&5"
14349 case "(($ac_try" in
14350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14351 *) ac_try_echo=$ac_try;;
14352 esac
14353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14354 (eval "$ac_compiler -v >&5") 2>&5
14355 ac_status=$?
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }
14358 { (ac_try="$ac_compiler -V >&5"
14359 case "(($ac_try" in
14360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14361 *) ac_try_echo=$ac_try;;
14362 esac
14363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14364 (eval "$ac_compiler -V >&5") 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }
14368
14369 cat >conftest.$ac_ext <<_ACEOF
14370 /* confdefs.h. */
14371 _ACEOF
14372 cat confdefs.h >>conftest.$ac_ext
14373 cat >>conftest.$ac_ext <<_ACEOF
14374 /* end confdefs.h. */
14375
14376 int
14377 main ()
14378 {
14379
14380 ;
14381 return 0;
14382 }
14383 _ACEOF
14384 ac_clean_files_save=$ac_clean_files
14385 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14386 # Try to create an executable without -o first, disregard a.out.
14387 # It will help us diagnose broken compilers, and finding out an intuition
14388 # of exeext.
14389 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14390 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14391 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14392 #
14393 # List of possible output files, starting from the most likely.
14394 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14395 # only as a last resort. b.out is created by i960 compilers.
14396 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14397 #
14398 # The IRIX 6 linker writes into existing files which may not be
14399 # executable, retaining their permissions. Remove them first so a
14400 # subsequent execution test works.
14401 ac_rmfiles=
14402 for ac_file in $ac_files
14403 do
14404 case $ac_file in
14405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14406 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14407 esac
14408 done
14409 rm -f $ac_rmfiles
14410
14411 if { (ac_try="$ac_link_default"
14412 case "(($ac_try" in
14413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14414 *) ac_try_echo=$ac_try;;
14415 esac
14416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14417 (eval "$ac_link_default") 2>&5
14418 ac_status=$?
14419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); }; then
14421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14424 # so that the user can short-circuit this test for compilers unknown to
14425 # Autoconf.
14426 for ac_file in $ac_files ''
14427 do
14428 test -f "$ac_file" || continue
14429 case $ac_file in
14430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14431 ;;
14432 [ab].out )
14433 # We found the default executable, but exeext='' is most
14434 # certainly right.
14435 break;;
14436 *.* )
14437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14438 then :; else
14439 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14440 fi
14441 # We set ac_cv_exeext here because the later test for it is not
14442 # safe: cross compilers may not add the suffix if given an `-o'
14443 # argument, so we may need to know it at that point already.
14444 # Even if this section looks crufty: it has the advantage of
14445 # actually working.
14446 break;;
14447 * )
14448 break;;
14449 esac
14450 done
14451 test "$ac_cv_exeext" = no && ac_cv_exeext=
14452
14453 else
14454 ac_file=''
14455 fi
14456
14457 { echo "$as_me:$LINENO: result: $ac_file" >&5
14458 echo "${ECHO_T}$ac_file" >&6; }
14459 if test -z "$ac_file"; then
14460 echo "$as_me: failed program was:" >&5
14461 sed 's/^/| /' conftest.$ac_ext >&5
14462
14463 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14464 See \`config.log' for more details." >&5
14465 echo "$as_me: error: C compiler cannot create executables
14466 See \`config.log' for more details." >&2;}
14467 { (exit 77); exit 77; }; }
14468 fi
14469
14470 ac_exeext=$ac_cv_exeext
14471
14472 # Check that the compiler produces executables we can run. If not, either
14473 # the compiler is broken, or we cross compile.
14474 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14477 # If not cross compiling, check that we can run a simple program.
14478 if test "$cross_compiling" != yes; then
14479 if { ac_try='./$ac_file'
14480 { (case "(($ac_try" in
14481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14482 *) ac_try_echo=$ac_try;;
14483 esac
14484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14485 (eval "$ac_try") 2>&5
14486 ac_status=$?
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); }; }; then
14489 cross_compiling=no
14490 else
14491 if test "$cross_compiling" = maybe; then
14492 cross_compiling=yes
14493 else
14494 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14495 If you meant to cross compile, use \`--host'.
14496 See \`config.log' for more details." >&5
14497 echo "$as_me: error: cannot run C compiled programs.
14498 If you meant to cross compile, use \`--host'.
14499 See \`config.log' for more details." >&2;}
14500 { (exit 1); exit 1; }; }
14501 fi
14502 fi
14503 fi
14504 { echo "$as_me:$LINENO: result: yes" >&5
14505 echo "${ECHO_T}yes" >&6; }
14506
14507 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14508 ac_clean_files=$ac_clean_files_save
14509 # Check that the compiler produces executables we can run. If not, either
14510 # the compiler is broken, or we cross compile.
14511 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14512 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14513 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14514 echo "${ECHO_T}$cross_compiling" >&6; }
14515
14516 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14517 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14518 if { (ac_try="$ac_link"
14519 case "(($ac_try" in
14520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14521 *) ac_try_echo=$ac_try;;
14522 esac
14523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14524 (eval "$ac_link") 2>&5
14525 ac_status=$?
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; then
14528 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14529 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14530 # work properly (i.e., refer to `conftest.exe'), while it won't with
14531 # `rm'.
14532 for ac_file in conftest.exe conftest conftest.*; do
14533 test -f "$ac_file" || continue
14534 case $ac_file in
14535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14536 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14537 break;;
14538 * ) break;;
14539 esac
14540 done
14541 else
14542 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14543 See \`config.log' for more details." >&5
14544 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14545 See \`config.log' for more details." >&2;}
14546 { (exit 1); exit 1; }; }
14547 fi
14548
14549 rm -f conftest$ac_cv_exeext
14550 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14551 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14552
14553 rm -f conftest.$ac_ext
14554 EXEEXT=$ac_cv_exeext
14555 ac_exeext=$EXEEXT
14556 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14557 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14558 if test "${ac_cv_objext+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14560 else
14561 cat >conftest.$ac_ext <<_ACEOF
14562 /* confdefs.h. */
14563 _ACEOF
14564 cat confdefs.h >>conftest.$ac_ext
14565 cat >>conftest.$ac_ext <<_ACEOF
14566 /* end confdefs.h. */
14567
14568 int
14569 main ()
14570 {
14571
14572 ;
14573 return 0;
14574 }
14575 _ACEOF
14576 rm -f conftest.o conftest.obj
14577 if { (ac_try="$ac_compile"
14578 case "(($ac_try" in
14579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14580 *) ac_try_echo=$ac_try;;
14581 esac
14582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14583 (eval "$ac_compile") 2>&5
14584 ac_status=$?
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); }; then
14587 for ac_file in conftest.o conftest.obj conftest.*; do
14588 test -f "$ac_file" || continue;
14589 case $ac_file in
14590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14592 break;;
14593 esac
14594 done
14595 else
14596 echo "$as_me: failed program was:" >&5
14597 sed 's/^/| /' conftest.$ac_ext >&5
14598
14599 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14600 See \`config.log' for more details." >&5
14601 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14602 See \`config.log' for more details." >&2;}
14603 { (exit 1); exit 1; }; }
14604 fi
14605
14606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14607 fi
14608 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14609 echo "${ECHO_T}$ac_cv_objext" >&6; }
14610 OBJEXT=$ac_cv_objext
14611 ac_objext=$OBJEXT
14612 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14613 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14614 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14615 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 else
14617 cat >conftest.$ac_ext <<_ACEOF
14618 /* confdefs.h. */
14619 _ACEOF
14620 cat confdefs.h >>conftest.$ac_ext
14621 cat >>conftest.$ac_ext <<_ACEOF
14622 /* end confdefs.h. */
14623
14624 int
14625 main ()
14626 {
14627 #ifndef __GNUC__
14628 choke me
14629 #endif
14630
14631 ;
14632 return 0;
14633 }
14634 _ACEOF
14635 rm -f conftest.$ac_objext
14636 if { (ac_try="$ac_compile"
14637 case "(($ac_try" in
14638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14639 *) ac_try_echo=$ac_try;;
14640 esac
14641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14642 (eval "$ac_compile") 2>conftest.er1
14643 ac_status=$?
14644 grep -v '^ *+' conftest.er1 >conftest.err
14645 rm -f conftest.er1
14646 cat conftest.err >&5
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); } && {
14649 test -z "$ac_c_werror_flag" ||
14650 test ! -s conftest.err
14651 } && test -s conftest.$ac_objext; then
14652 ac_compiler_gnu=yes
14653 else
14654 echo "$as_me: failed program was:" >&5
14655 sed 's/^/| /' conftest.$ac_ext >&5
14656
14657 ac_compiler_gnu=no
14658 fi
14659
14660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14661 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14662
14663 fi
14664 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14665 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14666 GCC=`test $ac_compiler_gnu = yes && echo yes`
14667 ac_test_CFLAGS=${CFLAGS+set}
14668 ac_save_CFLAGS=$CFLAGS
14669 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14670 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14671 if test "${ac_cv_prog_cc_g+set}" = set; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 else
14674 ac_save_c_werror_flag=$ac_c_werror_flag
14675 ac_c_werror_flag=yes
14676 ac_cv_prog_cc_g=no
14677 CFLAGS="-g"
14678 cat >conftest.$ac_ext <<_ACEOF
14679 /* confdefs.h. */
14680 _ACEOF
14681 cat confdefs.h >>conftest.$ac_ext
14682 cat >>conftest.$ac_ext <<_ACEOF
14683 /* end confdefs.h. */
14684
14685 int
14686 main ()
14687 {
14688
14689 ;
14690 return 0;
14691 }
14692 _ACEOF
14693 rm -f conftest.$ac_objext
14694 if { (ac_try="$ac_compile"
14695 case "(($ac_try" in
14696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14697 *) ac_try_echo=$ac_try;;
14698 esac
14699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14700 (eval "$ac_compile") 2>conftest.er1
14701 ac_status=$?
14702 grep -v '^ *+' conftest.er1 >conftest.err
14703 rm -f conftest.er1
14704 cat conftest.err >&5
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); } && {
14707 test -z "$ac_c_werror_flag" ||
14708 test ! -s conftest.err
14709 } && test -s conftest.$ac_objext; then
14710 ac_cv_prog_cc_g=yes
14711 else
14712 echo "$as_me: failed program was:" >&5
14713 sed 's/^/| /' conftest.$ac_ext >&5
14714
14715 CFLAGS=""
14716 cat >conftest.$ac_ext <<_ACEOF
14717 /* confdefs.h. */
14718 _ACEOF
14719 cat confdefs.h >>conftest.$ac_ext
14720 cat >>conftest.$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14722
14723 int
14724 main ()
14725 {
14726
14727 ;
14728 return 0;
14729 }
14730 _ACEOF
14731 rm -f conftest.$ac_objext
14732 if { (ac_try="$ac_compile"
14733 case "(($ac_try" in
14734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14735 *) ac_try_echo=$ac_try;;
14736 esac
14737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14738 (eval "$ac_compile") 2>conftest.er1
14739 ac_status=$?
14740 grep -v '^ *+' conftest.er1 >conftest.err
14741 rm -f conftest.er1
14742 cat conftest.err >&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } && {
14745 test -z "$ac_c_werror_flag" ||
14746 test ! -s conftest.err
14747 } && test -s conftest.$ac_objext; then
14748 :
14749 else
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.$ac_ext >&5
14752
14753 ac_c_werror_flag=$ac_save_c_werror_flag
14754 CFLAGS="-g"
14755 cat >conftest.$ac_ext <<_ACEOF
14756 /* confdefs.h. */
14757 _ACEOF
14758 cat confdefs.h >>conftest.$ac_ext
14759 cat >>conftest.$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14761
14762 int
14763 main ()
14764 {
14765
14766 ;
14767 return 0;
14768 }
14769 _ACEOF
14770 rm -f conftest.$ac_objext
14771 if { (ac_try="$ac_compile"
14772 case "(($ac_try" in
14773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14774 *) ac_try_echo=$ac_try;;
14775 esac
14776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14777 (eval "$ac_compile") 2>conftest.er1
14778 ac_status=$?
14779 grep -v '^ *+' conftest.er1 >conftest.err
14780 rm -f conftest.er1
14781 cat conftest.err >&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); } && {
14784 test -z "$ac_c_werror_flag" ||
14785 test ! -s conftest.err
14786 } && test -s conftest.$ac_objext; then
14787 ac_cv_prog_cc_g=yes
14788 else
14789 echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.$ac_ext >&5
14791
14792
14793 fi
14794
14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 fi
14797
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 fi
14800
14801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14802 ac_c_werror_flag=$ac_save_c_werror_flag
14803 fi
14804 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14805 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14806 if test "$ac_test_CFLAGS" = set; then
14807 CFLAGS=$ac_save_CFLAGS
14808 elif test $ac_cv_prog_cc_g = yes; then
14809 if test "$GCC" = yes; then
14810 CFLAGS="-g -O2"
14811 else
14812 CFLAGS="-g"
14813 fi
14814 else
14815 if test "$GCC" = yes; then
14816 CFLAGS="-O2"
14817 else
14818 CFLAGS=
14819 fi
14820 fi
14821 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14822 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14823 if test "${ac_cv_prog_cc_c89+set}" = set; then
14824 echo $ECHO_N "(cached) $ECHO_C" >&6
14825 else
14826 ac_cv_prog_cc_c89=no
14827 ac_save_CC=$CC
14828 cat >conftest.$ac_ext <<_ACEOF
14829 /* confdefs.h. */
14830 _ACEOF
14831 cat confdefs.h >>conftest.$ac_ext
14832 cat >>conftest.$ac_ext <<_ACEOF
14833 /* end confdefs.h. */
14834 #include <stdarg.h>
14835 #include <stdio.h>
14836 #include <sys/types.h>
14837 #include <sys/stat.h>
14838 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14839 struct buf { int x; };
14840 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14841 static char *e (p, i)
14842 char **p;
14843 int i;
14844 {
14845 return p[i];
14846 }
14847 static char *f (char * (*g) (char **, int), char **p, ...)
14848 {
14849 char *s;
14850 va_list v;
14851 va_start (v,p);
14852 s = g (p, va_arg (v,int));
14853 va_end (v);
14854 return s;
14855 }
14856
14857 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14858 function prototypes and stuff, but not '\xHH' hex character constants.
14859 These don't provoke an error unfortunately, instead are silently treated
14860 as 'x'. The following induces an error, until -std is added to get
14861 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14862 array size at least. It's necessary to write '\x00'==0 to get something
14863 that's true only with -std. */
14864 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14865
14866 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14867 inside strings and character constants. */
14868 #define FOO(x) 'x'
14869 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14870
14871 int test (int i, double x);
14872 struct s1 {int (*f) (int a);};
14873 struct s2 {int (*f) (double a);};
14874 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14875 int argc;
14876 char **argv;
14877 int
14878 main ()
14879 {
14880 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14881 ;
14882 return 0;
14883 }
14884 _ACEOF
14885 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14886 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14887 do
14888 CC="$ac_save_CC $ac_arg"
14889 rm -f conftest.$ac_objext
14890 if { (ac_try="$ac_compile"
14891 case "(($ac_try" in
14892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14893 *) ac_try_echo=$ac_try;;
14894 esac
14895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14896 (eval "$ac_compile") 2>conftest.er1
14897 ac_status=$?
14898 grep -v '^ *+' conftest.er1 >conftest.err
14899 rm -f conftest.er1
14900 cat conftest.err >&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } && {
14903 test -z "$ac_c_werror_flag" ||
14904 test ! -s conftest.err
14905 } && test -s conftest.$ac_objext; then
14906 ac_cv_prog_cc_c89=$ac_arg
14907 else
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14910
14911
14912 fi
14913
14914 rm -f core conftest.err conftest.$ac_objext
14915 test "x$ac_cv_prog_cc_c89" != "xno" && break
14916 done
14917 rm -f conftest.$ac_ext
14918 CC=$ac_save_CC
14919
14920 fi
14921 # AC_CACHE_VAL
14922 case "x$ac_cv_prog_cc_c89" in
14923 x)
14924 { echo "$as_me:$LINENO: result: none needed" >&5
14925 echo "${ECHO_T}none needed" >&6; } ;;
14926 xno)
14927 { echo "$as_me:$LINENO: result: unsupported" >&5
14928 echo "${ECHO_T}unsupported" >&6; } ;;
14929 *)
14930 CC="$CC $ac_cv_prog_cc_c89"
14931 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14932 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14933 esac
14934
14935
14936 ac_ext=c
14937 ac_cpp='$CPP $CPPFLAGS'
14938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14941
14942
14943
14944
14945 ac_ext=c
14946 ac_cpp='$CPP $CPPFLAGS'
14947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14950
14951 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14952 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14953 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14954 echo $ECHO_N "(cached) $ECHO_C" >&6
14955 else
14956 cat >conftest.$ac_ext <<_ACEOF
14957 /* confdefs.h. */
14958 _ACEOF
14959 cat confdefs.h >>conftest.$ac_ext
14960 cat >>conftest.$ac_ext <<_ACEOF
14961 /* end confdefs.h. */
14962
14963 int
14964 main ()
14965 {
14966
14967 #ifndef __INTEL_COMPILER
14968 choke me
14969 #endif
14970
14971 ;
14972 return 0;
14973 }
14974 _ACEOF
14975 rm -f conftest.$ac_objext
14976 if { (ac_try="$ac_compile"
14977 case "(($ac_try" in
14978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14979 *) ac_try_echo=$ac_try;;
14980 esac
14981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14982 (eval "$ac_compile") 2>conftest.er1
14983 ac_status=$?
14984 grep -v '^ *+' conftest.er1 >conftest.err
14985 rm -f conftest.er1
14986 cat conftest.err >&5
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); } && {
14989 test -z "$ac_c_werror_flag" ||
14990 test ! -s conftest.err
14991 } && test -s conftest.$ac_objext; then
14992 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14993 else
14994 echo "$as_me: failed program was:" >&5
14995 sed 's/^/| /' conftest.$ac_ext >&5
14996
14997 bakefile_cv_c_compiler___INTEL_COMPILER=no
14998
14999 fi
15000
15001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15002
15003
15004 fi
15005 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15006 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15007 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15008 :; INTELCC=yes
15009 else
15010 :;
15011 fi
15012 ac_ext=c
15013 ac_cpp='$CPP $CPPFLAGS'
15014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15017
15018
15019
15020
15021 if test "$INTELCC" = "yes"; then
15022
15023
15024 ac_ext=c
15025 ac_cpp='$CPP $CPPFLAGS'
15026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15029
15030 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15031 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15032 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15033 echo $ECHO_N "(cached) $ECHO_C" >&6
15034 else
15035 cat >conftest.$ac_ext <<_ACEOF
15036 /* confdefs.h. */
15037 _ACEOF
15038 cat confdefs.h >>conftest.$ac_ext
15039 cat >>conftest.$ac_ext <<_ACEOF
15040 /* end confdefs.h. */
15041
15042 int
15043 main ()
15044 {
15045
15046 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15047 choke me
15048 #endif
15049
15050 ;
15051 return 0;
15052 }
15053 _ACEOF
15054 rm -f conftest.$ac_objext
15055 if { (ac_try="$ac_compile"
15056 case "(($ac_try" in
15057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15058 *) ac_try_echo=$ac_try;;
15059 esac
15060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15061 (eval "$ac_compile") 2>conftest.er1
15062 ac_status=$?
15063 grep -v '^ *+' conftest.er1 >conftest.err
15064 rm -f conftest.er1
15065 cat conftest.err >&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } && {
15068 test -z "$ac_c_werror_flag" ||
15069 test ! -s conftest.err
15070 } && test -s conftest.$ac_objext; then
15071 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15072 else
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15075
15076 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15077
15078 fi
15079
15080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15081
15082
15083 fi
15084 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15085 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15086 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15087 :; INTELCC8=yes
15088 else
15089 :;
15090 fi
15091 ac_ext=c
15092 ac_cpp='$CPP $CPPFLAGS'
15093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15096
15097
15098
15099
15100
15101 ac_ext=c
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15106
15107 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15108 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15109 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15110 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 else
15112 cat >conftest.$ac_ext <<_ACEOF
15113 /* confdefs.h. */
15114 _ACEOF
15115 cat confdefs.h >>conftest.$ac_ext
15116 cat >>conftest.$ac_ext <<_ACEOF
15117 /* end confdefs.h. */
15118
15119 int
15120 main ()
15121 {
15122
15123 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15124 choke me
15125 #endif
15126
15127 ;
15128 return 0;
15129 }
15130 _ACEOF
15131 rm -f conftest.$ac_objext
15132 if { (ac_try="$ac_compile"
15133 case "(($ac_try" in
15134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15135 *) ac_try_echo=$ac_try;;
15136 esac
15137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15138 (eval "$ac_compile") 2>conftest.er1
15139 ac_status=$?
15140 grep -v '^ *+' conftest.er1 >conftest.err
15141 rm -f conftest.er1
15142 cat conftest.err >&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } && {
15145 test -z "$ac_c_werror_flag" ||
15146 test ! -s conftest.err
15147 } && test -s conftest.$ac_objext; then
15148 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15149 else
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.$ac_ext >&5
15152
15153 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15154
15155 fi
15156
15157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15158
15159
15160 fi
15161 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15162 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15163 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15164 :; INTELCC10=yes
15165 else
15166 :;
15167 fi
15168 ac_ext=c
15169 ac_cpp='$CPP $CPPFLAGS'
15170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15173
15174
15175
15176 fi
15177
15178 if test "x$GCC" != "xyes"; then
15179 if test "xCC" = "xC"; then
15180 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15181 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15182 if test "${bakefile_cv_c_exto+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 else
15185 cat >conftest.$ac_ext <<_ACEOF
15186 /* confdefs.h. */
15187 _ACEOF
15188 cat confdefs.h >>conftest.$ac_ext
15189 cat >>conftest.$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191
15192 int
15193 main ()
15194 {
15195
15196 ;
15197 return 0;
15198 }
15199 _ACEOF
15200 rm -f conftest.$ac_objext conftest.$ac_ext.o
15201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15202 (eval $ac_compile) 2>&5
15203 ac_status=$?
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; then
15206 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15207 case $ac_file in
15208 conftest.$ac_ext.o)
15209 bakefile_cv_c_exto="-ext o"
15210 ;;
15211 *)
15212 ;;
15213 esac
15214 done
15215 else
15216 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15217 See \`config.log' for more details." >&5
15218 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15219 See \`config.log' for more details." >&2;}
15220 { (exit 1); exit 1; }; }
15221
15222 fi
15223
15224 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15225
15226 fi
15227 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15228 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15229 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15230 if test "c" = "c"; then
15231 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15232 fi
15233 if test "c" = "cxx"; then
15234 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15235 fi
15236 fi
15237
15238 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15239 unset ac_cv_prog_cc_g
15240 ac_test_CFLAGS=${CFLAGS+set}
15241 ac_save_CFLAGS=$CFLAGS
15242 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15243 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15244 if test "${ac_cv_prog_cc_g+set}" = set; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15246 else
15247 ac_save_c_werror_flag=$ac_c_werror_flag
15248 ac_c_werror_flag=yes
15249 ac_cv_prog_cc_g=no
15250 CFLAGS="-g"
15251 cat >conftest.$ac_ext <<_ACEOF
15252 /* confdefs.h. */
15253 _ACEOF
15254 cat confdefs.h >>conftest.$ac_ext
15255 cat >>conftest.$ac_ext <<_ACEOF
15256 /* end confdefs.h. */
15257
15258 int
15259 main ()
15260 {
15261
15262 ;
15263 return 0;
15264 }
15265 _ACEOF
15266 rm -f conftest.$ac_objext
15267 if { (ac_try="$ac_compile"
15268 case "(($ac_try" in
15269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15270 *) ac_try_echo=$ac_try;;
15271 esac
15272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15273 (eval "$ac_compile") 2>conftest.er1
15274 ac_status=$?
15275 grep -v '^ *+' conftest.er1 >conftest.err
15276 rm -f conftest.er1
15277 cat conftest.err >&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } && {
15280 test -z "$ac_c_werror_flag" ||
15281 test ! -s conftest.err
15282 } && test -s conftest.$ac_objext; then
15283 ac_cv_prog_cc_g=yes
15284 else
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.$ac_ext >&5
15287
15288 CFLAGS=""
15289 cat >conftest.$ac_ext <<_ACEOF
15290 /* confdefs.h. */
15291 _ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295
15296 int
15297 main ()
15298 {
15299
15300 ;
15301 return 0;
15302 }
15303 _ACEOF
15304 rm -f conftest.$ac_objext
15305 if { (ac_try="$ac_compile"
15306 case "(($ac_try" in
15307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15308 *) ac_try_echo=$ac_try;;
15309 esac
15310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15311 (eval "$ac_compile") 2>conftest.er1
15312 ac_status=$?
15313 grep -v '^ *+' conftest.er1 >conftest.err
15314 rm -f conftest.er1
15315 cat conftest.err >&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } && {
15318 test -z "$ac_c_werror_flag" ||
15319 test ! -s conftest.err
15320 } && test -s conftest.$ac_objext; then
15321 :
15322 else
15323 echo "$as_me: failed program was:" >&5
15324 sed 's/^/| /' conftest.$ac_ext >&5
15325
15326 ac_c_werror_flag=$ac_save_c_werror_flag
15327 CFLAGS="-g"
15328 cat >conftest.$ac_ext <<_ACEOF
15329 /* confdefs.h. */
15330 _ACEOF
15331 cat confdefs.h >>conftest.$ac_ext
15332 cat >>conftest.$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15334
15335 int
15336 main ()
15337 {
15338
15339 ;
15340 return 0;
15341 }
15342 _ACEOF
15343 rm -f conftest.$ac_objext
15344 if { (ac_try="$ac_compile"
15345 case "(($ac_try" in
15346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15347 *) ac_try_echo=$ac_try;;
15348 esac
15349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15350 (eval "$ac_compile") 2>conftest.er1
15351 ac_status=$?
15352 grep -v '^ *+' conftest.er1 >conftest.err
15353 rm -f conftest.er1
15354 cat conftest.err >&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } && {
15357 test -z "$ac_c_werror_flag" ||
15358 test ! -s conftest.err
15359 } && test -s conftest.$ac_objext; then
15360 ac_cv_prog_cc_g=yes
15361 else
15362 echo "$as_me: failed program was:" >&5
15363 sed 's/^/| /' conftest.$ac_ext >&5
15364
15365
15366 fi
15367
15368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15369 fi
15370
15371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15372 fi
15373
15374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15375 ac_c_werror_flag=$ac_save_c_werror_flag
15376 fi
15377 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15378 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15379 if test "$ac_test_CFLAGS" = set; then
15380 CFLAGS=$ac_save_CFLAGS
15381 elif test $ac_cv_prog_cc_g = yes; then
15382 if test "$GCC" = yes; then
15383 CFLAGS="-g -O2"
15384 else
15385 CFLAGS="-g"
15386 fi
15387 else
15388 if test "$GCC" = yes; then
15389 CFLAGS="-O2"
15390 else
15391 CFLAGS=
15392 fi
15393 fi
15394 fi
15395 fi
15396
15397 case `uname -s` in
15398 AIX*)
15399
15400
15401 ac_ext=c
15402 ac_cpp='$CPP $CPPFLAGS'
15403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15406
15407 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15408 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15409 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15410 echo $ECHO_N "(cached) $ECHO_C" >&6
15411 else
15412 cat >conftest.$ac_ext <<_ACEOF
15413 /* confdefs.h. */
15414 _ACEOF
15415 cat confdefs.h >>conftest.$ac_ext
15416 cat >>conftest.$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15418
15419 int
15420 main ()
15421 {
15422
15423 #ifndef __xlC__
15424 choke me
15425 #endif
15426
15427 ;
15428 return 0;
15429 }
15430 _ACEOF
15431 rm -f conftest.$ac_objext
15432 if { (ac_try="$ac_compile"
15433 case "(($ac_try" in
15434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15435 *) ac_try_echo=$ac_try;;
15436 esac
15437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15438 (eval "$ac_compile") 2>conftest.er1
15439 ac_status=$?
15440 grep -v '^ *+' conftest.er1 >conftest.err
15441 rm -f conftest.er1
15442 cat conftest.err >&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } && {
15445 test -z "$ac_c_werror_flag" ||
15446 test ! -s conftest.err
15447 } && test -s conftest.$ac_objext; then
15448 bakefile_cv_c_compiler___xlC__=yes
15449 else
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15452
15453 bakefile_cv_c_compiler___xlC__=no
15454
15455 fi
15456
15457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15458
15459
15460 fi
15461 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15462 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15463 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15464 :; XLCC=yes
15465 else
15466 :;
15467 fi
15468 ac_ext=c
15469 ac_cpp='$CPP $CPPFLAGS'
15470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15473
15474
15475
15476 ;;
15477
15478 Darwin)
15479
15480
15481 ac_ext=c
15482 ac_cpp='$CPP $CPPFLAGS'
15483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15486
15487 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15488 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15489 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 else
15492 cat >conftest.$ac_ext <<_ACEOF
15493 /* confdefs.h. */
15494 _ACEOF
15495 cat confdefs.h >>conftest.$ac_ext
15496 cat >>conftest.$ac_ext <<_ACEOF
15497 /* end confdefs.h. */
15498
15499 int
15500 main ()
15501 {
15502
15503 #ifndef __MWERKS__
15504 choke me
15505 #endif
15506
15507 ;
15508 return 0;
15509 }
15510 _ACEOF
15511 rm -f conftest.$ac_objext
15512 if { (ac_try="$ac_compile"
15513 case "(($ac_try" in
15514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15515 *) ac_try_echo=$ac_try;;
15516 esac
15517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15518 (eval "$ac_compile") 2>conftest.er1
15519 ac_status=$?
15520 grep -v '^ *+' conftest.er1 >conftest.err
15521 rm -f conftest.er1
15522 cat conftest.err >&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } && {
15525 test -z "$ac_c_werror_flag" ||
15526 test ! -s conftest.err
15527 } && test -s conftest.$ac_objext; then
15528 bakefile_cv_c_compiler___MWERKS__=yes
15529 else
15530 echo "$as_me: failed program was:" >&5
15531 sed 's/^/| /' conftest.$ac_ext >&5
15532
15533 bakefile_cv_c_compiler___MWERKS__=no
15534
15535 fi
15536
15537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15538
15539
15540 fi
15541 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15542 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15543 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15544 :; MWCC=yes
15545 else
15546 :;
15547 fi
15548 ac_ext=c
15549 ac_cpp='$CPP $CPPFLAGS'
15550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15553
15554
15555
15556 if test "$MWCC" != "yes"; then
15557
15558
15559 ac_ext=c
15560 ac_cpp='$CPP $CPPFLAGS'
15561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15564
15565 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15566 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15567 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15568 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 else
15570 cat >conftest.$ac_ext <<_ACEOF
15571 /* confdefs.h. */
15572 _ACEOF
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15576
15577 int
15578 main ()
15579 {
15580
15581 #ifndef __xlC__
15582 choke me
15583 #endif
15584
15585 ;
15586 return 0;
15587 }
15588 _ACEOF
15589 rm -f conftest.$ac_objext
15590 if { (ac_try="$ac_compile"
15591 case "(($ac_try" in
15592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15594 esac
15595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_compile") 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } && {
15603 test -z "$ac_c_werror_flag" ||
15604 test ! -s conftest.err
15605 } && test -s conftest.$ac_objext; then
15606 bakefile_cv_c_compiler___xlC__=yes
15607 else
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.$ac_ext >&5
15610
15611 bakefile_cv_c_compiler___xlC__=no
15612
15613 fi
15614
15615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15616
15617
15618 fi
15619 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15620 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15621 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15622 :; XLCC=yes
15623 else
15624 :;
15625 fi
15626 ac_ext=c
15627 ac_cpp='$CPP $CPPFLAGS'
15628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15631
15632
15633
15634 fi
15635 ;;
15636
15637 IRIX*)
15638
15639
15640 ac_ext=c
15641 ac_cpp='$CPP $CPPFLAGS'
15642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15645
15646 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15647 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15648 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15650 else
15651 cat >conftest.$ac_ext <<_ACEOF
15652 /* confdefs.h. */
15653 _ACEOF
15654 cat confdefs.h >>conftest.$ac_ext
15655 cat >>conftest.$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15657
15658 int
15659 main ()
15660 {
15661
15662 #ifndef _SGI_COMPILER_VERSION
15663 choke me
15664 #endif
15665
15666 ;
15667 return 0;
15668 }
15669 _ACEOF
15670 rm -f conftest.$ac_objext
15671 if { (ac_try="$ac_compile"
15672 case "(($ac_try" in
15673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15674 *) ac_try_echo=$ac_try;;
15675 esac
15676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15677 (eval "$ac_compile") 2>conftest.er1
15678 ac_status=$?
15679 grep -v '^ *+' conftest.er1 >conftest.err
15680 rm -f conftest.er1
15681 cat conftest.err >&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } && {
15684 test -z "$ac_c_werror_flag" ||
15685 test ! -s conftest.err
15686 } && test -s conftest.$ac_objext; then
15687 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15688 else
15689 echo "$as_me: failed program was:" >&5
15690 sed 's/^/| /' conftest.$ac_ext >&5
15691
15692 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15693
15694 fi
15695
15696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15697
15698
15699 fi
15700 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15701 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15702 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15703 :; SGICC=yes
15704 else
15705 :;
15706 fi
15707 ac_ext=c
15708 ac_cpp='$CPP $CPPFLAGS'
15709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15712
15713
15714
15715 ;;
15716
15717 Linux*)
15718 if test "$INTELCC" != "yes"; then
15719
15720
15721 ac_ext=c
15722 ac_cpp='$CPP $CPPFLAGS'
15723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15726
15727 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15728 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15729 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15731 else
15732 cat >conftest.$ac_ext <<_ACEOF
15733 /* confdefs.h. */
15734 _ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738
15739 int
15740 main ()
15741 {
15742
15743 #ifndef __SUNPRO_C
15744 choke me
15745 #endif
15746
15747 ;
15748 return 0;
15749 }
15750 _ACEOF
15751 rm -f conftest.$ac_objext
15752 if { (ac_try="$ac_compile"
15753 case "(($ac_try" in
15754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15755 *) ac_try_echo=$ac_try;;
15756 esac
15757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15758 (eval "$ac_compile") 2>conftest.er1
15759 ac_status=$?
15760 grep -v '^ *+' conftest.er1 >conftest.err
15761 rm -f conftest.er1
15762 cat conftest.err >&5
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); } && {
15765 test -z "$ac_c_werror_flag" ||
15766 test ! -s conftest.err
15767 } && test -s conftest.$ac_objext; then
15768 bakefile_cv_c_compiler___SUNPRO_C=yes
15769 else
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.$ac_ext >&5
15772
15773 bakefile_cv_c_compiler___SUNPRO_C=no
15774
15775 fi
15776
15777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15778
15779
15780 fi
15781 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15782 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15783 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15784 :; SUNCC=yes
15785 else
15786 :;
15787 fi
15788 ac_ext=c
15789 ac_cpp='$CPP $CPPFLAGS'
15790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15793
15794
15795
15796 fi
15797 ;;
15798
15799 HP-UX*)
15800
15801
15802 ac_ext=c
15803 ac_cpp='$CPP $CPPFLAGS'
15804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15807
15808 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15809 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15810 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 else
15813 cat >conftest.$ac_ext <<_ACEOF
15814 /* confdefs.h. */
15815 _ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819
15820 int
15821 main ()
15822 {
15823
15824 #ifndef __HP_cc
15825 choke me
15826 #endif
15827
15828 ;
15829 return 0;
15830 }
15831 _ACEOF
15832 rm -f conftest.$ac_objext
15833 if { (ac_try="$ac_compile"
15834 case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15837 esac
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_compile") 2>conftest.er1
15840 ac_status=$?
15841 grep -v '^ *+' conftest.er1 >conftest.err
15842 rm -f conftest.er1
15843 cat conftest.err >&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest.$ac_objext; then
15849 bakefile_cv_c_compiler___HP_cc=yes
15850 else
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15853
15854 bakefile_cv_c_compiler___HP_cc=no
15855
15856 fi
15857
15858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15859
15860
15861 fi
15862 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15863 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15864 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15865 :; HPCC=yes
15866 else
15867 :;
15868 fi
15869 ac_ext=c
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15874
15875
15876
15877 ;;
15878
15879 OSF1)
15880
15881
15882 ac_ext=c
15883 ac_cpp='$CPP $CPPFLAGS'
15884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15887
15888 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15889 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15890 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15891 echo $ECHO_N "(cached) $ECHO_C" >&6
15892 else
15893 cat >conftest.$ac_ext <<_ACEOF
15894 /* confdefs.h. */
15895 _ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899
15900 int
15901 main ()
15902 {
15903
15904 #ifndef __DECC
15905 choke me
15906 #endif
15907
15908 ;
15909 return 0;
15910 }
15911 _ACEOF
15912 rm -f conftest.$ac_objext
15913 if { (ac_try="$ac_compile"
15914 case "(($ac_try" in
15915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15916 *) ac_try_echo=$ac_try;;
15917 esac
15918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15919 (eval "$ac_compile") 2>conftest.er1
15920 ac_status=$?
15921 grep -v '^ *+' conftest.er1 >conftest.err
15922 rm -f conftest.er1
15923 cat conftest.err >&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } && {
15926 test -z "$ac_c_werror_flag" ||
15927 test ! -s conftest.err
15928 } && test -s conftest.$ac_objext; then
15929 bakefile_cv_c_compiler___DECC=yes
15930 else
15931 echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.$ac_ext >&5
15933
15934 bakefile_cv_c_compiler___DECC=no
15935
15936 fi
15937
15938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15939
15940
15941 fi
15942 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15943 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15944 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15945 :; COMPAQCC=yes
15946 else
15947 :;
15948 fi
15949 ac_ext=c
15950 ac_cpp='$CPP $CPPFLAGS'
15951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15954
15955
15956
15957 ;;
15958
15959 SunOS)
15960
15961
15962 ac_ext=c
15963 ac_cpp='$CPP $CPPFLAGS'
15964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15967
15968 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15969 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15970 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15971 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 else
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979
15980 int
15981 main ()
15982 {
15983
15984 #ifndef __SUNPRO_C
15985 choke me
15986 #endif
15987
15988 ;
15989 return 0;
15990 }
15991 _ACEOF
15992 rm -f conftest.$ac_objext
15993 if { (ac_try="$ac_compile"
15994 case "(($ac_try" in
15995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15996 *) ac_try_echo=$ac_try;;
15997 esac
15998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15999 (eval "$ac_compile") 2>conftest.er1
16000 ac_status=$?
16001 grep -v '^ *+' conftest.er1 >conftest.err
16002 rm -f conftest.er1
16003 cat conftest.err >&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } && {
16006 test -z "$ac_c_werror_flag" ||
16007 test ! -s conftest.err
16008 } && test -s conftest.$ac_objext; then
16009 bakefile_cv_c_compiler___SUNPRO_C=yes
16010 else
16011 echo "$as_me: failed program was:" >&5
16012 sed 's/^/| /' conftest.$ac_ext >&5
16013
16014 bakefile_cv_c_compiler___SUNPRO_C=no
16015
16016 fi
16017
16018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16019
16020
16021 fi
16022 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16023 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16024 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16025 :; SUNCC=yes
16026 else
16027 :;
16028 fi
16029 ac_ext=c
16030 ac_cpp='$CPP $CPPFLAGS'
16031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16034
16035
16036
16037 ;;
16038 esac
16039 fi
16040
16041
16042
16043 ac_ext=c
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16048 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16049 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16050 # On Suns, sometimes $CPP names a directory.
16051 if test -n "$CPP" && test -d "$CPP"; then
16052 CPP=
16053 fi
16054 if test -z "$CPP"; then
16055 if test "${ac_cv_prog_CPP+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 else
16058 # Double quotes because CPP needs to be expanded
16059 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16060 do
16061 ac_preproc_ok=false
16062 for ac_c_preproc_warn_flag in '' yes
16063 do
16064 # Use a header file that comes with gcc, so configuring glibc
16065 # with a fresh cross-compiler works.
16066 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16067 # <limits.h> exists even on freestanding compilers.
16068 # On the NeXT, cc -E runs the code through the compiler's parser,
16069 # not just through cpp. "Syntax error" is here to catch this case.
16070 cat >conftest.$ac_ext <<_ACEOF
16071 /* confdefs.h. */
16072 _ACEOF
16073 cat confdefs.h >>conftest.$ac_ext
16074 cat >>conftest.$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076 #ifdef __STDC__
16077 # include <limits.h>
16078 #else
16079 # include <assert.h>
16080 #endif
16081 Syntax error
16082 _ACEOF
16083 if { (ac_try="$ac_cpp conftest.$ac_ext"
16084 case "(($ac_try" in
16085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16086 *) ac_try_echo=$ac_try;;
16087 esac
16088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16089 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16090 ac_status=$?
16091 grep -v '^ *+' conftest.er1 >conftest.err
16092 rm -f conftest.er1
16093 cat conftest.err >&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } >/dev/null && {
16096 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16097 test ! -s conftest.err
16098 }; then
16099 :
16100 else
16101 echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.$ac_ext >&5
16103
16104 # Broken: fails on valid input.
16105 continue
16106 fi
16107
16108 rm -f conftest.err conftest.$ac_ext
16109
16110 # OK, works on sane cases. Now check whether nonexistent headers
16111 # can be detected and how.
16112 cat >conftest.$ac_ext <<_ACEOF
16113 /* confdefs.h. */
16114 _ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118 #include <ac_nonexistent.h>
16119 _ACEOF
16120 if { (ac_try="$ac_cpp conftest.$ac_ext"
16121 case "(($ac_try" in
16122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16123 *) ac_try_echo=$ac_try;;
16124 esac
16125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16127 ac_status=$?
16128 grep -v '^ *+' conftest.er1 >conftest.err
16129 rm -f conftest.er1
16130 cat conftest.err >&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } >/dev/null && {
16133 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16134 test ! -s conftest.err
16135 }; then
16136 # Broken: success on invalid input.
16137 continue
16138 else
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.$ac_ext >&5
16141
16142 # Passes both tests.
16143 ac_preproc_ok=:
16144 break
16145 fi
16146
16147 rm -f conftest.err conftest.$ac_ext
16148
16149 done
16150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16151 rm -f conftest.err conftest.$ac_ext
16152 if $ac_preproc_ok; then
16153 break
16154 fi
16155
16156 done
16157 ac_cv_prog_CPP=$CPP
16158
16159 fi
16160 CPP=$ac_cv_prog_CPP
16161 else
16162 ac_cv_prog_CPP=$CPP
16163 fi
16164 { echo "$as_me:$LINENO: result: $CPP" >&5
16165 echo "${ECHO_T}$CPP" >&6; }
16166 ac_preproc_ok=false
16167 for ac_c_preproc_warn_flag in '' yes
16168 do
16169 # Use a header file that comes with gcc, so configuring glibc
16170 # with a fresh cross-compiler works.
16171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16172 # <limits.h> exists even on freestanding compilers.
16173 # On the NeXT, cc -E runs the code through the compiler's parser,
16174 # not just through cpp. "Syntax error" is here to catch this case.
16175 cat >conftest.$ac_ext <<_ACEOF
16176 /* confdefs.h. */
16177 _ACEOF
16178 cat confdefs.h >>conftest.$ac_ext
16179 cat >>conftest.$ac_ext <<_ACEOF
16180 /* end confdefs.h. */
16181 #ifdef __STDC__
16182 # include <limits.h>
16183 #else
16184 # include <assert.h>
16185 #endif
16186 Syntax error
16187 _ACEOF
16188 if { (ac_try="$ac_cpp conftest.$ac_ext"
16189 case "(($ac_try" in
16190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16191 *) ac_try_echo=$ac_try;;
16192 esac
16193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16194 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16195 ac_status=$?
16196 grep -v '^ *+' conftest.er1 >conftest.err
16197 rm -f conftest.er1
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } >/dev/null && {
16201 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16202 test ! -s conftest.err
16203 }; then
16204 :
16205 else
16206 echo "$as_me: failed program was:" >&5
16207 sed 's/^/| /' conftest.$ac_ext >&5
16208
16209 # Broken: fails on valid input.
16210 continue
16211 fi
16212
16213 rm -f conftest.err conftest.$ac_ext
16214
16215 # OK, works on sane cases. Now check whether nonexistent headers
16216 # can be detected and how.
16217 cat >conftest.$ac_ext <<_ACEOF
16218 /* confdefs.h. */
16219 _ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 #include <ac_nonexistent.h>
16224 _ACEOF
16225 if { (ac_try="$ac_cpp conftest.$ac_ext"
16226 case "(($ac_try" in
16227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16228 *) ac_try_echo=$ac_try;;
16229 esac
16230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16232 ac_status=$?
16233 grep -v '^ *+' conftest.er1 >conftest.err
16234 rm -f conftest.er1
16235 cat conftest.err >&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } >/dev/null && {
16238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16239 test ! -s conftest.err
16240 }; then
16241 # Broken: success on invalid input.
16242 continue
16243 else
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.$ac_ext >&5
16246
16247 # Passes both tests.
16248 ac_preproc_ok=:
16249 break
16250 fi
16251
16252 rm -f conftest.err conftest.$ac_ext
16253
16254 done
16255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16256 rm -f conftest.err conftest.$ac_ext
16257 if $ac_preproc_ok; then
16258 :
16259 else
16260 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16261 See \`config.log' for more details." >&5
16262 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16263 See \`config.log' for more details." >&2;}
16264 { (exit 1); exit 1; }; }
16265 fi
16266
16267 ac_ext=c
16268 ac_cpp='$CPP $CPPFLAGS'
16269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16272
16273
16274 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16275 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16276 if test "${ac_cv_path_GREP+set}" = set; then
16277 echo $ECHO_N "(cached) $ECHO_C" >&6
16278 else
16279 # Extract the first word of "grep ggrep" to use in msg output
16280 if test -z "$GREP"; then
16281 set dummy grep ggrep; ac_prog_name=$2
16282 if test "${ac_cv_path_GREP+set}" = set; then
16283 echo $ECHO_N "(cached) $ECHO_C" >&6
16284 else
16285 ac_path_GREP_found=false
16286 # Loop through the user's path and test for each of PROGNAME-LIST
16287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16288 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16289 do
16290 IFS=$as_save_IFS
16291 test -z "$as_dir" && as_dir=.
16292 for ac_prog in grep ggrep; do
16293 for ac_exec_ext in '' $ac_executable_extensions; do
16294 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16295 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16296 # Check for GNU ac_path_GREP and select it if it is found.
16297 # Check for GNU $ac_path_GREP
16298 case `"$ac_path_GREP" --version 2>&1` in
16299 *GNU*)
16300 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16301 *)
16302 ac_count=0
16303 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16304 while :
16305 do
16306 cat "conftest.in" "conftest.in" >"conftest.tmp"
16307 mv "conftest.tmp" "conftest.in"
16308 cp "conftest.in" "conftest.nl"
16309 echo 'GREP' >> "conftest.nl"
16310 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16312 ac_count=`expr $ac_count + 1`
16313 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16314 # Best one so far, save it but keep looking for a better one
16315 ac_cv_path_GREP="$ac_path_GREP"
16316 ac_path_GREP_max=$ac_count
16317 fi
16318 # 10*(2^10) chars as input seems more than enough
16319 test $ac_count -gt 10 && break
16320 done
16321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16322 esac
16323
16324
16325 $ac_path_GREP_found && break 3
16326 done
16327 done
16328
16329 done
16330 IFS=$as_save_IFS
16331
16332
16333 fi
16334
16335 GREP="$ac_cv_path_GREP"
16336 if test -z "$GREP"; then
16337 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16338 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16339 { (exit 1); exit 1; }; }
16340 fi
16341
16342 else
16343 ac_cv_path_GREP=$GREP
16344 fi
16345
16346
16347 fi
16348 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16349 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16350 GREP="$ac_cv_path_GREP"
16351
16352
16353 { echo "$as_me:$LINENO: checking for egrep" >&5
16354 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16355 if test "${ac_cv_path_EGREP+set}" = set; then
16356 echo $ECHO_N "(cached) $ECHO_C" >&6
16357 else
16358 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16359 then ac_cv_path_EGREP="$GREP -E"
16360 else
16361 # Extract the first word of "egrep" to use in msg output
16362 if test -z "$EGREP"; then
16363 set dummy egrep; ac_prog_name=$2
16364 if test "${ac_cv_path_EGREP+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16366 else
16367 ac_path_EGREP_found=false
16368 # Loop through the user's path and test for each of PROGNAME-LIST
16369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16370 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16371 do
16372 IFS=$as_save_IFS
16373 test -z "$as_dir" && as_dir=.
16374 for ac_prog in egrep; do
16375 for ac_exec_ext in '' $ac_executable_extensions; do
16376 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16377 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16378 # Check for GNU ac_path_EGREP and select it if it is found.
16379 # Check for GNU $ac_path_EGREP
16380 case `"$ac_path_EGREP" --version 2>&1` in
16381 *GNU*)
16382 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16383 *)
16384 ac_count=0
16385 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16386 while :
16387 do
16388 cat "conftest.in" "conftest.in" >"conftest.tmp"
16389 mv "conftest.tmp" "conftest.in"
16390 cp "conftest.in" "conftest.nl"
16391 echo 'EGREP' >> "conftest.nl"
16392 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16393 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16394 ac_count=`expr $ac_count + 1`
16395 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16396 # Best one so far, save it but keep looking for a better one
16397 ac_cv_path_EGREP="$ac_path_EGREP"
16398 ac_path_EGREP_max=$ac_count
16399 fi
16400 # 10*(2^10) chars as input seems more than enough
16401 test $ac_count -gt 10 && break
16402 done
16403 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16404 esac
16405
16406
16407 $ac_path_EGREP_found && break 3
16408 done
16409 done
16410
16411 done
16412 IFS=$as_save_IFS
16413
16414
16415 fi
16416
16417 EGREP="$ac_cv_path_EGREP"
16418 if test -z "$EGREP"; then
16419 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16420 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16421 { (exit 1); exit 1; }; }
16422 fi
16423
16424 else
16425 ac_cv_path_EGREP=$EGREP
16426 fi
16427
16428
16429 fi
16430 fi
16431 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16432 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16433 EGREP="$ac_cv_path_EGREP"
16434
16435
16436 if test $ac_cv_c_compiler_gnu = yes; then
16437 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16438 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16439 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16440 echo $ECHO_N "(cached) $ECHO_C" >&6
16441 else
16442 ac_pattern="Autoconf.*'x'"
16443 cat >conftest.$ac_ext <<_ACEOF
16444 /* confdefs.h. */
16445 _ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16449 #include <sgtty.h>
16450 Autoconf TIOCGETP
16451 _ACEOF
16452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16453 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16454 ac_cv_prog_gcc_traditional=yes
16455 else
16456 ac_cv_prog_gcc_traditional=no
16457 fi
16458 rm -f conftest*
16459
16460
16461 if test $ac_cv_prog_gcc_traditional = no; then
16462 cat >conftest.$ac_ext <<_ACEOF
16463 /* confdefs.h. */
16464 _ACEOF
16465 cat confdefs.h >>conftest.$ac_ext
16466 cat >>conftest.$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 #include <termio.h>
16469 Autoconf TCGETA
16470 _ACEOF
16471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16472 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16473 ac_cv_prog_gcc_traditional=yes
16474 fi
16475 rm -f conftest*
16476
16477 fi
16478 fi
16479 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16480 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16481 if test $ac_cv_prog_gcc_traditional = yes; then
16482 CC="$CC -traditional"
16483 fi
16484 fi
16485
16486
16487 CXXFLAGS=${CXXFLAGS:=}
16488
16489
16490
16491 ac_ext=cpp
16492 ac_cpp='$CXXCPP $CPPFLAGS'
16493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16496 if test -z "$CXX"; then
16497 if test -n "$CCC"; then
16498 CXX=$CCC
16499 else
16500 if test -n "$ac_tool_prefix"; then
16501 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16502 do
16503 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16504 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16507 if test "${ac_cv_prog_CXX+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16509 else
16510 if test -n "$CXX"; then
16511 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16512 else
16513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16514 for as_dir in $PATH
16515 do
16516 IFS=$as_save_IFS
16517 test -z "$as_dir" && as_dir=.
16518 for ac_exec_ext in '' $ac_executable_extensions; do
16519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16520 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16522 break 2
16523 fi
16524 done
16525 done
16526 IFS=$as_save_IFS
16527
16528 fi
16529 fi
16530 CXX=$ac_cv_prog_CXX
16531 if test -n "$CXX"; then
16532 { echo "$as_me:$LINENO: result: $CXX" >&5
16533 echo "${ECHO_T}$CXX" >&6; }
16534 else
16535 { echo "$as_me:$LINENO: result: no" >&5
16536 echo "${ECHO_T}no" >&6; }
16537 fi
16538
16539
16540 test -n "$CXX" && break
16541 done
16542 fi
16543 if test -z "$CXX"; then
16544 ac_ct_CXX=$CXX
16545 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16546 do
16547 # Extract the first word of "$ac_prog", so it can be a program name with args.
16548 set dummy $ac_prog; ac_word=$2
16549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16551 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16553 else
16554 if test -n "$ac_ct_CXX"; then
16555 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16556 else
16557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16558 for as_dir in $PATH
16559 do
16560 IFS=$as_save_IFS
16561 test -z "$as_dir" && as_dir=.
16562 for ac_exec_ext in '' $ac_executable_extensions; do
16563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16564 ac_cv_prog_ac_ct_CXX="$ac_prog"
16565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16566 break 2
16567 fi
16568 done
16569 done
16570 IFS=$as_save_IFS
16571
16572 fi
16573 fi
16574 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16575 if test -n "$ac_ct_CXX"; then
16576 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16577 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16578 else
16579 { echo "$as_me:$LINENO: result: no" >&5
16580 echo "${ECHO_T}no" >&6; }
16581 fi
16582
16583
16584 test -n "$ac_ct_CXX" && break
16585 done
16586
16587 if test "x$ac_ct_CXX" = x; then
16588 CXX="g++"
16589 else
16590 case $cross_compiling:$ac_tool_warned in
16591 yes:)
16592 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16593 whose name does not start with the host triplet. If you think this
16594 configuration is useful to you, please write to autoconf@gnu.org." >&5
16595 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16596 whose name does not start with the host triplet. If you think this
16597 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16598 ac_tool_warned=yes ;;
16599 esac
16600 CXX=$ac_ct_CXX
16601 fi
16602 fi
16603
16604 fi
16605 fi
16606 # Provide some information about the compiler.
16607 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16608 ac_compiler=`set X $ac_compile; echo $2`
16609 { (ac_try="$ac_compiler --version >&5"
16610 case "(($ac_try" in
16611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16612 *) ac_try_echo=$ac_try;;
16613 esac
16614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16615 (eval "$ac_compiler --version >&5") 2>&5
16616 ac_status=$?
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }
16619 { (ac_try="$ac_compiler -v >&5"
16620 case "(($ac_try" in
16621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16622 *) ac_try_echo=$ac_try;;
16623 esac
16624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16625 (eval "$ac_compiler -v >&5") 2>&5
16626 ac_status=$?
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }
16629 { (ac_try="$ac_compiler -V >&5"
16630 case "(($ac_try" in
16631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16633 esac
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_compiler -V >&5") 2>&5
16636 ac_status=$?
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }
16639
16640 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16641 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16642 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 else
16645 cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651
16652 int
16653 main ()
16654 {
16655 #ifndef __GNUC__
16656 choke me
16657 #endif
16658
16659 ;
16660 return 0;
16661 }
16662 _ACEOF
16663 rm -f conftest.$ac_objext
16664 if { (ac_try="$ac_compile"
16665 case "(($ac_try" in
16666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16667 *) ac_try_echo=$ac_try;;
16668 esac
16669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16670 (eval "$ac_compile") 2>conftest.er1
16671 ac_status=$?
16672 grep -v '^ *+' conftest.er1 >conftest.err
16673 rm -f conftest.er1
16674 cat conftest.err >&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); } && {
16677 test -z "$ac_cxx_werror_flag" ||
16678 test ! -s conftest.err
16679 } && test -s conftest.$ac_objext; then
16680 ac_compiler_gnu=yes
16681 else
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16684
16685 ac_compiler_gnu=no
16686 fi
16687
16688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16689 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16690
16691 fi
16692 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16693 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16694 GXX=`test $ac_compiler_gnu = yes && echo yes`
16695 ac_test_CXXFLAGS=${CXXFLAGS+set}
16696 ac_save_CXXFLAGS=$CXXFLAGS
16697 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16698 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16699 if test "${ac_cv_prog_cxx_g+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16701 else
16702 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16703 ac_cxx_werror_flag=yes
16704 ac_cv_prog_cxx_g=no
16705 CXXFLAGS="-g"
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712
16713 int
16714 main ()
16715 {
16716
16717 ;
16718 return 0;
16719 }
16720 _ACEOF
16721 rm -f conftest.$ac_objext
16722 if { (ac_try="$ac_compile"
16723 case "(($ac_try" in
16724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725 *) ac_try_echo=$ac_try;;
16726 esac
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_compile") 2>conftest.er1
16729 ac_status=$?
16730 grep -v '^ *+' conftest.er1 >conftest.err
16731 rm -f conftest.er1
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && {
16735 test -z "$ac_cxx_werror_flag" ||
16736 test ! -s conftest.err
16737 } && test -s conftest.$ac_objext; then
16738 ac_cv_prog_cxx_g=yes
16739 else
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16742
16743 CXXFLAGS=""
16744 cat >conftest.$ac_ext <<_ACEOF
16745 /* confdefs.h. */
16746 _ACEOF
16747 cat confdefs.h >>conftest.$ac_ext
16748 cat >>conftest.$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16750
16751 int
16752 main ()
16753 {
16754
16755 ;
16756 return 0;
16757 }
16758 _ACEOF
16759 rm -f conftest.$ac_objext
16760 if { (ac_try="$ac_compile"
16761 case "(($ac_try" in
16762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16763 *) ac_try_echo=$ac_try;;
16764 esac
16765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16766 (eval "$ac_compile") 2>conftest.er1
16767 ac_status=$?
16768 grep -v '^ *+' conftest.er1 >conftest.err
16769 rm -f conftest.er1
16770 cat conftest.err >&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } && {
16773 test -z "$ac_cxx_werror_flag" ||
16774 test ! -s conftest.err
16775 } && test -s conftest.$ac_objext; then
16776 :
16777 else
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.$ac_ext >&5
16780
16781 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16782 CXXFLAGS="-g"
16783 cat >conftest.$ac_ext <<_ACEOF
16784 /* confdefs.h. */
16785 _ACEOF
16786 cat confdefs.h >>conftest.$ac_ext
16787 cat >>conftest.$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16789
16790 int
16791 main ()
16792 {
16793
16794 ;
16795 return 0;
16796 }
16797 _ACEOF
16798 rm -f conftest.$ac_objext
16799 if { (ac_try="$ac_compile"
16800 case "(($ac_try" in
16801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16802 *) ac_try_echo=$ac_try;;
16803 esac
16804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16805 (eval "$ac_compile") 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } && {
16812 test -z "$ac_cxx_werror_flag" ||
16813 test ! -s conftest.err
16814 } && test -s conftest.$ac_objext; then
16815 ac_cv_prog_cxx_g=yes
16816 else
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16819
16820
16821 fi
16822
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16824 fi
16825
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 fi
16828
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16831 fi
16832 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16833 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16834 if test "$ac_test_CXXFLAGS" = set; then
16835 CXXFLAGS=$ac_save_CXXFLAGS
16836 elif test $ac_cv_prog_cxx_g = yes; then
16837 if test "$GXX" = yes; then
16838 CXXFLAGS="-g -O2"
16839 else
16840 CXXFLAGS="-g"
16841 fi
16842 else
16843 if test "$GXX" = yes; then
16844 CXXFLAGS="-O2"
16845 else
16846 CXXFLAGS=
16847 fi
16848 fi
16849 ac_ext=c
16850 ac_cpp='$CPP $CPPFLAGS'
16851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16854
16855
16856
16857
16858 ac_ext=cpp
16859 ac_cpp='$CXXCPP $CPPFLAGS'
16860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16863
16864 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16865 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16866 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16867 echo $ECHO_N "(cached) $ECHO_C" >&6
16868 else
16869 cat >conftest.$ac_ext <<_ACEOF
16870 /* confdefs.h. */
16871 _ACEOF
16872 cat confdefs.h >>conftest.$ac_ext
16873 cat >>conftest.$ac_ext <<_ACEOF
16874 /* end confdefs.h. */
16875
16876 int
16877 main ()
16878 {
16879
16880 #ifndef __INTEL_COMPILER
16881 choke me
16882 #endif
16883
16884 ;
16885 return 0;
16886 }
16887 _ACEOF
16888 rm -f conftest.$ac_objext
16889 if { (ac_try="$ac_compile"
16890 case "(($ac_try" in
16891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16892 *) ac_try_echo=$ac_try;;
16893 esac
16894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16895 (eval "$ac_compile") 2>conftest.er1
16896 ac_status=$?
16897 grep -v '^ *+' conftest.er1 >conftest.err
16898 rm -f conftest.er1
16899 cat conftest.err >&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } && {
16902 test -z "$ac_cxx_werror_flag" ||
16903 test ! -s conftest.err
16904 } && test -s conftest.$ac_objext; then
16905 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16906 else
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.$ac_ext >&5
16909
16910 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16911
16912 fi
16913
16914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16915
16916
16917 fi
16918 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16919 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16920 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16921 :; INTELCXX=yes
16922 else
16923 :;
16924 fi
16925 ac_ext=c
16926 ac_cpp='$CPP $CPPFLAGS'
16927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16930
16931
16932
16933
16934 if test "$INTELCXX" = "yes"; then
16935
16936
16937 ac_ext=cpp
16938 ac_cpp='$CXXCPP $CPPFLAGS'
16939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16942
16943 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16944 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16945 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 else
16948 cat >conftest.$ac_ext <<_ACEOF
16949 /* confdefs.h. */
16950 _ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954
16955 int
16956 main ()
16957 {
16958
16959 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16960 choke me
16961 #endif
16962
16963 ;
16964 return 0;
16965 }
16966 _ACEOF
16967 rm -f conftest.$ac_objext
16968 if { (ac_try="$ac_compile"
16969 case "(($ac_try" in
16970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16971 *) ac_try_echo=$ac_try;;
16972 esac
16973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16974 (eval "$ac_compile") 2>conftest.er1
16975 ac_status=$?
16976 grep -v '^ *+' conftest.er1 >conftest.err
16977 rm -f conftest.er1
16978 cat conftest.err >&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } && {
16981 test -z "$ac_cxx_werror_flag" ||
16982 test ! -s conftest.err
16983 } && test -s conftest.$ac_objext; then
16984 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16985 else
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.$ac_ext >&5
16988
16989 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16990
16991 fi
16992
16993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16994
16995
16996 fi
16997 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16998 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
16999 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17000 :; INTELCXX8=yes
17001 else
17002 :;
17003 fi
17004 ac_ext=c
17005 ac_cpp='$CPP $CPPFLAGS'
17006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17009
17010
17011
17012
17013
17014 ac_ext=cpp
17015 ac_cpp='$CXXCPP $CPPFLAGS'
17016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17019
17020 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17021 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17022 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 else
17025 cat >conftest.$ac_ext <<_ACEOF
17026 /* confdefs.h. */
17027 _ACEOF
17028 cat confdefs.h >>conftest.$ac_ext
17029 cat >>conftest.$ac_ext <<_ACEOF
17030 /* end confdefs.h. */
17031
17032 int
17033 main ()
17034 {
17035
17036 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17037 choke me
17038 #endif
17039
17040 ;
17041 return 0;
17042 }
17043 _ACEOF
17044 rm -f conftest.$ac_objext
17045 if { (ac_try="$ac_compile"
17046 case "(($ac_try" in
17047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17048 *) ac_try_echo=$ac_try;;
17049 esac
17050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17051 (eval "$ac_compile") 2>conftest.er1
17052 ac_status=$?
17053 grep -v '^ *+' conftest.er1 >conftest.err
17054 rm -f conftest.er1
17055 cat conftest.err >&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } && {
17058 test -z "$ac_cxx_werror_flag" ||
17059 test ! -s conftest.err
17060 } && test -s conftest.$ac_objext; then
17061 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17062 else
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.$ac_ext >&5
17065
17066 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17067
17068 fi
17069
17070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071
17072
17073 fi
17074 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17075 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17076 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17077 :; INTELCXX10=yes
17078 else
17079 :;
17080 fi
17081 ac_ext=c
17082 ac_cpp='$CPP $CPPFLAGS'
17083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17086
17087
17088
17089 fi
17090
17091 if test "x$GCXX" != "xyes"; then
17092 if test "xCXX" = "xC"; then
17093 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17094 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17095 if test "${bakefile_cv_c_exto+set}" = set; then
17096 echo $ECHO_N "(cached) $ECHO_C" >&6
17097 else
17098 cat >conftest.$ac_ext <<_ACEOF
17099 /* confdefs.h. */
17100 _ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104
17105 int
17106 main ()
17107 {
17108
17109 ;
17110 return 0;
17111 }
17112 _ACEOF
17113 rm -f conftest.$ac_objext conftest.$ac_ext.o
17114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17115 (eval $ac_compile) 2>&5
17116 ac_status=$?
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; then
17119 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17120 case $ac_file in
17121 conftest.$ac_ext.o)
17122 bakefile_cv_c_exto="-ext o"
17123 ;;
17124 *)
17125 ;;
17126 esac
17127 done
17128 else
17129 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17130 See \`config.log' for more details." >&5
17131 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17132 See \`config.log' for more details." >&2;}
17133 { (exit 1); exit 1; }; }
17134
17135 fi
17136
17137 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17138
17139 fi
17140 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17141 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17142 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17143 if test "c" = "c"; then
17144 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17145 fi
17146 if test "c" = "cxx"; then
17147 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17148 fi
17149 fi
17150
17151 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17152 unset ac_cv_prog_cc_g
17153 ac_test_CFLAGS=${CFLAGS+set}
17154 ac_save_CFLAGS=$CFLAGS
17155 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17156 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17157 if test "${ac_cv_prog_cc_g+set}" = set; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17159 else
17160 ac_save_c_werror_flag=$ac_c_werror_flag
17161 ac_c_werror_flag=yes
17162 ac_cv_prog_cc_g=no
17163 CFLAGS="-g"
17164 cat >conftest.$ac_ext <<_ACEOF
17165 /* confdefs.h. */
17166 _ACEOF
17167 cat confdefs.h >>conftest.$ac_ext
17168 cat >>conftest.$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170
17171 int
17172 main ()
17173 {
17174
17175 ;
17176 return 0;
17177 }
17178 _ACEOF
17179 rm -f conftest.$ac_objext
17180 if { (ac_try="$ac_compile"
17181 case "(($ac_try" in
17182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17183 *) ac_try_echo=$ac_try;;
17184 esac
17185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17186 (eval "$ac_compile") 2>conftest.er1
17187 ac_status=$?
17188 grep -v '^ *+' conftest.er1 >conftest.err
17189 rm -f conftest.er1
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } && {
17193 test -z "$ac_c_werror_flag" ||
17194 test ! -s conftest.err
17195 } && test -s conftest.$ac_objext; then
17196 ac_cv_prog_cc_g=yes
17197 else
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17200
17201 CFLAGS=""
17202 cat >conftest.$ac_ext <<_ACEOF
17203 /* confdefs.h. */
17204 _ACEOF
17205 cat confdefs.h >>conftest.$ac_ext
17206 cat >>conftest.$ac_ext <<_ACEOF
17207 /* end confdefs.h. */
17208
17209 int
17210 main ()
17211 {
17212
17213 ;
17214 return 0;
17215 }
17216 _ACEOF
17217 rm -f conftest.$ac_objext
17218 if { (ac_try="$ac_compile"
17219 case "(($ac_try" in
17220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17221 *) ac_try_echo=$ac_try;;
17222 esac
17223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17224 (eval "$ac_compile") 2>conftest.er1
17225 ac_status=$?
17226 grep -v '^ *+' conftest.er1 >conftest.err
17227 rm -f conftest.er1
17228 cat conftest.err >&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } && {
17231 test -z "$ac_c_werror_flag" ||
17232 test ! -s conftest.err
17233 } && test -s conftest.$ac_objext; then
17234 :
17235 else
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17238
17239 ac_c_werror_flag=$ac_save_c_werror_flag
17240 CFLAGS="-g"
17241 cat >conftest.$ac_ext <<_ACEOF
17242 /* confdefs.h. */
17243 _ACEOF
17244 cat confdefs.h >>conftest.$ac_ext
17245 cat >>conftest.$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17247
17248 int
17249 main ()
17250 {
17251
17252 ;
17253 return 0;
17254 }
17255 _ACEOF
17256 rm -f conftest.$ac_objext
17257 if { (ac_try="$ac_compile"
17258 case "(($ac_try" in
17259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17260 *) ac_try_echo=$ac_try;;
17261 esac
17262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17263 (eval "$ac_compile") 2>conftest.er1
17264 ac_status=$?
17265 grep -v '^ *+' conftest.er1 >conftest.err
17266 rm -f conftest.er1
17267 cat conftest.err >&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); } && {
17270 test -z "$ac_c_werror_flag" ||
17271 test ! -s conftest.err
17272 } && test -s conftest.$ac_objext; then
17273 ac_cv_prog_cc_g=yes
17274 else
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17277
17278
17279 fi
17280
17281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17282 fi
17283
17284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17285 fi
17286
17287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17288 ac_c_werror_flag=$ac_save_c_werror_flag
17289 fi
17290 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17291 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17292 if test "$ac_test_CFLAGS" = set; then
17293 CFLAGS=$ac_save_CFLAGS
17294 elif test $ac_cv_prog_cc_g = yes; then
17295 if test "$GCC" = yes; then
17296 CFLAGS="-g -O2"
17297 else
17298 CFLAGS="-g"
17299 fi
17300 else
17301 if test "$GCC" = yes; then
17302 CFLAGS="-O2"
17303 else
17304 CFLAGS=
17305 fi
17306 fi
17307 fi
17308 fi
17309
17310 case `uname -s` in
17311 AIX*)
17312
17313
17314 ac_ext=cpp
17315 ac_cpp='$CXXCPP $CPPFLAGS'
17316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17319
17320 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17321 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17322 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17323 echo $ECHO_N "(cached) $ECHO_C" >&6
17324 else
17325 cat >conftest.$ac_ext <<_ACEOF
17326 /* confdefs.h. */
17327 _ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331
17332 int
17333 main ()
17334 {
17335
17336 #ifndef __xlC__
17337 choke me
17338 #endif
17339
17340 ;
17341 return 0;
17342 }
17343 _ACEOF
17344 rm -f conftest.$ac_objext
17345 if { (ac_try="$ac_compile"
17346 case "(($ac_try" in
17347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17348 *) ac_try_echo=$ac_try;;
17349 esac
17350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17351 (eval "$ac_compile") 2>conftest.er1
17352 ac_status=$?
17353 grep -v '^ *+' conftest.er1 >conftest.err
17354 rm -f conftest.er1
17355 cat conftest.err >&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); } && {
17358 test -z "$ac_cxx_werror_flag" ||
17359 test ! -s conftest.err
17360 } && test -s conftest.$ac_objext; then
17361 bakefile_cv_cxx_compiler___xlC__=yes
17362 else
17363 echo "$as_me: failed program was:" >&5
17364 sed 's/^/| /' conftest.$ac_ext >&5
17365
17366 bakefile_cv_cxx_compiler___xlC__=no
17367
17368 fi
17369
17370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17371
17372
17373 fi
17374 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17375 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17376 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17377 :; XLCXX=yes
17378 else
17379 :;
17380 fi
17381 ac_ext=c
17382 ac_cpp='$CPP $CPPFLAGS'
17383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17386
17387
17388
17389 ;;
17390
17391 Darwin)
17392
17393
17394 ac_ext=cpp
17395 ac_cpp='$CXXCPP $CPPFLAGS'
17396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17399
17400 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17401 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17402 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17404 else
17405 cat >conftest.$ac_ext <<_ACEOF
17406 /* confdefs.h. */
17407 _ACEOF
17408 cat confdefs.h >>conftest.$ac_ext
17409 cat >>conftest.$ac_ext <<_ACEOF
17410 /* end confdefs.h. */
17411
17412 int
17413 main ()
17414 {
17415
17416 #ifndef __MWERKS__
17417 choke me
17418 #endif
17419
17420 ;
17421 return 0;
17422 }
17423 _ACEOF
17424 rm -f conftest.$ac_objext
17425 if { (ac_try="$ac_compile"
17426 case "(($ac_try" in
17427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17428 *) ac_try_echo=$ac_try;;
17429 esac
17430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17431 (eval "$ac_compile") 2>conftest.er1
17432 ac_status=$?
17433 grep -v '^ *+' conftest.er1 >conftest.err
17434 rm -f conftest.er1
17435 cat conftest.err >&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } && {
17438 test -z "$ac_cxx_werror_flag" ||
17439 test ! -s conftest.err
17440 } && test -s conftest.$ac_objext; then
17441 bakefile_cv_cxx_compiler___MWERKS__=yes
17442 else
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.$ac_ext >&5
17445
17446 bakefile_cv_cxx_compiler___MWERKS__=no
17447
17448 fi
17449
17450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17451
17452
17453 fi
17454 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17455 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17456 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17457 :; MWCXX=yes
17458 else
17459 :;
17460 fi
17461 ac_ext=c
17462 ac_cpp='$CPP $CPPFLAGS'
17463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17466
17467
17468
17469 if test "$MWCXX" != "yes"; then
17470
17471
17472 ac_ext=cpp
17473 ac_cpp='$CXXCPP $CPPFLAGS'
17474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17477
17478 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17479 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17480 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17481 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 else
17483 cat >conftest.$ac_ext <<_ACEOF
17484 /* confdefs.h. */
17485 _ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17489
17490 int
17491 main ()
17492 {
17493
17494 #ifndef __xlC__
17495 choke me
17496 #endif
17497
17498 ;
17499 return 0;
17500 }
17501 _ACEOF
17502 rm -f conftest.$ac_objext
17503 if { (ac_try="$ac_compile"
17504 case "(($ac_try" in
17505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17506 *) ac_try_echo=$ac_try;;
17507 esac
17508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17509 (eval "$ac_compile") 2>conftest.er1
17510 ac_status=$?
17511 grep -v '^ *+' conftest.er1 >conftest.err
17512 rm -f conftest.er1
17513 cat conftest.err >&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } && {
17516 test -z "$ac_cxx_werror_flag" ||
17517 test ! -s conftest.err
17518 } && test -s conftest.$ac_objext; then
17519 bakefile_cv_cxx_compiler___xlC__=yes
17520 else
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.$ac_ext >&5
17523
17524 bakefile_cv_cxx_compiler___xlC__=no
17525
17526 fi
17527
17528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17529
17530
17531 fi
17532 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17533 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17534 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17535 :; XLCXX=yes
17536 else
17537 :;
17538 fi
17539 ac_ext=c
17540 ac_cpp='$CPP $CPPFLAGS'
17541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17544
17545
17546
17547 fi
17548 ;;
17549
17550 IRIX*)
17551
17552
17553 ac_ext=cpp
17554 ac_cpp='$CXXCPP $CPPFLAGS'
17555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17558
17559 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17560 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17561 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17562 echo $ECHO_N "(cached) $ECHO_C" >&6
17563 else
17564 cat >conftest.$ac_ext <<_ACEOF
17565 /* confdefs.h. */
17566 _ACEOF
17567 cat confdefs.h >>conftest.$ac_ext
17568 cat >>conftest.$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17570
17571 int
17572 main ()
17573 {
17574
17575 #ifndef _SGI_COMPILER_VERSION
17576 choke me
17577 #endif
17578
17579 ;
17580 return 0;
17581 }
17582 _ACEOF
17583 rm -f conftest.$ac_objext
17584 if { (ac_try="$ac_compile"
17585 case "(($ac_try" in
17586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17587 *) ac_try_echo=$ac_try;;
17588 esac
17589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17590 (eval "$ac_compile") 2>conftest.er1
17591 ac_status=$?
17592 grep -v '^ *+' conftest.er1 >conftest.err
17593 rm -f conftest.er1
17594 cat conftest.err >&5
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); } && {
17597 test -z "$ac_cxx_werror_flag" ||
17598 test ! -s conftest.err
17599 } && test -s conftest.$ac_objext; then
17600 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17601 else
17602 echo "$as_me: failed program was:" >&5
17603 sed 's/^/| /' conftest.$ac_ext >&5
17604
17605 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17606
17607 fi
17608
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610
17611
17612 fi
17613 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17614 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17615 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17616 :; SGICXX=yes
17617 else
17618 :;
17619 fi
17620 ac_ext=c
17621 ac_cpp='$CPP $CPPFLAGS'
17622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17625
17626
17627
17628 ;;
17629
17630 Linux*)
17631 if test "$INTELCXX" != "yes"; then
17632
17633
17634 ac_ext=cpp
17635 ac_cpp='$CXXCPP $CPPFLAGS'
17636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17639
17640 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17641 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17642 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17643 echo $ECHO_N "(cached) $ECHO_C" >&6
17644 else
17645 cat >conftest.$ac_ext <<_ACEOF
17646 /* confdefs.h. */
17647 _ACEOF
17648 cat confdefs.h >>conftest.$ac_ext
17649 cat >>conftest.$ac_ext <<_ACEOF
17650 /* end confdefs.h. */
17651
17652 int
17653 main ()
17654 {
17655
17656 #ifndef __SUNPRO_CC
17657 choke me
17658 #endif
17659
17660 ;
17661 return 0;
17662 }
17663 _ACEOF
17664 rm -f conftest.$ac_objext
17665 if { (ac_try="$ac_compile"
17666 case "(($ac_try" in
17667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17668 *) ac_try_echo=$ac_try;;
17669 esac
17670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17671 (eval "$ac_compile") 2>conftest.er1
17672 ac_status=$?
17673 grep -v '^ *+' conftest.er1 >conftest.err
17674 rm -f conftest.er1
17675 cat conftest.err >&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } && {
17678 test -z "$ac_cxx_werror_flag" ||
17679 test ! -s conftest.err
17680 } && test -s conftest.$ac_objext; then
17681 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17682 else
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.$ac_ext >&5
17685
17686 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17687
17688 fi
17689
17690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17691
17692
17693 fi
17694 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17695 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17696 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17697 :; SUNCXX=yes
17698 else
17699 :;
17700 fi
17701 ac_ext=c
17702 ac_cpp='$CPP $CPPFLAGS'
17703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17706
17707
17708
17709 fi
17710 ;;
17711
17712 HP-UX*)
17713
17714
17715 ac_ext=cpp
17716 ac_cpp='$CXXCPP $CPPFLAGS'
17717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17720
17721 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17722 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17723 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17724 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 else
17726 cat >conftest.$ac_ext <<_ACEOF
17727 /* confdefs.h. */
17728 _ACEOF
17729 cat confdefs.h >>conftest.$ac_ext
17730 cat >>conftest.$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17732
17733 int
17734 main ()
17735 {
17736
17737 #ifndef __HP_aCC
17738 choke me
17739 #endif
17740
17741 ;
17742 return 0;
17743 }
17744 _ACEOF
17745 rm -f conftest.$ac_objext
17746 if { (ac_try="$ac_compile"
17747 case "(($ac_try" in
17748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17749 *) ac_try_echo=$ac_try;;
17750 esac
17751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17752 (eval "$ac_compile") 2>conftest.er1
17753 ac_status=$?
17754 grep -v '^ *+' conftest.er1 >conftest.err
17755 rm -f conftest.er1
17756 cat conftest.err >&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } && {
17759 test -z "$ac_cxx_werror_flag" ||
17760 test ! -s conftest.err
17761 } && test -s conftest.$ac_objext; then
17762 bakefile_cv_cxx_compiler___HP_aCC=yes
17763 else
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.$ac_ext >&5
17766
17767 bakefile_cv_cxx_compiler___HP_aCC=no
17768
17769 fi
17770
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772
17773
17774 fi
17775 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17776 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17777 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17778 :; HPCXX=yes
17779 else
17780 :;
17781 fi
17782 ac_ext=c
17783 ac_cpp='$CPP $CPPFLAGS'
17784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17787
17788
17789
17790 ;;
17791
17792 OSF1)
17793
17794
17795 ac_ext=cpp
17796 ac_cpp='$CXXCPP $CPPFLAGS'
17797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17800
17801 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17802 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17803 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17804 echo $ECHO_N "(cached) $ECHO_C" >&6
17805 else
17806 cat >conftest.$ac_ext <<_ACEOF
17807 /* confdefs.h. */
17808 _ACEOF
17809 cat confdefs.h >>conftest.$ac_ext
17810 cat >>conftest.$ac_ext <<_ACEOF
17811 /* end confdefs.h. */
17812
17813 int
17814 main ()
17815 {
17816
17817 #ifndef __DECCXX
17818 choke me
17819 #endif
17820
17821 ;
17822 return 0;
17823 }
17824 _ACEOF
17825 rm -f conftest.$ac_objext
17826 if { (ac_try="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17830 esac
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17833 ac_status=$?
17834 grep -v '^ *+' conftest.er1 >conftest.err
17835 rm -f conftest.er1
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_cxx_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.$ac_objext; then
17842 bakefile_cv_cxx_compiler___DECCXX=yes
17843 else
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.$ac_ext >&5
17846
17847 bakefile_cv_cxx_compiler___DECCXX=no
17848
17849 fi
17850
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17852
17853
17854 fi
17855 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17856 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17857 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17858 :; COMPAQCXX=yes
17859 else
17860 :;
17861 fi
17862 ac_ext=c
17863 ac_cpp='$CPP $CPPFLAGS'
17864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17867
17868
17869
17870 ;;
17871
17872 SunOS)
17873
17874
17875 ac_ext=cpp
17876 ac_cpp='$CXXCPP $CPPFLAGS'
17877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17880
17881 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17882 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17883 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17884 echo $ECHO_N "(cached) $ECHO_C" >&6
17885 else
17886 cat >conftest.$ac_ext <<_ACEOF
17887 /* confdefs.h. */
17888 _ACEOF
17889 cat confdefs.h >>conftest.$ac_ext
17890 cat >>conftest.$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17892
17893 int
17894 main ()
17895 {
17896
17897 #ifndef __SUNPRO_CC
17898 choke me
17899 #endif
17900
17901 ;
17902 return 0;
17903 }
17904 _ACEOF
17905 rm -f conftest.$ac_objext
17906 if { (ac_try="$ac_compile"
17907 case "(($ac_try" in
17908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17909 *) ac_try_echo=$ac_try;;
17910 esac
17911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17912 (eval "$ac_compile") 2>conftest.er1
17913 ac_status=$?
17914 grep -v '^ *+' conftest.er1 >conftest.err
17915 rm -f conftest.er1
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } && {
17919 test -z "$ac_cxx_werror_flag" ||
17920 test ! -s conftest.err
17921 } && test -s conftest.$ac_objext; then
17922 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17923 else
17924 echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.$ac_ext >&5
17926
17927 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17928
17929 fi
17930
17931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17932
17933
17934 fi
17935 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17936 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17937 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17938 :; SUNCXX=yes
17939 else
17940 :;
17941 fi
17942 ac_ext=c
17943 ac_cpp='$CPP $CPPFLAGS'
17944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17947
17948
17949
17950 ;;
17951 esac
17952 fi
17953
17954
17955
17956 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17957 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17958 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17959 { (exit 1); exit 1; }; }
17960 fi
17961
17962 if test "x$SUNCXX" != xyes; then
17963 if test -n "$ac_tool_prefix"; then
17964 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17965 set dummy ${ac_tool_prefix}ar; ac_word=$2
17966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17968 if test "${ac_cv_prog_AR+set}" = set; then
17969 echo $ECHO_N "(cached) $ECHO_C" >&6
17970 else
17971 if test -n "$AR"; then
17972 ac_cv_prog_AR="$AR" # Let the user override the test.
17973 else
17974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17975 for as_dir in $PATH
17976 do
17977 IFS=$as_save_IFS
17978 test -z "$as_dir" && as_dir=.
17979 for ac_exec_ext in '' $ac_executable_extensions; do
17980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17981 ac_cv_prog_AR="${ac_tool_prefix}ar"
17982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17983 break 2
17984 fi
17985 done
17986 done
17987 IFS=$as_save_IFS
17988
17989 fi
17990 fi
17991 AR=$ac_cv_prog_AR
17992 if test -n "$AR"; then
17993 { echo "$as_me:$LINENO: result: $AR" >&5
17994 echo "${ECHO_T}$AR" >&6; }
17995 else
17996 { echo "$as_me:$LINENO: result: no" >&5
17997 echo "${ECHO_T}no" >&6; }
17998 fi
17999
18000
18001 fi
18002 if test -z "$ac_cv_prog_AR"; then
18003 ac_ct_AR=$AR
18004 # Extract the first word of "ar", so it can be a program name with args.
18005 set dummy ar; ac_word=$2
18006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18008 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18009 echo $ECHO_N "(cached) $ECHO_C" >&6
18010 else
18011 if test -n "$ac_ct_AR"; then
18012 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18013 else
18014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18015 for as_dir in $PATH
18016 do
18017 IFS=$as_save_IFS
18018 test -z "$as_dir" && as_dir=.
18019 for ac_exec_ext in '' $ac_executable_extensions; do
18020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18021 ac_cv_prog_ac_ct_AR="ar"
18022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18023 break 2
18024 fi
18025 done
18026 done
18027 IFS=$as_save_IFS
18028
18029 fi
18030 fi
18031 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18032 if test -n "$ac_ct_AR"; then
18033 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18034 echo "${ECHO_T}$ac_ct_AR" >&6; }
18035 else
18036 { echo "$as_me:$LINENO: result: no" >&5
18037 echo "${ECHO_T}no" >&6; }
18038 fi
18039
18040 if test "x$ac_ct_AR" = x; then
18041 AR=""
18042 else
18043 case $cross_compiling:$ac_tool_warned in
18044 yes:)
18045 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18046 whose name does not start with the host triplet. If you think this
18047 configuration is useful to you, please write to autoconf@gnu.org." >&5
18048 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18049 whose name does not start with the host triplet. If you think this
18050 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18051 ac_tool_warned=yes ;;
18052 esac
18053 AR=$ac_ct_AR
18054 fi
18055 else
18056 AR="$ac_cv_prog_AR"
18057 fi
18058
18059 if test "x$AR" = "x" ; then
18060 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18061 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18062 { (exit 1); exit 1; }; }
18063 fi
18064 fi
18065
18066 retest_macosx_linking=no
18067
18068 #if test "$wxUSE_MAC" = 1; then
18069 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18070 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18071 # Implicitly turn on the new --with-macosx-sdk using the default
18072 # SDK which provides the behavior this option has always had.
18073 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18074 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18075 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18076 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18077 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18078 wxUSE_MACOSX_SDK=yes
18079 fi
18080 else
18081 # Complain to user if he specified an argument to --enable-universal_binary
18082 # and also 1) specified --with-macosx-sdk using the default (yes) or
18083 # 2) specified --with-macosx-sdk using a path or 3) specified
18084 # --without-macosx-sdk (no).
18085 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18086 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18087 See \`config.log' for more details." >&5
18088 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18089 See \`config.log' for more details." >&2;}
18090 { (exit 1); exit 1; }; }
18091 else
18092 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18093 # special-case the empty string because the below test simply
18094 # converts "no" to the empty string anyway.
18095 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18096 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18097 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18098 fi
18099 fi
18100 OSX_UNIV_OPTS="-arch ppc -arch i386"
18101 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18102 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18103 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18104 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18105 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18106 retest_macosx_linking=yes
18107
18108 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18109 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18110 bk_use_pch=no
18111 fi
18112 #fi
18113
18114 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18115 wxUSE_MACOSX_SDK=
18116 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18117 # TODO: Search for most recent SDK and use it.
18118 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18119 fi
18120
18121
18122 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18123 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18124 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18125 if ! test -d "$wxUSE_MACOSX_SDK"; then
18126 { { echo "$as_me:$LINENO: error: not found
18127 See \`config.log' for more details." >&5
18128 echo "$as_me: error: not found
18129 See \`config.log' for more details." >&2;}
18130 { (exit 1); exit 1; }; }
18131 else
18132 { echo "$as_me:$LINENO: result: exists" >&5
18133 echo "${ECHO_T}exists" >&6; }
18134 fi
18135 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18136 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18137 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18138 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18139 retest_macosx_linking=yes
18140 fi
18141
18142 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18143 wxUSE_MACOSX_VERSION_MIN=
18144 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18145 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18146 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18147 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18148
18149 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/'`
18150
18151 # If that failed, try again with the new key
18152 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18153
18154 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/'`
18155
18156 fi
18157
18158 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18159 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18160 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18161 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18162 else
18163 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18164 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18165 wxUSE_MACOSX_VERSION_MIN=
18166 fi
18167 else
18168 wxUSE_MACOSX_VERSION_MIN=
18169 fi
18170 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18171 if test "$wxUSE_MAC" = 1; then
18172 # otherwise configure stops on leopard for universal_binary
18173 wxUSE_MACOSX_VERSION_MIN=10.4
18174 fi
18175 fi
18176
18177 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18178 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18179 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18180 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18181 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18182 retest_macosx_linking=yes
18183 fi
18184
18185 if test "x$retest_macosx_linking" = "xyes"; then
18186 ac_ext=c
18187 ac_cpp='$CPP $CPPFLAGS'
18188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18191
18192 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18193 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18194 cat >conftest.$ac_ext <<_ACEOF
18195 /* confdefs.h. */
18196 _ACEOF
18197 cat confdefs.h >>conftest.$ac_ext
18198 cat >>conftest.$ac_ext <<_ACEOF
18199 /* end confdefs.h. */
18200
18201 int
18202 main ()
18203 {
18204
18205 ;
18206 return 0;
18207 }
18208 _ACEOF
18209 rm -f conftest.$ac_objext conftest$ac_exeext
18210 if { (ac_try="$ac_link"
18211 case "(($ac_try" in
18212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18213 *) ac_try_echo=$ac_try;;
18214 esac
18215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18216 (eval "$ac_link") 2>conftest.er1
18217 ac_status=$?
18218 grep -v '^ *+' conftest.er1 >conftest.err
18219 rm -f conftest.er1
18220 cat conftest.err >&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); } && {
18223 test -z "$ac_c_werror_flag" ||
18224 test ! -s conftest.err
18225 } && test -s conftest$ac_exeext &&
18226 $as_test_x conftest$ac_exeext; then
18227 { echo "$as_me:$LINENO: result: yes" >&5
18228 echo "${ECHO_T}yes" >&6; }
18229 else
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.$ac_ext >&5
18232
18233 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18234 See \`config.log' for more details." >&5
18235 echo "$as_me: error: no. Try a different SDK
18236 See \`config.log' for more details." >&2;}
18237 { (exit 1); exit 1; }; }; exit 1
18238 fi
18239
18240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18241 conftest$ac_exeext conftest.$ac_ext
18242 ac_ext=c
18243 ac_cpp='$CPP $CPPFLAGS'
18244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18247
18248
18249 ac_ext=cpp
18250 ac_cpp='$CXXCPP $CPPFLAGS'
18251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18254
18255 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18256 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18257 cat >conftest.$ac_ext <<_ACEOF
18258 /* confdefs.h. */
18259 _ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18263
18264 int
18265 main ()
18266 {
18267
18268 ;
18269 return 0;
18270 }
18271 _ACEOF
18272 rm -f conftest.$ac_objext conftest$ac_exeext
18273 if { (ac_try="$ac_link"
18274 case "(($ac_try" in
18275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18276 *) ac_try_echo=$ac_try;;
18277 esac
18278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18279 (eval "$ac_link") 2>conftest.er1
18280 ac_status=$?
18281 grep -v '^ *+' conftest.er1 >conftest.err
18282 rm -f conftest.er1
18283 cat conftest.err >&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } && {
18286 test -z "$ac_cxx_werror_flag" ||
18287 test ! -s conftest.err
18288 } && test -s conftest$ac_exeext &&
18289 $as_test_x conftest$ac_exeext; then
18290 { echo "$as_me:$LINENO: result: yes" >&5
18291 echo "${ECHO_T}yes" >&6; }
18292 else
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.$ac_ext >&5
18295
18296 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18297 See \`config.log' for more details." >&5
18298 echo "$as_me: error: no. Try a different SDK
18299 See \`config.log' for more details." >&2;}
18300 { (exit 1); exit 1; }; }; exit 1
18301 fi
18302
18303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18304 conftest$ac_exeext conftest.$ac_ext
18305 ac_ext=c
18306 ac_cpp='$CPP $CPPFLAGS'
18307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18310
18311 fi
18312
18313
18314 case "${host}" in
18315
18316 *-*-darwin* )
18317 INSTALL_PROGRAM="cp -fp"
18318 INSTALL_DATA="cp -fp"
18319 ;;
18320 *)
18321 ;;
18322 esac
18323
18324
18325 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18326 CXXFLAGS="-qunique $CXXFLAGS"
18327 fi
18328
18329 case "${host}" in
18330 powerpc-*-darwin* )
18331 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18332 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18333 cat >conftest.$ac_ext <<_ACEOF
18334 /* confdefs.h. */
18335 _ACEOF
18336 cat confdefs.h >>conftest.$ac_ext
18337 cat >>conftest.$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339
18340 int
18341 main ()
18342 {
18343 #ifndef __POWERPC__
18344 choke me for lack of PowerPC
18345 #endif
18346
18347 ;
18348 return 0;
18349 }
18350 _ACEOF
18351 rm -f conftest.$ac_objext
18352 if { (ac_try="$ac_compile"
18353 case "(($ac_try" in
18354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18355 *) ac_try_echo=$ac_try;;
18356 esac
18357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18358 (eval "$ac_compile") 2>conftest.er1
18359 ac_status=$?
18360 grep -v '^ *+' conftest.er1 >conftest.err
18361 rm -f conftest.er1
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } && {
18365 test -z "$ac_c_werror_flag" ||
18366 test ! -s conftest.err
18367 } && test -s conftest.$ac_objext; then
18368 { echo "$as_me:$LINENO: result: yes" >&5
18369 echo "${ECHO_T}yes" >&6; }
18370 else
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.$ac_ext >&5
18373
18374 { echo "$as_me:$LINENO: result: no" >&5
18375 echo "${ECHO_T}no" >&6; }
18376 cat >>confdefs.h <<\_ACEOF
18377 #define __POWERPC__ 1
18378 _ACEOF
18379
18380
18381 fi
18382
18383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18384 ;;
18385 esac
18386
18387 case "${host}" in
18388 *-*-darwin* )
18389 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18390 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18391 cat >conftest.$ac_ext <<_ACEOF
18392 /* confdefs.h. */
18393 _ACEOF
18394 cat confdefs.h >>conftest.$ac_ext
18395 cat >>conftest.$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 #include <CoreFoundation/CFBase.h>
18398
18399 int
18400 main ()
18401 {
18402
18403 ;
18404 return 0;
18405 }
18406 _ACEOF
18407 rm -f conftest.$ac_objext
18408 if { (ac_try="$ac_compile"
18409 case "(($ac_try" in
18410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18411 *) ac_try_echo=$ac_try;;
18412 esac
18413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_compile") 2>conftest.er1
18415 ac_status=$?
18416 grep -v '^ *+' conftest.er1 >conftest.err
18417 rm -f conftest.er1
18418 cat conftest.err >&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); } && {
18421 test -z "$ac_c_werror_flag" ||
18422 test ! -s conftest.err
18423 } && test -s conftest.$ac_objext; then
18424 { echo "$as_me:$LINENO: result: yes" >&5
18425 echo "${ECHO_T}yes" >&6; }
18426 else
18427 echo "$as_me: failed program was:" >&5
18428 sed 's/^/| /' conftest.$ac_ext >&5
18429
18430 { echo "$as_me:$LINENO: result: no" >&5
18431 echo "${ECHO_T}no" >&6; }
18432 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18433 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18434 cat >conftest.$ac_ext <<_ACEOF
18435 /* confdefs.h. */
18436 _ACEOF
18437 cat confdefs.h >>conftest.$ac_ext
18438 cat >>conftest.$ac_ext <<_ACEOF
18439 /* end confdefs.h. */
18440 #define __CF_USE_FRAMEWORK_INCLUDES__
18441 #include <CoreFoundation/CFBase.h>
18442
18443 int
18444 main ()
18445 {
18446
18447 ;
18448 return 0;
18449 }
18450 _ACEOF
18451 rm -f conftest.$ac_objext
18452 if { (ac_try="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18456 esac
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18459 ac_status=$?
18460 grep -v '^ *+' conftest.er1 >conftest.err
18461 rm -f conftest.er1
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.$ac_objext; then
18468 { echo "$as_me:$LINENO: result: yes" >&5
18469 echo "${ECHO_T}yes" >&6; }
18470 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18471 else
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18474
18475 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18476 See \`config.log' for more details." >&5
18477 echo "$as_me: error: no. CoreFoundation not available.
18478 See \`config.log' for more details." >&2;}
18479 { (exit 1); exit 1; }; }
18480
18481 fi
18482
18483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18484
18485
18486 fi
18487
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 ;;
18490 esac
18491
18492 wants_win32=0
18493 doesnt_want_win32=0
18494 case "${host}" in
18495 *-*-cygwin*)
18496 if test "$wxUSE_MSW" = 1 ; then
18497 wants_win32=1
18498 else
18499 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18500 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18501 if test "${wx_cv_nocygwin+set}" = set; then
18502 echo $ECHO_N "(cached) $ECHO_C" >&6
18503 else
18504
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511
18512 int
18513 main ()
18514 {
18515
18516 #ifdef __MINGW32__
18517 choke me
18518 #endif
18519
18520 ;
18521 return 0;
18522 }
18523 _ACEOF
18524 rm -f conftest.$ac_objext
18525 if { (ac_try="$ac_compile"
18526 case "(($ac_try" in
18527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18528 *) ac_try_echo=$ac_try;;
18529 esac
18530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18531 (eval "$ac_compile") 2>conftest.er1
18532 ac_status=$?
18533 grep -v '^ *+' conftest.er1 >conftest.err
18534 rm -f conftest.er1
18535 cat conftest.err >&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); } && {
18538 test -z "$ac_c_werror_flag" ||
18539 test ! -s conftest.err
18540 } && test -s conftest.$ac_objext; then
18541 wx_cv_nocygwin=no
18542 else
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18545
18546 wx_cv_nocygwin=yes
18547
18548 fi
18549
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551
18552
18553 fi
18554 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18555 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18556
18557 if test "$wx_cv_nocygwin" = "yes"; then
18558 wants_win32=1
18559 else
18560 doesnt_want_win32=1
18561 fi
18562 fi
18563 if test "$wants_win32" = 1 ; then
18564 BAKEFILE_FORCE_PLATFORM=win32
18565 fi
18566 ;;
18567 *-*-mingw*)
18568 wants_win32=1
18569 ;;
18570 esac
18571
18572 if test "$wxUSE_WINE" = "yes"; then
18573 wants_win32=1
18574 LDFLAGS_GUI="-mwindows"
18575 fi
18576
18577 if test "$wants_win32" = 1 ; then
18578 USE_UNIX=0
18579 USE_WIN32=1
18580 cat >>confdefs.h <<\_ACEOF
18581 #define __WIN32__ 1
18582 _ACEOF
18583
18584 cat >>confdefs.h <<\_ACEOF
18585 #define __WIN95__ 1
18586 _ACEOF
18587
18588 cat >>confdefs.h <<\_ACEOF
18589 #define __WINDOWS__ 1
18590 _ACEOF
18591
18592 cat >>confdefs.h <<\_ACEOF
18593 #define __GNUWIN32__ 1
18594 _ACEOF
18595
18596 cat >>confdefs.h <<\_ACEOF
18597 #define STRICT 1
18598 _ACEOF
18599
18600 fi
18601 if test "$doesnt_want_win32" = 1 ; then
18602 USE_UNIX=1
18603 USE_WIN32=0
18604 fi
18605
18606 if test "$USE_UNIX" = 1 ; then
18607 wxUSE_UNIX=yes
18608 cat >>confdefs.h <<\_ACEOF
18609 #define __UNIX__ 1
18610 _ACEOF
18611
18612 fi
18613
18614 case "${host}" in
18615 *-pc-os2_emx | *-pc-os2-emx )
18616 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18617 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18618 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18619 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18620 echo $ECHO_N "(cached) $ECHO_C" >&6
18621 else
18622 ac_check_lib_save_LIBS=$LIBS
18623 LIBS="-lcExt $LIBS"
18624 cat >conftest.$ac_ext <<_ACEOF
18625 /* confdefs.h. */
18626 _ACEOF
18627 cat confdefs.h >>conftest.$ac_ext
18628 cat >>conftest.$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18630
18631 /* Override any GCC internal prototype to avoid an error.
18632 Use char because int might match the return type of a GCC
18633 builtin and then its argument prototype would still apply. */
18634 #ifdef __cplusplus
18635 extern "C"
18636 #endif
18637 char drand48 ();
18638 int
18639 main ()
18640 {
18641 return drand48 ();
18642 ;
18643 return 0;
18644 }
18645 _ACEOF
18646 rm -f conftest.$ac_objext conftest$ac_exeext
18647 if { (ac_try="$ac_link"
18648 case "(($ac_try" in
18649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18650 *) ac_try_echo=$ac_try;;
18651 esac
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_link") 2>conftest.er1
18654 ac_status=$?
18655 grep -v '^ *+' conftest.er1 >conftest.err
18656 rm -f conftest.er1
18657 cat conftest.err >&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } && {
18660 test -z "$ac_c_werror_flag" ||
18661 test ! -s conftest.err
18662 } && test -s conftest$ac_exeext &&
18663 $as_test_x conftest$ac_exeext; then
18664 ac_cv_lib_cExt_drand48=yes
18665 else
18666 echo "$as_me: failed program was:" >&5
18667 sed 's/^/| /' conftest.$ac_ext >&5
18668
18669 ac_cv_lib_cExt_drand48=no
18670 fi
18671
18672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18673 conftest$ac_exeext conftest.$ac_ext
18674 LIBS=$ac_check_lib_save_LIBS
18675 fi
18676 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18677 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18678 if test $ac_cv_lib_cExt_drand48 = yes; then
18679 LIBS="$LIBS -lcExt"
18680 fi
18681
18682 else
18683 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18684 fi
18685 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18686 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18687 if test "${wx_cv_gccversion+set}" = set; then
18688 echo $ECHO_N "(cached) $ECHO_C" >&6
18689 else
18690
18691 if test "$cross_compiling" = yes; then
18692 wx_cv_gccversion="EMX2"
18693
18694 else
18695 cat >conftest.$ac_ext <<_ACEOF
18696 /* confdefs.h. */
18697 _ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18701
18702 #include <stdio.h>
18703
18704 int main()
18705 {
18706 FILE *f=fopen("conftestval", "w");
18707 if (!f) exit(1);
18708 fprintf(f,
18709 #if (__GNUC__ < 3)
18710 "EMX2"
18711 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18712 "EMX3"
18713 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18714 "Innotek5"
18715 #else
18716 "Innotek6"
18717 #endif
18718 );
18719 exit(0);
18720 }
18721
18722 _ACEOF
18723 rm -f conftest$ac_exeext
18724 if { (ac_try="$ac_link"
18725 case "(($ac_try" in
18726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18727 *) ac_try_echo=$ac_try;;
18728 esac
18729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18730 (eval "$ac_link") 2>&5
18731 ac_status=$?
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18734 { (case "(($ac_try" in
18735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18737 esac
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_try") 2>&5
18740 ac_status=$?
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; }; then
18743 wx_cv_gccversion=`cat conftestval`
18744 else
18745 echo "$as_me: program exited with status $ac_status" >&5
18746 echo "$as_me: failed program was:" >&5
18747 sed 's/^/| /' conftest.$ac_ext >&5
18748
18749 ( exit $ac_status )
18750 wx_cv_gccversion="EMX2"
18751 fi
18752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18753 fi
18754
18755
18756
18757 fi
18758 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18759 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18760 if test "$wx_cv_gccversion" = "EMX2"; then
18761 LIBS="$LIBS -lstdcpp"
18762 LDFLAGS="$LDFLAGS -Zsysv-signals"
18763 else
18764 if test "$wx_cv_gccversion" = "EMX3"; then
18765 LIBS="$LIBS -lstdcxx -lgcc"
18766 LDFLAGS="$LDFLAGS -Zsysv-signals"
18767 else
18768 LIBS="$LIBS -lstdc++"
18769 fi
18770 fi
18771 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18772 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18773 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18774 wxUSE_OMF=yes
18775 enable_omf=yes
18776 fi
18777 ;;
18778 *)
18779
18780 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18781 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18782 if test "${ac_cv_string_strcasecmp+set}" = set; then
18783 echo $ECHO_N "(cached) $ECHO_C" >&6
18784 else
18785
18786 cat >conftest.$ac_ext <<_ACEOF
18787 /* confdefs.h. */
18788 _ACEOF
18789 cat confdefs.h >>conftest.$ac_ext
18790 cat >>conftest.$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792
18793 #include <string.h>
18794
18795 int
18796 main ()
18797 {
18798
18799 strcasecmp("foo", "bar");
18800
18801 ;
18802 return 0;
18803 }
18804 _ACEOF
18805 rm -f conftest.$ac_objext conftest$ac_exeext
18806 if { (ac_try="$ac_link"
18807 case "(($ac_try" in
18808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18809 *) ac_try_echo=$ac_try;;
18810 esac
18811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18812 (eval "$ac_link") 2>conftest.er1
18813 ac_status=$?
18814 grep -v '^ *+' conftest.er1 >conftest.err
18815 rm -f conftest.er1
18816 cat conftest.err >&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); } && {
18819 test -z "$ac_c_werror_flag" ||
18820 test ! -s conftest.err
18821 } && test -s conftest$ac_exeext &&
18822 $as_test_x conftest$ac_exeext; then
18823 ac_cv_string_strcasecmp=yes
18824 else
18825 echo "$as_me: failed program was:" >&5
18826 sed 's/^/| /' conftest.$ac_ext >&5
18827
18828 ac_cv_string_strcasecmp=no
18829
18830 fi
18831
18832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18833 conftest$ac_exeext conftest.$ac_ext
18834
18835 fi
18836 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18837 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18838
18839 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18840 cat >>confdefs.h <<\_ACEOF
18841 #define HAVE_STRCASECMP_IN_STRING_H 1
18842 _ACEOF
18843
18844 else
18845 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18846 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18847 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18848 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 else
18850
18851 cat >conftest.$ac_ext <<_ACEOF
18852 /* confdefs.h. */
18853 _ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857
18858 #include <strings.h>
18859
18860 int
18861 main ()
18862 {
18863
18864 strcasecmp("foo", "bar");
18865
18866 ;
18867 return 0;
18868 }
18869 _ACEOF
18870 rm -f conftest.$ac_objext conftest$ac_exeext
18871 if { (ac_try="$ac_link"
18872 case "(($ac_try" in
18873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18874 *) ac_try_echo=$ac_try;;
18875 esac
18876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18877 (eval "$ac_link") 2>conftest.er1
18878 ac_status=$?
18879 grep -v '^ *+' conftest.er1 >conftest.err
18880 rm -f conftest.er1
18881 cat conftest.err >&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); } && {
18884 test -z "$ac_c_werror_flag" ||
18885 test ! -s conftest.err
18886 } && test -s conftest$ac_exeext &&
18887 $as_test_x conftest$ac_exeext; then
18888 ac_cv_strings_strcasecmp=yes
18889 else
18890 echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.$ac_ext >&5
18892
18893 ac_cv_strings_strcasecmp=no
18894
18895 fi
18896
18897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18898 conftest$ac_exeext conftest.$ac_ext
18899
18900 fi
18901 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18902 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18903
18904 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18905 cat >>confdefs.h <<\_ACEOF
18906 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18907 _ACEOF
18908
18909 else
18910 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18911 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18912 { (exit 1); exit 1; }; }
18913 fi
18914 fi
18915
18916 ;;
18917 esac
18918
18919
18920 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18921 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18922 if test "${ac_cv_header_stdc+set}" = set; then
18923 echo $ECHO_N "(cached) $ECHO_C" >&6
18924 else
18925 cat >conftest.$ac_ext <<_ACEOF
18926 /* confdefs.h. */
18927 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 #include <stdlib.h>
18932 #include <stdarg.h>
18933 #include <string.h>
18934 #include <float.h>
18935
18936 int
18937 main ()
18938 {
18939
18940 ;
18941 return 0;
18942 }
18943 _ACEOF
18944 rm -f conftest.$ac_objext
18945 if { (ac_try="$ac_compile"
18946 case "(($ac_try" in
18947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18948 *) ac_try_echo=$ac_try;;
18949 esac
18950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18951 (eval "$ac_compile") 2>conftest.er1
18952 ac_status=$?
18953 grep -v '^ *+' conftest.er1 >conftest.err
18954 rm -f conftest.er1
18955 cat conftest.err >&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); } && {
18958 test -z "$ac_c_werror_flag" ||
18959 test ! -s conftest.err
18960 } && test -s conftest.$ac_objext; then
18961 ac_cv_header_stdc=yes
18962 else
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.$ac_ext >&5
18965
18966 ac_cv_header_stdc=no
18967 fi
18968
18969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18970
18971 if test $ac_cv_header_stdc = yes; then
18972 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18973 cat >conftest.$ac_ext <<_ACEOF
18974 /* confdefs.h. */
18975 _ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 #include <string.h>
18980
18981 _ACEOF
18982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18983 $EGREP "memchr" >/dev/null 2>&1; then
18984 :
18985 else
18986 ac_cv_header_stdc=no
18987 fi
18988 rm -f conftest*
18989
18990 fi
18991
18992 if test $ac_cv_header_stdc = yes; then
18993 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18994 cat >conftest.$ac_ext <<_ACEOF
18995 /* confdefs.h. */
18996 _ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19000 #include <stdlib.h>
19001
19002 _ACEOF
19003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19004 $EGREP "free" >/dev/null 2>&1; then
19005 :
19006 else
19007 ac_cv_header_stdc=no
19008 fi
19009 rm -f conftest*
19010
19011 fi
19012
19013 if test $ac_cv_header_stdc = yes; then
19014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19015 if test "$cross_compiling" = yes; then
19016 :
19017 else
19018 cat >conftest.$ac_ext <<_ACEOF
19019 /* confdefs.h. */
19020 _ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 #include <ctype.h>
19025 #include <stdlib.h>
19026 #if ((' ' & 0x0FF) == 0x020)
19027 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19028 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19029 #else
19030 # define ISLOWER(c) \
19031 (('a' <= (c) && (c) <= 'i') \
19032 || ('j' <= (c) && (c) <= 'r') \
19033 || ('s' <= (c) && (c) <= 'z'))
19034 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19035 #endif
19036
19037 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19038 int
19039 main ()
19040 {
19041 int i;
19042 for (i = 0; i < 256; i++)
19043 if (XOR (islower (i), ISLOWER (i))
19044 || toupper (i) != TOUPPER (i))
19045 return 2;
19046 return 0;
19047 }
19048 _ACEOF
19049 rm -f conftest$ac_exeext
19050 if { (ac_try="$ac_link"
19051 case "(($ac_try" in
19052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19053 *) ac_try_echo=$ac_try;;
19054 esac
19055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19056 (eval "$ac_link") 2>&5
19057 ac_status=$?
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19060 { (case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19063 esac
19064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_try") 2>&5
19066 ac_status=$?
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); }; }; then
19069 :
19070 else
19071 echo "$as_me: program exited with status $ac_status" >&5
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19074
19075 ( exit $ac_status )
19076 ac_cv_header_stdc=no
19077 fi
19078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19079 fi
19080
19081
19082 fi
19083 fi
19084 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19085 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19086 if test $ac_cv_header_stdc = yes; then
19087
19088 cat >>confdefs.h <<\_ACEOF
19089 #define STDC_HEADERS 1
19090 _ACEOF
19091
19092 fi
19093
19094 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19105 inttypes.h stdint.h unistd.h
19106 do
19107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19108 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19111 echo $ECHO_N "(cached) $ECHO_C" >&6
19112 else
19113 cat >conftest.$ac_ext <<_ACEOF
19114 /* confdefs.h. */
19115 _ACEOF
19116 cat confdefs.h >>conftest.$ac_ext
19117 cat >>conftest.$ac_ext <<_ACEOF
19118 /* end confdefs.h. */
19119 $ac_includes_default
19120
19121 #include <$ac_header>
19122 _ACEOF
19123 rm -f conftest.$ac_objext
19124 if { (ac_try="$ac_compile"
19125 case "(($ac_try" in
19126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19127 *) ac_try_echo=$ac_try;;
19128 esac
19129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19130 (eval "$ac_compile") 2>conftest.er1
19131 ac_status=$?
19132 grep -v '^ *+' conftest.er1 >conftest.err
19133 rm -f conftest.er1
19134 cat conftest.err >&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); } && {
19137 test -z "$ac_c_werror_flag" ||
19138 test ! -s conftest.err
19139 } && test -s conftest.$ac_objext; then
19140 eval "$as_ac_Header=yes"
19141 else
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.$ac_ext >&5
19144
19145 eval "$as_ac_Header=no"
19146 fi
19147
19148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 fi
19150 ac_res=`eval echo '${'$as_ac_Header'}'`
19151 { echo "$as_me:$LINENO: result: $ac_res" >&5
19152 echo "${ECHO_T}$ac_res" >&6; }
19153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19154 cat >>confdefs.h <<_ACEOF
19155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19156 _ACEOF
19157
19158 fi
19159
19160 done
19161
19162
19163
19164
19165 for ac_header in langinfo.h wchar.h
19166 do
19167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19168 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19170 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19171 echo $ECHO_N "(cached) $ECHO_C" >&6
19172 else
19173 cat >conftest.$ac_ext <<_ACEOF
19174 /* confdefs.h. */
19175 _ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19180
19181 #include <$ac_header>
19182 _ACEOF
19183 rm -f conftest.$ac_objext
19184 if { (ac_try="$ac_compile"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19188 esac
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_compile") 2>conftest.er1
19191 ac_status=$?
19192 grep -v '^ *+' conftest.er1 >conftest.err
19193 rm -f conftest.er1
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest.$ac_objext; then
19200 eval "$as_ac_Header=yes"
19201 else
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19204
19205 eval "$as_ac_Header=no"
19206 fi
19207
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19209 fi
19210 ac_res=`eval echo '${'$as_ac_Header'}'`
19211 { echo "$as_me:$LINENO: result: $ac_res" >&5
19212 echo "${ECHO_T}$ac_res" >&6; }
19213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19214 cat >>confdefs.h <<_ACEOF
19215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19216 _ACEOF
19217
19218 fi
19219
19220 done
19221
19222
19223 if test "$ac_cv_header_wchar_h" != "yes"; then
19224
19225 for ac_header in wcstr.h
19226 do
19227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19228 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19231 echo $ECHO_N "(cached) $ECHO_C" >&6
19232 else
19233 cat >conftest.$ac_ext <<_ACEOF
19234 /* confdefs.h. */
19235 _ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 $ac_includes_default
19240
19241 #include <$ac_header>
19242 _ACEOF
19243 rm -f conftest.$ac_objext
19244 if { (ac_try="$ac_compile"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19248 esac
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_compile") 2>conftest.er1
19251 ac_status=$?
19252 grep -v '^ *+' conftest.er1 >conftest.err
19253 rm -f conftest.er1
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_c_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest.$ac_objext; then
19260 eval "$as_ac_Header=yes"
19261 else
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19264
19265 eval "$as_ac_Header=no"
19266 fi
19267
19268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19269 fi
19270 ac_res=`eval echo '${'$as_ac_Header'}'`
19271 { echo "$as_me:$LINENO: result: $ac_res" >&5
19272 echo "${ECHO_T}$ac_res" >&6; }
19273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19274 cat >>confdefs.h <<_ACEOF
19275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19276 _ACEOF
19277
19278 fi
19279
19280 done
19281
19282 fi
19283
19284 case "${host}" in
19285 *-pc-os2_emx | *-pc-os2-emx )
19286 if test $ac_cv_header_langinfo_h = "yes" \
19287 -a \( "$wx_cv_gccversion" = "EMX2" \
19288 -o "$wx_cv_gccversion" = "EMX3" \
19289 -o "$wx_cv_gccversion" = "Innotek5" \); then
19290 LIBS="$LIBS -lintl"
19291 fi
19292 ;;
19293 esac
19294
19295 if test "$USE_UNIX" = 1 ; then
19296
19297 for ac_header in sys/select.h
19298 do
19299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19300 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19303 echo $ECHO_N "(cached) $ECHO_C" >&6
19304 else
19305 cat >conftest.$ac_ext <<_ACEOF
19306 /* confdefs.h. */
19307 _ACEOF
19308 cat confdefs.h >>conftest.$ac_ext
19309 cat >>conftest.$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19311 $ac_includes_default
19312
19313 #include <$ac_header>
19314 _ACEOF
19315 rm -f conftest.$ac_objext
19316 if { (ac_try="$ac_compile"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19320 esac
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_compile") 2>conftest.er1
19323 ac_status=$?
19324 grep -v '^ *+' conftest.er1 >conftest.err
19325 rm -f conftest.er1
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.$ac_objext; then
19332 eval "$as_ac_Header=yes"
19333 else
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19336
19337 eval "$as_ac_Header=no"
19338 fi
19339
19340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19341 fi
19342 ac_res=`eval echo '${'$as_ac_Header'}'`
19343 { echo "$as_me:$LINENO: result: $ac_res" >&5
19344 echo "${ECHO_T}$ac_res" >&6; }
19345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19346 cat >>confdefs.h <<_ACEOF
19347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19348 _ACEOF
19349
19350 fi
19351
19352 done
19353
19354 fi
19355
19356
19357 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19358 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19359 if test "${ac_cv_c_const+set}" = set; then
19360 echo $ECHO_N "(cached) $ECHO_C" >&6
19361 else
19362 cat >conftest.$ac_ext <<_ACEOF
19363 /* confdefs.h. */
19364 _ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368
19369 int
19370 main ()
19371 {
19372 /* FIXME: Include the comments suggested by Paul. */
19373 #ifndef __cplusplus
19374 /* Ultrix mips cc rejects this. */
19375 typedef int charset[2];
19376 const charset cs;
19377 /* SunOS 4.1.1 cc rejects this. */
19378 char const *const *pcpcc;
19379 char **ppc;
19380 /* NEC SVR4.0.2 mips cc rejects this. */
19381 struct point {int x, y;};
19382 static struct point const zero = {0,0};
19383 /* AIX XL C 1.02.0.0 rejects this.
19384 It does not let you subtract one const X* pointer from another in
19385 an arm of an if-expression whose if-part is not a constant
19386 expression */
19387 const char *g = "string";
19388 pcpcc = &g + (g ? g-g : 0);
19389 /* HPUX 7.0 cc rejects these. */
19390 ++pcpcc;
19391 ppc = (char**) pcpcc;
19392 pcpcc = (char const *const *) ppc;
19393 { /* SCO 3.2v4 cc rejects this. */
19394 char *t;
19395 char const *s = 0 ? (char *) 0 : (char const *) 0;
19396
19397 *t++ = 0;
19398 if (s) return 0;
19399 }
19400 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19401 int x[] = {25, 17};
19402 const int *foo = &x[0];
19403 ++foo;
19404 }
19405 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19406 typedef const int *iptr;
19407 iptr p = 0;
19408 ++p;
19409 }
19410 { /* AIX XL C 1.02.0.0 rejects this saying
19411 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19412 struct s { int j; const int *ap[3]; };
19413 struct s *b; b->j = 5;
19414 }
19415 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19416 const int foo = 10;
19417 if (!foo) return 0;
19418 }
19419 return !cs[0] && !zero.x;
19420 #endif
19421
19422 ;
19423 return 0;
19424 }
19425 _ACEOF
19426 rm -f conftest.$ac_objext
19427 if { (ac_try="$ac_compile"
19428 case "(($ac_try" in
19429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19430 *) ac_try_echo=$ac_try;;
19431 esac
19432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19433 (eval "$ac_compile") 2>conftest.er1
19434 ac_status=$?
19435 grep -v '^ *+' conftest.er1 >conftest.err
19436 rm -f conftest.er1
19437 cat conftest.err >&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); } && {
19440 test -z "$ac_c_werror_flag" ||
19441 test ! -s conftest.err
19442 } && test -s conftest.$ac_objext; then
19443 ac_cv_c_const=yes
19444 else
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19447
19448 ac_cv_c_const=no
19449 fi
19450
19451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19452 fi
19453 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19454 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19455 if test $ac_cv_c_const = no; then
19456
19457 cat >>confdefs.h <<\_ACEOF
19458 #define const
19459 _ACEOF
19460
19461 fi
19462
19463 { echo "$as_me:$LINENO: checking for inline" >&5
19464 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19465 if test "${ac_cv_c_inline+set}" = set; then
19466 echo $ECHO_N "(cached) $ECHO_C" >&6
19467 else
19468 ac_cv_c_inline=no
19469 for ac_kw in inline __inline__ __inline; do
19470 cat >conftest.$ac_ext <<_ACEOF
19471 /* confdefs.h. */
19472 _ACEOF
19473 cat confdefs.h >>conftest.$ac_ext
19474 cat >>conftest.$ac_ext <<_ACEOF
19475 /* end confdefs.h. */
19476 #ifndef __cplusplus
19477 typedef int foo_t;
19478 static $ac_kw foo_t static_foo () {return 0; }
19479 $ac_kw foo_t foo () {return 0; }
19480 #endif
19481
19482 _ACEOF
19483 rm -f conftest.$ac_objext
19484 if { (ac_try="$ac_compile"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19488 esac
19489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_compile") 2>conftest.er1
19491 ac_status=$?
19492 grep -v '^ *+' conftest.er1 >conftest.err
19493 rm -f conftest.er1
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } && {
19497 test -z "$ac_c_werror_flag" ||
19498 test ! -s conftest.err
19499 } && test -s conftest.$ac_objext; then
19500 ac_cv_c_inline=$ac_kw
19501 else
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19504
19505
19506 fi
19507
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19509 test "$ac_cv_c_inline" != no && break
19510 done
19511
19512 fi
19513 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19514 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19515
19516
19517 case $ac_cv_c_inline in
19518 inline | yes) ;;
19519 *)
19520 case $ac_cv_c_inline in
19521 no) ac_val=;;
19522 *) ac_val=$ac_cv_c_inline;;
19523 esac
19524 cat >>confdefs.h <<_ACEOF
19525 #ifndef __cplusplus
19526 #define inline $ac_val
19527 #endif
19528 _ACEOF
19529 ;;
19530 esac
19531
19532
19533 { echo "$as_me:$LINENO: checking for short" >&5
19534 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19535 if test "${ac_cv_type_short+set}" = set; then
19536 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 else
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 $ac_includes_default
19545 typedef short ac__type_new_;
19546 int
19547 main ()
19548 {
19549 if ((ac__type_new_ *) 0)
19550 return 0;
19551 if (sizeof (ac__type_new_))
19552 return 0;
19553 ;
19554 return 0;
19555 }
19556 _ACEOF
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19562 esac
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.$ac_objext; then
19574 ac_cv_type_short=yes
19575 else
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19578
19579 ac_cv_type_short=no
19580 fi
19581
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583 fi
19584 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19585 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19586
19587 # The cast to long int works around a bug in the HP C Compiler
19588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19590 # This bug is HP SR number 8606223364.
19591 { echo "$as_me:$LINENO: checking size of short" >&5
19592 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19593 if test "${ac_cv_sizeof_short+set}" = set; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19595 else
19596 if test "$cross_compiling" = yes; then
19597 # Depending upon the size, compute the lo and hi bounds.
19598 cat >conftest.$ac_ext <<_ACEOF
19599 /* confdefs.h. */
19600 _ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 $ac_includes_default
19605 typedef short ac__type_sizeof_;
19606 int
19607 main ()
19608 {
19609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19610 test_array [0] = 0
19611
19612 ;
19613 return 0;
19614 }
19615 _ACEOF
19616 rm -f conftest.$ac_objext
19617 if { (ac_try="$ac_compile"
19618 case "(($ac_try" in
19619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19620 *) ac_try_echo=$ac_try;;
19621 esac
19622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19623 (eval "$ac_compile") 2>conftest.er1
19624 ac_status=$?
19625 grep -v '^ *+' conftest.er1 >conftest.err
19626 rm -f conftest.er1
19627 cat conftest.err >&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } && {
19630 test -z "$ac_c_werror_flag" ||
19631 test ! -s conftest.err
19632 } && test -s conftest.$ac_objext; then
19633 ac_lo=0 ac_mid=0
19634 while :; do
19635 cat >conftest.$ac_ext <<_ACEOF
19636 /* confdefs.h. */
19637 _ACEOF
19638 cat confdefs.h >>conftest.$ac_ext
19639 cat >>conftest.$ac_ext <<_ACEOF
19640 /* end confdefs.h. */
19641 $ac_includes_default
19642 typedef short ac__type_sizeof_;
19643 int
19644 main ()
19645 {
19646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19647 test_array [0] = 0
19648
19649 ;
19650 return 0;
19651 }
19652 _ACEOF
19653 rm -f conftest.$ac_objext
19654 if { (ac_try="$ac_compile"
19655 case "(($ac_try" in
19656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19658 esac
19659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19660 (eval "$ac_compile") 2>conftest.er1
19661 ac_status=$?
19662 grep -v '^ *+' conftest.er1 >conftest.err
19663 rm -f conftest.er1
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } && {
19667 test -z "$ac_c_werror_flag" ||
19668 test ! -s conftest.err
19669 } && test -s conftest.$ac_objext; then
19670 ac_hi=$ac_mid; break
19671 else
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19674
19675 ac_lo=`expr $ac_mid + 1`
19676 if test $ac_lo -le $ac_mid; then
19677 ac_lo= ac_hi=
19678 break
19679 fi
19680 ac_mid=`expr 2 '*' $ac_mid + 1`
19681 fi
19682
19683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19684 done
19685 else
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19688
19689 cat >conftest.$ac_ext <<_ACEOF
19690 /* confdefs.h. */
19691 _ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 $ac_includes_default
19696 typedef short ac__type_sizeof_;
19697 int
19698 main ()
19699 {
19700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19701 test_array [0] = 0
19702
19703 ;
19704 return 0;
19705 }
19706 _ACEOF
19707 rm -f conftest.$ac_objext
19708 if { (ac_try="$ac_compile"
19709 case "(($ac_try" in
19710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19711 *) ac_try_echo=$ac_try;;
19712 esac
19713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19714 (eval "$ac_compile") 2>conftest.er1
19715 ac_status=$?
19716 grep -v '^ *+' conftest.er1 >conftest.err
19717 rm -f conftest.er1
19718 cat conftest.err >&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } && {
19721 test -z "$ac_c_werror_flag" ||
19722 test ! -s conftest.err
19723 } && test -s conftest.$ac_objext; then
19724 ac_hi=-1 ac_mid=-1
19725 while :; do
19726 cat >conftest.$ac_ext <<_ACEOF
19727 /* confdefs.h. */
19728 _ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 $ac_includes_default
19733 typedef short ac__type_sizeof_;
19734 int
19735 main ()
19736 {
19737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19738 test_array [0] = 0
19739
19740 ;
19741 return 0;
19742 }
19743 _ACEOF
19744 rm -f conftest.$ac_objext
19745 if { (ac_try="$ac_compile"
19746 case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19749 esac
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_compile") 2>conftest.er1
19752 ac_status=$?
19753 grep -v '^ *+' conftest.er1 >conftest.err
19754 rm -f conftest.er1
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } && {
19758 test -z "$ac_c_werror_flag" ||
19759 test ! -s conftest.err
19760 } && test -s conftest.$ac_objext; then
19761 ac_lo=$ac_mid; break
19762 else
19763 echo "$as_me: failed program was:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19765
19766 ac_hi=`expr '(' $ac_mid ')' - 1`
19767 if test $ac_mid -le $ac_hi; then
19768 ac_lo= ac_hi=
19769 break
19770 fi
19771 ac_mid=`expr 2 '*' $ac_mid`
19772 fi
19773
19774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19775 done
19776 else
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19779
19780 ac_lo= ac_hi=
19781 fi
19782
19783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19784 fi
19785
19786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19787 # Binary search between lo and hi bounds.
19788 while test "x$ac_lo" != "x$ac_hi"; do
19789 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19790 cat >conftest.$ac_ext <<_ACEOF
19791 /* confdefs.h. */
19792 _ACEOF
19793 cat confdefs.h >>conftest.$ac_ext
19794 cat >>conftest.$ac_ext <<_ACEOF
19795 /* end confdefs.h. */
19796 $ac_includes_default
19797 typedef short ac__type_sizeof_;
19798 int
19799 main ()
19800 {
19801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19802 test_array [0] = 0
19803
19804 ;
19805 return 0;
19806 }
19807 _ACEOF
19808 rm -f conftest.$ac_objext
19809 if { (ac_try="$ac_compile"
19810 case "(($ac_try" in
19811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19812 *) ac_try_echo=$ac_try;;
19813 esac
19814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19815 (eval "$ac_compile") 2>conftest.er1
19816 ac_status=$?
19817 grep -v '^ *+' conftest.er1 >conftest.err
19818 rm -f conftest.er1
19819 cat conftest.err >&5
19820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821 (exit $ac_status); } && {
19822 test -z "$ac_c_werror_flag" ||
19823 test ! -s conftest.err
19824 } && test -s conftest.$ac_objext; then
19825 ac_hi=$ac_mid
19826 else
19827 echo "$as_me: failed program was:" >&5
19828 sed 's/^/| /' conftest.$ac_ext >&5
19829
19830 ac_lo=`expr '(' $ac_mid ')' + 1`
19831 fi
19832
19833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19834 done
19835 case $ac_lo in
19836 ?*) ac_cv_sizeof_short=$ac_lo;;
19837 '') if test "$ac_cv_type_short" = yes; then
19838 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19839 See \`config.log' for more details." >&5
19840 echo "$as_me: error: cannot compute sizeof (short)
19841 See \`config.log' for more details." >&2;}
19842 { (exit 77); exit 77; }; }
19843 else
19844 ac_cv_sizeof_short=0
19845 fi ;;
19846 esac
19847 else
19848 cat >conftest.$ac_ext <<_ACEOF
19849 /* confdefs.h. */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 $ac_includes_default
19855 typedef short ac__type_sizeof_;
19856 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19857 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19858 #include <stdio.h>
19859 #include <stdlib.h>
19860 int
19861 main ()
19862 {
19863
19864 FILE *f = fopen ("conftest.val", "w");
19865 if (! f)
19866 return 1;
19867 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19868 {
19869 long int i = longval ();
19870 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19871 return 1;
19872 fprintf (f, "%ld\n", i);
19873 }
19874 else
19875 {
19876 unsigned long int i = ulongval ();
19877 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19878 return 1;
19879 fprintf (f, "%lu\n", i);
19880 }
19881 return ferror (f) || fclose (f) != 0;
19882
19883 ;
19884 return 0;
19885 }
19886 _ACEOF
19887 rm -f conftest$ac_exeext
19888 if { (ac_try="$ac_link"
19889 case "(($ac_try" in
19890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19891 *) ac_try_echo=$ac_try;;
19892 esac
19893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19894 (eval "$ac_link") 2>&5
19895 ac_status=$?
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19898 { (case "(($ac_try" in
19899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19900 *) ac_try_echo=$ac_try;;
19901 esac
19902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19903 (eval "$ac_try") 2>&5
19904 ac_status=$?
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; }; then
19907 ac_cv_sizeof_short=`cat conftest.val`
19908 else
19909 echo "$as_me: program exited with status $ac_status" >&5
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19912
19913 ( exit $ac_status )
19914 if test "$ac_cv_type_short" = yes; then
19915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19916 See \`config.log' for more details." >&5
19917 echo "$as_me: error: cannot compute sizeof (short)
19918 See \`config.log' for more details." >&2;}
19919 { (exit 77); exit 77; }; }
19920 else
19921 ac_cv_sizeof_short=0
19922 fi
19923 fi
19924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19925 fi
19926 rm -f conftest.val
19927 fi
19928 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19929 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19930
19931
19932
19933 cat >>confdefs.h <<_ACEOF
19934 #define SIZEOF_SHORT $ac_cv_sizeof_short
19935 _ACEOF
19936
19937
19938 { echo "$as_me:$LINENO: checking for void *" >&5
19939 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19940 if test "${ac_cv_type_void_p+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19942 else
19943 cat >conftest.$ac_ext <<_ACEOF
19944 /* confdefs.h. */
19945 _ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 $ac_includes_default
19950 typedef void * ac__type_new_;
19951 int
19952 main ()
19953 {
19954 if ((ac__type_new_ *) 0)
19955 return 0;
19956 if (sizeof (ac__type_new_))
19957 return 0;
19958 ;
19959 return 0;
19960 }
19961 _ACEOF
19962 rm -f conftest.$ac_objext
19963 if { (ac_try="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19966 *) ac_try_echo=$ac_try;;
19967 esac
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19970 ac_status=$?
19971 grep -v '^ *+' conftest.er1 >conftest.err
19972 rm -f conftest.er1
19973 cat conftest.err >&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && {
19976 test -z "$ac_c_werror_flag" ||
19977 test ! -s conftest.err
19978 } && test -s conftest.$ac_objext; then
19979 ac_cv_type_void_p=yes
19980 else
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19983
19984 ac_cv_type_void_p=no
19985 fi
19986
19987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19988 fi
19989 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19990 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19991
19992 # The cast to long int works around a bug in the HP C Compiler
19993 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19994 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19995 # This bug is HP SR number 8606223364.
19996 { echo "$as_me:$LINENO: checking size of void *" >&5
19997 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19998 if test "${ac_cv_sizeof_void_p+set}" = set; then
19999 echo $ECHO_N "(cached) $ECHO_C" >&6
20000 else
20001 if test "$cross_compiling" = yes; then
20002 # Depending upon the size, compute the lo and hi bounds.
20003 cat >conftest.$ac_ext <<_ACEOF
20004 /* confdefs.h. */
20005 _ACEOF
20006 cat confdefs.h >>conftest.$ac_ext
20007 cat >>conftest.$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009 $ac_includes_default
20010 typedef void * ac__type_sizeof_;
20011 int
20012 main ()
20013 {
20014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20015 test_array [0] = 0
20016
20017 ;
20018 return 0;
20019 }
20020 _ACEOF
20021 rm -f conftest.$ac_objext
20022 if { (ac_try="$ac_compile"
20023 case "(($ac_try" in
20024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20025 *) ac_try_echo=$ac_try;;
20026 esac
20027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20028 (eval "$ac_compile") 2>conftest.er1
20029 ac_status=$?
20030 grep -v '^ *+' conftest.er1 >conftest.err
20031 rm -f conftest.er1
20032 cat conftest.err >&5
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); } && {
20035 test -z "$ac_c_werror_flag" ||
20036 test ! -s conftest.err
20037 } && test -s conftest.$ac_objext; then
20038 ac_lo=0 ac_mid=0
20039 while :; do
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 typedef void * ac__type_sizeof_;
20048 int
20049 main ()
20050 {
20051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20052 test_array [0] = 0
20053
20054 ;
20055 return 0;
20056 }
20057 _ACEOF
20058 rm -f conftest.$ac_objext
20059 if { (ac_try="$ac_compile"
20060 case "(($ac_try" in
20061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20062 *) ac_try_echo=$ac_try;;
20063 esac
20064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20065 (eval "$ac_compile") 2>conftest.er1
20066 ac_status=$?
20067 grep -v '^ *+' conftest.er1 >conftest.err
20068 rm -f conftest.er1
20069 cat conftest.err >&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } && {
20072 test -z "$ac_c_werror_flag" ||
20073 test ! -s conftest.err
20074 } && test -s conftest.$ac_objext; then
20075 ac_hi=$ac_mid; break
20076 else
20077 echo "$as_me: failed program was:" >&5
20078 sed 's/^/| /' conftest.$ac_ext >&5
20079
20080 ac_lo=`expr $ac_mid + 1`
20081 if test $ac_lo -le $ac_mid; then
20082 ac_lo= ac_hi=
20083 break
20084 fi
20085 ac_mid=`expr 2 '*' $ac_mid + 1`
20086 fi
20087
20088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20089 done
20090 else
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5
20093
20094 cat >conftest.$ac_ext <<_ACEOF
20095 /* confdefs.h. */
20096 _ACEOF
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 $ac_includes_default
20101 typedef void * ac__type_sizeof_;
20102 int
20103 main ()
20104 {
20105 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20106 test_array [0] = 0
20107
20108 ;
20109 return 0;
20110 }
20111 _ACEOF
20112 rm -f conftest.$ac_objext
20113 if { (ac_try="$ac_compile"
20114 case "(($ac_try" in
20115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20116 *) ac_try_echo=$ac_try;;
20117 esac
20118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20119 (eval "$ac_compile") 2>conftest.er1
20120 ac_status=$?
20121 grep -v '^ *+' conftest.er1 >conftest.err
20122 rm -f conftest.er1
20123 cat conftest.err >&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); } && {
20126 test -z "$ac_c_werror_flag" ||
20127 test ! -s conftest.err
20128 } && test -s conftest.$ac_objext; then
20129 ac_hi=-1 ac_mid=-1
20130 while :; do
20131 cat >conftest.$ac_ext <<_ACEOF
20132 /* confdefs.h. */
20133 _ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 $ac_includes_default
20138 typedef void * ac__type_sizeof_;
20139 int
20140 main ()
20141 {
20142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20143 test_array [0] = 0
20144
20145 ;
20146 return 0;
20147 }
20148 _ACEOF
20149 rm -f conftest.$ac_objext
20150 if { (ac_try="$ac_compile"
20151 case "(($ac_try" in
20152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20154 esac
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_compile") 2>conftest.er1
20157 ac_status=$?
20158 grep -v '^ *+' conftest.er1 >conftest.err
20159 rm -f conftest.er1
20160 cat conftest.err >&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } && {
20163 test -z "$ac_c_werror_flag" ||
20164 test ! -s conftest.err
20165 } && test -s conftest.$ac_objext; then
20166 ac_lo=$ac_mid; break
20167 else
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20170
20171 ac_hi=`expr '(' $ac_mid ')' - 1`
20172 if test $ac_mid -le $ac_hi; then
20173 ac_lo= ac_hi=
20174 break
20175 fi
20176 ac_mid=`expr 2 '*' $ac_mid`
20177 fi
20178
20179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20180 done
20181 else
20182 echo "$as_me: failed program was:" >&5
20183 sed 's/^/| /' conftest.$ac_ext >&5
20184
20185 ac_lo= ac_hi=
20186 fi
20187
20188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20189 fi
20190
20191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20192 # Binary search between lo and hi bounds.
20193 while test "x$ac_lo" != "x$ac_hi"; do
20194 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20195 cat >conftest.$ac_ext <<_ACEOF
20196 /* confdefs.h. */
20197 _ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 $ac_includes_default
20202 typedef void * ac__type_sizeof_;
20203 int
20204 main ()
20205 {
20206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20207 test_array [0] = 0
20208
20209 ;
20210 return 0;
20211 }
20212 _ACEOF
20213 rm -f conftest.$ac_objext
20214 if { (ac_try="$ac_compile"
20215 case "(($ac_try" in
20216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20217 *) ac_try_echo=$ac_try;;
20218 esac
20219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20220 (eval "$ac_compile") 2>conftest.er1
20221 ac_status=$?
20222 grep -v '^ *+' conftest.er1 >conftest.err
20223 rm -f conftest.er1
20224 cat conftest.err >&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); } && {
20227 test -z "$ac_c_werror_flag" ||
20228 test ! -s conftest.err
20229 } && test -s conftest.$ac_objext; then
20230 ac_hi=$ac_mid
20231 else
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20234
20235 ac_lo=`expr '(' $ac_mid ')' + 1`
20236 fi
20237
20238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20239 done
20240 case $ac_lo in
20241 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20242 '') if test "$ac_cv_type_void_p" = yes; then
20243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20244 See \`config.log' for more details." >&5
20245 echo "$as_me: error: cannot compute sizeof (void *)
20246 See \`config.log' for more details." >&2;}
20247 { (exit 77); exit 77; }; }
20248 else
20249 ac_cv_sizeof_void_p=0
20250 fi ;;
20251 esac
20252 else
20253 cat >conftest.$ac_ext <<_ACEOF
20254 /* confdefs.h. */
20255 _ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 $ac_includes_default
20260 typedef void * ac__type_sizeof_;
20261 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20262 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20263 #include <stdio.h>
20264 #include <stdlib.h>
20265 int
20266 main ()
20267 {
20268
20269 FILE *f = fopen ("conftest.val", "w");
20270 if (! f)
20271 return 1;
20272 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20273 {
20274 long int i = longval ();
20275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20276 return 1;
20277 fprintf (f, "%ld\n", i);
20278 }
20279 else
20280 {
20281 unsigned long int i = ulongval ();
20282 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20283 return 1;
20284 fprintf (f, "%lu\n", i);
20285 }
20286 return ferror (f) || fclose (f) != 0;
20287
20288 ;
20289 return 0;
20290 }
20291 _ACEOF
20292 rm -f conftest$ac_exeext
20293 if { (ac_try="$ac_link"
20294 case "(($ac_try" in
20295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20296 *) ac_try_echo=$ac_try;;
20297 esac
20298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20299 (eval "$ac_link") 2>&5
20300 ac_status=$?
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20303 { (case "(($ac_try" in
20304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20305 *) ac_try_echo=$ac_try;;
20306 esac
20307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20308 (eval "$ac_try") 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 ac_cv_sizeof_void_p=`cat conftest.val`
20313 else
20314 echo "$as_me: program exited with status $ac_status" >&5
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 ( exit $ac_status )
20319 if test "$ac_cv_type_void_p" = yes; then
20320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20321 See \`config.log' for more details." >&5
20322 echo "$as_me: error: cannot compute sizeof (void *)
20323 See \`config.log' for more details." >&2;}
20324 { (exit 77); exit 77; }; }
20325 else
20326 ac_cv_sizeof_void_p=0
20327 fi
20328 fi
20329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20330 fi
20331 rm -f conftest.val
20332 fi
20333 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20334 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20335
20336
20337
20338 cat >>confdefs.h <<_ACEOF
20339 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20340 _ACEOF
20341
20342
20343 { echo "$as_me:$LINENO: checking for int" >&5
20344 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20345 if test "${ac_cv_type_int+set}" = set; then
20346 echo $ECHO_N "(cached) $ECHO_C" >&6
20347 else
20348 cat >conftest.$ac_ext <<_ACEOF
20349 /* confdefs.h. */
20350 _ACEOF
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 $ac_includes_default
20355 typedef int ac__type_new_;
20356 int
20357 main ()
20358 {
20359 if ((ac__type_new_ *) 0)
20360 return 0;
20361 if (sizeof (ac__type_new_))
20362 return 0;
20363 ;
20364 return 0;
20365 }
20366 _ACEOF
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20372 esac
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20375 ac_status=$?
20376 grep -v '^ *+' conftest.er1 >conftest.err
20377 rm -f conftest.er1
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && {
20381 test -z "$ac_c_werror_flag" ||
20382 test ! -s conftest.err
20383 } && test -s conftest.$ac_objext; then
20384 ac_cv_type_int=yes
20385 else
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20388
20389 ac_cv_type_int=no
20390 fi
20391
20392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20393 fi
20394 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20395 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20396
20397 # The cast to long int works around a bug in the HP C Compiler
20398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20400 # This bug is HP SR number 8606223364.
20401 { echo "$as_me:$LINENO: checking size of int" >&5
20402 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20403 if test "${ac_cv_sizeof_int+set}" = set; then
20404 echo $ECHO_N "(cached) $ECHO_C" >&6
20405 else
20406 if test "$cross_compiling" = yes; then
20407 # Depending upon the size, compute the lo and hi bounds.
20408 cat >conftest.$ac_ext <<_ACEOF
20409 /* confdefs.h. */
20410 _ACEOF
20411 cat confdefs.h >>conftest.$ac_ext
20412 cat >>conftest.$ac_ext <<_ACEOF
20413 /* end confdefs.h. */
20414 $ac_includes_default
20415 typedef int ac__type_sizeof_;
20416 int
20417 main ()
20418 {
20419 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20420 test_array [0] = 0
20421
20422 ;
20423 return 0;
20424 }
20425 _ACEOF
20426 rm -f conftest.$ac_objext
20427 if { (ac_try="$ac_compile"
20428 case "(($ac_try" in
20429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20430 *) ac_try_echo=$ac_try;;
20431 esac
20432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20433 (eval "$ac_compile") 2>conftest.er1
20434 ac_status=$?
20435 grep -v '^ *+' conftest.er1 >conftest.err
20436 rm -f conftest.er1
20437 cat conftest.err >&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); } && {
20440 test -z "$ac_c_werror_flag" ||
20441 test ! -s conftest.err
20442 } && test -s conftest.$ac_objext; then
20443 ac_lo=0 ac_mid=0
20444 while :; do
20445 cat >conftest.$ac_ext <<_ACEOF
20446 /* confdefs.h. */
20447 _ACEOF
20448 cat confdefs.h >>conftest.$ac_ext
20449 cat >>conftest.$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 $ac_includes_default
20452 typedef int ac__type_sizeof_;
20453 int
20454 main ()
20455 {
20456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20457 test_array [0] = 0
20458
20459 ;
20460 return 0;
20461 }
20462 _ACEOF
20463 rm -f conftest.$ac_objext
20464 if { (ac_try="$ac_compile"
20465 case "(($ac_try" in
20466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20467 *) ac_try_echo=$ac_try;;
20468 esac
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_compile") 2>conftest.er1
20471 ac_status=$?
20472 grep -v '^ *+' conftest.er1 >conftest.err
20473 rm -f conftest.er1
20474 cat conftest.err >&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } && {
20477 test -z "$ac_c_werror_flag" ||
20478 test ! -s conftest.err
20479 } && test -s conftest.$ac_objext; then
20480 ac_hi=$ac_mid; break
20481 else
20482 echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.$ac_ext >&5
20484
20485 ac_lo=`expr $ac_mid + 1`
20486 if test $ac_lo -le $ac_mid; then
20487 ac_lo= ac_hi=
20488 break
20489 fi
20490 ac_mid=`expr 2 '*' $ac_mid + 1`
20491 fi
20492
20493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20494 done
20495 else
20496 echo "$as_me: failed program was:" >&5
20497 sed 's/^/| /' conftest.$ac_ext >&5
20498
20499 cat >conftest.$ac_ext <<_ACEOF
20500 /* confdefs.h. */
20501 _ACEOF
20502 cat confdefs.h >>conftest.$ac_ext
20503 cat >>conftest.$ac_ext <<_ACEOF
20504 /* end confdefs.h. */
20505 $ac_includes_default
20506 typedef int ac__type_sizeof_;
20507 int
20508 main ()
20509 {
20510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20511 test_array [0] = 0
20512
20513 ;
20514 return 0;
20515 }
20516 _ACEOF
20517 rm -f conftest.$ac_objext
20518 if { (ac_try="$ac_compile"
20519 case "(($ac_try" in
20520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20521 *) ac_try_echo=$ac_try;;
20522 esac
20523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20524 (eval "$ac_compile") 2>conftest.er1
20525 ac_status=$?
20526 grep -v '^ *+' conftest.er1 >conftest.err
20527 rm -f conftest.er1
20528 cat conftest.err >&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); } && {
20531 test -z "$ac_c_werror_flag" ||
20532 test ! -s conftest.err
20533 } && test -s conftest.$ac_objext; then
20534 ac_hi=-1 ac_mid=-1
20535 while :; do
20536 cat >conftest.$ac_ext <<_ACEOF
20537 /* confdefs.h. */
20538 _ACEOF
20539 cat confdefs.h >>conftest.$ac_ext
20540 cat >>conftest.$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20542 $ac_includes_default
20543 typedef int ac__type_sizeof_;
20544 int
20545 main ()
20546 {
20547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20548 test_array [0] = 0
20549
20550 ;
20551 return 0;
20552 }
20553 _ACEOF
20554 rm -f conftest.$ac_objext
20555 if { (ac_try="$ac_compile"
20556 case "(($ac_try" in
20557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20558 *) ac_try_echo=$ac_try;;
20559 esac
20560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20561 (eval "$ac_compile") 2>conftest.er1
20562 ac_status=$?
20563 grep -v '^ *+' conftest.er1 >conftest.err
20564 rm -f conftest.er1
20565 cat conftest.err >&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); } && {
20568 test -z "$ac_c_werror_flag" ||
20569 test ! -s conftest.err
20570 } && test -s conftest.$ac_objext; then
20571 ac_lo=$ac_mid; break
20572 else
20573 echo "$as_me: failed program was:" >&5
20574 sed 's/^/| /' conftest.$ac_ext >&5
20575
20576 ac_hi=`expr '(' $ac_mid ')' - 1`
20577 if test $ac_mid -le $ac_hi; then
20578 ac_lo= ac_hi=
20579 break
20580 fi
20581 ac_mid=`expr 2 '*' $ac_mid`
20582 fi
20583
20584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20585 done
20586 else
20587 echo "$as_me: failed program was:" >&5
20588 sed 's/^/| /' conftest.$ac_ext >&5
20589
20590 ac_lo= ac_hi=
20591 fi
20592
20593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20594 fi
20595
20596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20597 # Binary search between lo and hi bounds.
20598 while test "x$ac_lo" != "x$ac_hi"; do
20599 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20600 cat >conftest.$ac_ext <<_ACEOF
20601 /* confdefs.h. */
20602 _ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 $ac_includes_default
20607 typedef int ac__type_sizeof_;
20608 int
20609 main ()
20610 {
20611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20612 test_array [0] = 0
20613
20614 ;
20615 return 0;
20616 }
20617 _ACEOF
20618 rm -f conftest.$ac_objext
20619 if { (ac_try="$ac_compile"
20620 case "(($ac_try" in
20621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20622 *) ac_try_echo=$ac_try;;
20623 esac
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_compile") 2>conftest.er1
20626 ac_status=$?
20627 grep -v '^ *+' conftest.er1 >conftest.err
20628 rm -f conftest.er1
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } && {
20632 test -z "$ac_c_werror_flag" ||
20633 test ! -s conftest.err
20634 } && test -s conftest.$ac_objext; then
20635 ac_hi=$ac_mid
20636 else
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20639
20640 ac_lo=`expr '(' $ac_mid ')' + 1`
20641 fi
20642
20643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20644 done
20645 case $ac_lo in
20646 ?*) ac_cv_sizeof_int=$ac_lo;;
20647 '') if test "$ac_cv_type_int" = yes; then
20648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20649 See \`config.log' for more details." >&5
20650 echo "$as_me: error: cannot compute sizeof (int)
20651 See \`config.log' for more details." >&2;}
20652 { (exit 77); exit 77; }; }
20653 else
20654 ac_cv_sizeof_int=0
20655 fi ;;
20656 esac
20657 else
20658 cat >conftest.$ac_ext <<_ACEOF
20659 /* confdefs.h. */
20660 _ACEOF
20661 cat confdefs.h >>conftest.$ac_ext
20662 cat >>conftest.$ac_ext <<_ACEOF
20663 /* end confdefs.h. */
20664 $ac_includes_default
20665 typedef int ac__type_sizeof_;
20666 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20667 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20668 #include <stdio.h>
20669 #include <stdlib.h>
20670 int
20671 main ()
20672 {
20673
20674 FILE *f = fopen ("conftest.val", "w");
20675 if (! f)
20676 return 1;
20677 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20678 {
20679 long int i = longval ();
20680 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20681 return 1;
20682 fprintf (f, "%ld\n", i);
20683 }
20684 else
20685 {
20686 unsigned long int i = ulongval ();
20687 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20688 return 1;
20689 fprintf (f, "%lu\n", i);
20690 }
20691 return ferror (f) || fclose (f) != 0;
20692
20693 ;
20694 return 0;
20695 }
20696 _ACEOF
20697 rm -f conftest$ac_exeext
20698 if { (ac_try="$ac_link"
20699 case "(($ac_try" in
20700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20701 *) ac_try_echo=$ac_try;;
20702 esac
20703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20704 (eval "$ac_link") 2>&5
20705 ac_status=$?
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20708 { (case "(($ac_try" in
20709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20710 *) ac_try_echo=$ac_try;;
20711 esac
20712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20713 (eval "$ac_try") 2>&5
20714 ac_status=$?
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; }; then
20717 ac_cv_sizeof_int=`cat conftest.val`
20718 else
20719 echo "$as_me: program exited with status $ac_status" >&5
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.$ac_ext >&5
20722
20723 ( exit $ac_status )
20724 if test "$ac_cv_type_int" = yes; then
20725 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20726 See \`config.log' for more details." >&5
20727 echo "$as_me: error: cannot compute sizeof (int)
20728 See \`config.log' for more details." >&2;}
20729 { (exit 77); exit 77; }; }
20730 else
20731 ac_cv_sizeof_int=0
20732 fi
20733 fi
20734 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20735 fi
20736 rm -f conftest.val
20737 fi
20738 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20739 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20740
20741
20742
20743 cat >>confdefs.h <<_ACEOF
20744 #define SIZEOF_INT $ac_cv_sizeof_int
20745 _ACEOF
20746
20747
20748 { echo "$as_me:$LINENO: checking for long" >&5
20749 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20750 if test "${ac_cv_type_long+set}" = set; then
20751 echo $ECHO_N "(cached) $ECHO_C" >&6
20752 else
20753 cat >conftest.$ac_ext <<_ACEOF
20754 /* confdefs.h. */
20755 _ACEOF
20756 cat confdefs.h >>conftest.$ac_ext
20757 cat >>conftest.$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20759 $ac_includes_default
20760 typedef long ac__type_new_;
20761 int
20762 main ()
20763 {
20764 if ((ac__type_new_ *) 0)
20765 return 0;
20766 if (sizeof (ac__type_new_))
20767 return 0;
20768 ;
20769 return 0;
20770 }
20771 _ACEOF
20772 rm -f conftest.$ac_objext
20773 if { (ac_try="$ac_compile"
20774 case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20777 esac
20778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_compile") 2>conftest.er1
20780 ac_status=$?
20781 grep -v '^ *+' conftest.er1 >conftest.err
20782 rm -f conftest.er1
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } && {
20786 test -z "$ac_c_werror_flag" ||
20787 test ! -s conftest.err
20788 } && test -s conftest.$ac_objext; then
20789 ac_cv_type_long=yes
20790 else
20791 echo "$as_me: failed program was:" >&5
20792 sed 's/^/| /' conftest.$ac_ext >&5
20793
20794 ac_cv_type_long=no
20795 fi
20796
20797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20798 fi
20799 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20800 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20801
20802 # The cast to long int works around a bug in the HP C Compiler
20803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20805 # This bug is HP SR number 8606223364.
20806 { echo "$as_me:$LINENO: checking size of long" >&5
20807 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20808 if test "${ac_cv_sizeof_long+set}" = set; then
20809 echo $ECHO_N "(cached) $ECHO_C" >&6
20810 else
20811 if test "$cross_compiling" = yes; then
20812 # Depending upon the size, compute the lo and hi bounds.
20813 cat >conftest.$ac_ext <<_ACEOF
20814 /* confdefs.h. */
20815 _ACEOF
20816 cat confdefs.h >>conftest.$ac_ext
20817 cat >>conftest.$ac_ext <<_ACEOF
20818 /* end confdefs.h. */
20819 $ac_includes_default
20820 typedef long ac__type_sizeof_;
20821 int
20822 main ()
20823 {
20824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20825 test_array [0] = 0
20826
20827 ;
20828 return 0;
20829 }
20830 _ACEOF
20831 rm -f conftest.$ac_objext
20832 if { (ac_try="$ac_compile"
20833 case "(($ac_try" in
20834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20835 *) ac_try_echo=$ac_try;;
20836 esac
20837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20838 (eval "$ac_compile") 2>conftest.er1
20839 ac_status=$?
20840 grep -v '^ *+' conftest.er1 >conftest.err
20841 rm -f conftest.er1
20842 cat conftest.err >&5
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); } && {
20845 test -z "$ac_c_werror_flag" ||
20846 test ! -s conftest.err
20847 } && test -s conftest.$ac_objext; then
20848 ac_lo=0 ac_mid=0
20849 while :; do
20850 cat >conftest.$ac_ext <<_ACEOF
20851 /* confdefs.h. */
20852 _ACEOF
20853 cat confdefs.h >>conftest.$ac_ext
20854 cat >>conftest.$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20856 $ac_includes_default
20857 typedef long ac__type_sizeof_;
20858 int
20859 main ()
20860 {
20861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20862 test_array [0] = 0
20863
20864 ;
20865 return 0;
20866 }
20867 _ACEOF
20868 rm -f conftest.$ac_objext
20869 if { (ac_try="$ac_compile"
20870 case "(($ac_try" in
20871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20873 esac
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_compile") 2>conftest.er1
20876 ac_status=$?
20877 grep -v '^ *+' conftest.er1 >conftest.err
20878 rm -f conftest.er1
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } && {
20882 test -z "$ac_c_werror_flag" ||
20883 test ! -s conftest.err
20884 } && test -s conftest.$ac_objext; then
20885 ac_hi=$ac_mid; break
20886 else
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.$ac_ext >&5
20889
20890 ac_lo=`expr $ac_mid + 1`
20891 if test $ac_lo -le $ac_mid; then
20892 ac_lo= ac_hi=
20893 break
20894 fi
20895 ac_mid=`expr 2 '*' $ac_mid + 1`
20896 fi
20897
20898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20899 done
20900 else
20901 echo "$as_me: failed program was:" >&5
20902 sed 's/^/| /' conftest.$ac_ext >&5
20903
20904 cat >conftest.$ac_ext <<_ACEOF
20905 /* confdefs.h. */
20906 _ACEOF
20907 cat confdefs.h >>conftest.$ac_ext
20908 cat >>conftest.$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20910 $ac_includes_default
20911 typedef long ac__type_sizeof_;
20912 int
20913 main ()
20914 {
20915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20916 test_array [0] = 0
20917
20918 ;
20919 return 0;
20920 }
20921 _ACEOF
20922 rm -f conftest.$ac_objext
20923 if { (ac_try="$ac_compile"
20924 case "(($ac_try" in
20925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20926 *) ac_try_echo=$ac_try;;
20927 esac
20928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20929 (eval "$ac_compile") 2>conftest.er1
20930 ac_status=$?
20931 grep -v '^ *+' conftest.er1 >conftest.err
20932 rm -f conftest.er1
20933 cat conftest.err >&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); } && {
20936 test -z "$ac_c_werror_flag" ||
20937 test ! -s conftest.err
20938 } && test -s conftest.$ac_objext; then
20939 ac_hi=-1 ac_mid=-1
20940 while :; do
20941 cat >conftest.$ac_ext <<_ACEOF
20942 /* confdefs.h. */
20943 _ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947 $ac_includes_default
20948 typedef long ac__type_sizeof_;
20949 int
20950 main ()
20951 {
20952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20953 test_array [0] = 0
20954
20955 ;
20956 return 0;
20957 }
20958 _ACEOF
20959 rm -f conftest.$ac_objext
20960 if { (ac_try="$ac_compile"
20961 case "(($ac_try" in
20962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20963 *) ac_try_echo=$ac_try;;
20964 esac
20965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_compile") 2>conftest.er1
20967 ac_status=$?
20968 grep -v '^ *+' conftest.er1 >conftest.err
20969 rm -f conftest.er1
20970 cat conftest.err >&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } && {
20973 test -z "$ac_c_werror_flag" ||
20974 test ! -s conftest.err
20975 } && test -s conftest.$ac_objext; then
20976 ac_lo=$ac_mid; break
20977 else
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20980
20981 ac_hi=`expr '(' $ac_mid ')' - 1`
20982 if test $ac_mid -le $ac_hi; then
20983 ac_lo= ac_hi=
20984 break
20985 fi
20986 ac_mid=`expr 2 '*' $ac_mid`
20987 fi
20988
20989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20990 done
20991 else
20992 echo "$as_me: failed program was:" >&5
20993 sed 's/^/| /' conftest.$ac_ext >&5
20994
20995 ac_lo= ac_hi=
20996 fi
20997
20998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20999 fi
21000
21001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21002 # Binary search between lo and hi bounds.
21003 while test "x$ac_lo" != "x$ac_hi"; do
21004 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21005 cat >conftest.$ac_ext <<_ACEOF
21006 /* confdefs.h. */
21007 _ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21012 typedef long ac__type_sizeof_;
21013 int
21014 main ()
21015 {
21016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21017 test_array [0] = 0
21018
21019 ;
21020 return 0;
21021 }
21022 _ACEOF
21023 rm -f conftest.$ac_objext
21024 if { (ac_try="$ac_compile"
21025 case "(($ac_try" in
21026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21027 *) ac_try_echo=$ac_try;;
21028 esac
21029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_compile") 2>conftest.er1
21031 ac_status=$?
21032 grep -v '^ *+' conftest.er1 >conftest.err
21033 rm -f conftest.er1
21034 cat conftest.err >&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); } && {
21037 test -z "$ac_c_werror_flag" ||
21038 test ! -s conftest.err
21039 } && test -s conftest.$ac_objext; then
21040 ac_hi=$ac_mid
21041 else
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21044
21045 ac_lo=`expr '(' $ac_mid ')' + 1`
21046 fi
21047
21048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21049 done
21050 case $ac_lo in
21051 ?*) ac_cv_sizeof_long=$ac_lo;;
21052 '') if test "$ac_cv_type_long" = yes; then
21053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21054 See \`config.log' for more details." >&5
21055 echo "$as_me: error: cannot compute sizeof (long)
21056 See \`config.log' for more details." >&2;}
21057 { (exit 77); exit 77; }; }
21058 else
21059 ac_cv_sizeof_long=0
21060 fi ;;
21061 esac
21062 else
21063 cat >conftest.$ac_ext <<_ACEOF
21064 /* confdefs.h. */
21065 _ACEOF
21066 cat confdefs.h >>conftest.$ac_ext
21067 cat >>conftest.$ac_ext <<_ACEOF
21068 /* end confdefs.h. */
21069 $ac_includes_default
21070 typedef long ac__type_sizeof_;
21071 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21072 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21073 #include <stdio.h>
21074 #include <stdlib.h>
21075 int
21076 main ()
21077 {
21078
21079 FILE *f = fopen ("conftest.val", "w");
21080 if (! f)
21081 return 1;
21082 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21083 {
21084 long int i = longval ();
21085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21086 return 1;
21087 fprintf (f, "%ld\n", i);
21088 }
21089 else
21090 {
21091 unsigned long int i = ulongval ();
21092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21093 return 1;
21094 fprintf (f, "%lu\n", i);
21095 }
21096 return ferror (f) || fclose (f) != 0;
21097
21098 ;
21099 return 0;
21100 }
21101 _ACEOF
21102 rm -f conftest$ac_exeext
21103 if { (ac_try="$ac_link"
21104 case "(($ac_try" in
21105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21106 *) ac_try_echo=$ac_try;;
21107 esac
21108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21109 (eval "$ac_link") 2>&5
21110 ac_status=$?
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21113 { (case "(($ac_try" in
21114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21115 *) ac_try_echo=$ac_try;;
21116 esac
21117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21118 (eval "$ac_try") 2>&5
21119 ac_status=$?
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); }; }; then
21122 ac_cv_sizeof_long=`cat conftest.val`
21123 else
21124 echo "$as_me: program exited with status $ac_status" >&5
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21127
21128 ( exit $ac_status )
21129 if test "$ac_cv_type_long" = yes; then
21130 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21131 See \`config.log' for more details." >&5
21132 echo "$as_me: error: cannot compute sizeof (long)
21133 See \`config.log' for more details." >&2;}
21134 { (exit 77); exit 77; }; }
21135 else
21136 ac_cv_sizeof_long=0
21137 fi
21138 fi
21139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21140 fi
21141 rm -f conftest.val
21142 fi
21143 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21144 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21145
21146
21147
21148 cat >>confdefs.h <<_ACEOF
21149 #define SIZEOF_LONG $ac_cv_sizeof_long
21150 _ACEOF
21151
21152
21153 { echo "$as_me:$LINENO: checking for size_t" >&5
21154 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21155 if test "${ac_cv_type_size_t+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 else
21158 cat >conftest.$ac_ext <<_ACEOF
21159 /* confdefs.h. */
21160 _ACEOF
21161 cat confdefs.h >>conftest.$ac_ext
21162 cat >>conftest.$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 $ac_includes_default
21165 typedef size_t ac__type_new_;
21166 int
21167 main ()
21168 {
21169 if ((ac__type_new_ *) 0)
21170 return 0;
21171 if (sizeof (ac__type_new_))
21172 return 0;
21173 ;
21174 return 0;
21175 }
21176 _ACEOF
21177 rm -f conftest.$ac_objext
21178 if { (ac_try="$ac_compile"
21179 case "(($ac_try" in
21180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21181 *) ac_try_echo=$ac_try;;
21182 esac
21183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21184 (eval "$ac_compile") 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } && {
21191 test -z "$ac_c_werror_flag" ||
21192 test ! -s conftest.err
21193 } && test -s conftest.$ac_objext; then
21194 ac_cv_type_size_t=yes
21195 else
21196 echo "$as_me: failed program was:" >&5
21197 sed 's/^/| /' conftest.$ac_ext >&5
21198
21199 ac_cv_type_size_t=no
21200 fi
21201
21202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21203 fi
21204 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21205 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21206
21207 # The cast to long int works around a bug in the HP C Compiler
21208 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21209 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21210 # This bug is HP SR number 8606223364.
21211 { echo "$as_me:$LINENO: checking size of size_t" >&5
21212 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21213 if test "${ac_cv_sizeof_size_t+set}" = set; then
21214 echo $ECHO_N "(cached) $ECHO_C" >&6
21215 else
21216 if test "$cross_compiling" = yes; then
21217 # Depending upon the size, compute the lo and hi bounds.
21218 cat >conftest.$ac_ext <<_ACEOF
21219 /* confdefs.h. */
21220 _ACEOF
21221 cat confdefs.h >>conftest.$ac_ext
21222 cat >>conftest.$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 $ac_includes_default
21225 typedef size_t ac__type_sizeof_;
21226 int
21227 main ()
21228 {
21229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21230 test_array [0] = 0
21231
21232 ;
21233 return 0;
21234 }
21235 _ACEOF
21236 rm -f conftest.$ac_objext
21237 if { (ac_try="$ac_compile"
21238 case "(($ac_try" in
21239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21240 *) ac_try_echo=$ac_try;;
21241 esac
21242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21243 (eval "$ac_compile") 2>conftest.er1
21244 ac_status=$?
21245 grep -v '^ *+' conftest.er1 >conftest.err
21246 rm -f conftest.er1
21247 cat conftest.err >&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } && {
21250 test -z "$ac_c_werror_flag" ||
21251 test ! -s conftest.err
21252 } && test -s conftest.$ac_objext; then
21253 ac_lo=0 ac_mid=0
21254 while :; do
21255 cat >conftest.$ac_ext <<_ACEOF
21256 /* confdefs.h. */
21257 _ACEOF
21258 cat confdefs.h >>conftest.$ac_ext
21259 cat >>conftest.$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21261 $ac_includes_default
21262 typedef size_t ac__type_sizeof_;
21263 int
21264 main ()
21265 {
21266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21267 test_array [0] = 0
21268
21269 ;
21270 return 0;
21271 }
21272 _ACEOF
21273 rm -f conftest.$ac_objext
21274 if { (ac_try="$ac_compile"
21275 case "(($ac_try" in
21276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21277 *) ac_try_echo=$ac_try;;
21278 esac
21279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21280 (eval "$ac_compile") 2>conftest.er1
21281 ac_status=$?
21282 grep -v '^ *+' conftest.er1 >conftest.err
21283 rm -f conftest.er1
21284 cat conftest.err >&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } && {
21287 test -z "$ac_c_werror_flag" ||
21288 test ! -s conftest.err
21289 } && test -s conftest.$ac_objext; then
21290 ac_hi=$ac_mid; break
21291 else
21292 echo "$as_me: failed program was:" >&5
21293 sed 's/^/| /' conftest.$ac_ext >&5
21294
21295 ac_lo=`expr $ac_mid + 1`
21296 if test $ac_lo -le $ac_mid; then
21297 ac_lo= ac_hi=
21298 break
21299 fi
21300 ac_mid=`expr 2 '*' $ac_mid + 1`
21301 fi
21302
21303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21304 done
21305 else
21306 echo "$as_me: failed program was:" >&5
21307 sed 's/^/| /' conftest.$ac_ext >&5
21308
21309 cat >conftest.$ac_ext <<_ACEOF
21310 /* confdefs.h. */
21311 _ACEOF
21312 cat confdefs.h >>conftest.$ac_ext
21313 cat >>conftest.$ac_ext <<_ACEOF
21314 /* end confdefs.h. */
21315 $ac_includes_default
21316 typedef size_t ac__type_sizeof_;
21317 int
21318 main ()
21319 {
21320 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21321 test_array [0] = 0
21322
21323 ;
21324 return 0;
21325 }
21326 _ACEOF
21327 rm -f conftest.$ac_objext
21328 if { (ac_try="$ac_compile"
21329 case "(($ac_try" in
21330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21331 *) ac_try_echo=$ac_try;;
21332 esac
21333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21334 (eval "$ac_compile") 2>conftest.er1
21335 ac_status=$?
21336 grep -v '^ *+' conftest.er1 >conftest.err
21337 rm -f conftest.er1
21338 cat conftest.err >&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } && {
21341 test -z "$ac_c_werror_flag" ||
21342 test ! -s conftest.err
21343 } && test -s conftest.$ac_objext; then
21344 ac_hi=-1 ac_mid=-1
21345 while :; do
21346 cat >conftest.$ac_ext <<_ACEOF
21347 /* confdefs.h. */
21348 _ACEOF
21349 cat confdefs.h >>conftest.$ac_ext
21350 cat >>conftest.$ac_ext <<_ACEOF
21351 /* end confdefs.h. */
21352 $ac_includes_default
21353 typedef size_t ac__type_sizeof_;
21354 int
21355 main ()
21356 {
21357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21358 test_array [0] = 0
21359
21360 ;
21361 return 0;
21362 }
21363 _ACEOF
21364 rm -f conftest.$ac_objext
21365 if { (ac_try="$ac_compile"
21366 case "(($ac_try" in
21367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21368 *) ac_try_echo=$ac_try;;
21369 esac
21370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21371 (eval "$ac_compile") 2>conftest.er1
21372 ac_status=$?
21373 grep -v '^ *+' conftest.er1 >conftest.err
21374 rm -f conftest.er1
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } && {
21378 test -z "$ac_c_werror_flag" ||
21379 test ! -s conftest.err
21380 } && test -s conftest.$ac_objext; then
21381 ac_lo=$ac_mid; break
21382 else
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.$ac_ext >&5
21385
21386 ac_hi=`expr '(' $ac_mid ')' - 1`
21387 if test $ac_mid -le $ac_hi; then
21388 ac_lo= ac_hi=
21389 break
21390 fi
21391 ac_mid=`expr 2 '*' $ac_mid`
21392 fi
21393
21394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21395 done
21396 else
21397 echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.$ac_ext >&5
21399
21400 ac_lo= ac_hi=
21401 fi
21402
21403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21404 fi
21405
21406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21407 # Binary search between lo and hi bounds.
21408 while test "x$ac_lo" != "x$ac_hi"; do
21409 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21410 cat >conftest.$ac_ext <<_ACEOF
21411 /* confdefs.h. */
21412 _ACEOF
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 typedef size_t ac__type_sizeof_;
21418 int
21419 main ()
21420 {
21421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21422 test_array [0] = 0
21423
21424 ;
21425 return 0;
21426 }
21427 _ACEOF
21428 rm -f conftest.$ac_objext
21429 if { (ac_try="$ac_compile"
21430 case "(($ac_try" in
21431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21432 *) ac_try_echo=$ac_try;;
21433 esac
21434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21435 (eval "$ac_compile") 2>conftest.er1
21436 ac_status=$?
21437 grep -v '^ *+' conftest.er1 >conftest.err
21438 rm -f conftest.er1
21439 cat conftest.err >&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } && {
21442 test -z "$ac_c_werror_flag" ||
21443 test ! -s conftest.err
21444 } && test -s conftest.$ac_objext; then
21445 ac_hi=$ac_mid
21446 else
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21449
21450 ac_lo=`expr '(' $ac_mid ')' + 1`
21451 fi
21452
21453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21454 done
21455 case $ac_lo in
21456 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21457 '') if test "$ac_cv_type_size_t" = yes; then
21458 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21459 See \`config.log' for more details." >&5
21460 echo "$as_me: error: cannot compute sizeof (size_t)
21461 See \`config.log' for more details." >&2;}
21462 { (exit 77); exit 77; }; }
21463 else
21464 ac_cv_sizeof_size_t=0
21465 fi ;;
21466 esac
21467 else
21468 cat >conftest.$ac_ext <<_ACEOF
21469 /* confdefs.h. */
21470 _ACEOF
21471 cat confdefs.h >>conftest.$ac_ext
21472 cat >>conftest.$ac_ext <<_ACEOF
21473 /* end confdefs.h. */
21474 $ac_includes_default
21475 typedef size_t ac__type_sizeof_;
21476 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21477 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21478 #include <stdio.h>
21479 #include <stdlib.h>
21480 int
21481 main ()
21482 {
21483
21484 FILE *f = fopen ("conftest.val", "w");
21485 if (! f)
21486 return 1;
21487 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21488 {
21489 long int i = longval ();
21490 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21491 return 1;
21492 fprintf (f, "%ld\n", i);
21493 }
21494 else
21495 {
21496 unsigned long int i = ulongval ();
21497 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21498 return 1;
21499 fprintf (f, "%lu\n", i);
21500 }
21501 return ferror (f) || fclose (f) != 0;
21502
21503 ;
21504 return 0;
21505 }
21506 _ACEOF
21507 rm -f conftest$ac_exeext
21508 if { (ac_try="$ac_link"
21509 case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21512 esac
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_link") 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21518 { (case "(($ac_try" in
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21520 *) ac_try_echo=$ac_try;;
21521 esac
21522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21523 (eval "$ac_try") 2>&5
21524 ac_status=$?
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); }; }; then
21527 ac_cv_sizeof_size_t=`cat conftest.val`
21528 else
21529 echo "$as_me: program exited with status $ac_status" >&5
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.$ac_ext >&5
21532
21533 ( exit $ac_status )
21534 if test "$ac_cv_type_size_t" = yes; then
21535 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21536 See \`config.log' for more details." >&5
21537 echo "$as_me: error: cannot compute sizeof (size_t)
21538 See \`config.log' for more details." >&2;}
21539 { (exit 77); exit 77; }; }
21540 else
21541 ac_cv_sizeof_size_t=0
21542 fi
21543 fi
21544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21545 fi
21546 rm -f conftest.val
21547 fi
21548 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21549 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21550
21551
21552
21553 cat >>confdefs.h <<_ACEOF
21554 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21555 _ACEOF
21556
21557
21558
21559 case "${host}" in
21560 arm-*-linux* )
21561 { echo "$as_me:$LINENO: checking for long long" >&5
21562 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21563 if test "${ac_cv_type_long_long+set}" = set; then
21564 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 else
21566 cat >conftest.$ac_ext <<_ACEOF
21567 /* confdefs.h. */
21568 _ACEOF
21569 cat confdefs.h >>conftest.$ac_ext
21570 cat >>conftest.$ac_ext <<_ACEOF
21571 /* end confdefs.h. */
21572 $ac_includes_default
21573 typedef long long ac__type_new_;
21574 int
21575 main ()
21576 {
21577 if ((ac__type_new_ *) 0)
21578 return 0;
21579 if (sizeof (ac__type_new_))
21580 return 0;
21581 ;
21582 return 0;
21583 }
21584 _ACEOF
21585 rm -f conftest.$ac_objext
21586 if { (ac_try="$ac_compile"
21587 case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21590 esac
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_compile") 2>conftest.er1
21593 ac_status=$?
21594 grep -v '^ *+' conftest.er1 >conftest.err
21595 rm -f conftest.er1
21596 cat conftest.err >&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } && {
21599 test -z "$ac_c_werror_flag" ||
21600 test ! -s conftest.err
21601 } && test -s conftest.$ac_objext; then
21602 ac_cv_type_long_long=yes
21603 else
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.$ac_ext >&5
21606
21607 ac_cv_type_long_long=no
21608 fi
21609
21610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21611 fi
21612 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21613 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21614
21615 # The cast to long int works around a bug in the HP C Compiler
21616 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21617 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21618 # This bug is HP SR number 8606223364.
21619 { echo "$as_me:$LINENO: checking size of long long" >&5
21620 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21621 if test "${ac_cv_sizeof_long_long+set}" = set; then
21622 echo $ECHO_N "(cached) $ECHO_C" >&6
21623 else
21624 if test "$cross_compiling" = yes; then
21625 # Depending upon the size, compute the lo and hi bounds.
21626 cat >conftest.$ac_ext <<_ACEOF
21627 /* confdefs.h. */
21628 _ACEOF
21629 cat confdefs.h >>conftest.$ac_ext
21630 cat >>conftest.$ac_ext <<_ACEOF
21631 /* end confdefs.h. */
21632 $ac_includes_default
21633 typedef long long ac__type_sizeof_;
21634 int
21635 main ()
21636 {
21637 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21638 test_array [0] = 0
21639
21640 ;
21641 return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest.$ac_objext
21645 if { (ac_try="$ac_compile"
21646 case "(($ac_try" in
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21648 *) ac_try_echo=$ac_try;;
21649 esac
21650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21651 (eval "$ac_compile") 2>conftest.er1
21652 ac_status=$?
21653 grep -v '^ *+' conftest.er1 >conftest.err
21654 rm -f conftest.er1
21655 cat conftest.err >&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } && {
21658 test -z "$ac_c_werror_flag" ||
21659 test ! -s conftest.err
21660 } && test -s conftest.$ac_objext; then
21661 ac_lo=0 ac_mid=0
21662 while :; do
21663 cat >conftest.$ac_ext <<_ACEOF
21664 /* confdefs.h. */
21665 _ACEOF
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21669 $ac_includes_default
21670 typedef long long ac__type_sizeof_;
21671 int
21672 main ()
21673 {
21674 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21675 test_array [0] = 0
21676
21677 ;
21678 return 0;
21679 }
21680 _ACEOF
21681 rm -f conftest.$ac_objext
21682 if { (ac_try="$ac_compile"
21683 case "(($ac_try" in
21684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21685 *) ac_try_echo=$ac_try;;
21686 esac
21687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21688 (eval "$ac_compile") 2>conftest.er1
21689 ac_status=$?
21690 grep -v '^ *+' conftest.er1 >conftest.err
21691 rm -f conftest.er1
21692 cat conftest.err >&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } && {
21695 test -z "$ac_c_werror_flag" ||
21696 test ! -s conftest.err
21697 } && test -s conftest.$ac_objext; then
21698 ac_hi=$ac_mid; break
21699 else
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.$ac_ext >&5
21702
21703 ac_lo=`expr $ac_mid + 1`
21704 if test $ac_lo -le $ac_mid; then
21705 ac_lo= ac_hi=
21706 break
21707 fi
21708 ac_mid=`expr 2 '*' $ac_mid + 1`
21709 fi
21710
21711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21712 done
21713 else
21714 echo "$as_me: failed program was:" >&5
21715 sed 's/^/| /' conftest.$ac_ext >&5
21716
21717 cat >conftest.$ac_ext <<_ACEOF
21718 /* confdefs.h. */
21719 _ACEOF
21720 cat confdefs.h >>conftest.$ac_ext
21721 cat >>conftest.$ac_ext <<_ACEOF
21722 /* end confdefs.h. */
21723 $ac_includes_default
21724 typedef long long ac__type_sizeof_;
21725 int
21726 main ()
21727 {
21728 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21729 test_array [0] = 0
21730
21731 ;
21732 return 0;
21733 }
21734 _ACEOF
21735 rm -f conftest.$ac_objext
21736 if { (ac_try="$ac_compile"
21737 case "(($ac_try" in
21738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21739 *) ac_try_echo=$ac_try;;
21740 esac
21741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21742 (eval "$ac_compile") 2>conftest.er1
21743 ac_status=$?
21744 grep -v '^ *+' conftest.er1 >conftest.err
21745 rm -f conftest.er1
21746 cat conftest.err >&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } && {
21749 test -z "$ac_c_werror_flag" ||
21750 test ! -s conftest.err
21751 } && test -s conftest.$ac_objext; then
21752 ac_hi=-1 ac_mid=-1
21753 while :; do
21754 cat >conftest.$ac_ext <<_ACEOF
21755 /* confdefs.h. */
21756 _ACEOF
21757 cat confdefs.h >>conftest.$ac_ext
21758 cat >>conftest.$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21760 $ac_includes_default
21761 typedef long long ac__type_sizeof_;
21762 int
21763 main ()
21764 {
21765 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21766 test_array [0] = 0
21767
21768 ;
21769 return 0;
21770 }
21771 _ACEOF
21772 rm -f conftest.$ac_objext
21773 if { (ac_try="$ac_compile"
21774 case "(($ac_try" in
21775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21776 *) ac_try_echo=$ac_try;;
21777 esac
21778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21779 (eval "$ac_compile") 2>conftest.er1
21780 ac_status=$?
21781 grep -v '^ *+' conftest.er1 >conftest.err
21782 rm -f conftest.er1
21783 cat conftest.err >&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } && {
21786 test -z "$ac_c_werror_flag" ||
21787 test ! -s conftest.err
21788 } && test -s conftest.$ac_objext; then
21789 ac_lo=$ac_mid; break
21790 else
21791 echo "$as_me: failed program was:" >&5
21792 sed 's/^/| /' conftest.$ac_ext >&5
21793
21794 ac_hi=`expr '(' $ac_mid ')' - 1`
21795 if test $ac_mid -le $ac_hi; then
21796 ac_lo= ac_hi=
21797 break
21798 fi
21799 ac_mid=`expr 2 '*' $ac_mid`
21800 fi
21801
21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803 done
21804 else
21805 echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.$ac_ext >&5
21807
21808 ac_lo= ac_hi=
21809 fi
21810
21811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21812 fi
21813
21814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21815 # Binary search between lo and hi bounds.
21816 while test "x$ac_lo" != "x$ac_hi"; do
21817 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21818 cat >conftest.$ac_ext <<_ACEOF
21819 /* confdefs.h. */
21820 _ACEOF
21821 cat confdefs.h >>conftest.$ac_ext
21822 cat >>conftest.$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824 $ac_includes_default
21825 typedef long long ac__type_sizeof_;
21826 int
21827 main ()
21828 {
21829 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21830 test_array [0] = 0
21831
21832 ;
21833 return 0;
21834 }
21835 _ACEOF
21836 rm -f conftest.$ac_objext
21837 if { (ac_try="$ac_compile"
21838 case "(($ac_try" in
21839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21840 *) ac_try_echo=$ac_try;;
21841 esac
21842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21843 (eval "$ac_compile") 2>conftest.er1
21844 ac_status=$?
21845 grep -v '^ *+' conftest.er1 >conftest.err
21846 rm -f conftest.er1
21847 cat conftest.err >&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); } && {
21850 test -z "$ac_c_werror_flag" ||
21851 test ! -s conftest.err
21852 } && test -s conftest.$ac_objext; then
21853 ac_hi=$ac_mid
21854 else
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21857
21858 ac_lo=`expr '(' $ac_mid ')' + 1`
21859 fi
21860
21861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21862 done
21863 case $ac_lo in
21864 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21865 '') if test "$ac_cv_type_long_long" = yes; then
21866 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21867 See \`config.log' for more details." >&5
21868 echo "$as_me: error: cannot compute sizeof (long long)
21869 See \`config.log' for more details." >&2;}
21870 { (exit 77); exit 77; }; }
21871 else
21872 ac_cv_sizeof_long_long=0
21873 fi ;;
21874 esac
21875 else
21876 cat >conftest.$ac_ext <<_ACEOF
21877 /* confdefs.h. */
21878 _ACEOF
21879 cat confdefs.h >>conftest.$ac_ext
21880 cat >>conftest.$ac_ext <<_ACEOF
21881 /* end confdefs.h. */
21882 $ac_includes_default
21883 typedef long long ac__type_sizeof_;
21884 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21885 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21886 #include <stdio.h>
21887 #include <stdlib.h>
21888 int
21889 main ()
21890 {
21891
21892 FILE *f = fopen ("conftest.val", "w");
21893 if (! f)
21894 return 1;
21895 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21896 {
21897 long int i = longval ();
21898 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21899 return 1;
21900 fprintf (f, "%ld\n", i);
21901 }
21902 else
21903 {
21904 unsigned long int i = ulongval ();
21905 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21906 return 1;
21907 fprintf (f, "%lu\n", i);
21908 }
21909 return ferror (f) || fclose (f) != 0;
21910
21911 ;
21912 return 0;
21913 }
21914 _ACEOF
21915 rm -f conftest$ac_exeext
21916 if { (ac_try="$ac_link"
21917 case "(($ac_try" in
21918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21919 *) ac_try_echo=$ac_try;;
21920 esac
21921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21922 (eval "$ac_link") 2>&5
21923 ac_status=$?
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21926 { (case "(($ac_try" in
21927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21928 *) ac_try_echo=$ac_try;;
21929 esac
21930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21931 (eval "$ac_try") 2>&5
21932 ac_status=$?
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); }; }; then
21935 ac_cv_sizeof_long_long=`cat conftest.val`
21936 else
21937 echo "$as_me: program exited with status $ac_status" >&5
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21940
21941 ( exit $ac_status )
21942 if test "$ac_cv_type_long_long" = yes; then
21943 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21944 See \`config.log' for more details." >&5
21945 echo "$as_me: error: cannot compute sizeof (long long)
21946 See \`config.log' for more details." >&2;}
21947 { (exit 77); exit 77; }; }
21948 else
21949 ac_cv_sizeof_long_long=0
21950 fi
21951 fi
21952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21953 fi
21954 rm -f conftest.val
21955 fi
21956 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21957 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21958
21959
21960
21961 cat >>confdefs.h <<_ACEOF
21962 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21963 _ACEOF
21964
21965
21966 ;;
21967 *-hp-hpux* )
21968 { echo "$as_me:$LINENO: checking for long long" >&5
21969 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21970 if test "${ac_cv_type_long_long+set}" = set; then
21971 echo $ECHO_N "(cached) $ECHO_C" >&6
21972 else
21973 cat >conftest.$ac_ext <<_ACEOF
21974 /* confdefs.h. */
21975 _ACEOF
21976 cat confdefs.h >>conftest.$ac_ext
21977 cat >>conftest.$ac_ext <<_ACEOF
21978 /* end confdefs.h. */
21979 $ac_includes_default
21980 typedef long long ac__type_new_;
21981 int
21982 main ()
21983 {
21984 if ((ac__type_new_ *) 0)
21985 return 0;
21986 if (sizeof (ac__type_new_))
21987 return 0;
21988 ;
21989 return 0;
21990 }
21991 _ACEOF
21992 rm -f conftest.$ac_objext
21993 if { (ac_try="$ac_compile"
21994 case "(($ac_try" in
21995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21996 *) ac_try_echo=$ac_try;;
21997 esac
21998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21999 (eval "$ac_compile") 2>conftest.er1
22000 ac_status=$?
22001 grep -v '^ *+' conftest.er1 >conftest.err
22002 rm -f conftest.er1
22003 cat conftest.err >&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); } && {
22006 test -z "$ac_c_werror_flag" ||
22007 test ! -s conftest.err
22008 } && test -s conftest.$ac_objext; then
22009 ac_cv_type_long_long=yes
22010 else
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.$ac_ext >&5
22013
22014 ac_cv_type_long_long=no
22015 fi
22016
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22018 fi
22019 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22020 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22021
22022 # The cast to long int works around a bug in the HP C Compiler
22023 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22024 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22025 # This bug is HP SR number 8606223364.
22026 { echo "$as_me:$LINENO: checking size of long long" >&5
22027 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22028 if test "${ac_cv_sizeof_long_long+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 else
22031 if test "$cross_compiling" = yes; then
22032 # Depending upon the size, compute the lo and hi bounds.
22033 cat >conftest.$ac_ext <<_ACEOF
22034 /* confdefs.h. */
22035 _ACEOF
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039 $ac_includes_default
22040 typedef long long ac__type_sizeof_;
22041 int
22042 main ()
22043 {
22044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22045 test_array [0] = 0
22046
22047 ;
22048 return 0;
22049 }
22050 _ACEOF
22051 rm -f conftest.$ac_objext
22052 if { (ac_try="$ac_compile"
22053 case "(($ac_try" in
22054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22055 *) ac_try_echo=$ac_try;;
22056 esac
22057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22058 (eval "$ac_compile") 2>conftest.er1
22059 ac_status=$?
22060 grep -v '^ *+' conftest.er1 >conftest.err
22061 rm -f conftest.er1
22062 cat conftest.err >&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } && {
22065 test -z "$ac_c_werror_flag" ||
22066 test ! -s conftest.err
22067 } && test -s conftest.$ac_objext; then
22068 ac_lo=0 ac_mid=0
22069 while :; do
22070 cat >conftest.$ac_ext <<_ACEOF
22071 /* confdefs.h. */
22072 _ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 $ac_includes_default
22077 typedef long long ac__type_sizeof_;
22078 int
22079 main ()
22080 {
22081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22082 test_array [0] = 0
22083
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 rm -f conftest.$ac_objext
22089 if { (ac_try="$ac_compile"
22090 case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22093 esac
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_compile") 2>conftest.er1
22096 ac_status=$?
22097 grep -v '^ *+' conftest.er1 >conftest.err
22098 rm -f conftest.er1
22099 cat conftest.err >&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_c_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest.$ac_objext; then
22105 ac_hi=$ac_mid; break
22106 else
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.$ac_ext >&5
22109
22110 ac_lo=`expr $ac_mid + 1`
22111 if test $ac_lo -le $ac_mid; then
22112 ac_lo= ac_hi=
22113 break
22114 fi
22115 ac_mid=`expr 2 '*' $ac_mid + 1`
22116 fi
22117
22118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22119 done
22120 else
22121 echo "$as_me: failed program was:" >&5
22122 sed 's/^/| /' conftest.$ac_ext >&5
22123
22124 cat >conftest.$ac_ext <<_ACEOF
22125 /* confdefs.h. */
22126 _ACEOF
22127 cat confdefs.h >>conftest.$ac_ext
22128 cat >>conftest.$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 $ac_includes_default
22131 typedef long long ac__type_sizeof_;
22132 int
22133 main ()
22134 {
22135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22136 test_array [0] = 0
22137
22138 ;
22139 return 0;
22140 }
22141 _ACEOF
22142 rm -f conftest.$ac_objext
22143 if { (ac_try="$ac_compile"
22144 case "(($ac_try" in
22145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22146 *) ac_try_echo=$ac_try;;
22147 esac
22148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22149 (eval "$ac_compile") 2>conftest.er1
22150 ac_status=$?
22151 grep -v '^ *+' conftest.er1 >conftest.err
22152 rm -f conftest.er1
22153 cat conftest.err >&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } && {
22156 test -z "$ac_c_werror_flag" ||
22157 test ! -s conftest.err
22158 } && test -s conftest.$ac_objext; then
22159 ac_hi=-1 ac_mid=-1
22160 while :; do
22161 cat >conftest.$ac_ext <<_ACEOF
22162 /* confdefs.h. */
22163 _ACEOF
22164 cat confdefs.h >>conftest.$ac_ext
22165 cat >>conftest.$ac_ext <<_ACEOF
22166 /* end confdefs.h. */
22167 $ac_includes_default
22168 typedef long long ac__type_sizeof_;
22169 int
22170 main ()
22171 {
22172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22173 test_array [0] = 0
22174
22175 ;
22176 return 0;
22177 }
22178 _ACEOF
22179 rm -f conftest.$ac_objext
22180 if { (ac_try="$ac_compile"
22181 case "(($ac_try" in
22182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22183 *) ac_try_echo=$ac_try;;
22184 esac
22185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22186 (eval "$ac_compile") 2>conftest.er1
22187 ac_status=$?
22188 grep -v '^ *+' conftest.er1 >conftest.err
22189 rm -f conftest.er1
22190 cat conftest.err >&5
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); } && {
22193 test -z "$ac_c_werror_flag" ||
22194 test ! -s conftest.err
22195 } && test -s conftest.$ac_objext; then
22196 ac_lo=$ac_mid; break
22197 else
22198 echo "$as_me: failed program was:" >&5
22199 sed 's/^/| /' conftest.$ac_ext >&5
22200
22201 ac_hi=`expr '(' $ac_mid ')' - 1`
22202 if test $ac_mid -le $ac_hi; then
22203 ac_lo= ac_hi=
22204 break
22205 fi
22206 ac_mid=`expr 2 '*' $ac_mid`
22207 fi
22208
22209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22210 done
22211 else
22212 echo "$as_me: failed program was:" >&5
22213 sed 's/^/| /' conftest.$ac_ext >&5
22214
22215 ac_lo= ac_hi=
22216 fi
22217
22218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22219 fi
22220
22221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22222 # Binary search between lo and hi bounds.
22223 while test "x$ac_lo" != "x$ac_hi"; do
22224 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22225 cat >conftest.$ac_ext <<_ACEOF
22226 /* confdefs.h. */
22227 _ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 $ac_includes_default
22232 typedef long long ac__type_sizeof_;
22233 int
22234 main ()
22235 {
22236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22237 test_array [0] = 0
22238
22239 ;
22240 return 0;
22241 }
22242 _ACEOF
22243 rm -f conftest.$ac_objext
22244 if { (ac_try="$ac_compile"
22245 case "(($ac_try" in
22246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22247 *) ac_try_echo=$ac_try;;
22248 esac
22249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22250 (eval "$ac_compile") 2>conftest.er1
22251 ac_status=$?
22252 grep -v '^ *+' conftest.er1 >conftest.err
22253 rm -f conftest.er1
22254 cat conftest.err >&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } && {
22257 test -z "$ac_c_werror_flag" ||
22258 test ! -s conftest.err
22259 } && test -s conftest.$ac_objext; then
22260 ac_hi=$ac_mid
22261 else
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.$ac_ext >&5
22264
22265 ac_lo=`expr '(' $ac_mid ')' + 1`
22266 fi
22267
22268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22269 done
22270 case $ac_lo in
22271 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22272 '') if test "$ac_cv_type_long_long" = yes; then
22273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22274 See \`config.log' for more details." >&5
22275 echo "$as_me: error: cannot compute sizeof (long long)
22276 See \`config.log' for more details." >&2;}
22277 { (exit 77); exit 77; }; }
22278 else
22279 ac_cv_sizeof_long_long=0
22280 fi ;;
22281 esac
22282 else
22283 cat >conftest.$ac_ext <<_ACEOF
22284 /* confdefs.h. */
22285 _ACEOF
22286 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22289 $ac_includes_default
22290 typedef long long ac__type_sizeof_;
22291 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22292 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22293 #include <stdio.h>
22294 #include <stdlib.h>
22295 int
22296 main ()
22297 {
22298
22299 FILE *f = fopen ("conftest.val", "w");
22300 if (! f)
22301 return 1;
22302 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22303 {
22304 long int i = longval ();
22305 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22306 return 1;
22307 fprintf (f, "%ld\n", i);
22308 }
22309 else
22310 {
22311 unsigned long int i = ulongval ();
22312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22313 return 1;
22314 fprintf (f, "%lu\n", i);
22315 }
22316 return ferror (f) || fclose (f) != 0;
22317
22318 ;
22319 return 0;
22320 }
22321 _ACEOF
22322 rm -f conftest$ac_exeext
22323 if { (ac_try="$ac_link"
22324 case "(($ac_try" in
22325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22326 *) ac_try_echo=$ac_try;;
22327 esac
22328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22329 (eval "$ac_link") 2>&5
22330 ac_status=$?
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22333 { (case "(($ac_try" in
22334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22335 *) ac_try_echo=$ac_try;;
22336 esac
22337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22338 (eval "$ac_try") 2>&5
22339 ac_status=$?
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; }; then
22342 ac_cv_sizeof_long_long=`cat conftest.val`
22343 else
22344 echo "$as_me: program exited with status $ac_status" >&5
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22347
22348 ( exit $ac_status )
22349 if test "$ac_cv_type_long_long" = yes; then
22350 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22351 See \`config.log' for more details." >&5
22352 echo "$as_me: error: cannot compute sizeof (long long)
22353 See \`config.log' for more details." >&2;}
22354 { (exit 77); exit 77; }; }
22355 else
22356 ac_cv_sizeof_long_long=0
22357 fi
22358 fi
22359 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22360 fi
22361 rm -f conftest.val
22362 fi
22363 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22364 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22365
22366
22367
22368 cat >>confdefs.h <<_ACEOF
22369 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22370 _ACEOF
22371
22372
22373 if test "$ac_cv_sizeof_long_long" != 0; then
22374 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22375 fi
22376 ;;
22377 * )
22378 { echo "$as_me:$LINENO: checking for long long" >&5
22379 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22380 if test "${ac_cv_type_long_long+set}" = set; then
22381 echo $ECHO_N "(cached) $ECHO_C" >&6
22382 else
22383 cat >conftest.$ac_ext <<_ACEOF
22384 /* confdefs.h. */
22385 _ACEOF
22386 cat confdefs.h >>conftest.$ac_ext
22387 cat >>conftest.$ac_ext <<_ACEOF
22388 /* end confdefs.h. */
22389 $ac_includes_default
22390 typedef long long ac__type_new_;
22391 int
22392 main ()
22393 {
22394 if ((ac__type_new_ *) 0)
22395 return 0;
22396 if (sizeof (ac__type_new_))
22397 return 0;
22398 ;
22399 return 0;
22400 }
22401 _ACEOF
22402 rm -f conftest.$ac_objext
22403 if { (ac_try="$ac_compile"
22404 case "(($ac_try" in
22405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22406 *) ac_try_echo=$ac_try;;
22407 esac
22408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22409 (eval "$ac_compile") 2>conftest.er1
22410 ac_status=$?
22411 grep -v '^ *+' conftest.er1 >conftest.err
22412 rm -f conftest.er1
22413 cat conftest.err >&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } && {
22416 test -z "$ac_c_werror_flag" ||
22417 test ! -s conftest.err
22418 } && test -s conftest.$ac_objext; then
22419 ac_cv_type_long_long=yes
22420 else
22421 echo "$as_me: failed program was:" >&5
22422 sed 's/^/| /' conftest.$ac_ext >&5
22423
22424 ac_cv_type_long_long=no
22425 fi
22426
22427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22428 fi
22429 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22430 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22431
22432 # The cast to long int works around a bug in the HP C Compiler
22433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22435 # This bug is HP SR number 8606223364.
22436 { echo "$as_me:$LINENO: checking size of long long" >&5
22437 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22438 if test "${ac_cv_sizeof_long_long+set}" = set; then
22439 echo $ECHO_N "(cached) $ECHO_C" >&6
22440 else
22441 if test "$cross_compiling" = yes; then
22442 # Depending upon the size, compute the lo and hi bounds.
22443 cat >conftest.$ac_ext <<_ACEOF
22444 /* confdefs.h. */
22445 _ACEOF
22446 cat confdefs.h >>conftest.$ac_ext
22447 cat >>conftest.$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22449 $ac_includes_default
22450 typedef long long ac__type_sizeof_;
22451 int
22452 main ()
22453 {
22454 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22455 test_array [0] = 0
22456
22457 ;
22458 return 0;
22459 }
22460 _ACEOF
22461 rm -f conftest.$ac_objext
22462 if { (ac_try="$ac_compile"
22463 case "(($ac_try" in
22464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22465 *) ac_try_echo=$ac_try;;
22466 esac
22467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22468 (eval "$ac_compile") 2>conftest.er1
22469 ac_status=$?
22470 grep -v '^ *+' conftest.er1 >conftest.err
22471 rm -f conftest.er1
22472 cat conftest.err >&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } && {
22475 test -z "$ac_c_werror_flag" ||
22476 test ! -s conftest.err
22477 } && test -s conftest.$ac_objext; then
22478 ac_lo=0 ac_mid=0
22479 while :; do
22480 cat >conftest.$ac_ext <<_ACEOF
22481 /* confdefs.h. */
22482 _ACEOF
22483 cat confdefs.h >>conftest.$ac_ext
22484 cat >>conftest.$ac_ext <<_ACEOF
22485 /* end confdefs.h. */
22486 $ac_includes_default
22487 typedef long long ac__type_sizeof_;
22488 int
22489 main ()
22490 {
22491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22492 test_array [0] = 0
22493
22494 ;
22495 return 0;
22496 }
22497 _ACEOF
22498 rm -f conftest.$ac_objext
22499 if { (ac_try="$ac_compile"
22500 case "(($ac_try" in
22501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22502 *) ac_try_echo=$ac_try;;
22503 esac
22504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22505 (eval "$ac_compile") 2>conftest.er1
22506 ac_status=$?
22507 grep -v '^ *+' conftest.er1 >conftest.err
22508 rm -f conftest.er1
22509 cat conftest.err >&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); } && {
22512 test -z "$ac_c_werror_flag" ||
22513 test ! -s conftest.err
22514 } && test -s conftest.$ac_objext; then
22515 ac_hi=$ac_mid; break
22516 else
22517 echo "$as_me: failed program was:" >&5
22518 sed 's/^/| /' conftest.$ac_ext >&5
22519
22520 ac_lo=`expr $ac_mid + 1`
22521 if test $ac_lo -le $ac_mid; then
22522 ac_lo= ac_hi=
22523 break
22524 fi
22525 ac_mid=`expr 2 '*' $ac_mid + 1`
22526 fi
22527
22528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22529 done
22530 else
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.$ac_ext >&5
22533
22534 cat >conftest.$ac_ext <<_ACEOF
22535 /* confdefs.h. */
22536 _ACEOF
22537 cat confdefs.h >>conftest.$ac_ext
22538 cat >>conftest.$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22540 $ac_includes_default
22541 typedef long long ac__type_sizeof_;
22542 int
22543 main ()
22544 {
22545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22546 test_array [0] = 0
22547
22548 ;
22549 return 0;
22550 }
22551 _ACEOF
22552 rm -f conftest.$ac_objext
22553 if { (ac_try="$ac_compile"
22554 case "(($ac_try" in
22555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22556 *) ac_try_echo=$ac_try;;
22557 esac
22558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22559 (eval "$ac_compile") 2>conftest.er1
22560 ac_status=$?
22561 grep -v '^ *+' conftest.er1 >conftest.err
22562 rm -f conftest.er1
22563 cat conftest.err >&5
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); } && {
22566 test -z "$ac_c_werror_flag" ||
22567 test ! -s conftest.err
22568 } && test -s conftest.$ac_objext; then
22569 ac_hi=-1 ac_mid=-1
22570 while :; do
22571 cat >conftest.$ac_ext <<_ACEOF
22572 /* confdefs.h. */
22573 _ACEOF
22574 cat confdefs.h >>conftest.$ac_ext
22575 cat >>conftest.$ac_ext <<_ACEOF
22576 /* end confdefs.h. */
22577 $ac_includes_default
22578 typedef long long ac__type_sizeof_;
22579 int
22580 main ()
22581 {
22582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22583 test_array [0] = 0
22584
22585 ;
22586 return 0;
22587 }
22588 _ACEOF
22589 rm -f conftest.$ac_objext
22590 if { (ac_try="$ac_compile"
22591 case "(($ac_try" in
22592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22593 *) ac_try_echo=$ac_try;;
22594 esac
22595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22596 (eval "$ac_compile") 2>conftest.er1
22597 ac_status=$?
22598 grep -v '^ *+' conftest.er1 >conftest.err
22599 rm -f conftest.er1
22600 cat conftest.err >&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } && {
22603 test -z "$ac_c_werror_flag" ||
22604 test ! -s conftest.err
22605 } && test -s conftest.$ac_objext; then
22606 ac_lo=$ac_mid; break
22607 else
22608 echo "$as_me: failed program was:" >&5
22609 sed 's/^/| /' conftest.$ac_ext >&5
22610
22611 ac_hi=`expr '(' $ac_mid ')' - 1`
22612 if test $ac_mid -le $ac_hi; then
22613 ac_lo= ac_hi=
22614 break
22615 fi
22616 ac_mid=`expr 2 '*' $ac_mid`
22617 fi
22618
22619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22620 done
22621 else
22622 echo "$as_me: failed program was:" >&5
22623 sed 's/^/| /' conftest.$ac_ext >&5
22624
22625 ac_lo= ac_hi=
22626 fi
22627
22628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22629 fi
22630
22631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22632 # Binary search between lo and hi bounds.
22633 while test "x$ac_lo" != "x$ac_hi"; do
22634 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22635 cat >conftest.$ac_ext <<_ACEOF
22636 /* confdefs.h. */
22637 _ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641 $ac_includes_default
22642 typedef long long ac__type_sizeof_;
22643 int
22644 main ()
22645 {
22646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22647 test_array [0] = 0
22648
22649 ;
22650 return 0;
22651 }
22652 _ACEOF
22653 rm -f conftest.$ac_objext
22654 if { (ac_try="$ac_compile"
22655 case "(($ac_try" in
22656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22657 *) ac_try_echo=$ac_try;;
22658 esac
22659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22660 (eval "$ac_compile") 2>conftest.er1
22661 ac_status=$?
22662 grep -v '^ *+' conftest.er1 >conftest.err
22663 rm -f conftest.er1
22664 cat conftest.err >&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } && {
22667 test -z "$ac_c_werror_flag" ||
22668 test ! -s conftest.err
22669 } && test -s conftest.$ac_objext; then
22670 ac_hi=$ac_mid
22671 else
22672 echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.$ac_ext >&5
22674
22675 ac_lo=`expr '(' $ac_mid ')' + 1`
22676 fi
22677
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22679 done
22680 case $ac_lo in
22681 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22682 '') if test "$ac_cv_type_long_long" = yes; then
22683 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22684 See \`config.log' for more details." >&5
22685 echo "$as_me: error: cannot compute sizeof (long long)
22686 See \`config.log' for more details." >&2;}
22687 { (exit 77); exit 77; }; }
22688 else
22689 ac_cv_sizeof_long_long=0
22690 fi ;;
22691 esac
22692 else
22693 cat >conftest.$ac_ext <<_ACEOF
22694 /* confdefs.h. */
22695 _ACEOF
22696 cat confdefs.h >>conftest.$ac_ext
22697 cat >>conftest.$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22699 $ac_includes_default
22700 typedef long long ac__type_sizeof_;
22701 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22702 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22703 #include <stdio.h>
22704 #include <stdlib.h>
22705 int
22706 main ()
22707 {
22708
22709 FILE *f = fopen ("conftest.val", "w");
22710 if (! f)
22711 return 1;
22712 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22713 {
22714 long int i = longval ();
22715 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22716 return 1;
22717 fprintf (f, "%ld\n", i);
22718 }
22719 else
22720 {
22721 unsigned long int i = ulongval ();
22722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22723 return 1;
22724 fprintf (f, "%lu\n", i);
22725 }
22726 return ferror (f) || fclose (f) != 0;
22727
22728 ;
22729 return 0;
22730 }
22731 _ACEOF
22732 rm -f conftest$ac_exeext
22733 if { (ac_try="$ac_link"
22734 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22737 esac
22738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_link") 2>&5
22740 ac_status=$?
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22743 { (case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22746 esac
22747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_try") 2>&5
22749 ac_status=$?
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); }; }; then
22752 ac_cv_sizeof_long_long=`cat conftest.val`
22753 else
22754 echo "$as_me: program exited with status $ac_status" >&5
22755 echo "$as_me: failed program was:" >&5
22756 sed 's/^/| /' conftest.$ac_ext >&5
22757
22758 ( exit $ac_status )
22759 if test "$ac_cv_type_long_long" = yes; then
22760 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22761 See \`config.log' for more details." >&5
22762 echo "$as_me: error: cannot compute sizeof (long long)
22763 See \`config.log' for more details." >&2;}
22764 { (exit 77); exit 77; }; }
22765 else
22766 ac_cv_sizeof_long_long=0
22767 fi
22768 fi
22769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22770 fi
22771 rm -f conftest.val
22772 fi
22773 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22774 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22775
22776
22777
22778 cat >>confdefs.h <<_ACEOF
22779 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22780 _ACEOF
22781
22782
22783 esac
22784
22785 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22786 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22787 if test "${ac_cv_type_wchar_t+set}" = set; then
22788 echo $ECHO_N "(cached) $ECHO_C" >&6
22789 else
22790 cat >conftest.$ac_ext <<_ACEOF
22791 /* confdefs.h. */
22792 _ACEOF
22793 cat confdefs.h >>conftest.$ac_ext
22794 cat >>conftest.$ac_ext <<_ACEOF
22795 /* end confdefs.h. */
22796
22797 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22798 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22799 # error "fake wchar_t"
22800 #endif
22801 #ifdef HAVE_WCHAR_H
22802 # ifdef __CYGWIN__
22803 # include <stddef.h>
22804 # endif
22805 # include <wchar.h>
22806 #endif
22807 #ifdef HAVE_STDLIB_H
22808 # include <stdlib.h>
22809 #endif
22810 #include <stdio.h>
22811
22812
22813
22814 typedef wchar_t ac__type_new_;
22815 int
22816 main ()
22817 {
22818 if ((ac__type_new_ *) 0)
22819 return 0;
22820 if (sizeof (ac__type_new_))
22821 return 0;
22822 ;
22823 return 0;
22824 }
22825 _ACEOF
22826 rm -f conftest.$ac_objext
22827 if { (ac_try="$ac_compile"
22828 case "(($ac_try" in
22829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22830 *) ac_try_echo=$ac_try;;
22831 esac
22832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22833 (eval "$ac_compile") 2>conftest.er1
22834 ac_status=$?
22835 grep -v '^ *+' conftest.er1 >conftest.err
22836 rm -f conftest.er1
22837 cat conftest.err >&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } && {
22840 test -z "$ac_c_werror_flag" ||
22841 test ! -s conftest.err
22842 } && test -s conftest.$ac_objext; then
22843 ac_cv_type_wchar_t=yes
22844 else
22845 echo "$as_me: failed program was:" >&5
22846 sed 's/^/| /' conftest.$ac_ext >&5
22847
22848 ac_cv_type_wchar_t=no
22849 fi
22850
22851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22852 fi
22853 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22854 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22855
22856 # The cast to long int works around a bug in the HP C Compiler
22857 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22858 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22859 # This bug is HP SR number 8606223364.
22860 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22861 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22862 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22863 echo $ECHO_N "(cached) $ECHO_C" >&6
22864 else
22865 if test "$cross_compiling" = yes; then
22866 # Depending upon the size, compute the lo and hi bounds.
22867 cat >conftest.$ac_ext <<_ACEOF
22868 /* confdefs.h. */
22869 _ACEOF
22870 cat confdefs.h >>conftest.$ac_ext
22871 cat >>conftest.$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22873
22874 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22875 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22876 # error "fake wchar_t"
22877 #endif
22878 #ifdef HAVE_WCHAR_H
22879 # ifdef __CYGWIN__
22880 # include <stddef.h>
22881 # endif
22882 # include <wchar.h>
22883 #endif
22884 #ifdef HAVE_STDLIB_H
22885 # include <stdlib.h>
22886 #endif
22887 #include <stdio.h>
22888
22889
22890
22891 typedef wchar_t ac__type_sizeof_;
22892 int
22893 main ()
22894 {
22895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22896 test_array [0] = 0
22897
22898 ;
22899 return 0;
22900 }
22901 _ACEOF
22902 rm -f conftest.$ac_objext
22903 if { (ac_try="$ac_compile"
22904 case "(($ac_try" in
22905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22906 *) ac_try_echo=$ac_try;;
22907 esac
22908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22909 (eval "$ac_compile") 2>conftest.er1
22910 ac_status=$?
22911 grep -v '^ *+' conftest.er1 >conftest.err
22912 rm -f conftest.er1
22913 cat conftest.err >&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } && {
22916 test -z "$ac_c_werror_flag" ||
22917 test ! -s conftest.err
22918 } && test -s conftest.$ac_objext; then
22919 ac_lo=0 ac_mid=0
22920 while :; do
22921 cat >conftest.$ac_ext <<_ACEOF
22922 /* confdefs.h. */
22923 _ACEOF
22924 cat confdefs.h >>conftest.$ac_ext
22925 cat >>conftest.$ac_ext <<_ACEOF
22926 /* end confdefs.h. */
22927
22928 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22929 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22930 # error "fake wchar_t"
22931 #endif
22932 #ifdef HAVE_WCHAR_H
22933 # ifdef __CYGWIN__
22934 # include <stddef.h>
22935 # endif
22936 # include <wchar.h>
22937 #endif
22938 #ifdef HAVE_STDLIB_H
22939 # include <stdlib.h>
22940 #endif
22941 #include <stdio.h>
22942
22943
22944
22945 typedef wchar_t ac__type_sizeof_;
22946 int
22947 main ()
22948 {
22949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22950 test_array [0] = 0
22951
22952 ;
22953 return 0;
22954 }
22955 _ACEOF
22956 rm -f conftest.$ac_objext
22957 if { (ac_try="$ac_compile"
22958 case "(($ac_try" in
22959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22960 *) ac_try_echo=$ac_try;;
22961 esac
22962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22963 (eval "$ac_compile") 2>conftest.er1
22964 ac_status=$?
22965 grep -v '^ *+' conftest.er1 >conftest.err
22966 rm -f conftest.er1
22967 cat conftest.err >&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); } && {
22970 test -z "$ac_c_werror_flag" ||
22971 test ! -s conftest.err
22972 } && test -s conftest.$ac_objext; then
22973 ac_hi=$ac_mid; break
22974 else
22975 echo "$as_me: failed program was:" >&5
22976 sed 's/^/| /' conftest.$ac_ext >&5
22977
22978 ac_lo=`expr $ac_mid + 1`
22979 if test $ac_lo -le $ac_mid; then
22980 ac_lo= ac_hi=
22981 break
22982 fi
22983 ac_mid=`expr 2 '*' $ac_mid + 1`
22984 fi
22985
22986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22987 done
22988 else
22989 echo "$as_me: failed program was:" >&5
22990 sed 's/^/| /' conftest.$ac_ext >&5
22991
22992 cat >conftest.$ac_ext <<_ACEOF
22993 /* confdefs.h. */
22994 _ACEOF
22995 cat confdefs.h >>conftest.$ac_ext
22996 cat >>conftest.$ac_ext <<_ACEOF
22997 /* end confdefs.h. */
22998
22999 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23000 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23001 # error "fake wchar_t"
23002 #endif
23003 #ifdef HAVE_WCHAR_H
23004 # ifdef __CYGWIN__
23005 # include <stddef.h>
23006 # endif
23007 # include <wchar.h>
23008 #endif
23009 #ifdef HAVE_STDLIB_H
23010 # include <stdlib.h>
23011 #endif
23012 #include <stdio.h>
23013
23014
23015
23016 typedef wchar_t ac__type_sizeof_;
23017 int
23018 main ()
23019 {
23020 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23021 test_array [0] = 0
23022
23023 ;
23024 return 0;
23025 }
23026 _ACEOF
23027 rm -f conftest.$ac_objext
23028 if { (ac_try="$ac_compile"
23029 case "(($ac_try" in
23030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23031 *) ac_try_echo=$ac_try;;
23032 esac
23033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23034 (eval "$ac_compile") 2>conftest.er1
23035 ac_status=$?
23036 grep -v '^ *+' conftest.er1 >conftest.err
23037 rm -f conftest.er1
23038 cat conftest.err >&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } && {
23041 test -z "$ac_c_werror_flag" ||
23042 test ! -s conftest.err
23043 } && test -s conftest.$ac_objext; then
23044 ac_hi=-1 ac_mid=-1
23045 while :; do
23046 cat >conftest.$ac_ext <<_ACEOF
23047 /* confdefs.h. */
23048 _ACEOF
23049 cat confdefs.h >>conftest.$ac_ext
23050 cat >>conftest.$ac_ext <<_ACEOF
23051 /* end confdefs.h. */
23052
23053 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23054 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23055 # error "fake wchar_t"
23056 #endif
23057 #ifdef HAVE_WCHAR_H
23058 # ifdef __CYGWIN__
23059 # include <stddef.h>
23060 # endif
23061 # include <wchar.h>
23062 #endif
23063 #ifdef HAVE_STDLIB_H
23064 # include <stdlib.h>
23065 #endif
23066 #include <stdio.h>
23067
23068
23069
23070 typedef wchar_t ac__type_sizeof_;
23071 int
23072 main ()
23073 {
23074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23075 test_array [0] = 0
23076
23077 ;
23078 return 0;
23079 }
23080 _ACEOF
23081 rm -f conftest.$ac_objext
23082 if { (ac_try="$ac_compile"
23083 case "(($ac_try" in
23084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23085 *) ac_try_echo=$ac_try;;
23086 esac
23087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23088 (eval "$ac_compile") 2>conftest.er1
23089 ac_status=$?
23090 grep -v '^ *+' conftest.er1 >conftest.err
23091 rm -f conftest.er1
23092 cat conftest.err >&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } && {
23095 test -z "$ac_c_werror_flag" ||
23096 test ! -s conftest.err
23097 } && test -s conftest.$ac_objext; then
23098 ac_lo=$ac_mid; break
23099 else
23100 echo "$as_me: failed program was:" >&5
23101 sed 's/^/| /' conftest.$ac_ext >&5
23102
23103 ac_hi=`expr '(' $ac_mid ')' - 1`
23104 if test $ac_mid -le $ac_hi; then
23105 ac_lo= ac_hi=
23106 break
23107 fi
23108 ac_mid=`expr 2 '*' $ac_mid`
23109 fi
23110
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 done
23113 else
23114 echo "$as_me: failed program was:" >&5
23115 sed 's/^/| /' conftest.$ac_ext >&5
23116
23117 ac_lo= ac_hi=
23118 fi
23119
23120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23121 fi
23122
23123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23124 # Binary search between lo and hi bounds.
23125 while test "x$ac_lo" != "x$ac_hi"; do
23126 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23127 cat >conftest.$ac_ext <<_ACEOF
23128 /* confdefs.h. */
23129 _ACEOF
23130 cat confdefs.h >>conftest.$ac_ext
23131 cat >>conftest.$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23133
23134 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23135 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23136 # error "fake wchar_t"
23137 #endif
23138 #ifdef HAVE_WCHAR_H
23139 # ifdef __CYGWIN__
23140 # include <stddef.h>
23141 # endif
23142 # include <wchar.h>
23143 #endif
23144 #ifdef HAVE_STDLIB_H
23145 # include <stdlib.h>
23146 #endif
23147 #include <stdio.h>
23148
23149
23150
23151 typedef wchar_t ac__type_sizeof_;
23152 int
23153 main ()
23154 {
23155 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23156 test_array [0] = 0
23157
23158 ;
23159 return 0;
23160 }
23161 _ACEOF
23162 rm -f conftest.$ac_objext
23163 if { (ac_try="$ac_compile"
23164 case "(($ac_try" in
23165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23166 *) ac_try_echo=$ac_try;;
23167 esac
23168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23169 (eval "$ac_compile") 2>conftest.er1
23170 ac_status=$?
23171 grep -v '^ *+' conftest.er1 >conftest.err
23172 rm -f conftest.er1
23173 cat conftest.err >&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } && {
23176 test -z "$ac_c_werror_flag" ||
23177 test ! -s conftest.err
23178 } && test -s conftest.$ac_objext; then
23179 ac_hi=$ac_mid
23180 else
23181 echo "$as_me: failed program was:" >&5
23182 sed 's/^/| /' conftest.$ac_ext >&5
23183
23184 ac_lo=`expr '(' $ac_mid ')' + 1`
23185 fi
23186
23187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23188 done
23189 case $ac_lo in
23190 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23191 '') if test "$ac_cv_type_wchar_t" = yes; then
23192 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23193 See \`config.log' for more details." >&5
23194 echo "$as_me: error: cannot compute sizeof (wchar_t)
23195 See \`config.log' for more details." >&2;}
23196 { (exit 77); exit 77; }; }
23197 else
23198 ac_cv_sizeof_wchar_t=0
23199 fi ;;
23200 esac
23201 else
23202 cat >conftest.$ac_ext <<_ACEOF
23203 /* confdefs.h. */
23204 _ACEOF
23205 cat confdefs.h >>conftest.$ac_ext
23206 cat >>conftest.$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23208
23209 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23210 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23211 # error "fake wchar_t"
23212 #endif
23213 #ifdef HAVE_WCHAR_H
23214 # ifdef __CYGWIN__
23215 # include <stddef.h>
23216 # endif
23217 # include <wchar.h>
23218 #endif
23219 #ifdef HAVE_STDLIB_H
23220 # include <stdlib.h>
23221 #endif
23222 #include <stdio.h>
23223
23224
23225
23226 typedef wchar_t ac__type_sizeof_;
23227 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23228 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23229 #include <stdio.h>
23230 #include <stdlib.h>
23231 int
23232 main ()
23233 {
23234
23235 FILE *f = fopen ("conftest.val", "w");
23236 if (! f)
23237 return 1;
23238 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23239 {
23240 long int i = longval ();
23241 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23242 return 1;
23243 fprintf (f, "%ld\n", i);
23244 }
23245 else
23246 {
23247 unsigned long int i = ulongval ();
23248 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23249 return 1;
23250 fprintf (f, "%lu\n", i);
23251 }
23252 return ferror (f) || fclose (f) != 0;
23253
23254 ;
23255 return 0;
23256 }
23257 _ACEOF
23258 rm -f conftest$ac_exeext
23259 if { (ac_try="$ac_link"
23260 case "(($ac_try" in
23261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23262 *) ac_try_echo=$ac_try;;
23263 esac
23264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23265 (eval "$ac_link") 2>&5
23266 ac_status=$?
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23269 { (case "(($ac_try" in
23270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23271 *) ac_try_echo=$ac_try;;
23272 esac
23273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23274 (eval "$ac_try") 2>&5
23275 ac_status=$?
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); }; }; then
23278 ac_cv_sizeof_wchar_t=`cat conftest.val`
23279 else
23280 echo "$as_me: program exited with status $ac_status" >&5
23281 echo "$as_me: failed program was:" >&5
23282 sed 's/^/| /' conftest.$ac_ext >&5
23283
23284 ( exit $ac_status )
23285 if test "$ac_cv_type_wchar_t" = yes; then
23286 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23287 See \`config.log' for more details." >&5
23288 echo "$as_me: error: cannot compute sizeof (wchar_t)
23289 See \`config.log' for more details." >&2;}
23290 { (exit 77); exit 77; }; }
23291 else
23292 ac_cv_sizeof_wchar_t=0
23293 fi
23294 fi
23295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23296 fi
23297 rm -f conftest.val
23298 fi
23299 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23300 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23301
23302
23303
23304 cat >>confdefs.h <<_ACEOF
23305 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23306 _ACEOF
23307
23308
23309 if test "$ac_cv_sizeof_wchar_t" != 0; then
23310 wxUSE_WCHAR_T=yes
23311 else
23312 wxUSE_WCHAR_T=no
23313 fi
23314
23315 { echo "$as_me:$LINENO: checking for va_copy" >&5
23316 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23317 if test "${wx_cv_func_va_copy+set}" = set; then
23318 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 else
23320
23321 ac_ext=cpp
23322 ac_cpp='$CXXCPP $CPPFLAGS'
23323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23326
23327 cat >conftest.$ac_ext <<_ACEOF
23328
23329 #include <stdarg.h>
23330 void foo(char *f, ...)
23331 {
23332 va_list ap1, ap2;
23333 va_start(ap1, f);
23334 va_copy(ap2, ap1);
23335 va_end(ap2);
23336 va_end(ap1);
23337 }
23338 int main()
23339 {
23340 foo("hi", 17);
23341 return 0;
23342 }
23343 _ACEOF
23344 rm -f conftest.$ac_objext conftest$ac_exeext
23345 if { (ac_try="$ac_link"
23346 case "(($ac_try" in
23347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23348 *) ac_try_echo=$ac_try;;
23349 esac
23350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23351 (eval "$ac_link") 2>conftest.er1
23352 ac_status=$?
23353 grep -v '^ *+' conftest.er1 >conftest.err
23354 rm -f conftest.er1
23355 cat conftest.err >&5
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); } && {
23358 test -z "$ac_cxx_werror_flag" ||
23359 test ! -s conftest.err
23360 } && test -s conftest$ac_exeext &&
23361 $as_test_x conftest$ac_exeext; then
23362 wx_cv_func_va_copy=yes
23363 else
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.$ac_ext >&5
23366
23367 wx_cv_func_va_copy=no
23368
23369 fi
23370
23371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23372 conftest$ac_exeext conftest.$ac_ext
23373 ac_ext=c
23374 ac_cpp='$CPP $CPPFLAGS'
23375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23378
23379
23380
23381 fi
23382 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23383 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23384
23385 if test $wx_cv_func_va_copy = "yes"; then
23386 cat >>confdefs.h <<\_ACEOF
23387 #define HAVE_VA_COPY 1
23388 _ACEOF
23389
23390 else
23391 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23392 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23393 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23394 echo $ECHO_N "(cached) $ECHO_C" >&6
23395 else
23396
23397 if test "$cross_compiling" = yes; then
23398 wx_cv_type_va_list_lvalue=yes
23399
23400 else
23401 cat >conftest.$ac_ext <<_ACEOF
23402
23403 #include <stdarg.h>
23404 int foo(char *f, ...)
23405 {
23406 va_list ap1, ap2;
23407 va_start(ap1, f);
23408 ap2 = ap1;
23409 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23410 return 1;
23411 va_end(ap2);
23412 va_end(ap1);
23413 return 0;
23414 }
23415 int main()
23416 {
23417 return foo("hi", 17);
23418 }
23419 _ACEOF
23420 rm -f conftest$ac_exeext
23421 if { (ac_try="$ac_link"
23422 case "(($ac_try" in
23423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23424 *) ac_try_echo=$ac_try;;
23425 esac
23426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23427 (eval "$ac_link") 2>&5
23428 ac_status=$?
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23431 { (case "(($ac_try" in
23432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23433 *) ac_try_echo=$ac_try;;
23434 esac
23435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23436 (eval "$ac_try") 2>&5
23437 ac_status=$?
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); }; }; then
23440 wx_cv_type_va_list_lvalue=yes
23441 else
23442 echo "$as_me: program exited with status $ac_status" >&5
23443 echo "$as_me: failed program was:" >&5
23444 sed 's/^/| /' conftest.$ac_ext >&5
23445
23446 ( exit $ac_status )
23447 wx_cv_type_va_list_lvalue=no
23448 fi
23449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23450 fi
23451
23452
23453
23454
23455 fi
23456 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23457 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23458
23459 if test $wx_cv_type_va_list_lvalue != "yes"; then
23460 cat >>confdefs.h <<\_ACEOF
23461 #define VA_LIST_IS_ARRAY 1
23462 _ACEOF
23463
23464 fi
23465 fi
23466
23467 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23468
23469 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23470 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23471 if test "${wx_cv_have_variadic_macros+set}" = set; then
23472 echo $ECHO_N "(cached) $ECHO_C" >&6
23473 else
23474
23475 ac_ext=cpp
23476 ac_cpp='$CXXCPP $CPPFLAGS'
23477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23480
23481 cat >conftest.$ac_ext <<_ACEOF
23482 /* confdefs.h. */
23483 _ACEOF
23484 cat confdefs.h >>conftest.$ac_ext
23485 cat >>conftest.$ac_ext <<_ACEOF
23486 /* end confdefs.h. */
23487
23488 #include <stdio.h>
23489 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23490
23491 int
23492 main ()
23493 {
23494
23495 test("%s %d %p", "test", 1, 0);
23496
23497
23498 ;
23499 return 0;
23500 }
23501 _ACEOF
23502 rm -f conftest.$ac_objext
23503 if { (ac_try="$ac_compile"
23504 case "(($ac_try" in
23505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23506 *) ac_try_echo=$ac_try;;
23507 esac
23508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23509 (eval "$ac_compile") 2>conftest.er1
23510 ac_status=$?
23511 grep -v '^ *+' conftest.er1 >conftest.err
23512 rm -f conftest.er1
23513 cat conftest.err >&5
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); } && {
23516 test -z "$ac_cxx_werror_flag" ||
23517 test ! -s conftest.err
23518 } && test -s conftest.$ac_objext; then
23519 wx_cv_have_variadic_macros=yes
23520 else
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23523
23524 wx_cv_have_variadic_macros=no
23525
23526 fi
23527
23528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23529 ac_ext=c
23530 ac_cpp='$CPP $CPPFLAGS'
23531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23534
23535
23536
23537 fi
23538 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23539 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23540
23541 if test $wx_cv_have_variadic_macros = "yes"; then
23542 cat >>confdefs.h <<\_ACEOF
23543 #define HAVE_VARIADIC_MACROS 1
23544 _ACEOF
23545
23546 fi
23547
23548 fi
23549
23550 LARGEFILE_CPPFLAGS=
23551 # Check whether --enable-largefile was given.
23552 if test "${enable_largefile+set}" = set; then
23553 enableval=$enable_largefile;
23554 fi
23555
23556 if test "$enable_largefile" != no; then
23557 wx_largefile=no
23558
23559 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23560 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23561 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23562 echo $ECHO_N "(cached) $ECHO_C" >&6
23563 else
23564
23565 cat >conftest.$ac_ext <<_ACEOF
23566 /* confdefs.h. */
23567 _ACEOF
23568 cat confdefs.h >>conftest.$ac_ext
23569 cat >>conftest.$ac_ext <<_ACEOF
23570 /* end confdefs.h. */
23571 #define _FILE_OFFSET_BITS 64
23572 #include <sys/types.h>
23573 int
23574 main ()
23575 {
23576 typedef struct {
23577 unsigned int field: sizeof(off_t) == 8;
23578 } wxlf;
23579
23580 ;
23581 return 0;
23582 }
23583 _ACEOF
23584 rm -f conftest.$ac_objext
23585 if { (ac_try="$ac_compile"
23586 case "(($ac_try" in
23587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23588 *) ac_try_echo=$ac_try;;
23589 esac
23590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23591 (eval "$ac_compile") 2>conftest.er1
23592 ac_status=$?
23593 grep -v '^ *+' conftest.er1 >conftest.err
23594 rm -f conftest.er1
23595 cat conftest.err >&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); } && {
23598 test -z "$ac_c_werror_flag" ||
23599 test ! -s conftest.err
23600 } && test -s conftest.$ac_objext; then
23601 ac_cv_sys_file_offset_bits=64
23602 else
23603 echo "$as_me: failed program was:" >&5
23604 sed 's/^/| /' conftest.$ac_ext >&5
23605
23606 ac_cv_sys_file_offset_bits=no
23607 fi
23608
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610
23611
23612 fi
23613 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23614 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23615
23616 if test "$ac_cv_sys_file_offset_bits" != no; then
23617 wx_largefile=yes
23618 cat >>confdefs.h <<_ACEOF
23619 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23620 _ACEOF
23621
23622 fi
23623
23624 if test "x$wx_largefile" != "xyes"; then
23625
23626 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23627 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23628 if test "${ac_cv_sys_large_files+set}" = set; then
23629 echo $ECHO_N "(cached) $ECHO_C" >&6
23630 else
23631
23632 cat >conftest.$ac_ext <<_ACEOF
23633 /* confdefs.h. */
23634 _ACEOF
23635 cat confdefs.h >>conftest.$ac_ext
23636 cat >>conftest.$ac_ext <<_ACEOF
23637 /* end confdefs.h. */
23638 #define _LARGE_FILES 1
23639 #include <sys/types.h>
23640 int
23641 main ()
23642 {
23643 typedef struct {
23644 unsigned int field: sizeof(off_t) == 8;
23645 } wxlf;
23646
23647 ;
23648 return 0;
23649 }
23650 _ACEOF
23651 rm -f conftest.$ac_objext
23652 if { (ac_try="$ac_compile"
23653 case "(($ac_try" in
23654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23655 *) ac_try_echo=$ac_try;;
23656 esac
23657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23658 (eval "$ac_compile") 2>conftest.er1
23659 ac_status=$?
23660 grep -v '^ *+' conftest.er1 >conftest.err
23661 rm -f conftest.er1
23662 cat conftest.err >&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); } && {
23665 test -z "$ac_c_werror_flag" ||
23666 test ! -s conftest.err
23667 } && test -s conftest.$ac_objext; then
23668 ac_cv_sys_large_files=1
23669 else
23670 echo "$as_me: failed program was:" >&5
23671 sed 's/^/| /' conftest.$ac_ext >&5
23672
23673 ac_cv_sys_large_files=no
23674 fi
23675
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677
23678
23679 fi
23680 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23681 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23682
23683 if test "$ac_cv_sys_large_files" != no; then
23684 wx_largefile=yes
23685 cat >>confdefs.h <<_ACEOF
23686 #define _LARGE_FILES $ac_cv_sys_large_files
23687 _ACEOF
23688
23689 fi
23690
23691 fi
23692
23693 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23694 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23695 if test "x$wx_largefile" = "xyes"; then
23696 cat >>confdefs.h <<\_ACEOF
23697 #define HAVE_LARGEFILE_SUPPORT 1
23698 _ACEOF
23699
23700 fi
23701 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23702 echo "${ECHO_T}$wx_largefile" >&6; }
23703 fi
23704
23705 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23706 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23707 elif test "$ac_cv_sys_large_files" = 1; then
23708 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23709 fi
23710
23711 if test -n "$LARGEFILE_CPPFLAGS"; then
23712 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23713
23714 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23715 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23716 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23717 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23718 echo $ECHO_N "(cached) $ECHO_C" >&6
23719 else
23720
23721 ac_ext=cpp
23722 ac_cpp='$CXXCPP $CPPFLAGS'
23723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23726
23727 cat >conftest.$ac_ext <<_ACEOF
23728 /* confdefs.h. */
23729 _ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23733
23734 int
23735 main ()
23736 {
23737
23738 #ifndef __STDC_EXT__
23739 choke me
23740 #endif
23741
23742 ;
23743 return 0;
23744 }
23745 _ACEOF
23746 rm -f conftest.$ac_objext
23747 if { (ac_try="$ac_compile"
23748 case "(($ac_try" in
23749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23750 *) ac_try_echo=$ac_try;;
23751 esac
23752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23753 (eval "$ac_compile") 2>conftest.er1
23754 ac_status=$?
23755 grep -v '^ *+' conftest.er1 >conftest.err
23756 rm -f conftest.er1
23757 cat conftest.err >&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); } && {
23760 test -z "$ac_cxx_werror_flag" ||
23761 test ! -s conftest.err
23762 } && test -s conftest.$ac_objext; then
23763 wx_cv_STDC_EXT_required=no
23764 else
23765 echo "$as_me: failed program was:" >&5
23766 sed 's/^/| /' conftest.$ac_ext >&5
23767
23768 wx_cv_STDC_EXT_required=yes
23769
23770 fi
23771
23772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23773 ac_ext=c
23774 ac_cpp='$CPP $CPPFLAGS'
23775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23778
23779
23780
23781 fi
23782 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23783 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23784 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23785 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23786 fi
23787 fi
23788 fi
23789
23790 ac_ext=cpp
23791 ac_cpp='$CXXCPP $CPPFLAGS'
23792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23795
23796 old_CPPFLAGS="$CPPFLAGS"
23797 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23798 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23799 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23800 if test "${ac_cv_sys_largefile_source+set}" = set; then
23801 echo $ECHO_N "(cached) $ECHO_C" >&6
23802 else
23803 while :; do
23804 cat >conftest.$ac_ext <<_ACEOF
23805 /* confdefs.h. */
23806 _ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 #include <sys/types.h> /* for off_t */
23811 #include <stdio.h>
23812 int
23813 main ()
23814 {
23815 int (*fp) (FILE *, off_t, int) = fseeko;
23816 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23817 ;
23818 return 0;
23819 }
23820 _ACEOF
23821 rm -f conftest.$ac_objext conftest$ac_exeext
23822 if { (ac_try="$ac_link"
23823 case "(($ac_try" in
23824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23825 *) ac_try_echo=$ac_try;;
23826 esac
23827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23828 (eval "$ac_link") 2>conftest.er1
23829 ac_status=$?
23830 grep -v '^ *+' conftest.er1 >conftest.err
23831 rm -f conftest.er1
23832 cat conftest.err >&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } && {
23835 test -z "$ac_cxx_werror_flag" ||
23836 test ! -s conftest.err
23837 } && test -s conftest$ac_exeext &&
23838 $as_test_x conftest$ac_exeext; then
23839 ac_cv_sys_largefile_source=no; break
23840 else
23841 echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.$ac_ext >&5
23843
23844
23845 fi
23846
23847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23848 conftest$ac_exeext conftest.$ac_ext
23849 cat >conftest.$ac_ext <<_ACEOF
23850 /* confdefs.h. */
23851 _ACEOF
23852 cat confdefs.h >>conftest.$ac_ext
23853 cat >>conftest.$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23855 #define _LARGEFILE_SOURCE 1
23856 #include <sys/types.h> /* for off_t */
23857 #include <stdio.h>
23858 int
23859 main ()
23860 {
23861 int (*fp) (FILE *, off_t, int) = fseeko;
23862 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23863 ;
23864 return 0;
23865 }
23866 _ACEOF
23867 rm -f conftest.$ac_objext conftest$ac_exeext
23868 if { (ac_try="$ac_link"
23869 case "(($ac_try" in
23870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23871 *) ac_try_echo=$ac_try;;
23872 esac
23873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23874 (eval "$ac_link") 2>conftest.er1
23875 ac_status=$?
23876 grep -v '^ *+' conftest.er1 >conftest.err
23877 rm -f conftest.er1
23878 cat conftest.err >&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); } && {
23881 test -z "$ac_cxx_werror_flag" ||
23882 test ! -s conftest.err
23883 } && test -s conftest$ac_exeext &&
23884 $as_test_x conftest$ac_exeext; then
23885 ac_cv_sys_largefile_source=1; break
23886 else
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.$ac_ext >&5
23889
23890
23891 fi
23892
23893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23894 conftest$ac_exeext conftest.$ac_ext
23895 ac_cv_sys_largefile_source=unknown
23896 break
23897 done
23898 fi
23899 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23900 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23901 case $ac_cv_sys_largefile_source in #(
23902 no | unknown) ;;
23903 *)
23904 cat >>confdefs.h <<_ACEOF
23905 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23906 _ACEOF
23907 ;;
23908 esac
23909 rm -f conftest*
23910
23911 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23912 # in glibc 2.1.3, but that breaks too many other things.
23913 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23914 if test $ac_cv_sys_largefile_source != unknown; then
23915
23916 cat >>confdefs.h <<\_ACEOF
23917 #define HAVE_FSEEKO 1
23918 _ACEOF
23919
23920 fi
23921
23922 CPPFLAGS="$old_CPPFLAGS"
23923 ac_ext=c
23924 ac_cpp='$CPP $CPPFLAGS'
23925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23928
23929 if test "$ac_cv_sys_largefile_source" != no; then
23930 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23931 fi
23932
23933 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23934 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23935 if test "${ac_cv_c_bigendian+set}" = set; then
23936 echo $ECHO_N "(cached) $ECHO_C" >&6
23937 else
23938 ac_cv_c_bigendian=unknown
23939 # See if sys/param.h defines the BYTE_ORDER macro.
23940 cat >conftest.$ac_ext <<_ACEOF
23941 /* confdefs.h. */
23942 _ACEOF
23943 cat confdefs.h >>conftest.$ac_ext
23944 cat >>conftest.$ac_ext <<_ACEOF
23945 /* end confdefs.h. */
23946 #include <sys/types.h>
23947 #include <sys/param.h>
23948 int
23949 main ()
23950 {
23951
23952 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23953 bogus endian macros
23954 #endif
23955 ;
23956 return 0;
23957 }
23958 _ACEOF
23959 rm -f conftest.$ac_objext
23960 if { (ac_try="$ac_compile"
23961 case "(($ac_try" in
23962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23963 *) ac_try_echo=$ac_try;;
23964 esac
23965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23966 (eval "$ac_compile") 2>conftest.er1
23967 ac_status=$?
23968 grep -v '^ *+' conftest.er1 >conftest.err
23969 rm -f conftest.er1
23970 cat conftest.err >&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } && {
23973 test -z "$ac_c_werror_flag" ||
23974 test ! -s conftest.err
23975 } && test -s conftest.$ac_objext; then
23976 # It does; now see whether it defined to BIG_ENDIAN or not.
23977 cat >conftest.$ac_ext <<_ACEOF
23978 /* confdefs.h. */
23979 _ACEOF
23980 cat confdefs.h >>conftest.$ac_ext
23981 cat >>conftest.$ac_ext <<_ACEOF
23982 /* end confdefs.h. */
23983 #include <sys/types.h>
23984 #include <sys/param.h>
23985 int
23986 main ()
23987 {
23988
23989 #if BYTE_ORDER != BIG_ENDIAN
23990 not big endian
23991 #endif
23992 ;
23993 return 0;
23994 }
23995 _ACEOF
23996 rm -f conftest.$ac_objext
23997 if { (ac_try="$ac_compile"
23998 case "(($ac_try" in
23999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24000 *) ac_try_echo=$ac_try;;
24001 esac
24002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24003 (eval "$ac_compile") 2>conftest.er1
24004 ac_status=$?
24005 grep -v '^ *+' conftest.er1 >conftest.err
24006 rm -f conftest.er1
24007 cat conftest.err >&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } && {
24010 test -z "$ac_c_werror_flag" ||
24011 test ! -s conftest.err
24012 } && test -s conftest.$ac_objext; then
24013 ac_cv_c_bigendian=yes
24014 else
24015 echo "$as_me: failed program was:" >&5
24016 sed 's/^/| /' conftest.$ac_ext >&5
24017
24018 ac_cv_c_bigendian=no
24019 fi
24020
24021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24022 else
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.$ac_ext >&5
24025
24026
24027 fi
24028
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24030 if test $ac_cv_c_bigendian = unknown; then
24031 if test "$cross_compiling" = yes; then
24032 ac_cv_c_bigendian=unknown
24033 else
24034 cat >conftest.$ac_ext <<_ACEOF
24035 /* confdefs.h. */
24036 _ACEOF
24037 cat confdefs.h >>conftest.$ac_ext
24038 cat >>conftest.$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24040 main () {
24041 /* Are we little or big endian? From Harbison&Steele. */
24042 union
24043 {
24044 long l;
24045 char c[sizeof (long)];
24046 } u;
24047 u.l = 1;
24048 exit (u.c[sizeof (long) - 1] == 1);
24049 }
24050 _ACEOF
24051 rm -f conftest$ac_exeext
24052 if { (ac_try="$ac_link"
24053 case "(($ac_try" in
24054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24055 *) ac_try_echo=$ac_try;;
24056 esac
24057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24058 (eval "$ac_link") 2>&5
24059 ac_status=$?
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24062 { (case "(($ac_try" in
24063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24064 *) ac_try_echo=$ac_try;;
24065 esac
24066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24067 (eval "$ac_try") 2>&5
24068 ac_status=$?
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); }; }; then
24071 ac_cv_c_bigendian=no
24072 else
24073 echo "$as_me: program exited with status $ac_status" >&5
24074 echo "$as_me: failed program was:" >&5
24075 sed 's/^/| /' conftest.$ac_ext >&5
24076
24077 ( exit $ac_status )
24078 ac_cv_c_bigendian=yes
24079 fi
24080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24081 fi
24082
24083
24084 fi
24085 fi
24086 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24087 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24088 if test $ac_cv_c_bigendian = unknown; then
24089 { 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
24090 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;}
24091 fi
24092 if test $ac_cv_c_bigendian = yes; then
24093 cat >>confdefs.h <<\_ACEOF
24094 #define WORDS_BIGENDIAN 1
24095 _ACEOF
24096
24097 fi
24098
24099
24100
24101
24102 ac_ext=cpp
24103 ac_cpp='$CXXCPP $CPPFLAGS'
24104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24107
24108
24109
24110 for ac_header in iostream
24111 do
24112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24113 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24116 echo $ECHO_N "(cached) $ECHO_C" >&6
24117 else
24118 cat >conftest.$ac_ext <<_ACEOF
24119 /* confdefs.h. */
24120 _ACEOF
24121 cat confdefs.h >>conftest.$ac_ext
24122 cat >>conftest.$ac_ext <<_ACEOF
24123 /* end confdefs.h. */
24124
24125
24126 #include <$ac_header>
24127 _ACEOF
24128 rm -f conftest.$ac_objext
24129 if { (ac_try="$ac_compile"
24130 case "(($ac_try" in
24131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24132 *) ac_try_echo=$ac_try;;
24133 esac
24134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24135 (eval "$ac_compile") 2>conftest.er1
24136 ac_status=$?
24137 grep -v '^ *+' conftest.er1 >conftest.err
24138 rm -f conftest.er1
24139 cat conftest.err >&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); } && {
24142 test -z "$ac_cxx_werror_flag" ||
24143 test ! -s conftest.err
24144 } && test -s conftest.$ac_objext; then
24145 eval "$as_ac_Header=yes"
24146 else
24147 echo "$as_me: failed program was:" >&5
24148 sed 's/^/| /' conftest.$ac_ext >&5
24149
24150 eval "$as_ac_Header=no"
24151 fi
24152
24153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24154 fi
24155 ac_res=`eval echo '${'$as_ac_Header'}'`
24156 { echo "$as_me:$LINENO: result: $ac_res" >&5
24157 echo "${ECHO_T}$ac_res" >&6; }
24158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24159 cat >>confdefs.h <<_ACEOF
24160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24161 _ACEOF
24162
24163 fi
24164
24165 done
24166
24167
24168 if test "$ac_cv_header_iostream" = "yes" ; then
24169 :
24170 else
24171 cat >>confdefs.h <<\_ACEOF
24172 #define wxUSE_IOSTREAMH 1
24173 _ACEOF
24174
24175 fi
24176
24177 ac_ext=c
24178 ac_cpp='$CPP $CPPFLAGS'
24179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24182
24183
24184
24185
24186 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24187 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24188 if test "${wx_cv_explicit+set}" = set; then
24189 echo $ECHO_N "(cached) $ECHO_C" >&6
24190 else
24191
24192
24193 ac_ext=cpp
24194 ac_cpp='$CXXCPP $CPPFLAGS'
24195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24198
24199
24200 cat >conftest.$ac_ext <<_ACEOF
24201 /* confdefs.h. */
24202 _ACEOF
24203 cat confdefs.h >>conftest.$ac_ext
24204 cat >>conftest.$ac_ext <<_ACEOF
24205 /* end confdefs.h. */
24206
24207 class Foo { public: explicit Foo(int) {} };
24208
24209 int
24210 main ()
24211 {
24212
24213 return 0;
24214
24215 ;
24216 return 0;
24217 }
24218 _ACEOF
24219 rm -f conftest.$ac_objext
24220 if { (ac_try="$ac_compile"
24221 case "(($ac_try" in
24222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24223 *) ac_try_echo=$ac_try;;
24224 esac
24225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24226 (eval "$ac_compile") 2>conftest.er1
24227 ac_status=$?
24228 grep -v '^ *+' conftest.er1 >conftest.err
24229 rm -f conftest.er1
24230 cat conftest.err >&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); } && {
24233 test -z "$ac_cxx_werror_flag" ||
24234 test ! -s conftest.err
24235 } && test -s conftest.$ac_objext; then
24236
24237 cat >conftest.$ac_ext <<_ACEOF
24238 /* confdefs.h. */
24239 _ACEOF
24240 cat confdefs.h >>conftest.$ac_ext
24241 cat >>conftest.$ac_ext <<_ACEOF
24242 /* end confdefs.h. */
24243
24244 class Foo { public: explicit Foo(int) {} };
24245 static void TakeFoo(const Foo& foo) { }
24246
24247 int
24248 main ()
24249 {
24250
24251 TakeFoo(17);
24252 return 0;
24253
24254 ;
24255 return 0;
24256 }
24257 _ACEOF
24258 rm -f conftest.$ac_objext
24259 if { (ac_try="$ac_compile"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24263 esac
24264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24265 (eval "$ac_compile") 2>conftest.er1
24266 ac_status=$?
24267 grep -v '^ *+' conftest.er1 >conftest.err
24268 rm -f conftest.er1
24269 cat conftest.err >&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } && {
24272 test -z "$ac_cxx_werror_flag" ||
24273 test ! -s conftest.err
24274 } && test -s conftest.$ac_objext; then
24275 wx_cv_explicit=no
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280 wx_cv_explicit=yes
24281
24282 fi
24283
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285
24286 else
24287 echo "$as_me: failed program was:" >&5
24288 sed 's/^/| /' conftest.$ac_ext >&5
24289
24290 wx_cv_explicit=no
24291
24292 fi
24293
24294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24295
24296 ac_ext=c
24297 ac_cpp='$CPP $CPPFLAGS'
24298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24301
24302
24303 fi
24304 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24305 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24306
24307 if test "$wx_cv_explicit" = "yes"; then
24308 cat >>confdefs.h <<\_ACEOF
24309 #define HAVE_EXPLICIT 1
24310 _ACEOF
24311
24312 fi
24313
24314
24315 if test "x$SUNCXX" = xyes; then
24316 CXXFLAGS="-features=tmplife $CXXFLAGS"
24317 fi
24318
24319 if test "x$SUNCC" = xyes; then
24320 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24321 fi
24322
24323 if test "x$SGICC" = "xyes"; then
24324 CFLAGS="-woff 3970 $CFLAGS"
24325 fi
24326 if test "x$SGICXX" = "xyes"; then
24327 CXXFLAGS="-woff 3970 $CXXFLAGS"
24328 fi
24329
24330 if test "x$HPCC" = "xyes"; then
24331 CFLAGS="+W 2011,2450 $CFLAGS"
24332 fi
24333 if test "x$HPCXX" = "xyes"; then
24334 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24335 fi
24336
24337 if test "x$COMPAQCXX" = "xyes"; then
24338 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24339 fi
24340
24341 ac_ext=cpp
24342 ac_cpp='$CXXCPP $CPPFLAGS'
24343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24346
24347
24348 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24349 if test "$wxUSE_UNICODE" = "yes"; then
24350 std_string="std::wstring"
24351 char_type="wchar_t"
24352 else
24353 std_string="std::string"
24354 char_type="char"
24355 fi
24356
24357 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24358 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24359 if test "${wx_cv_class_stdstring+set}" = set; then
24360 echo $ECHO_N "(cached) $ECHO_C" >&6
24361 else
24362
24363 cat >conftest.$ac_ext <<_ACEOF
24364 /* confdefs.h. */
24365 _ACEOF
24366 cat confdefs.h >>conftest.$ac_ext
24367 cat >>conftest.$ac_ext <<_ACEOF
24368 /* end confdefs.h. */
24369 #include <string>
24370 int
24371 main ()
24372 {
24373 $std_string foo;
24374 ;
24375 return 0;
24376 }
24377 _ACEOF
24378 rm -f conftest.$ac_objext
24379 if { (ac_try="$ac_compile"
24380 case "(($ac_try" in
24381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24382 *) ac_try_echo=$ac_try;;
24383 esac
24384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24385 (eval "$ac_compile") 2>conftest.er1
24386 ac_status=$?
24387 grep -v '^ *+' conftest.er1 >conftest.err
24388 rm -f conftest.er1
24389 cat conftest.err >&5
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); } && {
24392 test -z "$ac_cxx_werror_flag" ||
24393 test ! -s conftest.err
24394 } && test -s conftest.$ac_objext; then
24395 wx_cv_class_stdstring=yes
24396 else
24397 echo "$as_me: failed program was:" >&5
24398 sed 's/^/| /' conftest.$ac_ext >&5
24399
24400 wx_cv_class_stdstring=no
24401
24402 fi
24403
24404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24405
24406
24407 fi
24408 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24409 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24410
24411 if test "$wx_cv_class_stdstring" = yes; then
24412 if test "$wxUSE_UNICODE" = "yes"; then
24413 cat >>confdefs.h <<\_ACEOF
24414 #define HAVE_STD_WSTRING 1
24415 _ACEOF
24416
24417 fi
24418 else
24419 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24420 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24421 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 else
24424
24425 cat >conftest.$ac_ext <<_ACEOF
24426 /* confdefs.h. */
24427 _ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24431
24432 #ifdef HAVE_WCHAR_H
24433 # ifdef __CYGWIN__
24434 # include <stddef.h>
24435 # endif
24436 # include <wchar.h>
24437 #endif
24438 #ifdef HAVE_STDLIB_H
24439 # include <stdlib.h>
24440 #endif
24441 #include <stdio.h>
24442 #include <string>
24443
24444 int
24445 main ()
24446 {
24447 std::basic_string<$char_type> foo;
24448 const $char_type* dummy = foo.c_str();
24449 ;
24450 return 0;
24451 }
24452 _ACEOF
24453 rm -f conftest.$ac_objext
24454 if { (ac_try="$ac_compile"
24455 case "(($ac_try" in
24456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24457 *) ac_try_echo=$ac_try;;
24458 esac
24459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24460 (eval "$ac_compile") 2>conftest.er1
24461 ac_status=$?
24462 grep -v '^ *+' conftest.er1 >conftest.err
24463 rm -f conftest.er1
24464 cat conftest.err >&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } && {
24467 test -z "$ac_cxx_werror_flag" ||
24468 test ! -s conftest.err
24469 } && test -s conftest.$ac_objext; then
24470 wx_cv_class_stdbasicstring=yes
24471 else
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.$ac_ext >&5
24474
24475 wx_cv_class_stdbasicstring=no
24476
24477 fi
24478
24479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24480
24481
24482 fi
24483 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24484 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24485
24486 if test "$wx_cv_class_stdbasicstring" != yes; then
24487 if test "$wxUSE_STL" = "yes"; then
24488 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24489 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24490 { (exit 1); exit 1; }; }
24491 elif test "$wxUSE_STD_STRING" = "yes"; then
24492 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24493 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24494 { (exit 1); exit 1; }; }
24495 else
24496 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24497 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24498 wxUSE_STD_STRING=no
24499 fi
24500 fi
24501 fi
24502 fi
24503
24504 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24505 { echo "$as_me:$LINENO: checking for std::istream" >&5
24506 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24507 if test "${ac_cv_type_std__istream+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24509 else
24510 cat >conftest.$ac_ext <<_ACEOF
24511 /* confdefs.h. */
24512 _ACEOF
24513 cat confdefs.h >>conftest.$ac_ext
24514 cat >>conftest.$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24516 #include <iostream>
24517
24518 typedef std::istream ac__type_new_;
24519 int
24520 main ()
24521 {
24522 if ((ac__type_new_ *) 0)
24523 return 0;
24524 if (sizeof (ac__type_new_))
24525 return 0;
24526 ;
24527 return 0;
24528 }
24529 _ACEOF
24530 rm -f conftest.$ac_objext
24531 if { (ac_try="$ac_compile"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24535 esac
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_compile") 2>conftest.er1
24538 ac_status=$?
24539 grep -v '^ *+' conftest.er1 >conftest.err
24540 rm -f conftest.er1
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_cxx_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest.$ac_objext; then
24547 ac_cv_type_std__istream=yes
24548 else
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24551
24552 ac_cv_type_std__istream=no
24553 fi
24554
24555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24556 fi
24557 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24558 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24559 if test $ac_cv_type_std__istream = yes; then
24560
24561 cat >>confdefs.h <<_ACEOF
24562 #define HAVE_STD__ISTREAM 1
24563 _ACEOF
24564
24565
24566 else
24567 wxUSE_STD_IOSTREAM=no
24568 fi
24569 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24570 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24571 if test "${ac_cv_type_std__ostream+set}" = set; then
24572 echo $ECHO_N "(cached) $ECHO_C" >&6
24573 else
24574 cat >conftest.$ac_ext <<_ACEOF
24575 /* confdefs.h. */
24576 _ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580 #include <iostream>
24581
24582 typedef std::ostream ac__type_new_;
24583 int
24584 main ()
24585 {
24586 if ((ac__type_new_ *) 0)
24587 return 0;
24588 if (sizeof (ac__type_new_))
24589 return 0;
24590 ;
24591 return 0;
24592 }
24593 _ACEOF
24594 rm -f conftest.$ac_objext
24595 if { (ac_try="$ac_compile"
24596 case "(($ac_try" in
24597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24598 *) ac_try_echo=$ac_try;;
24599 esac
24600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24601 (eval "$ac_compile") 2>conftest.er1
24602 ac_status=$?
24603 grep -v '^ *+' conftest.er1 >conftest.err
24604 rm -f conftest.er1
24605 cat conftest.err >&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); } && {
24608 test -z "$ac_cxx_werror_flag" ||
24609 test ! -s conftest.err
24610 } && test -s conftest.$ac_objext; then
24611 ac_cv_type_std__ostream=yes
24612 else
24613 echo "$as_me: failed program was:" >&5
24614 sed 's/^/| /' conftest.$ac_ext >&5
24615
24616 ac_cv_type_std__ostream=no
24617 fi
24618
24619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24620 fi
24621 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24622 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24623 if test $ac_cv_type_std__ostream = yes; then
24624
24625 cat >>confdefs.h <<_ACEOF
24626 #define HAVE_STD__OSTREAM 1
24627 _ACEOF
24628
24629
24630 else
24631 wxUSE_STD_IOSTREAM=no
24632 fi
24633
24634
24635 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24636 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24637 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24638 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24639 { (exit 1); exit 1; }; }
24640 else
24641 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24642 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24643 fi
24644 fi
24645 fi
24646
24647 if test "$wxUSE_STL" = "yes"; then
24648 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24649 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24650 if test "${wx_cv_lib_stl+set}" = set; then
24651 echo $ECHO_N "(cached) $ECHO_C" >&6
24652 else
24653 cat >conftest.$ac_ext <<_ACEOF
24654 /* confdefs.h. */
24655 _ACEOF
24656 cat confdefs.h >>conftest.$ac_ext
24657 cat >>conftest.$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24659 #include <string>
24660 #include <functional>
24661 #include <algorithm>
24662 #include <vector>
24663 #include <list>
24664 int
24665 main ()
24666 {
24667 std::vector<int> moo;
24668 std::list<int> foo;
24669 std::vector<int>::iterator it =
24670 std::find_if(moo.begin(), moo.end(),
24671 std::bind2nd(std::less<int>(), 3));
24672 ;
24673 return 0;
24674 }
24675 _ACEOF
24676 rm -f conftest.$ac_objext
24677 if { (ac_try="$ac_compile"
24678 case "(($ac_try" in
24679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24680 *) ac_try_echo=$ac_try;;
24681 esac
24682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24683 (eval "$ac_compile") 2>conftest.er1
24684 ac_status=$?
24685 grep -v '^ *+' conftest.er1 >conftest.err
24686 rm -f conftest.er1
24687 cat conftest.err >&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } && {
24690 test -z "$ac_cxx_werror_flag" ||
24691 test ! -s conftest.err
24692 } && test -s conftest.$ac_objext; then
24693 wx_cv_lib_stl=yes
24694 else
24695 echo "$as_me: failed program was:" >&5
24696 sed 's/^/| /' conftest.$ac_ext >&5
24697
24698 wx_cv_lib_stl=no
24699
24700 fi
24701
24702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24703
24704 fi
24705 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24706 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24707
24708 if test "$wx_cv_lib_stl" != yes; then
24709 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24710 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24711 { (exit 1); exit 1; }; }
24712 fi
24713
24714 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24715 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24716 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24717 echo $ECHO_N "(cached) $ECHO_C" >&6
24718 else
24719 cat >conftest.$ac_ext <<_ACEOF
24720 /* confdefs.h. */
24721 _ACEOF
24722 cat confdefs.h >>conftest.$ac_ext
24723 cat >>conftest.$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24725 #include <string>
24726 int
24727 main ()
24728 {
24729 std::string foo, bar;
24730 foo.compare(bar);
24731 foo.compare(1, 1, bar);
24732 foo.compare(1, 1, bar, 1, 1);
24733 foo.compare("");
24734 foo.compare(1, 1, "");
24735 foo.compare(1, 1, "", 2);
24736 ;
24737 return 0;
24738 }
24739 _ACEOF
24740 rm -f conftest.$ac_objext
24741 if { (ac_try="$ac_compile"
24742 case "(($ac_try" in
24743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24744 *) ac_try_echo=$ac_try;;
24745 esac
24746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24747 (eval "$ac_compile") 2>conftest.er1
24748 ac_status=$?
24749 grep -v '^ *+' conftest.er1 >conftest.err
24750 rm -f conftest.er1
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } && {
24754 test -z "$ac_cxx_werror_flag" ||
24755 test ! -s conftest.err
24756 } && test -s conftest.$ac_objext; then
24757 wx_cv_func_stdstring_compare=yes
24758 else
24759 echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.$ac_ext >&5
24761
24762 wx_cv_func_stdstring_compare=no
24763
24764 fi
24765
24766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24767
24768 fi
24769 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24770 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24771
24772 if test "$wx_cv_func_stdstring_compare" = yes; then
24773 cat >>confdefs.h <<\_ACEOF
24774 #define HAVE_STD_STRING_COMPARE 1
24775 _ACEOF
24776
24777 fi
24778
24779 if test "$wx_cv_class_gnuhashmapset" = yes; then
24780 cat >>confdefs.h <<\_ACEOF
24781 #define HAVE_EXT_HASH_MAP 1
24782 _ACEOF
24783
24784 cat >>confdefs.h <<\_ACEOF
24785 #define HAVE_GNU_CXX_HASH_MAP 1
24786 _ACEOF
24787
24788 fi
24789
24790 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24791 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24792 if test "${ac_cv_header_unordered_map+set}" = set; then
24793 echo $ECHO_N "(cached) $ECHO_C" >&6
24794 else
24795 cat >conftest.$ac_ext <<_ACEOF
24796 /* confdefs.h. */
24797 _ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24801
24802
24803
24804 #include <unordered_map>
24805 _ACEOF
24806 rm -f conftest.$ac_objext
24807 if { (ac_try="$ac_compile"
24808 case "(($ac_try" in
24809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24810 *) ac_try_echo=$ac_try;;
24811 esac
24812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24813 (eval "$ac_compile") 2>conftest.er1
24814 ac_status=$?
24815 grep -v '^ *+' conftest.er1 >conftest.err
24816 rm -f conftest.er1
24817 cat conftest.err >&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); } && {
24820 test -z "$ac_cxx_werror_flag" ||
24821 test ! -s conftest.err
24822 } && test -s conftest.$ac_objext; then
24823 ac_cv_header_unordered_map=yes
24824 else
24825 echo "$as_me: failed program was:" >&5
24826 sed 's/^/| /' conftest.$ac_ext >&5
24827
24828 ac_cv_header_unordered_map=no
24829 fi
24830
24831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24832 fi
24833 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24834 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24835 if test $ac_cv_header_unordered_map = yes; then
24836 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24837 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24838 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24840 else
24841 cat >conftest.$ac_ext <<_ACEOF
24842 /* confdefs.h. */
24843 _ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847 #include <unordered_map>
24848 #include <unordered_set>
24849 int
24850 main ()
24851 {
24852 std::unordered_map<double*, char*> test1;
24853 std::unordered_set<char*> test2;
24854 ;
24855 return 0;
24856 }
24857 _ACEOF
24858 rm -f conftest.$ac_objext
24859 if { (ac_try="$ac_compile"
24860 case "(($ac_try" in
24861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24862 *) ac_try_echo=$ac_try;;
24863 esac
24864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24865 (eval "$ac_compile") 2>conftest.er1
24866 ac_status=$?
24867 grep -v '^ *+' conftest.er1 >conftest.err
24868 rm -f conftest.er1
24869 cat conftest.err >&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); } && {
24872 test -z "$ac_cxx_werror_flag" ||
24873 test ! -s conftest.err
24874 } && test -s conftest.$ac_objext; then
24875 wx_cv_class_stdunorderedmapset=yes
24876 else
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.$ac_ext >&5
24879
24880 wx_cv_class_stdunorderedmapset=no
24881 fi
24882
24883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24884
24885
24886 fi
24887 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24888 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24889 fi
24890
24891
24892
24893 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24894 cat >>confdefs.h <<\_ACEOF
24895 #define HAVE_STD_UNORDERED_MAP 1
24896 _ACEOF
24897
24898 cat >>confdefs.h <<\_ACEOF
24899 #define HAVE_STD_UNORDERED_SET 1
24900 _ACEOF
24901
24902 else
24903 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24904 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24905 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24906 echo $ECHO_N "(cached) $ECHO_C" >&6
24907 else
24908 cat >conftest.$ac_ext <<_ACEOF
24909 /* confdefs.h. */
24910 _ACEOF
24911 cat confdefs.h >>conftest.$ac_ext
24912 cat >>conftest.$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24914
24915
24916
24917 #include <tr1/unordered_map>
24918 _ACEOF
24919 rm -f conftest.$ac_objext
24920 if { (ac_try="$ac_compile"
24921 case "(($ac_try" in
24922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24923 *) ac_try_echo=$ac_try;;
24924 esac
24925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24926 (eval "$ac_compile") 2>conftest.er1
24927 ac_status=$?
24928 grep -v '^ *+' conftest.er1 >conftest.err
24929 rm -f conftest.er1
24930 cat conftest.err >&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && {
24933 test -z "$ac_cxx_werror_flag" ||
24934 test ! -s conftest.err
24935 } && test -s conftest.$ac_objext; then
24936 ac_cv_header_tr1_unordered_map=yes
24937 else
24938 echo "$as_me: failed program was:" >&5
24939 sed 's/^/| /' conftest.$ac_ext >&5
24940
24941 ac_cv_header_tr1_unordered_map=no
24942 fi
24943
24944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24945 fi
24946 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24947 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24948 if test $ac_cv_header_tr1_unordered_map = yes; then
24949 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24950 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24951 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24952 echo $ECHO_N "(cached) $ECHO_C" >&6
24953 else
24954 cat >conftest.$ac_ext <<_ACEOF
24955 /* confdefs.h. */
24956 _ACEOF
24957 cat confdefs.h >>conftest.$ac_ext
24958 cat >>conftest.$ac_ext <<_ACEOF
24959 /* end confdefs.h. */
24960 #include <tr1/unordered_map>
24961 #include <tr1/unordered_set>
24962 int
24963 main ()
24964 {
24965 std::tr1::unordered_map<double*, char*> test1;
24966 std::tr1::unordered_set<char*> test2;
24967 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24968 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24969 #endif
24970 ;
24971 return 0;
24972 }
24973 _ACEOF
24974 rm -f conftest.$ac_objext
24975 if { (ac_try="$ac_compile"
24976 case "(($ac_try" in
24977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24978 *) ac_try_echo=$ac_try;;
24979 esac
24980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24981 (eval "$ac_compile") 2>conftest.er1
24982 ac_status=$?
24983 grep -v '^ *+' conftest.er1 >conftest.err
24984 rm -f conftest.er1
24985 cat conftest.err >&5
24986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24987 (exit $ac_status); } && {
24988 test -z "$ac_cxx_werror_flag" ||
24989 test ! -s conftest.err
24990 } && test -s conftest.$ac_objext; then
24991 wx_cv_class_tr1unorderedmapset=yes
24992 else
24993 echo "$as_me: failed program was:" >&5
24994 sed 's/^/| /' conftest.$ac_ext >&5
24995
24996 wx_cv_class_tr1unorderedmapset=no
24997 fi
24998
24999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25000
25001
25002 fi
25003 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25004 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25005 fi
25006
25007
25008
25009 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25010 cat >>confdefs.h <<\_ACEOF
25011 #define HAVE_TR1_UNORDERED_MAP 1
25012 _ACEOF
25013
25014 cat >>confdefs.h <<\_ACEOF
25015 #define HAVE_TR1_UNORDERED_SET 1
25016 _ACEOF
25017
25018 else
25019 { echo "$as_me:$LINENO: checking for hash_map" >&5
25020 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25021 if test "${ac_cv_header_hash_map+set}" = set; then
25022 echo $ECHO_N "(cached) $ECHO_C" >&6
25023 else
25024 cat >conftest.$ac_ext <<_ACEOF
25025 /* confdefs.h. */
25026 _ACEOF
25027 cat confdefs.h >>conftest.$ac_ext
25028 cat >>conftest.$ac_ext <<_ACEOF
25029 /* end confdefs.h. */
25030
25031
25032
25033 #include <hash_map>
25034 _ACEOF
25035 rm -f conftest.$ac_objext
25036 if { (ac_try="$ac_compile"
25037 case "(($ac_try" in
25038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25039 *) ac_try_echo=$ac_try;;
25040 esac
25041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25042 (eval "$ac_compile") 2>conftest.er1
25043 ac_status=$?
25044 grep -v '^ *+' conftest.er1 >conftest.err
25045 rm -f conftest.er1
25046 cat conftest.err >&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); } && {
25049 test -z "$ac_cxx_werror_flag" ||
25050 test ! -s conftest.err
25051 } && test -s conftest.$ac_objext; then
25052 ac_cv_header_hash_map=yes
25053 else
25054 echo "$as_me: failed program was:" >&5
25055 sed 's/^/| /' conftest.$ac_ext >&5
25056
25057 ac_cv_header_hash_map=no
25058 fi
25059
25060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25061 fi
25062 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25063 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25064 if test $ac_cv_header_hash_map = yes; then
25065 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25066 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25067 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25068 echo $ECHO_N "(cached) $ECHO_C" >&6
25069 else
25070 cat >conftest.$ac_ext <<_ACEOF
25071 /* confdefs.h. */
25072 _ACEOF
25073 cat confdefs.h >>conftest.$ac_ext
25074 cat >>conftest.$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25076 #include <hash_map>
25077 #include <hash_set>
25078 int
25079 main ()
25080 {
25081 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25082 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25083 ;
25084 return 0;
25085 }
25086 _ACEOF
25087 rm -f conftest.$ac_objext
25088 if { (ac_try="$ac_compile"
25089 case "(($ac_try" in
25090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25091 *) ac_try_echo=$ac_try;;
25092 esac
25093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25094 (eval "$ac_compile") 2>conftest.er1
25095 ac_status=$?
25096 grep -v '^ *+' conftest.er1 >conftest.err
25097 rm -f conftest.er1
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } && {
25101 test -z "$ac_cxx_werror_flag" ||
25102 test ! -s conftest.err
25103 } && test -s conftest.$ac_objext; then
25104 wx_cv_class_stdhashmapset=yes
25105 else
25106 echo "$as_me: failed program was:" >&5
25107 sed 's/^/| /' conftest.$ac_ext >&5
25108
25109 wx_cv_class_stdhashmapset=no
25110 fi
25111
25112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25113
25114
25115 fi
25116 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25117 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25118 fi
25119
25120
25121
25122 if test "$wx_cv_class_stdhashmapset" = yes; then
25123 cat >>confdefs.h <<\_ACEOF
25124 #define HAVE_HASH_MAP 1
25125 _ACEOF
25126
25127 cat >>confdefs.h <<\_ACEOF
25128 #define HAVE_STD_HASH_MAP 1
25129 _ACEOF
25130
25131 fi
25132
25133 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25134 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25135 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25137 else
25138 cat >conftest.$ac_ext <<_ACEOF
25139 /* confdefs.h. */
25140 _ACEOF
25141 cat confdefs.h >>conftest.$ac_ext
25142 cat >>conftest.$ac_ext <<_ACEOF
25143 /* end confdefs.h. */
25144
25145
25146
25147 #include <ext/hash_map>
25148 _ACEOF
25149 rm -f conftest.$ac_objext
25150 if { (ac_try="$ac_compile"
25151 case "(($ac_try" in
25152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25153 *) ac_try_echo=$ac_try;;
25154 esac
25155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25156 (eval "$ac_compile") 2>conftest.er1
25157 ac_status=$?
25158 grep -v '^ *+' conftest.er1 >conftest.err
25159 rm -f conftest.er1
25160 cat conftest.err >&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } && {
25163 test -z "$ac_cxx_werror_flag" ||
25164 test ! -s conftest.err
25165 } && test -s conftest.$ac_objext; then
25166 ac_cv_header_ext_hash_map=yes
25167 else
25168 echo "$as_me: failed program was:" >&5
25169 sed 's/^/| /' conftest.$ac_ext >&5
25170
25171 ac_cv_header_ext_hash_map=no
25172 fi
25173
25174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25175 fi
25176 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25177 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25178 if test $ac_cv_header_ext_hash_map = yes; then
25179 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25180 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25181 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25182 echo $ECHO_N "(cached) $ECHO_C" >&6
25183 else
25184 cat >conftest.$ac_ext <<_ACEOF
25185 /* confdefs.h. */
25186 _ACEOF
25187 cat confdefs.h >>conftest.$ac_ext
25188 cat >>conftest.$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25190 #include <ext/hash_map>
25191 #include <ext/hash_set>
25192 int
25193 main ()
25194 {
25195 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25196 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25197 ;
25198 return 0;
25199 }
25200 _ACEOF
25201 rm -f conftest.$ac_objext
25202 if { (ac_try="$ac_compile"
25203 case "(($ac_try" in
25204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25205 *) ac_try_echo=$ac_try;;
25206 esac
25207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25208 (eval "$ac_compile") 2>conftest.er1
25209 ac_status=$?
25210 grep -v '^ *+' conftest.er1 >conftest.err
25211 rm -f conftest.er1
25212 cat conftest.err >&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); } && {
25215 test -z "$ac_cxx_werror_flag" ||
25216 test ! -s conftest.err
25217 } && test -s conftest.$ac_objext; then
25218 wx_cv_class_gnuhashmapset=yes
25219 else
25220 echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.$ac_ext >&5
25222
25223 wx_cv_class_gnuhashmapset=no
25224 fi
25225
25226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25227
25228
25229 fi
25230 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25231 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25232 fi
25233
25234
25235
25236 fi
25237 fi
25238 fi
25239
25240
25241
25242 if test -n "$GCC"; then
25243 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25244 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25245 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25246 echo $ECHO_N "(cached) $ECHO_C" >&6
25247 else
25248
25249 cat >conftest.$ac_ext <<_ACEOF
25250 /* confdefs.h. */
25251 _ACEOF
25252 cat confdefs.h >>conftest.$ac_ext
25253 cat >>conftest.$ac_ext <<_ACEOF
25254 /* end confdefs.h. */
25255
25256 int
25257 main ()
25258 {
25259
25260 unsigned int value=0;
25261 /* wxAtomicInc doesn't use return value here */
25262 __sync_fetch_and_add(&value, 2);
25263 __sync_sub_and_fetch(&value, 1);
25264 /* but wxAtomicDec does, so mimic that: */
25265 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25266
25267 ;
25268 return 0;
25269 }
25270 _ACEOF
25271 rm -f conftest.$ac_objext conftest$ac_exeext
25272 if { (ac_try="$ac_link"
25273 case "(($ac_try" in
25274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25275 *) ac_try_echo=$ac_try;;
25276 esac
25277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25278 (eval "$ac_link") 2>conftest.er1
25279 ac_status=$?
25280 grep -v '^ *+' conftest.er1 >conftest.err
25281 rm -f conftest.er1
25282 cat conftest.err >&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); } && {
25285 test -z "$ac_cxx_werror_flag" ||
25286 test ! -s conftest.err
25287 } && test -s conftest$ac_exeext &&
25288 $as_test_x conftest$ac_exeext; then
25289 wx_cv_cc_gcc_atomic_builtins=yes
25290 else
25291 echo "$as_me: failed program was:" >&5
25292 sed 's/^/| /' conftest.$ac_ext >&5
25293
25294 wx_cv_cc_gcc_atomic_builtins=no
25295 fi
25296
25297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25298 conftest$ac_exeext conftest.$ac_ext
25299
25300 fi
25301
25302 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25303 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25304 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25305 cat >>confdefs.h <<\_ACEOF
25306 #define HAVE_GCC_ATOMIC_BUILTINS 1
25307 _ACEOF
25308
25309 fi
25310 fi
25311
25312
25313 ac_ext=c
25314 ac_cpp='$CPP $CPPFLAGS'
25315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25318
25319
25320
25321 SEARCH_INCLUDE="\
25322 /usr/local/include \
25323 /usr/local/X11/include \
25324 /usr/local/include/X11 \
25325 /usr/local/X11R6/include \
25326 /usr/local/include/X11R6 \
25327 \
25328 /usr/Motif-2.1/include \
25329 /usr/Motif-1.2/include \
25330 /usr/include/Motif1.2 \
25331 \
25332 /usr/dt/include \
25333 /usr/openwin/include \
25334 \
25335 /usr/include/Xm \
25336 \
25337 /usr/X11R6/include \
25338 /usr/X11R6.4/include \
25339 \
25340 /usr/include/X11R6 \
25341 \
25342 /usr/X11/include \
25343 /usr/include/X11 \
25344 \
25345 /usr/XFree86/include/X11 \
25346 /usr/pkg/include \
25347 \
25348 /usr/local/X1R5/include \
25349 /usr/local/include/X11R5 \
25350 /usr/X11R5/include \
25351 /usr/include/X11R5 \
25352 \
25353 /usr/local/X11R4/include \
25354 /usr/local/include/X11R4 \
25355 /usr/X11R4/include \
25356 /usr/include/X11R4 \
25357 \
25358 /usr/openwin/share/include"
25359
25360 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25361 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25362
25363 case "${host}" in
25364 *-*-irix6* )
25365 if test "${wx_cv_std_libpath+set}" = set; then
25366 echo $ECHO_N "(cached) $ECHO_C" >&6
25367 else
25368
25369 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25370 for e in a so sl dylib dll.a; do
25371 libc="$d/libc.$e"
25372 if test -f $libc; then
25373 save_LIBS="$LIBS"
25374 LIBS="$libc"
25375 cat >conftest.$ac_ext <<_ACEOF
25376 int main() { return 0; }
25377 _ACEOF
25378 rm -f conftest.$ac_objext conftest$ac_exeext
25379 if { (ac_try="$ac_link"
25380 case "(($ac_try" in
25381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25382 *) ac_try_echo=$ac_try;;
25383 esac
25384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385 (eval "$ac_link") 2>conftest.er1
25386 ac_status=$?
25387 grep -v '^ *+' conftest.er1 >conftest.err
25388 rm -f conftest.er1
25389 cat conftest.err >&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } && {
25392 test -z "$ac_c_werror_flag" ||
25393 test ! -s conftest.err
25394 } && test -s conftest$ac_exeext &&
25395 $as_test_x conftest$ac_exeext; then
25396 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25397 else
25398 echo "$as_me: failed program was:" >&5
25399 sed 's/^/| /' conftest.$ac_ext >&5
25400
25401
25402 fi
25403
25404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25405 conftest$ac_exeext conftest.$ac_ext
25406 LIBS="$save_LIBS"
25407 if test "x$wx_cv_std_libpath" != "x"; then
25408 break 2
25409 fi
25410 fi
25411 done
25412 done
25413 if test "x$wx_cv_std_libpath" = "x"; then
25414 wx_cv_std_libpath="lib"
25415 fi
25416
25417
25418 fi
25419
25420 ;;
25421
25422 *-*-solaris2* )
25423 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25424 wx_cv_std_libpath="lib/64"
25425 else
25426 wx_cv_std_libpath="lib"
25427 fi
25428 ;;
25429
25430 *-*-linux* )
25431 if test "$ac_cv_sizeof_void_p" = 8 -a \
25432 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25433 wx_cv_std_libpath="lib64"
25434 else
25435 wx_cv_std_libpath="lib"
25436 fi
25437 ;;
25438
25439 *)
25440 wx_cv_std_libpath="lib";
25441 ;;
25442 esac
25443
25444 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25445 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25446
25447 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25448
25449 if test "$build" != "$host" -a "$GCC" = yes; then
25450 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25451 cross_root=`dirname $cross_root`
25452 cross_root=`dirname $cross_root`
25453
25454 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25455 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25456 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25457
25458 if test -z "$PKG_CONFIG_PATH"; then
25459 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25460 export PKG_CONFIG_PATH
25461 fi
25462
25463 if test -z "$x_includes" -o "$x_includes" = NONE; then
25464
25465 ac_find_includes=
25466 for ac_dir in $SEARCH_INCLUDE /usr/include;
25467 do
25468 if test -f "$ac_dir/X11/Intrinsic.h"; then
25469 ac_find_includes=$ac_dir
25470 break
25471 fi
25472 done
25473
25474 x_includes=$ac_find_includes
25475 fi
25476 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25477
25478 ac_find_libraries=
25479 for ac_dir in $SEARCH_LIB;
25480 do
25481 for ac_extension in a so sl dylib dll.a; do
25482 if test -f "$ac_dir/libXt.$ac_extension"; then
25483 ac_find_libraries=$ac_dir
25484 break 2
25485 fi
25486 done
25487 done
25488
25489 x_libraries=$ac_find_libraries
25490 fi
25491 fi
25492 fi
25493
25494
25495 cat >confcache <<\_ACEOF
25496 # This file is a shell script that caches the results of configure
25497 # tests run on this system so they can be shared between configure
25498 # scripts and configure runs, see configure's option --config-cache.
25499 # It is not useful on other systems. If it contains results you don't
25500 # want to keep, you may remove or edit it.
25501 #
25502 # config.status only pays attention to the cache file if you give it
25503 # the --recheck option to rerun configure.
25504 #
25505 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25506 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25507 # following values.
25508
25509 _ACEOF
25510
25511 # The following way of writing the cache mishandles newlines in values,
25512 # but we know of no workaround that is simple, portable, and efficient.
25513 # So, we kill variables containing newlines.
25514 # Ultrix sh set writes to stderr and can't be redirected directly,
25515 # and sets the high bit in the cache file unless we assign to the vars.
25516 (
25517 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25518 eval ac_val=\$$ac_var
25519 case $ac_val in #(
25520 *${as_nl}*)
25521 case $ac_var in #(
25522 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25523 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25524 esac
25525 case $ac_var in #(
25526 _ | IFS | as_nl) ;; #(
25527 *) $as_unset $ac_var ;;
25528 esac ;;
25529 esac
25530 done
25531
25532 (set) 2>&1 |
25533 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25534 *${as_nl}ac_space=\ *)
25535 # `set' does not quote correctly, so add quotes (double-quote
25536 # substitution turns \\\\ into \\, and sed turns \\ into \).
25537 sed -n \
25538 "s/'/'\\\\''/g;
25539 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25540 ;; #(
25541 *)
25542 # `set' quotes correctly as required by POSIX, so do not add quotes.
25543 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25544 ;;
25545 esac |
25546 sort
25547 ) |
25548 sed '
25549 /^ac_cv_env_/b end
25550 t clear
25551 :clear
25552 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25553 t end
25554 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25555 :end' >>confcache
25556 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25557 if test -w "$cache_file"; then
25558 test "x$cache_file" != "x/dev/null" &&
25559 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25560 echo "$as_me: updating cache $cache_file" >&6;}
25561 cat confcache >$cache_file
25562 else
25563 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25564 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25565 fi
25566 fi
25567 rm -f confcache
25568
25569 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25570 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25571 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25572 if test "${wx_cv_lib_glibc21+set}" = set; then
25573 echo $ECHO_N "(cached) $ECHO_C" >&6
25574 else
25575
25576 cat >conftest.$ac_ext <<_ACEOF
25577 /* confdefs.h. */
25578 _ACEOF
25579 cat confdefs.h >>conftest.$ac_ext
25580 cat >>conftest.$ac_ext <<_ACEOF
25581 /* end confdefs.h. */
25582 #include <features.h>
25583 int
25584 main ()
25585 {
25586
25587 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25588 not glibc 2.1
25589 #endif
25590
25591 ;
25592 return 0;
25593 }
25594 _ACEOF
25595 rm -f conftest.$ac_objext
25596 if { (ac_try="$ac_compile"
25597 case "(($ac_try" in
25598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25599 *) ac_try_echo=$ac_try;;
25600 esac
25601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25602 (eval "$ac_compile") 2>conftest.er1
25603 ac_status=$?
25604 grep -v '^ *+' conftest.er1 >conftest.err
25605 rm -f conftest.er1
25606 cat conftest.err >&5
25607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25608 (exit $ac_status); } && {
25609 test -z "$ac_c_werror_flag" ||
25610 test ! -s conftest.err
25611 } && test -s conftest.$ac_objext; then
25612
25613 wx_cv_lib_glibc21=yes
25614
25615 else
25616 echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.$ac_ext >&5
25618
25619
25620 wx_cv_lib_glibc21=no
25621
25622
25623 fi
25624
25625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25626
25627 fi
25628 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25629 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25630 if test "$wx_cv_lib_glibc21" = "yes"; then
25631 cat >>confdefs.h <<\_ACEOF
25632 #define wxHAVE_GLIBC2 1
25633 _ACEOF
25634
25635 fi
25636 fi
25637
25638 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25639 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25640 cat >>confdefs.h <<\_ACEOF
25641 #define _GNU_SOURCE 1
25642 _ACEOF
25643
25644 fi
25645 fi
25646
25647 have_cos=0
25648 have_floor=0
25649
25650 for ac_func in cos
25651 do
25652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25653 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25655 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25657 else
25658 cat >conftest.$ac_ext <<_ACEOF
25659 /* confdefs.h. */
25660 _ACEOF
25661 cat confdefs.h >>conftest.$ac_ext
25662 cat >>conftest.$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25666 #define $ac_func innocuous_$ac_func
25667
25668 /* System header to define __stub macros and hopefully few prototypes,
25669 which can conflict with char $ac_func (); below.
25670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25671 <limits.h> exists even on freestanding compilers. */
25672
25673 #ifdef __STDC__
25674 # include <limits.h>
25675 #else
25676 # include <assert.h>
25677 #endif
25678
25679 #undef $ac_func
25680
25681 /* Override any GCC internal prototype to avoid an error.
25682 Use char because int might match the return type of a GCC
25683 builtin and then its argument prototype would still apply. */
25684 #ifdef __cplusplus
25685 extern "C"
25686 #endif
25687 char $ac_func ();
25688 /* The GNU C library defines this for functions which it implements
25689 to always fail with ENOSYS. Some functions are actually named
25690 something starting with __ and the normal name is an alias. */
25691 #if defined __stub_$ac_func || defined __stub___$ac_func
25692 choke me
25693 #endif
25694
25695 int
25696 main ()
25697 {
25698 return $ac_func ();
25699 ;
25700 return 0;
25701 }
25702 _ACEOF
25703 rm -f conftest.$ac_objext conftest$ac_exeext
25704 if { (ac_try="$ac_link"
25705 case "(($ac_try" in
25706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25707 *) ac_try_echo=$ac_try;;
25708 esac
25709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25710 (eval "$ac_link") 2>conftest.er1
25711 ac_status=$?
25712 grep -v '^ *+' conftest.er1 >conftest.err
25713 rm -f conftest.er1
25714 cat conftest.err >&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); } && {
25717 test -z "$ac_c_werror_flag" ||
25718 test ! -s conftest.err
25719 } && test -s conftest$ac_exeext &&
25720 $as_test_x conftest$ac_exeext; then
25721 eval "$as_ac_var=yes"
25722 else
25723 echo "$as_me: failed program was:" >&5
25724 sed 's/^/| /' conftest.$ac_ext >&5
25725
25726 eval "$as_ac_var=no"
25727 fi
25728
25729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25730 conftest$ac_exeext conftest.$ac_ext
25731 fi
25732 ac_res=`eval echo '${'$as_ac_var'}'`
25733 { echo "$as_me:$LINENO: result: $ac_res" >&5
25734 echo "${ECHO_T}$ac_res" >&6; }
25735 if test `eval echo '${'$as_ac_var'}'` = yes; then
25736 cat >>confdefs.h <<_ACEOF
25737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25738 _ACEOF
25739 have_cos=1
25740 fi
25741 done
25742
25743
25744 for ac_func in floor
25745 do
25746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25747 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25749 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25750 echo $ECHO_N "(cached) $ECHO_C" >&6
25751 else
25752 cat >conftest.$ac_ext <<_ACEOF
25753 /* confdefs.h. */
25754 _ACEOF
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25760 #define $ac_func innocuous_$ac_func
25761
25762 /* System header to define __stub macros and hopefully few prototypes,
25763 which can conflict with char $ac_func (); below.
25764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25765 <limits.h> exists even on freestanding compilers. */
25766
25767 #ifdef __STDC__
25768 # include <limits.h>
25769 #else
25770 # include <assert.h>
25771 #endif
25772
25773 #undef $ac_func
25774
25775 /* Override any GCC internal prototype to avoid an error.
25776 Use char because int might match the return type of a GCC
25777 builtin and then its argument prototype would still apply. */
25778 #ifdef __cplusplus
25779 extern "C"
25780 #endif
25781 char $ac_func ();
25782 /* The GNU C library defines this for functions which it implements
25783 to always fail with ENOSYS. Some functions are actually named
25784 something starting with __ and the normal name is an alias. */
25785 #if defined __stub_$ac_func || defined __stub___$ac_func
25786 choke me
25787 #endif
25788
25789 int
25790 main ()
25791 {
25792 return $ac_func ();
25793 ;
25794 return 0;
25795 }
25796 _ACEOF
25797 rm -f conftest.$ac_objext conftest$ac_exeext
25798 if { (ac_try="$ac_link"
25799 case "(($ac_try" in
25800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25801 *) ac_try_echo=$ac_try;;
25802 esac
25803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25804 (eval "$ac_link") 2>conftest.er1
25805 ac_status=$?
25806 grep -v '^ *+' conftest.er1 >conftest.err
25807 rm -f conftest.er1
25808 cat conftest.err >&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } && {
25811 test -z "$ac_c_werror_flag" ||
25812 test ! -s conftest.err
25813 } && test -s conftest$ac_exeext &&
25814 $as_test_x conftest$ac_exeext; then
25815 eval "$as_ac_var=yes"
25816 else
25817 echo "$as_me: failed program was:" >&5
25818 sed 's/^/| /' conftest.$ac_ext >&5
25819
25820 eval "$as_ac_var=no"
25821 fi
25822
25823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25824 conftest$ac_exeext conftest.$ac_ext
25825 fi
25826 ac_res=`eval echo '${'$as_ac_var'}'`
25827 { echo "$as_me:$LINENO: result: $ac_res" >&5
25828 echo "${ECHO_T}$ac_res" >&6; }
25829 if test `eval echo '${'$as_ac_var'}'` = yes; then
25830 cat >>confdefs.h <<_ACEOF
25831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25832 _ACEOF
25833 have_floor=1
25834 fi
25835 done
25836
25837 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25838 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25839 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25840 { echo "$as_me:$LINENO: result: yes" >&5
25841 echo "${ECHO_T}yes" >&6; }
25842 else
25843 { echo "$as_me:$LINENO: result: no" >&5
25844 echo "${ECHO_T}no" >&6; }
25845 LIBS="$LIBS -lm"
25846 # use different functions to avoid configure caching
25847 have_sin=0
25848 have_ceil=0
25849
25850 for ac_func in sin
25851 do
25852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25857 else
25858 cat >conftest.$ac_ext <<_ACEOF
25859 /* confdefs.h. */
25860 _ACEOF
25861 cat confdefs.h >>conftest.$ac_ext
25862 cat >>conftest.$ac_ext <<_ACEOF
25863 /* end confdefs.h. */
25864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25866 #define $ac_func innocuous_$ac_func
25867
25868 /* System header to define __stub macros and hopefully few prototypes,
25869 which can conflict with char $ac_func (); below.
25870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25871 <limits.h> exists even on freestanding compilers. */
25872
25873 #ifdef __STDC__
25874 # include <limits.h>
25875 #else
25876 # include <assert.h>
25877 #endif
25878
25879 #undef $ac_func
25880
25881 /* Override any GCC internal prototype to avoid an error.
25882 Use char because int might match the return type of a GCC
25883 builtin and then its argument prototype would still apply. */
25884 #ifdef __cplusplus
25885 extern "C"
25886 #endif
25887 char $ac_func ();
25888 /* The GNU C library defines this for functions which it implements
25889 to always fail with ENOSYS. Some functions are actually named
25890 something starting with __ and the normal name is an alias. */
25891 #if defined __stub_$ac_func || defined __stub___$ac_func
25892 choke me
25893 #endif
25894
25895 int
25896 main ()
25897 {
25898 return $ac_func ();
25899 ;
25900 return 0;
25901 }
25902 _ACEOF
25903 rm -f conftest.$ac_objext conftest$ac_exeext
25904 if { (ac_try="$ac_link"
25905 case "(($ac_try" in
25906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25907 *) ac_try_echo=$ac_try;;
25908 esac
25909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25910 (eval "$ac_link") 2>conftest.er1
25911 ac_status=$?
25912 grep -v '^ *+' conftest.er1 >conftest.err
25913 rm -f conftest.er1
25914 cat conftest.err >&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } && {
25917 test -z "$ac_c_werror_flag" ||
25918 test ! -s conftest.err
25919 } && test -s conftest$ac_exeext &&
25920 $as_test_x conftest$ac_exeext; then
25921 eval "$as_ac_var=yes"
25922 else
25923 echo "$as_me: failed program was:" >&5
25924 sed 's/^/| /' conftest.$ac_ext >&5
25925
25926 eval "$as_ac_var=no"
25927 fi
25928
25929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25930 conftest$ac_exeext conftest.$ac_ext
25931 fi
25932 ac_res=`eval echo '${'$as_ac_var'}'`
25933 { echo "$as_me:$LINENO: result: $ac_res" >&5
25934 echo "${ECHO_T}$ac_res" >&6; }
25935 if test `eval echo '${'$as_ac_var'}'` = yes; then
25936 cat >>confdefs.h <<_ACEOF
25937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25938 _ACEOF
25939 have_sin=1
25940 fi
25941 done
25942
25943
25944 for ac_func in ceil
25945 do
25946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25950 echo $ECHO_N "(cached) $ECHO_C" >&6
25951 else
25952 cat >conftest.$ac_ext <<_ACEOF
25953 /* confdefs.h. */
25954 _ACEOF
25955 cat confdefs.h >>conftest.$ac_ext
25956 cat >>conftest.$ac_ext <<_ACEOF
25957 /* end confdefs.h. */
25958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25960 #define $ac_func innocuous_$ac_func
25961
25962 /* System header to define __stub macros and hopefully few prototypes,
25963 which can conflict with char $ac_func (); below.
25964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25965 <limits.h> exists even on freestanding compilers. */
25966
25967 #ifdef __STDC__
25968 # include <limits.h>
25969 #else
25970 # include <assert.h>
25971 #endif
25972
25973 #undef $ac_func
25974
25975 /* Override any GCC internal prototype to avoid an error.
25976 Use char because int might match the return type of a GCC
25977 builtin and then its argument prototype would still apply. */
25978 #ifdef __cplusplus
25979 extern "C"
25980 #endif
25981 char $ac_func ();
25982 /* The GNU C library defines this for functions which it implements
25983 to always fail with ENOSYS. Some functions are actually named
25984 something starting with __ and the normal name is an alias. */
25985 #if defined __stub_$ac_func || defined __stub___$ac_func
25986 choke me
25987 #endif
25988
25989 int
25990 main ()
25991 {
25992 return $ac_func ();
25993 ;
25994 return 0;
25995 }
25996 _ACEOF
25997 rm -f conftest.$ac_objext conftest$ac_exeext
25998 if { (ac_try="$ac_link"
25999 case "(($ac_try" in
26000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26001 *) ac_try_echo=$ac_try;;
26002 esac
26003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26004 (eval "$ac_link") 2>conftest.er1
26005 ac_status=$?
26006 grep -v '^ *+' conftest.er1 >conftest.err
26007 rm -f conftest.er1
26008 cat conftest.err >&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } && {
26011 test -z "$ac_c_werror_flag" ||
26012 test ! -s conftest.err
26013 } && test -s conftest$ac_exeext &&
26014 $as_test_x conftest$ac_exeext; then
26015 eval "$as_ac_var=yes"
26016 else
26017 echo "$as_me: failed program was:" >&5
26018 sed 's/^/| /' conftest.$ac_ext >&5
26019
26020 eval "$as_ac_var=no"
26021 fi
26022
26023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26024 conftest$ac_exeext conftest.$ac_ext
26025 fi
26026 ac_res=`eval echo '${'$as_ac_var'}'`
26027 { echo "$as_me:$LINENO: result: $ac_res" >&5
26028 echo "${ECHO_T}$ac_res" >&6; }
26029 if test `eval echo '${'$as_ac_var'}'` = yes; then
26030 cat >>confdefs.h <<_ACEOF
26031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26032 _ACEOF
26033 have_ceil=1
26034 fi
26035 done
26036
26037 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26038 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26039 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26040 { echo "$as_me:$LINENO: result: yes" >&5
26041 echo "${ECHO_T}yes" >&6; }
26042 else
26043 { echo "$as_me:$LINENO: result: no" >&5
26044 echo "${ECHO_T}no" >&6; }
26045 # not sure we should warn the user, crash, etc.
26046 fi
26047 fi
26048
26049 ac_ext=cpp
26050 ac_cpp='$CXXCPP $CPPFLAGS'
26051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26054
26055 if test "wxUSE_UNICODE" = "yes"; then
26056
26057 for wx_func in wcstoull
26058 do
26059 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26060 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26061 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 else
26064
26065 cat >conftest.$ac_ext <<_ACEOF
26066
26067 /* confdefs.h. */
26068 _ACEOF
26069 cat confdefs.h >>conftest.$ac_ext
26070 cat >>conftest.$ac_ext <<_ACEOF
26071 /* end confdefs.h. */
26072
26073
26074 $ac_includes_default
26075
26076 int
26077 main ()
26078 {
26079
26080 #ifndef $wx_func
26081 &$wx_func;
26082 #endif
26083
26084
26085 ;
26086 return 0;
26087 }
26088
26089 _ACEOF
26090 rm -f conftest.$ac_objext conftest$ac_exeext
26091 if { (ac_try="$ac_link"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26094 *) ac_try_echo=$ac_try;;
26095 esac
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_link") 2>conftest.er1
26098 ac_status=$?
26099 grep -v '^ *+' conftest.er1 >conftest.err
26100 rm -f conftest.er1
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_cxx_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest$ac_exeext &&
26107 $as_test_x conftest$ac_exeext; then
26108 eval wx_cv_func_$wx_func=yes
26109 else
26110 echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.$ac_ext >&5
26112
26113 eval wx_cv_func_$wx_func=no
26114 fi
26115
26116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26117 conftest$ac_exeext conftest.$ac_ext
26118
26119 fi
26120 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26121 { echo "$as_me:$LINENO: result: $ac_res" >&5
26122 echo "${ECHO_T}$ac_res" >&6; }
26123
26124 if eval test \$wx_cv_func_$wx_func = yes
26125 then
26126 cat >>confdefs.h <<_ACEOF
26127 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26128 _ACEOF
26129
26130
26131 else
26132 :
26133
26134 fi
26135 done
26136
26137 else
26138
26139 for wx_func in strtoull
26140 do
26141 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26142 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26143 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26144 echo $ECHO_N "(cached) $ECHO_C" >&6
26145 else
26146
26147 cat >conftest.$ac_ext <<_ACEOF
26148
26149 /* confdefs.h. */
26150 _ACEOF
26151 cat confdefs.h >>conftest.$ac_ext
26152 cat >>conftest.$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26154
26155
26156 $ac_includes_default
26157
26158 int
26159 main ()
26160 {
26161
26162 #ifndef $wx_func
26163 &$wx_func;
26164 #endif
26165
26166
26167 ;
26168 return 0;
26169 }
26170
26171 _ACEOF
26172 rm -f conftest.$ac_objext conftest$ac_exeext
26173 if { (ac_try="$ac_link"
26174 case "(($ac_try" in
26175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26176 *) ac_try_echo=$ac_try;;
26177 esac
26178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26179 (eval "$ac_link") 2>conftest.er1
26180 ac_status=$?
26181 grep -v '^ *+' conftest.er1 >conftest.err
26182 rm -f conftest.er1
26183 cat conftest.err >&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); } && {
26186 test -z "$ac_cxx_werror_flag" ||
26187 test ! -s conftest.err
26188 } && test -s conftest$ac_exeext &&
26189 $as_test_x conftest$ac_exeext; then
26190 eval wx_cv_func_$wx_func=yes
26191 else
26192 echo "$as_me: failed program was:" >&5
26193 sed 's/^/| /' conftest.$ac_ext >&5
26194
26195 eval wx_cv_func_$wx_func=no
26196 fi
26197
26198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26199 conftest$ac_exeext conftest.$ac_ext
26200
26201 fi
26202 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26203 { echo "$as_me:$LINENO: result: $ac_res" >&5
26204 echo "${ECHO_T}$ac_res" >&6; }
26205
26206 if eval test \$wx_cv_func_$wx_func = yes
26207 then
26208 cat >>confdefs.h <<_ACEOF
26209 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26210 _ACEOF
26211
26212
26213 else
26214 :
26215
26216 fi
26217 done
26218
26219 fi
26220 ac_ext=c
26221 ac_cpp='$CPP $CPPFLAGS'
26222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26225
26226
26227
26228
26229 if test "$wxUSE_REGEX" != "no"; then
26230 cat >>confdefs.h <<\_ACEOF
26231 #define wxUSE_REGEX 1
26232 _ACEOF
26233
26234
26235 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26236 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26237 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26238 wxUSE_REGEX=builtin
26239 fi
26240
26241 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26242 { echo "$as_me:$LINENO: checking for regex.h" >&5
26243 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26244 if test "${ac_cv_header_regex_h+set}" = set; then
26245 echo $ECHO_N "(cached) $ECHO_C" >&6
26246 else
26247 cat >conftest.$ac_ext <<_ACEOF
26248 /* confdefs.h. */
26249 _ACEOF
26250 cat confdefs.h >>conftest.$ac_ext
26251 cat >>conftest.$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26253
26254
26255 #include <regex.h>
26256 _ACEOF
26257 rm -f conftest.$ac_objext
26258 if { (ac_try="$ac_compile"
26259 case "(($ac_try" in
26260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26261 *) ac_try_echo=$ac_try;;
26262 esac
26263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26264 (eval "$ac_compile") 2>conftest.er1
26265 ac_status=$?
26266 grep -v '^ *+' conftest.er1 >conftest.err
26267 rm -f conftest.er1
26268 cat conftest.err >&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } && {
26271 test -z "$ac_c_werror_flag" ||
26272 test ! -s conftest.err
26273 } && test -s conftest.$ac_objext; then
26274 ac_cv_header_regex_h=yes
26275 else
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.$ac_ext >&5
26278
26279 ac_cv_header_regex_h=no
26280 fi
26281
26282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26283 fi
26284 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26285 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26286 if test $ac_cv_header_regex_h = yes; then
26287
26288
26289 for ac_func in regcomp re_search
26290 do
26291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26292 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26294 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26295 echo $ECHO_N "(cached) $ECHO_C" >&6
26296 else
26297 cat >conftest.$ac_ext <<_ACEOF
26298 /* confdefs.h. */
26299 _ACEOF
26300 cat confdefs.h >>conftest.$ac_ext
26301 cat >>conftest.$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26305 #define $ac_func innocuous_$ac_func
26306
26307 /* System header to define __stub macros and hopefully few prototypes,
26308 which can conflict with char $ac_func (); below.
26309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26310 <limits.h> exists even on freestanding compilers. */
26311
26312 #ifdef __STDC__
26313 # include <limits.h>
26314 #else
26315 # include <assert.h>
26316 #endif
26317
26318 #undef $ac_func
26319
26320 /* Override any GCC internal prototype to avoid an error.
26321 Use char because int might match the return type of a GCC
26322 builtin and then its argument prototype would still apply. */
26323 #ifdef __cplusplus
26324 extern "C"
26325 #endif
26326 char $ac_func ();
26327 /* The GNU C library defines this for functions which it implements
26328 to always fail with ENOSYS. Some functions are actually named
26329 something starting with __ and the normal name is an alias. */
26330 #if defined __stub_$ac_func || defined __stub___$ac_func
26331 choke me
26332 #endif
26333
26334 int
26335 main ()
26336 {
26337 return $ac_func ();
26338 ;
26339 return 0;
26340 }
26341 _ACEOF
26342 rm -f conftest.$ac_objext conftest$ac_exeext
26343 if { (ac_try="$ac_link"
26344 case "(($ac_try" in
26345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26346 *) ac_try_echo=$ac_try;;
26347 esac
26348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26349 (eval "$ac_link") 2>conftest.er1
26350 ac_status=$?
26351 grep -v '^ *+' conftest.er1 >conftest.err
26352 rm -f conftest.er1
26353 cat conftest.err >&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } && {
26356 test -z "$ac_c_werror_flag" ||
26357 test ! -s conftest.err
26358 } && test -s conftest$ac_exeext &&
26359 $as_test_x conftest$ac_exeext; then
26360 eval "$as_ac_var=yes"
26361 else
26362 echo "$as_me: failed program was:" >&5
26363 sed 's/^/| /' conftest.$ac_ext >&5
26364
26365 eval "$as_ac_var=no"
26366 fi
26367
26368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26369 conftest$ac_exeext conftest.$ac_ext
26370 fi
26371 ac_res=`eval echo '${'$as_ac_var'}'`
26372 { echo "$as_me:$LINENO: result: $ac_res" >&5
26373 echo "${ECHO_T}$ac_res" >&6; }
26374 if test `eval echo '${'$as_ac_var'}'` = yes; then
26375 cat >>confdefs.h <<_ACEOF
26376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26377 _ACEOF
26378
26379 fi
26380 done
26381
26382 fi
26383
26384
26385
26386 if test "x$ac_cv_func_regcomp" != "xyes"; then
26387 if test "$wxUSE_REGEX" = "sys" ; then
26388 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26389 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26390 { (exit 1); exit 1; }; }
26391 else
26392 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26393 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26394 wxUSE_REGEX=builtin
26395 fi
26396 else
26397 wxUSE_REGEX=sys
26398 cat >>confdefs.h <<\_ACEOF
26399 #define WX_NO_REGEX_ADVANCED 1
26400 _ACEOF
26401
26402 fi
26403 fi
26404 fi
26405
26406
26407 ZLIB_LINK=
26408 if test "$wxUSE_ZLIB" != "no" ; then
26409 cat >>confdefs.h <<\_ACEOF
26410 #define wxUSE_ZLIB 1
26411 _ACEOF
26412
26413
26414 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26415 if test "$USE_DARWIN" = 1; then
26416 system_zlib_h_ok="yes"
26417 else
26418 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26419 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26420 if test "${ac_cv_header_zlib_h+set}" = set; then
26421 echo $ECHO_N "(cached) $ECHO_C" >&6
26422 else
26423 if test "$cross_compiling" = yes; then
26424 unset ac_cv_header_zlib_h
26425
26426 else
26427 cat >conftest.$ac_ext <<_ACEOF
26428 /* confdefs.h. */
26429 _ACEOF
26430 cat confdefs.h >>conftest.$ac_ext
26431 cat >>conftest.$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26433
26434 #include <zlib.h>
26435 #include <stdio.h>
26436
26437 int main()
26438 {
26439 FILE *f=fopen("conftestval", "w");
26440 if (!f) exit(1);
26441 fprintf(f, "%s",
26442 ZLIB_VERSION[0] == '1' &&
26443 (ZLIB_VERSION[2] > '1' ||
26444 (ZLIB_VERSION[2] == '1' &&
26445 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26446 exit(0);
26447 }
26448
26449 _ACEOF
26450 rm -f conftest$ac_exeext
26451 if { (ac_try="$ac_link"
26452 case "(($ac_try" in
26453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26454 *) ac_try_echo=$ac_try;;
26455 esac
26456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26457 (eval "$ac_link") 2>&5
26458 ac_status=$?
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26461 { (case "(($ac_try" in
26462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26463 *) ac_try_echo=$ac_try;;
26464 esac
26465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26466 (eval "$ac_try") 2>&5
26467 ac_status=$?
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); }; }; then
26470 ac_cv_header_zlib_h=`cat conftestval`
26471 else
26472 echo "$as_me: program exited with status $ac_status" >&5
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26475
26476 ( exit $ac_status )
26477 ac_cv_header_zlib_h=no
26478 fi
26479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26480 fi
26481
26482
26483
26484 fi
26485 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26486 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26487 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26488 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26489 if test "${ac_cv_header_zlib_h+set}" = set; then
26490 echo $ECHO_N "(cached) $ECHO_C" >&6
26491 else
26492 cat >conftest.$ac_ext <<_ACEOF
26493 /* confdefs.h. */
26494 _ACEOF
26495 cat confdefs.h >>conftest.$ac_ext
26496 cat >>conftest.$ac_ext <<_ACEOF
26497 /* end confdefs.h. */
26498
26499
26500 #include <zlib.h>
26501 _ACEOF
26502 rm -f conftest.$ac_objext
26503 if { (ac_try="$ac_compile"
26504 case "(($ac_try" in
26505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26506 *) ac_try_echo=$ac_try;;
26507 esac
26508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26509 (eval "$ac_compile") 2>conftest.er1
26510 ac_status=$?
26511 grep -v '^ *+' conftest.er1 >conftest.err
26512 rm -f conftest.er1
26513 cat conftest.err >&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } && {
26516 test -z "$ac_c_werror_flag" ||
26517 test ! -s conftest.err
26518 } && test -s conftest.$ac_objext; then
26519 ac_cv_header_zlib_h=yes
26520 else
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26523
26524 ac_cv_header_zlib_h=no
26525 fi
26526
26527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26528 fi
26529 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26530 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26531
26532
26533
26534 system_zlib_h_ok=$ac_cv_header_zlib_h
26535 fi
26536
26537 if test "$system_zlib_h_ok" = "yes"; then
26538 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26539 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26540 if test "${ac_cv_lib_z_deflate+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26542 else
26543 ac_check_lib_save_LIBS=$LIBS
26544 LIBS="-lz $LIBS"
26545 cat >conftest.$ac_ext <<_ACEOF
26546 /* confdefs.h. */
26547 _ACEOF
26548 cat confdefs.h >>conftest.$ac_ext
26549 cat >>conftest.$ac_ext <<_ACEOF
26550 /* end confdefs.h. */
26551
26552 /* Override any GCC internal prototype to avoid an error.
26553 Use char because int might match the return type of a GCC
26554 builtin and then its argument prototype would still apply. */
26555 #ifdef __cplusplus
26556 extern "C"
26557 #endif
26558 char deflate ();
26559 int
26560 main ()
26561 {
26562 return deflate ();
26563 ;
26564 return 0;
26565 }
26566 _ACEOF
26567 rm -f conftest.$ac_objext conftest$ac_exeext
26568 if { (ac_try="$ac_link"
26569 case "(($ac_try" in
26570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26571 *) ac_try_echo=$ac_try;;
26572 esac
26573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26574 (eval "$ac_link") 2>conftest.er1
26575 ac_status=$?
26576 grep -v '^ *+' conftest.er1 >conftest.err
26577 rm -f conftest.er1
26578 cat conftest.err >&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); } && {
26581 test -z "$ac_c_werror_flag" ||
26582 test ! -s conftest.err
26583 } && test -s conftest$ac_exeext &&
26584 $as_test_x conftest$ac_exeext; then
26585 ac_cv_lib_z_deflate=yes
26586 else
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.$ac_ext >&5
26589
26590 ac_cv_lib_z_deflate=no
26591 fi
26592
26593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26594 conftest$ac_exeext conftest.$ac_ext
26595 LIBS=$ac_check_lib_save_LIBS
26596 fi
26597 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26598 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26599 if test $ac_cv_lib_z_deflate = yes; then
26600 ZLIB_LINK=" -lz"
26601 fi
26602
26603 fi
26604
26605 if test "x$ZLIB_LINK" = "x" ; then
26606 if test "$wxUSE_ZLIB" = "sys" ; then
26607 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26608 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26609 { (exit 1); exit 1; }; }
26610 else
26611 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26612 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26613 wxUSE_ZLIB=builtin
26614 fi
26615 else
26616 wxUSE_ZLIB=sys
26617 fi
26618 fi
26619 fi
26620
26621
26622 PNG_LINK=
26623 if test "$wxUSE_LIBPNG" != "no" ; then
26624 cat >>confdefs.h <<\_ACEOF
26625 #define wxUSE_LIBPNG 1
26626 _ACEOF
26627
26628
26629 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26630 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26631 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26632 wxUSE_LIBPNG=sys
26633 fi
26634
26635 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26636 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26637 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26638 wxUSE_LIBPNG=builtin
26639 fi
26640
26641 if test "$wxUSE_MGL" != 1 ; then
26642 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26643 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26644 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26645 if test "${ac_cv_header_png_h+set}" = set; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26647 else
26648 if test "$cross_compiling" = yes; then
26649 unset ac_cv_header_png_h
26650
26651 else
26652 cat >conftest.$ac_ext <<_ACEOF
26653 /* confdefs.h. */
26654 _ACEOF
26655 cat confdefs.h >>conftest.$ac_ext
26656 cat >>conftest.$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26658
26659 #include <png.h>
26660 #include <stdio.h>
26661
26662 int main()
26663 {
26664 FILE *f=fopen("conftestval", "w");
26665 if (!f) exit(1);
26666 fprintf(f, "%s",
26667 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26668 exit(0);
26669 }
26670
26671 _ACEOF
26672 rm -f conftest$ac_exeext
26673 if { (ac_try="$ac_link"
26674 case "(($ac_try" in
26675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26676 *) ac_try_echo=$ac_try;;
26677 esac
26678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26679 (eval "$ac_link") 2>&5
26680 ac_status=$?
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26683 { (case "(($ac_try" in
26684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26685 *) ac_try_echo=$ac_try;;
26686 esac
26687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688 (eval "$ac_try") 2>&5
26689 ac_status=$?
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; }; then
26692 ac_cv_header_png_h=`cat conftestval`
26693 else
26694 echo "$as_me: program exited with status $ac_status" >&5
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26697
26698 ( exit $ac_status )
26699 ac_cv_header_png_h=no
26700 fi
26701 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26702 fi
26703
26704
26705
26706 fi
26707 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26708 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26709 { echo "$as_me:$LINENO: checking for png.h" >&5
26710 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26711 if test "${ac_cv_header_png_h+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26713 else
26714 cat >conftest.$ac_ext <<_ACEOF
26715 /* confdefs.h. */
26716 _ACEOF
26717 cat confdefs.h >>conftest.$ac_ext
26718 cat >>conftest.$ac_ext <<_ACEOF
26719 /* end confdefs.h. */
26720
26721
26722 #include <png.h>
26723 _ACEOF
26724 rm -f conftest.$ac_objext
26725 if { (ac_try="$ac_compile"
26726 case "(($ac_try" in
26727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26728 *) ac_try_echo=$ac_try;;
26729 esac
26730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26731 (eval "$ac_compile") 2>conftest.er1
26732 ac_status=$?
26733 grep -v '^ *+' conftest.er1 >conftest.err
26734 rm -f conftest.er1
26735 cat conftest.err >&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } && {
26738 test -z "$ac_c_werror_flag" ||
26739 test ! -s conftest.err
26740 } && test -s conftest.$ac_objext; then
26741 ac_cv_header_png_h=yes
26742 else
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26745
26746 ac_cv_header_png_h=no
26747 fi
26748
26749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26750 fi
26751 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26752 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26753
26754
26755
26756 if test "$ac_cv_header_png_h" = "yes"; then
26757 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26758 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26759 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26761 else
26762 ac_check_lib_save_LIBS=$LIBS
26763 LIBS="-lpng -lz -lm $LIBS"
26764 cat >conftest.$ac_ext <<_ACEOF
26765 /* confdefs.h. */
26766 _ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26770
26771 /* Override any GCC internal prototype to avoid an error.
26772 Use char because int might match the return type of a GCC
26773 builtin and then its argument prototype would still apply. */
26774 #ifdef __cplusplus
26775 extern "C"
26776 #endif
26777 char png_check_sig ();
26778 int
26779 main ()
26780 {
26781 return png_check_sig ();
26782 ;
26783 return 0;
26784 }
26785 _ACEOF
26786 rm -f conftest.$ac_objext conftest$ac_exeext
26787 if { (ac_try="$ac_link"
26788 case "(($ac_try" in
26789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26790 *) ac_try_echo=$ac_try;;
26791 esac
26792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26793 (eval "$ac_link") 2>conftest.er1
26794 ac_status=$?
26795 grep -v '^ *+' conftest.er1 >conftest.err
26796 rm -f conftest.er1
26797 cat conftest.err >&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); } && {
26800 test -z "$ac_c_werror_flag" ||
26801 test ! -s conftest.err
26802 } && test -s conftest$ac_exeext &&
26803 $as_test_x conftest$ac_exeext; then
26804 ac_cv_lib_png_png_check_sig=yes
26805 else
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.$ac_ext >&5
26808
26809 ac_cv_lib_png_png_check_sig=no
26810 fi
26811
26812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26813 conftest$ac_exeext conftest.$ac_ext
26814 LIBS=$ac_check_lib_save_LIBS
26815 fi
26816 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26817 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26818 if test $ac_cv_lib_png_png_check_sig = yes; then
26819 PNG_LINK=" -lpng -lz"
26820 fi
26821
26822 fi
26823
26824 if test "x$PNG_LINK" = "x" ; then
26825 if test "$wxUSE_LIBPNG" = "sys" ; then
26826 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26827 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26828 { (exit 1); exit 1; }; }
26829 else
26830 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26831 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26832 wxUSE_LIBPNG=builtin
26833 fi
26834 else
26835 wxUSE_LIBPNG=sys
26836 fi
26837 fi
26838 fi
26839 fi
26840
26841
26842 JPEG_LINK=
26843 if test "$wxUSE_LIBJPEG" != "no" ; then
26844 cat >>confdefs.h <<\_ACEOF
26845 #define wxUSE_LIBJPEG 1
26846 _ACEOF
26847
26848
26849 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26850 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26851 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26852 wxUSE_LIBJPEG=sys
26853 fi
26854
26855 if test "$wxUSE_MGL" != 1 ; then
26856 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26857 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26858 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26859 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26860 echo $ECHO_N "(cached) $ECHO_C" >&6
26861 else
26862 cat >conftest.$ac_ext <<_ACEOF
26863 /* confdefs.h. */
26864 _ACEOF
26865 cat confdefs.h >>conftest.$ac_ext
26866 cat >>conftest.$ac_ext <<_ACEOF
26867 /* end confdefs.h. */
26868
26869 #undef HAVE_STDLIB_H
26870 #include <stdio.h>
26871 #include <jpeglib.h>
26872
26873 int
26874 main ()
26875 {
26876
26877
26878 ;
26879 return 0;
26880 }
26881 _ACEOF
26882 rm -f conftest.$ac_objext
26883 if { (ac_try="$ac_compile"
26884 case "(($ac_try" in
26885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26886 *) ac_try_echo=$ac_try;;
26887 esac
26888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26889 (eval "$ac_compile") 2>conftest.er1
26890 ac_status=$?
26891 grep -v '^ *+' conftest.er1 >conftest.err
26892 rm -f conftest.er1
26893 cat conftest.err >&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && {
26896 test -z "$ac_c_werror_flag" ||
26897 test ! -s conftest.err
26898 } && test -s conftest.$ac_objext; then
26899 ac_cv_header_jpeglib_h=yes
26900 else
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.$ac_ext >&5
26903
26904 ac_cv_header_jpeglib_h=no
26905
26906 fi
26907
26908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26909
26910 fi
26911
26912 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26913 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26914
26915 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26916 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26917 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26918 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26919 echo $ECHO_N "(cached) $ECHO_C" >&6
26920 else
26921 ac_check_lib_save_LIBS=$LIBS
26922 LIBS="-ljpeg $LIBS"
26923 cat >conftest.$ac_ext <<_ACEOF
26924 /* confdefs.h. */
26925 _ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929
26930 /* Override any GCC internal prototype to avoid an error.
26931 Use char because int might match the return type of a GCC
26932 builtin and then its argument prototype would still apply. */
26933 #ifdef __cplusplus
26934 extern "C"
26935 #endif
26936 char jpeg_read_header ();
26937 int
26938 main ()
26939 {
26940 return jpeg_read_header ();
26941 ;
26942 return 0;
26943 }
26944 _ACEOF
26945 rm -f conftest.$ac_objext conftest$ac_exeext
26946 if { (ac_try="$ac_link"
26947 case "(($ac_try" in
26948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26949 *) ac_try_echo=$ac_try;;
26950 esac
26951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26952 (eval "$ac_link") 2>conftest.er1
26953 ac_status=$?
26954 grep -v '^ *+' conftest.er1 >conftest.err
26955 rm -f conftest.er1
26956 cat conftest.err >&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); } && {
26959 test -z "$ac_c_werror_flag" ||
26960 test ! -s conftest.err
26961 } && test -s conftest$ac_exeext &&
26962 $as_test_x conftest$ac_exeext; then
26963 ac_cv_lib_jpeg_jpeg_read_header=yes
26964 else
26965 echo "$as_me: failed program was:" >&5
26966 sed 's/^/| /' conftest.$ac_ext >&5
26967
26968 ac_cv_lib_jpeg_jpeg_read_header=no
26969 fi
26970
26971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26972 conftest$ac_exeext conftest.$ac_ext
26973 LIBS=$ac_check_lib_save_LIBS
26974 fi
26975 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26976 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26977 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26978 JPEG_LINK=" -ljpeg"
26979 fi
26980
26981 fi
26982
26983 if test "x$JPEG_LINK" = "x" ; then
26984 if test "$wxUSE_LIBJPEG" = "sys" ; then
26985 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26986 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26987 { (exit 1); exit 1; }; }
26988 else
26989 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26990 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26991 wxUSE_LIBJPEG=builtin
26992 fi
26993 else
26994 wxUSE_LIBJPEG=sys
26995
26996 if test "$wxUSE_MSW" = 1; then
26997 { echo "$as_me:$LINENO: checking for boolean" >&5
26998 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26999 if test "${ac_cv_type_boolean+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27001 else
27002 cat >conftest.$ac_ext <<_ACEOF
27003 /* confdefs.h. */
27004 _ACEOF
27005 cat confdefs.h >>conftest.$ac_ext
27006 cat >>conftest.$ac_ext <<_ACEOF
27007 /* end confdefs.h. */
27008 #include <windows.h>
27009
27010 typedef boolean ac__type_new_;
27011 int
27012 main ()
27013 {
27014 if ((ac__type_new_ *) 0)
27015 return 0;
27016 if (sizeof (ac__type_new_))
27017 return 0;
27018 ;
27019 return 0;
27020 }
27021 _ACEOF
27022 rm -f conftest.$ac_objext
27023 if { (ac_try="$ac_compile"
27024 case "(($ac_try" in
27025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27026 *) ac_try_echo=$ac_try;;
27027 esac
27028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27029 (eval "$ac_compile") 2>conftest.er1
27030 ac_status=$?
27031 grep -v '^ *+' conftest.er1 >conftest.err
27032 rm -f conftest.er1
27033 cat conftest.err >&5
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); } && {
27036 test -z "$ac_c_werror_flag" ||
27037 test ! -s conftest.err
27038 } && test -s conftest.$ac_objext; then
27039 ac_cv_type_boolean=yes
27040 else
27041 echo "$as_me: failed program was:" >&5
27042 sed 's/^/| /' conftest.$ac_ext >&5
27043
27044 ac_cv_type_boolean=no
27045 fi
27046
27047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27048 fi
27049 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27050 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27051 if test $ac_cv_type_boolean = yes; then
27052
27053 cat >>confdefs.h <<_ACEOF
27054 #define HAVE_BOOLEAN 1
27055 _ACEOF
27056
27057
27058 { echo "$as_me:$LINENO: checking for boolean" >&5
27059 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27060 if test "${ac_cv_type_boolean+set}" = set; then
27061 echo $ECHO_N "(cached) $ECHO_C" >&6
27062 else
27063 cat >conftest.$ac_ext <<_ACEOF
27064 /* confdefs.h. */
27065 _ACEOF
27066 cat confdefs.h >>conftest.$ac_ext
27067 cat >>conftest.$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27069
27070 #undef HAVE_BOOLEAN
27071 #include <stdio.h>
27072 #include <jpeglib.h>
27073
27074
27075 typedef boolean ac__type_new_;
27076 int
27077 main ()
27078 {
27079 if ((ac__type_new_ *) 0)
27080 return 0;
27081 if (sizeof (ac__type_new_))
27082 return 0;
27083 ;
27084 return 0;
27085 }
27086 _ACEOF
27087 rm -f conftest.$ac_objext
27088 if { (ac_try="$ac_compile"
27089 case "(($ac_try" in
27090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27091 *) ac_try_echo=$ac_try;;
27092 esac
27093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27094 (eval "$ac_compile") 2>conftest.er1
27095 ac_status=$?
27096 grep -v '^ *+' conftest.er1 >conftest.err
27097 rm -f conftest.er1
27098 cat conftest.err >&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } && {
27101 test -z "$ac_c_werror_flag" ||
27102 test ! -s conftest.err
27103 } && test -s conftest.$ac_objext; then
27104 ac_cv_type_boolean=yes
27105 else
27106 echo "$as_me: failed program was:" >&5
27107 sed 's/^/| /' conftest.$ac_ext >&5
27108
27109 ac_cv_type_boolean=no
27110 fi
27111
27112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27113 fi
27114 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27115 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27116
27117 # The cast to long int works around a bug in the HP C Compiler
27118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27120 # This bug is HP SR number 8606223364.
27121 { echo "$as_me:$LINENO: checking size of boolean" >&5
27122 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27123 if test "${ac_cv_sizeof_boolean+set}" = set; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27125 else
27126 if test "$cross_compiling" = yes; then
27127 # Depending upon the size, compute the lo and hi bounds.
27128 cat >conftest.$ac_ext <<_ACEOF
27129 /* confdefs.h. */
27130 _ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134
27135 #undef HAVE_BOOLEAN
27136 #include <stdio.h>
27137 #include <jpeglib.h>
27138
27139
27140 typedef boolean ac__type_sizeof_;
27141 int
27142 main ()
27143 {
27144 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27145 test_array [0] = 0
27146
27147 ;
27148 return 0;
27149 }
27150 _ACEOF
27151 rm -f conftest.$ac_objext
27152 if { (ac_try="$ac_compile"
27153 case "(($ac_try" in
27154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27155 *) ac_try_echo=$ac_try;;
27156 esac
27157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27158 (eval "$ac_compile") 2>conftest.er1
27159 ac_status=$?
27160 grep -v '^ *+' conftest.er1 >conftest.err
27161 rm -f conftest.er1
27162 cat conftest.err >&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); } && {
27165 test -z "$ac_c_werror_flag" ||
27166 test ! -s conftest.err
27167 } && test -s conftest.$ac_objext; then
27168 ac_lo=0 ac_mid=0
27169 while :; do
27170 cat >conftest.$ac_ext <<_ACEOF
27171 /* confdefs.h. */
27172 _ACEOF
27173 cat confdefs.h >>conftest.$ac_ext
27174 cat >>conftest.$ac_ext <<_ACEOF
27175 /* end confdefs.h. */
27176
27177 #undef HAVE_BOOLEAN
27178 #include <stdio.h>
27179 #include <jpeglib.h>
27180
27181
27182 typedef boolean ac__type_sizeof_;
27183 int
27184 main ()
27185 {
27186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27187 test_array [0] = 0
27188
27189 ;
27190 return 0;
27191 }
27192 _ACEOF
27193 rm -f conftest.$ac_objext
27194 if { (ac_try="$ac_compile"
27195 case "(($ac_try" in
27196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27197 *) ac_try_echo=$ac_try;;
27198 esac
27199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27200 (eval "$ac_compile") 2>conftest.er1
27201 ac_status=$?
27202 grep -v '^ *+' conftest.er1 >conftest.err
27203 rm -f conftest.er1
27204 cat conftest.err >&5
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); } && {
27207 test -z "$ac_c_werror_flag" ||
27208 test ! -s conftest.err
27209 } && test -s conftest.$ac_objext; then
27210 ac_hi=$ac_mid; break
27211 else
27212 echo "$as_me: failed program was:" >&5
27213 sed 's/^/| /' conftest.$ac_ext >&5
27214
27215 ac_lo=`expr $ac_mid + 1`
27216 if test $ac_lo -le $ac_mid; then
27217 ac_lo= ac_hi=
27218 break
27219 fi
27220 ac_mid=`expr 2 '*' $ac_mid + 1`
27221 fi
27222
27223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27224 done
27225 else
27226 echo "$as_me: failed program was:" >&5
27227 sed 's/^/| /' conftest.$ac_ext >&5
27228
27229 cat >conftest.$ac_ext <<_ACEOF
27230 /* confdefs.h. */
27231 _ACEOF
27232 cat confdefs.h >>conftest.$ac_ext
27233 cat >>conftest.$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27235
27236 #undef HAVE_BOOLEAN
27237 #include <stdio.h>
27238 #include <jpeglib.h>
27239
27240
27241 typedef boolean ac__type_sizeof_;
27242 int
27243 main ()
27244 {
27245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27246 test_array [0] = 0
27247
27248 ;
27249 return 0;
27250 }
27251 _ACEOF
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27257 esac
27258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27260 ac_status=$?
27261 grep -v '^ *+' conftest.er1 >conftest.err
27262 rm -f conftest.er1
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_c_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27269 ac_hi=-1 ac_mid=-1
27270 while :; do
27271 cat >conftest.$ac_ext <<_ACEOF
27272 /* confdefs.h. */
27273 _ACEOF
27274 cat confdefs.h >>conftest.$ac_ext
27275 cat >>conftest.$ac_ext <<_ACEOF
27276 /* end confdefs.h. */
27277
27278 #undef HAVE_BOOLEAN
27279 #include <stdio.h>
27280 #include <jpeglib.h>
27281
27282
27283 typedef boolean ac__type_sizeof_;
27284 int
27285 main ()
27286 {
27287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27288 test_array [0] = 0
27289
27290 ;
27291 return 0;
27292 }
27293 _ACEOF
27294 rm -f conftest.$ac_objext
27295 if { (ac_try="$ac_compile"
27296 case "(($ac_try" in
27297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27298 *) ac_try_echo=$ac_try;;
27299 esac
27300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27301 (eval "$ac_compile") 2>conftest.er1
27302 ac_status=$?
27303 grep -v '^ *+' conftest.er1 >conftest.err
27304 rm -f conftest.er1
27305 cat conftest.err >&5
27306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27307 (exit $ac_status); } && {
27308 test -z "$ac_c_werror_flag" ||
27309 test ! -s conftest.err
27310 } && test -s conftest.$ac_objext; then
27311 ac_lo=$ac_mid; break
27312 else
27313 echo "$as_me: failed program was:" >&5
27314 sed 's/^/| /' conftest.$ac_ext >&5
27315
27316 ac_hi=`expr '(' $ac_mid ')' - 1`
27317 if test $ac_mid -le $ac_hi; then
27318 ac_lo= ac_hi=
27319 break
27320 fi
27321 ac_mid=`expr 2 '*' $ac_mid`
27322 fi
27323
27324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27325 done
27326 else
27327 echo "$as_me: failed program was:" >&5
27328 sed 's/^/| /' conftest.$ac_ext >&5
27329
27330 ac_lo= ac_hi=
27331 fi
27332
27333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27334 fi
27335
27336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27337 # Binary search between lo and hi bounds.
27338 while test "x$ac_lo" != "x$ac_hi"; do
27339 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27340 cat >conftest.$ac_ext <<_ACEOF
27341 /* confdefs.h. */
27342 _ACEOF
27343 cat confdefs.h >>conftest.$ac_ext
27344 cat >>conftest.$ac_ext <<_ACEOF
27345 /* end confdefs.h. */
27346
27347 #undef HAVE_BOOLEAN
27348 #include <stdio.h>
27349 #include <jpeglib.h>
27350
27351
27352 typedef boolean ac__type_sizeof_;
27353 int
27354 main ()
27355 {
27356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27357 test_array [0] = 0
27358
27359 ;
27360 return 0;
27361 }
27362 _ACEOF
27363 rm -f conftest.$ac_objext
27364 if { (ac_try="$ac_compile"
27365 case "(($ac_try" in
27366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27367 *) ac_try_echo=$ac_try;;
27368 esac
27369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27370 (eval "$ac_compile") 2>conftest.er1
27371 ac_status=$?
27372 grep -v '^ *+' conftest.er1 >conftest.err
27373 rm -f conftest.er1
27374 cat conftest.err >&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } && {
27377 test -z "$ac_c_werror_flag" ||
27378 test ! -s conftest.err
27379 } && test -s conftest.$ac_objext; then
27380 ac_hi=$ac_mid
27381 else
27382 echo "$as_me: failed program was:" >&5
27383 sed 's/^/| /' conftest.$ac_ext >&5
27384
27385 ac_lo=`expr '(' $ac_mid ')' + 1`
27386 fi
27387
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27389 done
27390 case $ac_lo in
27391 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27392 '') if test "$ac_cv_type_boolean" = yes; then
27393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27394 See \`config.log' for more details." >&5
27395 echo "$as_me: error: cannot compute sizeof (boolean)
27396 See \`config.log' for more details." >&2;}
27397 { (exit 77); exit 77; }; }
27398 else
27399 ac_cv_sizeof_boolean=0
27400 fi ;;
27401 esac
27402 else
27403 cat >conftest.$ac_ext <<_ACEOF
27404 /* confdefs.h. */
27405 _ACEOF
27406 cat confdefs.h >>conftest.$ac_ext
27407 cat >>conftest.$ac_ext <<_ACEOF
27408 /* end confdefs.h. */
27409
27410 #undef HAVE_BOOLEAN
27411 #include <stdio.h>
27412 #include <jpeglib.h>
27413
27414
27415 typedef boolean ac__type_sizeof_;
27416 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27417 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27418 #include <stdio.h>
27419 #include <stdlib.h>
27420 int
27421 main ()
27422 {
27423
27424 FILE *f = fopen ("conftest.val", "w");
27425 if (! f)
27426 return 1;
27427 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27428 {
27429 long int i = longval ();
27430 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27431 return 1;
27432 fprintf (f, "%ld\n", i);
27433 }
27434 else
27435 {
27436 unsigned long int i = ulongval ();
27437 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27438 return 1;
27439 fprintf (f, "%lu\n", i);
27440 }
27441 return ferror (f) || fclose (f) != 0;
27442
27443 ;
27444 return 0;
27445 }
27446 _ACEOF
27447 rm -f conftest$ac_exeext
27448 if { (ac_try="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27452 esac
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>&5
27455 ac_status=$?
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27458 { (case "(($ac_try" in
27459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27460 *) ac_try_echo=$ac_try;;
27461 esac
27462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27463 (eval "$ac_try") 2>&5
27464 ac_status=$?
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); }; }; then
27467 ac_cv_sizeof_boolean=`cat conftest.val`
27468 else
27469 echo "$as_me: program exited with status $ac_status" >&5
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27472
27473 ( exit $ac_status )
27474 if test "$ac_cv_type_boolean" = yes; then
27475 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27476 See \`config.log' for more details." >&5
27477 echo "$as_me: error: cannot compute sizeof (boolean)
27478 See \`config.log' for more details." >&2;}
27479 { (exit 77); exit 77; }; }
27480 else
27481 ac_cv_sizeof_boolean=0
27482 fi
27483 fi
27484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27485 fi
27486 rm -f conftest.val
27487 fi
27488 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27489 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27490
27491
27492
27493 cat >>confdefs.h <<_ACEOF
27494 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27495 _ACEOF
27496
27497
27498 cat >>confdefs.h <<_ACEOF
27499 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27500 _ACEOF
27501
27502
27503 fi
27504
27505 fi
27506 fi
27507 fi
27508 fi
27509 fi
27510
27511
27512 TIFF_LINK=
27513 TIFF_PREREQ_LINKS=-lm
27514 if test "$wxUSE_LIBTIFF" != "no" ; then
27515 cat >>confdefs.h <<\_ACEOF
27516 #define wxUSE_LIBTIFF 1
27517 _ACEOF
27518
27519
27520 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27521 if test "$wxUSE_LIBJPEG" = "sys"; then
27522 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27523 fi
27524 if test "$wxUSE_ZLIB" = "sys"; then
27525 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27526 fi
27527 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27528 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27529 if test "${ac_cv_header_tiffio_h+set}" = set; then
27530 echo $ECHO_N "(cached) $ECHO_C" >&6
27531 else
27532 cat >conftest.$ac_ext <<_ACEOF
27533 /* confdefs.h. */
27534 _ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27538
27539
27540
27541 #include <tiffio.h>
27542 _ACEOF
27543 rm -f conftest.$ac_objext
27544 if { (ac_try="$ac_compile"
27545 case "(($ac_try" in
27546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27547 *) ac_try_echo=$ac_try;;
27548 esac
27549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27550 (eval "$ac_compile") 2>conftest.er1
27551 ac_status=$?
27552 grep -v '^ *+' conftest.er1 >conftest.err
27553 rm -f conftest.er1
27554 cat conftest.err >&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); } && {
27557 test -z "$ac_c_werror_flag" ||
27558 test ! -s conftest.err
27559 } && test -s conftest.$ac_objext; then
27560 ac_cv_header_tiffio_h=yes
27561 else
27562 echo "$as_me: failed program was:" >&5
27563 sed 's/^/| /' conftest.$ac_ext >&5
27564
27565 ac_cv_header_tiffio_h=no
27566 fi
27567
27568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27569 fi
27570 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27571 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27572 if test $ac_cv_header_tiffio_h = yes; then
27573
27574 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27575 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27576 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27577 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 else
27579 ac_check_lib_save_LIBS=$LIBS
27580 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27581 cat >conftest.$ac_ext <<_ACEOF
27582 /* confdefs.h. */
27583 _ACEOF
27584 cat confdefs.h >>conftest.$ac_ext
27585 cat >>conftest.$ac_ext <<_ACEOF
27586 /* end confdefs.h. */
27587
27588 /* Override any GCC internal prototype to avoid an error.
27589 Use char because int might match the return type of a GCC
27590 builtin and then its argument prototype would still apply. */
27591 #ifdef __cplusplus
27592 extern "C"
27593 #endif
27594 char TIFFError ();
27595 int
27596 main ()
27597 {
27598 return TIFFError ();
27599 ;
27600 return 0;
27601 }
27602 _ACEOF
27603 rm -f conftest.$ac_objext conftest$ac_exeext
27604 if { (ac_try="$ac_link"
27605 case "(($ac_try" in
27606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27607 *) ac_try_echo=$ac_try;;
27608 esac
27609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27610 (eval "$ac_link") 2>conftest.er1
27611 ac_status=$?
27612 grep -v '^ *+' conftest.er1 >conftest.err
27613 rm -f conftest.er1
27614 cat conftest.err >&5
27615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616 (exit $ac_status); } && {
27617 test -z "$ac_c_werror_flag" ||
27618 test ! -s conftest.err
27619 } && test -s conftest$ac_exeext &&
27620 $as_test_x conftest$ac_exeext; then
27621 ac_cv_lib_tiff_TIFFError=yes
27622 else
27623 echo "$as_me: failed program was:" >&5
27624 sed 's/^/| /' conftest.$ac_ext >&5
27625
27626 ac_cv_lib_tiff_TIFFError=no
27627 fi
27628
27629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27630 conftest$ac_exeext conftest.$ac_ext
27631 LIBS=$ac_check_lib_save_LIBS
27632 fi
27633 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27634 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27635 if test $ac_cv_lib_tiff_TIFFError = yes; then
27636 TIFF_LINK=" -ltiff"
27637 fi
27638
27639
27640 fi
27641
27642
27643
27644 if test "x$TIFF_LINK" = "x" ; then
27645 if test "$wxUSE_LIBTIFF" = "sys" ; then
27646 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27647 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27648 { (exit 1); exit 1; }; }
27649 else
27650 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27651 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27652 wxUSE_LIBTIFF=builtin
27653 fi
27654 else
27655 wxUSE_LIBTIFF=sys
27656 fi
27657 fi
27658 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27659 if test "$wxUSE_LIBJPEG" = "no"; then
27660 ac_configure_args="$ac_configure_args --disable-jpeg"
27661 fi
27662 subdirs="$subdirs src/tiff"
27663
27664 fi
27665 fi
27666
27667
27668 if test "$wxUSE_WCHAR_T" != "yes"; then
27669 if test "$wxUSE_EXPAT" != "no"; then
27670 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27671 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27672 wxUSE_EXPAT=no
27673 fi
27674 if test "$wxUSE_XML" != "no"; then
27675 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27676 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27677 wxUSE_XML=no
27678 fi
27679 fi
27680
27681 if test "$wxUSE_EXPAT" != "no"; then
27682 wxUSE_XML=yes
27683 cat >>confdefs.h <<\_ACEOF
27684 #define wxUSE_EXPAT 1
27685 _ACEOF
27686
27687 cat >>confdefs.h <<\_ACEOF
27688 #define wxUSE_XML 1
27689 _ACEOF
27690
27691
27692 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27693 { echo "$as_me:$LINENO: checking for expat.h" >&5
27694 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27695 if test "${ac_cv_header_expat_h+set}" = set; then
27696 echo $ECHO_N "(cached) $ECHO_C" >&6
27697 else
27698 cat >conftest.$ac_ext <<_ACEOF
27699 /* confdefs.h. */
27700 _ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704
27705
27706 #include <expat.h>
27707 _ACEOF
27708 rm -f conftest.$ac_objext
27709 if { (ac_try="$ac_compile"
27710 case "(($ac_try" in
27711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27712 *) ac_try_echo=$ac_try;;
27713 esac
27714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27715 (eval "$ac_compile") 2>conftest.er1
27716 ac_status=$?
27717 grep -v '^ *+' conftest.er1 >conftest.err
27718 rm -f conftest.er1
27719 cat conftest.err >&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } && {
27722 test -z "$ac_c_werror_flag" ||
27723 test ! -s conftest.err
27724 } && test -s conftest.$ac_objext; then
27725 ac_cv_header_expat_h=yes
27726 else
27727 echo "$as_me: failed program was:" >&5
27728 sed 's/^/| /' conftest.$ac_ext >&5
27729
27730 ac_cv_header_expat_h=no
27731 fi
27732
27733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27734 fi
27735 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27736 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27737 if test $ac_cv_header_expat_h = yes; then
27738 found_expat_h=1
27739 fi
27740
27741
27742 if test "x$found_expat_h" = "x1"; then
27743 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27744 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27745 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27746 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 else
27748
27749 ac_ext=cpp
27750 ac_cpp='$CXXCPP $CPPFLAGS'
27751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27754
27755 cat >conftest.$ac_ext <<_ACEOF
27756 /* confdefs.h. */
27757 _ACEOF
27758 cat confdefs.h >>conftest.$ac_ext
27759 cat >>conftest.$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27761 #include <expat.h>
27762 int
27763 main ()
27764 {
27765
27766 ;
27767 return 0;
27768 }
27769 _ACEOF
27770 rm -f conftest.$ac_objext
27771 if { (ac_try="$ac_compile"
27772 case "(($ac_try" in
27773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27774 *) ac_try_echo=$ac_try;;
27775 esac
27776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27777 (eval "$ac_compile") 2>conftest.er1
27778 ac_status=$?
27779 grep -v '^ *+' conftest.er1 >conftest.err
27780 rm -f conftest.er1
27781 cat conftest.err >&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); } && {
27784 test -z "$ac_cxx_werror_flag" ||
27785 test ! -s conftest.err
27786 } && test -s conftest.$ac_objext; then
27787 wx_cv_expat_is_not_broken=yes
27788 else
27789 echo "$as_me: failed program was:" >&5
27790 sed 's/^/| /' conftest.$ac_ext >&5
27791
27792 wx_cv_expat_is_not_broken=no
27793
27794 fi
27795
27796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27797 ac_ext=c
27798 ac_cpp='$CPP $CPPFLAGS'
27799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27802
27803
27804
27805 fi
27806 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27807 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27808 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27809 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27810 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27811 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27812 echo $ECHO_N "(cached) $ECHO_C" >&6
27813 else
27814 ac_check_lib_save_LIBS=$LIBS
27815 LIBS="-lexpat $LIBS"
27816 cat >conftest.$ac_ext <<_ACEOF
27817 /* confdefs.h. */
27818 _ACEOF
27819 cat confdefs.h >>conftest.$ac_ext
27820 cat >>conftest.$ac_ext <<_ACEOF
27821 /* end confdefs.h. */
27822
27823 /* Override any GCC internal prototype to avoid an error.
27824 Use char because int might match the return type of a GCC
27825 builtin and then its argument prototype would still apply. */
27826 #ifdef __cplusplus
27827 extern "C"
27828 #endif
27829 char XML_ParserCreate ();
27830 int
27831 main ()
27832 {
27833 return XML_ParserCreate ();
27834 ;
27835 return 0;
27836 }
27837 _ACEOF
27838 rm -f conftest.$ac_objext conftest$ac_exeext
27839 if { (ac_try="$ac_link"
27840 case "(($ac_try" in
27841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27842 *) ac_try_echo=$ac_try;;
27843 esac
27844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27845 (eval "$ac_link") 2>conftest.er1
27846 ac_status=$?
27847 grep -v '^ *+' conftest.er1 >conftest.err
27848 rm -f conftest.er1
27849 cat conftest.err >&5
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); } && {
27852 test -z "$ac_c_werror_flag" ||
27853 test ! -s conftest.err
27854 } && test -s conftest$ac_exeext &&
27855 $as_test_x conftest$ac_exeext; then
27856 ac_cv_lib_expat_XML_ParserCreate=yes
27857 else
27858 echo "$as_me: failed program was:" >&5
27859 sed 's/^/| /' conftest.$ac_ext >&5
27860
27861 ac_cv_lib_expat_XML_ParserCreate=no
27862 fi
27863
27864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27865 conftest$ac_exeext conftest.$ac_ext
27866 LIBS=$ac_check_lib_save_LIBS
27867 fi
27868 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27869 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27870 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27871 EXPAT_LINK=" -lexpat"
27872 fi
27873
27874 fi
27875 fi
27876 if test "x$EXPAT_LINK" = "x" ; then
27877 if test "$wxUSE_EXPAT" = "sys" ; then
27878 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27879 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27880 { (exit 1); exit 1; }; }
27881 else
27882 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27883 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27884 wxUSE_EXPAT=builtin
27885 fi
27886 else
27887 wxUSE_EXPAT=sys
27888 fi
27889 fi
27890 if test "$wxUSE_EXPAT" = "builtin" ; then
27891 subdirs="$subdirs src/expat"
27892
27893 fi
27894 fi
27895
27896
27897
27898 if test "$wxUSE_LIBMSPACK" != "no"; then
27899 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27900 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27901 if test "${ac_cv_header_mspack_h+set}" = set; then
27902 echo $ECHO_N "(cached) $ECHO_C" >&6
27903 else
27904 cat >conftest.$ac_ext <<_ACEOF
27905 /* confdefs.h. */
27906 _ACEOF
27907 cat confdefs.h >>conftest.$ac_ext
27908 cat >>conftest.$ac_ext <<_ACEOF
27909 /* end confdefs.h. */
27910
27911
27912 #include <mspack.h>
27913 _ACEOF
27914 rm -f conftest.$ac_objext
27915 if { (ac_try="$ac_compile"
27916 case "(($ac_try" in
27917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27918 *) ac_try_echo=$ac_try;;
27919 esac
27920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27921 (eval "$ac_compile") 2>conftest.er1
27922 ac_status=$?
27923 grep -v '^ *+' conftest.er1 >conftest.err
27924 rm -f conftest.er1
27925 cat conftest.err >&5
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); } && {
27928 test -z "$ac_c_werror_flag" ||
27929 test ! -s conftest.err
27930 } && test -s conftest.$ac_objext; then
27931 ac_cv_header_mspack_h=yes
27932 else
27933 echo "$as_me: failed program was:" >&5
27934 sed 's/^/| /' conftest.$ac_ext >&5
27935
27936 ac_cv_header_mspack_h=no
27937 fi
27938
27939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27940 fi
27941 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27942 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27943 if test $ac_cv_header_mspack_h = yes; then
27944 found_mspack_h=1
27945 fi
27946
27947
27948 if test "x$found_mspack_h" = "x1"; then
27949 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27950 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27951 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27952 echo $ECHO_N "(cached) $ECHO_C" >&6
27953 else
27954 ac_check_lib_save_LIBS=$LIBS
27955 LIBS="-lmspack $LIBS"
27956 cat >conftest.$ac_ext <<_ACEOF
27957 /* confdefs.h. */
27958 _ACEOF
27959 cat confdefs.h >>conftest.$ac_ext
27960 cat >>conftest.$ac_ext <<_ACEOF
27961 /* end confdefs.h. */
27962
27963 /* Override any GCC internal prototype to avoid an error.
27964 Use char because int might match the return type of a GCC
27965 builtin and then its argument prototype would still apply. */
27966 #ifdef __cplusplus
27967 extern "C"
27968 #endif
27969 char mspack_create_chm_decompressor ();
27970 int
27971 main ()
27972 {
27973 return mspack_create_chm_decompressor ();
27974 ;
27975 return 0;
27976 }
27977 _ACEOF
27978 rm -f conftest.$ac_objext conftest$ac_exeext
27979 if { (ac_try="$ac_link"
27980 case "(($ac_try" in
27981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27982 *) ac_try_echo=$ac_try;;
27983 esac
27984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27985 (eval "$ac_link") 2>conftest.er1
27986 ac_status=$?
27987 grep -v '^ *+' conftest.er1 >conftest.err
27988 rm -f conftest.er1
27989 cat conftest.err >&5
27990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27991 (exit $ac_status); } && {
27992 test -z "$ac_c_werror_flag" ||
27993 test ! -s conftest.err
27994 } && test -s conftest$ac_exeext &&
27995 $as_test_x conftest$ac_exeext; then
27996 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27997 else
27998 echo "$as_me: failed program was:" >&5
27999 sed 's/^/| /' conftest.$ac_ext >&5
28000
28001 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28002 fi
28003
28004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28005 conftest$ac_exeext conftest.$ac_ext
28006 LIBS=$ac_check_lib_save_LIBS
28007 fi
28008 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28009 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28010 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28011 MSPACK_LINK=" -lmspack"
28012 fi
28013
28014 fi
28015 if test "x$MSPACK_LINK" = "x" ; then
28016 wxUSE_LIBMSPACK=no
28017 fi
28018 fi
28019
28020 if test "$wxUSE_LIBMSPACK" != "no"; then
28021 cat >>confdefs.h <<\_ACEOF
28022 #define wxUSE_LIBMSPACK 1
28023 _ACEOF
28024
28025 fi
28026
28027
28028
28029 AFMINSTALL=
28030 WIN32INSTALL=
28031
28032 TOOLKIT=
28033 TOOLKIT_INCLUDE=
28034 WIDGET_SET=
28035
28036 if test "$USE_WIN32" = 1 ; then
28037
28038 for ac_header in w32api.h
28039 do
28040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28041 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28044 echo $ECHO_N "(cached) $ECHO_C" >&6
28045 else
28046 cat >conftest.$ac_ext <<_ACEOF
28047 /* confdefs.h. */
28048 _ACEOF
28049 cat confdefs.h >>conftest.$ac_ext
28050 cat >>conftest.$ac_ext <<_ACEOF
28051 /* end confdefs.h. */
28052
28053
28054 #include <$ac_header>
28055 _ACEOF
28056 rm -f conftest.$ac_objext
28057 if { (ac_try="$ac_compile"
28058 case "(($ac_try" in
28059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28060 *) ac_try_echo=$ac_try;;
28061 esac
28062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28063 (eval "$ac_compile") 2>conftest.er1
28064 ac_status=$?
28065 grep -v '^ *+' conftest.er1 >conftest.err
28066 rm -f conftest.er1
28067 cat conftest.err >&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); } && {
28070 test -z "$ac_c_werror_flag" ||
28071 test ! -s conftest.err
28072 } && test -s conftest.$ac_objext; then
28073 eval "$as_ac_Header=yes"
28074 else
28075 echo "$as_me: failed program was:" >&5
28076 sed 's/^/| /' conftest.$ac_ext >&5
28077
28078 eval "$as_ac_Header=no"
28079 fi
28080
28081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28082 fi
28083 ac_res=`eval echo '${'$as_ac_Header'}'`
28084 { echo "$as_me:$LINENO: result: $ac_res" >&5
28085 echo "${ECHO_T}$ac_res" >&6; }
28086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28087 cat >>confdefs.h <<_ACEOF
28088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28089 _ACEOF
28090
28091 fi
28092
28093 done
28094
28095 { echo "$as_me:$LINENO: checking for windows.h" >&5
28096 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28097 if test "${ac_cv_header_windows_h+set}" = set; then
28098 echo $ECHO_N "(cached) $ECHO_C" >&6
28099 else
28100 cat >conftest.$ac_ext <<_ACEOF
28101 /* confdefs.h. */
28102 _ACEOF
28103 cat confdefs.h >>conftest.$ac_ext
28104 cat >>conftest.$ac_ext <<_ACEOF
28105 /* end confdefs.h. */
28106
28107
28108 #include <windows.h>
28109 _ACEOF
28110 rm -f conftest.$ac_objext
28111 if { (ac_try="$ac_compile"
28112 case "(($ac_try" in
28113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28114 *) ac_try_echo=$ac_try;;
28115 esac
28116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28117 (eval "$ac_compile") 2>conftest.er1
28118 ac_status=$?
28119 grep -v '^ *+' conftest.er1 >conftest.err
28120 rm -f conftest.er1
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } && {
28124 test -z "$ac_c_werror_flag" ||
28125 test ! -s conftest.err
28126 } && test -s conftest.$ac_objext; then
28127 ac_cv_header_windows_h=yes
28128 else
28129 echo "$as_me: failed program was:" >&5
28130 sed 's/^/| /' conftest.$ac_ext >&5
28131
28132 ac_cv_header_windows_h=no
28133 fi
28134
28135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28136 fi
28137 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28138 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28139 if test $ac_cv_header_windows_h = yes; then
28140 :
28141 else
28142
28143 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28144 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28145 { (exit 1); exit 1; }; }
28146
28147 fi
28148
28149
28150
28151 case "${host}" in
28152 x86_64-*-mingw32* )
28153 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28154 ;;
28155 * )
28156 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28157 ;;
28158 esac
28159 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28160 LIBS="$LIBS -loleacc"
28161 fi
28162
28163 case "${host}" in
28164 *-*-cygwin* )
28165 LIBS="$LIBS -lkernel32 -luser32"
28166 esac
28167
28168 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28169 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28170
28171 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28172
28173 WIN32INSTALL=win32install
28174
28175 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28176 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28177 if test "${ac_cv_header_pbt_h+set}" = set; then
28178 echo $ECHO_N "(cached) $ECHO_C" >&6
28179 else
28180 cat >conftest.$ac_ext <<_ACEOF
28181 /* confdefs.h. */
28182 _ACEOF
28183 cat confdefs.h >>conftest.$ac_ext
28184 cat >>conftest.$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28186
28187
28188 #include <pbt.h>
28189 _ACEOF
28190 rm -f conftest.$ac_objext
28191 if { (ac_try="$ac_compile"
28192 case "(($ac_try" in
28193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28194 *) ac_try_echo=$ac_try;;
28195 esac
28196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28197 (eval "$ac_compile") 2>conftest.er1
28198 ac_status=$?
28199 grep -v '^ *+' conftest.er1 >conftest.err
28200 rm -f conftest.er1
28201 cat conftest.err >&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); } && {
28204 test -z "$ac_c_werror_flag" ||
28205 test ! -s conftest.err
28206 } && test -s conftest.$ac_objext; then
28207 ac_cv_header_pbt_h=yes
28208 else
28209 echo "$as_me: failed program was:" >&5
28210 sed 's/^/| /' conftest.$ac_ext >&5
28211
28212 ac_cv_header_pbt_h=no
28213 fi
28214
28215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28216 fi
28217 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28218 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28219 if test $ac_cv_header_pbt_h = yes; then
28220 :
28221 else
28222 cat >>confdefs.h <<\_ACEOF
28223 #define NEED_PBT_H 1
28224 _ACEOF
28225
28226 fi
28227
28228
28229 fi
28230
28231 if test "$wxUSE_GUI" = "yes"; then
28232 USE_GUI=1
28233
28234 GUI_TK_LIBRARY=
28235
28236 WXGTK12=
28237 WXGTK127=
28238 WXGTK2=
28239 WXGPE=
28240
28241 if test "$wxUSE_COCOA" = 1 ; then
28242 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28243 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28244 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28245 wxUSE_PRINTING_ARCHITECTURE=no
28246 fi
28247 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28248 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28249 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28250 wxUSE_DRAG_AND_DROP=no
28251 fi
28252 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28253 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28254 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28255 wxUSE_DRAGIMAGE=no
28256 fi
28257 fi
28258
28259 if test "$wxUSE_MSW" = 1 ; then
28260 TOOLKIT=MSW
28261 GUIDIST=MSW_DIST
28262
28263 case "${host}" in
28264 *-*-mingw32* )
28265 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28266 esac
28267 fi
28268
28269 if test "$wxUSE_GTK" = 1; then
28270 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28271 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28272
28273 gtk_version_cached=1
28274 if test "${wx_cv_lib_gtk+set}" = set; then
28275 echo $ECHO_N "(cached) $ECHO_C" >&6
28276 else
28277
28278 gtk_version_cached=0
28279 { echo "$as_me:$LINENO: result: " >&5
28280 echo "${ECHO_T}" >&6; }
28281
28282 GTK_MODULES=
28283 if test "$wxUSE_THREADS" = "yes"; then
28284 GTK_MODULES=gthread
28285 fi
28286
28287 wx_cv_lib_gtk=
28288 if test "x$wxGTK_VERSION" != "x1"
28289 then
28290 case "${host}" in
28291 *-*-solaris2* )
28292 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28293 enable_gtktest=no
28294 fi
28295 esac
28296
28297 # Check whether --enable-gtktest was given.
28298 if test "${enable_gtktest+set}" = set; then
28299 enableval=$enable_gtktest;
28300 else
28301 enable_gtktest=yes
28302 fi
28303
28304
28305 pkg_config_args=gtk+-2.0
28306 for module in . $GTK_MODULES
28307 do
28308 case "$module" in
28309 gthread)
28310 pkg_config_args="$pkg_config_args gthread-2.0"
28311 ;;
28312 esac
28313 done
28314
28315 no_gtk=""
28316
28317 # Extract the first word of "pkg-config", so it can be a program name with args.
28318 set dummy pkg-config; ac_word=$2
28319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28321 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28322 echo $ECHO_N "(cached) $ECHO_C" >&6
28323 else
28324 case $PKG_CONFIG in
28325 [\\/]* | ?:[\\/]*)
28326 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28327 ;;
28328 *)
28329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28330 for as_dir in $PATH
28331 do
28332 IFS=$as_save_IFS
28333 test -z "$as_dir" && as_dir=.
28334 for ac_exec_ext in '' $ac_executable_extensions; do
28335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28336 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28338 break 2
28339 fi
28340 done
28341 done
28342 IFS=$as_save_IFS
28343
28344 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28345 ;;
28346 esac
28347 fi
28348 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28349 if test -n "$PKG_CONFIG"; then
28350 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28351 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28352 else
28353 { echo "$as_me:$LINENO: result: no" >&5
28354 echo "${ECHO_T}no" >&6; }
28355 fi
28356
28357
28358
28359 if test x$PKG_CONFIG != xno ; then
28360 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28361 :
28362 else
28363 echo "*** pkg-config too old; version 0.7 or better required."
28364 no_gtk=yes
28365 PKG_CONFIG=no
28366 fi
28367 else
28368 no_gtk=yes
28369 fi
28370
28371 min_gtk_version=2.4.0
28372 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28373 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28374
28375 if test x$PKG_CONFIG != xno ; then
28376 ## don't try to run the test against uninstalled libtool libs
28377 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28378 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28379 enable_gtktest=no
28380 fi
28381
28382 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28383 :
28384 else
28385 no_gtk=yes
28386 fi
28387 fi
28388
28389 if test x"$no_gtk" = x ; then
28390 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28391 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28392 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28394 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28396 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28398 if test "x$enable_gtktest" = "xyes" ; then
28399 ac_save_CFLAGS="$CFLAGS"
28400 ac_save_LIBS="$LIBS"
28401 CFLAGS="$CFLAGS $GTK_CFLAGS"
28402 LIBS="$GTK_LIBS $LIBS"
28403 rm -f conf.gtktest
28404 if test "$cross_compiling" = yes; then
28405 echo $ac_n "cross compiling; assumed OK... $ac_c"
28406 else
28407 cat >conftest.$ac_ext <<_ACEOF
28408 /* confdefs.h. */
28409 _ACEOF
28410 cat confdefs.h >>conftest.$ac_ext
28411 cat >>conftest.$ac_ext <<_ACEOF
28412 /* end confdefs.h. */
28413
28414 #include <gtk/gtk.h>
28415 #include <stdio.h>
28416 #include <stdlib.h>
28417
28418 int
28419 main ()
28420 {
28421 int major, minor, micro;
28422 char *tmp_version;
28423
28424 system ("touch conf.gtktest");
28425
28426 /* HP/UX 9 (%@#!) writes to sscanf strings */
28427 tmp_version = g_strdup("$min_gtk_version");
28428 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28429 printf("%s, bad version string\n", "$min_gtk_version");
28430 exit(1);
28431 }
28432
28433 if ((gtk_major_version != $gtk_config_major_version) ||
28434 (gtk_minor_version != $gtk_config_minor_version) ||
28435 (gtk_micro_version != $gtk_config_micro_version))
28436 {
28437 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28438 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28439 gtk_major_version, gtk_minor_version, gtk_micro_version);
28440 printf ("*** was found! If pkg-config was correct, then it is best\n");
28441 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28442 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28443 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28444 printf("*** required on your system.\n");
28445 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28446 printf("*** to point to the correct configuration files\n");
28447 }
28448 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28449 (gtk_minor_version != GTK_MINOR_VERSION) ||
28450 (gtk_micro_version != GTK_MICRO_VERSION))
28451 {
28452 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28453 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28454 printf("*** library (version %d.%d.%d)\n",
28455 gtk_major_version, gtk_minor_version, gtk_micro_version);
28456 }
28457 else
28458 {
28459 if ((gtk_major_version > major) ||
28460 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28461 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28462 {
28463 return 0;
28464 }
28465 else
28466 {
28467 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28468 gtk_major_version, gtk_minor_version, gtk_micro_version);
28469 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28470 major, minor, micro);
28471 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28472 printf("***\n");
28473 printf("*** If you have already installed a sufficiently new version, this error\n");
28474 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28475 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28476 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28477 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28478 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28479 printf("*** so that the correct libraries are found at run-time))\n");
28480 }
28481 }
28482 return 1;
28483 }
28484
28485 _ACEOF
28486 rm -f conftest$ac_exeext
28487 if { (ac_try="$ac_link"
28488 case "(($ac_try" in
28489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28490 *) ac_try_echo=$ac_try;;
28491 esac
28492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28493 (eval "$ac_link") 2>&5
28494 ac_status=$?
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28497 { (case "(($ac_try" in
28498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28499 *) ac_try_echo=$ac_try;;
28500 esac
28501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28502 (eval "$ac_try") 2>&5
28503 ac_status=$?
28504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 (exit $ac_status); }; }; then
28506 :
28507 else
28508 echo "$as_me: program exited with status $ac_status" >&5
28509 echo "$as_me: failed program was:" >&5
28510 sed 's/^/| /' conftest.$ac_ext >&5
28511
28512 ( exit $ac_status )
28513 no_gtk=yes
28514 fi
28515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28516 fi
28517
28518
28519 CFLAGS="$ac_save_CFLAGS"
28520 LIBS="$ac_save_LIBS"
28521 fi
28522 fi
28523 if test "x$no_gtk" = x ; then
28524 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28525 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28526 wx_cv_lib_gtk=2.0
28527 else
28528 { echo "$as_me:$LINENO: result: no" >&5
28529 echo "${ECHO_T}no" >&6; }
28530 if test "$PKG_CONFIG" = "no" ; then
28531 echo "*** A new enough version of pkg-config was not found."
28532 echo "*** See http://pkgconfig.sourceforge.net"
28533 else
28534 if test -f conf.gtktest ; then
28535 :
28536 else
28537 echo "*** Could not run GTK+ test program, checking why..."
28538 ac_save_CFLAGS="$CFLAGS"
28539 ac_save_LIBS="$LIBS"
28540 CFLAGS="$CFLAGS $GTK_CFLAGS"
28541 LIBS="$LIBS $GTK_LIBS"
28542 cat >conftest.$ac_ext <<_ACEOF
28543 /* confdefs.h. */
28544 _ACEOF
28545 cat confdefs.h >>conftest.$ac_ext
28546 cat >>conftest.$ac_ext <<_ACEOF
28547 /* end confdefs.h. */
28548
28549 #include <gtk/gtk.h>
28550 #include <stdio.h>
28551
28552 int
28553 main ()
28554 {
28555 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28556 ;
28557 return 0;
28558 }
28559 _ACEOF
28560 rm -f conftest.$ac_objext conftest$ac_exeext
28561 if { (ac_try="$ac_link"
28562 case "(($ac_try" in
28563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28564 *) ac_try_echo=$ac_try;;
28565 esac
28566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28567 (eval "$ac_link") 2>conftest.er1
28568 ac_status=$?
28569 grep -v '^ *+' conftest.er1 >conftest.err
28570 rm -f conftest.er1
28571 cat conftest.err >&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); } && {
28574 test -z "$ac_c_werror_flag" ||
28575 test ! -s conftest.err
28576 } && test -s conftest$ac_exeext &&
28577 $as_test_x conftest$ac_exeext; then
28578 echo "*** The test program compiled, but did not run. This usually means"
28579 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28580 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28581 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28582 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28583 echo "*** is required on your system"
28584 echo "***"
28585 echo "*** If you have an old version installed, it is best to remove it, although"
28586 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28587 else
28588 echo "$as_me: failed program was:" >&5
28589 sed 's/^/| /' conftest.$ac_ext >&5
28590
28591 echo "*** The test program failed to compile or link. See the file config.log for the"
28592 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28593 fi
28594
28595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28596 conftest$ac_exeext conftest.$ac_ext
28597 CFLAGS="$ac_save_CFLAGS"
28598 LIBS="$ac_save_LIBS"
28599 fi
28600 fi
28601 GTK_CFLAGS=""
28602 GTK_LIBS=""
28603 :
28604 fi
28605
28606
28607 rm -f conf.gtktest
28608
28609
28610 case "${host}" in
28611 *-*-solaris2* )
28612 if test "$wxUSE_SHARED" != "yes"; then
28613 GTK_LIBS="$GTK_LIBS -lX11"
28614 fi
28615 esac
28616 fi
28617
28618 if test -z "$wx_cv_lib_gtk"; then
28619 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28620
28621 # Check whether --with-gtk-prefix was given.
28622 if test "${with_gtk_prefix+set}" = set; then
28623 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28624 else
28625 gtk_config_prefix=""
28626 fi
28627
28628
28629 # Check whether --with-gtk-exec-prefix was given.
28630 if test "${with_gtk_exec_prefix+set}" = set; then
28631 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28632 else
28633 gtk_config_exec_prefix=""
28634 fi
28635
28636 # Check whether --enable-gtktest was given.
28637 if test "${enable_gtktest+set}" = set; then
28638 enableval=$enable_gtktest;
28639 else
28640 enable_gtktest=yes
28641 fi
28642
28643
28644 for module in . $GTK_MODULES
28645 do
28646 case "$module" in
28647 gthread)
28648 gtk_config_args="$gtk_config_args gthread"
28649 ;;
28650 esac
28651 done
28652
28653 if test x$gtk_config_exec_prefix != x ; then
28654 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28655 if test x${GTK_CONFIG+set} != xset ; then
28656 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28657 fi
28658 fi
28659 if test x$gtk_config_prefix != x ; then
28660 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28661 if test x${GTK_CONFIG+set} != xset ; then
28662 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28663 fi
28664 fi
28665
28666 # Extract the first word of "gtk-config", so it can be a program name with args.
28667 set dummy gtk-config; ac_word=$2
28668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28670 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28671 echo $ECHO_N "(cached) $ECHO_C" >&6
28672 else
28673 case $GTK_CONFIG in
28674 [\\/]* | ?:[\\/]*)
28675 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28676 ;;
28677 *)
28678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28679 for as_dir in $PATH
28680 do
28681 IFS=$as_save_IFS
28682 test -z "$as_dir" && as_dir=.
28683 for ac_exec_ext in '' $ac_executable_extensions; do
28684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28685 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28687 break 2
28688 fi
28689 done
28690 done
28691 IFS=$as_save_IFS
28692
28693 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28694 ;;
28695 esac
28696 fi
28697 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28698 if test -n "$GTK_CONFIG"; then
28699 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28700 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28701 else
28702 { echo "$as_me:$LINENO: result: no" >&5
28703 echo "${ECHO_T}no" >&6; }
28704 fi
28705
28706
28707 min_gtk_version=1.2.7
28708 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28709 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28710 no_gtk=""
28711 if test "$GTK_CONFIG" = "no" ; then
28712 no_gtk=yes
28713 else
28714 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28715 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28716 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28718 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28720 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28721 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28722 if test "x$enable_gtktest" = "xyes" ; then
28723 ac_save_CFLAGS="$CFLAGS"
28724 ac_save_LIBS="$LIBS"
28725 CFLAGS="$CFLAGS $GTK_CFLAGS"
28726 LIBS="$GTK_LIBS $LIBS"
28727 rm -f conf.gtktest
28728 if test "$cross_compiling" = yes; then
28729 echo $ac_n "cross compiling; assumed OK... $ac_c"
28730 else
28731 cat >conftest.$ac_ext <<_ACEOF
28732 /* confdefs.h. */
28733 _ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28737
28738 #include <gtk/gtk.h>
28739 #include <stdio.h>
28740 #include <stdlib.h>
28741
28742 int
28743 main ()
28744 {
28745 int major, minor, micro;
28746 char *tmp_version;
28747
28748 system ("touch conf.gtktest");
28749
28750 /* HP/UX 9 (%@#!) writes to sscanf strings */
28751 tmp_version = g_strdup("$min_gtk_version");
28752 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28753 printf("%s, bad version string\n", "$min_gtk_version");
28754 exit(1);
28755 }
28756
28757 if ((gtk_major_version != $gtk_config_major_version) ||
28758 (gtk_minor_version != $gtk_config_minor_version) ||
28759 (gtk_micro_version != $gtk_config_micro_version))
28760 {
28761 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28762 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28763 gtk_major_version, gtk_minor_version, gtk_micro_version);
28764 printf ("*** was found! If gtk-config was correct, then it is best\n");
28765 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28766 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28767 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28768 printf("*** required on your system.\n");
28769 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28770 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28771 printf("*** before re-running configure\n");
28772 }
28773 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28774 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28775 (gtk_minor_version != GTK_MINOR_VERSION) ||
28776 (gtk_micro_version != GTK_MICRO_VERSION))
28777 {
28778 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28779 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28780 printf("*** library (version %d.%d.%d)\n",
28781 gtk_major_version, gtk_minor_version, gtk_micro_version);
28782 }
28783 #endif /* defined (GTK_MAJOR_VERSION) ... */
28784 else
28785 {
28786 if ((gtk_major_version > major) ||
28787 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28788 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28789 {
28790 return 0;
28791 }
28792 else
28793 {
28794 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28795 gtk_major_version, gtk_minor_version, gtk_micro_version);
28796 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28797 major, minor, micro);
28798 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28799 printf("***\n");
28800 printf("*** If you have already installed a sufficiently new version, this error\n");
28801 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28802 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28803 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28804 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28805 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28806 printf("*** so that the correct libraries are found at run-time))\n");
28807 }
28808 }
28809 return 1;
28810 }
28811
28812 _ACEOF
28813 rm -f conftest$ac_exeext
28814 if { (ac_try="$ac_link"
28815 case "(($ac_try" in
28816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28817 *) ac_try_echo=$ac_try;;
28818 esac
28819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28820 (eval "$ac_link") 2>&5
28821 ac_status=$?
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28824 { (case "(($ac_try" in
28825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28826 *) ac_try_echo=$ac_try;;
28827 esac
28828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28829 (eval "$ac_try") 2>&5
28830 ac_status=$?
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); }; }; then
28833 :
28834 else
28835 echo "$as_me: program exited with status $ac_status" >&5
28836 echo "$as_me: failed program was:" >&5
28837 sed 's/^/| /' conftest.$ac_ext >&5
28838
28839 ( exit $ac_status )
28840 no_gtk=yes
28841 fi
28842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28843 fi
28844
28845
28846 CFLAGS="$ac_save_CFLAGS"
28847 LIBS="$ac_save_LIBS"
28848 fi
28849 fi
28850 if test "x$no_gtk" = x ; then
28851 { echo "$as_me:$LINENO: result: yes" >&5
28852 echo "${ECHO_T}yes" >&6; }
28853 wx_cv_lib_gtk=1.2.7
28854 else
28855 { echo "$as_me:$LINENO: result: no" >&5
28856 echo "${ECHO_T}no" >&6; }
28857 if test "$GTK_CONFIG" = "no" ; then
28858 echo "*** The gtk-config script installed by GTK could not be found"
28859 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28860 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28861 echo "*** full path to gtk-config."
28862 else
28863 if test -f conf.gtktest ; then
28864 :
28865 else
28866 echo "*** Could not run GTK test program, checking why..."
28867 CFLAGS="$CFLAGS $GTK_CFLAGS"
28868 LIBS="$LIBS $GTK_LIBS"
28869 cat >conftest.$ac_ext <<_ACEOF
28870 /* confdefs.h. */
28871 _ACEOF
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28875
28876 #include <gtk/gtk.h>
28877 #include <stdio.h>
28878
28879 int
28880 main ()
28881 {
28882 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28883 ;
28884 return 0;
28885 }
28886 _ACEOF
28887 rm -f conftest.$ac_objext conftest$ac_exeext
28888 if { (ac_try="$ac_link"
28889 case "(($ac_try" in
28890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28891 *) ac_try_echo=$ac_try;;
28892 esac
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_link") 2>conftest.er1
28895 ac_status=$?
28896 grep -v '^ *+' conftest.er1 >conftest.err
28897 rm -f conftest.er1
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } && {
28901 test -z "$ac_c_werror_flag" ||
28902 test ! -s conftest.err
28903 } && test -s conftest$ac_exeext &&
28904 $as_test_x conftest$ac_exeext; then
28905 echo "*** The test program compiled, but did not run. This usually means"
28906 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28907 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28908 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28909 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28910 echo "*** is required on your system"
28911 echo "***"
28912 echo "*** If you have an old version installed, it is best to remove it, although"
28913 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28914 echo "***"
28915 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28916 echo "*** came with the system with the command"
28917 echo "***"
28918 echo "*** rpm --erase --nodeps gtk gtk-devel"
28919 else
28920 echo "$as_me: failed program was:" >&5
28921 sed 's/^/| /' conftest.$ac_ext >&5
28922
28923 echo "*** The test program failed to compile or link. See the file config.log for the"
28924 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28925 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28926 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28927 fi
28928
28929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28930 conftest$ac_exeext conftest.$ac_ext
28931 CFLAGS="$ac_save_CFLAGS"
28932 LIBS="$ac_save_LIBS"
28933 fi
28934 fi
28935 GTK_CFLAGS=""
28936 GTK_LIBS=""
28937 :
28938 fi
28939
28940
28941 rm -f conf.gtktest
28942
28943
28944 if test -z "$wx_cv_lib_gtk"; then
28945
28946 # Check whether --with-gtk-prefix was given.
28947 if test "${with_gtk_prefix+set}" = set; then
28948 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28949 else
28950 gtk_config_prefix=""
28951 fi
28952
28953
28954 # Check whether --with-gtk-exec-prefix was given.
28955 if test "${with_gtk_exec_prefix+set}" = set; then
28956 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28957 else
28958 gtk_config_exec_prefix=""
28959 fi
28960
28961 # Check whether --enable-gtktest was given.
28962 if test "${enable_gtktest+set}" = set; then
28963 enableval=$enable_gtktest;
28964 else
28965 enable_gtktest=yes
28966 fi
28967
28968
28969 for module in . $GTK_MODULES
28970 do
28971 case "$module" in
28972 gthread)
28973 gtk_config_args="$gtk_config_args gthread"
28974 ;;
28975 esac
28976 done
28977
28978 if test x$gtk_config_exec_prefix != x ; then
28979 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28980 if test x${GTK_CONFIG+set} != xset ; then
28981 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28982 fi
28983 fi
28984 if test x$gtk_config_prefix != x ; then
28985 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28986 if test x${GTK_CONFIG+set} != xset ; then
28987 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28988 fi
28989 fi
28990
28991 # Extract the first word of "gtk-config", so it can be a program name with args.
28992 set dummy gtk-config; ac_word=$2
28993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28995 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28996 echo $ECHO_N "(cached) $ECHO_C" >&6
28997 else
28998 case $GTK_CONFIG in
28999 [\\/]* | ?:[\\/]*)
29000 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29001 ;;
29002 *)
29003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29004 for as_dir in $PATH
29005 do
29006 IFS=$as_save_IFS
29007 test -z "$as_dir" && as_dir=.
29008 for ac_exec_ext in '' $ac_executable_extensions; do
29009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29010 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29012 break 2
29013 fi
29014 done
29015 done
29016 IFS=$as_save_IFS
29017
29018 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29019 ;;
29020 esac
29021 fi
29022 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29023 if test -n "$GTK_CONFIG"; then
29024 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29025 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29026 else
29027 { echo "$as_me:$LINENO: result: no" >&5
29028 echo "${ECHO_T}no" >&6; }
29029 fi
29030
29031
29032 min_gtk_version=1.2.3
29033 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29034 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29035 no_gtk=""
29036 if test "$GTK_CONFIG" = "no" ; then
29037 no_gtk=yes
29038 else
29039 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29040 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29041 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29043 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29045 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29047 if test "x$enable_gtktest" = "xyes" ; then
29048 ac_save_CFLAGS="$CFLAGS"
29049 ac_save_LIBS="$LIBS"
29050 CFLAGS="$CFLAGS $GTK_CFLAGS"
29051 LIBS="$GTK_LIBS $LIBS"
29052 rm -f conf.gtktest
29053 if test "$cross_compiling" = yes; then
29054 echo $ac_n "cross compiling; assumed OK... $ac_c"
29055 else
29056 cat >conftest.$ac_ext <<_ACEOF
29057 /* confdefs.h. */
29058 _ACEOF
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29062
29063 #include <gtk/gtk.h>
29064 #include <stdio.h>
29065 #include <stdlib.h>
29066
29067 int
29068 main ()
29069 {
29070 int major, minor, micro;
29071 char *tmp_version;
29072
29073 system ("touch conf.gtktest");
29074
29075 /* HP/UX 9 (%@#!) writes to sscanf strings */
29076 tmp_version = g_strdup("$min_gtk_version");
29077 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29078 printf("%s, bad version string\n", "$min_gtk_version");
29079 exit(1);
29080 }
29081
29082 if ((gtk_major_version != $gtk_config_major_version) ||
29083 (gtk_minor_version != $gtk_config_minor_version) ||
29084 (gtk_micro_version != $gtk_config_micro_version))
29085 {
29086 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29087 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29088 gtk_major_version, gtk_minor_version, gtk_micro_version);
29089 printf ("*** was found! If gtk-config was correct, then it is best\n");
29090 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29091 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29092 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29093 printf("*** required on your system.\n");
29094 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29095 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29096 printf("*** before re-running configure\n");
29097 }
29098 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29099 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29100 (gtk_minor_version != GTK_MINOR_VERSION) ||
29101 (gtk_micro_version != GTK_MICRO_VERSION))
29102 {
29103 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29104 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29105 printf("*** library (version %d.%d.%d)\n",
29106 gtk_major_version, gtk_minor_version, gtk_micro_version);
29107 }
29108 #endif /* defined (GTK_MAJOR_VERSION) ... */
29109 else
29110 {
29111 if ((gtk_major_version > major) ||
29112 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29113 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29114 {
29115 return 0;
29116 }
29117 else
29118 {
29119 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29120 gtk_major_version, gtk_minor_version, gtk_micro_version);
29121 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29122 major, minor, micro);
29123 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29124 printf("***\n");
29125 printf("*** If you have already installed a sufficiently new version, this error\n");
29126 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29127 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29128 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29129 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29130 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29131 printf("*** so that the correct libraries are found at run-time))\n");
29132 }
29133 }
29134 return 1;
29135 }
29136
29137 _ACEOF
29138 rm -f conftest$ac_exeext
29139 if { (ac_try="$ac_link"
29140 case "(($ac_try" in
29141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29142 *) ac_try_echo=$ac_try;;
29143 esac
29144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29145 (eval "$ac_link") 2>&5
29146 ac_status=$?
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29149 { (case "(($ac_try" in
29150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29151 *) ac_try_echo=$ac_try;;
29152 esac
29153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29154 (eval "$ac_try") 2>&5
29155 ac_status=$?
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; }; then
29158 :
29159 else
29160 echo "$as_me: program exited with status $ac_status" >&5
29161 echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29163
29164 ( exit $ac_status )
29165 no_gtk=yes
29166 fi
29167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29168 fi
29169
29170
29171 CFLAGS="$ac_save_CFLAGS"
29172 LIBS="$ac_save_LIBS"
29173 fi
29174 fi
29175 if test "x$no_gtk" = x ; then
29176 { echo "$as_me:$LINENO: result: yes" >&5
29177 echo "${ECHO_T}yes" >&6; }
29178 wx_cv_lib_gtk=1.2.3
29179 else
29180 { echo "$as_me:$LINENO: result: no" >&5
29181 echo "${ECHO_T}no" >&6; }
29182 if test "$GTK_CONFIG" = "no" ; then
29183 echo "*** The gtk-config script installed by GTK could not be found"
29184 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29185 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29186 echo "*** full path to gtk-config."
29187 else
29188 if test -f conf.gtktest ; then
29189 :
29190 else
29191 echo "*** Could not run GTK test program, checking why..."
29192 CFLAGS="$CFLAGS $GTK_CFLAGS"
29193 LIBS="$LIBS $GTK_LIBS"
29194 cat >conftest.$ac_ext <<_ACEOF
29195 /* confdefs.h. */
29196 _ACEOF
29197 cat confdefs.h >>conftest.$ac_ext
29198 cat >>conftest.$ac_ext <<_ACEOF
29199 /* end confdefs.h. */
29200
29201 #include <gtk/gtk.h>
29202 #include <stdio.h>
29203
29204 int
29205 main ()
29206 {
29207 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29208 ;
29209 return 0;
29210 }
29211 _ACEOF
29212 rm -f conftest.$ac_objext conftest$ac_exeext
29213 if { (ac_try="$ac_link"
29214 case "(($ac_try" in
29215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29216 *) ac_try_echo=$ac_try;;
29217 esac
29218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29219 (eval "$ac_link") 2>conftest.er1
29220 ac_status=$?
29221 grep -v '^ *+' conftest.er1 >conftest.err
29222 rm -f conftest.er1
29223 cat conftest.err >&5
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); } && {
29226 test -z "$ac_c_werror_flag" ||
29227 test ! -s conftest.err
29228 } && test -s conftest$ac_exeext &&
29229 $as_test_x conftest$ac_exeext; then
29230 echo "*** The test program compiled, but did not run. This usually means"
29231 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29232 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29233 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29234 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29235 echo "*** is required on your system"
29236 echo "***"
29237 echo "*** If you have an old version installed, it is best to remove it, although"
29238 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29239 echo "***"
29240 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29241 echo "*** came with the system with the command"
29242 echo "***"
29243 echo "*** rpm --erase --nodeps gtk gtk-devel"
29244 else
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29247
29248 echo "*** The test program failed to compile or link. See the file config.log for the"
29249 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29250 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29251 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29252 fi
29253
29254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29255 conftest$ac_exeext conftest.$ac_ext
29256 CFLAGS="$ac_save_CFLAGS"
29257 LIBS="$ac_save_LIBS"
29258 fi
29259 fi
29260 GTK_CFLAGS=""
29261 GTK_LIBS=""
29262 :
29263 fi
29264
29265
29266 rm -f conf.gtktest
29267
29268 fi
29269 fi
29270 fi
29271
29272 if test -z "$wx_cv_lib_gtk"; then
29273 wx_cv_lib_gtk=none
29274 else
29275 wx_cv_cflags_gtk=$GTK_CFLAGS
29276 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29277 fi
29278
29279
29280 fi
29281
29282
29283 if test "$gtk_version_cached" = 1; then
29284 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29285 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29286 fi
29287
29288 case "$wx_cv_lib_gtk" in
29289 2.0) WXGTK2=1
29290 TOOLKIT_VERSION=2
29291 ;;
29292 1.2.7) WXGTK127=1
29293 WXGTK12=1
29294 ;;
29295 1.2.3) WXGTK12=1
29296 ;;
29297 *) { { echo "$as_me:$LINENO: error:
29298 The development files for GTK+ were not found. For GTK+ 2, please
29299 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29300 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29301 and that the version is 1.2.3 or above. Also check that the
29302 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29303 --libs' are in the LD_LIBRARY_PATH or equivalent.
29304 " >&5
29305 echo "$as_me: error:
29306 The development files for GTK+ were not found. For GTK+ 2, please
29307 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29308 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29309 and that the version is 1.2.3 or above. Also check that the
29310 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29311 --libs' are in the LD_LIBRARY_PATH or equivalent.
29312 " >&2;}
29313 { (exit 1); exit 1; }; }
29314 ;;
29315 esac
29316
29317 if test "$WXGTK2" = 1; then
29318 save_CFLAGS="$CFLAGS"
29319 save_LIBS="$LIBS"
29320 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29321 LIBS="$LIBS $wx_cv_libs_gtk"
29322
29323 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29324 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29325 cat >conftest.$ac_ext <<_ACEOF
29326 /* confdefs.h. */
29327 _ACEOF
29328 cat confdefs.h >>conftest.$ac_ext
29329 cat >>conftest.$ac_ext <<_ACEOF
29330 /* end confdefs.h. */
29331
29332 #include <gtk/gtk.h>
29333
29334 int
29335 main ()
29336 {
29337
29338 #if !GTK_CHECK_VERSION(2,10,0)
29339 Not GTK+ 2.10
29340 #endif
29341
29342 ;
29343 return 0;
29344 }
29345 _ACEOF
29346 rm -f conftest.$ac_objext
29347 if { (ac_try="$ac_compile"
29348 case "(($ac_try" in
29349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29350 *) ac_try_echo=$ac_try;;
29351 esac
29352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29353 (eval "$ac_compile") 2>conftest.er1
29354 ac_status=$?
29355 grep -v '^ *+' conftest.er1 >conftest.err
29356 rm -f conftest.er1
29357 cat conftest.err >&5
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); } && {
29360 test -z "$ac_c_werror_flag" ||
29361 test ! -s conftest.err
29362 } && test -s conftest.$ac_objext; then
29363
29364 cat >>confdefs.h <<\_ACEOF
29365 #define __WXGTK210__ 1
29366 _ACEOF
29367
29368 cat >>confdefs.h <<\_ACEOF
29369 #define __WXGTK26__ 1
29370 _ACEOF
29371
29372 { echo "$as_me:$LINENO: result: yes" >&5
29373 echo "${ECHO_T}yes" >&6; }
29374 ac_wxgtk210=1
29375
29376 else
29377 echo "$as_me: failed program was:" >&5
29378 sed 's/^/| /' conftest.$ac_ext >&5
29379
29380
29381 { echo "$as_me:$LINENO: result: no" >&5
29382 echo "${ECHO_T}no" >&6; }
29383 ac_wxgtk210=0
29384
29385 fi
29386
29387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29388
29389 if test "$ac_wxgtk210" = 0; then
29390 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29391 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29392 cat >conftest.$ac_ext <<_ACEOF
29393 /* confdefs.h. */
29394 _ACEOF
29395 cat confdefs.h >>conftest.$ac_ext
29396 cat >>conftest.$ac_ext <<_ACEOF
29397 /* end confdefs.h. */
29398
29399 #include <gtk/gtk.h>
29400
29401 int
29402 main ()
29403 {
29404
29405 #if !GTK_CHECK_VERSION(2,6,0)
29406 Not GTK+ 2.6
29407 #endif
29408
29409 ;
29410 return 0;
29411 }
29412 _ACEOF
29413 rm -f conftest.$ac_objext
29414 if { (ac_try="$ac_compile"
29415 case "(($ac_try" in
29416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29417 *) ac_try_echo=$ac_try;;
29418 esac
29419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29420 (eval "$ac_compile") 2>conftest.er1
29421 ac_status=$?
29422 grep -v '^ *+' conftest.er1 >conftest.err
29423 rm -f conftest.er1
29424 cat conftest.err >&5
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); } && {
29427 test -z "$ac_c_werror_flag" ||
29428 test ! -s conftest.err
29429 } && test -s conftest.$ac_objext; then
29430
29431 cat >>confdefs.h <<\_ACEOF
29432 #define __WXGTK26__ 1
29433 _ACEOF
29434
29435 { echo "$as_me:$LINENO: result: yes" >&5
29436 echo "${ECHO_T}yes" >&6; }
29437 ac_wxgtk26=1
29438
29439 else
29440 echo "$as_me: failed program was:" >&5
29441 sed 's/^/| /' conftest.$ac_ext >&5
29442
29443
29444 { echo "$as_me:$LINENO: result: no" >&5
29445 echo "${ECHO_T}no" >&6; }
29446 ac_wxgtk26=0
29447
29448 fi
29449
29450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29451 fi
29452
29453 CFLAGS="$save_CFLAGS"
29454 LIBS="$save_LIBS"
29455 else
29456 if test "$wxUSE_UNICODE" = "yes"; then
29457 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29458 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29459 wxUSE_UNICODE=no
29460 fi
29461
29462 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29463 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29464 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29466 else
29467 ac_check_lib_save_LIBS=$LIBS
29468 LIBS="-lgdk $LIBS"
29469 cat >conftest.$ac_ext <<_ACEOF
29470 /* confdefs.h. */
29471 _ACEOF
29472 cat confdefs.h >>conftest.$ac_ext
29473 cat >>conftest.$ac_ext <<_ACEOF
29474 /* end confdefs.h. */
29475
29476 /* Override any GCC internal prototype to avoid an error.
29477 Use char because int might match the return type of a GCC
29478 builtin and then its argument prototype would still apply. */
29479 #ifdef __cplusplus
29480 extern "C"
29481 #endif
29482 char gdk_im_open ();
29483 int
29484 main ()
29485 {
29486 return gdk_im_open ();
29487 ;
29488 return 0;
29489 }
29490 _ACEOF
29491 rm -f conftest.$ac_objext conftest$ac_exeext
29492 if { (ac_try="$ac_link"
29493 case "(($ac_try" in
29494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29495 *) ac_try_echo=$ac_try;;
29496 esac
29497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29498 (eval "$ac_link") 2>conftest.er1
29499 ac_status=$?
29500 grep -v '^ *+' conftest.er1 >conftest.err
29501 rm -f conftest.er1
29502 cat conftest.err >&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } && {
29505 test -z "$ac_c_werror_flag" ||
29506 test ! -s conftest.err
29507 } && test -s conftest$ac_exeext &&
29508 $as_test_x conftest$ac_exeext; then
29509 ac_cv_lib_gdk_gdk_im_open=yes
29510 else
29511 echo "$as_me: failed program was:" >&5
29512 sed 's/^/| /' conftest.$ac_ext >&5
29513
29514 ac_cv_lib_gdk_gdk_im_open=no
29515 fi
29516
29517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29518 conftest$ac_exeext conftest.$ac_ext
29519 LIBS=$ac_check_lib_save_LIBS
29520 fi
29521 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29522 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29523 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29524 cat >>confdefs.h <<\_ACEOF
29525 #define HAVE_XIM 1
29526 _ACEOF
29527
29528 fi
29529
29530
29531 if test "$USE_DARWIN" != 1; then
29532
29533 for ac_func in poll
29534 do
29535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29539 echo $ECHO_N "(cached) $ECHO_C" >&6
29540 else
29541 cat >conftest.$ac_ext <<_ACEOF
29542 /* confdefs.h. */
29543 _ACEOF
29544 cat confdefs.h >>conftest.$ac_ext
29545 cat >>conftest.$ac_ext <<_ACEOF
29546 /* end confdefs.h. */
29547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29549 #define $ac_func innocuous_$ac_func
29550
29551 /* System header to define __stub macros and hopefully few prototypes,
29552 which can conflict with char $ac_func (); below.
29553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29554 <limits.h> exists even on freestanding compilers. */
29555
29556 #ifdef __STDC__
29557 # include <limits.h>
29558 #else
29559 # include <assert.h>
29560 #endif
29561
29562 #undef $ac_func
29563
29564 /* Override any GCC internal prototype to avoid an error.
29565 Use char because int might match the return type of a GCC
29566 builtin and then its argument prototype would still apply. */
29567 #ifdef __cplusplus
29568 extern "C"
29569 #endif
29570 char $ac_func ();
29571 /* The GNU C library defines this for functions which it implements
29572 to always fail with ENOSYS. Some functions are actually named
29573 something starting with __ and the normal name is an alias. */
29574 #if defined __stub_$ac_func || defined __stub___$ac_func
29575 choke me
29576 #endif
29577
29578 int
29579 main ()
29580 {
29581 return $ac_func ();
29582 ;
29583 return 0;
29584 }
29585 _ACEOF
29586 rm -f conftest.$ac_objext conftest$ac_exeext
29587 if { (ac_try="$ac_link"
29588 case "(($ac_try" in
29589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29590 *) ac_try_echo=$ac_try;;
29591 esac
29592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29593 (eval "$ac_link") 2>conftest.er1
29594 ac_status=$?
29595 grep -v '^ *+' conftest.er1 >conftest.err
29596 rm -f conftest.er1
29597 cat conftest.err >&5
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); } && {
29600 test -z "$ac_c_werror_flag" ||
29601 test ! -s conftest.err
29602 } && test -s conftest$ac_exeext &&
29603 $as_test_x conftest$ac_exeext; then
29604 eval "$as_ac_var=yes"
29605 else
29606 echo "$as_me: failed program was:" >&5
29607 sed 's/^/| /' conftest.$ac_ext >&5
29608
29609 eval "$as_ac_var=no"
29610 fi
29611
29612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29613 conftest$ac_exeext conftest.$ac_ext
29614 fi
29615 ac_res=`eval echo '${'$as_ac_var'}'`
29616 { echo "$as_me:$LINENO: result: $ac_res" >&5
29617 echo "${ECHO_T}$ac_res" >&6; }
29618 if test `eval echo '${'$as_ac_var'}'` = yes; then
29619 cat >>confdefs.h <<_ACEOF
29620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29621 _ACEOF
29622
29623 fi
29624 done
29625
29626 fi
29627 fi
29628
29629 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29630 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29631
29632 AFMINSTALL=afminstall
29633 TOOLKIT=GTK
29634 GUIDIST=GTK_DIST
29635
29636 if test "$wxUSE_GPE" = "yes"; then
29637 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29638 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29639
29640 ac_find_libraries=
29641 for ac_dir in $SEARCH_LIB;
29642 do
29643 for ac_extension in a so sl dylib dll.a; do
29644 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29645 ac_find_libraries=$ac_dir
29646 break 2
29647 fi
29648 done
29649 done
29650
29651 if test "$ac_find_libraries" != "" ; then
29652
29653 if test "$ac_find_libraries" = "default location"; then
29654 ac_path_to_link=""
29655 else
29656 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29657 result=$?
29658 if test $result = 0; then
29659 ac_path_to_link=""
29660 else
29661 ac_path_to_link=" -L$ac_find_libraries"
29662 fi
29663 fi
29664
29665 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29666 WXGPE=1
29667 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29668 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29669 else
29670 { echo "$as_me:$LINENO: result: not found" >&5
29671 echo "${ECHO_T}not found" >&6; }
29672 fi
29673
29674 fi
29675 fi
29676
29677 if test "$wxUSE_MGL" = 1; then
29678 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29679 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29680 if test "x$MGL_ROOT" = x ; then
29681 { echo "$as_me:$LINENO: result: not found" >&5
29682 echo "${ECHO_T}not found" >&6; }
29683 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29684 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29685 { (exit 1); exit 1; }; }
29686 else
29687 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29688 echo "${ECHO_T}$MGL_ROOT" >&6; }
29689 fi
29690
29691 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29692 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29693 case "${host}" in
29694 *-*-linux* )
29695 if test "x$wxUSE_SHARED" = xyes ; then
29696 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29697 else
29698 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29699 fi
29700 ;;
29701 *-pc-msdosdjgpp )
29702 mgl_os_candidates="dos32/dj2"
29703 ;;
29704 *)
29705 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29706 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29707 { (exit 1); exit 1; }; }
29708 esac
29709
29710 mgl_lib_type=""
29711 mgl_os=""
29712
29713 for mgl_os_i in $mgl_os_candidates ; do
29714 if test "x$mgl_os" = x ; then
29715 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29716 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29717 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29718 mgl_lib_type=debug
29719 mgl_os=$mgl_os_i
29720 fi
29721 fi
29722 if test "x$mgl_lib_type" = x ; then
29723 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29724 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29725 mgl_lib_type=release
29726 mgl_os=$mgl_os_i
29727 fi
29728 fi
29729 fi
29730 done
29731
29732 if test "x$mgl_os" = x ; then
29733 { echo "$as_me:$LINENO: result: not found" >&5
29734 echo "${ECHO_T}not found" >&6; }
29735 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29736 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29737 { (exit 1); exit 1; }; }
29738 fi
29739 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29740 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29741
29742 wxUSE_UNIVERSAL="yes"
29743
29744 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29745 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29746
29747 AFMINSTALL=afminstall
29748 TOOLKIT=MGL
29749 GUIDIST=MGL_DIST
29750 fi
29751
29752 if test "$wxUSE_DFB" = 1; then
29753
29754
29755 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29756 if test -n "$ac_tool_prefix"; then
29757 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29758 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29761 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29762 echo $ECHO_N "(cached) $ECHO_C" >&6
29763 else
29764 case $PKG_CONFIG in
29765 [\\/]* | ?:[\\/]*)
29766 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29767 ;;
29768 *)
29769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29770 for as_dir in $PATH
29771 do
29772 IFS=$as_save_IFS
29773 test -z "$as_dir" && as_dir=.
29774 for ac_exec_ext in '' $ac_executable_extensions; do
29775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29776 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29778 break 2
29779 fi
29780 done
29781 done
29782 IFS=$as_save_IFS
29783
29784 ;;
29785 esac
29786 fi
29787 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29788 if test -n "$PKG_CONFIG"; then
29789 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29790 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29791 else
29792 { echo "$as_me:$LINENO: result: no" >&5
29793 echo "${ECHO_T}no" >&6; }
29794 fi
29795
29796
29797 fi
29798 if test -z "$ac_cv_path_PKG_CONFIG"; then
29799 ac_pt_PKG_CONFIG=$PKG_CONFIG
29800 # Extract the first word of "pkg-config", so it can be a program name with args.
29801 set dummy pkg-config; ac_word=$2
29802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29804 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29805 echo $ECHO_N "(cached) $ECHO_C" >&6
29806 else
29807 case $ac_pt_PKG_CONFIG in
29808 [\\/]* | ?:[\\/]*)
29809 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29810 ;;
29811 *)
29812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29813 for as_dir in $PATH
29814 do
29815 IFS=$as_save_IFS
29816 test -z "$as_dir" && as_dir=.
29817 for ac_exec_ext in '' $ac_executable_extensions; do
29818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29819 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29821 break 2
29822 fi
29823 done
29824 done
29825 IFS=$as_save_IFS
29826
29827 ;;
29828 esac
29829 fi
29830 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29831 if test -n "$ac_pt_PKG_CONFIG"; then
29832 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29833 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29834 else
29835 { echo "$as_me:$LINENO: result: no" >&5
29836 echo "${ECHO_T}no" >&6; }
29837 fi
29838
29839 if test "x$ac_pt_PKG_CONFIG" = x; then
29840 PKG_CONFIG=""
29841 else
29842 case $cross_compiling:$ac_tool_warned in
29843 yes:)
29844 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29845 whose name does not start with the host triplet. If you think this
29846 configuration is useful to you, please write to autoconf@gnu.org." >&5
29847 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29848 whose name does not start with the host triplet. If you think this
29849 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29850 ac_tool_warned=yes ;;
29851 esac
29852 PKG_CONFIG=$ac_pt_PKG_CONFIG
29853 fi
29854 else
29855 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29856 fi
29857
29858 fi
29859 if test -n "$PKG_CONFIG"; then
29860 _pkg_min_version=0.9.0
29861 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29862 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29863 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29864 { echo "$as_me:$LINENO: result: yes" >&5
29865 echo "${ECHO_T}yes" >&6; }
29866 else
29867 { echo "$as_me:$LINENO: result: no" >&5
29868 echo "${ECHO_T}no" >&6; }
29869 PKG_CONFIG=""
29870 fi
29871
29872 fi
29873
29874
29875 pkg_failed=no
29876 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29877 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29878
29879 if test -n "$PKG_CONFIG"; then
29880 if test -n "$DIRECTFB_CFLAGS"; then
29881 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29882 else
29883 if test -n "$PKG_CONFIG" && \
29884 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29885 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29886 ac_status=$?
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); }; then
29889 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29890 else
29891 pkg_failed=yes
29892 fi
29893 fi
29894 else
29895 pkg_failed=untried
29896 fi
29897 if test -n "$PKG_CONFIG"; then
29898 if test -n "$DIRECTFB_LIBS"; then
29899 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29900 else
29901 if test -n "$PKG_CONFIG" && \
29902 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29903 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29904 ac_status=$?
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; then
29907 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29908 else
29909 pkg_failed=yes
29910 fi
29911 fi
29912 else
29913 pkg_failed=untried
29914 fi
29915
29916
29917
29918 if test $pkg_failed = yes; then
29919
29920 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29921 _pkg_short_errors_supported=yes
29922 else
29923 _pkg_short_errors_supported=no
29924 fi
29925 if test $_pkg_short_errors_supported = yes; then
29926 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29927 else
29928 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29929 fi
29930 # Put the nasty error message in config.log where it belongs
29931 echo "$DIRECTFB_PKG_ERRORS" >&5
29932
29933
29934 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29935 echo "$as_me: error: DirectFB not found." >&2;}
29936 { (exit 1); exit 1; }; }
29937
29938
29939 elif test $pkg_failed = untried; then
29940
29941 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29942 echo "$as_me: error: DirectFB not found." >&2;}
29943 { (exit 1); exit 1; }; }
29944
29945
29946 else
29947 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29948 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29949 { echo "$as_me:$LINENO: result: yes" >&5
29950 echo "${ECHO_T}yes" >&6; }
29951
29952 wxUSE_UNIVERSAL="yes"
29953 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29954 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29955 TOOLKIT=DFB
29956 GUIDIST=DFB_DIST
29957
29958 fi
29959 fi
29960
29961 if test "$wxUSE_MICROWIN" = 1; then
29962 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29963 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29964 if test "x$MICROWINDOWS" = x ; then
29965 { echo "$as_me:$LINENO: result: not found" >&5
29966 echo "${ECHO_T}not found" >&6; }
29967 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29968 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29969 { (exit 1); exit 1; }; }
29970 else
29971 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29972 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29973 fi
29974
29975 if test -f $MICROWINDOWS/lib/libmwin.a; then
29976 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29977 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29978 else
29979 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29980 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29981 { (exit 1); exit 1; }; }
29982 fi
29983
29984 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29985 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29986
29987 wxUSE_UNIVERSAL="yes"
29988
29989 AFMINSTALL=afminstall
29990 TOOLKIT=MICROWIN
29991 GUIDIST=MICROWIN_DIST
29992
29993 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29994 fi
29995
29996 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29997 { echo "$as_me:$LINENO: checking for X" >&5
29998 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29999
30000
30001 # Check whether --with-x was given.
30002 if test "${with_x+set}" = set; then
30003 withval=$with_x;
30004 fi
30005
30006 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30007 if test "x$with_x" = xno; then
30008 # The user explicitly disabled X.
30009 have_x=disabled
30010 else
30011 case $x_includes,$x_libraries in #(
30012 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30013 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30014 { (exit 1); exit 1; }; };; #(
30015 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30016 echo $ECHO_N "(cached) $ECHO_C" >&6
30017 else
30018 # One or both of the vars are not set, and there is no cached value.
30019 ac_x_includes=no ac_x_libraries=no
30020 rm -f -r conftest.dir
30021 if mkdir conftest.dir; then
30022 cd conftest.dir
30023 cat >Imakefile <<'_ACEOF'
30024 incroot:
30025 @echo incroot='${INCROOT}'
30026 usrlibdir:
30027 @echo usrlibdir='${USRLIBDIR}'
30028 libdir:
30029 @echo libdir='${LIBDIR}'
30030 _ACEOF
30031 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30032 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30033 for ac_var in incroot usrlibdir libdir; do
30034 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30035 done
30036 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30037 for ac_extension in a so sl; do
30038 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30039 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30040 ac_im_usrlibdir=$ac_im_libdir; break
30041 fi
30042 done
30043 # Screen out bogus values from the imake configuration. They are
30044 # bogus both because they are the default anyway, and because
30045 # using them would break gcc on systems where it needs fixed includes.
30046 case $ac_im_incroot in
30047 /usr/include) ac_x_includes= ;;
30048 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30049 esac
30050 case $ac_im_usrlibdir in
30051 /usr/lib | /lib) ;;
30052 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30053 esac
30054 fi
30055 cd ..
30056 rm -f -r conftest.dir
30057 fi
30058
30059 # Standard set of common directories for X headers.
30060 # Check X11 before X11Rn because it is often a symlink to the current release.
30061 ac_x_header_dirs='
30062 /usr/X11/include
30063 /usr/X11R6/include
30064 /usr/X11R5/include
30065 /usr/X11R4/include
30066
30067 /usr/include/X11
30068 /usr/include/X11R6
30069 /usr/include/X11R5
30070 /usr/include/X11R4
30071
30072 /usr/local/X11/include
30073 /usr/local/X11R6/include
30074 /usr/local/X11R5/include
30075 /usr/local/X11R4/include
30076
30077 /usr/local/include/X11
30078 /usr/local/include/X11R6
30079 /usr/local/include/X11R5
30080 /usr/local/include/X11R4
30081
30082 /usr/X386/include
30083 /usr/x386/include
30084 /usr/XFree86/include/X11
30085
30086 /usr/include
30087 /usr/local/include
30088 /usr/unsupported/include
30089 /usr/athena/include
30090 /usr/local/x11r5/include
30091 /usr/lpp/Xamples/include
30092
30093 /usr/openwin/include
30094 /usr/openwin/share/include'
30095
30096 if test "$ac_x_includes" = no; then
30097 # Guess where to find include files, by looking for Xlib.h.
30098 # First, try using that file with no special directory specified.
30099 cat >conftest.$ac_ext <<_ACEOF
30100 /* confdefs.h. */
30101 _ACEOF
30102 cat confdefs.h >>conftest.$ac_ext
30103 cat >>conftest.$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30105 #include <X11/Xlib.h>
30106 _ACEOF
30107 if { (ac_try="$ac_cpp conftest.$ac_ext"
30108 case "(($ac_try" in
30109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30110 *) ac_try_echo=$ac_try;;
30111 esac
30112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30114 ac_status=$?
30115 grep -v '^ *+' conftest.er1 >conftest.err
30116 rm -f conftest.er1
30117 cat conftest.err >&5
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); } >/dev/null && {
30120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30121 test ! -s conftest.err
30122 }; then
30123 # We can compile using X headers with no special include directory.
30124 ac_x_includes=
30125 else
30126 echo "$as_me: failed program was:" >&5
30127 sed 's/^/| /' conftest.$ac_ext >&5
30128
30129 for ac_dir in $ac_x_header_dirs; do
30130 if test -r "$ac_dir/X11/Xlib.h"; then
30131 ac_x_includes=$ac_dir
30132 break
30133 fi
30134 done
30135 fi
30136
30137 rm -f conftest.err conftest.$ac_ext
30138 fi # $ac_x_includes = no
30139
30140 if test "$ac_x_libraries" = no; then
30141 # Check for the libraries.
30142 # See if we find them without any special options.
30143 # Don't add to $LIBS permanently.
30144 ac_save_LIBS=$LIBS
30145 LIBS="-lX11 $LIBS"
30146 cat >conftest.$ac_ext <<_ACEOF
30147 /* confdefs.h. */
30148 _ACEOF
30149 cat confdefs.h >>conftest.$ac_ext
30150 cat >>conftest.$ac_ext <<_ACEOF
30151 /* end confdefs.h. */
30152 #include <X11/Xlib.h>
30153 int
30154 main ()
30155 {
30156 XrmInitialize ()
30157 ;
30158 return 0;
30159 }
30160 _ACEOF
30161 rm -f conftest.$ac_objext conftest$ac_exeext
30162 if { (ac_try="$ac_link"
30163 case "(($ac_try" in
30164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30165 *) ac_try_echo=$ac_try;;
30166 esac
30167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30168 (eval "$ac_link") 2>conftest.er1
30169 ac_status=$?
30170 grep -v '^ *+' conftest.er1 >conftest.err
30171 rm -f conftest.er1
30172 cat conftest.err >&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); } && {
30175 test -z "$ac_c_werror_flag" ||
30176 test ! -s conftest.err
30177 } && test -s conftest$ac_exeext &&
30178 $as_test_x conftest$ac_exeext; then
30179 LIBS=$ac_save_LIBS
30180 # We can link X programs with no special library path.
30181 ac_x_libraries=
30182 else
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.$ac_ext >&5
30185
30186 LIBS=$ac_save_LIBS
30187 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30188 do
30189 # Don't even attempt the hair of trying to link an X program!
30190 for ac_extension in a so sl; do
30191 if test -r "$ac_dir/libX11.$ac_extension"; then
30192 ac_x_libraries=$ac_dir
30193 break 2
30194 fi
30195 done
30196 done
30197 fi
30198
30199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30200 conftest$ac_exeext conftest.$ac_ext
30201 fi # $ac_x_libraries = no
30202
30203 case $ac_x_includes,$ac_x_libraries in #(
30204 no,* | *,no | *\'*)
30205 # Didn't find X, or a directory has "'" in its name.
30206 ac_cv_have_x="have_x=no";; #(
30207 *)
30208 # Record where we found X for the cache.
30209 ac_cv_have_x="have_x=yes\
30210 ac_x_includes='$ac_x_includes'\
30211 ac_x_libraries='$ac_x_libraries'"
30212 esac
30213 fi
30214 ;; #(
30215 *) have_x=yes;;
30216 esac
30217 eval "$ac_cv_have_x"
30218 fi # $with_x != no
30219
30220 if test "$have_x" != yes; then
30221 { echo "$as_me:$LINENO: result: $have_x" >&5
30222 echo "${ECHO_T}$have_x" >&6; }
30223 no_x=yes
30224 else
30225 # If each of the values was on the command line, it overrides each guess.
30226 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30227 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30228 # Update the cache value to reflect the command line values.
30229 ac_cv_have_x="have_x=yes\
30230 ac_x_includes='$x_includes'\
30231 ac_x_libraries='$x_libraries'"
30232 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30233 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30234 fi
30235
30236 if test "$no_x" = yes; then
30237 # Not all programs may use this symbol, but it does not hurt to define it.
30238
30239 cat >>confdefs.h <<\_ACEOF
30240 #define X_DISPLAY_MISSING 1
30241 _ACEOF
30242
30243 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30244 else
30245 if test -n "$x_includes"; then
30246 X_CFLAGS="$X_CFLAGS -I$x_includes"
30247 fi
30248
30249 # It would also be nice to do this for all -L options, not just this one.
30250 if test -n "$x_libraries"; then
30251 X_LIBS="$X_LIBS -L$x_libraries"
30252 # For Solaris; some versions of Sun CC require a space after -R and
30253 # others require no space. Words are not sufficient . . . .
30254 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30255 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30256 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30257 ac_xsave_c_werror_flag=$ac_c_werror_flag
30258 ac_c_werror_flag=yes
30259 cat >conftest.$ac_ext <<_ACEOF
30260 /* confdefs.h. */
30261 _ACEOF
30262 cat confdefs.h >>conftest.$ac_ext
30263 cat >>conftest.$ac_ext <<_ACEOF
30264 /* end confdefs.h. */
30265
30266 int
30267 main ()
30268 {
30269
30270 ;
30271 return 0;
30272 }
30273 _ACEOF
30274 rm -f conftest.$ac_objext conftest$ac_exeext
30275 if { (ac_try="$ac_link"
30276 case "(($ac_try" in
30277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30278 *) ac_try_echo=$ac_try;;
30279 esac
30280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30281 (eval "$ac_link") 2>conftest.er1
30282 ac_status=$?
30283 grep -v '^ *+' conftest.er1 >conftest.err
30284 rm -f conftest.er1
30285 cat conftest.err >&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); } && {
30288 test -z "$ac_c_werror_flag" ||
30289 test ! -s conftest.err
30290 } && test -s conftest$ac_exeext &&
30291 $as_test_x conftest$ac_exeext; then
30292 { echo "$as_me:$LINENO: result: no" >&5
30293 echo "${ECHO_T}no" >&6; }
30294 X_LIBS="$X_LIBS -R$x_libraries"
30295 else
30296 echo "$as_me: failed program was:" >&5
30297 sed 's/^/| /' conftest.$ac_ext >&5
30298
30299 LIBS="$ac_xsave_LIBS -R $x_libraries"
30300 cat >conftest.$ac_ext <<_ACEOF
30301 /* confdefs.h. */
30302 _ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30306
30307 int
30308 main ()
30309 {
30310
30311 ;
30312 return 0;
30313 }
30314 _ACEOF
30315 rm -f conftest.$ac_objext conftest$ac_exeext
30316 if { (ac_try="$ac_link"
30317 case "(($ac_try" in
30318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30319 *) ac_try_echo=$ac_try;;
30320 esac
30321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_link") 2>conftest.er1
30323 ac_status=$?
30324 grep -v '^ *+' conftest.er1 >conftest.err
30325 rm -f conftest.er1
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } && {
30329 test -z "$ac_c_werror_flag" ||
30330 test ! -s conftest.err
30331 } && test -s conftest$ac_exeext &&
30332 $as_test_x conftest$ac_exeext; then
30333 { echo "$as_me:$LINENO: result: yes" >&5
30334 echo "${ECHO_T}yes" >&6; }
30335 X_LIBS="$X_LIBS -R $x_libraries"
30336 else
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.$ac_ext >&5
30339
30340 { echo "$as_me:$LINENO: result: neither works" >&5
30341 echo "${ECHO_T}neither works" >&6; }
30342 fi
30343
30344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30345 conftest$ac_exeext conftest.$ac_ext
30346 fi
30347
30348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30349 conftest$ac_exeext conftest.$ac_ext
30350 ac_c_werror_flag=$ac_xsave_c_werror_flag
30351 LIBS=$ac_xsave_LIBS
30352 fi
30353
30354 # Check for system-dependent libraries X programs must link with.
30355 # Do this before checking for the system-independent R6 libraries
30356 # (-lICE), since we may need -lsocket or whatever for X linking.
30357
30358 if test "$ISC" = yes; then
30359 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30360 else
30361 # Martyn Johnson says this is needed for Ultrix, if the X
30362 # libraries were built with DECnet support. And Karl Berry says
30363 # the Alpha needs dnet_stub (dnet does not exist).
30364 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30365 cat >conftest.$ac_ext <<_ACEOF
30366 /* confdefs.h. */
30367 _ACEOF
30368 cat confdefs.h >>conftest.$ac_ext
30369 cat >>conftest.$ac_ext <<_ACEOF
30370 /* end confdefs.h. */
30371
30372 /* Override any GCC internal prototype to avoid an error.
30373 Use char because int might match the return type of a GCC
30374 builtin and then its argument prototype would still apply. */
30375 #ifdef __cplusplus
30376 extern "C"
30377 #endif
30378 char XOpenDisplay ();
30379 int
30380 main ()
30381 {
30382 return XOpenDisplay ();
30383 ;
30384 return 0;
30385 }
30386 _ACEOF
30387 rm -f conftest.$ac_objext conftest$ac_exeext
30388 if { (ac_try="$ac_link"
30389 case "(($ac_try" in
30390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30391 *) ac_try_echo=$ac_try;;
30392 esac
30393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30394 (eval "$ac_link") 2>conftest.er1
30395 ac_status=$?
30396 grep -v '^ *+' conftest.er1 >conftest.err
30397 rm -f conftest.er1
30398 cat conftest.err >&5
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); } && {
30401 test -z "$ac_c_werror_flag" ||
30402 test ! -s conftest.err
30403 } && test -s conftest$ac_exeext &&
30404 $as_test_x conftest$ac_exeext; then
30405 :
30406 else
30407 echo "$as_me: failed program was:" >&5
30408 sed 's/^/| /' conftest.$ac_ext >&5
30409
30410 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30411 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30412 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30413 echo $ECHO_N "(cached) $ECHO_C" >&6
30414 else
30415 ac_check_lib_save_LIBS=$LIBS
30416 LIBS="-ldnet $LIBS"
30417 cat >conftest.$ac_ext <<_ACEOF
30418 /* confdefs.h. */
30419 _ACEOF
30420 cat confdefs.h >>conftest.$ac_ext
30421 cat >>conftest.$ac_ext <<_ACEOF
30422 /* end confdefs.h. */
30423
30424 /* Override any GCC internal prototype to avoid an error.
30425 Use char because int might match the return type of a GCC
30426 builtin and then its argument prototype would still apply. */
30427 #ifdef __cplusplus
30428 extern "C"
30429 #endif
30430 char dnet_ntoa ();
30431 int
30432 main ()
30433 {
30434 return dnet_ntoa ();
30435 ;
30436 return 0;
30437 }
30438 _ACEOF
30439 rm -f conftest.$ac_objext conftest$ac_exeext
30440 if { (ac_try="$ac_link"
30441 case "(($ac_try" in
30442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30443 *) ac_try_echo=$ac_try;;
30444 esac
30445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30446 (eval "$ac_link") 2>conftest.er1
30447 ac_status=$?
30448 grep -v '^ *+' conftest.er1 >conftest.err
30449 rm -f conftest.er1
30450 cat conftest.err >&5
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); } && {
30453 test -z "$ac_c_werror_flag" ||
30454 test ! -s conftest.err
30455 } && test -s conftest$ac_exeext &&
30456 $as_test_x conftest$ac_exeext; then
30457 ac_cv_lib_dnet_dnet_ntoa=yes
30458 else
30459 echo "$as_me: failed program was:" >&5
30460 sed 's/^/| /' conftest.$ac_ext >&5
30461
30462 ac_cv_lib_dnet_dnet_ntoa=no
30463 fi
30464
30465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30466 conftest$ac_exeext conftest.$ac_ext
30467 LIBS=$ac_check_lib_save_LIBS
30468 fi
30469 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30470 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30471 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30472 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30473 fi
30474
30475 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30476 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30477 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30478 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30479 echo $ECHO_N "(cached) $ECHO_C" >&6
30480 else
30481 ac_check_lib_save_LIBS=$LIBS
30482 LIBS="-ldnet_stub $LIBS"
30483 cat >conftest.$ac_ext <<_ACEOF
30484 /* confdefs.h. */
30485 _ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489
30490 /* Override any GCC internal prototype to avoid an error.
30491 Use char because int might match the return type of a GCC
30492 builtin and then its argument prototype would still apply. */
30493 #ifdef __cplusplus
30494 extern "C"
30495 #endif
30496 char dnet_ntoa ();
30497 int
30498 main ()
30499 {
30500 return dnet_ntoa ();
30501 ;
30502 return 0;
30503 }
30504 _ACEOF
30505 rm -f conftest.$ac_objext conftest$ac_exeext
30506 if { (ac_try="$ac_link"
30507 case "(($ac_try" in
30508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30509 *) ac_try_echo=$ac_try;;
30510 esac
30511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30512 (eval "$ac_link") 2>conftest.er1
30513 ac_status=$?
30514 grep -v '^ *+' conftest.er1 >conftest.err
30515 rm -f conftest.er1
30516 cat conftest.err >&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } && {
30519 test -z "$ac_c_werror_flag" ||
30520 test ! -s conftest.err
30521 } && test -s conftest$ac_exeext &&
30522 $as_test_x conftest$ac_exeext; then
30523 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30524 else
30525 echo "$as_me: failed program was:" >&5
30526 sed 's/^/| /' conftest.$ac_ext >&5
30527
30528 ac_cv_lib_dnet_stub_dnet_ntoa=no
30529 fi
30530
30531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30532 conftest$ac_exeext conftest.$ac_ext
30533 LIBS=$ac_check_lib_save_LIBS
30534 fi
30535 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30536 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30537 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30538 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30539 fi
30540
30541 fi
30542 fi
30543
30544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30545 conftest$ac_exeext conftest.$ac_ext
30546 LIBS="$ac_xsave_LIBS"
30547
30548 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30549 # to get the SysV transport functions.
30550 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30551 # needs -lnsl.
30552 # The nsl library prevents programs from opening the X display
30553 # on Irix 5.2, according to T.E. Dickey.
30554 # The functions gethostbyname, getservbyname, and inet_addr are
30555 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30556 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30557 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30558 if test "${ac_cv_func_gethostbyname+set}" = set; then
30559 echo $ECHO_N "(cached) $ECHO_C" >&6
30560 else
30561 cat >conftest.$ac_ext <<_ACEOF
30562 /* confdefs.h. */
30563 _ACEOF
30564 cat confdefs.h >>conftest.$ac_ext
30565 cat >>conftest.$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30567 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30569 #define gethostbyname innocuous_gethostbyname
30570
30571 /* System header to define __stub macros and hopefully few prototypes,
30572 which can conflict with char gethostbyname (); below.
30573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30574 <limits.h> exists even on freestanding compilers. */
30575
30576 #ifdef __STDC__
30577 # include <limits.h>
30578 #else
30579 # include <assert.h>
30580 #endif
30581
30582 #undef gethostbyname
30583
30584 /* Override any GCC internal prototype to avoid an error.
30585 Use char because int might match the return type of a GCC
30586 builtin and then its argument prototype would still apply. */
30587 #ifdef __cplusplus
30588 extern "C"
30589 #endif
30590 char gethostbyname ();
30591 /* The GNU C library defines this for functions which it implements
30592 to always fail with ENOSYS. Some functions are actually named
30593 something starting with __ and the normal name is an alias. */
30594 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30595 choke me
30596 #endif
30597
30598 int
30599 main ()
30600 {
30601 return gethostbyname ();
30602 ;
30603 return 0;
30604 }
30605 _ACEOF
30606 rm -f conftest.$ac_objext conftest$ac_exeext
30607 if { (ac_try="$ac_link"
30608 case "(($ac_try" in
30609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30610 *) ac_try_echo=$ac_try;;
30611 esac
30612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30613 (eval "$ac_link") 2>conftest.er1
30614 ac_status=$?
30615 grep -v '^ *+' conftest.er1 >conftest.err
30616 rm -f conftest.er1
30617 cat conftest.err >&5
30618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); } && {
30620 test -z "$ac_c_werror_flag" ||
30621 test ! -s conftest.err
30622 } && test -s conftest$ac_exeext &&
30623 $as_test_x conftest$ac_exeext; then
30624 ac_cv_func_gethostbyname=yes
30625 else
30626 echo "$as_me: failed program was:" >&5
30627 sed 's/^/| /' conftest.$ac_ext >&5
30628
30629 ac_cv_func_gethostbyname=no
30630 fi
30631
30632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30633 conftest$ac_exeext conftest.$ac_ext
30634 fi
30635 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30636 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30637
30638 if test $ac_cv_func_gethostbyname = no; then
30639 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30640 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30641 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30642 echo $ECHO_N "(cached) $ECHO_C" >&6
30643 else
30644 ac_check_lib_save_LIBS=$LIBS
30645 LIBS="-lnsl $LIBS"
30646 cat >conftest.$ac_ext <<_ACEOF
30647 /* confdefs.h. */
30648 _ACEOF
30649 cat confdefs.h >>conftest.$ac_ext
30650 cat >>conftest.$ac_ext <<_ACEOF
30651 /* end confdefs.h. */
30652
30653 /* Override any GCC internal prototype to avoid an error.
30654 Use char because int might match the return type of a GCC
30655 builtin and then its argument prototype would still apply. */
30656 #ifdef __cplusplus
30657 extern "C"
30658 #endif
30659 char gethostbyname ();
30660 int
30661 main ()
30662 {
30663 return gethostbyname ();
30664 ;
30665 return 0;
30666 }
30667 _ACEOF
30668 rm -f conftest.$ac_objext conftest$ac_exeext
30669 if { (ac_try="$ac_link"
30670 case "(($ac_try" in
30671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30672 *) ac_try_echo=$ac_try;;
30673 esac
30674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30675 (eval "$ac_link") 2>conftest.er1
30676 ac_status=$?
30677 grep -v '^ *+' conftest.er1 >conftest.err
30678 rm -f conftest.er1
30679 cat conftest.err >&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); } && {
30682 test -z "$ac_c_werror_flag" ||
30683 test ! -s conftest.err
30684 } && test -s conftest$ac_exeext &&
30685 $as_test_x conftest$ac_exeext; then
30686 ac_cv_lib_nsl_gethostbyname=yes
30687 else
30688 echo "$as_me: failed program was:" >&5
30689 sed 's/^/| /' conftest.$ac_ext >&5
30690
30691 ac_cv_lib_nsl_gethostbyname=no
30692 fi
30693
30694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30695 conftest$ac_exeext conftest.$ac_ext
30696 LIBS=$ac_check_lib_save_LIBS
30697 fi
30698 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30699 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30700 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30701 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30702 fi
30703
30704 if test $ac_cv_lib_nsl_gethostbyname = no; then
30705 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30706 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30707 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30708 echo $ECHO_N "(cached) $ECHO_C" >&6
30709 else
30710 ac_check_lib_save_LIBS=$LIBS
30711 LIBS="-lbsd $LIBS"
30712 cat >conftest.$ac_ext <<_ACEOF
30713 /* confdefs.h. */
30714 _ACEOF
30715 cat confdefs.h >>conftest.$ac_ext
30716 cat >>conftest.$ac_ext <<_ACEOF
30717 /* end confdefs.h. */
30718
30719 /* Override any GCC internal prototype to avoid an error.
30720 Use char because int might match the return type of a GCC
30721 builtin and then its argument prototype would still apply. */
30722 #ifdef __cplusplus
30723 extern "C"
30724 #endif
30725 char gethostbyname ();
30726 int
30727 main ()
30728 {
30729 return gethostbyname ();
30730 ;
30731 return 0;
30732 }
30733 _ACEOF
30734 rm -f conftest.$ac_objext conftest$ac_exeext
30735 if { (ac_try="$ac_link"
30736 case "(($ac_try" in
30737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30738 *) ac_try_echo=$ac_try;;
30739 esac
30740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30741 (eval "$ac_link") 2>conftest.er1
30742 ac_status=$?
30743 grep -v '^ *+' conftest.er1 >conftest.err
30744 rm -f conftest.er1
30745 cat conftest.err >&5
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); } && {
30748 test -z "$ac_c_werror_flag" ||
30749 test ! -s conftest.err
30750 } && test -s conftest$ac_exeext &&
30751 $as_test_x conftest$ac_exeext; then
30752 ac_cv_lib_bsd_gethostbyname=yes
30753 else
30754 echo "$as_me: failed program was:" >&5
30755 sed 's/^/| /' conftest.$ac_ext >&5
30756
30757 ac_cv_lib_bsd_gethostbyname=no
30758 fi
30759
30760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30761 conftest$ac_exeext conftest.$ac_ext
30762 LIBS=$ac_check_lib_save_LIBS
30763 fi
30764 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30765 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30766 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30768 fi
30769
30770 fi
30771 fi
30772
30773 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30774 # socket/setsockopt and other routines are undefined under SCO ODT
30775 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30776 # on later versions), says Simon Leinen: it contains gethostby*
30777 # variants that don't use the name server (or something). -lsocket
30778 # must be given before -lnsl if both are needed. We assume that
30779 # if connect needs -lnsl, so does gethostbyname.
30780 { echo "$as_me:$LINENO: checking for connect" >&5
30781 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30782 if test "${ac_cv_func_connect+set}" = set; then
30783 echo $ECHO_N "(cached) $ECHO_C" >&6
30784 else
30785 cat >conftest.$ac_ext <<_ACEOF
30786 /* confdefs.h. */
30787 _ACEOF
30788 cat confdefs.h >>conftest.$ac_ext
30789 cat >>conftest.$ac_ext <<_ACEOF
30790 /* end confdefs.h. */
30791 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30793 #define connect innocuous_connect
30794
30795 /* System header to define __stub macros and hopefully few prototypes,
30796 which can conflict with char connect (); below.
30797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30798 <limits.h> exists even on freestanding compilers. */
30799
30800 #ifdef __STDC__
30801 # include <limits.h>
30802 #else
30803 # include <assert.h>
30804 #endif
30805
30806 #undef connect
30807
30808 /* Override any GCC internal prototype to avoid an error.
30809 Use char because int might match the return type of a GCC
30810 builtin and then its argument prototype would still apply. */
30811 #ifdef __cplusplus
30812 extern "C"
30813 #endif
30814 char connect ();
30815 /* The GNU C library defines this for functions which it implements
30816 to always fail with ENOSYS. Some functions are actually named
30817 something starting with __ and the normal name is an alias. */
30818 #if defined __stub_connect || defined __stub___connect
30819 choke me
30820 #endif
30821
30822 int
30823 main ()
30824 {
30825 return connect ();
30826 ;
30827 return 0;
30828 }
30829 _ACEOF
30830 rm -f conftest.$ac_objext conftest$ac_exeext
30831 if { (ac_try="$ac_link"
30832 case "(($ac_try" in
30833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30834 *) ac_try_echo=$ac_try;;
30835 esac
30836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30837 (eval "$ac_link") 2>conftest.er1
30838 ac_status=$?
30839 grep -v '^ *+' conftest.er1 >conftest.err
30840 rm -f conftest.er1
30841 cat conftest.err >&5
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); } && {
30844 test -z "$ac_c_werror_flag" ||
30845 test ! -s conftest.err
30846 } && test -s conftest$ac_exeext &&
30847 $as_test_x conftest$ac_exeext; then
30848 ac_cv_func_connect=yes
30849 else
30850 echo "$as_me: failed program was:" >&5
30851 sed 's/^/| /' conftest.$ac_ext >&5
30852
30853 ac_cv_func_connect=no
30854 fi
30855
30856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30857 conftest$ac_exeext conftest.$ac_ext
30858 fi
30859 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30860 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30861
30862 if test $ac_cv_func_connect = no; then
30863 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30864 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30865 if test "${ac_cv_lib_socket_connect+set}" = set; then
30866 echo $ECHO_N "(cached) $ECHO_C" >&6
30867 else
30868 ac_check_lib_save_LIBS=$LIBS
30869 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30870 cat >conftest.$ac_ext <<_ACEOF
30871 /* confdefs.h. */
30872 _ACEOF
30873 cat confdefs.h >>conftest.$ac_ext
30874 cat >>conftest.$ac_ext <<_ACEOF
30875 /* end confdefs.h. */
30876
30877 /* Override any GCC internal prototype to avoid an error.
30878 Use char because int might match the return type of a GCC
30879 builtin and then its argument prototype would still apply. */
30880 #ifdef __cplusplus
30881 extern "C"
30882 #endif
30883 char connect ();
30884 int
30885 main ()
30886 {
30887 return connect ();
30888 ;
30889 return 0;
30890 }
30891 _ACEOF
30892 rm -f conftest.$ac_objext conftest$ac_exeext
30893 if { (ac_try="$ac_link"
30894 case "(($ac_try" in
30895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30896 *) ac_try_echo=$ac_try;;
30897 esac
30898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30899 (eval "$ac_link") 2>conftest.er1
30900 ac_status=$?
30901 grep -v '^ *+' conftest.er1 >conftest.err
30902 rm -f conftest.er1
30903 cat conftest.err >&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); } && {
30906 test -z "$ac_c_werror_flag" ||
30907 test ! -s conftest.err
30908 } && test -s conftest$ac_exeext &&
30909 $as_test_x conftest$ac_exeext; then
30910 ac_cv_lib_socket_connect=yes
30911 else
30912 echo "$as_me: failed program was:" >&5
30913 sed 's/^/| /' conftest.$ac_ext >&5
30914
30915 ac_cv_lib_socket_connect=no
30916 fi
30917
30918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30919 conftest$ac_exeext conftest.$ac_ext
30920 LIBS=$ac_check_lib_save_LIBS
30921 fi
30922 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30923 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30924 if test $ac_cv_lib_socket_connect = yes; then
30925 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30926 fi
30927
30928 fi
30929
30930 # Guillermo Gomez says -lposix is necessary on A/UX.
30931 { echo "$as_me:$LINENO: checking for remove" >&5
30932 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30933 if test "${ac_cv_func_remove+set}" = set; then
30934 echo $ECHO_N "(cached) $ECHO_C" >&6
30935 else
30936 cat >conftest.$ac_ext <<_ACEOF
30937 /* confdefs.h. */
30938 _ACEOF
30939 cat confdefs.h >>conftest.$ac_ext
30940 cat >>conftest.$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30942 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30944 #define remove innocuous_remove
30945
30946 /* System header to define __stub macros and hopefully few prototypes,
30947 which can conflict with char remove (); below.
30948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30949 <limits.h> exists even on freestanding compilers. */
30950
30951 #ifdef __STDC__
30952 # include <limits.h>
30953 #else
30954 # include <assert.h>
30955 #endif
30956
30957 #undef remove
30958
30959 /* Override any GCC internal prototype to avoid an error.
30960 Use char because int might match the return type of a GCC
30961 builtin and then its argument prototype would still apply. */
30962 #ifdef __cplusplus
30963 extern "C"
30964 #endif
30965 char remove ();
30966 /* The GNU C library defines this for functions which it implements
30967 to always fail with ENOSYS. Some functions are actually named
30968 something starting with __ and the normal name is an alias. */
30969 #if defined __stub_remove || defined __stub___remove
30970 choke me
30971 #endif
30972
30973 int
30974 main ()
30975 {
30976 return remove ();
30977 ;
30978 return 0;
30979 }
30980 _ACEOF
30981 rm -f conftest.$ac_objext conftest$ac_exeext
30982 if { (ac_try="$ac_link"
30983 case "(($ac_try" in
30984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30985 *) ac_try_echo=$ac_try;;
30986 esac
30987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30988 (eval "$ac_link") 2>conftest.er1
30989 ac_status=$?
30990 grep -v '^ *+' conftest.er1 >conftest.err
30991 rm -f conftest.er1
30992 cat conftest.err >&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); } && {
30995 test -z "$ac_c_werror_flag" ||
30996 test ! -s conftest.err
30997 } && test -s conftest$ac_exeext &&
30998 $as_test_x conftest$ac_exeext; then
30999 ac_cv_func_remove=yes
31000 else
31001 echo "$as_me: failed program was:" >&5
31002 sed 's/^/| /' conftest.$ac_ext >&5
31003
31004 ac_cv_func_remove=no
31005 fi
31006
31007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31008 conftest$ac_exeext conftest.$ac_ext
31009 fi
31010 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31011 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31012
31013 if test $ac_cv_func_remove = no; then
31014 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31015 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31016 if test "${ac_cv_lib_posix_remove+set}" = set; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31018 else
31019 ac_check_lib_save_LIBS=$LIBS
31020 LIBS="-lposix $LIBS"
31021 cat >conftest.$ac_ext <<_ACEOF
31022 /* confdefs.h. */
31023 _ACEOF
31024 cat confdefs.h >>conftest.$ac_ext
31025 cat >>conftest.$ac_ext <<_ACEOF
31026 /* end confdefs.h. */
31027
31028 /* Override any GCC internal prototype to avoid an error.
31029 Use char because int might match the return type of a GCC
31030 builtin and then its argument prototype would still apply. */
31031 #ifdef __cplusplus
31032 extern "C"
31033 #endif
31034 char remove ();
31035 int
31036 main ()
31037 {
31038 return remove ();
31039 ;
31040 return 0;
31041 }
31042 _ACEOF
31043 rm -f conftest.$ac_objext conftest$ac_exeext
31044 if { (ac_try="$ac_link"
31045 case "(($ac_try" in
31046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31047 *) ac_try_echo=$ac_try;;
31048 esac
31049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31050 (eval "$ac_link") 2>conftest.er1
31051 ac_status=$?
31052 grep -v '^ *+' conftest.er1 >conftest.err
31053 rm -f conftest.er1
31054 cat conftest.err >&5
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); } && {
31057 test -z "$ac_c_werror_flag" ||
31058 test ! -s conftest.err
31059 } && test -s conftest$ac_exeext &&
31060 $as_test_x conftest$ac_exeext; then
31061 ac_cv_lib_posix_remove=yes
31062 else
31063 echo "$as_me: failed program was:" >&5
31064 sed 's/^/| /' conftest.$ac_ext >&5
31065
31066 ac_cv_lib_posix_remove=no
31067 fi
31068
31069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31070 conftest$ac_exeext conftest.$ac_ext
31071 LIBS=$ac_check_lib_save_LIBS
31072 fi
31073 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31074 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31075 if test $ac_cv_lib_posix_remove = yes; then
31076 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31077 fi
31078
31079 fi
31080
31081 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31082 { echo "$as_me:$LINENO: checking for shmat" >&5
31083 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31084 if test "${ac_cv_func_shmat+set}" = set; then
31085 echo $ECHO_N "(cached) $ECHO_C" >&6
31086 else
31087 cat >conftest.$ac_ext <<_ACEOF
31088 /* confdefs.h. */
31089 _ACEOF
31090 cat confdefs.h >>conftest.$ac_ext
31091 cat >>conftest.$ac_ext <<_ACEOF
31092 /* end confdefs.h. */
31093 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31095 #define shmat innocuous_shmat
31096
31097 /* System header to define __stub macros and hopefully few prototypes,
31098 which can conflict with char shmat (); below.
31099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31100 <limits.h> exists even on freestanding compilers. */
31101
31102 #ifdef __STDC__
31103 # include <limits.h>
31104 #else
31105 # include <assert.h>
31106 #endif
31107
31108 #undef shmat
31109
31110 /* Override any GCC internal prototype to avoid an error.
31111 Use char because int might match the return type of a GCC
31112 builtin and then its argument prototype would still apply. */
31113 #ifdef __cplusplus
31114 extern "C"
31115 #endif
31116 char shmat ();
31117 /* The GNU C library defines this for functions which it implements
31118 to always fail with ENOSYS. Some functions are actually named
31119 something starting with __ and the normal name is an alias. */
31120 #if defined __stub_shmat || defined __stub___shmat
31121 choke me
31122 #endif
31123
31124 int
31125 main ()
31126 {
31127 return shmat ();
31128 ;
31129 return 0;
31130 }
31131 _ACEOF
31132 rm -f conftest.$ac_objext conftest$ac_exeext
31133 if { (ac_try="$ac_link"
31134 case "(($ac_try" in
31135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31136 *) ac_try_echo=$ac_try;;
31137 esac
31138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31139 (eval "$ac_link") 2>conftest.er1
31140 ac_status=$?
31141 grep -v '^ *+' conftest.er1 >conftest.err
31142 rm -f conftest.er1
31143 cat conftest.err >&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } && {
31146 test -z "$ac_c_werror_flag" ||
31147 test ! -s conftest.err
31148 } && test -s conftest$ac_exeext &&
31149 $as_test_x conftest$ac_exeext; then
31150 ac_cv_func_shmat=yes
31151 else
31152 echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.$ac_ext >&5
31154
31155 ac_cv_func_shmat=no
31156 fi
31157
31158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31159 conftest$ac_exeext conftest.$ac_ext
31160 fi
31161 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31162 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31163
31164 if test $ac_cv_func_shmat = no; then
31165 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31166 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31167 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31168 echo $ECHO_N "(cached) $ECHO_C" >&6
31169 else
31170 ac_check_lib_save_LIBS=$LIBS
31171 LIBS="-lipc $LIBS"
31172 cat >conftest.$ac_ext <<_ACEOF
31173 /* confdefs.h. */
31174 _ACEOF
31175 cat confdefs.h >>conftest.$ac_ext
31176 cat >>conftest.$ac_ext <<_ACEOF
31177 /* end confdefs.h. */
31178
31179 /* Override any GCC internal prototype to avoid an error.
31180 Use char because int might match the return type of a GCC
31181 builtin and then its argument prototype would still apply. */
31182 #ifdef __cplusplus
31183 extern "C"
31184 #endif
31185 char shmat ();
31186 int
31187 main ()
31188 {
31189 return shmat ();
31190 ;
31191 return 0;
31192 }
31193 _ACEOF
31194 rm -f conftest.$ac_objext conftest$ac_exeext
31195 if { (ac_try="$ac_link"
31196 case "(($ac_try" in
31197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31198 *) ac_try_echo=$ac_try;;
31199 esac
31200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31201 (eval "$ac_link") 2>conftest.er1
31202 ac_status=$?
31203 grep -v '^ *+' conftest.er1 >conftest.err
31204 rm -f conftest.er1
31205 cat conftest.err >&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); } && {
31208 test -z "$ac_c_werror_flag" ||
31209 test ! -s conftest.err
31210 } && test -s conftest$ac_exeext &&
31211 $as_test_x conftest$ac_exeext; then
31212 ac_cv_lib_ipc_shmat=yes
31213 else
31214 echo "$as_me: failed program was:" >&5
31215 sed 's/^/| /' conftest.$ac_ext >&5
31216
31217 ac_cv_lib_ipc_shmat=no
31218 fi
31219
31220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31221 conftest$ac_exeext conftest.$ac_ext
31222 LIBS=$ac_check_lib_save_LIBS
31223 fi
31224 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31225 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31226 if test $ac_cv_lib_ipc_shmat = yes; then
31227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31228 fi
31229
31230 fi
31231 fi
31232
31233 # Check for libraries that X11R6 Xt/Xaw programs need.
31234 ac_save_LDFLAGS=$LDFLAGS
31235 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31236 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31237 # check for ICE first), but we must link in the order -lSM -lICE or
31238 # we get undefined symbols. So assume we have SM if we have ICE.
31239 # These have to be linked with before -lX11, unlike the other
31240 # libraries we check for below, so use a different variable.
31241 # John Interrante, Karl Berry
31242 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31243 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31244 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31245 echo $ECHO_N "(cached) $ECHO_C" >&6
31246 else
31247 ac_check_lib_save_LIBS=$LIBS
31248 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31249 cat >conftest.$ac_ext <<_ACEOF
31250 /* confdefs.h. */
31251 _ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31255
31256 /* Override any GCC internal prototype to avoid an error.
31257 Use char because int might match the return type of a GCC
31258 builtin and then its argument prototype would still apply. */
31259 #ifdef __cplusplus
31260 extern "C"
31261 #endif
31262 char IceConnectionNumber ();
31263 int
31264 main ()
31265 {
31266 return IceConnectionNumber ();
31267 ;
31268 return 0;
31269 }
31270 _ACEOF
31271 rm -f conftest.$ac_objext conftest$ac_exeext
31272 if { (ac_try="$ac_link"
31273 case "(($ac_try" in
31274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31275 *) ac_try_echo=$ac_try;;
31276 esac
31277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31278 (eval "$ac_link") 2>conftest.er1
31279 ac_status=$?
31280 grep -v '^ *+' conftest.er1 >conftest.err
31281 rm -f conftest.er1
31282 cat conftest.err >&5
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); } && {
31285 test -z "$ac_c_werror_flag" ||
31286 test ! -s conftest.err
31287 } && test -s conftest$ac_exeext &&
31288 $as_test_x conftest$ac_exeext; then
31289 ac_cv_lib_ICE_IceConnectionNumber=yes
31290 else
31291 echo "$as_me: failed program was:" >&5
31292 sed 's/^/| /' conftest.$ac_ext >&5
31293
31294 ac_cv_lib_ICE_IceConnectionNumber=no
31295 fi
31296
31297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31298 conftest$ac_exeext conftest.$ac_ext
31299 LIBS=$ac_check_lib_save_LIBS
31300 fi
31301 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31302 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31303 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31304 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31305 fi
31306
31307 LDFLAGS=$ac_save_LDFLAGS
31308
31309 fi
31310
31311
31312 if test "$no_x" = "yes"; then
31313 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31314 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31315 { (exit 1); exit 1; }; }
31316 fi
31317
31318 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31319 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31320 AFMINSTALL=afminstall
31321 COMPILED_X_PROGRAM=0
31322
31323 fi
31324
31325 if test "$wxUSE_X11" = 1; then
31326 if test "$wxUSE_NANOX" = "yes"; then
31327 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31328 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31329 if test "x$MICROWIN" = x ; then
31330 { echo "$as_me:$LINENO: result: not found" >&5
31331 echo "${ECHO_T}not found" >&6; }
31332 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31333 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31334 { (exit 1); exit 1; }; }
31335 else
31336 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31337 echo "${ECHO_T}$MICROWIN" >&6; }
31338 cat >>confdefs.h <<\_ACEOF
31339 #define wxUSE_NANOX 1
31340 _ACEOF
31341
31342 fi
31343 fi
31344
31345 if test "$wxUSE_UNICODE" = "yes"; then
31346
31347
31348 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31349 if test -n "$ac_tool_prefix"; then
31350 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31351 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31354 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31355 echo $ECHO_N "(cached) $ECHO_C" >&6
31356 else
31357 case $PKG_CONFIG in
31358 [\\/]* | ?:[\\/]*)
31359 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31360 ;;
31361 *)
31362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31363 for as_dir in $PATH
31364 do
31365 IFS=$as_save_IFS
31366 test -z "$as_dir" && as_dir=.
31367 for ac_exec_ext in '' $ac_executable_extensions; do
31368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31369 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31371 break 2
31372 fi
31373 done
31374 done
31375 IFS=$as_save_IFS
31376
31377 ;;
31378 esac
31379 fi
31380 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31381 if test -n "$PKG_CONFIG"; then
31382 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31383 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31384 else
31385 { echo "$as_me:$LINENO: result: no" >&5
31386 echo "${ECHO_T}no" >&6; }
31387 fi
31388
31389
31390 fi
31391 if test -z "$ac_cv_path_PKG_CONFIG"; then
31392 ac_pt_PKG_CONFIG=$PKG_CONFIG
31393 # Extract the first word of "pkg-config", so it can be a program name with args.
31394 set dummy pkg-config; ac_word=$2
31395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31397 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31398 echo $ECHO_N "(cached) $ECHO_C" >&6
31399 else
31400 case $ac_pt_PKG_CONFIG in
31401 [\\/]* | ?:[\\/]*)
31402 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31403 ;;
31404 *)
31405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31406 for as_dir in $PATH
31407 do
31408 IFS=$as_save_IFS
31409 test -z "$as_dir" && as_dir=.
31410 for ac_exec_ext in '' $ac_executable_extensions; do
31411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31412 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31414 break 2
31415 fi
31416 done
31417 done
31418 IFS=$as_save_IFS
31419
31420 ;;
31421 esac
31422 fi
31423 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31424 if test -n "$ac_pt_PKG_CONFIG"; then
31425 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31426 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31427 else
31428 { echo "$as_me:$LINENO: result: no" >&5
31429 echo "${ECHO_T}no" >&6; }
31430 fi
31431
31432 if test "x$ac_pt_PKG_CONFIG" = x; then
31433 PKG_CONFIG=""
31434 else
31435 case $cross_compiling:$ac_tool_warned in
31436 yes:)
31437 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31438 whose name does not start with the host triplet. If you think this
31439 configuration is useful to you, please write to autoconf@gnu.org." >&5
31440 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31441 whose name does not start with the host triplet. If you think this
31442 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31443 ac_tool_warned=yes ;;
31444 esac
31445 PKG_CONFIG=$ac_pt_PKG_CONFIG
31446 fi
31447 else
31448 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31449 fi
31450
31451 fi
31452 if test -n "$PKG_CONFIG"; then
31453 _pkg_min_version=0.9.0
31454 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31455 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31456 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31457 { echo "$as_me:$LINENO: result: yes" >&5
31458 echo "${ECHO_T}yes" >&6; }
31459 else
31460 { echo "$as_me:$LINENO: result: no" >&5
31461 echo "${ECHO_T}no" >&6; }
31462 PKG_CONFIG=""
31463 fi
31464
31465 fi
31466
31467
31468 pkg_failed=no
31469 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31470 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31471
31472 if test -n "$PKG_CONFIG"; then
31473 if test -n "$PANGOX_CFLAGS"; then
31474 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31475 else
31476 if test -n "$PKG_CONFIG" && \
31477 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31478 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31479 ac_status=$?
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); }; then
31482 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31483 else
31484 pkg_failed=yes
31485 fi
31486 fi
31487 else
31488 pkg_failed=untried
31489 fi
31490 if test -n "$PKG_CONFIG"; then
31491 if test -n "$PANGOX_LIBS"; then
31492 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31493 else
31494 if test -n "$PKG_CONFIG" && \
31495 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31496 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31497 ac_status=$?
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; then
31500 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31501 else
31502 pkg_failed=yes
31503 fi
31504 fi
31505 else
31506 pkg_failed=untried
31507 fi
31508
31509
31510
31511 if test $pkg_failed = yes; then
31512
31513 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31514 _pkg_short_errors_supported=yes
31515 else
31516 _pkg_short_errors_supported=no
31517 fi
31518 if test $_pkg_short_errors_supported = yes; then
31519 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31520 else
31521 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31522 fi
31523 # Put the nasty error message in config.log where it belongs
31524 echo "$PANGOX_PKG_ERRORS" >&5
31525
31526
31527 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31528 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31529 { (exit 1); exit 1; }; }
31530
31531
31532 elif test $pkg_failed = untried; then
31533
31534 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31535 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31536 { (exit 1); exit 1; }; }
31537
31538
31539 else
31540 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31541 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31542 { echo "$as_me:$LINENO: result: yes" >&5
31543 echo "${ECHO_T}yes" >&6; }
31544
31545 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31546 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31547 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31548
31549 fi
31550
31551 pkg_failed=no
31552 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31553 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31554
31555 if test -n "$PKG_CONFIG"; then
31556 if test -n "$PANGOFT2_CFLAGS"; then
31557 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31558 else
31559 if test -n "$PKG_CONFIG" && \
31560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31561 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31562 ac_status=$?
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); }; then
31565 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31566 else
31567 pkg_failed=yes
31568 fi
31569 fi
31570 else
31571 pkg_failed=untried
31572 fi
31573 if test -n "$PKG_CONFIG"; then
31574 if test -n "$PANGOFT2_LIBS"; then
31575 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31576 else
31577 if test -n "$PKG_CONFIG" && \
31578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31579 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31580 ac_status=$?
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); }; then
31583 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31584 else
31585 pkg_failed=yes
31586 fi
31587 fi
31588 else
31589 pkg_failed=untried
31590 fi
31591
31592
31593
31594 if test $pkg_failed = yes; then
31595
31596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31597 _pkg_short_errors_supported=yes
31598 else
31599 _pkg_short_errors_supported=no
31600 fi
31601 if test $_pkg_short_errors_supported = yes; then
31602 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31603 else
31604 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31605 fi
31606 # Put the nasty error message in config.log where it belongs
31607 echo "$PANGOFT2_PKG_ERRORS" >&5
31608
31609
31610 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31611 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31612 wxUSE_PRINTING_ARCHITECTURE="no"
31613
31614
31615 elif test $pkg_failed = untried; then
31616
31617 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31618 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31619 wxUSE_PRINTING_ARCHITECTURE="no"
31620
31621
31622 else
31623 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31624 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31625 { echo "$as_me:$LINENO: result: yes" >&5
31626 echo "${ECHO_T}yes" >&6; }
31627
31628 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31629 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31630 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31631
31632 fi
31633
31634 pkg_failed=no
31635 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31636 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31637
31638 if test -n "$PKG_CONFIG"; then
31639 if test -n "$PANGOXFT_CFLAGS"; then
31640 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31641 else
31642 if test -n "$PKG_CONFIG" && \
31643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31644 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31645 ac_status=$?
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); }; then
31648 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31649 else
31650 pkg_failed=yes
31651 fi
31652 fi
31653 else
31654 pkg_failed=untried
31655 fi
31656 if test -n "$PKG_CONFIG"; then
31657 if test -n "$PANGOXFT_LIBS"; then
31658 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31659 else
31660 if test -n "$PKG_CONFIG" && \
31661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31662 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31663 ac_status=$?
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; then
31666 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31667 else
31668 pkg_failed=yes
31669 fi
31670 fi
31671 else
31672 pkg_failed=untried
31673 fi
31674
31675
31676
31677 if test $pkg_failed = yes; then
31678
31679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31680 _pkg_short_errors_supported=yes
31681 else
31682 _pkg_short_errors_supported=no
31683 fi
31684 if test $_pkg_short_errors_supported = yes; then
31685 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31686 else
31687 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31688 fi
31689 # Put the nasty error message in config.log where it belongs
31690 echo "$PANGOXFT_PKG_ERRORS" >&5
31691
31692
31693 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31694 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31695
31696
31697 elif test $pkg_failed = untried; then
31698
31699 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31700 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31701
31702
31703 else
31704 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31705 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31706 { echo "$as_me:$LINENO: result: yes" >&5
31707 echo "${ECHO_T}yes" >&6; }
31708
31709 cat >>confdefs.h <<\_ACEOF
31710 #define HAVE_PANGO_XFT 1
31711 _ACEOF
31712
31713 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31714 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31715 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31716
31717 fi
31718 save_LIBS="$LIBS"
31719 LIBS="$LIBS $PANGOX_LIBS"
31720
31721 for ac_func in pango_font_family_is_monospace
31722 do
31723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31727 echo $ECHO_N "(cached) $ECHO_C" >&6
31728 else
31729 cat >conftest.$ac_ext <<_ACEOF
31730 /* confdefs.h. */
31731 _ACEOF
31732 cat confdefs.h >>conftest.$ac_ext
31733 cat >>conftest.$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31737 #define $ac_func innocuous_$ac_func
31738
31739 /* System header to define __stub macros and hopefully few prototypes,
31740 which can conflict with char $ac_func (); below.
31741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31742 <limits.h> exists even on freestanding compilers. */
31743
31744 #ifdef __STDC__
31745 # include <limits.h>
31746 #else
31747 # include <assert.h>
31748 #endif
31749
31750 #undef $ac_func
31751
31752 /* Override any GCC internal prototype to avoid an error.
31753 Use char because int might match the return type of a GCC
31754 builtin and then its argument prototype would still apply. */
31755 #ifdef __cplusplus
31756 extern "C"
31757 #endif
31758 char $ac_func ();
31759 /* The GNU C library defines this for functions which it implements
31760 to always fail with ENOSYS. Some functions are actually named
31761 something starting with __ and the normal name is an alias. */
31762 #if defined __stub_$ac_func || defined __stub___$ac_func
31763 choke me
31764 #endif
31765
31766 int
31767 main ()
31768 {
31769 return $ac_func ();
31770 ;
31771 return 0;
31772 }
31773 _ACEOF
31774 rm -f conftest.$ac_objext conftest$ac_exeext
31775 if { (ac_try="$ac_link"
31776 case "(($ac_try" in
31777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31778 *) ac_try_echo=$ac_try;;
31779 esac
31780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31781 (eval "$ac_link") 2>conftest.er1
31782 ac_status=$?
31783 grep -v '^ *+' conftest.er1 >conftest.err
31784 rm -f conftest.er1
31785 cat conftest.err >&5
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); } && {
31788 test -z "$ac_c_werror_flag" ||
31789 test ! -s conftest.err
31790 } && test -s conftest$ac_exeext &&
31791 $as_test_x conftest$ac_exeext; then
31792 eval "$as_ac_var=yes"
31793 else
31794 echo "$as_me: failed program was:" >&5
31795 sed 's/^/| /' conftest.$ac_ext >&5
31796
31797 eval "$as_ac_var=no"
31798 fi
31799
31800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31801 conftest$ac_exeext conftest.$ac_ext
31802 fi
31803 ac_res=`eval echo '${'$as_ac_var'}'`
31804 { echo "$as_me:$LINENO: result: $ac_res" >&5
31805 echo "${ECHO_T}$ac_res" >&6; }
31806 if test `eval echo '${'$as_ac_var'}'` = yes; then
31807 cat >>confdefs.h <<_ACEOF
31808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31809 _ACEOF
31810
31811 fi
31812 done
31813
31814 LIBS="$save_LIBS"
31815 fi
31816
31817 wxUSE_UNIVERSAL="yes"
31818
31819 if test "$wxUSE_NANOX" = "yes"; then
31820 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31821 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"
31822 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31823 else
31824 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31825 fi
31826
31827 TOOLKIT=X11
31828 GUIDIST=X11_DIST
31829 fi
31830
31831 if test "$wxUSE_MOTIF" = 1; then
31832 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31833 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31834
31835 ac_find_includes=
31836 for ac_dir in $SEARCH_INCLUDE /usr/include;
31837 do
31838 if test -f "$ac_dir/Xm/Xm.h"; then
31839 ac_find_includes=$ac_dir
31840 break
31841 fi
31842 done
31843
31844 if test "$ac_find_includes" != "" ; then
31845 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31846 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31847
31848 if test "x$ac_find_includes" = "x/usr/include"; then
31849 ac_path_to_include=""
31850 else
31851 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31852 result=$?
31853 if test $result = 0; then
31854 ac_path_to_include=""
31855 else
31856 ac_path_to_include=" -I$ac_find_includes"
31857 fi
31858 fi
31859
31860 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31861 else
31862 save_CFLAGS=$CFLAGS
31863 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31864
31865 cat >conftest.$ac_ext <<_ACEOF
31866 /* confdefs.h. */
31867 _ACEOF
31868 cat confdefs.h >>conftest.$ac_ext
31869 cat >>conftest.$ac_ext <<_ACEOF
31870 /* end confdefs.h. */
31871
31872 #include <Xm/Xm.h>
31873
31874 int
31875 main ()
31876 {
31877
31878 int version;
31879 version = xmUseVersion;
31880
31881 ;
31882 return 0;
31883 }
31884 _ACEOF
31885 rm -f conftest.$ac_objext
31886 if { (ac_try="$ac_compile"
31887 case "(($ac_try" in
31888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31889 *) ac_try_echo=$ac_try;;
31890 esac
31891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31892 (eval "$ac_compile") 2>conftest.er1
31893 ac_status=$?
31894 grep -v '^ *+' conftest.er1 >conftest.err
31895 rm -f conftest.er1
31896 cat conftest.err >&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); } && {
31899 test -z "$ac_c_werror_flag" ||
31900 test ! -s conftest.err
31901 } && test -s conftest.$ac_objext; then
31902
31903 { echo "$as_me:$LINENO: result: found in default search path" >&5
31904 echo "${ECHO_T}found in default search path" >&6; }
31905 COMPILED_X_PROGRAM=1
31906
31907 else
31908 echo "$as_me: failed program was:" >&5
31909 sed 's/^/| /' conftest.$ac_ext >&5
31910
31911
31912 { echo "$as_me:$LINENO: result: no" >&5
31913 echo "${ECHO_T}no" >&6; }
31914 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31915 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31916 { (exit 1); exit 1; }; }
31917
31918
31919 fi
31920
31921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31922
31923 CFLAGS=$save_CFLAGS
31924 fi
31925
31926
31927 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31928 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31929
31930 ac_find_libraries=
31931 for ac_dir in $SEARCH_LIB;
31932 do
31933 for ac_extension in a so sl dylib dll.a; do
31934 if test -f "$ac_dir/libXm.$ac_extension"; then
31935 ac_find_libraries=$ac_dir
31936 break 2
31937 fi
31938 done
31939 done
31940
31941
31942 if test "x$ac_find_libraries" != "x" ; then
31943 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31944 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31945
31946
31947 if test "$ac_find_libraries" = "default location"; then
31948 ac_path_to_link=""
31949 else
31950 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31951 result=$?
31952 if test $result = 0; then
31953 ac_path_to_link=""
31954 else
31955 ac_path_to_link=" -L$ac_find_libraries"
31956 fi
31957 fi
31958
31959 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31960 else
31961 save_CFLAGS=$CFLAGS
31962 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31963 save_LIBS="$LIBS"
31964 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31965
31966 cat >conftest.$ac_ext <<_ACEOF
31967 /* confdefs.h. */
31968 _ACEOF
31969 cat confdefs.h >>conftest.$ac_ext
31970 cat >>conftest.$ac_ext <<_ACEOF
31971 /* end confdefs.h. */
31972
31973 #include <Xm/Xm.h>
31974
31975 int
31976 main ()
31977 {
31978
31979 int version;
31980 version = xmUseVersion;
31981
31982 ;
31983 return 0;
31984 }
31985 _ACEOF
31986 rm -f conftest.$ac_objext conftest$ac_exeext
31987 if { (ac_try="$ac_link"
31988 case "(($ac_try" in
31989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31990 *) ac_try_echo=$ac_try;;
31991 esac
31992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31993 (eval "$ac_link") 2>conftest.er1
31994 ac_status=$?
31995 grep -v '^ *+' conftest.er1 >conftest.err
31996 rm -f conftest.er1
31997 cat conftest.err >&5
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); } && {
32000 test -z "$ac_c_werror_flag" ||
32001 test ! -s conftest.err
32002 } && test -s conftest$ac_exeext &&
32003 $as_test_x conftest$ac_exeext; then
32004
32005 { echo "$as_me:$LINENO: result: found in default search path" >&5
32006 echo "${ECHO_T}found in default search path" >&6; }
32007 COMPILED_X_PROGRAM=1
32008
32009 else
32010 echo "$as_me: failed program was:" >&5
32011 sed 's/^/| /' conftest.$ac_ext >&5
32012
32013
32014 { echo "$as_me:$LINENO: result: no" >&5
32015 echo "${ECHO_T}no" >&6; }
32016 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32017 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32018 { (exit 1); exit 1; }; }
32019
32020
32021 fi
32022
32023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32024 conftest$ac_exeext conftest.$ac_ext
32025
32026 CFLAGS=$save_CFLAGS
32027 LIBS="$save_LIBS"
32028 fi
32029
32030 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32031 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32032 libp_link=""
32033 libsm_ice_link=""
32034 libs_found=0
32035 for libp in "" " -lXp"; do
32036 if test "$libs_found" = 0; then
32037 for libsm_ice in "" " -lSM -lICE"; do
32038 if test "$libs_found" = 0; then
32039 save_LIBS="$LIBS"
32040 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32041 save_CFLAGS=$CFLAGS
32042 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32043
32044 cat >conftest.$ac_ext <<_ACEOF
32045 /* confdefs.h. */
32046 _ACEOF
32047 cat confdefs.h >>conftest.$ac_ext
32048 cat >>conftest.$ac_ext <<_ACEOF
32049 /* end confdefs.h. */
32050
32051 #include <Xm/Xm.h>
32052 #include <Xm/List.h>
32053
32054 int
32055 main ()
32056 {
32057
32058 XmString string = NULL;
32059 Widget w = NULL;
32060 int position = 0;
32061 XmListAddItem(w, string, position);
32062
32063 ;
32064 return 0;
32065 }
32066 _ACEOF
32067 rm -f conftest.$ac_objext conftest$ac_exeext
32068 if { (ac_try="$ac_link"
32069 case "(($ac_try" in
32070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32071 *) ac_try_echo=$ac_try;;
32072 esac
32073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32074 (eval "$ac_link") 2>conftest.er1
32075 ac_status=$?
32076 grep -v '^ *+' conftest.er1 >conftest.err
32077 rm -f conftest.er1
32078 cat conftest.err >&5
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); } && {
32081 test -z "$ac_c_werror_flag" ||
32082 test ! -s conftest.err
32083 } && test -s conftest$ac_exeext &&
32084 $as_test_x conftest$ac_exeext; then
32085
32086 libp_link="$libp"
32087 libsm_ice_link="$libsm_ice"
32088 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32089 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32090 libs_found=1
32091
32092 else
32093 echo "$as_me: failed program was:" >&5
32094 sed 's/^/| /' conftest.$ac_ext >&5
32095
32096
32097
32098 fi
32099
32100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32101 conftest$ac_exeext conftest.$ac_ext
32102
32103 LIBS="$save_LIBS"
32104 CFLAGS=$save_CFLAGS
32105 fi
32106 done
32107 fi
32108 done
32109
32110 if test "$libs_found" = 0; then
32111 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32112 echo "${ECHO_T}can't find the right libraries" >&6; }
32113 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32114 echo "$as_me: error: can't link a simple motif program" >&2;}
32115 { (exit 1); exit 1; }; }
32116 fi
32117
32118 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32119 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32120 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32121 echo $ECHO_N "(cached) $ECHO_C" >&6
32122 else
32123 ac_check_lib_save_LIBS=$LIBS
32124 LIBS="-lSgm $LIBS"
32125 cat >conftest.$ac_ext <<_ACEOF
32126 /* confdefs.h. */
32127 _ACEOF
32128 cat confdefs.h >>conftest.$ac_ext
32129 cat >>conftest.$ac_ext <<_ACEOF
32130 /* end confdefs.h. */
32131
32132 /* Override any GCC internal prototype to avoid an error.
32133 Use char because int might match the return type of a GCC
32134 builtin and then its argument prototype would still apply. */
32135 #ifdef __cplusplus
32136 extern "C"
32137 #endif
32138 char SgCreateList ();
32139 int
32140 main ()
32141 {
32142 return SgCreateList ();
32143 ;
32144 return 0;
32145 }
32146 _ACEOF
32147 rm -f conftest.$ac_objext conftest$ac_exeext
32148 if { (ac_try="$ac_link"
32149 case "(($ac_try" in
32150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32151 *) ac_try_echo=$ac_try;;
32152 esac
32153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32154 (eval "$ac_link") 2>conftest.er1
32155 ac_status=$?
32156 grep -v '^ *+' conftest.er1 >conftest.err
32157 rm -f conftest.er1
32158 cat conftest.err >&5
32159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32160 (exit $ac_status); } && {
32161 test -z "$ac_c_werror_flag" ||
32162 test ! -s conftest.err
32163 } && test -s conftest$ac_exeext &&
32164 $as_test_x conftest$ac_exeext; then
32165 ac_cv_lib_Sgm_SgCreateList=yes
32166 else
32167 echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.$ac_ext >&5
32169
32170 ac_cv_lib_Sgm_SgCreateList=no
32171 fi
32172
32173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32174 conftest$ac_exeext conftest.$ac_ext
32175 LIBS=$ac_check_lib_save_LIBS
32176 fi
32177 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32178 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32179 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32180 libsgm_link=" -lSgm"
32181 fi
32182
32183
32184 save_CFLAGS=$CFLAGS
32185 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32186
32187 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32188 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32189 if test "${wx_cv_lib_motif2+set}" = set; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32191 else
32192 cat >conftest.$ac_ext <<_ACEOF
32193 /* confdefs.h. */
32194 _ACEOF
32195 cat confdefs.h >>conftest.$ac_ext
32196 cat >>conftest.$ac_ext <<_ACEOF
32197 /* end confdefs.h. */
32198
32199 #include <Xm/Xm.h>
32200
32201 int
32202 main ()
32203 {
32204
32205 #if XmVersion < 2000
32206 Not Motif 2
32207 #endif
32208
32209 ;
32210 return 0;
32211 }
32212 _ACEOF
32213 rm -f conftest.$ac_objext
32214 if { (ac_try="$ac_compile"
32215 case "(($ac_try" in
32216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32217 *) ac_try_echo=$ac_try;;
32218 esac
32219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32220 (eval "$ac_compile") 2>conftest.er1
32221 ac_status=$?
32222 grep -v '^ *+' conftest.er1 >conftest.err
32223 rm -f conftest.er1
32224 cat conftest.err >&5
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); } && {
32227 test -z "$ac_c_werror_flag" ||
32228 test ! -s conftest.err
32229 } && test -s conftest.$ac_objext; then
32230 wx_cv_lib_motif2="yes"
32231 else
32232 echo "$as_me: failed program was:" >&5
32233 sed 's/^/| /' conftest.$ac_ext >&5
32234
32235 wx_cv_lib_motif2="no"
32236 fi
32237
32238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32239 fi
32240 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32241 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32242 if test "$wx_cv_lib_motif2" = "yes"; then
32243 cat >>confdefs.h <<\_ACEOF
32244 #define __WXMOTIF20__ 1
32245 _ACEOF
32246
32247 else
32248 cat >>confdefs.h <<\_ACEOF
32249 #define __WXMOTIF20__ 0
32250 _ACEOF
32251
32252 fi
32253
32254 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32255 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32256 if test "${wx_cv_lib_lesstif+set}" = set; then
32257 echo $ECHO_N "(cached) $ECHO_C" >&6
32258 else
32259 cat >conftest.$ac_ext <<_ACEOF
32260 /* confdefs.h. */
32261 _ACEOF
32262 cat confdefs.h >>conftest.$ac_ext
32263 cat >>conftest.$ac_ext <<_ACEOF
32264 /* end confdefs.h. */
32265
32266 #include <Xm/Xm.h>
32267
32268 int
32269 main ()
32270 {
32271
32272 #if !defined(LesstifVersion) || LesstifVersion <= 0
32273 Not Lesstif
32274 #endif
32275
32276 ;
32277 return 0;
32278 }
32279 _ACEOF
32280 rm -f conftest.$ac_objext
32281 if { (ac_try="$ac_compile"
32282 case "(($ac_try" in
32283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32284 *) ac_try_echo=$ac_try;;
32285 esac
32286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32287 (eval "$ac_compile") 2>conftest.er1
32288 ac_status=$?
32289 grep -v '^ *+' conftest.er1 >conftest.err
32290 rm -f conftest.er1
32291 cat conftest.err >&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); } && {
32294 test -z "$ac_c_werror_flag" ||
32295 test ! -s conftest.err
32296 } && test -s conftest.$ac_objext; then
32297 wx_cv_lib_lesstif="yes"
32298 else
32299 echo "$as_me: failed program was:" >&5
32300 sed 's/^/| /' conftest.$ac_ext >&5
32301
32302 wx_cv_lib_lesstif="no"
32303 fi
32304
32305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32306
32307 fi
32308 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32309 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32310 if test "$wx_cv_lib_lesstif" = "yes"; then
32311 cat >>confdefs.h <<\_ACEOF
32312 #define __WXLESSTIF__ 1
32313 _ACEOF
32314
32315 else
32316 cat >>confdefs.h <<\_ACEOF
32317 #define __WXLESSTIF__ 0
32318 _ACEOF
32319
32320 fi
32321
32322 CFLAGS=$save_CFLAGS
32323
32324 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32325 TOOLKIT=MOTIF
32326 GUIDIST=MOTIF_DIST
32327 fi
32328
32329 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32330 if test "$wxUSE_LIBXPM" = "sys"; then
32331 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32332 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32333
32334 ac_find_libraries=
32335 for ac_dir in $SEARCH_LIB;
32336 do
32337 for ac_extension in a so sl dylib dll.a; do
32338 if test -f "$ac_dir/libXpm.$ac_extension"; then
32339 ac_find_libraries=$ac_dir
32340 break 2
32341 fi
32342 done
32343 done
32344
32345 if test "$ac_find_libraries" != "" ; then
32346
32347 if test "$ac_find_libraries" = "default location"; then
32348 ac_path_to_link=""
32349 else
32350 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32351 result=$?
32352 if test $result = 0; then
32353 ac_path_to_link=""
32354 else
32355 ac_path_to_link=" -L$ac_find_libraries"
32356 fi
32357 fi
32358
32359 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32360 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32361 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32362
32363 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32364 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32365 if test "${wx_cv_x11_xpm_h+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32367 else
32368
32369 save_CFLAGS=$CFLAGS
32370 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32371
32372 cat >conftest.$ac_ext <<_ACEOF
32373 /* confdefs.h. */
32374 _ACEOF
32375 cat confdefs.h >>conftest.$ac_ext
32376 cat >>conftest.$ac_ext <<_ACEOF
32377 /* end confdefs.h. */
32378
32379 #include <X11/xpm.h>
32380
32381 int
32382 main ()
32383 {
32384
32385 int version;
32386 version = XpmLibraryVersion();
32387
32388 ;
32389 return 0;
32390 }
32391 _ACEOF
32392 rm -f conftest.$ac_objext
32393 if { (ac_try="$ac_compile"
32394 case "(($ac_try" in
32395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32396 *) ac_try_echo=$ac_try;;
32397 esac
32398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32399 (eval "$ac_compile") 2>conftest.er1
32400 ac_status=$?
32401 grep -v '^ *+' conftest.er1 >conftest.err
32402 rm -f conftest.er1
32403 cat conftest.err >&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); } && {
32406 test -z "$ac_c_werror_flag" ||
32407 test ! -s conftest.err
32408 } && test -s conftest.$ac_objext; then
32409 wx_cv_x11_xpm_h=yes
32410 else
32411 echo "$as_me: failed program was:" >&5
32412 sed 's/^/| /' conftest.$ac_ext >&5
32413
32414 wx_cv_x11_xpm_h=no
32415
32416 fi
32417
32418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32419
32420 CFLAGS=$save_CFLAGS
32421
32422
32423 fi
32424 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32425 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32426
32427 if test $wx_cv_x11_xpm_h = "yes"; then
32428 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32429 cat >>confdefs.h <<\_ACEOF
32430 #define wxHAVE_LIB_XPM 1
32431 _ACEOF
32432
32433 else
32434 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32435 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32436 fi
32437 fi
32438
32439 fi
32440
32441 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32442 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32443 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32444 echo $ECHO_N "(cached) $ECHO_C" >&6
32445 else
32446 ac_check_lib_save_LIBS=$LIBS
32447 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32448 cat >conftest.$ac_ext <<_ACEOF
32449 /* confdefs.h. */
32450 _ACEOF
32451 cat confdefs.h >>conftest.$ac_ext
32452 cat >>conftest.$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32454
32455 /* Override any GCC internal prototype to avoid an error.
32456 Use char because int might match the return type of a GCC
32457 builtin and then its argument prototype would still apply. */
32458 #ifdef __cplusplus
32459 extern "C"
32460 #endif
32461 char XShapeQueryExtension ();
32462 int
32463 main ()
32464 {
32465 return XShapeQueryExtension ();
32466 ;
32467 return 0;
32468 }
32469 _ACEOF
32470 rm -f conftest.$ac_objext conftest$ac_exeext
32471 if { (ac_try="$ac_link"
32472 case "(($ac_try" in
32473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32474 *) ac_try_echo=$ac_try;;
32475 esac
32476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32477 (eval "$ac_link") 2>conftest.er1
32478 ac_status=$?
32479 grep -v '^ *+' conftest.er1 >conftest.err
32480 rm -f conftest.er1
32481 cat conftest.err >&5
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); } && {
32484 test -z "$ac_c_werror_flag" ||
32485 test ! -s conftest.err
32486 } && test -s conftest$ac_exeext &&
32487 $as_test_x conftest$ac_exeext; then
32488 ac_cv_lib_Xext_XShapeQueryExtension=yes
32489 else
32490 echo "$as_me: failed program was:" >&5
32491 sed 's/^/| /' conftest.$ac_ext >&5
32492
32493 ac_cv_lib_Xext_XShapeQueryExtension=no
32494 fi
32495
32496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32497 conftest$ac_exeext conftest.$ac_ext
32498 LIBS=$ac_check_lib_save_LIBS
32499 fi
32500 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32501 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32502 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32503
32504 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32505 wxHAVE_XEXT_LIB=1
32506
32507 fi
32508
32509
32510 if test "$wxHAVE_XEXT_LIB" = 1; then
32511 save_CFLAGS="$CFLAGS"
32512 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32513
32514 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32515 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522
32523 #include <X11/Xlib.h>
32524 #include <X11/extensions/shape.h>
32525
32526 int
32527 main ()
32528 {
32529
32530 int dummy1, dummy2;
32531 XShapeQueryExtension((Display*)NULL,
32532 (int*)NULL, (int*)NULL);
32533
32534 ;
32535 return 0;
32536 }
32537 _ACEOF
32538 rm -f conftest.$ac_objext
32539 if { (ac_try="$ac_compile"
32540 case "(($ac_try" in
32541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32542 *) ac_try_echo=$ac_try;;
32543 esac
32544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32545 (eval "$ac_compile") 2>conftest.er1
32546 ac_status=$?
32547 grep -v '^ *+' conftest.er1 >conftest.err
32548 rm -f conftest.er1
32549 cat conftest.err >&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } && {
32552 test -z "$ac_c_werror_flag" ||
32553 test ! -s conftest.err
32554 } && test -s conftest.$ac_objext; then
32555
32556 cat >>confdefs.h <<\_ACEOF
32557 #define HAVE_XSHAPE 1
32558 _ACEOF
32559
32560 { echo "$as_me:$LINENO: result: found" >&5
32561 echo "${ECHO_T}found" >&6; }
32562
32563 else
32564 echo "$as_me: failed program was:" >&5
32565 sed 's/^/| /' conftest.$ac_ext >&5
32566
32567
32568 { echo "$as_me:$LINENO: result: not found" >&5
32569 echo "${ECHO_T}not found" >&6; }
32570
32571 fi
32572
32573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32574 CFLAGS="$save_CFLAGS"
32575
32576 fi
32577 fi
32578
32579 if test "$wxUSE_OSX_CARBON" = 1; then
32580 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32581 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32582 if test "$GCC" = yes; then
32583 { echo "$as_me:$LINENO: result: gcc" >&5
32584 echo "${ECHO_T}gcc" >&6; }
32585 CPPFLAGS_PASCAL="-fpascal-strings"
32586 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32587 { echo "$as_me:$LINENO: result: xlc" >&5
32588 echo "${ECHO_T}xlc" >&6; }
32589 CPPFLAGS_PASCAL="-qmacpstr"
32590 else
32591 { echo "$as_me:$LINENO: result: none" >&5
32592 echo "${ECHO_T}none" >&6; }
32593 fi
32594
32595 if test "x$wxUSE_UNIX" = "xyes"; then
32596 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32597 else
32598 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32599 fi
32600
32601 TOOLKIT=OSX_CARBON
32602 GUIDIST=OSX_CARBON_DIST
32603 WXBASEPORT="_carbon"
32604 fi
32605
32606 if test "$wxUSE_OSX_COCOA" = 1; then
32607 TOOLKIT=OSX_COCOA
32608 GUIDIST=OSX_COCOA_DIST
32609 fi
32610
32611 if test "$wxUSE_COCOA" = 1; then
32612 TOOLKIT=COCOA
32613 GUIDIST=COCOA_DIST
32614 fi
32615
32616 if test "$wxUSE_PM" = 1; then
32617 TOOLKIT=PM
32618 GUIDIST=PM_DIST
32619 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32620 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32621 if test "${wx_cv_spbcdata+set}" = set; then
32622 echo $ECHO_N "(cached) $ECHO_C" >&6
32623 else
32624
32625 cat >conftest.$ac_ext <<_ACEOF
32626 /* confdefs.h. */
32627 _ACEOF
32628 cat confdefs.h >>conftest.$ac_ext
32629 cat >>conftest.$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32631
32632 #define INCL_PM
32633 #include <os2.h>
32634
32635 int
32636 main ()
32637 {
32638
32639 SPBCDATA test;
32640
32641 ;
32642 return 0;
32643 }
32644 _ACEOF
32645 rm -f conftest.$ac_objext
32646 if { (ac_try="$ac_compile"
32647 case "(($ac_try" in
32648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32649 *) ac_try_echo=$ac_try;;
32650 esac
32651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32652 (eval "$ac_compile") 2>conftest.er1
32653 ac_status=$?
32654 grep -v '^ *+' conftest.er1 >conftest.err
32655 rm -f conftest.er1
32656 cat conftest.err >&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } && {
32659 test -z "$ac_c_werror_flag" ||
32660 test ! -s conftest.err
32661 } && test -s conftest.$ac_objext; then
32662 wx_cv_spbcdata=yes
32663 else
32664 echo "$as_me: failed program was:" >&5
32665 sed 's/^/| /' conftest.$ac_ext >&5
32666
32667 wx_cv_spbcdata=no
32668
32669 fi
32670
32671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32672
32673
32674 fi
32675 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32676 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32677
32678 if test $wx_cv_spbcdata = "yes"; then
32679 cat >>confdefs.h <<\_ACEOF
32680 #define HAVE_SPBCDATA 1
32681 _ACEOF
32682
32683 fi
32684 fi
32685
32686 if test "$TOOLKIT" = "PM" ; then
32687 TOOLKIT_DIR="os2"
32688 else
32689 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32690 fi
32691
32692 if test "$wxUSE_UNIVERSAL" = "yes"; then
32693 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32694 WIDGET_SET=univ
32695 fi
32696
32697 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32698 DISTDIR="wx\$(TOOLKIT)"
32699 else
32700 USE_GUI=0
32701
32702 TOOLKIT_DIR="base"
32703
32704 if test "$USE_WIN32" = 1 ; then
32705 TOOLKIT="MSW"
32706 fi
32707
32708 GUIDIST="BASE_DIST"
32709 DISTDIR="wxBase"
32710 fi
32711
32712
32713
32714 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32715 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32716 wxUSE_UNICODE_UTF8=yes
32717 elif test "$USE_OS2" = 1 ; then
32718 wxUSE_UNICODE_UTF8=yes
32719 else
32720 wxUSE_UNICODE_UTF8=no
32721 fi
32722 fi
32723
32724
32725 if test "$wxUSE_GUI" = "yes"; then
32726 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32727
32728 for ac_header in X11/Xlib.h
32729 do
32730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32734 echo $ECHO_N "(cached) $ECHO_C" >&6
32735 else
32736 cat >conftest.$ac_ext <<_ACEOF
32737 /* confdefs.h. */
32738 _ACEOF
32739 cat confdefs.h >>conftest.$ac_ext
32740 cat >>conftest.$ac_ext <<_ACEOF
32741 /* end confdefs.h. */
32742
32743
32744 #include <$ac_header>
32745 _ACEOF
32746 rm -f conftest.$ac_objext
32747 if { (ac_try="$ac_compile"
32748 case "(($ac_try" in
32749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32750 *) ac_try_echo=$ac_try;;
32751 esac
32752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32753 (eval "$ac_compile") 2>conftest.er1
32754 ac_status=$?
32755 grep -v '^ *+' conftest.er1 >conftest.err
32756 rm -f conftest.er1
32757 cat conftest.err >&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); } && {
32760 test -z "$ac_c_werror_flag" ||
32761 test ! -s conftest.err
32762 } && test -s conftest.$ac_objext; then
32763 eval "$as_ac_Header=yes"
32764 else
32765 echo "$as_me: failed program was:" >&5
32766 sed 's/^/| /' conftest.$ac_ext >&5
32767
32768 eval "$as_ac_Header=no"
32769 fi
32770
32771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32772 fi
32773 ac_res=`eval echo '${'$as_ac_Header'}'`
32774 { echo "$as_me:$LINENO: result: $ac_res" >&5
32775 echo "${ECHO_T}$ac_res" >&6; }
32776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32777 cat >>confdefs.h <<_ACEOF
32778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32779 _ACEOF
32780
32781 fi
32782
32783 done
32784
32785
32786 for ac_header in X11/XKBlib.h
32787 do
32788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32789 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32791 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32792 echo $ECHO_N "(cached) $ECHO_C" >&6
32793 else
32794 cat >conftest.$ac_ext <<_ACEOF
32795 /* confdefs.h. */
32796 _ACEOF
32797 cat confdefs.h >>conftest.$ac_ext
32798 cat >>conftest.$ac_ext <<_ACEOF
32799 /* end confdefs.h. */
32800
32801 #if HAVE_X11_XLIB_H
32802 #include <X11/Xlib.h>
32803 #endif
32804
32805
32806 #include <$ac_header>
32807 _ACEOF
32808 rm -f conftest.$ac_objext
32809 if { (ac_try="$ac_compile"
32810 case "(($ac_try" in
32811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32812 *) ac_try_echo=$ac_try;;
32813 esac
32814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32815 (eval "$ac_compile") 2>conftest.er1
32816 ac_status=$?
32817 grep -v '^ *+' conftest.er1 >conftest.err
32818 rm -f conftest.er1
32819 cat conftest.err >&5
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); } && {
32822 test -z "$ac_c_werror_flag" ||
32823 test ! -s conftest.err
32824 } && test -s conftest.$ac_objext; then
32825 eval "$as_ac_Header=yes"
32826 else
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.$ac_ext >&5
32829
32830 eval "$as_ac_Header=no"
32831 fi
32832
32833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32834 fi
32835 ac_res=`eval echo '${'$as_ac_Header'}'`
32836 { echo "$as_me:$LINENO: result: $ac_res" >&5
32837 echo "${ECHO_T}$ac_res" >&6; }
32838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32839 cat >>confdefs.h <<_ACEOF
32840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32841 _ACEOF
32842
32843 fi
32844
32845 done
32846
32847 fi
32848 fi
32849
32850
32851
32852 if test "$wxUSE_DISPLAY" = "yes"; then
32853 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32854 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32855 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32856
32857 ac_find_libraries=
32858 for ac_dir in $SEARCH_LIB;
32859 do
32860 for ac_extension in a so sl dylib dll.a; do
32861 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32862 ac_find_libraries=$ac_dir
32863 break 2
32864 fi
32865 done
32866 done
32867
32868 if test "$ac_find_libraries" != "" ; then
32869
32870 if test "$ac_find_libraries" = "default location"; then
32871 ac_path_to_link=""
32872 else
32873 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32874 result=$?
32875 if test $result = 0; then
32876 ac_path_to_link=""
32877 else
32878 ac_path_to_link=" -L$ac_find_libraries"
32879 fi
32880 fi
32881
32882 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32883 LDFLAGS="$LDFLAGS $ac_path_to_link"
32884 fi
32885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32886 { echo "$as_me:$LINENO: result: yes" >&5
32887 echo "${ECHO_T}yes" >&6; }
32888
32889 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32890 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32891
32892 ac_find_libraries=
32893 for ac_dir in $SEARCH_LIB;
32894 do
32895 for ac_extension in a so sl dylib dll.a; do
32896 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32897 ac_find_libraries=$ac_dir
32898 break 2
32899 fi
32900 done
32901 done
32902
32903 if test "$ac_find_libraries" != "" ; then
32904 { echo "$as_me:$LINENO: result: yes" >&5
32905 echo "${ECHO_T}yes" >&6; }
32906
32907 for ac_header in X11/extensions/xf86vmode.h
32908 do
32909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32910 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32913 echo $ECHO_N "(cached) $ECHO_C" >&6
32914 else
32915 cat >conftest.$ac_ext <<_ACEOF
32916 /* confdefs.h. */
32917 _ACEOF
32918 cat confdefs.h >>conftest.$ac_ext
32919 cat >>conftest.$ac_ext <<_ACEOF
32920 /* end confdefs.h. */
32921
32922 #if HAVE_X11_XLIB_H
32923 #include <X11/Xlib.h>
32924 #endif
32925
32926
32927 #include <$ac_header>
32928 _ACEOF
32929 rm -f conftest.$ac_objext
32930 if { (ac_try="$ac_compile"
32931 case "(($ac_try" in
32932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32933 *) ac_try_echo=$ac_try;;
32934 esac
32935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32936 (eval "$ac_compile") 2>conftest.er1
32937 ac_status=$?
32938 grep -v '^ *+' conftest.er1 >conftest.err
32939 rm -f conftest.er1
32940 cat conftest.err >&5
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); } && {
32943 test -z "$ac_c_werror_flag" ||
32944 test ! -s conftest.err
32945 } && test -s conftest.$ac_objext; then
32946 eval "$as_ac_Header=yes"
32947 else
32948 echo "$as_me: failed program was:" >&5
32949 sed 's/^/| /' conftest.$ac_ext >&5
32950
32951 eval "$as_ac_Header=no"
32952 fi
32953
32954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32955 fi
32956 ac_res=`eval echo '${'$as_ac_Header'}'`
32957 { echo "$as_me:$LINENO: result: $ac_res" >&5
32958 echo "${ECHO_T}$ac_res" >&6; }
32959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32960 cat >>confdefs.h <<_ACEOF
32961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32962 _ACEOF
32963
32964 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32965
32966 fi
32967
32968 done
32969
32970 else
32971 { echo "$as_me:$LINENO: result: no" >&5
32972 echo "${ECHO_T}no" >&6; }
32973 fi
32974
32975 else
32976 { echo "$as_me:$LINENO: result: no" >&5
32977 echo "${ECHO_T}no" >&6; }
32978 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32979 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32980 wxUSE_DISPLAY="no"
32981 fi
32982 elif test "$wxUSE_MSW" = 1; then
32983 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32984 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32985 if test "${ac_cv_header_ddraw_h+set}" = set; then
32986 echo $ECHO_N "(cached) $ECHO_C" >&6
32987 else
32988 cat >conftest.$ac_ext <<_ACEOF
32989 /* confdefs.h. */
32990 _ACEOF
32991 cat confdefs.h >>conftest.$ac_ext
32992 cat >>conftest.$ac_ext <<_ACEOF
32993 /* end confdefs.h. */
32994 #include <windows.h>
32995
32996 #include <ddraw.h>
32997 _ACEOF
32998 rm -f conftest.$ac_objext
32999 if { (ac_try="$ac_compile"
33000 case "(($ac_try" in
33001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33002 *) ac_try_echo=$ac_try;;
33003 esac
33004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33005 (eval "$ac_compile") 2>conftest.er1
33006 ac_status=$?
33007 grep -v '^ *+' conftest.er1 >conftest.err
33008 rm -f conftest.er1
33009 cat conftest.err >&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); } && {
33012 test -z "$ac_c_werror_flag" ||
33013 test ! -s conftest.err
33014 } && test -s conftest.$ac_objext; then
33015 ac_cv_header_ddraw_h=yes
33016 else
33017 echo "$as_me: failed program was:" >&5
33018 sed 's/^/| /' conftest.$ac_ext >&5
33019
33020 ac_cv_header_ddraw_h=no
33021 fi
33022
33023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33024 fi
33025 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33026 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33027
33028
33029 fi
33030 fi
33031
33032 if test "$wxUSE_DETECT_SM" = "yes"; then
33033 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33034 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33035 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33036
33037 ac_find_libraries=
33038 for ac_dir in $SEARCH_LIB;
33039 do
33040 for ac_extension in a so sl dylib dll.a; do
33041 if test -f "$ac_dir/libSM.$ac_extension"; then
33042 ac_find_libraries=$ac_dir
33043 break 2
33044 fi
33045 done
33046 done
33047
33048 if test "$ac_find_libraries" != "" ; then
33049
33050 if test "$ac_find_libraries" = "default location"; then
33051 ac_path_to_link=""
33052 else
33053 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33054 result=$?
33055 if test $result = 0; then
33056 ac_path_to_link=""
33057 else
33058 ac_path_to_link=" -L$ac_find_libraries"
33059 fi
33060 fi
33061
33062 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33063 LDFLAGS="$LDFLAGS $ac_path_to_link"
33064 fi
33065 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33066 { echo "$as_me:$LINENO: result: yes" >&5
33067 echo "${ECHO_T}yes" >&6; }
33068 else
33069 { echo "$as_me:$LINENO: result: no" >&5
33070 echo "${ECHO_T}no" >&6; }
33071 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33072 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33073 wxUSE_DETECT_SM="no"
33074 fi
33075 else
33076 wxUSE_DETECT_SM="no"
33077 fi
33078 fi
33079
33080
33081
33082 USE_OPENGL=0
33083 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33084
33085
33086 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33087 OPENGL_LIBS="-framework OpenGL -framework AGL"
33088 elif test "$wxUSE_MSW" = 1; then
33089 OPENGL_LIBS="-lopengl32 -lglu32"
33090 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33091
33092 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33093 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33094
33095 ac_find_includes=
33096 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33097 do
33098 if test -f "$ac_dir/GL/gl.h"; then
33099 ac_find_includes=$ac_dir
33100 break
33101 fi
33102 done
33103
33104 if test "$ac_find_includes" != "" ; then
33105 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33106 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33107
33108 if test "x$ac_find_includes" = "x/usr/include"; then
33109 ac_path_to_include=""
33110 else
33111 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33112 result=$?
33113 if test $result = 0; then
33114 ac_path_to_include=""
33115 else
33116 ac_path_to_include=" -I$ac_find_includes"
33117 fi
33118 fi
33119
33120 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33121 else
33122 { echo "$as_me:$LINENO: result: not found" >&5
33123 echo "${ECHO_T}not found" >&6; }
33124 fi
33125
33126 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33127 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33128 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33129 echo $ECHO_N "(cached) $ECHO_C" >&6
33130 else
33131 cat >conftest.$ac_ext <<_ACEOF
33132 /* confdefs.h. */
33133 _ACEOF
33134 cat confdefs.h >>conftest.$ac_ext
33135 cat >>conftest.$ac_ext <<_ACEOF
33136 /* end confdefs.h. */
33137
33138
33139 #include <GL/gl.h>
33140 _ACEOF
33141 rm -f conftest.$ac_objext
33142 if { (ac_try="$ac_compile"
33143 case "(($ac_try" in
33144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33145 *) ac_try_echo=$ac_try;;
33146 esac
33147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33148 (eval "$ac_compile") 2>conftest.er1
33149 ac_status=$?
33150 grep -v '^ *+' conftest.er1 >conftest.err
33151 rm -f conftest.er1
33152 cat conftest.err >&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); } && {
33155 test -z "$ac_c_werror_flag" ||
33156 test ! -s conftest.err
33157 } && test -s conftest.$ac_objext; then
33158 ac_cv_header_GL_gl_h=yes
33159 else
33160 echo "$as_me: failed program was:" >&5
33161 sed 's/^/| /' conftest.$ac_ext >&5
33162
33163 ac_cv_header_GL_gl_h=no
33164 fi
33165
33166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33167 fi
33168 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33169 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33170 if test $ac_cv_header_GL_gl_h = yes; then
33171
33172 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33173 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33174 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33175 echo $ECHO_N "(cached) $ECHO_C" >&6
33176 else
33177 cat >conftest.$ac_ext <<_ACEOF
33178 /* confdefs.h. */
33179 _ACEOF
33180 cat confdefs.h >>conftest.$ac_ext
33181 cat >>conftest.$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33183
33184
33185 #include <GL/glu.h>
33186 _ACEOF
33187 rm -f conftest.$ac_objext
33188 if { (ac_try="$ac_compile"
33189 case "(($ac_try" in
33190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33191 *) ac_try_echo=$ac_try;;
33192 esac
33193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33194 (eval "$ac_compile") 2>conftest.er1
33195 ac_status=$?
33196 grep -v '^ *+' conftest.er1 >conftest.err
33197 rm -f conftest.er1
33198 cat conftest.err >&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); } && {
33201 test -z "$ac_c_werror_flag" ||
33202 test ! -s conftest.err
33203 } && test -s conftest.$ac_objext; then
33204 ac_cv_header_GL_glu_h=yes
33205 else
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.$ac_ext >&5
33208
33209 ac_cv_header_GL_glu_h=no
33210 fi
33211
33212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33213 fi
33214 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33215 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33216 if test $ac_cv_header_GL_glu_h = yes; then
33217
33218 found_gl=0
33219
33220 { echo "$as_me:$LINENO: checking for -lGL" >&5
33221 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33222
33223 ac_find_libraries=
33224 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33225 do
33226 for ac_extension in a so sl dylib dll.a; do
33227 if test -f "$ac_dir/libGL.$ac_extension"; then
33228 ac_find_libraries=$ac_dir
33229 break 2
33230 fi
33231 done
33232 done
33233
33234 if test "$ac_find_libraries" != "" ; then
33235 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33236 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33237
33238
33239 if test "$ac_find_libraries" = "default location"; then
33240 ac_path_to_link=""
33241 else
33242 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33243 result=$?
33244 if test $result = 0; then
33245 ac_path_to_link=""
33246 else
33247 ac_path_to_link=" -L$ac_find_libraries"
33248 fi
33249 fi
33250
33251 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33252 LDFLAGS_GL="$ac_path_to_link"
33253 fi
33254
33255 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33256 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33257
33258 ac_find_libraries=
33259 for ac_dir in $SEARCH_LIB;
33260 do
33261 for ac_extension in a so sl dylib dll.a; do
33262 if test -f "$ac_dir/libGLU.$ac_extension"; then
33263 ac_find_libraries=$ac_dir
33264 break 2
33265 fi
33266 done
33267 done
33268
33269 if test "$ac_find_libraries" != "" ; then
33270
33271 if test "$ac_find_libraries" = "default location"; then
33272 ac_path_to_link=""
33273 else
33274 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33275 result=$?
33276 if test $result = 0; then
33277 ac_path_to_link=""
33278 else
33279 ac_path_to_link=" -L$ac_find_libraries"
33280 fi
33281 fi
33282
33283 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33284 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33285 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33286 fi
33287
33288 found_gl=1
33289 OPENGL_LIBS="-lGL -lGLU"
33290 { echo "$as_me:$LINENO: result: yes" >&5
33291 echo "${ECHO_T}yes" >&6; }
33292 else
33293 { echo "$as_me:$LINENO: result: no" >&5
33294 echo "${ECHO_T}no" >&6; }
33295 fi
33296 else
33297 { echo "$as_me:$LINENO: result: no" >&5
33298 echo "${ECHO_T}no" >&6; }
33299 fi
33300
33301 if test "$found_gl" != 1; then
33302 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33303 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33304
33305 ac_find_libraries=
33306 for ac_dir in $SEARCH_LIB;
33307 do
33308 for ac_extension in a so sl dylib dll.a; do
33309 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33310 ac_find_libraries=$ac_dir
33311 break 2
33312 fi
33313 done
33314 done
33315
33316 if test "$ac_find_libraries" != "" ; then
33317
33318 if test "$ac_find_libraries" = "default location"; then
33319 ac_path_to_link=""
33320 else
33321 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33322 result=$?
33323 if test $result = 0; then
33324 ac_path_to_link=""
33325 else
33326 ac_path_to_link=" -L$ac_find_libraries"
33327 fi
33328 fi
33329
33330 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33331 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33332 { echo "$as_me:$LINENO: result: yes" >&5
33333 echo "${ECHO_T}yes" >&6; }
33334 else
33335 { echo "$as_me:$LINENO: result: no" >&5
33336 echo "${ECHO_T}no" >&6; }
33337 fi
33338 fi
33339
33340 fi
33341
33342
33343
33344 fi
33345
33346
33347
33348 if test "x$OPENGL_LIBS" = "x"; then
33349 if test "$wxUSE_OPENGL" = "yes"; then
33350 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33351 echo "$as_me: error: OpenGL libraries not available" >&2;}
33352 { (exit 1); exit 1; }; }
33353 else
33354 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33355 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33356 wxUSE_OPENGL=no
33357 USE_OPENGL=0
33358 fi
33359 else
33360 wxUSE_OPENGL=yes
33361 fi
33362 else
33363 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33364 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33365 wxUSE_OPENGL="no"
33366 fi
33367
33368 if test "$wxUSE_OPENGL" = "yes"; then
33369 USE_OPENGL=1
33370 cat >>confdefs.h <<\_ACEOF
33371 #define wxUSE_OPENGL 1
33372 _ACEOF
33373
33374 cat >>confdefs.h <<\_ACEOF
33375 #define wxUSE_GLCANVAS 1
33376 _ACEOF
33377
33378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33379 fi
33380 fi
33381
33382
33383 if test -n "$TOOLKIT" ; then
33384 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33385 fi
33386
33387
33388
33389 if test "$wxUSE_SHARED" = "yes"; then
33390 case "${host}" in
33391 *-pc-msdosdjgpp )
33392 wxUSE_SHARED=no
33393 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33394 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33395 ;;
33396 esac
33397 fi
33398
33399 if test "$wxUSE_SHARED" = "yes"; then
33400
33401
33402 case "${host}" in
33403 *-*-cygwin* | *-*-mingw* )
33404 wx_cv_version_script=no
33405 ;;
33406
33407 *)
33408 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33409 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33410 if test "${wx_cv_version_script+set}" = set; then
33411 echo $ECHO_N "(cached) $ECHO_C" >&6
33412 else
33413
33414 echo "VER_1 { *; };" >conftest.sym
33415 echo "int main() { return 0; }" >conftest.cpp
33416
33417 if { ac_try='
33418 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33419 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33421 (eval $ac_try) 2>&5
33422 ac_status=$?
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); }; } ; then
33425 if test -s conftest.stderr ; then
33426 wx_cv_version_script=no
33427 else
33428 wx_cv_version_script=yes
33429 fi
33430 else
33431 wx_cv_version_script=no
33432 fi
33433
33434 if test $wx_cv_version_script = yes
33435 then
33436 echo "struct B { virtual ~B() { } }; \
33437 struct D : public B { }; \
33438 void F() { D d; }" > conftest.cpp
33439
33440 if { ac_try='
33441 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33442 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33444 (eval $ac_try) 2>&5
33445 ac_status=$?
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; } &&
33448 { ac_try='
33449 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33450 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33452 (eval $ac_try) 2>&5
33453 ac_status=$?
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); }; }
33456 then
33457 if { ac_try='
33458 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33459 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33461 (eval $ac_try) 2>&5
33462 ac_status=$?
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); }; }
33465 then
33466 wx_cv_version_script=yes
33467 else
33468 wx_cv_version_script=no
33469 fi
33470 fi
33471 fi
33472
33473 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33474 rm -f conftest1.output conftest2.output conftest3.output
33475
33476 fi
33477 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33478 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33479
33480 if test $wx_cv_version_script = yes ; then
33481 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33482 fi
33483 ;;
33484 esac
33485
33486
33487 if test "$wxUSE_VISIBILITY" != "no"; then
33488
33489
33490 if test -n "$GCC"; then
33491 CFLAGS_VISIBILITY="-fvisibility=hidden"
33492 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33493 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33494 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33495 if test "${wx_cv_cc_visibility+set}" = set; then
33496 echo $ECHO_N "(cached) $ECHO_C" >&6
33497 else
33498
33499 wx_save_CXXFLAGS="$CXXFLAGS"
33500 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33501 ac_ext=cpp
33502 ac_cpp='$CXXCPP $CPPFLAGS'
33503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33506
33507 cat >conftest.$ac_ext <<_ACEOF
33508 /* confdefs.h. */
33509 _ACEOF
33510 cat confdefs.h >>conftest.$ac_ext
33511 cat >>conftest.$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33513
33514 /* we need gcc >= 4.0, older versions with visibility support
33515 didn't have class visibility: */
33516 #if defined(__GNUC__) && __GNUC__ < 4
33517 error this gcc is too old;
33518 #endif
33519
33520 /* visibility only makes sense for ELF shared libs: */
33521 #if !defined(__ELF__) && !defined(__APPLE__)
33522 error this platform has no visibility;
33523 #endif
33524
33525 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33526 extern __attribute__((__visibility__("default"))) int exportedvar;
33527 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33528 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33529 class __attribute__((__visibility__("default"))) Foo {
33530 Foo() {}
33531 };
33532
33533 int
33534 main ()
33535 {
33536
33537 ;
33538 return 0;
33539 }
33540 _ACEOF
33541 rm -f conftest.$ac_objext
33542 if { (ac_try="$ac_compile"
33543 case "(($ac_try" in
33544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33545 *) ac_try_echo=$ac_try;;
33546 esac
33547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33548 (eval "$ac_compile") 2>conftest.er1
33549 ac_status=$?
33550 grep -v '^ *+' conftest.er1 >conftest.err
33551 rm -f conftest.er1
33552 cat conftest.err >&5
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); } && {
33555 test -z "$ac_cxx_werror_flag" ||
33556 test ! -s conftest.err
33557 } && test -s conftest.$ac_objext; then
33558 wx_cv_cc_visibility=yes
33559 else
33560 echo "$as_me: failed program was:" >&5
33561 sed 's/^/| /' conftest.$ac_ext >&5
33562
33563 wx_cv_cc_visibility=no
33564 fi
33565
33566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33567 ac_ext=c
33568 ac_cpp='$CPP $CPPFLAGS'
33569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33572
33573 CXXFLAGS="$wx_save_CXXFLAGS"
33574 fi
33575
33576 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33577 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33578 if test $wx_cv_cc_visibility = yes; then
33579 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33580 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33581 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33582 echo $ECHO_N "(cached) $ECHO_C" >&6
33583 else
33584
33585 wx_save_CXXFLAGS="$CXXFLAGS"
33586 wx_save_LDFLAGS="$LDFLAGS"
33587 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33588 LDFLAGS="$LDFLAGS -shared -fPIC"
33589 ac_ext=cpp
33590 ac_cpp='$CXXCPP $CPPFLAGS'
33591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33594
33595 cat >conftest.$ac_ext <<_ACEOF
33596 /* confdefs.h. */
33597 _ACEOF
33598 cat confdefs.h >>conftest.$ac_ext
33599 cat >>conftest.$ac_ext <<_ACEOF
33600 /* end confdefs.h. */
33601
33602 #include <string>
33603
33604 int
33605 main ()
33606 {
33607
33608 std::string s("hello");
33609 return s.length();
33610
33611 ;
33612 return 0;
33613 }
33614 _ACEOF
33615 rm -f conftest.$ac_objext conftest$ac_exeext
33616 if { (ac_try="$ac_link"
33617 case "(($ac_try" in
33618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33619 *) ac_try_echo=$ac_try;;
33620 esac
33621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33622 (eval "$ac_link") 2>conftest.er1
33623 ac_status=$?
33624 grep -v '^ *+' conftest.er1 >conftest.err
33625 rm -f conftest.er1
33626 cat conftest.err >&5
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); } && {
33629 test -z "$ac_cxx_werror_flag" ||
33630 test ! -s conftest.err
33631 } && test -s conftest$ac_exeext &&
33632 $as_test_x conftest$ac_exeext; then
33633 wx_cv_cc_broken_libstdcxx_visibility=no
33634 else
33635 echo "$as_me: failed program was:" >&5
33636 sed 's/^/| /' conftest.$ac_ext >&5
33637
33638 wx_cv_cc_broken_libstdcxx_visibility=yes
33639 fi
33640
33641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33642 conftest$ac_exeext conftest.$ac_ext
33643 ac_ext=c
33644 ac_cpp='$CPP $CPPFLAGS'
33645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33648
33649 CXXFLAGS="$wx_save_CXXFLAGS"
33650 LDFLAGS="$wx_save_LDFLAGS"
33651 fi
33652
33653 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33654 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33655
33656 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33657 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33658 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33659 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33660 echo $ECHO_N "(cached) $ECHO_C" >&6
33661 else
33662
33663 ac_ext=cpp
33664 ac_cpp='$CXXCPP $CPPFLAGS'
33665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33668
33669 cat >conftest.$ac_ext <<_ACEOF
33670 /* confdefs.h. */
33671 _ACEOF
33672 cat confdefs.h >>conftest.$ac_ext
33673 cat >>conftest.$ac_ext <<_ACEOF
33674 /* end confdefs.h. */
33675
33676 #pragma GCC visibility push(default)
33677 #include <string>
33678 #pragma GCC visibility pop
33679
33680 int
33681 main ()
33682 {
33683
33684 std::string s("hello");
33685 return s.length();
33686
33687 ;
33688 return 0;
33689 }
33690 _ACEOF
33691 rm -f conftest.$ac_objext conftest$ac_exeext
33692 if { (ac_try="$ac_link"
33693 case "(($ac_try" in
33694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33695 *) ac_try_echo=$ac_try;;
33696 esac
33697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33698 (eval "$ac_link") 2>conftest.er1
33699 ac_status=$?
33700 grep -v '^ *+' conftest.er1 >conftest.err
33701 rm -f conftest.er1
33702 cat conftest.err >&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } && {
33705 test -z "$ac_cxx_werror_flag" ||
33706 test ! -s conftest.err
33707 } && test -s conftest$ac_exeext &&
33708 $as_test_x conftest$ac_exeext; then
33709 wx_cv_cc_visibility_workaround=no
33710 else
33711 echo "$as_me: failed program was:" >&5
33712 sed 's/^/| /' conftest.$ac_ext >&5
33713
33714 wx_cv_cc_visibility_workaround=yes
33715 fi
33716
33717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33718 conftest$ac_exeext conftest.$ac_ext
33719 ac_ext=c
33720 ac_cpp='$CPP $CPPFLAGS'
33721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33724
33725
33726 fi
33727
33728 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33729 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33730
33731 if test $wx_cv_cc_visibility_workaround = no; then
33732 wx_cv_cc_visibility=no
33733 fi
33734 fi
33735 fi
33736
33737 if test $wx_cv_cc_visibility = yes; then
33738 cat >>confdefs.h <<\_ACEOF
33739 #define HAVE_VISIBILITY 1
33740 _ACEOF
33741
33742 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33743 cat >>confdefs.h <<\_ACEOF
33744 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33745 _ACEOF
33746
33747 fi
33748 else
33749 CFLAGS_VISIBILITY=""
33750 CXXFLAGS_VISIBILITY=""
33751 fi
33752
33753
33754 fi
33755
33756 fi
33757
33758 if test "x$SUNCXX" = xyes; then
33759 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33760 WXCONFIG_RPATH="-R\$libdir"
33761 else
33762 case "${host}" in
33763 *-*-linux* | *-*-gnu* )
33764 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33765 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33766 ;;
33767
33768 *-*-solaris2* )
33769
33770 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33771
33772 saveLdflags="$LDFLAGS"
33773 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33774 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33775 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33776 cat >conftest.$ac_ext <<_ACEOF
33777 /* confdefs.h. */
33778 _ACEOF
33779 cat confdefs.h >>conftest.$ac_ext
33780 cat >>conftest.$ac_ext <<_ACEOF
33781 /* end confdefs.h. */
33782
33783 int
33784 main ()
33785 {
33786
33787 ;
33788 return 0;
33789 }
33790 _ACEOF
33791 rm -f conftest.$ac_objext conftest$ac_exeext
33792 if { (ac_try="$ac_link"
33793 case "(($ac_try" in
33794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33795 *) ac_try_echo=$ac_try;;
33796 esac
33797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33798 (eval "$ac_link") 2>conftest.er1
33799 ac_status=$?
33800 grep -v '^ *+' conftest.er1 >conftest.err
33801 rm -f conftest.er1
33802 cat conftest.err >&5
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); } && {
33805 test -z "$ac_c_werror_flag" ||
33806 test ! -s conftest.err
33807 } && test -s conftest$ac_exeext &&
33808 $as_test_x conftest$ac_exeext; then
33809
33810 { echo "$as_me:$LINENO: result: yes" >&5
33811 echo "${ECHO_T}yes" >&6; }
33812 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33813 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33814
33815 else
33816 echo "$as_me: failed program was:" >&5
33817 sed 's/^/| /' conftest.$ac_ext >&5
33818
33819
33820 { echo "$as_me:$LINENO: result: no" >&5
33821 echo "${ECHO_T}no" >&6; }
33822 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33823 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33824 LDFLAGS="$saveLdflags -Wl,-R,/"
33825 cat >conftest.$ac_ext <<_ACEOF
33826 /* confdefs.h. */
33827 _ACEOF
33828 cat confdefs.h >>conftest.$ac_ext
33829 cat >>conftest.$ac_ext <<_ACEOF
33830 /* end confdefs.h. */
33831
33832 int
33833 main ()
33834 {
33835
33836 ;
33837 return 0;
33838 }
33839 _ACEOF
33840 rm -f conftest.$ac_objext conftest$ac_exeext
33841 if { (ac_try="$ac_link"
33842 case "(($ac_try" in
33843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33844 *) ac_try_echo=$ac_try;;
33845 esac
33846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33847 (eval "$ac_link") 2>conftest.er1
33848 ac_status=$?
33849 grep -v '^ *+' conftest.er1 >conftest.err
33850 rm -f conftest.er1
33851 cat conftest.err >&5
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); } && {
33854 test -z "$ac_c_werror_flag" ||
33855 test ! -s conftest.err
33856 } && test -s conftest$ac_exeext &&
33857 $as_test_x conftest$ac_exeext; then
33858
33859 { echo "$as_me:$LINENO: result: yes" >&5
33860 echo "${ECHO_T}yes" >&6; }
33861 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33862 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33863
33864 else
33865 echo "$as_me: failed program was:" >&5
33866 sed 's/^/| /' conftest.$ac_ext >&5
33867
33868
33869 { echo "$as_me:$LINENO: result: no" >&5
33870 echo "${ECHO_T}no" >&6; }
33871
33872 fi
33873
33874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33875 conftest$ac_exeext conftest.$ac_ext
33876
33877 fi
33878
33879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33880 conftest$ac_exeext conftest.$ac_ext
33881 LDFLAGS="$saveLdflags"
33882 ;;
33883
33884 *-*-darwin* )
33885 install_name_tool=`which install_name_tool`
33886 if test "$install_name_tool" -a -x "$install_name_tool"; then
33887 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33888 cat <<EOF >change-install-names
33889 #!/bin/sh
33890 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33891 inst_cmd="install_name_tool "
33892 for i in \${libnames} ; do
33893 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33894 done
33895 \${inst_cmd} \${3}
33896 EOF
33897 chmod +x change-install-names
33898 fi
33899 ;;
33900
33901 *-*-cygwin* | *-*-mingw32* )
33902 ;;
33903
33904 *-*-hpux* )
33905 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33906 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33907 ;;
33908
33909 esac
33910 fi
33911
33912 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33913
33914 if test $wxUSE_RPATH = "no"; then
33915 SAMPLES_RPATH_FLAG=''
33916 SAMPLES_RPATH_POSTLINK=''
33917 WXCONFIG_RPATH=''
33918 fi
33919
33920 SHARED=1
33921
33922 else
33923
33924 config_linkage_component="-static"
33925 SHARED=0
33926
33927 fi
33928
33929
33930 UNICODE=0
33931 lib_unicode_suffix=
33932 WX_CHARTYPE="ansi"
33933 if test "$wxUSE_UNICODE" = "yes"; then
33934 lib_unicode_suffix=u
33935 WX_CHARTYPE="unicode"
33936 UNICODE=1
33937 fi
33938
33939 lib_debug_suffix=
33940 WX_DEBUGTYPE="release"
33941 DEBUG_FLAG=0
33942 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33943 lib_debug_suffix=d
33944 WX_DEBUGTYPE="debug"
33945 DEBUG_FLAG=1
33946 fi
33947
33948 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33949 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33950
33951 DEBUG_INFO=0
33952 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33953 DEBUG_INFO=1
33954 fi
33955
33956 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33957
33958 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33959
33960 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33961
33962 if test "$cross_compiling" = "yes"; then
33963 HOST_SUFFIX="-$host_alias"
33964 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33965 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33966 fi
33967
33968 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33969 if test "${TOOLKIT_DIR}" = "os2"; then
33970 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33971 else
33972 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33973 fi
33974
33975
33976
33977 if test "$wxUSE_COCOA" = 1; then
33978
33979 ac_ext=c
33980 ac_cpp='$CPP $CPPFLAGS'
33981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33984
33985 ac_ext=m
33986
33987 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33988 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33989 cat >conftest.$ac_ext <<_ACEOF
33990 /* confdefs.h. */
33991 _ACEOF
33992 cat confdefs.h >>conftest.$ac_ext
33993 cat >>conftest.$ac_ext <<_ACEOF
33994 /* end confdefs.h. */
33995 #include <AppKit/NSEvent.h>
33996 #include <CoreFoundation/CoreFoundation.h>
33997
33998 int
33999 main ()
34000 {
34001
34002 ;
34003 return 0;
34004 }
34005 _ACEOF
34006 rm -f conftest.$ac_objext
34007 if { (ac_try="$ac_compile"
34008 case "(($ac_try" in
34009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34010 *) ac_try_echo=$ac_try;;
34011 esac
34012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34013 (eval "$ac_compile") 2>conftest.er1
34014 ac_status=$?
34015 grep -v '^ *+' conftest.er1 >conftest.err
34016 rm -f conftest.er1
34017 cat conftest.err >&5
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); } && {
34020 test -z "$ac_c_werror_flag" ||
34021 test ! -s conftest.err
34022 } && test -s conftest.$ac_objext; then
34023 { echo "$as_me:$LINENO: result: no" >&5
34024 echo "${ECHO_T}no" >&6; }
34025 else
34026 echo "$as_me: failed program was:" >&5
34027 sed 's/^/| /' conftest.$ac_ext >&5
34028
34029 { echo "$as_me:$LINENO: result: yes" >&5
34030 echo "${ECHO_T}yes" >&6; }
34031 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34032 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34033 cat >conftest.$ac_ext <<_ACEOF
34034 /* confdefs.h. */
34035 _ACEOF
34036 cat confdefs.h >>conftest.$ac_ext
34037 cat >>conftest.$ac_ext <<_ACEOF
34038 /* end confdefs.h. */
34039 #define __Point__ 1
34040 #include <AppKit/NSEvent.h>
34041 #include <CoreFoundation/CoreFoundation.h>
34042
34043 int
34044 main ()
34045 {
34046
34047 ;
34048 return 0;
34049 }
34050 _ACEOF
34051 rm -f conftest.$ac_objext
34052 if { (ac_try="$ac_compile"
34053 case "(($ac_try" in
34054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34055 *) ac_try_echo=$ac_try;;
34056 esac
34057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34058 (eval "$ac_compile") 2>conftest.er1
34059 ac_status=$?
34060 grep -v '^ *+' conftest.er1 >conftest.err
34061 rm -f conftest.er1
34062 cat conftest.err >&5
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); } && {
34065 test -z "$ac_c_werror_flag" ||
34066 test ! -s conftest.err
34067 } && test -s conftest.$ac_objext; then
34068 { echo "$as_me:$LINENO: result: yes" >&5
34069 echo "${ECHO_T}yes" >&6; }
34070 cat >>confdefs.h <<\_ACEOF
34071 #define __Point__ 1
34072 _ACEOF
34073
34074
34075 else
34076 echo "$as_me: failed program was:" >&5
34077 sed 's/^/| /' conftest.$ac_ext >&5
34078
34079 { { echo "$as_me:$LINENO: error: no
34080 See \`config.log' for more details." >&5
34081 echo "$as_me: error: no
34082 See \`config.log' for more details." >&2;}
34083 { (exit 1); exit 1; }; }
34084
34085 fi
34086
34087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34088
34089 fi
34090
34091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34092 ac_ext=c
34093 ac_cpp='$CPP $CPPFLAGS'
34094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34097
34098 fi
34099
34100
34101 { echo "$as_me:$LINENO: checking for mode_t" >&5
34102 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34103 if test "${ac_cv_type_mode_t+set}" = set; then
34104 echo $ECHO_N "(cached) $ECHO_C" >&6
34105 else
34106 cat >conftest.$ac_ext <<_ACEOF
34107 /* confdefs.h. */
34108 _ACEOF
34109 cat confdefs.h >>conftest.$ac_ext
34110 cat >>conftest.$ac_ext <<_ACEOF
34111 /* end confdefs.h. */
34112 $ac_includes_default
34113 typedef mode_t ac__type_new_;
34114 int
34115 main ()
34116 {
34117 if ((ac__type_new_ *) 0)
34118 return 0;
34119 if (sizeof (ac__type_new_))
34120 return 0;
34121 ;
34122 return 0;
34123 }
34124 _ACEOF
34125 rm -f conftest.$ac_objext
34126 if { (ac_try="$ac_compile"
34127 case "(($ac_try" in
34128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34129 *) ac_try_echo=$ac_try;;
34130 esac
34131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34132 (eval "$ac_compile") 2>conftest.er1
34133 ac_status=$?
34134 grep -v '^ *+' conftest.er1 >conftest.err
34135 rm -f conftest.er1
34136 cat conftest.err >&5
34137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34138 (exit $ac_status); } && {
34139 test -z "$ac_c_werror_flag" ||
34140 test ! -s conftest.err
34141 } && test -s conftest.$ac_objext; then
34142 ac_cv_type_mode_t=yes
34143 else
34144 echo "$as_me: failed program was:" >&5
34145 sed 's/^/| /' conftest.$ac_ext >&5
34146
34147 ac_cv_type_mode_t=no
34148 fi
34149
34150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34151 fi
34152 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34153 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34154 if test $ac_cv_type_mode_t = yes; then
34155 :
34156 else
34157
34158 cat >>confdefs.h <<_ACEOF
34159 #define mode_t int
34160 _ACEOF
34161
34162 fi
34163
34164 { echo "$as_me:$LINENO: checking for off_t" >&5
34165 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34166 if test "${ac_cv_type_off_t+set}" = set; then
34167 echo $ECHO_N "(cached) $ECHO_C" >&6
34168 else
34169 cat >conftest.$ac_ext <<_ACEOF
34170 /* confdefs.h. */
34171 _ACEOF
34172 cat confdefs.h >>conftest.$ac_ext
34173 cat >>conftest.$ac_ext <<_ACEOF
34174 /* end confdefs.h. */
34175 $ac_includes_default
34176 typedef off_t ac__type_new_;
34177 int
34178 main ()
34179 {
34180 if ((ac__type_new_ *) 0)
34181 return 0;
34182 if (sizeof (ac__type_new_))
34183 return 0;
34184 ;
34185 return 0;
34186 }
34187 _ACEOF
34188 rm -f conftest.$ac_objext
34189 if { (ac_try="$ac_compile"
34190 case "(($ac_try" in
34191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34192 *) ac_try_echo=$ac_try;;
34193 esac
34194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34195 (eval "$ac_compile") 2>conftest.er1
34196 ac_status=$?
34197 grep -v '^ *+' conftest.er1 >conftest.err
34198 rm -f conftest.er1
34199 cat conftest.err >&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } && {
34202 test -z "$ac_c_werror_flag" ||
34203 test ! -s conftest.err
34204 } && test -s conftest.$ac_objext; then
34205 ac_cv_type_off_t=yes
34206 else
34207 echo "$as_me: failed program was:" >&5
34208 sed 's/^/| /' conftest.$ac_ext >&5
34209
34210 ac_cv_type_off_t=no
34211 fi
34212
34213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34214 fi
34215 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34216 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34217 if test $ac_cv_type_off_t = yes; then
34218 :
34219 else
34220
34221 cat >>confdefs.h <<_ACEOF
34222 #define off_t long int
34223 _ACEOF
34224
34225 fi
34226
34227 { echo "$as_me:$LINENO: checking for pid_t" >&5
34228 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34229 if test "${ac_cv_type_pid_t+set}" = set; then
34230 echo $ECHO_N "(cached) $ECHO_C" >&6
34231 else
34232 cat >conftest.$ac_ext <<_ACEOF
34233 /* confdefs.h. */
34234 _ACEOF
34235 cat confdefs.h >>conftest.$ac_ext
34236 cat >>conftest.$ac_ext <<_ACEOF
34237 /* end confdefs.h. */
34238 $ac_includes_default
34239 typedef pid_t ac__type_new_;
34240 int
34241 main ()
34242 {
34243 if ((ac__type_new_ *) 0)
34244 return 0;
34245 if (sizeof (ac__type_new_))
34246 return 0;
34247 ;
34248 return 0;
34249 }
34250 _ACEOF
34251 rm -f conftest.$ac_objext
34252 if { (ac_try="$ac_compile"
34253 case "(($ac_try" in
34254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34255 *) ac_try_echo=$ac_try;;
34256 esac
34257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34258 (eval "$ac_compile") 2>conftest.er1
34259 ac_status=$?
34260 grep -v '^ *+' conftest.er1 >conftest.err
34261 rm -f conftest.er1
34262 cat conftest.err >&5
34263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34264 (exit $ac_status); } && {
34265 test -z "$ac_c_werror_flag" ||
34266 test ! -s conftest.err
34267 } && test -s conftest.$ac_objext; then
34268 ac_cv_type_pid_t=yes
34269 else
34270 echo "$as_me: failed program was:" >&5
34271 sed 's/^/| /' conftest.$ac_ext >&5
34272
34273 ac_cv_type_pid_t=no
34274 fi
34275
34276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34277 fi
34278 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34279 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34280 if test $ac_cv_type_pid_t = yes; then
34281 :
34282 else
34283
34284 cat >>confdefs.h <<_ACEOF
34285 #define pid_t int
34286 _ACEOF
34287
34288 fi
34289
34290 { echo "$as_me:$LINENO: checking for size_t" >&5
34291 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34292 if test "${ac_cv_type_size_t+set}" = set; then
34293 echo $ECHO_N "(cached) $ECHO_C" >&6
34294 else
34295 cat >conftest.$ac_ext <<_ACEOF
34296 /* confdefs.h. */
34297 _ACEOF
34298 cat confdefs.h >>conftest.$ac_ext
34299 cat >>conftest.$ac_ext <<_ACEOF
34300 /* end confdefs.h. */
34301 $ac_includes_default
34302 typedef size_t ac__type_new_;
34303 int
34304 main ()
34305 {
34306 if ((ac__type_new_ *) 0)
34307 return 0;
34308 if (sizeof (ac__type_new_))
34309 return 0;
34310 ;
34311 return 0;
34312 }
34313 _ACEOF
34314 rm -f conftest.$ac_objext
34315 if { (ac_try="$ac_compile"
34316 case "(($ac_try" in
34317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34318 *) ac_try_echo=$ac_try;;
34319 esac
34320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34321 (eval "$ac_compile") 2>conftest.er1
34322 ac_status=$?
34323 grep -v '^ *+' conftest.er1 >conftest.err
34324 rm -f conftest.er1
34325 cat conftest.err >&5
34326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34327 (exit $ac_status); } && {
34328 test -z "$ac_c_werror_flag" ||
34329 test ! -s conftest.err
34330 } && test -s conftest.$ac_objext; then
34331 ac_cv_type_size_t=yes
34332 else
34333 echo "$as_me: failed program was:" >&5
34334 sed 's/^/| /' conftest.$ac_ext >&5
34335
34336 ac_cv_type_size_t=no
34337 fi
34338
34339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34340 fi
34341 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34342 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34343 if test $ac_cv_type_size_t = yes; then
34344 :
34345 else
34346
34347 cat >>confdefs.h <<_ACEOF
34348 #define size_t unsigned int
34349 _ACEOF
34350
34351 fi
34352
34353
34354 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34355 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34356 if test "${ac_cv_type_ssize_t+set}" = set; then
34357 echo $ECHO_N "(cached) $ECHO_C" >&6
34358 else
34359 cat >conftest.$ac_ext <<_ACEOF
34360 /* confdefs.h. */
34361 _ACEOF
34362 cat confdefs.h >>conftest.$ac_ext
34363 cat >>conftest.$ac_ext <<_ACEOF
34364 /* end confdefs.h. */
34365 $ac_includes_default
34366 typedef ssize_t ac__type_new_;
34367 int
34368 main ()
34369 {
34370 if ((ac__type_new_ *) 0)
34371 return 0;
34372 if (sizeof (ac__type_new_))
34373 return 0;
34374 ;
34375 return 0;
34376 }
34377 _ACEOF
34378 rm -f conftest.$ac_objext
34379 if { (ac_try="$ac_compile"
34380 case "(($ac_try" in
34381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34382 *) ac_try_echo=$ac_try;;
34383 esac
34384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34385 (eval "$ac_compile") 2>conftest.er1
34386 ac_status=$?
34387 grep -v '^ *+' conftest.er1 >conftest.err
34388 rm -f conftest.er1
34389 cat conftest.err >&5
34390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34391 (exit $ac_status); } && {
34392 test -z "$ac_c_werror_flag" ||
34393 test ! -s conftest.err
34394 } && test -s conftest.$ac_objext; then
34395 ac_cv_type_ssize_t=yes
34396 else
34397 echo "$as_me: failed program was:" >&5
34398 sed 's/^/| /' conftest.$ac_ext >&5
34399
34400 ac_cv_type_ssize_t=no
34401 fi
34402
34403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34404 fi
34405 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34406 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34407 if test $ac_cv_type_ssize_t = yes; then
34408
34409 cat >>confdefs.h <<_ACEOF
34410 #define HAVE_SSIZE_T 1
34411 _ACEOF
34412
34413
34414 fi
34415
34416
34417 ac_ext=cpp
34418 ac_cpp='$CXXCPP $CPPFLAGS'
34419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34422 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34423 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34424 if test "${wx_cv_size_t_is_uint+set}" = set; then
34425 echo $ECHO_N "(cached) $ECHO_C" >&6
34426 else
34427
34428 cat >conftest.$ac_ext <<_ACEOF
34429 /* confdefs.h. */
34430 _ACEOF
34431 cat confdefs.h >>conftest.$ac_ext
34432 cat >>conftest.$ac_ext <<_ACEOF
34433 /* end confdefs.h. */
34434 #include <stddef.h>
34435 int
34436 main ()
34437 {
34438
34439 return 0; }
34440
34441 struct Foo { void foo(size_t); void foo(unsigned int); };
34442
34443 int bar() {
34444
34445 ;
34446 return 0;
34447 }
34448 _ACEOF
34449 rm -f conftest.$ac_objext
34450 if { (ac_try="$ac_compile"
34451 case "(($ac_try" in
34452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34453 *) ac_try_echo=$ac_try;;
34454 esac
34455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34456 (eval "$ac_compile") 2>conftest.er1
34457 ac_status=$?
34458 grep -v '^ *+' conftest.er1 >conftest.err
34459 rm -f conftest.er1
34460 cat conftest.err >&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } && {
34463 test -z "$ac_cxx_werror_flag" ||
34464 test ! -s conftest.err
34465 } && test -s conftest.$ac_objext; then
34466 wx_cv_size_t_is_uint=no
34467 else
34468 echo "$as_me: failed program was:" >&5
34469 sed 's/^/| /' conftest.$ac_ext >&5
34470
34471 wx_cv_size_t_is_uint=yes
34472
34473 fi
34474
34475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34476
34477
34478 fi
34479 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34480 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34481
34482 if test "$wx_cv_size_t_is_uint" = "yes"; then
34483 cat >>confdefs.h <<\_ACEOF
34484 #define wxSIZE_T_IS_UINT 1
34485 _ACEOF
34486
34487 else
34488 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34489 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34490 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34491 echo $ECHO_N "(cached) $ECHO_C" >&6
34492 else
34493 cat >conftest.$ac_ext <<_ACEOF
34494 /* confdefs.h. */
34495 _ACEOF
34496 cat confdefs.h >>conftest.$ac_ext
34497 cat >>conftest.$ac_ext <<_ACEOF
34498 /* end confdefs.h. */
34499 #include <stddef.h>
34500 int
34501 main ()
34502 {
34503
34504 return 0; }
34505
34506 struct Foo { void foo(size_t); void foo(unsigned long); };
34507
34508 int bar() {
34509
34510 ;
34511 return 0;
34512 }
34513 _ACEOF
34514 rm -f conftest.$ac_objext
34515 if { (ac_try="$ac_compile"
34516 case "(($ac_try" in
34517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34518 *) ac_try_echo=$ac_try;;
34519 esac
34520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34521 (eval "$ac_compile") 2>conftest.er1
34522 ac_status=$?
34523 grep -v '^ *+' conftest.er1 >conftest.err
34524 rm -f conftest.er1
34525 cat conftest.err >&5
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); } && {
34528 test -z "$ac_cxx_werror_flag" ||
34529 test ! -s conftest.err
34530 } && test -s conftest.$ac_objext; then
34531 wx_cv_size_t_is_ulong=no
34532 else
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34535
34536 wx_cv_size_t_is_ulong=yes
34537
34538 fi
34539
34540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34541
34542 fi
34543 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34544 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34545
34546 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34547 cat >>confdefs.h <<\_ACEOF
34548 #define wxSIZE_T_IS_ULONG 1
34549 _ACEOF
34550
34551 fi
34552 fi
34553
34554 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34555 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34556 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34557 echo $ECHO_N "(cached) $ECHO_C" >&6
34558 else
34559 cat >conftest.$ac_ext <<_ACEOF
34560 /* confdefs.h. */
34561 _ACEOF
34562 cat confdefs.h >>conftest.$ac_ext
34563 cat >>conftest.$ac_ext <<_ACEOF
34564 /* end confdefs.h. */
34565 #include <wchar.h>
34566 int
34567 main ()
34568 {
34569
34570 return 0; }
34571
34572 struct Foo { void foo(wchar_t);
34573 void foo(unsigned short);
34574 void foo(unsigned int);
34575 void foo(unsigned long); };
34576
34577 int bar() {
34578
34579 ;
34580 return 0;
34581 }
34582 _ACEOF
34583 rm -f conftest.$ac_objext
34584 if { (ac_try="$ac_compile"
34585 case "(($ac_try" in
34586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34587 *) ac_try_echo=$ac_try;;
34588 esac
34589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34590 (eval "$ac_compile") 2>conftest.er1
34591 ac_status=$?
34592 grep -v '^ *+' conftest.er1 >conftest.err
34593 rm -f conftest.er1
34594 cat conftest.err >&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } && {
34597 test -z "$ac_cxx_werror_flag" ||
34598 test ! -s conftest.err
34599 } && test -s conftest.$ac_objext; then
34600 wx_cv_wchar_t_is_separate_type=yes
34601 else
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34604
34605 wx_cv_wchar_t_is_separate_type=no
34606
34607 fi
34608
34609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34610
34611 fi
34612 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34613 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34614
34615 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34616 cat >>confdefs.h <<\_ACEOF
34617 #define wxWCHAR_T_IS_REAL_TYPE 1
34618 _ACEOF
34619
34620 else
34621 cat >>confdefs.h <<\_ACEOF
34622 #define wxWCHAR_T_IS_REAL_TYPE 0
34623 _ACEOF
34624
34625 fi
34626
34627 ac_ext=c
34628 ac_cpp='$CPP $CPPFLAGS'
34629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34632
34633
34634 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34635 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34636 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34637 echo $ECHO_N "(cached) $ECHO_C" >&6
34638 else
34639
34640 cat >conftest.$ac_ext <<_ACEOF
34641 /* confdefs.h. */
34642 _ACEOF
34643 cat confdefs.h >>conftest.$ac_ext
34644 cat >>conftest.$ac_ext <<_ACEOF
34645 /* end confdefs.h. */
34646 #include <pwd.h>
34647 int
34648 main ()
34649 {
34650
34651 char *p;
34652 struct passwd *pw;
34653 p = pw->pw_gecos;
34654
34655 ;
34656 return 0;
34657 }
34658 _ACEOF
34659 rm -f conftest.$ac_objext
34660 if { (ac_try="$ac_compile"
34661 case "(($ac_try" in
34662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34663 *) ac_try_echo=$ac_try;;
34664 esac
34665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34666 (eval "$ac_compile") 2>conftest.er1
34667 ac_status=$?
34668 grep -v '^ *+' conftest.er1 >conftest.err
34669 rm -f conftest.er1
34670 cat conftest.err >&5
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); } && {
34673 test -z "$ac_c_werror_flag" ||
34674 test ! -s conftest.err
34675 } && test -s conftest.$ac_objext; then
34676
34677 wx_cv_struct_pw_gecos=yes
34678
34679 else
34680 echo "$as_me: failed program was:" >&5
34681 sed 's/^/| /' conftest.$ac_ext >&5
34682
34683
34684 wx_cv_struct_pw_gecos=no
34685
34686
34687 fi
34688
34689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34690
34691
34692 fi
34693 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34694 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34695
34696 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34697 cat >>confdefs.h <<\_ACEOF
34698 #define HAVE_PW_GECOS 1
34699 _ACEOF
34700
34701 fi
34702
34703
34704 if test "$wxUSE_WCHAR_T" = "yes"; then
34705 cat >>confdefs.h <<\_ACEOF
34706 #define wxUSE_WCHAR_T 1
34707 _ACEOF
34708
34709
34710 WCSLEN_FOUND=0
34711 WCHAR_LINK=
34712
34713 for ac_func in wcslen
34714 do
34715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34716 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34718 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34719 echo $ECHO_N "(cached) $ECHO_C" >&6
34720 else
34721 cat >conftest.$ac_ext <<_ACEOF
34722 /* confdefs.h. */
34723 _ACEOF
34724 cat confdefs.h >>conftest.$ac_ext
34725 cat >>conftest.$ac_ext <<_ACEOF
34726 /* end confdefs.h. */
34727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34729 #define $ac_func innocuous_$ac_func
34730
34731 /* System header to define __stub macros and hopefully few prototypes,
34732 which can conflict with char $ac_func (); below.
34733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34734 <limits.h> exists even on freestanding compilers. */
34735
34736 #ifdef __STDC__
34737 # include <limits.h>
34738 #else
34739 # include <assert.h>
34740 #endif
34741
34742 #undef $ac_func
34743
34744 /* Override any GCC internal prototype to avoid an error.
34745 Use char because int might match the return type of a GCC
34746 builtin and then its argument prototype would still apply. */
34747 #ifdef __cplusplus
34748 extern "C"
34749 #endif
34750 char $ac_func ();
34751 /* The GNU C library defines this for functions which it implements
34752 to always fail with ENOSYS. Some functions are actually named
34753 something starting with __ and the normal name is an alias. */
34754 #if defined __stub_$ac_func || defined __stub___$ac_func
34755 choke me
34756 #endif
34757
34758 int
34759 main ()
34760 {
34761 return $ac_func ();
34762 ;
34763 return 0;
34764 }
34765 _ACEOF
34766 rm -f conftest.$ac_objext conftest$ac_exeext
34767 if { (ac_try="$ac_link"
34768 case "(($ac_try" in
34769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34770 *) ac_try_echo=$ac_try;;
34771 esac
34772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34773 (eval "$ac_link") 2>conftest.er1
34774 ac_status=$?
34775 grep -v '^ *+' conftest.er1 >conftest.err
34776 rm -f conftest.er1
34777 cat conftest.err >&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); } && {
34780 test -z "$ac_c_werror_flag" ||
34781 test ! -s conftest.err
34782 } && test -s conftest$ac_exeext &&
34783 $as_test_x conftest$ac_exeext; then
34784 eval "$as_ac_var=yes"
34785 else
34786 echo "$as_me: failed program was:" >&5
34787 sed 's/^/| /' conftest.$ac_ext >&5
34788
34789 eval "$as_ac_var=no"
34790 fi
34791
34792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34793 conftest$ac_exeext conftest.$ac_ext
34794 fi
34795 ac_res=`eval echo '${'$as_ac_var'}'`
34796 { echo "$as_me:$LINENO: result: $ac_res" >&5
34797 echo "${ECHO_T}$ac_res" >&6; }
34798 if test `eval echo '${'$as_ac_var'}'` = yes; then
34799 cat >>confdefs.h <<_ACEOF
34800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34801 _ACEOF
34802 WCSLEN_FOUND=1
34803 fi
34804 done
34805
34806
34807 if test "$WCSLEN_FOUND" = 0; then
34808 if test "$TOOLKIT" = "MSW"; then
34809 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34810 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34811 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34812 echo $ECHO_N "(cached) $ECHO_C" >&6
34813 else
34814 ac_check_lib_save_LIBS=$LIBS
34815 LIBS="-lmsvcrt $LIBS"
34816 cat >conftest.$ac_ext <<_ACEOF
34817 /* confdefs.h. */
34818 _ACEOF
34819 cat confdefs.h >>conftest.$ac_ext
34820 cat >>conftest.$ac_ext <<_ACEOF
34821 /* end confdefs.h. */
34822
34823 /* Override any GCC internal prototype to avoid an error.
34824 Use char because int might match the return type of a GCC
34825 builtin and then its argument prototype would still apply. */
34826 #ifdef __cplusplus
34827 extern "C"
34828 #endif
34829 char wcslen ();
34830 int
34831 main ()
34832 {
34833 return wcslen ();
34834 ;
34835 return 0;
34836 }
34837 _ACEOF
34838 rm -f conftest.$ac_objext conftest$ac_exeext
34839 if { (ac_try="$ac_link"
34840 case "(($ac_try" in
34841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34842 *) ac_try_echo=$ac_try;;
34843 esac
34844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34845 (eval "$ac_link") 2>conftest.er1
34846 ac_status=$?
34847 grep -v '^ *+' conftest.er1 >conftest.err
34848 rm -f conftest.er1
34849 cat conftest.err >&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } && {
34852 test -z "$ac_c_werror_flag" ||
34853 test ! -s conftest.err
34854 } && test -s conftest$ac_exeext &&
34855 $as_test_x conftest$ac_exeext; then
34856 ac_cv_lib_msvcrt_wcslen=yes
34857 else
34858 echo "$as_me: failed program was:" >&5
34859 sed 's/^/| /' conftest.$ac_ext >&5
34860
34861 ac_cv_lib_msvcrt_wcslen=no
34862 fi
34863
34864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34865 conftest$ac_exeext conftest.$ac_ext
34866 LIBS=$ac_check_lib_save_LIBS
34867 fi
34868 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34869 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34870 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34871 WCHAR_OK=1
34872 fi
34873
34874 else
34875 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34876 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34877 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34878 echo $ECHO_N "(cached) $ECHO_C" >&6
34879 else
34880 ac_check_lib_save_LIBS=$LIBS
34881 LIBS="-lw $LIBS"
34882 cat >conftest.$ac_ext <<_ACEOF
34883 /* confdefs.h. */
34884 _ACEOF
34885 cat confdefs.h >>conftest.$ac_ext
34886 cat >>conftest.$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34888
34889 /* Override any GCC internal prototype to avoid an error.
34890 Use char because int might match the return type of a GCC
34891 builtin and then its argument prototype would still apply. */
34892 #ifdef __cplusplus
34893 extern "C"
34894 #endif
34895 char wcslen ();
34896 int
34897 main ()
34898 {
34899 return wcslen ();
34900 ;
34901 return 0;
34902 }
34903 _ACEOF
34904 rm -f conftest.$ac_objext conftest$ac_exeext
34905 if { (ac_try="$ac_link"
34906 case "(($ac_try" in
34907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34908 *) ac_try_echo=$ac_try;;
34909 esac
34910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34911 (eval "$ac_link") 2>conftest.er1
34912 ac_status=$?
34913 grep -v '^ *+' conftest.er1 >conftest.err
34914 rm -f conftest.er1
34915 cat conftest.err >&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); } && {
34918 test -z "$ac_c_werror_flag" ||
34919 test ! -s conftest.err
34920 } && test -s conftest$ac_exeext &&
34921 $as_test_x conftest$ac_exeext; then
34922 ac_cv_lib_w_wcslen=yes
34923 else
34924 echo "$as_me: failed program was:" >&5
34925 sed 's/^/| /' conftest.$ac_ext >&5
34926
34927 ac_cv_lib_w_wcslen=no
34928 fi
34929
34930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34931 conftest$ac_exeext conftest.$ac_ext
34932 LIBS=$ac_check_lib_save_LIBS
34933 fi
34934 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34935 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34936 if test $ac_cv_lib_w_wcslen = yes; then
34937
34938 WCHAR_LINK=" -lw"
34939 WCSLEN_FOUND=1
34940
34941 fi
34942
34943 fi
34944 fi
34945
34946 if test "$WCSLEN_FOUND" = 1; then
34947 cat >>confdefs.h <<\_ACEOF
34948 #define HAVE_WCSLEN 1
34949 _ACEOF
34950
34951 fi
34952
34953
34954 for ac_func in wcsdup
34955 do
34956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34957 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34959 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34960 echo $ECHO_N "(cached) $ECHO_C" >&6
34961 else
34962 cat >conftest.$ac_ext <<_ACEOF
34963 /* confdefs.h. */
34964 _ACEOF
34965 cat confdefs.h >>conftest.$ac_ext
34966 cat >>conftest.$ac_ext <<_ACEOF
34967 /* end confdefs.h. */
34968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34970 #define $ac_func innocuous_$ac_func
34971
34972 /* System header to define __stub macros and hopefully few prototypes,
34973 which can conflict with char $ac_func (); below.
34974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34975 <limits.h> exists even on freestanding compilers. */
34976
34977 #ifdef __STDC__
34978 # include <limits.h>
34979 #else
34980 # include <assert.h>
34981 #endif
34982
34983 #undef $ac_func
34984
34985 /* Override any GCC internal prototype to avoid an error.
34986 Use char because int might match the return type of a GCC
34987 builtin and then its argument prototype would still apply. */
34988 #ifdef __cplusplus
34989 extern "C"
34990 #endif
34991 char $ac_func ();
34992 /* The GNU C library defines this for functions which it implements
34993 to always fail with ENOSYS. Some functions are actually named
34994 something starting with __ and the normal name is an alias. */
34995 #if defined __stub_$ac_func || defined __stub___$ac_func
34996 choke me
34997 #endif
34998
34999 int
35000 main ()
35001 {
35002 return $ac_func ();
35003 ;
35004 return 0;
35005 }
35006 _ACEOF
35007 rm -f conftest.$ac_objext conftest$ac_exeext
35008 if { (ac_try="$ac_link"
35009 case "(($ac_try" in
35010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35011 *) ac_try_echo=$ac_try;;
35012 esac
35013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35014 (eval "$ac_link") 2>conftest.er1
35015 ac_status=$?
35016 grep -v '^ *+' conftest.er1 >conftest.err
35017 rm -f conftest.er1
35018 cat conftest.err >&5
35019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35020 (exit $ac_status); } && {
35021 test -z "$ac_c_werror_flag" ||
35022 test ! -s conftest.err
35023 } && test -s conftest$ac_exeext &&
35024 $as_test_x conftest$ac_exeext; then
35025 eval "$as_ac_var=yes"
35026 else
35027 echo "$as_me: failed program was:" >&5
35028 sed 's/^/| /' conftest.$ac_ext >&5
35029
35030 eval "$as_ac_var=no"
35031 fi
35032
35033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35034 conftest$ac_exeext conftest.$ac_ext
35035 fi
35036 ac_res=`eval echo '${'$as_ac_var'}'`
35037 { echo "$as_me:$LINENO: result: $ac_res" >&5
35038 echo "${ECHO_T}$ac_res" >&6; }
35039 if test `eval echo '${'$as_ac_var'}'` = yes; then
35040 cat >>confdefs.h <<_ACEOF
35041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35042 _ACEOF
35043
35044 fi
35045 done
35046
35047
35048 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35049 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35050 fi
35051
35052 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35053 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35054 if test "${ac_cv_type_mbstate_t+set}" = set; then
35055 echo $ECHO_N "(cached) $ECHO_C" >&6
35056 else
35057 cat >conftest.$ac_ext <<_ACEOF
35058 /* confdefs.h. */
35059 _ACEOF
35060 cat confdefs.h >>conftest.$ac_ext
35061 cat >>conftest.$ac_ext <<_ACEOF
35062 /* end confdefs.h. */
35063 #include <wchar.h>
35064
35065 typedef mbstate_t ac__type_new_;
35066 int
35067 main ()
35068 {
35069 if ((ac__type_new_ *) 0)
35070 return 0;
35071 if (sizeof (ac__type_new_))
35072 return 0;
35073 ;
35074 return 0;
35075 }
35076 _ACEOF
35077 rm -f conftest.$ac_objext
35078 if { (ac_try="$ac_compile"
35079 case "(($ac_try" in
35080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35081 *) ac_try_echo=$ac_try;;
35082 esac
35083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35084 (eval "$ac_compile") 2>conftest.er1
35085 ac_status=$?
35086 grep -v '^ *+' conftest.er1 >conftest.err
35087 rm -f conftest.er1
35088 cat conftest.err >&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } && {
35091 test -z "$ac_c_werror_flag" ||
35092 test ! -s conftest.err
35093 } && test -s conftest.$ac_objext; then
35094 ac_cv_type_mbstate_t=yes
35095 else
35096 echo "$as_me: failed program was:" >&5
35097 sed 's/^/| /' conftest.$ac_ext >&5
35098
35099 ac_cv_type_mbstate_t=no
35100 fi
35101
35102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35103 fi
35104 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35105 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35106 if test $ac_cv_type_mbstate_t = yes; then
35107
35108 cat >>confdefs.h <<_ACEOF
35109 #define HAVE_MBSTATE_T 1
35110 _ACEOF
35111
35112
35113 for ac_func in wcsrtombs
35114 do
35115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35119 echo $ECHO_N "(cached) $ECHO_C" >&6
35120 else
35121 cat >conftest.$ac_ext <<_ACEOF
35122 /* confdefs.h. */
35123 _ACEOF
35124 cat confdefs.h >>conftest.$ac_ext
35125 cat >>conftest.$ac_ext <<_ACEOF
35126 /* end confdefs.h. */
35127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35129 #define $ac_func innocuous_$ac_func
35130
35131 /* System header to define __stub macros and hopefully few prototypes,
35132 which can conflict with char $ac_func (); below.
35133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35134 <limits.h> exists even on freestanding compilers. */
35135
35136 #ifdef __STDC__
35137 # include <limits.h>
35138 #else
35139 # include <assert.h>
35140 #endif
35141
35142 #undef $ac_func
35143
35144 /* Override any GCC internal prototype to avoid an error.
35145 Use char because int might match the return type of a GCC
35146 builtin and then its argument prototype would still apply. */
35147 #ifdef __cplusplus
35148 extern "C"
35149 #endif
35150 char $ac_func ();
35151 /* The GNU C library defines this for functions which it implements
35152 to always fail with ENOSYS. Some functions are actually named
35153 something starting with __ and the normal name is an alias. */
35154 #if defined __stub_$ac_func || defined __stub___$ac_func
35155 choke me
35156 #endif
35157
35158 int
35159 main ()
35160 {
35161 return $ac_func ();
35162 ;
35163 return 0;
35164 }
35165 _ACEOF
35166 rm -f conftest.$ac_objext conftest$ac_exeext
35167 if { (ac_try="$ac_link"
35168 case "(($ac_try" in
35169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35170 *) ac_try_echo=$ac_try;;
35171 esac
35172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35173 (eval "$ac_link") 2>conftest.er1
35174 ac_status=$?
35175 grep -v '^ *+' conftest.er1 >conftest.err
35176 rm -f conftest.er1
35177 cat conftest.err >&5
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); } && {
35180 test -z "$ac_c_werror_flag" ||
35181 test ! -s conftest.err
35182 } && test -s conftest$ac_exeext &&
35183 $as_test_x conftest$ac_exeext; then
35184 eval "$as_ac_var=yes"
35185 else
35186 echo "$as_me: failed program was:" >&5
35187 sed 's/^/| /' conftest.$ac_ext >&5
35188
35189 eval "$as_ac_var=no"
35190 fi
35191
35192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35193 conftest$ac_exeext conftest.$ac_ext
35194 fi
35195 ac_res=`eval echo '${'$as_ac_var'}'`
35196 { echo "$as_me:$LINENO: result: $ac_res" >&5
35197 echo "${ECHO_T}$ac_res" >&6; }
35198 if test `eval echo '${'$as_ac_var'}'` = yes; then
35199 cat >>confdefs.h <<_ACEOF
35200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35201 _ACEOF
35202
35203 fi
35204 done
35205
35206 fi
35207
35208 else
35209 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35210 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35211 fi
35212
35213
35214
35215
35216 for ac_func in snprintf vsnprintf vsscanf
35217 do
35218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35222 echo $ECHO_N "(cached) $ECHO_C" >&6
35223 else
35224 cat >conftest.$ac_ext <<_ACEOF
35225 /* confdefs.h. */
35226 _ACEOF
35227 cat confdefs.h >>conftest.$ac_ext
35228 cat >>conftest.$ac_ext <<_ACEOF
35229 /* end confdefs.h. */
35230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35232 #define $ac_func innocuous_$ac_func
35233
35234 /* System header to define __stub macros and hopefully few prototypes,
35235 which can conflict with char $ac_func (); below.
35236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35237 <limits.h> exists even on freestanding compilers. */
35238
35239 #ifdef __STDC__
35240 # include <limits.h>
35241 #else
35242 # include <assert.h>
35243 #endif
35244
35245 #undef $ac_func
35246
35247 /* Override any GCC internal prototype to avoid an error.
35248 Use char because int might match the return type of a GCC
35249 builtin and then its argument prototype would still apply. */
35250 #ifdef __cplusplus
35251 extern "C"
35252 #endif
35253 char $ac_func ();
35254 /* The GNU C library defines this for functions which it implements
35255 to always fail with ENOSYS. Some functions are actually named
35256 something starting with __ and the normal name is an alias. */
35257 #if defined __stub_$ac_func || defined __stub___$ac_func
35258 choke me
35259 #endif
35260
35261 int
35262 main ()
35263 {
35264 return $ac_func ();
35265 ;
35266 return 0;
35267 }
35268 _ACEOF
35269 rm -f conftest.$ac_objext conftest$ac_exeext
35270 if { (ac_try="$ac_link"
35271 case "(($ac_try" in
35272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35273 *) ac_try_echo=$ac_try;;
35274 esac
35275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35276 (eval "$ac_link") 2>conftest.er1
35277 ac_status=$?
35278 grep -v '^ *+' conftest.er1 >conftest.err
35279 rm -f conftest.er1
35280 cat conftest.err >&5
35281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282 (exit $ac_status); } && {
35283 test -z "$ac_c_werror_flag" ||
35284 test ! -s conftest.err
35285 } && test -s conftest$ac_exeext &&
35286 $as_test_x conftest$ac_exeext; then
35287 eval "$as_ac_var=yes"
35288 else
35289 echo "$as_me: failed program was:" >&5
35290 sed 's/^/| /' conftest.$ac_ext >&5
35291
35292 eval "$as_ac_var=no"
35293 fi
35294
35295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35296 conftest$ac_exeext conftest.$ac_ext
35297 fi
35298 ac_res=`eval echo '${'$as_ac_var'}'`
35299 { echo "$as_me:$LINENO: result: $ac_res" >&5
35300 echo "${ECHO_T}$ac_res" >&6; }
35301 if test `eval echo '${'$as_ac_var'}'` = yes; then
35302 cat >>confdefs.h <<_ACEOF
35303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35304 _ACEOF
35305
35306 fi
35307 done
35308
35309
35310 ac_ext=cpp
35311 ac_cpp='$CXXCPP $CPPFLAGS'
35312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35315
35316 if test "$ac_cv_func_vsnprintf" = "yes"; then
35317 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35318 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35319 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35320 echo $ECHO_N "(cached) $ECHO_C" >&6
35321 else
35322
35323 cat >conftest.$ac_ext <<_ACEOF
35324 /* confdefs.h. */
35325 _ACEOF
35326 cat confdefs.h >>conftest.$ac_ext
35327 cat >>conftest.$ac_ext <<_ACEOF
35328 /* end confdefs.h. */
35329
35330 #include <stdio.h>
35331 #include <stdarg.h>
35332 #ifdef __MSL__
35333 #if __MSL__ >= 0x6000
35334 namespace std {}
35335 using namespace std;
35336 #endif
35337 #endif
35338
35339 int
35340 main ()
35341 {
35342
35343 char *buf;
35344 va_list ap;
35345 vsnprintf(buf, 10u, "%s", ap);
35346
35347 ;
35348 return 0;
35349 }
35350 _ACEOF
35351 rm -f conftest.$ac_objext
35352 if { (ac_try="$ac_compile"
35353 case "(($ac_try" in
35354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35355 *) ac_try_echo=$ac_try;;
35356 esac
35357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35358 (eval "$ac_compile") 2>conftest.er1
35359 ac_status=$?
35360 grep -v '^ *+' conftest.er1 >conftest.err
35361 rm -f conftest.er1
35362 cat conftest.err >&5
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); } && {
35365 test -z "$ac_cxx_werror_flag" ||
35366 test ! -s conftest.err
35367 } && test -s conftest.$ac_objext; then
35368 wx_cv_func_vsnprintf_decl=yes
35369 else
35370 echo "$as_me: failed program was:" >&5
35371 sed 's/^/| /' conftest.$ac_ext >&5
35372
35373 wx_cv_func_vsnprintf_decl=no
35374
35375 fi
35376
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378
35379
35380 fi
35381 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35382 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35383
35384 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35385 cat >>confdefs.h <<\_ACEOF
35386 #define HAVE_VSNPRINTF_DECL 1
35387 _ACEOF
35388
35389
35390 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35391 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35392 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35393 echo $ECHO_N "(cached) $ECHO_C" >&6
35394 else
35395
35396 cat >conftest.$ac_ext <<_ACEOF
35397 /* confdefs.h. */
35398 _ACEOF
35399 cat confdefs.h >>conftest.$ac_ext
35400 cat >>conftest.$ac_ext <<_ACEOF
35401 /* end confdefs.h. */
35402
35403 #include <stdio.h>
35404 #include <stdarg.h>
35405 #ifdef __MSL__
35406 #if __MSL__ >= 0x6000
35407 namespace std {}
35408 using namespace std;
35409 #endif
35410 #endif
35411
35412 int
35413 main ()
35414 {
35415
35416 char *buf;
35417 va_list ap;
35418 const char *fmt = "%s";
35419 vsnprintf(buf, 10u, fmt, ap);
35420
35421 ;
35422 return 0;
35423 }
35424 _ACEOF
35425 rm -f conftest.$ac_objext
35426 if { (ac_try="$ac_compile"
35427 case "(($ac_try" in
35428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35429 *) ac_try_echo=$ac_try;;
35430 esac
35431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35432 (eval "$ac_compile") 2>conftest.er1
35433 ac_status=$?
35434 grep -v '^ *+' conftest.er1 >conftest.err
35435 rm -f conftest.er1
35436 cat conftest.err >&5
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); } && {
35439 test -z "$ac_cxx_werror_flag" ||
35440 test ! -s conftest.err
35441 } && test -s conftest.$ac_objext; then
35442 wx_cv_func_broken_vsnprintf_decl=no
35443 else
35444 echo "$as_me: failed program was:" >&5
35445 sed 's/^/| /' conftest.$ac_ext >&5
35446
35447 wx_cv_func_broken_vsnprintf_decl=yes
35448
35449 fi
35450
35451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35452
35453
35454 fi
35455 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35456 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35457
35458 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35459 cat >>confdefs.h <<\_ACEOF
35460 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35461 _ACEOF
35462
35463 fi
35464 fi
35465 fi
35466
35467 if test "$ac_cv_func_snprintf" = "yes"; then
35468 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35469 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35470 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35471 echo $ECHO_N "(cached) $ECHO_C" >&6
35472 else
35473
35474 cat >conftest.$ac_ext <<_ACEOF
35475 /* confdefs.h. */
35476 _ACEOF
35477 cat confdefs.h >>conftest.$ac_ext
35478 cat >>conftest.$ac_ext <<_ACEOF
35479 /* end confdefs.h. */
35480
35481 #include <stdio.h>
35482 #include <stdarg.h>
35483 #ifdef __MSL__
35484 #if __MSL__ >= 0x6000
35485 namespace std {}
35486 using namespace std;
35487 #endif
35488 #endif
35489
35490 int
35491 main ()
35492 {
35493
35494 char *buf;
35495 snprintf(buf, 10u, "%s", "wx");
35496
35497 ;
35498 return 0;
35499 }
35500 _ACEOF
35501 rm -f conftest.$ac_objext
35502 if { (ac_try="$ac_compile"
35503 case "(($ac_try" in
35504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35505 *) ac_try_echo=$ac_try;;
35506 esac
35507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35508 (eval "$ac_compile") 2>conftest.er1
35509 ac_status=$?
35510 grep -v '^ *+' conftest.er1 >conftest.err
35511 rm -f conftest.er1
35512 cat conftest.err >&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } && {
35515 test -z "$ac_cxx_werror_flag" ||
35516 test ! -s conftest.err
35517 } && test -s conftest.$ac_objext; then
35518 wx_cv_func_snprintf_decl=yes
35519 else
35520 echo "$as_me: failed program was:" >&5
35521 sed 's/^/| /' conftest.$ac_ext >&5
35522
35523 wx_cv_func_snprintf_decl=no
35524
35525 fi
35526
35527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35528
35529
35530 fi
35531 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35532 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35533
35534 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35535 cat >>confdefs.h <<\_ACEOF
35536 #define HAVE_SNPRINTF_DECL 1
35537 _ACEOF
35538
35539 fi
35540
35541 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35542
35543 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35544 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35545 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35546 echo $ECHO_N "(cached) $ECHO_C" >&6
35547 else
35548
35549 if test "$cross_compiling" = yes; then
35550
35551 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35552 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35553 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35554 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35555 wx_cv_func_snprintf_pos_params=no
35556
35557
35558 else
35559 cat >conftest.$ac_ext <<_ACEOF
35560 /* confdefs.h. */
35561 _ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35565
35566 #include <stdio.h>
35567
35568 int main (void)
35569 {
35570 char buffer[128];
35571 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35572 if (strcmp ("2 3 1", buffer) == 0)
35573 exit (0);
35574 exit (1);
35575 }
35576
35577 _ACEOF
35578 rm -f conftest$ac_exeext
35579 if { (ac_try="$ac_link"
35580 case "(($ac_try" in
35581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35582 *) ac_try_echo=$ac_try;;
35583 esac
35584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35585 (eval "$ac_link") 2>&5
35586 ac_status=$?
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35589 { (case "(($ac_try" in
35590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35591 *) ac_try_echo=$ac_try;;
35592 esac
35593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35594 (eval "$ac_try") 2>&5
35595 ac_status=$?
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; }; then
35598 wx_cv_func_snprintf_pos_params=no
35599 else
35600 echo "$as_me: program exited with status $ac_status" >&5
35601 echo "$as_me: failed program was:" >&5
35602 sed 's/^/| /' conftest.$ac_ext >&5
35603
35604 ( exit $ac_status )
35605 wx_cv_func_snprintf_pos_params=yes
35606 fi
35607 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35608 fi
35609
35610
35611
35612
35613 fi
35614 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35615 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35616
35617 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35618 cat >>confdefs.h <<\_ACEOF
35619 #define HAVE_UNIX98_PRINTF 1
35620 _ACEOF
35621
35622 fi
35623 fi
35624 fi
35625
35626 if test "$ac_cv_func_vsscanf" = "yes"; then
35627 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35628 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35629 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35631 else
35632
35633 cat >conftest.$ac_ext <<_ACEOF
35634 /* confdefs.h. */
35635 _ACEOF
35636 cat confdefs.h >>conftest.$ac_ext
35637 cat >>conftest.$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639
35640 #include <stdio.h>
35641 #include <stdarg.h>
35642 #ifdef __MSL__
35643 #if __MSL__ >= 0x6000
35644 namespace std {}
35645 using namespace std;
35646 #endif
35647 #endif
35648
35649 int
35650 main ()
35651 {
35652
35653 char *buf;
35654 va_list args;
35655 vsscanf(buf, "%s", args);
35656
35657 ;
35658 return 0;
35659 }
35660 _ACEOF
35661 rm -f conftest.$ac_objext
35662 if { (ac_try="$ac_compile"
35663 case "(($ac_try" in
35664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35665 *) ac_try_echo=$ac_try;;
35666 esac
35667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35668 (eval "$ac_compile") 2>conftest.er1
35669 ac_status=$?
35670 grep -v '^ *+' conftest.er1 >conftest.err
35671 rm -f conftest.er1
35672 cat conftest.err >&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); } && {
35675 test -z "$ac_cxx_werror_flag" ||
35676 test ! -s conftest.err
35677 } && test -s conftest.$ac_objext; then
35678 wx_cv_func_vsscanf_decl=yes
35679 else
35680 echo "$as_me: failed program was:" >&5
35681 sed 's/^/| /' conftest.$ac_ext >&5
35682
35683 wx_cv_func_vsscanf_decl=no
35684
35685 fi
35686
35687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35688
35689
35690 fi
35691 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35692 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35693
35694 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35695 cat >>confdefs.h <<\_ACEOF
35696 #define HAVE_VSSCANF_DECL 1
35697 _ACEOF
35698
35699 fi
35700 fi
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35706
35707
35708 if test "$wxUSE_UNICODE" = yes; then
35709
35710 wchar_headers="#include <stdio.h>
35711 #include <wchar.h>"
35712 case "${host}" in
35713 *-*-solaris2* )
35714
35715 for ac_header in widec.h
35716 do
35717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35720 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35721 echo $ECHO_N "(cached) $ECHO_C" >&6
35722 else
35723 cat >conftest.$ac_ext <<_ACEOF
35724 /* confdefs.h. */
35725 _ACEOF
35726 cat confdefs.h >>conftest.$ac_ext
35727 cat >>conftest.$ac_ext <<_ACEOF
35728 /* end confdefs.h. */
35729 $ac_includes_default
35730
35731 #include <$ac_header>
35732 _ACEOF
35733 rm -f conftest.$ac_objext
35734 if { (ac_try="$ac_compile"
35735 case "(($ac_try" in
35736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35737 *) ac_try_echo=$ac_try;;
35738 esac
35739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35740 (eval "$ac_compile") 2>conftest.er1
35741 ac_status=$?
35742 grep -v '^ *+' conftest.er1 >conftest.err
35743 rm -f conftest.er1
35744 cat conftest.err >&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); } && {
35747 test -z "$ac_c_werror_flag" ||
35748 test ! -s conftest.err
35749 } && test -s conftest.$ac_objext; then
35750 eval "$as_ac_Header=yes"
35751 else
35752 echo "$as_me: failed program was:" >&5
35753 sed 's/^/| /' conftest.$ac_ext >&5
35754
35755 eval "$as_ac_Header=no"
35756 fi
35757
35758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35759 fi
35760 ac_res=`eval echo '${'$as_ac_Header'}'`
35761 { echo "$as_me:$LINENO: result: $ac_res" >&5
35762 echo "${ECHO_T}$ac_res" >&6; }
35763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35764 cat >>confdefs.h <<_ACEOF
35765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35766 _ACEOF
35767
35768 fi
35769
35770 done
35771
35772 if test "$ac_cv_header_widec_h" = "yes"; then
35773 wchar_headers="$wchar_headers
35774 #include <widec.h>"
35775 fi
35776 esac
35777
35778
35779 for wx_func in putws fputws wprintf vswprintf vswscanf
35780 do
35781 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35782 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35783 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35784 echo $ECHO_N "(cached) $ECHO_C" >&6
35785 else
35786
35787 cat >conftest.$ac_ext <<_ACEOF
35788
35789 /* confdefs.h. */
35790 _ACEOF
35791 cat confdefs.h >>conftest.$ac_ext
35792 cat >>conftest.$ac_ext <<_ACEOF
35793 /* end confdefs.h. */
35794
35795 $wchar_headers
35796 $ac_includes_default
35797
35798 int
35799 main ()
35800 {
35801
35802 #ifndef $wx_func
35803 &$wx_func;
35804 #endif
35805
35806
35807 ;
35808 return 0;
35809 }
35810
35811 _ACEOF
35812 rm -f conftest.$ac_objext conftest$ac_exeext
35813 if { (ac_try="$ac_link"
35814 case "(($ac_try" in
35815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35816 *) ac_try_echo=$ac_try;;
35817 esac
35818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35819 (eval "$ac_link") 2>conftest.er1
35820 ac_status=$?
35821 grep -v '^ *+' conftest.er1 >conftest.err
35822 rm -f conftest.er1
35823 cat conftest.err >&5
35824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35825 (exit $ac_status); } && {
35826 test -z "$ac_c_werror_flag" ||
35827 test ! -s conftest.err
35828 } && test -s conftest$ac_exeext &&
35829 $as_test_x conftest$ac_exeext; then
35830 eval wx_cv_func_$wx_func=yes
35831 else
35832 echo "$as_me: failed program was:" >&5
35833 sed 's/^/| /' conftest.$ac_ext >&5
35834
35835 eval wx_cv_func_$wx_func=no
35836 fi
35837
35838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35839 conftest$ac_exeext conftest.$ac_ext
35840
35841 fi
35842 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35843 { echo "$as_me:$LINENO: result: $ac_res" >&5
35844 echo "${ECHO_T}$ac_res" >&6; }
35845
35846 if eval test \$wx_cv_func_$wx_func = yes
35847 then
35848 cat >>confdefs.h <<_ACEOF
35849 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35850 _ACEOF
35851
35852
35853 else
35854 :
35855
35856 fi
35857 done
35858
35859
35860 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35861 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35862 cat >conftest.$ac_ext <<_ACEOF
35863 /* confdefs.h. */
35864 _ACEOF
35865 cat confdefs.h >>conftest.$ac_ext
35866 cat >>conftest.$ac_ext <<_ACEOF
35867 /* end confdefs.h. */
35868 #include <wchar.h>
35869 int
35870 main ()
35871 {
35872 &_vsnwprintf;
35873 ;
35874 return 0;
35875 }
35876 _ACEOF
35877 rm -f conftest.$ac_objext
35878 if { (ac_try="$ac_compile"
35879 case "(($ac_try" in
35880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35881 *) ac_try_echo=$ac_try;;
35882 esac
35883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35884 (eval "$ac_compile") 2>conftest.er1
35885 ac_status=$?
35886 grep -v '^ *+' conftest.er1 >conftest.err
35887 rm -f conftest.er1
35888 cat conftest.err >&5
35889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35890 (exit $ac_status); } && {
35891 test -z "$ac_c_werror_flag" ||
35892 test ! -s conftest.err
35893 } && test -s conftest.$ac_objext; then
35894 { echo "$as_me:$LINENO: result: yes" >&5
35895 echo "${ECHO_T}yes" >&6; }
35896 cat >>confdefs.h <<\_ACEOF
35897 #define HAVE__VSNWPRINTF 1
35898 _ACEOF
35899
35900 else
35901 echo "$as_me: failed program was:" >&5
35902 sed 's/^/| /' conftest.$ac_ext >&5
35903
35904 { echo "$as_me:$LINENO: result: no" >&5
35905 echo "${ECHO_T}no" >&6; }
35906 fi
35907
35908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35909 fi
35910
35911 if test "$wxUSE_FILE" = "yes"; then
35912
35913 for wx_func in fsync
35914 do
35915 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35916 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35917 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35919 else
35920
35921 cat >conftest.$ac_ext <<_ACEOF
35922
35923 /* confdefs.h. */
35924 _ACEOF
35925 cat confdefs.h >>conftest.$ac_ext
35926 cat >>conftest.$ac_ext <<_ACEOF
35927 /* end confdefs.h. */
35928
35929
35930 $ac_includes_default
35931
35932 int
35933 main ()
35934 {
35935
35936 #ifndef $wx_func
35937 &$wx_func;
35938 #endif
35939
35940
35941 ;
35942 return 0;
35943 }
35944
35945 _ACEOF
35946 rm -f conftest.$ac_objext conftest$ac_exeext
35947 if { (ac_try="$ac_link"
35948 case "(($ac_try" in
35949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35950 *) ac_try_echo=$ac_try;;
35951 esac
35952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35953 (eval "$ac_link") 2>conftest.er1
35954 ac_status=$?
35955 grep -v '^ *+' conftest.er1 >conftest.err
35956 rm -f conftest.er1
35957 cat conftest.err >&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } && {
35960 test -z "$ac_c_werror_flag" ||
35961 test ! -s conftest.err
35962 } && test -s conftest$ac_exeext &&
35963 $as_test_x conftest$ac_exeext; then
35964 eval wx_cv_func_$wx_func=yes
35965 else
35966 echo "$as_me: failed program was:" >&5
35967 sed 's/^/| /' conftest.$ac_ext >&5
35968
35969 eval wx_cv_func_$wx_func=no
35970 fi
35971
35972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35973 conftest$ac_exeext conftest.$ac_ext
35974
35975 fi
35976 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35977 { echo "$as_me:$LINENO: result: $ac_res" >&5
35978 echo "${ECHO_T}$ac_res" >&6; }
35979
35980 if eval test \$wx_cv_func_$wx_func = yes
35981 then
35982 cat >>confdefs.h <<_ACEOF
35983 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35984 _ACEOF
35985
35986
35987 else
35988 :
35989
35990 fi
35991 done
35992
35993 fi
35994
35995 ac_ext=cpp
35996 ac_cpp='$CXXCPP $CPPFLAGS'
35997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36000
36001
36002 for wx_func in round
36003 do
36004 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36005 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36006 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36007 echo $ECHO_N "(cached) $ECHO_C" >&6
36008 else
36009
36010 cat >conftest.$ac_ext <<_ACEOF
36011
36012 /* confdefs.h. */
36013 _ACEOF
36014 cat confdefs.h >>conftest.$ac_ext
36015 cat >>conftest.$ac_ext <<_ACEOF
36016 /* end confdefs.h. */
36017
36018 #include <math.h>
36019 $ac_includes_default
36020
36021 int
36022 main ()
36023 {
36024
36025 #ifndef $wx_func
36026 &$wx_func;
36027 #endif
36028
36029
36030 ;
36031 return 0;
36032 }
36033
36034 _ACEOF
36035 rm -f conftest.$ac_objext conftest$ac_exeext
36036 if { (ac_try="$ac_link"
36037 case "(($ac_try" in
36038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36039 *) ac_try_echo=$ac_try;;
36040 esac
36041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36042 (eval "$ac_link") 2>conftest.er1
36043 ac_status=$?
36044 grep -v '^ *+' conftest.er1 >conftest.err
36045 rm -f conftest.er1
36046 cat conftest.err >&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); } && {
36049 test -z "$ac_cxx_werror_flag" ||
36050 test ! -s conftest.err
36051 } && test -s conftest$ac_exeext &&
36052 $as_test_x conftest$ac_exeext; then
36053 eval wx_cv_func_$wx_func=yes
36054 else
36055 echo "$as_me: failed program was:" >&5
36056 sed 's/^/| /' conftest.$ac_ext >&5
36057
36058 eval wx_cv_func_$wx_func=no
36059 fi
36060
36061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36062 conftest$ac_exeext conftest.$ac_ext
36063
36064 fi
36065 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36066 { echo "$as_me:$LINENO: result: $ac_res" >&5
36067 echo "${ECHO_T}$ac_res" >&6; }
36068
36069 if eval test \$wx_cv_func_$wx_func = yes
36070 then
36071 cat >>confdefs.h <<_ACEOF
36072 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36073 _ACEOF
36074
36075
36076 else
36077 :
36078
36079 fi
36080 done
36081
36082 ac_ext=c
36083 ac_cpp='$CPP $CPPFLAGS'
36084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36087
36088
36089 if test "$TOOLKIT" != "MSW"; then
36090
36091 if test "$wxUSE_LIBICONV" != "no" ; then
36092
36093
36094
36095 # Check whether --with-libiconv-prefix was given.
36096 if test "${with_libiconv_prefix+set}" = set; then
36097 withval=$with_libiconv_prefix;
36098 for dir in `echo "$withval" | tr : ' '`; do
36099 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36100 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36101 done
36102
36103 fi
36104
36105
36106 { echo "$as_me:$LINENO: checking for iconv" >&5
36107 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36108 if test "${am_cv_func_iconv+set}" = set; then
36109 echo $ECHO_N "(cached) $ECHO_C" >&6
36110 else
36111
36112 am_cv_func_iconv="no, consider installing GNU libiconv"
36113 am_cv_lib_iconv=no
36114 cat >conftest.$ac_ext <<_ACEOF
36115 /* confdefs.h. */
36116 _ACEOF
36117 cat confdefs.h >>conftest.$ac_ext
36118 cat >>conftest.$ac_ext <<_ACEOF
36119 /* end confdefs.h. */
36120 #include <stdlib.h>
36121 #include <iconv.h>
36122 int
36123 main ()
36124 {
36125 iconv_t cd = iconv_open("","");
36126 iconv(cd,NULL,NULL,NULL,NULL);
36127 iconv_close(cd);
36128 ;
36129 return 0;
36130 }
36131 _ACEOF
36132 rm -f conftest.$ac_objext conftest$ac_exeext
36133 if { (ac_try="$ac_link"
36134 case "(($ac_try" in
36135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36136 *) ac_try_echo=$ac_try;;
36137 esac
36138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36139 (eval "$ac_link") 2>conftest.er1
36140 ac_status=$?
36141 grep -v '^ *+' conftest.er1 >conftest.err
36142 rm -f conftest.er1
36143 cat conftest.err >&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); } && {
36146 test -z "$ac_c_werror_flag" ||
36147 test ! -s conftest.err
36148 } && test -s conftest$ac_exeext &&
36149 $as_test_x conftest$ac_exeext; then
36150 am_cv_func_iconv=yes
36151 else
36152 echo "$as_me: failed program was:" >&5
36153 sed 's/^/| /' conftest.$ac_ext >&5
36154
36155
36156 fi
36157
36158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36159 conftest$ac_exeext conftest.$ac_ext
36160 if test "$am_cv_func_iconv" != yes; then
36161 am_save_LIBS="$LIBS"
36162 LIBS="$LIBS -liconv"
36163 cat >conftest.$ac_ext <<_ACEOF
36164 /* confdefs.h. */
36165 _ACEOF
36166 cat confdefs.h >>conftest.$ac_ext
36167 cat >>conftest.$ac_ext <<_ACEOF
36168 /* end confdefs.h. */
36169 #include <stdlib.h>
36170 #include <iconv.h>
36171 int
36172 main ()
36173 {
36174 iconv_t cd = iconv_open("","");
36175 iconv(cd,NULL,NULL,NULL,NULL);
36176 iconv_close(cd);
36177 ;
36178 return 0;
36179 }
36180 _ACEOF
36181 rm -f conftest.$ac_objext conftest$ac_exeext
36182 if { (ac_try="$ac_link"
36183 case "(($ac_try" in
36184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36185 *) ac_try_echo=$ac_try;;
36186 esac
36187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36188 (eval "$ac_link") 2>conftest.er1
36189 ac_status=$?
36190 grep -v '^ *+' conftest.er1 >conftest.err
36191 rm -f conftest.er1
36192 cat conftest.err >&5
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); } && {
36195 test -z "$ac_c_werror_flag" ||
36196 test ! -s conftest.err
36197 } && test -s conftest$ac_exeext &&
36198 $as_test_x conftest$ac_exeext; then
36199 am_cv_lib_iconv=yes
36200 am_cv_func_iconv=yes
36201 else
36202 echo "$as_me: failed program was:" >&5
36203 sed 's/^/| /' conftest.$ac_ext >&5
36204
36205
36206 fi
36207
36208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36209 conftest$ac_exeext conftest.$ac_ext
36210 LIBS="$am_save_LIBS"
36211 fi
36212
36213 fi
36214 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36215 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36216 if test "$am_cv_func_iconv" = yes; then
36217
36218 cat >>confdefs.h <<\_ACEOF
36219 #define HAVE_ICONV 1
36220 _ACEOF
36221
36222 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36223 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36224 if test "${wx_cv_func_iconv_const+set}" = set; then
36225 echo $ECHO_N "(cached) $ECHO_C" >&6
36226 else
36227 cat >conftest.$ac_ext <<_ACEOF
36228 /* confdefs.h. */
36229 _ACEOF
36230 cat confdefs.h >>conftest.$ac_ext
36231 cat >>conftest.$ac_ext <<_ACEOF
36232 /* end confdefs.h. */
36233
36234 #include <stdlib.h>
36235 #include <iconv.h>
36236 extern
36237 #ifdef __cplusplus
36238 "C"
36239 #endif
36240 #if defined(__STDC__) || defined(__cplusplus)
36241 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36242 #else
36243 size_t iconv();
36244 #endif
36245
36246 int
36247 main ()
36248 {
36249
36250 ;
36251 return 0;
36252 }
36253 _ACEOF
36254 rm -f conftest.$ac_objext
36255 if { (ac_try="$ac_compile"
36256 case "(($ac_try" in
36257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36258 *) ac_try_echo=$ac_try;;
36259 esac
36260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36261 (eval "$ac_compile") 2>conftest.er1
36262 ac_status=$?
36263 grep -v '^ *+' conftest.er1 >conftest.err
36264 rm -f conftest.er1
36265 cat conftest.err >&5
36266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36267 (exit $ac_status); } && {
36268 test -z "$ac_c_werror_flag" ||
36269 test ! -s conftest.err
36270 } && test -s conftest.$ac_objext; then
36271 wx_cv_func_iconv_const="no"
36272 else
36273 echo "$as_me: failed program was:" >&5
36274 sed 's/^/| /' conftest.$ac_ext >&5
36275
36276 wx_cv_func_iconv_const="yes"
36277
36278 fi
36279
36280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36281
36282 fi
36283 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36284 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36285
36286 iconv_const=
36287 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36288 iconv_const="const"
36289 fi
36290
36291
36292 cat >>confdefs.h <<_ACEOF
36293 #define ICONV_CONST $iconv_const
36294 _ACEOF
36295
36296 fi
36297 LIBICONV=
36298 if test "$am_cv_lib_iconv" = yes; then
36299 LIBICONV="-liconv"
36300 fi
36301
36302
36303 LIBS="$LIBICONV $LIBS"
36304 fi
36305
36306 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36307
36308 for ac_func in sigaction
36309 do
36310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36311 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36313 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36314 echo $ECHO_N "(cached) $ECHO_C" >&6
36315 else
36316 cat >conftest.$ac_ext <<_ACEOF
36317 /* confdefs.h. */
36318 _ACEOF
36319 cat confdefs.h >>conftest.$ac_ext
36320 cat >>conftest.$ac_ext <<_ACEOF
36321 /* end confdefs.h. */
36322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36324 #define $ac_func innocuous_$ac_func
36325
36326 /* System header to define __stub macros and hopefully few prototypes,
36327 which can conflict with char $ac_func (); below.
36328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36329 <limits.h> exists even on freestanding compilers. */
36330
36331 #ifdef __STDC__
36332 # include <limits.h>
36333 #else
36334 # include <assert.h>
36335 #endif
36336
36337 #undef $ac_func
36338
36339 /* Override any GCC internal prototype to avoid an error.
36340 Use char because int might match the return type of a GCC
36341 builtin and then its argument prototype would still apply. */
36342 #ifdef __cplusplus
36343 extern "C"
36344 #endif
36345 char $ac_func ();
36346 /* The GNU C library defines this for functions which it implements
36347 to always fail with ENOSYS. Some functions are actually named
36348 something starting with __ and the normal name is an alias. */
36349 #if defined __stub_$ac_func || defined __stub___$ac_func
36350 choke me
36351 #endif
36352
36353 int
36354 main ()
36355 {
36356 return $ac_func ();
36357 ;
36358 return 0;
36359 }
36360 _ACEOF
36361 rm -f conftest.$ac_objext conftest$ac_exeext
36362 if { (ac_try="$ac_link"
36363 case "(($ac_try" in
36364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36365 *) ac_try_echo=$ac_try;;
36366 esac
36367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36368 (eval "$ac_link") 2>conftest.er1
36369 ac_status=$?
36370 grep -v '^ *+' conftest.er1 >conftest.err
36371 rm -f conftest.er1
36372 cat conftest.err >&5
36373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36374 (exit $ac_status); } && {
36375 test -z "$ac_c_werror_flag" ||
36376 test ! -s conftest.err
36377 } && test -s conftest$ac_exeext &&
36378 $as_test_x conftest$ac_exeext; then
36379 eval "$as_ac_var=yes"
36380 else
36381 echo "$as_me: failed program was:" >&5
36382 sed 's/^/| /' conftest.$ac_ext >&5
36383
36384 eval "$as_ac_var=no"
36385 fi
36386
36387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36388 conftest$ac_exeext conftest.$ac_ext
36389 fi
36390 ac_res=`eval echo '${'$as_ac_var'}'`
36391 { echo "$as_me:$LINENO: result: $ac_res" >&5
36392 echo "${ECHO_T}$ac_res" >&6; }
36393 if test `eval echo '${'$as_ac_var'}'` = yes; then
36394 cat >>confdefs.h <<_ACEOF
36395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36396 _ACEOF
36397
36398 fi
36399 done
36400
36401
36402 if test "$ac_cv_func_sigaction" = "no"; then
36403 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36404 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36405 wxUSE_ON_FATAL_EXCEPTION=no
36406 fi
36407
36408 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36409 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36410 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36411 if test "${wx_cv_type_sa_handler+set}" = set; then
36412 echo $ECHO_N "(cached) $ECHO_C" >&6
36413 else
36414
36415 ac_ext=cpp
36416 ac_cpp='$CXXCPP $CPPFLAGS'
36417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36420
36421 cat >conftest.$ac_ext <<_ACEOF
36422 /* confdefs.h. */
36423 _ACEOF
36424 cat confdefs.h >>conftest.$ac_ext
36425 cat >>conftest.$ac_ext <<_ACEOF
36426 /* end confdefs.h. */
36427 #include <signal.h>
36428 int
36429 main ()
36430 {
36431
36432 extern void testSigHandler(int);
36433
36434 struct sigaction sa;
36435 sa.sa_handler = testSigHandler;
36436
36437 ;
36438 return 0;
36439 }
36440 _ACEOF
36441 rm -f conftest.$ac_objext
36442 if { (ac_try="$ac_compile"
36443 case "(($ac_try" in
36444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36445 *) ac_try_echo=$ac_try;;
36446 esac
36447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36448 (eval "$ac_compile") 2>conftest.er1
36449 ac_status=$?
36450 grep -v '^ *+' conftest.er1 >conftest.err
36451 rm -f conftest.er1
36452 cat conftest.err >&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); } && {
36455 test -z "$ac_cxx_werror_flag" ||
36456 test ! -s conftest.err
36457 } && test -s conftest.$ac_objext; then
36458
36459 wx_cv_type_sa_handler=int
36460
36461 else
36462 echo "$as_me: failed program was:" >&5
36463 sed 's/^/| /' conftest.$ac_ext >&5
36464
36465
36466 wx_cv_type_sa_handler=void
36467
36468 fi
36469
36470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36471 ac_ext=c
36472 ac_cpp='$CPP $CPPFLAGS'
36473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36476
36477
36478 fi
36479 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36480 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36481
36482 cat >>confdefs.h <<_ACEOF
36483 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36484 _ACEOF
36485
36486 fi
36487 fi
36488
36489 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36490 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36491 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36492 if test "${wx_cv_func_backtrace+set}" = set; then
36493 echo $ECHO_N "(cached) $ECHO_C" >&6
36494 else
36495
36496 ac_ext=cpp
36497 ac_cpp='$CXXCPP $CPPFLAGS'
36498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36501
36502 cat >conftest.$ac_ext <<_ACEOF
36503 /* confdefs.h. */
36504 _ACEOF
36505 cat confdefs.h >>conftest.$ac_ext
36506 cat >>conftest.$ac_ext <<_ACEOF
36507 /* end confdefs.h. */
36508 #include <execinfo.h>
36509 int
36510 main ()
36511 {
36512
36513 void *trace[1];
36514 char **messages;
36515
36516 backtrace(trace, 1);
36517 messages = backtrace_symbols(trace, 1);
36518
36519 ;
36520 return 0;
36521 }
36522 _ACEOF
36523 rm -f conftest.$ac_objext
36524 if { (ac_try="$ac_compile"
36525 case "(($ac_try" in
36526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36527 *) ac_try_echo=$ac_try;;
36528 esac
36529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36530 (eval "$ac_compile") 2>conftest.er1
36531 ac_status=$?
36532 grep -v '^ *+' conftest.er1 >conftest.err
36533 rm -f conftest.er1
36534 cat conftest.err >&5
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); } && {
36537 test -z "$ac_cxx_werror_flag" ||
36538 test ! -s conftest.err
36539 } && test -s conftest.$ac_objext; then
36540 wx_cv_func_backtrace=yes
36541 else
36542 echo "$as_me: failed program was:" >&5
36543 sed 's/^/| /' conftest.$ac_ext >&5
36544
36545 wx_cv_func_backtrace=no
36546
36547 fi
36548
36549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36550 ac_ext=c
36551 ac_cpp='$CPP $CPPFLAGS'
36552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36555
36556
36557
36558 fi
36559 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36560 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36561
36562
36563 if test "$wx_cv_func_backtrace" = "no"; then
36564 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36565 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36566 wxUSE_STACKWALKER=no
36567 else
36568 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36569 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36570 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36571 echo $ECHO_N "(cached) $ECHO_C" >&6
36572 else
36573
36574 ac_ext=cpp
36575 ac_cpp='$CXXCPP $CPPFLAGS'
36576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36579
36580 cat >conftest.$ac_ext <<_ACEOF
36581 /* confdefs.h. */
36582 _ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36586 #include <cxxabi.h>
36587 int
36588 main ()
36589 {
36590
36591 int rc;
36592 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36593
36594 ;
36595 return 0;
36596 }
36597 _ACEOF
36598 rm -f conftest.$ac_objext conftest$ac_exeext
36599 if { (ac_try="$ac_link"
36600 case "(($ac_try" in
36601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36602 *) ac_try_echo=$ac_try;;
36603 esac
36604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36605 (eval "$ac_link") 2>conftest.er1
36606 ac_status=$?
36607 grep -v '^ *+' conftest.er1 >conftest.err
36608 rm -f conftest.er1
36609 cat conftest.err >&5
36610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36611 (exit $ac_status); } && {
36612 test -z "$ac_cxx_werror_flag" ||
36613 test ! -s conftest.err
36614 } && test -s conftest$ac_exeext &&
36615 $as_test_x conftest$ac_exeext; then
36616 wx_cv_func_cxa_demangle=yes
36617 else
36618 echo "$as_me: failed program was:" >&5
36619 sed 's/^/| /' conftest.$ac_ext >&5
36620
36621 wx_cv_func_cxa_demangle=no
36622
36623 fi
36624
36625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36626 conftest$ac_exeext conftest.$ac_ext
36627 ac_ext=c
36628 ac_cpp='$CPP $CPPFLAGS'
36629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36632
36633
36634
36635 fi
36636 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36637 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36638
36639 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36640 cat >>confdefs.h <<\_ACEOF
36641 #define HAVE_CXA_DEMANGLE 1
36642 _ACEOF
36643
36644 fi
36645 fi
36646 fi
36647
36648 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36649 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36650 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36651 wxUSE_STACKWALKER=no
36652 fi
36653
36654
36655
36656
36657 for ac_func in mkstemp mktemp
36658 do
36659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36660 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36662 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36663 echo $ECHO_N "(cached) $ECHO_C" >&6
36664 else
36665 cat >conftest.$ac_ext <<_ACEOF
36666 /* confdefs.h. */
36667 _ACEOF
36668 cat confdefs.h >>conftest.$ac_ext
36669 cat >>conftest.$ac_ext <<_ACEOF
36670 /* end confdefs.h. */
36671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36673 #define $ac_func innocuous_$ac_func
36674
36675 /* System header to define __stub macros and hopefully few prototypes,
36676 which can conflict with char $ac_func (); below.
36677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36678 <limits.h> exists even on freestanding compilers. */
36679
36680 #ifdef __STDC__
36681 # include <limits.h>
36682 #else
36683 # include <assert.h>
36684 #endif
36685
36686 #undef $ac_func
36687
36688 /* Override any GCC internal prototype to avoid an error.
36689 Use char because int might match the return type of a GCC
36690 builtin and then its argument prototype would still apply. */
36691 #ifdef __cplusplus
36692 extern "C"
36693 #endif
36694 char $ac_func ();
36695 /* The GNU C library defines this for functions which it implements
36696 to always fail with ENOSYS. Some functions are actually named
36697 something starting with __ and the normal name is an alias. */
36698 #if defined __stub_$ac_func || defined __stub___$ac_func
36699 choke me
36700 #endif
36701
36702 int
36703 main ()
36704 {
36705 return $ac_func ();
36706 ;
36707 return 0;
36708 }
36709 _ACEOF
36710 rm -f conftest.$ac_objext conftest$ac_exeext
36711 if { (ac_try="$ac_link"
36712 case "(($ac_try" in
36713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36714 *) ac_try_echo=$ac_try;;
36715 esac
36716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36717 (eval "$ac_link") 2>conftest.er1
36718 ac_status=$?
36719 grep -v '^ *+' conftest.er1 >conftest.err
36720 rm -f conftest.er1
36721 cat conftest.err >&5
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); } && {
36724 test -z "$ac_c_werror_flag" ||
36725 test ! -s conftest.err
36726 } && test -s conftest$ac_exeext &&
36727 $as_test_x conftest$ac_exeext; then
36728 eval "$as_ac_var=yes"
36729 else
36730 echo "$as_me: failed program was:" >&5
36731 sed 's/^/| /' conftest.$ac_ext >&5
36732
36733 eval "$as_ac_var=no"
36734 fi
36735
36736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36737 conftest$ac_exeext conftest.$ac_ext
36738 fi
36739 ac_res=`eval echo '${'$as_ac_var'}'`
36740 { echo "$as_me:$LINENO: result: $ac_res" >&5
36741 echo "${ECHO_T}$ac_res" >&6; }
36742 if test `eval echo '${'$as_ac_var'}'` = yes; then
36743 cat >>confdefs.h <<_ACEOF
36744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36745 _ACEOF
36746 break
36747 fi
36748 done
36749
36750
36751 { echo "$as_me:$LINENO: checking for statfs" >&5
36752 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36753 if test "${wx_cv_func_statfs+set}" = set; then
36754 echo $ECHO_N "(cached) $ECHO_C" >&6
36755 else
36756 cat >conftest.$ac_ext <<_ACEOF
36757 /* confdefs.h. */
36758 _ACEOF
36759 cat confdefs.h >>conftest.$ac_ext
36760 cat >>conftest.$ac_ext <<_ACEOF
36761 /* end confdefs.h. */
36762
36763 #if defined(__BSD__)
36764 #include <sys/param.h>
36765 #include <sys/mount.h>
36766 #else
36767 #include <sys/vfs.h>
36768 #endif
36769
36770 int
36771 main ()
36772 {
36773
36774 long l;
36775 struct statfs fs;
36776 statfs("/", &fs);
36777 l = fs.f_bsize;
36778 l += fs.f_blocks;
36779 l += fs.f_bavail;
36780
36781 ;
36782 return 0;
36783 }
36784 _ACEOF
36785 rm -f conftest.$ac_objext
36786 if { (ac_try="$ac_compile"
36787 case "(($ac_try" in
36788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36789 *) ac_try_echo=$ac_try;;
36790 esac
36791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36792 (eval "$ac_compile") 2>conftest.er1
36793 ac_status=$?
36794 grep -v '^ *+' conftest.er1 >conftest.err
36795 rm -f conftest.er1
36796 cat conftest.err >&5
36797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36798 (exit $ac_status); } && {
36799 test -z "$ac_c_werror_flag" ||
36800 test ! -s conftest.err
36801 } && test -s conftest.$ac_objext; then
36802 wx_cv_func_statfs=yes
36803 else
36804 echo "$as_me: failed program was:" >&5
36805 sed 's/^/| /' conftest.$ac_ext >&5
36806
36807 wx_cv_func_statfs=no
36808
36809 fi
36810
36811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36812
36813 fi
36814 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36815 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36816
36817 if test "$wx_cv_func_statfs" = "yes"; then
36818 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36819 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36820 if test "${wx_cv_func_statfs_decl+set}" = set; then
36821 echo $ECHO_N "(cached) $ECHO_C" >&6
36822 else
36823 ac_ext=cpp
36824 ac_cpp='$CXXCPP $CPPFLAGS'
36825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36828
36829 cat >conftest.$ac_ext <<_ACEOF
36830 /* confdefs.h. */
36831 _ACEOF
36832 cat confdefs.h >>conftest.$ac_ext
36833 cat >>conftest.$ac_ext <<_ACEOF
36834 /* end confdefs.h. */
36835
36836 #if defined(__BSD__)
36837 #include <sys/param.h>
36838 #include <sys/mount.h>
36839 #else
36840 #include <sys/vfs.h>
36841 #endif
36842
36843 int
36844 main ()
36845 {
36846
36847 struct statfs fs;
36848 statfs("", &fs);
36849
36850 ;
36851 return 0;
36852 }
36853 _ACEOF
36854 rm -f conftest.$ac_objext
36855 if { (ac_try="$ac_compile"
36856 case "(($ac_try" in
36857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36858 *) ac_try_echo=$ac_try;;
36859 esac
36860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36861 (eval "$ac_compile") 2>conftest.er1
36862 ac_status=$?
36863 grep -v '^ *+' conftest.er1 >conftest.err
36864 rm -f conftest.er1
36865 cat conftest.err >&5
36866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36867 (exit $ac_status); } && {
36868 test -z "$ac_cxx_werror_flag" ||
36869 test ! -s conftest.err
36870 } && test -s conftest.$ac_objext; then
36871 wx_cv_func_statfs_decl=yes
36872 else
36873 echo "$as_me: failed program was:" >&5
36874 sed 's/^/| /' conftest.$ac_ext >&5
36875
36876 wx_cv_func_statfs_decl=no
36877
36878 fi
36879
36880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36881 ac_ext=c
36882 ac_cpp='$CPP $CPPFLAGS'
36883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36886
36887
36888 fi
36889 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36890 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36891
36892 if test "$wx_cv_func_statfs_decl" = "yes"; then
36893 cat >>confdefs.h <<\_ACEOF
36894 #define HAVE_STATFS_DECL 1
36895 _ACEOF
36896
36897 fi
36898
36899 wx_cv_type_statvfs_t="struct statfs"
36900 cat >>confdefs.h <<\_ACEOF
36901 #define HAVE_STATFS 1
36902 _ACEOF
36903
36904 else
36905 { echo "$as_me:$LINENO: checking for statvfs" >&5
36906 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36907 if test "${wx_cv_func_statvfs+set}" = set; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36909 else
36910 cat >conftest.$ac_ext <<_ACEOF
36911 /* confdefs.h. */
36912 _ACEOF
36913 cat confdefs.h >>conftest.$ac_ext
36914 cat >>conftest.$ac_ext <<_ACEOF
36915 /* end confdefs.h. */
36916
36917 #include <stddef.h>
36918 #include <sys/statvfs.h>
36919
36920 int
36921 main ()
36922 {
36923
36924 statvfs("/", NULL);
36925
36926 ;
36927 return 0;
36928 }
36929 _ACEOF
36930 rm -f conftest.$ac_objext
36931 if { (ac_try="$ac_compile"
36932 case "(($ac_try" in
36933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36934 *) ac_try_echo=$ac_try;;
36935 esac
36936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36937 (eval "$ac_compile") 2>conftest.er1
36938 ac_status=$?
36939 grep -v '^ *+' conftest.er1 >conftest.err
36940 rm -f conftest.er1
36941 cat conftest.err >&5
36942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36943 (exit $ac_status); } && {
36944 test -z "$ac_c_werror_flag" ||
36945 test ! -s conftest.err
36946 } && test -s conftest.$ac_objext; then
36947 wx_cv_func_statvfs=yes
36948 else
36949 echo "$as_me: failed program was:" >&5
36950 sed 's/^/| /' conftest.$ac_ext >&5
36951
36952 wx_cv_func_statvfs=no
36953
36954 fi
36955
36956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36957
36958 fi
36959 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36960 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36961
36962 if test "$wx_cv_func_statvfs" = "yes"; then
36963 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36964 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36965 if test "${wx_cv_type_statvfs_t+set}" = set; then
36966 echo $ECHO_N "(cached) $ECHO_C" >&6
36967 else
36968 ac_ext=cpp
36969 ac_cpp='$CXXCPP $CPPFLAGS'
36970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36973
36974 cat >conftest.$ac_ext <<_ACEOF
36975 /* confdefs.h. */
36976 _ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36980
36981 #include <sys/statvfs.h>
36982
36983 int
36984 main ()
36985 {
36986
36987 long l;
36988 statvfs_t fs;
36989 statvfs("/", &fs);
36990 l = fs.f_bsize;
36991 l += fs.f_blocks;
36992 l += fs.f_bavail;
36993
36994 ;
36995 return 0;
36996 }
36997 _ACEOF
36998 rm -f conftest.$ac_objext
36999 if { (ac_try="$ac_compile"
37000 case "(($ac_try" in
37001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37002 *) ac_try_echo=$ac_try;;
37003 esac
37004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_compile") 2>conftest.er1
37006 ac_status=$?
37007 grep -v '^ *+' conftest.er1 >conftest.err
37008 rm -f conftest.er1
37009 cat conftest.err >&5
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); } && {
37012 test -z "$ac_cxx_werror_flag" ||
37013 test ! -s conftest.err
37014 } && test -s conftest.$ac_objext; then
37015 wx_cv_type_statvfs_t=statvfs_t
37016 else
37017 echo "$as_me: failed program was:" >&5
37018 sed 's/^/| /' conftest.$ac_ext >&5
37019
37020
37021 cat >conftest.$ac_ext <<_ACEOF
37022 /* confdefs.h. */
37023 _ACEOF
37024 cat confdefs.h >>conftest.$ac_ext
37025 cat >>conftest.$ac_ext <<_ACEOF
37026 /* end confdefs.h. */
37027
37028 #include <sys/statvfs.h>
37029
37030 int
37031 main ()
37032 {
37033
37034 long l;
37035 struct statvfs fs;
37036 statvfs("/", &fs);
37037 l = fs.f_bsize;
37038 l += fs.f_blocks;
37039 l += fs.f_bavail;
37040
37041 ;
37042 return 0;
37043 }
37044 _ACEOF
37045 rm -f conftest.$ac_objext
37046 if { (ac_try="$ac_compile"
37047 case "(($ac_try" in
37048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37049 *) ac_try_echo=$ac_try;;
37050 esac
37051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37052 (eval "$ac_compile") 2>conftest.er1
37053 ac_status=$?
37054 grep -v '^ *+' conftest.er1 >conftest.err
37055 rm -f conftest.er1
37056 cat conftest.err >&5
37057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37058 (exit $ac_status); } && {
37059 test -z "$ac_cxx_werror_flag" ||
37060 test ! -s conftest.err
37061 } && test -s conftest.$ac_objext; then
37062 wx_cv_type_statvfs_t="struct statvfs"
37063 else
37064 echo "$as_me: failed program was:" >&5
37065 sed 's/^/| /' conftest.$ac_ext >&5
37066
37067 wx_cv_type_statvfs_t="unknown"
37068
37069 fi
37070
37071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37072
37073
37074 fi
37075
37076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37077 ac_ext=c
37078 ac_cpp='$CPP $CPPFLAGS'
37079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37082
37083
37084 fi
37085 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37086 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37087
37088 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37089 cat >>confdefs.h <<\_ACEOF
37090 #define HAVE_STATVFS 1
37091 _ACEOF
37092
37093 fi
37094 else
37095 wx_cv_type_statvfs_t="unknown"
37096 fi
37097 fi
37098
37099 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37100 cat >>confdefs.h <<_ACEOF
37101 #define WX_STATFS_T $wx_cv_type_statvfs_t
37102 _ACEOF
37103
37104 else
37105 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37106 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37107 fi
37108
37109 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37110
37111
37112 for ac_func in fcntl flock
37113 do
37114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37115 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37118 echo $ECHO_N "(cached) $ECHO_C" >&6
37119 else
37120 cat >conftest.$ac_ext <<_ACEOF
37121 /* confdefs.h. */
37122 _ACEOF
37123 cat confdefs.h >>conftest.$ac_ext
37124 cat >>conftest.$ac_ext <<_ACEOF
37125 /* end confdefs.h. */
37126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37128 #define $ac_func innocuous_$ac_func
37129
37130 /* System header to define __stub macros and hopefully few prototypes,
37131 which can conflict with char $ac_func (); below.
37132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37133 <limits.h> exists even on freestanding compilers. */
37134
37135 #ifdef __STDC__
37136 # include <limits.h>
37137 #else
37138 # include <assert.h>
37139 #endif
37140
37141 #undef $ac_func
37142
37143 /* Override any GCC internal prototype to avoid an error.
37144 Use char because int might match the return type of a GCC
37145 builtin and then its argument prototype would still apply. */
37146 #ifdef __cplusplus
37147 extern "C"
37148 #endif
37149 char $ac_func ();
37150 /* The GNU C library defines this for functions which it implements
37151 to always fail with ENOSYS. Some functions are actually named
37152 something starting with __ and the normal name is an alias. */
37153 #if defined __stub_$ac_func || defined __stub___$ac_func
37154 choke me
37155 #endif
37156
37157 int
37158 main ()
37159 {
37160 return $ac_func ();
37161 ;
37162 return 0;
37163 }
37164 _ACEOF
37165 rm -f conftest.$ac_objext conftest$ac_exeext
37166 if { (ac_try="$ac_link"
37167 case "(($ac_try" in
37168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37169 *) ac_try_echo=$ac_try;;
37170 esac
37171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37172 (eval "$ac_link") 2>conftest.er1
37173 ac_status=$?
37174 grep -v '^ *+' conftest.er1 >conftest.err
37175 rm -f conftest.er1
37176 cat conftest.err >&5
37177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37178 (exit $ac_status); } && {
37179 test -z "$ac_c_werror_flag" ||
37180 test ! -s conftest.err
37181 } && test -s conftest$ac_exeext &&
37182 $as_test_x conftest$ac_exeext; then
37183 eval "$as_ac_var=yes"
37184 else
37185 echo "$as_me: failed program was:" >&5
37186 sed 's/^/| /' conftest.$ac_ext >&5
37187
37188 eval "$as_ac_var=no"
37189 fi
37190
37191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37192 conftest$ac_exeext conftest.$ac_ext
37193 fi
37194 ac_res=`eval echo '${'$as_ac_var'}'`
37195 { echo "$as_me:$LINENO: result: $ac_res" >&5
37196 echo "${ECHO_T}$ac_res" >&6; }
37197 if test `eval echo '${'$as_ac_var'}'` = yes; then
37198 cat >>confdefs.h <<_ACEOF
37199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37200 _ACEOF
37201 break
37202 fi
37203 done
37204
37205
37206 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37207 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37208 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37209 wxUSE_SNGLINST_CHECKER=no
37210 fi
37211 fi
37212
37213
37214
37215 for ac_func in setenv putenv
37216 do
37217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37221 echo $ECHO_N "(cached) $ECHO_C" >&6
37222 else
37223 cat >conftest.$ac_ext <<_ACEOF
37224 /* confdefs.h. */
37225 _ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37231 #define $ac_func innocuous_$ac_func
37232
37233 /* System header to define __stub macros and hopefully few prototypes,
37234 which can conflict with char $ac_func (); below.
37235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37236 <limits.h> exists even on freestanding compilers. */
37237
37238 #ifdef __STDC__
37239 # include <limits.h>
37240 #else
37241 # include <assert.h>
37242 #endif
37243
37244 #undef $ac_func
37245
37246 /* Override any GCC internal prototype to avoid an error.
37247 Use char because int might match the return type of a GCC
37248 builtin and then its argument prototype would still apply. */
37249 #ifdef __cplusplus
37250 extern "C"
37251 #endif
37252 char $ac_func ();
37253 /* The GNU C library defines this for functions which it implements
37254 to always fail with ENOSYS. Some functions are actually named
37255 something starting with __ and the normal name is an alias. */
37256 #if defined __stub_$ac_func || defined __stub___$ac_func
37257 choke me
37258 #endif
37259
37260 int
37261 main ()
37262 {
37263 return $ac_func ();
37264 ;
37265 return 0;
37266 }
37267 _ACEOF
37268 rm -f conftest.$ac_objext conftest$ac_exeext
37269 if { (ac_try="$ac_link"
37270 case "(($ac_try" in
37271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37272 *) ac_try_echo=$ac_try;;
37273 esac
37274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37275 (eval "$ac_link") 2>conftest.er1
37276 ac_status=$?
37277 grep -v '^ *+' conftest.er1 >conftest.err
37278 rm -f conftest.er1
37279 cat conftest.err >&5
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); } && {
37282 test -z "$ac_c_werror_flag" ||
37283 test ! -s conftest.err
37284 } && test -s conftest$ac_exeext &&
37285 $as_test_x conftest$ac_exeext; then
37286 eval "$as_ac_var=yes"
37287 else
37288 echo "$as_me: failed program was:" >&5
37289 sed 's/^/| /' conftest.$ac_ext >&5
37290
37291 eval "$as_ac_var=no"
37292 fi
37293
37294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37295 conftest$ac_exeext conftest.$ac_ext
37296 fi
37297 ac_res=`eval echo '${'$as_ac_var'}'`
37298 { echo "$as_me:$LINENO: result: $ac_res" >&5
37299 echo "${ECHO_T}$ac_res" >&6; }
37300 if test `eval echo '${'$as_ac_var'}'` = yes; then
37301 cat >>confdefs.h <<_ACEOF
37302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37303 _ACEOF
37304 break
37305 fi
37306 done
37307
37308 if test "$ac_cv_func_setenv" = "yes"; then
37309
37310 for ac_func in unsetenv
37311 do
37312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37313 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37315 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37316 echo $ECHO_N "(cached) $ECHO_C" >&6
37317 else
37318 cat >conftest.$ac_ext <<_ACEOF
37319 /* confdefs.h. */
37320 _ACEOF
37321 cat confdefs.h >>conftest.$ac_ext
37322 cat >>conftest.$ac_ext <<_ACEOF
37323 /* end confdefs.h. */
37324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37326 #define $ac_func innocuous_$ac_func
37327
37328 /* System header to define __stub macros and hopefully few prototypes,
37329 which can conflict with char $ac_func (); below.
37330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37331 <limits.h> exists even on freestanding compilers. */
37332
37333 #ifdef __STDC__
37334 # include <limits.h>
37335 #else
37336 # include <assert.h>
37337 #endif
37338
37339 #undef $ac_func
37340
37341 /* Override any GCC internal prototype to avoid an error.
37342 Use char because int might match the return type of a GCC
37343 builtin and then its argument prototype would still apply. */
37344 #ifdef __cplusplus
37345 extern "C"
37346 #endif
37347 char $ac_func ();
37348 /* The GNU C library defines this for functions which it implements
37349 to always fail with ENOSYS. Some functions are actually named
37350 something starting with __ and the normal name is an alias. */
37351 #if defined __stub_$ac_func || defined __stub___$ac_func
37352 choke me
37353 #endif
37354
37355 int
37356 main ()
37357 {
37358 return $ac_func ();
37359 ;
37360 return 0;
37361 }
37362 _ACEOF
37363 rm -f conftest.$ac_objext conftest$ac_exeext
37364 if { (ac_try="$ac_link"
37365 case "(($ac_try" in
37366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37367 *) ac_try_echo=$ac_try;;
37368 esac
37369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37370 (eval "$ac_link") 2>conftest.er1
37371 ac_status=$?
37372 grep -v '^ *+' conftest.er1 >conftest.err
37373 rm -f conftest.er1
37374 cat conftest.err >&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); } && {
37377 test -z "$ac_c_werror_flag" ||
37378 test ! -s conftest.err
37379 } && test -s conftest$ac_exeext &&
37380 $as_test_x conftest$ac_exeext; then
37381 eval "$as_ac_var=yes"
37382 else
37383 echo "$as_me: failed program was:" >&5
37384 sed 's/^/| /' conftest.$ac_ext >&5
37385
37386 eval "$as_ac_var=no"
37387 fi
37388
37389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37390 conftest$ac_exeext conftest.$ac_ext
37391 fi
37392 ac_res=`eval echo '${'$as_ac_var'}'`
37393 { echo "$as_me:$LINENO: result: $ac_res" >&5
37394 echo "${ECHO_T}$ac_res" >&6; }
37395 if test `eval echo '${'$as_ac_var'}'` = yes; then
37396 cat >>confdefs.h <<_ACEOF
37397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37398 _ACEOF
37399
37400 fi
37401 done
37402
37403 fi
37404
37405 HAVE_SOME_SLEEP_FUNC=0
37406 if test "$USE_BEOS" = 1; then
37407 cat >>confdefs.h <<\_ACEOF
37408 #define HAVE_SLEEP 1
37409 _ACEOF
37410
37411 HAVE_SOME_SLEEP_FUNC=1
37412 fi
37413
37414 if test "$USE_DARWIN" = 1; then
37415 cat >>confdefs.h <<\_ACEOF
37416 #define HAVE_USLEEP 1
37417 _ACEOF
37418
37419 HAVE_SOME_SLEEP_FUNC=1
37420 fi
37421
37422 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37423 POSIX4_LINK=
37424
37425 for ac_func in nanosleep
37426 do
37427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37428 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37430 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37431 echo $ECHO_N "(cached) $ECHO_C" >&6
37432 else
37433 cat >conftest.$ac_ext <<_ACEOF
37434 /* confdefs.h. */
37435 _ACEOF
37436 cat confdefs.h >>conftest.$ac_ext
37437 cat >>conftest.$ac_ext <<_ACEOF
37438 /* end confdefs.h. */
37439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37441 #define $ac_func innocuous_$ac_func
37442
37443 /* System header to define __stub macros and hopefully few prototypes,
37444 which can conflict with char $ac_func (); below.
37445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37446 <limits.h> exists even on freestanding compilers. */
37447
37448 #ifdef __STDC__
37449 # include <limits.h>
37450 #else
37451 # include <assert.h>
37452 #endif
37453
37454 #undef $ac_func
37455
37456 /* Override any GCC internal prototype to avoid an error.
37457 Use char because int might match the return type of a GCC
37458 builtin and then its argument prototype would still apply. */
37459 #ifdef __cplusplus
37460 extern "C"
37461 #endif
37462 char $ac_func ();
37463 /* The GNU C library defines this for functions which it implements
37464 to always fail with ENOSYS. Some functions are actually named
37465 something starting with __ and the normal name is an alias. */
37466 #if defined __stub_$ac_func || defined __stub___$ac_func
37467 choke me
37468 #endif
37469
37470 int
37471 main ()
37472 {
37473 return $ac_func ();
37474 ;
37475 return 0;
37476 }
37477 _ACEOF
37478 rm -f conftest.$ac_objext conftest$ac_exeext
37479 if { (ac_try="$ac_link"
37480 case "(($ac_try" in
37481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37482 *) ac_try_echo=$ac_try;;
37483 esac
37484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37485 (eval "$ac_link") 2>conftest.er1
37486 ac_status=$?
37487 grep -v '^ *+' conftest.er1 >conftest.err
37488 rm -f conftest.er1
37489 cat conftest.err >&5
37490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37491 (exit $ac_status); } && {
37492 test -z "$ac_c_werror_flag" ||
37493 test ! -s conftest.err
37494 } && test -s conftest$ac_exeext &&
37495 $as_test_x conftest$ac_exeext; then
37496 eval "$as_ac_var=yes"
37497 else
37498 echo "$as_me: failed program was:" >&5
37499 sed 's/^/| /' conftest.$ac_ext >&5
37500
37501 eval "$as_ac_var=no"
37502 fi
37503
37504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37505 conftest$ac_exeext conftest.$ac_ext
37506 fi
37507 ac_res=`eval echo '${'$as_ac_var'}'`
37508 { echo "$as_me:$LINENO: result: $ac_res" >&5
37509 echo "${ECHO_T}$ac_res" >&6; }
37510 if test `eval echo '${'$as_ac_var'}'` = yes; then
37511 cat >>confdefs.h <<_ACEOF
37512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37513 _ACEOF
37514 cat >>confdefs.h <<\_ACEOF
37515 #define HAVE_NANOSLEEP 1
37516 _ACEOF
37517
37518 else
37519
37520 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37521 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37522 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37523 echo $ECHO_N "(cached) $ECHO_C" >&6
37524 else
37525 ac_check_lib_save_LIBS=$LIBS
37526 LIBS="-lposix4 $LIBS"
37527 cat >conftest.$ac_ext <<_ACEOF
37528 /* confdefs.h. */
37529 _ACEOF
37530 cat confdefs.h >>conftest.$ac_ext
37531 cat >>conftest.$ac_ext <<_ACEOF
37532 /* end confdefs.h. */
37533
37534 /* Override any GCC internal prototype to avoid an error.
37535 Use char because int might match the return type of a GCC
37536 builtin and then its argument prototype would still apply. */
37537 #ifdef __cplusplus
37538 extern "C"
37539 #endif
37540 char nanosleep ();
37541 int
37542 main ()
37543 {
37544 return nanosleep ();
37545 ;
37546 return 0;
37547 }
37548 _ACEOF
37549 rm -f conftest.$ac_objext conftest$ac_exeext
37550 if { (ac_try="$ac_link"
37551 case "(($ac_try" in
37552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37553 *) ac_try_echo=$ac_try;;
37554 esac
37555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37556 (eval "$ac_link") 2>conftest.er1
37557 ac_status=$?
37558 grep -v '^ *+' conftest.er1 >conftest.err
37559 rm -f conftest.er1
37560 cat conftest.err >&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); } && {
37563 test -z "$ac_c_werror_flag" ||
37564 test ! -s conftest.err
37565 } && test -s conftest$ac_exeext &&
37566 $as_test_x conftest$ac_exeext; then
37567 ac_cv_lib_posix4_nanosleep=yes
37568 else
37569 echo "$as_me: failed program was:" >&5
37570 sed 's/^/| /' conftest.$ac_ext >&5
37571
37572 ac_cv_lib_posix4_nanosleep=no
37573 fi
37574
37575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37576 conftest$ac_exeext conftest.$ac_ext
37577 LIBS=$ac_check_lib_save_LIBS
37578 fi
37579 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37580 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37581 if test $ac_cv_lib_posix4_nanosleep = yes; then
37582
37583 cat >>confdefs.h <<\_ACEOF
37584 #define HAVE_NANOSLEEP 1
37585 _ACEOF
37586
37587 POSIX4_LINK=" -lposix4"
37588
37589 else
37590
37591
37592 for wx_func in usleep
37593 do
37594 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37595 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37596 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37597 echo $ECHO_N "(cached) $ECHO_C" >&6
37598 else
37599
37600 cat >conftest.$ac_ext <<_ACEOF
37601
37602 /* confdefs.h. */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607
37608
37609 $ac_includes_default
37610
37611 int
37612 main ()
37613 {
37614
37615 #ifndef $wx_func
37616 &$wx_func;
37617 #endif
37618
37619
37620 ;
37621 return 0;
37622 }
37623
37624 _ACEOF
37625 rm -f conftest.$ac_objext conftest$ac_exeext
37626 if { (ac_try="$ac_link"
37627 case "(($ac_try" in
37628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37629 *) ac_try_echo=$ac_try;;
37630 esac
37631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37632 (eval "$ac_link") 2>conftest.er1
37633 ac_status=$?
37634 grep -v '^ *+' conftest.er1 >conftest.err
37635 rm -f conftest.er1
37636 cat conftest.err >&5
37637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37638 (exit $ac_status); } && {
37639 test -z "$ac_c_werror_flag" ||
37640 test ! -s conftest.err
37641 } && test -s conftest$ac_exeext &&
37642 $as_test_x conftest$ac_exeext; then
37643 eval wx_cv_func_$wx_func=yes
37644 else
37645 echo "$as_me: failed program was:" >&5
37646 sed 's/^/| /' conftest.$ac_ext >&5
37647
37648 eval wx_cv_func_$wx_func=no
37649 fi
37650
37651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37652 conftest$ac_exeext conftest.$ac_ext
37653
37654 fi
37655 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37656 { echo "$as_me:$LINENO: result: $ac_res" >&5
37657 echo "${ECHO_T}$ac_res" >&6; }
37658
37659 if eval test \$wx_cv_func_$wx_func = yes
37660 then
37661 cat >>confdefs.h <<_ACEOF
37662 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37663 _ACEOF
37664
37665
37666 else
37667 :
37668 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37669 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37670
37671 fi
37672 done
37673
37674
37675
37676 fi
37677
37678
37679
37680 fi
37681 done
37682
37683 fi
37684
37685
37686 for wx_func in uname
37687 do
37688 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37689 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37690 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37692 else
37693
37694 cat >conftest.$ac_ext <<_ACEOF
37695
37696 /* confdefs.h. */
37697 _ACEOF
37698 cat confdefs.h >>conftest.$ac_ext
37699 cat >>conftest.$ac_ext <<_ACEOF
37700 /* end confdefs.h. */
37701
37702 #include <sys/utsname.h>
37703 $ac_includes_default
37704
37705 int
37706 main ()
37707 {
37708
37709 #ifndef $wx_func
37710 &$wx_func;
37711 #endif
37712
37713
37714 ;
37715 return 0;
37716 }
37717
37718 _ACEOF
37719 rm -f conftest.$ac_objext conftest$ac_exeext
37720 if { (ac_try="$ac_link"
37721 case "(($ac_try" in
37722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37723 *) ac_try_echo=$ac_try;;
37724 esac
37725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37726 (eval "$ac_link") 2>conftest.er1
37727 ac_status=$?
37728 grep -v '^ *+' conftest.er1 >conftest.err
37729 rm -f conftest.er1
37730 cat conftest.err >&5
37731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732 (exit $ac_status); } && {
37733 test -z "$ac_c_werror_flag" ||
37734 test ! -s conftest.err
37735 } && test -s conftest$ac_exeext &&
37736 $as_test_x conftest$ac_exeext; then
37737 eval wx_cv_func_$wx_func=yes
37738 else
37739 echo "$as_me: failed program was:" >&5
37740 sed 's/^/| /' conftest.$ac_ext >&5
37741
37742 eval wx_cv_func_$wx_func=no
37743 fi
37744
37745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37746 conftest$ac_exeext conftest.$ac_ext
37747
37748 fi
37749 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37750 { echo "$as_me:$LINENO: result: $ac_res" >&5
37751 echo "${ECHO_T}$ac_res" >&6; }
37752
37753 if eval test \$wx_cv_func_$wx_func = yes
37754 then
37755 cat >>confdefs.h <<_ACEOF
37756 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37757 _ACEOF
37758
37759
37760 else
37761 :
37762
37763 fi
37764 done
37765
37766 if test "$wx_cv_func_uname" != yes; then
37767
37768 for wx_func in gethostname
37769 do
37770 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37771 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37772 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37773 echo $ECHO_N "(cached) $ECHO_C" >&6
37774 else
37775
37776 cat >conftest.$ac_ext <<_ACEOF
37777
37778 /* confdefs.h. */
37779 _ACEOF
37780 cat confdefs.h >>conftest.$ac_ext
37781 cat >>conftest.$ac_ext <<_ACEOF
37782 /* end confdefs.h. */
37783
37784
37785 $ac_includes_default
37786
37787 int
37788 main ()
37789 {
37790
37791 #ifndef $wx_func
37792 &$wx_func;
37793 #endif
37794
37795
37796 ;
37797 return 0;
37798 }
37799
37800 _ACEOF
37801 rm -f conftest.$ac_objext conftest$ac_exeext
37802 if { (ac_try="$ac_link"
37803 case "(($ac_try" in
37804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37805 *) ac_try_echo=$ac_try;;
37806 esac
37807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37808 (eval "$ac_link") 2>conftest.er1
37809 ac_status=$?
37810 grep -v '^ *+' conftest.er1 >conftest.err
37811 rm -f conftest.er1
37812 cat conftest.err >&5
37813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37814 (exit $ac_status); } && {
37815 test -z "$ac_c_werror_flag" ||
37816 test ! -s conftest.err
37817 } && test -s conftest$ac_exeext &&
37818 $as_test_x conftest$ac_exeext; then
37819 eval wx_cv_func_$wx_func=yes
37820 else
37821 echo "$as_me: failed program was:" >&5
37822 sed 's/^/| /' conftest.$ac_ext >&5
37823
37824 eval wx_cv_func_$wx_func=no
37825 fi
37826
37827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37828 conftest$ac_exeext conftest.$ac_ext
37829
37830 fi
37831 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37832 { echo "$as_me:$LINENO: result: $ac_res" >&5
37833 echo "${ECHO_T}$ac_res" >&6; }
37834
37835 if eval test \$wx_cv_func_$wx_func = yes
37836 then
37837 cat >>confdefs.h <<_ACEOF
37838 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37839 _ACEOF
37840
37841
37842 else
37843 :
37844
37845 fi
37846 done
37847
37848 fi
37849
37850
37851 for wx_func in strtok_r
37852 do
37853 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37854 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37855 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37856 echo $ECHO_N "(cached) $ECHO_C" >&6
37857 else
37858
37859 cat >conftest.$ac_ext <<_ACEOF
37860
37861 /* confdefs.h. */
37862 _ACEOF
37863 cat confdefs.h >>conftest.$ac_ext
37864 cat >>conftest.$ac_ext <<_ACEOF
37865 /* end confdefs.h. */
37866
37867 #define _REENTRANT
37868 $ac_includes_default
37869
37870 int
37871 main ()
37872 {
37873
37874 #ifndef $wx_func
37875 &$wx_func;
37876 #endif
37877
37878
37879 ;
37880 return 0;
37881 }
37882
37883 _ACEOF
37884 rm -f conftest.$ac_objext conftest$ac_exeext
37885 if { (ac_try="$ac_link"
37886 case "(($ac_try" in
37887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37888 *) ac_try_echo=$ac_try;;
37889 esac
37890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37891 (eval "$ac_link") 2>conftest.er1
37892 ac_status=$?
37893 grep -v '^ *+' conftest.er1 >conftest.err
37894 rm -f conftest.er1
37895 cat conftest.err >&5
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); } && {
37898 test -z "$ac_c_werror_flag" ||
37899 test ! -s conftest.err
37900 } && test -s conftest$ac_exeext &&
37901 $as_test_x conftest$ac_exeext; then
37902 eval wx_cv_func_$wx_func=yes
37903 else
37904 echo "$as_me: failed program was:" >&5
37905 sed 's/^/| /' conftest.$ac_ext >&5
37906
37907 eval wx_cv_func_$wx_func=no
37908 fi
37909
37910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37911 conftest$ac_exeext conftest.$ac_ext
37912
37913 fi
37914 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37915 { echo "$as_me:$LINENO: result: $ac_res" >&5
37916 echo "${ECHO_T}$ac_res" >&6; }
37917
37918 if eval test \$wx_cv_func_$wx_func = yes
37919 then
37920 cat >>confdefs.h <<_ACEOF
37921 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37922 _ACEOF
37923
37924
37925 else
37926 :
37927
37928 fi
37929 done
37930
37931
37932 INET_LINK=
37933
37934 for ac_func in inet_addr
37935 do
37936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37940 echo $ECHO_N "(cached) $ECHO_C" >&6
37941 else
37942 cat >conftest.$ac_ext <<_ACEOF
37943 /* confdefs.h. */
37944 _ACEOF
37945 cat confdefs.h >>conftest.$ac_ext
37946 cat >>conftest.$ac_ext <<_ACEOF
37947 /* end confdefs.h. */
37948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37950 #define $ac_func innocuous_$ac_func
37951
37952 /* System header to define __stub macros and hopefully few prototypes,
37953 which can conflict with char $ac_func (); below.
37954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37955 <limits.h> exists even on freestanding compilers. */
37956
37957 #ifdef __STDC__
37958 # include <limits.h>
37959 #else
37960 # include <assert.h>
37961 #endif
37962
37963 #undef $ac_func
37964
37965 /* Override any GCC internal prototype to avoid an error.
37966 Use char because int might match the return type of a GCC
37967 builtin and then its argument prototype would still apply. */
37968 #ifdef __cplusplus
37969 extern "C"
37970 #endif
37971 char $ac_func ();
37972 /* The GNU C library defines this for functions which it implements
37973 to always fail with ENOSYS. Some functions are actually named
37974 something starting with __ and the normal name is an alias. */
37975 #if defined __stub_$ac_func || defined __stub___$ac_func
37976 choke me
37977 #endif
37978
37979 int
37980 main ()
37981 {
37982 return $ac_func ();
37983 ;
37984 return 0;
37985 }
37986 _ACEOF
37987 rm -f conftest.$ac_objext conftest$ac_exeext
37988 if { (ac_try="$ac_link"
37989 case "(($ac_try" in
37990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37991 *) ac_try_echo=$ac_try;;
37992 esac
37993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37994 (eval "$ac_link") 2>conftest.er1
37995 ac_status=$?
37996 grep -v '^ *+' conftest.er1 >conftest.err
37997 rm -f conftest.er1
37998 cat conftest.err >&5
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); } && {
38001 test -z "$ac_c_werror_flag" ||
38002 test ! -s conftest.err
38003 } && test -s conftest$ac_exeext &&
38004 $as_test_x conftest$ac_exeext; then
38005 eval "$as_ac_var=yes"
38006 else
38007 echo "$as_me: failed program was:" >&5
38008 sed 's/^/| /' conftest.$ac_ext >&5
38009
38010 eval "$as_ac_var=no"
38011 fi
38012
38013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38014 conftest$ac_exeext conftest.$ac_ext
38015 fi
38016 ac_res=`eval echo '${'$as_ac_var'}'`
38017 { echo "$as_me:$LINENO: result: $ac_res" >&5
38018 echo "${ECHO_T}$ac_res" >&6; }
38019 if test `eval echo '${'$as_ac_var'}'` = yes; then
38020 cat >>confdefs.h <<_ACEOF
38021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38022 _ACEOF
38023 cat >>confdefs.h <<\_ACEOF
38024 #define HAVE_INET_ADDR 1
38025 _ACEOF
38026
38027 else
38028
38029 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38030 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38031 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38033 else
38034 ac_check_lib_save_LIBS=$LIBS
38035 LIBS="-lnsl $LIBS"
38036 cat >conftest.$ac_ext <<_ACEOF
38037 /* confdefs.h. */
38038 _ACEOF
38039 cat confdefs.h >>conftest.$ac_ext
38040 cat >>conftest.$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38042
38043 /* Override any GCC internal prototype to avoid an error.
38044 Use char because int might match the return type of a GCC
38045 builtin and then its argument prototype would still apply. */
38046 #ifdef __cplusplus
38047 extern "C"
38048 #endif
38049 char inet_addr ();
38050 int
38051 main ()
38052 {
38053 return inet_addr ();
38054 ;
38055 return 0;
38056 }
38057 _ACEOF
38058 rm -f conftest.$ac_objext conftest$ac_exeext
38059 if { (ac_try="$ac_link"
38060 case "(($ac_try" in
38061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38062 *) ac_try_echo=$ac_try;;
38063 esac
38064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38065 (eval "$ac_link") 2>conftest.er1
38066 ac_status=$?
38067 grep -v '^ *+' conftest.er1 >conftest.err
38068 rm -f conftest.er1
38069 cat conftest.err >&5
38070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071 (exit $ac_status); } && {
38072 test -z "$ac_c_werror_flag" ||
38073 test ! -s conftest.err
38074 } && test -s conftest$ac_exeext &&
38075 $as_test_x conftest$ac_exeext; then
38076 ac_cv_lib_nsl_inet_addr=yes
38077 else
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38080
38081 ac_cv_lib_nsl_inet_addr=no
38082 fi
38083
38084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38085 conftest$ac_exeext conftest.$ac_ext
38086 LIBS=$ac_check_lib_save_LIBS
38087 fi
38088 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38089 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38090 if test $ac_cv_lib_nsl_inet_addr = yes; then
38091 INET_LINK="nsl"
38092 else
38093
38094 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38095 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38096 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38097 echo $ECHO_N "(cached) $ECHO_C" >&6
38098 else
38099 ac_check_lib_save_LIBS=$LIBS
38100 LIBS="-lresolv $LIBS"
38101 cat >conftest.$ac_ext <<_ACEOF
38102 /* confdefs.h. */
38103 _ACEOF
38104 cat confdefs.h >>conftest.$ac_ext
38105 cat >>conftest.$ac_ext <<_ACEOF
38106 /* end confdefs.h. */
38107
38108 /* Override any GCC internal prototype to avoid an error.
38109 Use char because int might match the return type of a GCC
38110 builtin and then its argument prototype would still apply. */
38111 #ifdef __cplusplus
38112 extern "C"
38113 #endif
38114 char inet_addr ();
38115 int
38116 main ()
38117 {
38118 return inet_addr ();
38119 ;
38120 return 0;
38121 }
38122 _ACEOF
38123 rm -f conftest.$ac_objext conftest$ac_exeext
38124 if { (ac_try="$ac_link"
38125 case "(($ac_try" in
38126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38127 *) ac_try_echo=$ac_try;;
38128 esac
38129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38130 (eval "$ac_link") 2>conftest.er1
38131 ac_status=$?
38132 grep -v '^ *+' conftest.er1 >conftest.err
38133 rm -f conftest.er1
38134 cat conftest.err >&5
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); } && {
38137 test -z "$ac_c_werror_flag" ||
38138 test ! -s conftest.err
38139 } && test -s conftest$ac_exeext &&
38140 $as_test_x conftest$ac_exeext; then
38141 ac_cv_lib_resolv_inet_addr=yes
38142 else
38143 echo "$as_me: failed program was:" >&5
38144 sed 's/^/| /' conftest.$ac_ext >&5
38145
38146 ac_cv_lib_resolv_inet_addr=no
38147 fi
38148
38149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38150 conftest$ac_exeext conftest.$ac_ext
38151 LIBS=$ac_check_lib_save_LIBS
38152 fi
38153 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38154 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38155 if test $ac_cv_lib_resolv_inet_addr = yes; then
38156 INET_LINK="resolv"
38157 else
38158
38159 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38160 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38161 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38162 echo $ECHO_N "(cached) $ECHO_C" >&6
38163 else
38164 ac_check_lib_save_LIBS=$LIBS
38165 LIBS="-lsocket $LIBS"
38166 cat >conftest.$ac_ext <<_ACEOF
38167 /* confdefs.h. */
38168 _ACEOF
38169 cat confdefs.h >>conftest.$ac_ext
38170 cat >>conftest.$ac_ext <<_ACEOF
38171 /* end confdefs.h. */
38172
38173 /* Override any GCC internal prototype to avoid an error.
38174 Use char because int might match the return type of a GCC
38175 builtin and then its argument prototype would still apply. */
38176 #ifdef __cplusplus
38177 extern "C"
38178 #endif
38179 char inet_addr ();
38180 int
38181 main ()
38182 {
38183 return inet_addr ();
38184 ;
38185 return 0;
38186 }
38187 _ACEOF
38188 rm -f conftest.$ac_objext conftest$ac_exeext
38189 if { (ac_try="$ac_link"
38190 case "(($ac_try" in
38191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38192 *) ac_try_echo=$ac_try;;
38193 esac
38194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38195 (eval "$ac_link") 2>conftest.er1
38196 ac_status=$?
38197 grep -v '^ *+' conftest.er1 >conftest.err
38198 rm -f conftest.er1
38199 cat conftest.err >&5
38200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38201 (exit $ac_status); } && {
38202 test -z "$ac_c_werror_flag" ||
38203 test ! -s conftest.err
38204 } && test -s conftest$ac_exeext &&
38205 $as_test_x conftest$ac_exeext; then
38206 ac_cv_lib_socket_inet_addr=yes
38207 else
38208 echo "$as_me: failed program was:" >&5
38209 sed 's/^/| /' conftest.$ac_ext >&5
38210
38211 ac_cv_lib_socket_inet_addr=no
38212 fi
38213
38214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38215 conftest$ac_exeext conftest.$ac_ext
38216 LIBS=$ac_check_lib_save_LIBS
38217 fi
38218 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38219 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38220 if test $ac_cv_lib_socket_inet_addr = yes; then
38221 INET_LINK="socket"
38222
38223 fi
38224
38225
38226
38227 fi
38228
38229
38230
38231 fi
38232
38233
38234
38235 fi
38236 done
38237
38238
38239
38240 for ac_func in inet_aton
38241 do
38242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38245 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38246 echo $ECHO_N "(cached) $ECHO_C" >&6
38247 else
38248 cat >conftest.$ac_ext <<_ACEOF
38249 /* confdefs.h. */
38250 _ACEOF
38251 cat confdefs.h >>conftest.$ac_ext
38252 cat >>conftest.$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38256 #define $ac_func innocuous_$ac_func
38257
38258 /* System header to define __stub macros and hopefully few prototypes,
38259 which can conflict with char $ac_func (); below.
38260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38261 <limits.h> exists even on freestanding compilers. */
38262
38263 #ifdef __STDC__
38264 # include <limits.h>
38265 #else
38266 # include <assert.h>
38267 #endif
38268
38269 #undef $ac_func
38270
38271 /* Override any GCC internal prototype to avoid an error.
38272 Use char because int might match the return type of a GCC
38273 builtin and then its argument prototype would still apply. */
38274 #ifdef __cplusplus
38275 extern "C"
38276 #endif
38277 char $ac_func ();
38278 /* The GNU C library defines this for functions which it implements
38279 to always fail with ENOSYS. Some functions are actually named
38280 something starting with __ and the normal name is an alias. */
38281 #if defined __stub_$ac_func || defined __stub___$ac_func
38282 choke me
38283 #endif
38284
38285 int
38286 main ()
38287 {
38288 return $ac_func ();
38289 ;
38290 return 0;
38291 }
38292 _ACEOF
38293 rm -f conftest.$ac_objext conftest$ac_exeext
38294 if { (ac_try="$ac_link"
38295 case "(($ac_try" in
38296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38297 *) ac_try_echo=$ac_try;;
38298 esac
38299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38300 (eval "$ac_link") 2>conftest.er1
38301 ac_status=$?
38302 grep -v '^ *+' conftest.er1 >conftest.err
38303 rm -f conftest.er1
38304 cat conftest.err >&5
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); } && {
38307 test -z "$ac_c_werror_flag" ||
38308 test ! -s conftest.err
38309 } && test -s conftest$ac_exeext &&
38310 $as_test_x conftest$ac_exeext; then
38311 eval "$as_ac_var=yes"
38312 else
38313 echo "$as_me: failed program was:" >&5
38314 sed 's/^/| /' conftest.$ac_ext >&5
38315
38316 eval "$as_ac_var=no"
38317 fi
38318
38319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38320 conftest$ac_exeext conftest.$ac_ext
38321 fi
38322 ac_res=`eval echo '${'$as_ac_var'}'`
38323 { echo "$as_me:$LINENO: result: $ac_res" >&5
38324 echo "${ECHO_T}$ac_res" >&6; }
38325 if test `eval echo '${'$as_ac_var'}'` = yes; then
38326 cat >>confdefs.h <<_ACEOF
38327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38328 _ACEOF
38329 cat >>confdefs.h <<\_ACEOF
38330 #define HAVE_INET_ATON 1
38331 _ACEOF
38332
38333 else
38334
38335 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38336 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38337 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38338 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38339 echo $ECHO_N "(cached) $ECHO_C" >&6
38340 else
38341 ac_check_lib_save_LIBS=$LIBS
38342 LIBS="-l$INET_LINK $LIBS"
38343 cat >conftest.$ac_ext <<_ACEOF
38344 /* confdefs.h. */
38345 _ACEOF
38346 cat confdefs.h >>conftest.$ac_ext
38347 cat >>conftest.$ac_ext <<_ACEOF
38348 /* end confdefs.h. */
38349
38350 /* Override any GCC internal prototype to avoid an error.
38351 Use char because int might match the return type of a GCC
38352 builtin and then its argument prototype would still apply. */
38353 #ifdef __cplusplus
38354 extern "C"
38355 #endif
38356 char inet_aton ();
38357 int
38358 main ()
38359 {
38360 return inet_aton ();
38361 ;
38362 return 0;
38363 }
38364 _ACEOF
38365 rm -f conftest.$ac_objext conftest$ac_exeext
38366 if { (ac_try="$ac_link"
38367 case "(($ac_try" in
38368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38369 *) ac_try_echo=$ac_try;;
38370 esac
38371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38372 (eval "$ac_link") 2>conftest.er1
38373 ac_status=$?
38374 grep -v '^ *+' conftest.er1 >conftest.err
38375 rm -f conftest.er1
38376 cat conftest.err >&5
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); } && {
38379 test -z "$ac_c_werror_flag" ||
38380 test ! -s conftest.err
38381 } && test -s conftest$ac_exeext &&
38382 $as_test_x conftest$ac_exeext; then
38383 eval "$as_ac_Lib=yes"
38384 else
38385 echo "$as_me: failed program was:" >&5
38386 sed 's/^/| /' conftest.$ac_ext >&5
38387
38388 eval "$as_ac_Lib=no"
38389 fi
38390
38391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38392 conftest$ac_exeext conftest.$ac_ext
38393 LIBS=$ac_check_lib_save_LIBS
38394 fi
38395 ac_res=`eval echo '${'$as_ac_Lib'}'`
38396 { echo "$as_me:$LINENO: result: $ac_res" >&5
38397 echo "${ECHO_T}$ac_res" >&6; }
38398 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38399 cat >>confdefs.h <<\_ACEOF
38400 #define HAVE_INET_ATON 1
38401 _ACEOF
38402
38403 fi
38404
38405
38406 fi
38407 done
38408
38409
38410 if test "x$INET_LINK" != "x"; then
38411 cat >>confdefs.h <<\_ACEOF
38412 #define HAVE_INET_ADDR 1
38413 _ACEOF
38414
38415 INET_LINK=" -l$INET_LINK"
38416 fi
38417
38418
38419 for wx_func in fdopen
38420 do
38421 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38422 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38423 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38424 echo $ECHO_N "(cached) $ECHO_C" >&6
38425 else
38426
38427 cat >conftest.$ac_ext <<_ACEOF
38428
38429 /* confdefs.h. */
38430 _ACEOF
38431 cat confdefs.h >>conftest.$ac_ext
38432 cat >>conftest.$ac_ext <<_ACEOF
38433 /* end confdefs.h. */
38434
38435
38436 $ac_includes_default
38437
38438 int
38439 main ()
38440 {
38441
38442 #ifndef $wx_func
38443 &$wx_func;
38444 #endif
38445
38446
38447 ;
38448 return 0;
38449 }
38450
38451 _ACEOF
38452 rm -f conftest.$ac_objext conftest$ac_exeext
38453 if { (ac_try="$ac_link"
38454 case "(($ac_try" in
38455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38456 *) ac_try_echo=$ac_try;;
38457 esac
38458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38459 (eval "$ac_link") 2>conftest.er1
38460 ac_status=$?
38461 grep -v '^ *+' conftest.er1 >conftest.err
38462 rm -f conftest.er1
38463 cat conftest.err >&5
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); } && {
38466 test -z "$ac_c_werror_flag" ||
38467 test ! -s conftest.err
38468 } && test -s conftest$ac_exeext &&
38469 $as_test_x conftest$ac_exeext; then
38470 eval wx_cv_func_$wx_func=yes
38471 else
38472 echo "$as_me: failed program was:" >&5
38473 sed 's/^/| /' conftest.$ac_ext >&5
38474
38475 eval wx_cv_func_$wx_func=no
38476 fi
38477
38478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38479 conftest$ac_exeext conftest.$ac_ext
38480
38481 fi
38482 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38483 { echo "$as_me:$LINENO: result: $ac_res" >&5
38484 echo "${ECHO_T}$ac_res" >&6; }
38485
38486 if eval test \$wx_cv_func_$wx_func = yes
38487 then
38488 cat >>confdefs.h <<_ACEOF
38489 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38490 _ACEOF
38491
38492
38493 else
38494 :
38495
38496 fi
38497 done
38498
38499
38500 if test "$wxUSE_TARSTREAM" = "yes"; then
38501
38502 for wx_func in sysconf
38503 do
38504 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38505 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38506 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38507 echo $ECHO_N "(cached) $ECHO_C" >&6
38508 else
38509
38510 cat >conftest.$ac_ext <<_ACEOF
38511
38512 /* confdefs.h. */
38513 _ACEOF
38514 cat confdefs.h >>conftest.$ac_ext
38515 cat >>conftest.$ac_ext <<_ACEOF
38516 /* end confdefs.h. */
38517
38518
38519 $ac_includes_default
38520
38521 int
38522 main ()
38523 {
38524
38525 #ifndef $wx_func
38526 &$wx_func;
38527 #endif
38528
38529
38530 ;
38531 return 0;
38532 }
38533
38534 _ACEOF
38535 rm -f conftest.$ac_objext conftest$ac_exeext
38536 if { (ac_try="$ac_link"
38537 case "(($ac_try" in
38538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38539 *) ac_try_echo=$ac_try;;
38540 esac
38541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38542 (eval "$ac_link") 2>conftest.er1
38543 ac_status=$?
38544 grep -v '^ *+' conftest.er1 >conftest.err
38545 rm -f conftest.er1
38546 cat conftest.err >&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); } && {
38549 test -z "$ac_c_werror_flag" ||
38550 test ! -s conftest.err
38551 } && test -s conftest$ac_exeext &&
38552 $as_test_x conftest$ac_exeext; then
38553 eval wx_cv_func_$wx_func=yes
38554 else
38555 echo "$as_me: failed program was:" >&5
38556 sed 's/^/| /' conftest.$ac_ext >&5
38557
38558 eval wx_cv_func_$wx_func=no
38559 fi
38560
38561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38562 conftest$ac_exeext conftest.$ac_ext
38563
38564 fi
38565 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38566 { echo "$as_me:$LINENO: result: $ac_res" >&5
38567 echo "${ECHO_T}$ac_res" >&6; }
38568
38569 if eval test \$wx_cv_func_$wx_func = yes
38570 then
38571 cat >>confdefs.h <<_ACEOF
38572 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38573 _ACEOF
38574
38575
38576 else
38577 :
38578
38579 fi
38580 done
38581
38582
38583
38584 for wx_func in getpwuid_r
38585 do
38586 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38587 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38588 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38589 echo $ECHO_N "(cached) $ECHO_C" >&6
38590 else
38591
38592 cat >conftest.$ac_ext <<_ACEOF
38593
38594 /* confdefs.h. */
38595 _ACEOF
38596 cat confdefs.h >>conftest.$ac_ext
38597 cat >>conftest.$ac_ext <<_ACEOF
38598 /* end confdefs.h. */
38599
38600
38601 #define _REENTRANT
38602 #include <pwd.h>
38603
38604 $ac_includes_default
38605
38606 int
38607 main ()
38608 {
38609
38610 #ifndef $wx_func
38611 &$wx_func;
38612 #endif
38613
38614 struct passwd pw, *ppw;
38615 char buf[1024];
38616 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38617
38618
38619 ;
38620 return 0;
38621 }
38622
38623 _ACEOF
38624 rm -f conftest.$ac_objext conftest$ac_exeext
38625 if { (ac_try="$ac_link"
38626 case "(($ac_try" in
38627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38628 *) ac_try_echo=$ac_try;;
38629 esac
38630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38631 (eval "$ac_link") 2>conftest.er1
38632 ac_status=$?
38633 grep -v '^ *+' conftest.er1 >conftest.err
38634 rm -f conftest.er1
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } && {
38638 test -z "$ac_c_werror_flag" ||
38639 test ! -s conftest.err
38640 } && test -s conftest$ac_exeext &&
38641 $as_test_x conftest$ac_exeext; then
38642 eval wx_cv_func_$wx_func=yes
38643 else
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.$ac_ext >&5
38646
38647 eval wx_cv_func_$wx_func=no
38648 fi
38649
38650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38651 conftest$ac_exeext conftest.$ac_ext
38652
38653 fi
38654 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38655 { echo "$as_me:$LINENO: result: $ac_res" >&5
38656 echo "${ECHO_T}$ac_res" >&6; }
38657
38658 if eval test \$wx_cv_func_$wx_func = yes
38659 then
38660 cat >>confdefs.h <<_ACEOF
38661 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38662 _ACEOF
38663
38664
38665 else
38666 :
38667
38668 fi
38669 done
38670
38671
38672
38673 for wx_func in getgrgid_r
38674 do
38675 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38676 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38677 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38678 echo $ECHO_N "(cached) $ECHO_C" >&6
38679 else
38680
38681 cat >conftest.$ac_ext <<_ACEOF
38682
38683 /* confdefs.h. */
38684 _ACEOF
38685 cat confdefs.h >>conftest.$ac_ext
38686 cat >>conftest.$ac_ext <<_ACEOF
38687 /* end confdefs.h. */
38688
38689
38690 #define _REENTRANT
38691 #include <grp.h>
38692
38693 $ac_includes_default
38694
38695 int
38696 main ()
38697 {
38698
38699 #ifndef $wx_func
38700 &$wx_func;
38701 #endif
38702
38703 struct group grp, *pgrp;
38704 char buf[1024];
38705 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38706
38707
38708 ;
38709 return 0;
38710 }
38711
38712 _ACEOF
38713 rm -f conftest.$ac_objext conftest$ac_exeext
38714 if { (ac_try="$ac_link"
38715 case "(($ac_try" in
38716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38717 *) ac_try_echo=$ac_try;;
38718 esac
38719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38720 (eval "$ac_link") 2>conftest.er1
38721 ac_status=$?
38722 grep -v '^ *+' conftest.er1 >conftest.err
38723 rm -f conftest.er1
38724 cat conftest.err >&5
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); } && {
38727 test -z "$ac_c_werror_flag" ||
38728 test ! -s conftest.err
38729 } && test -s conftest$ac_exeext &&
38730 $as_test_x conftest$ac_exeext; then
38731 eval wx_cv_func_$wx_func=yes
38732 else
38733 echo "$as_me: failed program was:" >&5
38734 sed 's/^/| /' conftest.$ac_ext >&5
38735
38736 eval wx_cv_func_$wx_func=no
38737 fi
38738
38739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38740 conftest$ac_exeext conftest.$ac_ext
38741
38742 fi
38743 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38744 { echo "$as_me:$LINENO: result: $ac_res" >&5
38745 echo "${ECHO_T}$ac_res" >&6; }
38746
38747 if eval test \$wx_cv_func_$wx_func = yes
38748 then
38749 cat >>confdefs.h <<_ACEOF
38750 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38751 _ACEOF
38752
38753
38754 else
38755 :
38756
38757 fi
38758 done
38759
38760 fi
38761
38762 fi
38763
38764
38765
38766 cat >confcache <<\_ACEOF
38767 # This file is a shell script that caches the results of configure
38768 # tests run on this system so they can be shared between configure
38769 # scripts and configure runs, see configure's option --config-cache.
38770 # It is not useful on other systems. If it contains results you don't
38771 # want to keep, you may remove or edit it.
38772 #
38773 # config.status only pays attention to the cache file if you give it
38774 # the --recheck option to rerun configure.
38775 #
38776 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38777 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38778 # following values.
38779
38780 _ACEOF
38781
38782 # The following way of writing the cache mishandles newlines in values,
38783 # but we know of no workaround that is simple, portable, and efficient.
38784 # So, we kill variables containing newlines.
38785 # Ultrix sh set writes to stderr and can't be redirected directly,
38786 # and sets the high bit in the cache file unless we assign to the vars.
38787 (
38788 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38789 eval ac_val=\$$ac_var
38790 case $ac_val in #(
38791 *${as_nl}*)
38792 case $ac_var in #(
38793 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38794 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38795 esac
38796 case $ac_var in #(
38797 _ | IFS | as_nl) ;; #(
38798 *) $as_unset $ac_var ;;
38799 esac ;;
38800 esac
38801 done
38802
38803 (set) 2>&1 |
38804 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38805 *${as_nl}ac_space=\ *)
38806 # `set' does not quote correctly, so add quotes (double-quote
38807 # substitution turns \\\\ into \\, and sed turns \\ into \).
38808 sed -n \
38809 "s/'/'\\\\''/g;
38810 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38811 ;; #(
38812 *)
38813 # `set' quotes correctly as required by POSIX, so do not add quotes.
38814 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38815 ;;
38816 esac |
38817 sort
38818 ) |
38819 sed '
38820 /^ac_cv_env_/b end
38821 t clear
38822 :clear
38823 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38824 t end
38825 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38826 :end' >>confcache
38827 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38828 if test -w "$cache_file"; then
38829 test "x$cache_file" != "x/dev/null" &&
38830 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38831 echo "$as_me: updating cache $cache_file" >&6;}
38832 cat confcache >$cache_file
38833 else
38834 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38835 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38836 fi
38837 fi
38838 rm -f confcache
38839
38840
38841 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38842
38843
38844 THREADS_LINK=
38845 THREADS_CFLAGS=
38846
38847 if test "$wxUSE_THREADS" = "yes" ; then
38848 if test "$USE_BEOS" = 1; then
38849 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38850 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38851 wxUSE_THREADS="no"
38852 fi
38853 fi
38854
38855 if test "$wxUSE_THREADS" = "yes" ; then
38856
38857
38858 THREAD_OPTS="-pthread"
38859 if test "x$SUNCXX" = xyes; then
38860 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38861 fi
38862
38863 case "${host}" in
38864 *-*-solaris2* | *-*-sunos4* )
38865 if test "x$GCC" = "xyes"; then
38866 THREAD_OPTS="-pthreads $THREAD_OPTS"
38867 fi
38868 ;;
38869 *-*-freebsd*)
38870 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38871 ;;
38872 *-*-darwin* | *-*-cygwin* )
38873 THREAD_OPTS=""
38874 ;;
38875 *-*-aix*)
38876 THREAD_OPTS="pthreads"
38877 ;;
38878 *-hp-hpux* )
38879 if test "x$GCC" = "xyes"; then
38880 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38881 THREAD_OPTS=""
38882 else
38883 THREAD_OPTS="-mt"
38884 fi
38885 ;;
38886
38887 *-*-irix* )
38888 if test "x$GCC" = "xyes"; then
38889 THREAD_OPTS=""
38890 fi
38891 ;;
38892
38893 *-*-*UnixWare*)
38894 if test "x$GCC" != "xyes"; then
38895 THREAD_OPTS="-Ethread"
38896 fi
38897 ;;
38898 esac
38899
38900 THREAD_OPTS="$THREAD_OPTS pthread none"
38901
38902 THREADS_OK=no
38903 for flag in $THREAD_OPTS; do
38904 case $flag in
38905 none)
38906 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38907 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38908 ;;
38909
38910 -*)
38911 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38912 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38913 THREADS_CFLAGS="$flag"
38914 ;;
38915
38916 *)
38917 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38918 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38919 THREADS_LINK="-l$flag"
38920 ;;
38921 esac
38922
38923 save_LIBS="$LIBS"
38924 save_CFLAGS="$CFLAGS"
38925 LIBS="$THREADS_LINK $LIBS"
38926 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38927
38928 cat >conftest.$ac_ext <<_ACEOF
38929 /* confdefs.h. */
38930 _ACEOF
38931 cat confdefs.h >>conftest.$ac_ext
38932 cat >>conftest.$ac_ext <<_ACEOF
38933 /* end confdefs.h. */
38934 #include <pthread.h>
38935 int
38936 main ()
38937 {
38938 pthread_create(0,0,0,0);
38939 ;
38940 return 0;
38941 }
38942 _ACEOF
38943 rm -f conftest.$ac_objext conftest$ac_exeext
38944 if { (ac_try="$ac_link"
38945 case "(($ac_try" in
38946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38947 *) ac_try_echo=$ac_try;;
38948 esac
38949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38950 (eval "$ac_link") 2>conftest.er1
38951 ac_status=$?
38952 grep -v '^ *+' conftest.er1 >conftest.err
38953 rm -f conftest.er1
38954 cat conftest.err >&5
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); } && {
38957 test -z "$ac_c_werror_flag" ||
38958 test ! -s conftest.err
38959 } && test -s conftest$ac_exeext &&
38960 $as_test_x conftest$ac_exeext; then
38961 THREADS_OK=yes
38962 else
38963 echo "$as_me: failed program was:" >&5
38964 sed 's/^/| /' conftest.$ac_ext >&5
38965
38966
38967 fi
38968
38969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38970 conftest$ac_exeext conftest.$ac_ext
38971
38972 LIBS="$save_LIBS"
38973 CFLAGS="$save_CFLAGS"
38974
38975 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38976 echo "${ECHO_T}$THREADS_OK" >&6; }
38977 if test "x$THREADS_OK" = "xyes"; then
38978 break;
38979 fi
38980
38981 THREADS_LINK=""
38982 THREADS_CFLAGS=""
38983 done
38984
38985 if test "x$THREADS_OK" != "xyes"; then
38986 wxUSE_THREADS=no
38987 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38988 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38989 else
38990 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38991 LIBS="$THREADS_LINK $LIBS"
38992
38993 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38994 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38995 flag=no
38996 case "${host}" in
38997 *-aix*)
38998 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38999 flag="-D_THREAD_SAFE"
39000 ;;
39001 *-freebsd*)
39002 flag="-D_THREAD_SAFE"
39003 ;;
39004 *-hp-hpux* )
39005 flag="-D_REENTRANT"
39006 if test "x$GCC" != "xyes"; then
39007 flag="$flag -D_RWSTD_MULTI_THREAD"
39008 fi
39009 ;;
39010 *solaris* | alpha*-osf*)
39011 flag="-D_REENTRANT"
39012 ;;
39013 esac
39014 { echo "$as_me:$LINENO: result: ${flag}" >&5
39015 echo "${ECHO_T}${flag}" >&6; }
39016 if test "x$flag" != xno; then
39017 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39018 fi
39019
39020 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39021 fi
39022 fi
39023
39024 if test "$wxUSE_THREADS" = "yes" ; then
39025
39026 for ac_func in thr_setconcurrency
39027 do
39028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39029 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39031 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39032 echo $ECHO_N "(cached) $ECHO_C" >&6
39033 else
39034 cat >conftest.$ac_ext <<_ACEOF
39035 /* confdefs.h. */
39036 _ACEOF
39037 cat confdefs.h >>conftest.$ac_ext
39038 cat >>conftest.$ac_ext <<_ACEOF
39039 /* end confdefs.h. */
39040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39042 #define $ac_func innocuous_$ac_func
39043
39044 /* System header to define __stub macros and hopefully few prototypes,
39045 which can conflict with char $ac_func (); below.
39046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39047 <limits.h> exists even on freestanding compilers. */
39048
39049 #ifdef __STDC__
39050 # include <limits.h>
39051 #else
39052 # include <assert.h>
39053 #endif
39054
39055 #undef $ac_func
39056
39057 /* Override any GCC internal prototype to avoid an error.
39058 Use char because int might match the return type of a GCC
39059 builtin and then its argument prototype would still apply. */
39060 #ifdef __cplusplus
39061 extern "C"
39062 #endif
39063 char $ac_func ();
39064 /* The GNU C library defines this for functions which it implements
39065 to always fail with ENOSYS. Some functions are actually named
39066 something starting with __ and the normal name is an alias. */
39067 #if defined __stub_$ac_func || defined __stub___$ac_func
39068 choke me
39069 #endif
39070
39071 int
39072 main ()
39073 {
39074 return $ac_func ();
39075 ;
39076 return 0;
39077 }
39078 _ACEOF
39079 rm -f conftest.$ac_objext conftest$ac_exeext
39080 if { (ac_try="$ac_link"
39081 case "(($ac_try" in
39082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39083 *) ac_try_echo=$ac_try;;
39084 esac
39085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39086 (eval "$ac_link") 2>conftest.er1
39087 ac_status=$?
39088 grep -v '^ *+' conftest.er1 >conftest.err
39089 rm -f conftest.er1
39090 cat conftest.err >&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); } && {
39093 test -z "$ac_c_werror_flag" ||
39094 test ! -s conftest.err
39095 } && test -s conftest$ac_exeext &&
39096 $as_test_x conftest$ac_exeext; then
39097 eval "$as_ac_var=yes"
39098 else
39099 echo "$as_me: failed program was:" >&5
39100 sed 's/^/| /' conftest.$ac_ext >&5
39101
39102 eval "$as_ac_var=no"
39103 fi
39104
39105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39106 conftest$ac_exeext conftest.$ac_ext
39107 fi
39108 ac_res=`eval echo '${'$as_ac_var'}'`
39109 { echo "$as_me:$LINENO: result: $ac_res" >&5
39110 echo "${ECHO_T}$ac_res" >&6; }
39111 if test `eval echo '${'$as_ac_var'}'` = yes; then
39112 cat >>confdefs.h <<_ACEOF
39113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39114 _ACEOF
39115
39116 fi
39117 done
39118
39119
39120 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39121 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39122 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39123 echo $ECHO_N "(cached) $ECHO_C" >&6
39124 else
39125
39126 ac_ext=cpp
39127 ac_cpp='$CXXCPP $CPPFLAGS'
39128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39131
39132 cat >conftest.$ac_ext <<_ACEOF
39133 /* confdefs.h. */
39134 _ACEOF
39135 cat confdefs.h >>conftest.$ac_ext
39136 cat >>conftest.$ac_ext <<_ACEOF
39137 /* end confdefs.h. */
39138 #include <pthread.h>
39139 void ThreadCleanupFunc(void *p);
39140
39141 int
39142 main ()
39143 {
39144
39145 void *p;
39146 pthread_cleanup_push(ThreadCleanupFunc, p);
39147 pthread_cleanup_pop(0);
39148
39149 ;
39150 return 0;
39151 }
39152 _ACEOF
39153 rm -f conftest.$ac_objext
39154 if { (ac_try="$ac_compile"
39155 case "(($ac_try" in
39156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39157 *) ac_try_echo=$ac_try;;
39158 esac
39159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39160 (eval "$ac_compile") 2>conftest.er1
39161 ac_status=$?
39162 grep -v '^ *+' conftest.er1 >conftest.err
39163 rm -f conftest.er1
39164 cat conftest.err >&5
39165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39166 (exit $ac_status); } && {
39167 test -z "$ac_cxx_werror_flag" ||
39168 test ! -s conftest.err
39169 } && test -s conftest.$ac_objext; then
39170
39171 wx_cv_func_pthread_cleanup=yes
39172
39173 else
39174 echo "$as_me: failed program was:" >&5
39175 sed 's/^/| /' conftest.$ac_ext >&5
39176
39177
39178 wx_cv_func_pthread_cleanup=no
39179
39180
39181 fi
39182
39183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39184 ac_ext=c
39185 ac_cpp='$CPP $CPPFLAGS'
39186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39189
39190
39191 fi
39192 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39193 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39194 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39195 cat >>confdefs.h <<\_ACEOF
39196 #define wxHAVE_PTHREAD_CLEANUP 1
39197 _ACEOF
39198
39199 fi
39200
39201
39202 for ac_header in sched.h
39203 do
39204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39205 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39208 echo $ECHO_N "(cached) $ECHO_C" >&6
39209 else
39210 cat >conftest.$ac_ext <<_ACEOF
39211 /* confdefs.h. */
39212 _ACEOF
39213 cat confdefs.h >>conftest.$ac_ext
39214 cat >>conftest.$ac_ext <<_ACEOF
39215 /* end confdefs.h. */
39216 $ac_includes_default
39217
39218 #include <$ac_header>
39219 _ACEOF
39220 rm -f conftest.$ac_objext
39221 if { (ac_try="$ac_compile"
39222 case "(($ac_try" in
39223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39224 *) ac_try_echo=$ac_try;;
39225 esac
39226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39227 (eval "$ac_compile") 2>conftest.er1
39228 ac_status=$?
39229 grep -v '^ *+' conftest.er1 >conftest.err
39230 rm -f conftest.er1
39231 cat conftest.err >&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); } && {
39234 test -z "$ac_c_werror_flag" ||
39235 test ! -s conftest.err
39236 } && test -s conftest.$ac_objext; then
39237 eval "$as_ac_Header=yes"
39238 else
39239 echo "$as_me: failed program was:" >&5
39240 sed 's/^/| /' conftest.$ac_ext >&5
39241
39242 eval "$as_ac_Header=no"
39243 fi
39244
39245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39246 fi
39247 ac_res=`eval echo '${'$as_ac_Header'}'`
39248 { echo "$as_me:$LINENO: result: $ac_res" >&5
39249 echo "${ECHO_T}$ac_res" >&6; }
39250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39251 cat >>confdefs.h <<_ACEOF
39252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39253 _ACEOF
39254
39255 fi
39256
39257 done
39258
39259 if test "$ac_cv_header_sched_h" = "yes"; then
39260 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39261 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39262 if test "${ac_cv_func_sched_yield+set}" = set; then
39263 echo $ECHO_N "(cached) $ECHO_C" >&6
39264 else
39265 cat >conftest.$ac_ext <<_ACEOF
39266 /* confdefs.h. */
39267 _ACEOF
39268 cat confdefs.h >>conftest.$ac_ext
39269 cat >>conftest.$ac_ext <<_ACEOF
39270 /* end confdefs.h. */
39271 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39273 #define sched_yield innocuous_sched_yield
39274
39275 /* System header to define __stub macros and hopefully few prototypes,
39276 which can conflict with char sched_yield (); below.
39277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39278 <limits.h> exists even on freestanding compilers. */
39279
39280 #ifdef __STDC__
39281 # include <limits.h>
39282 #else
39283 # include <assert.h>
39284 #endif
39285
39286 #undef sched_yield
39287
39288 /* Override any GCC internal prototype to avoid an error.
39289 Use char because int might match the return type of a GCC
39290 builtin and then its argument prototype would still apply. */
39291 #ifdef __cplusplus
39292 extern "C"
39293 #endif
39294 char sched_yield ();
39295 /* The GNU C library defines this for functions which it implements
39296 to always fail with ENOSYS. Some functions are actually named
39297 something starting with __ and the normal name is an alias. */
39298 #if defined __stub_sched_yield || defined __stub___sched_yield
39299 choke me
39300 #endif
39301
39302 int
39303 main ()
39304 {
39305 return sched_yield ();
39306 ;
39307 return 0;
39308 }
39309 _ACEOF
39310 rm -f conftest.$ac_objext conftest$ac_exeext
39311 if { (ac_try="$ac_link"
39312 case "(($ac_try" in
39313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39314 *) ac_try_echo=$ac_try;;
39315 esac
39316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39317 (eval "$ac_link") 2>conftest.er1
39318 ac_status=$?
39319 grep -v '^ *+' conftest.er1 >conftest.err
39320 rm -f conftest.er1
39321 cat conftest.err >&5
39322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39323 (exit $ac_status); } && {
39324 test -z "$ac_c_werror_flag" ||
39325 test ! -s conftest.err
39326 } && test -s conftest$ac_exeext &&
39327 $as_test_x conftest$ac_exeext; then
39328 ac_cv_func_sched_yield=yes
39329 else
39330 echo "$as_me: failed program was:" >&5
39331 sed 's/^/| /' conftest.$ac_ext >&5
39332
39333 ac_cv_func_sched_yield=no
39334 fi
39335
39336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39337 conftest$ac_exeext conftest.$ac_ext
39338 fi
39339 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39340 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39341 if test $ac_cv_func_sched_yield = yes; then
39342 cat >>confdefs.h <<\_ACEOF
39343 #define HAVE_SCHED_YIELD 1
39344 _ACEOF
39345
39346 else
39347
39348 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39349 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39350 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39351 echo $ECHO_N "(cached) $ECHO_C" >&6
39352 else
39353 ac_check_lib_save_LIBS=$LIBS
39354 LIBS="-lposix4 $LIBS"
39355 cat >conftest.$ac_ext <<_ACEOF
39356 /* confdefs.h. */
39357 _ACEOF
39358 cat confdefs.h >>conftest.$ac_ext
39359 cat >>conftest.$ac_ext <<_ACEOF
39360 /* end confdefs.h. */
39361
39362 /* Override any GCC internal prototype to avoid an error.
39363 Use char because int might match the return type of a GCC
39364 builtin and then its argument prototype would still apply. */
39365 #ifdef __cplusplus
39366 extern "C"
39367 #endif
39368 char sched_yield ();
39369 int
39370 main ()
39371 {
39372 return sched_yield ();
39373 ;
39374 return 0;
39375 }
39376 _ACEOF
39377 rm -f conftest.$ac_objext conftest$ac_exeext
39378 if { (ac_try="$ac_link"
39379 case "(($ac_try" in
39380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39381 *) ac_try_echo=$ac_try;;
39382 esac
39383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39384 (eval "$ac_link") 2>conftest.er1
39385 ac_status=$?
39386 grep -v '^ *+' conftest.er1 >conftest.err
39387 rm -f conftest.er1
39388 cat conftest.err >&5
39389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390 (exit $ac_status); } && {
39391 test -z "$ac_c_werror_flag" ||
39392 test ! -s conftest.err
39393 } && test -s conftest$ac_exeext &&
39394 $as_test_x conftest$ac_exeext; then
39395 ac_cv_lib_posix4_sched_yield=yes
39396 else
39397 echo "$as_me: failed program was:" >&5
39398 sed 's/^/| /' conftest.$ac_ext >&5
39399
39400 ac_cv_lib_posix4_sched_yield=no
39401 fi
39402
39403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39404 conftest$ac_exeext conftest.$ac_ext
39405 LIBS=$ac_check_lib_save_LIBS
39406 fi
39407 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39408 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39409 if test $ac_cv_lib_posix4_sched_yield = yes; then
39410 cat >>confdefs.h <<\_ACEOF
39411 #define HAVE_SCHED_YIELD 1
39412 _ACEOF
39413 POSIX4_LINK=" -lposix4"
39414 else
39415 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39416 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39417
39418 fi
39419
39420
39421
39422 fi
39423
39424 fi
39425
39426 HAVE_PRIOR_FUNCS=0
39427 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39428 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39429 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39430 echo $ECHO_N "(cached) $ECHO_C" >&6
39431 else
39432 cat >conftest.$ac_ext <<_ACEOF
39433 /* confdefs.h. */
39434 _ACEOF
39435 cat confdefs.h >>conftest.$ac_ext
39436 cat >>conftest.$ac_ext <<_ACEOF
39437 /* end confdefs.h. */
39438 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39440 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39441
39442 /* System header to define __stub macros and hopefully few prototypes,
39443 which can conflict with char pthread_attr_getschedpolicy (); below.
39444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39445 <limits.h> exists even on freestanding compilers. */
39446
39447 #ifdef __STDC__
39448 # include <limits.h>
39449 #else
39450 # include <assert.h>
39451 #endif
39452
39453 #undef pthread_attr_getschedpolicy
39454
39455 /* Override any GCC internal prototype to avoid an error.
39456 Use char because int might match the return type of a GCC
39457 builtin and then its argument prototype would still apply. */
39458 #ifdef __cplusplus
39459 extern "C"
39460 #endif
39461 char pthread_attr_getschedpolicy ();
39462 /* The GNU C library defines this for functions which it implements
39463 to always fail with ENOSYS. Some functions are actually named
39464 something starting with __ and the normal name is an alias. */
39465 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39466 choke me
39467 #endif
39468
39469 int
39470 main ()
39471 {
39472 return pthread_attr_getschedpolicy ();
39473 ;
39474 return 0;
39475 }
39476 _ACEOF
39477 rm -f conftest.$ac_objext conftest$ac_exeext
39478 if { (ac_try="$ac_link"
39479 case "(($ac_try" in
39480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39481 *) ac_try_echo=$ac_try;;
39482 esac
39483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39484 (eval "$ac_link") 2>conftest.er1
39485 ac_status=$?
39486 grep -v '^ *+' conftest.er1 >conftest.err
39487 rm -f conftest.er1
39488 cat conftest.err >&5
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); } && {
39491 test -z "$ac_c_werror_flag" ||
39492 test ! -s conftest.err
39493 } && test -s conftest$ac_exeext &&
39494 $as_test_x conftest$ac_exeext; then
39495 ac_cv_func_pthread_attr_getschedpolicy=yes
39496 else
39497 echo "$as_me: failed program was:" >&5
39498 sed 's/^/| /' conftest.$ac_ext >&5
39499
39500 ac_cv_func_pthread_attr_getschedpolicy=no
39501 fi
39502
39503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39504 conftest$ac_exeext conftest.$ac_ext
39505 fi
39506 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39507 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39508 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39509 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39510 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39511 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39512 echo $ECHO_N "(cached) $ECHO_C" >&6
39513 else
39514 cat >conftest.$ac_ext <<_ACEOF
39515 /* confdefs.h. */
39516 _ACEOF
39517 cat confdefs.h >>conftest.$ac_ext
39518 cat >>conftest.$ac_ext <<_ACEOF
39519 /* end confdefs.h. */
39520 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39522 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39523
39524 /* System header to define __stub macros and hopefully few prototypes,
39525 which can conflict with char pthread_attr_setschedparam (); below.
39526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39527 <limits.h> exists even on freestanding compilers. */
39528
39529 #ifdef __STDC__
39530 # include <limits.h>
39531 #else
39532 # include <assert.h>
39533 #endif
39534
39535 #undef pthread_attr_setschedparam
39536
39537 /* Override any GCC internal prototype to avoid an error.
39538 Use char because int might match the return type of a GCC
39539 builtin and then its argument prototype would still apply. */
39540 #ifdef __cplusplus
39541 extern "C"
39542 #endif
39543 char pthread_attr_setschedparam ();
39544 /* The GNU C library defines this for functions which it implements
39545 to always fail with ENOSYS. Some functions are actually named
39546 something starting with __ and the normal name is an alias. */
39547 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39548 choke me
39549 #endif
39550
39551 int
39552 main ()
39553 {
39554 return pthread_attr_setschedparam ();
39555 ;
39556 return 0;
39557 }
39558 _ACEOF
39559 rm -f conftest.$ac_objext conftest$ac_exeext
39560 if { (ac_try="$ac_link"
39561 case "(($ac_try" in
39562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39563 *) ac_try_echo=$ac_try;;
39564 esac
39565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39566 (eval "$ac_link") 2>conftest.er1
39567 ac_status=$?
39568 grep -v '^ *+' conftest.er1 >conftest.err
39569 rm -f conftest.er1
39570 cat conftest.err >&5
39571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39572 (exit $ac_status); } && {
39573 test -z "$ac_c_werror_flag" ||
39574 test ! -s conftest.err
39575 } && test -s conftest$ac_exeext &&
39576 $as_test_x conftest$ac_exeext; then
39577 ac_cv_func_pthread_attr_setschedparam=yes
39578 else
39579 echo "$as_me: failed program was:" >&5
39580 sed 's/^/| /' conftest.$ac_ext >&5
39581
39582 ac_cv_func_pthread_attr_setschedparam=no
39583 fi
39584
39585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39586 conftest$ac_exeext conftest.$ac_ext
39587 fi
39588 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39589 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39590 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39591 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39592 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39593 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39594 echo $ECHO_N "(cached) $ECHO_C" >&6
39595 else
39596 cat >conftest.$ac_ext <<_ACEOF
39597 /* confdefs.h. */
39598 _ACEOF
39599 cat confdefs.h >>conftest.$ac_ext
39600 cat >>conftest.$ac_ext <<_ACEOF
39601 /* end confdefs.h. */
39602 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39604 #define sched_get_priority_max innocuous_sched_get_priority_max
39605
39606 /* System header to define __stub macros and hopefully few prototypes,
39607 which can conflict with char sched_get_priority_max (); below.
39608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39609 <limits.h> exists even on freestanding compilers. */
39610
39611 #ifdef __STDC__
39612 # include <limits.h>
39613 #else
39614 # include <assert.h>
39615 #endif
39616
39617 #undef sched_get_priority_max
39618
39619 /* Override any GCC internal prototype to avoid an error.
39620 Use char because int might match the return type of a GCC
39621 builtin and then its argument prototype would still apply. */
39622 #ifdef __cplusplus
39623 extern "C"
39624 #endif
39625 char sched_get_priority_max ();
39626 /* The GNU C library defines this for functions which it implements
39627 to always fail with ENOSYS. Some functions are actually named
39628 something starting with __ and the normal name is an alias. */
39629 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39630 choke me
39631 #endif
39632
39633 int
39634 main ()
39635 {
39636 return sched_get_priority_max ();
39637 ;
39638 return 0;
39639 }
39640 _ACEOF
39641 rm -f conftest.$ac_objext conftest$ac_exeext
39642 if { (ac_try="$ac_link"
39643 case "(($ac_try" in
39644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39645 *) ac_try_echo=$ac_try;;
39646 esac
39647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39648 (eval "$ac_link") 2>conftest.er1
39649 ac_status=$?
39650 grep -v '^ *+' conftest.er1 >conftest.err
39651 rm -f conftest.er1
39652 cat conftest.err >&5
39653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39654 (exit $ac_status); } && {
39655 test -z "$ac_c_werror_flag" ||
39656 test ! -s conftest.err
39657 } && test -s conftest$ac_exeext &&
39658 $as_test_x conftest$ac_exeext; then
39659 ac_cv_func_sched_get_priority_max=yes
39660 else
39661 echo "$as_me: failed program was:" >&5
39662 sed 's/^/| /' conftest.$ac_ext >&5
39663
39664 ac_cv_func_sched_get_priority_max=no
39665 fi
39666
39667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39668 conftest$ac_exeext conftest.$ac_ext
39669 fi
39670 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39671 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39672 if test $ac_cv_func_sched_get_priority_max = yes; then
39673 HAVE_PRIOR_FUNCS=1
39674 else
39675 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39676 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39677 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39678 echo $ECHO_N "(cached) $ECHO_C" >&6
39679 else
39680 ac_check_lib_save_LIBS=$LIBS
39681 LIBS="-lposix4 $LIBS"
39682 cat >conftest.$ac_ext <<_ACEOF
39683 /* confdefs.h. */
39684 _ACEOF
39685 cat confdefs.h >>conftest.$ac_ext
39686 cat >>conftest.$ac_ext <<_ACEOF
39687 /* end confdefs.h. */
39688
39689 /* Override any GCC internal prototype to avoid an error.
39690 Use char because int might match the return type of a GCC
39691 builtin and then its argument prototype would still apply. */
39692 #ifdef __cplusplus
39693 extern "C"
39694 #endif
39695 char sched_get_priority_max ();
39696 int
39697 main ()
39698 {
39699 return sched_get_priority_max ();
39700 ;
39701 return 0;
39702 }
39703 _ACEOF
39704 rm -f conftest.$ac_objext conftest$ac_exeext
39705 if { (ac_try="$ac_link"
39706 case "(($ac_try" in
39707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39708 *) ac_try_echo=$ac_try;;
39709 esac
39710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39711 (eval "$ac_link") 2>conftest.er1
39712 ac_status=$?
39713 grep -v '^ *+' conftest.er1 >conftest.err
39714 rm -f conftest.er1
39715 cat conftest.err >&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } && {
39718 test -z "$ac_c_werror_flag" ||
39719 test ! -s conftest.err
39720 } && test -s conftest$ac_exeext &&
39721 $as_test_x conftest$ac_exeext; then
39722 ac_cv_lib_posix4_sched_get_priority_max=yes
39723 else
39724 echo "$as_me: failed program was:" >&5
39725 sed 's/^/| /' conftest.$ac_ext >&5
39726
39727 ac_cv_lib_posix4_sched_get_priority_max=no
39728 fi
39729
39730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39731 conftest$ac_exeext conftest.$ac_ext
39732 LIBS=$ac_check_lib_save_LIBS
39733 fi
39734 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39735 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39736 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39737
39738 HAVE_PRIOR_FUNCS=1
39739 POSIX4_LINK=" -lposix4"
39740
39741 fi
39742
39743
39744 fi
39745
39746
39747 fi
39748
39749
39750 fi
39751
39752
39753 if test "$HAVE_PRIOR_FUNCS" = 1; then
39754 cat >>confdefs.h <<\_ACEOF
39755 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39756 _ACEOF
39757
39758 else
39759 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39760 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39761 fi
39762
39763 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39764 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39765 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39766 echo $ECHO_N "(cached) $ECHO_C" >&6
39767 else
39768 cat >conftest.$ac_ext <<_ACEOF
39769 /* confdefs.h. */
39770 _ACEOF
39771 cat confdefs.h >>conftest.$ac_ext
39772 cat >>conftest.$ac_ext <<_ACEOF
39773 /* end confdefs.h. */
39774 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39776 #define pthread_cancel innocuous_pthread_cancel
39777
39778 /* System header to define __stub macros and hopefully few prototypes,
39779 which can conflict with char pthread_cancel (); below.
39780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39781 <limits.h> exists even on freestanding compilers. */
39782
39783 #ifdef __STDC__
39784 # include <limits.h>
39785 #else
39786 # include <assert.h>
39787 #endif
39788
39789 #undef pthread_cancel
39790
39791 /* Override any GCC internal prototype to avoid an error.
39792 Use char because int might match the return type of a GCC
39793 builtin and then its argument prototype would still apply. */
39794 #ifdef __cplusplus
39795 extern "C"
39796 #endif
39797 char pthread_cancel ();
39798 /* The GNU C library defines this for functions which it implements
39799 to always fail with ENOSYS. Some functions are actually named
39800 something starting with __ and the normal name is an alias. */
39801 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39802 choke me
39803 #endif
39804
39805 int
39806 main ()
39807 {
39808 return pthread_cancel ();
39809 ;
39810 return 0;
39811 }
39812 _ACEOF
39813 rm -f conftest.$ac_objext conftest$ac_exeext
39814 if { (ac_try="$ac_link"
39815 case "(($ac_try" in
39816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39817 *) ac_try_echo=$ac_try;;
39818 esac
39819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39820 (eval "$ac_link") 2>conftest.er1
39821 ac_status=$?
39822 grep -v '^ *+' conftest.er1 >conftest.err
39823 rm -f conftest.er1
39824 cat conftest.err >&5
39825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); } && {
39827 test -z "$ac_c_werror_flag" ||
39828 test ! -s conftest.err
39829 } && test -s conftest$ac_exeext &&
39830 $as_test_x conftest$ac_exeext; then
39831 ac_cv_func_pthread_cancel=yes
39832 else
39833 echo "$as_me: failed program was:" >&5
39834 sed 's/^/| /' conftest.$ac_ext >&5
39835
39836 ac_cv_func_pthread_cancel=no
39837 fi
39838
39839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39840 conftest$ac_exeext conftest.$ac_ext
39841 fi
39842 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39843 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39844 if test $ac_cv_func_pthread_cancel = yes; then
39845 cat >>confdefs.h <<\_ACEOF
39846 #define HAVE_PTHREAD_CANCEL 1
39847 _ACEOF
39848
39849 else
39850 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39851 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39852 fi
39853
39854
39855 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39856 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39857 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39858 echo $ECHO_N "(cached) $ECHO_C" >&6
39859 else
39860 cat >conftest.$ac_ext <<_ACEOF
39861 /* confdefs.h. */
39862 _ACEOF
39863 cat confdefs.h >>conftest.$ac_ext
39864 cat >>conftest.$ac_ext <<_ACEOF
39865 /* end confdefs.h. */
39866 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39868 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39869
39870 /* System header to define __stub macros and hopefully few prototypes,
39871 which can conflict with char pthread_mutex_timedlock (); below.
39872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39873 <limits.h> exists even on freestanding compilers. */
39874
39875 #ifdef __STDC__
39876 # include <limits.h>
39877 #else
39878 # include <assert.h>
39879 #endif
39880
39881 #undef pthread_mutex_timedlock
39882
39883 /* Override any GCC internal prototype to avoid an error.
39884 Use char because int might match the return type of a GCC
39885 builtin and then its argument prototype would still apply. */
39886 #ifdef __cplusplus
39887 extern "C"
39888 #endif
39889 char pthread_mutex_timedlock ();
39890 /* The GNU C library defines this for functions which it implements
39891 to always fail with ENOSYS. Some functions are actually named
39892 something starting with __ and the normal name is an alias. */
39893 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39894 choke me
39895 #endif
39896
39897 int
39898 main ()
39899 {
39900 return pthread_mutex_timedlock ();
39901 ;
39902 return 0;
39903 }
39904 _ACEOF
39905 rm -f conftest.$ac_objext conftest$ac_exeext
39906 if { (ac_try="$ac_link"
39907 case "(($ac_try" in
39908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39909 *) ac_try_echo=$ac_try;;
39910 esac
39911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39912 (eval "$ac_link") 2>conftest.er1
39913 ac_status=$?
39914 grep -v '^ *+' conftest.er1 >conftest.err
39915 rm -f conftest.er1
39916 cat conftest.err >&5
39917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39918 (exit $ac_status); } && {
39919 test -z "$ac_c_werror_flag" ||
39920 test ! -s conftest.err
39921 } && test -s conftest$ac_exeext &&
39922 $as_test_x conftest$ac_exeext; then
39923 ac_cv_func_pthread_mutex_timedlock=yes
39924 else
39925 echo "$as_me: failed program was:" >&5
39926 sed 's/^/| /' conftest.$ac_ext >&5
39927
39928 ac_cv_func_pthread_mutex_timedlock=no
39929 fi
39930
39931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39932 conftest$ac_exeext conftest.$ac_ext
39933 fi
39934 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39935 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39936 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39937 cat >>confdefs.h <<\_ACEOF
39938 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39939 _ACEOF
39940
39941 else
39942 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39943 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39944 fi
39945
39946
39947 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39948 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39949 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39950 echo $ECHO_N "(cached) $ECHO_C" >&6
39951 else
39952 cat >conftest.$ac_ext <<_ACEOF
39953 /* confdefs.h. */
39954 _ACEOF
39955 cat confdefs.h >>conftest.$ac_ext
39956 cat >>conftest.$ac_ext <<_ACEOF
39957 /* end confdefs.h. */
39958 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39960 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39961
39962 /* System header to define __stub macros and hopefully few prototypes,
39963 which can conflict with char pthread_attr_setstacksize (); below.
39964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39965 <limits.h> exists even on freestanding compilers. */
39966
39967 #ifdef __STDC__
39968 # include <limits.h>
39969 #else
39970 # include <assert.h>
39971 #endif
39972
39973 #undef pthread_attr_setstacksize
39974
39975 /* Override any GCC internal prototype to avoid an error.
39976 Use char because int might match the return type of a GCC
39977 builtin and then its argument prototype would still apply. */
39978 #ifdef __cplusplus
39979 extern "C"
39980 #endif
39981 char pthread_attr_setstacksize ();
39982 /* The GNU C library defines this for functions which it implements
39983 to always fail with ENOSYS. Some functions are actually named
39984 something starting with __ and the normal name is an alias. */
39985 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39986 choke me
39987 #endif
39988
39989 int
39990 main ()
39991 {
39992 return pthread_attr_setstacksize ();
39993 ;
39994 return 0;
39995 }
39996 _ACEOF
39997 rm -f conftest.$ac_objext conftest$ac_exeext
39998 if { (ac_try="$ac_link"
39999 case "(($ac_try" in
40000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40001 *) ac_try_echo=$ac_try;;
40002 esac
40003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40004 (eval "$ac_link") 2>conftest.er1
40005 ac_status=$?
40006 grep -v '^ *+' conftest.er1 >conftest.err
40007 rm -f conftest.er1
40008 cat conftest.err >&5
40009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40010 (exit $ac_status); } && {
40011 test -z "$ac_c_werror_flag" ||
40012 test ! -s conftest.err
40013 } && test -s conftest$ac_exeext &&
40014 $as_test_x conftest$ac_exeext; then
40015 ac_cv_func_pthread_attr_setstacksize=yes
40016 else
40017 echo "$as_me: failed program was:" >&5
40018 sed 's/^/| /' conftest.$ac_ext >&5
40019
40020 ac_cv_func_pthread_attr_setstacksize=no
40021 fi
40022
40023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40024 conftest$ac_exeext conftest.$ac_ext
40025 fi
40026 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40027 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40028 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40029 cat >>confdefs.h <<\_ACEOF
40030 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40031 _ACEOF
40032
40033 fi
40034
40035
40036
40037 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40038 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40039 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40040 echo $ECHO_N "(cached) $ECHO_C" >&6
40041 else
40042
40043 cat >conftest.$ac_ext <<_ACEOF
40044 /* confdefs.h. */
40045 _ACEOF
40046 cat confdefs.h >>conftest.$ac_ext
40047 cat >>conftest.$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40049 #include <pthread.h>
40050 int
40051 main ()
40052 {
40053
40054 pthread_mutexattr_t attr;
40055 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40056
40057 ;
40058 return 0;
40059 }
40060 _ACEOF
40061 rm -f conftest.$ac_objext
40062 if { (ac_try="$ac_compile"
40063 case "(($ac_try" in
40064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40065 *) ac_try_echo=$ac_try;;
40066 esac
40067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40068 (eval "$ac_compile") 2>conftest.er1
40069 ac_status=$?
40070 grep -v '^ *+' conftest.er1 >conftest.err
40071 rm -f conftest.er1
40072 cat conftest.err >&5
40073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40074 (exit $ac_status); } && {
40075 test -z "$ac_c_werror_flag" ||
40076 test ! -s conftest.err
40077 } && test -s conftest.$ac_objext; then
40078 wx_cv_type_pthread_mutexattr_t=yes
40079 else
40080 echo "$as_me: failed program was:" >&5
40081 sed 's/^/| /' conftest.$ac_ext >&5
40082
40083 wx_cv_type_pthread_mutexattr_t=no
40084
40085 fi
40086
40087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40088
40089 fi
40090 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40091 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40092
40093 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40094 cat >>confdefs.h <<\_ACEOF
40095 #define HAVE_PTHREAD_MUTEXATTR_T 1
40096 _ACEOF
40097
40098
40099 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40100 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40101 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40102 echo $ECHO_N "(cached) $ECHO_C" >&6
40103 else
40104
40105 cat >conftest.$ac_ext <<_ACEOF
40106 /* confdefs.h. */
40107 _ACEOF
40108 cat confdefs.h >>conftest.$ac_ext
40109 cat >>conftest.$ac_ext <<_ACEOF
40110 /* end confdefs.h. */
40111 #include <pthread.h>
40112 int
40113 main ()
40114 {
40115
40116 pthread_mutexattr_t attr;
40117 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40118
40119 ;
40120 return 0;
40121 }
40122 _ACEOF
40123 rm -f conftest.$ac_objext
40124 if { (ac_try="$ac_compile"
40125 case "(($ac_try" in
40126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40127 *) ac_try_echo=$ac_try;;
40128 esac
40129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40130 (eval "$ac_compile") 2>conftest.er1
40131 ac_status=$?
40132 grep -v '^ *+' conftest.er1 >conftest.err
40133 rm -f conftest.er1
40134 cat conftest.err >&5
40135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136 (exit $ac_status); } && {
40137 test -z "$ac_c_werror_flag" ||
40138 test ! -s conftest.err
40139 } && test -s conftest.$ac_objext; then
40140 wx_cv_func_pthread_mutexattr_settype_decl=yes
40141 else
40142 echo "$as_me: failed program was:" >&5
40143 sed 's/^/| /' conftest.$ac_ext >&5
40144
40145 wx_cv_func_pthread_mutexattr_settype_decl=no
40146
40147 fi
40148
40149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40150
40151 fi
40152 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40153 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40154 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40155 cat >>confdefs.h <<\_ACEOF
40156 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40157 _ACEOF
40158
40159 fi
40160 else
40161 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40162 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40163 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40164 echo $ECHO_N "(cached) $ECHO_C" >&6
40165 else
40166
40167 cat >conftest.$ac_ext <<_ACEOF
40168 /* confdefs.h. */
40169 _ACEOF
40170 cat confdefs.h >>conftest.$ac_ext
40171 cat >>conftest.$ac_ext <<_ACEOF
40172 /* end confdefs.h. */
40173 #include <pthread.h>
40174 int
40175 main ()
40176 {
40177
40178 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40179
40180 ;
40181 return 0;
40182 }
40183 _ACEOF
40184 rm -f conftest.$ac_objext
40185 if { (ac_try="$ac_compile"
40186 case "(($ac_try" in
40187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40188 *) ac_try_echo=$ac_try;;
40189 esac
40190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40191 (eval "$ac_compile") 2>conftest.er1
40192 ac_status=$?
40193 grep -v '^ *+' conftest.er1 >conftest.err
40194 rm -f conftest.er1
40195 cat conftest.err >&5
40196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40197 (exit $ac_status); } && {
40198 test -z "$ac_c_werror_flag" ||
40199 test ! -s conftest.err
40200 } && test -s conftest.$ac_objext; then
40201
40202 wx_cv_type_pthread_rec_mutex_init=yes
40203
40204 else
40205 echo "$as_me: failed program was:" >&5
40206 sed 's/^/| /' conftest.$ac_ext >&5
40207
40208
40209 wx_cv_type_pthread_rec_mutex_init=no
40210
40211
40212 fi
40213
40214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40215
40216 fi
40217 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40218 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40219 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40220 cat >>confdefs.h <<\_ACEOF
40221 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40222 _ACEOF
40223
40224 else
40225 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40226 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40227 fi
40228 fi
40229
40230 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40231 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40232 if test "${wx_cv_cc___thread+set}" = set; then
40233 echo $ECHO_N "(cached) $ECHO_C" >&6
40234 else
40235
40236 cat >conftest.$ac_ext <<_ACEOF
40237 /* confdefs.h. */
40238 _ACEOF
40239 cat confdefs.h >>conftest.$ac_ext
40240 cat >>conftest.$ac_ext <<_ACEOF
40241 /* end confdefs.h. */
40242 #include <pthread.h>
40243 int
40244 main ()
40245 {
40246
40247 static __thread int n = 0;
40248 static __thread int *p = 0;
40249
40250 ;
40251 return 0;
40252 }
40253 _ACEOF
40254 rm -f conftest.$ac_objext
40255 if { (ac_try="$ac_compile"
40256 case "(($ac_try" in
40257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40258 *) ac_try_echo=$ac_try;;
40259 esac
40260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40261 (eval "$ac_compile") 2>conftest.er1
40262 ac_status=$?
40263 grep -v '^ *+' conftest.er1 >conftest.err
40264 rm -f conftest.er1
40265 cat conftest.err >&5
40266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40267 (exit $ac_status); } && {
40268 test -z "$ac_c_werror_flag" ||
40269 test ! -s conftest.err
40270 } && test -s conftest.$ac_objext; then
40271 wx_cv_cc___thread=yes
40272 else
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.$ac_ext >&5
40275
40276 wx_cv_cc___thread=no
40277
40278 fi
40279
40280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40281
40282
40283 fi
40284 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40285 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40286
40287 if test "$wx_cv_cc___thread" = "yes"; then
40288
40289 GXX_VERSION=""
40290
40291
40292
40293 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40294 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40295
40296 if test "x$GCC" = "xyes" ; then
40297
40298 if test -z "" ; then
40299
40300 ax_gcc_option_test="int main()
40301 {
40302 return 0;
40303 }"
40304
40305 else
40306
40307 ax_gcc_option_test=""
40308
40309 fi
40310
40311
40312 # Dump the test program to file
40313 cat <<EOF > conftest.c
40314 $ax_gcc_option_test
40315 EOF
40316
40317 # Dump back the file to the log, useful for debugging purposes
40318 { ac_try='cat conftest.c 1>&5'
40319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40320 (eval $ac_try) 2>&5
40321 ac_status=$?
40322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40323 (exit $ac_status); }; }
40324
40325 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40327 (eval $ac_try) 2>&5
40328 ac_status=$?
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); }; } ; then
40331
40332 { echo "$as_me:$LINENO: result: yes" >&5
40333 echo "${ECHO_T}yes" >&6; }
40334
40335 ax_gcc_version_option=yes
40336
40337
40338 else
40339
40340 { echo "$as_me:$LINENO: result: no" >&5
40341 echo "${ECHO_T}no" >&6; }
40342
40343 ax_gcc_version_option=no
40344
40345
40346 fi
40347
40348
40349 else
40350
40351 { echo "$as_me:$LINENO: result: no gcc available" >&5
40352 echo "${ECHO_T}no gcc available" >&6; }
40353
40354 fi
40355
40356
40357 if test "x$GXX" = "xyes"; then
40358
40359 if test "x$ax_gxx_version_option" != "no"; then
40360
40361 { echo "$as_me:$LINENO: checking gxx version" >&5
40362 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40363 if test "${ax_cv_gxx_version+set}" = set; then
40364 echo $ECHO_N "(cached) $ECHO_C" >&6
40365 else
40366
40367 ax_cv_gxx_version="`$CXX -dumpversion`"
40368 if test "x$ax_cv_gxx_version" = "x"; then
40369
40370 ax_cv_gxx_version=""
40371
40372 fi
40373
40374
40375 fi
40376 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40377 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40378 GXX_VERSION=$ax_cv_gxx_version
40379
40380 fi
40381
40382
40383 fi
40384
40385
40386
40387 if test -n "$ax_cv_gxx_version"; then
40388 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40389 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40390 case "$ax_cv_gxx_version" in
40391 1.* | 2.* | 3.* )
40392 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40393 echo "${ECHO_T}no, it's broken" >&6; }
40394 wx_cv_cc___thread=no
40395 ;;
40396 *)
40397 { echo "$as_me:$LINENO: result: yes, it works" >&5
40398 echo "${ECHO_T}yes, it works" >&6; }
40399 ;;
40400 esac
40401 fi
40402 fi
40403
40404 if test "$wx_cv_cc___thread" = "yes"; then
40405 cat >>confdefs.h <<\_ACEOF
40406 #define HAVE___THREAD_KEYWORD 1
40407 _ACEOF
40408
40409 fi
40410 fi
40411
40412 else
40413 if test "$wxUSE_THREADS" = "yes" ; then
40414 case "${host}" in
40415 x86_64-*-mingw32* )
40416 ;;
40417 *-*-mingw32* )
40418 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40419 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40420 if test "${wx_cv_cflags_mthread+set}" = set; then
40421 echo $ECHO_N "(cached) $ECHO_C" >&6
40422 else
40423
40424 CFLAGS_OLD="$CFLAGS"
40425 CFLAGS="-mthreads $CFLAGS"
40426 cat >conftest.$ac_ext <<_ACEOF
40427 /* confdefs.h. */
40428 _ACEOF
40429 cat confdefs.h >>conftest.$ac_ext
40430 cat >>conftest.$ac_ext <<_ACEOF
40431 /* end confdefs.h. */
40432
40433 int
40434 main ()
40435 {
40436
40437 ;
40438 return 0;
40439 }
40440 _ACEOF
40441 rm -f conftest.$ac_objext
40442 if { (ac_try="$ac_compile"
40443 case "(($ac_try" in
40444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40445 *) ac_try_echo=$ac_try;;
40446 esac
40447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40448 (eval "$ac_compile") 2>conftest.er1
40449 ac_status=$?
40450 grep -v '^ *+' conftest.er1 >conftest.err
40451 rm -f conftest.er1
40452 cat conftest.err >&5
40453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40454 (exit $ac_status); } && {
40455 test -z "$ac_c_werror_flag" ||
40456 test ! -s conftest.err
40457 } && test -s conftest.$ac_objext; then
40458 wx_cv_cflags_mthread=yes
40459 else
40460 echo "$as_me: failed program was:" >&5
40461 sed 's/^/| /' conftest.$ac_ext >&5
40462
40463 wx_cv_cflags_mthread=no
40464
40465 fi
40466
40467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40468
40469
40470 fi
40471 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40472 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40473
40474 if test "$wx_cv_cflags_mthread" = "yes"; then
40475 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40476 LDFLAGS="$LDFLAGS -mthreads"
40477 else
40478 CFLAGS="$CFLAGS_OLD"
40479 fi
40480 ;;
40481 *-pc-os2*emx )
40482 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40483 LDFLAGS="$LDFLAGS -Zmt"
40484 ;;
40485 esac
40486 fi
40487 fi
40488
40489 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40490 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40491 if test "${ac_cv_func_localtime_r+set}" = set; then
40492 echo $ECHO_N "(cached) $ECHO_C" >&6
40493 else
40494 cat >conftest.$ac_ext <<_ACEOF
40495 /* confdefs.h. */
40496 _ACEOF
40497 cat confdefs.h >>conftest.$ac_ext
40498 cat >>conftest.$ac_ext <<_ACEOF
40499 /* end confdefs.h. */
40500 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40502 #define localtime_r innocuous_localtime_r
40503
40504 /* System header to define __stub macros and hopefully few prototypes,
40505 which can conflict with char localtime_r (); below.
40506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40507 <limits.h> exists even on freestanding compilers. */
40508
40509 #ifdef __STDC__
40510 # include <limits.h>
40511 #else
40512 # include <assert.h>
40513 #endif
40514
40515 #undef localtime_r
40516
40517 /* Override any GCC internal prototype to avoid an error.
40518 Use char because int might match the return type of a GCC
40519 builtin and then its argument prototype would still apply. */
40520 #ifdef __cplusplus
40521 extern "C"
40522 #endif
40523 char localtime_r ();
40524 /* The GNU C library defines this for functions which it implements
40525 to always fail with ENOSYS. Some functions are actually named
40526 something starting with __ and the normal name is an alias. */
40527 #if defined __stub_localtime_r || defined __stub___localtime_r
40528 choke me
40529 #endif
40530
40531 int
40532 main ()
40533 {
40534 return localtime_r ();
40535 ;
40536 return 0;
40537 }
40538 _ACEOF
40539 rm -f conftest.$ac_objext conftest$ac_exeext
40540 if { (ac_try="$ac_link"
40541 case "(($ac_try" in
40542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40543 *) ac_try_echo=$ac_try;;
40544 esac
40545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40546 (eval "$ac_link") 2>conftest.er1
40547 ac_status=$?
40548 grep -v '^ *+' conftest.er1 >conftest.err
40549 rm -f conftest.er1
40550 cat conftest.err >&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } && {
40553 test -z "$ac_c_werror_flag" ||
40554 test ! -s conftest.err
40555 } && test -s conftest$ac_exeext &&
40556 $as_test_x conftest$ac_exeext; then
40557 ac_cv_func_localtime_r=yes
40558 else
40559 echo "$as_me: failed program was:" >&5
40560 sed 's/^/| /' conftest.$ac_ext >&5
40561
40562 ac_cv_func_localtime_r=no
40563 fi
40564
40565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40566 conftest$ac_exeext conftest.$ac_ext
40567 fi
40568 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40569 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40570 if test $ac_cv_func_localtime_r = yes; then
40571 cat >>confdefs.h <<\_ACEOF
40572 #define HAVE_LOCALTIME_R 1
40573 _ACEOF
40574
40575 fi
40576
40577 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40578 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40579 if test "${ac_cv_func_gmtime_r+set}" = set; then
40580 echo $ECHO_N "(cached) $ECHO_C" >&6
40581 else
40582 cat >conftest.$ac_ext <<_ACEOF
40583 /* confdefs.h. */
40584 _ACEOF
40585 cat confdefs.h >>conftest.$ac_ext
40586 cat >>conftest.$ac_ext <<_ACEOF
40587 /* end confdefs.h. */
40588 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40590 #define gmtime_r innocuous_gmtime_r
40591
40592 /* System header to define __stub macros and hopefully few prototypes,
40593 which can conflict with char gmtime_r (); below.
40594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40595 <limits.h> exists even on freestanding compilers. */
40596
40597 #ifdef __STDC__
40598 # include <limits.h>
40599 #else
40600 # include <assert.h>
40601 #endif
40602
40603 #undef gmtime_r
40604
40605 /* Override any GCC internal prototype to avoid an error.
40606 Use char because int might match the return type of a GCC
40607 builtin and then its argument prototype would still apply. */
40608 #ifdef __cplusplus
40609 extern "C"
40610 #endif
40611 char gmtime_r ();
40612 /* The GNU C library defines this for functions which it implements
40613 to always fail with ENOSYS. Some functions are actually named
40614 something starting with __ and the normal name is an alias. */
40615 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40616 choke me
40617 #endif
40618
40619 int
40620 main ()
40621 {
40622 return gmtime_r ();
40623 ;
40624 return 0;
40625 }
40626 _ACEOF
40627 rm -f conftest.$ac_objext conftest$ac_exeext
40628 if { (ac_try="$ac_link"
40629 case "(($ac_try" in
40630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40631 *) ac_try_echo=$ac_try;;
40632 esac
40633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40634 (eval "$ac_link") 2>conftest.er1
40635 ac_status=$?
40636 grep -v '^ *+' conftest.er1 >conftest.err
40637 rm -f conftest.er1
40638 cat conftest.err >&5
40639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40640 (exit $ac_status); } && {
40641 test -z "$ac_c_werror_flag" ||
40642 test ! -s conftest.err
40643 } && test -s conftest$ac_exeext &&
40644 $as_test_x conftest$ac_exeext; then
40645 ac_cv_func_gmtime_r=yes
40646 else
40647 echo "$as_me: failed program was:" >&5
40648 sed 's/^/| /' conftest.$ac_ext >&5
40649
40650 ac_cv_func_gmtime_r=no
40651 fi
40652
40653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40654 conftest$ac_exeext conftest.$ac_ext
40655 fi
40656 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40657 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40658 if test $ac_cv_func_gmtime_r = yes; then
40659 cat >>confdefs.h <<\_ACEOF
40660 #define HAVE_GMTIME_R 1
40661 _ACEOF
40662
40663 fi
40664
40665
40666
40667
40668 ac_ext=c
40669 ac_cpp='$CPP $CPPFLAGS'
40670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40673
40674 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40675 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40676
40677 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40678 echo $ECHO_N "(cached) $ECHO_C" >&6
40679 else
40680
40681
40682 ################################################################
40683
40684 ac_cv_func_which_gethostbyname_r=unknown
40685
40686 #
40687 # ONE ARGUMENT (sanity check)
40688 #
40689
40690 # This should fail, as there is no variant of gethostbyname_r() that takes
40691 # a single argument. If it actually compiles, then we can assume that
40692 # netdb.h is not declaring the function, and the compiler is thereby
40693 # assuming an implicit prototype. In which case, we're out of luck.
40694 #
40695 cat >conftest.$ac_ext <<_ACEOF
40696 /* confdefs.h. */
40697 _ACEOF
40698 cat confdefs.h >>conftest.$ac_ext
40699 cat >>conftest.$ac_ext <<_ACEOF
40700 /* end confdefs.h. */
40701 #include <netdb.h>
40702 int
40703 main ()
40704 {
40705
40706 char *name = "www.gnu.org";
40707 (void)gethostbyname_r(name) /* ; */
40708
40709 ;
40710 return 0;
40711 }
40712 _ACEOF
40713 rm -f conftest.$ac_objext
40714 if { (ac_try="$ac_compile"
40715 case "(($ac_try" in
40716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40717 *) ac_try_echo=$ac_try;;
40718 esac
40719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40720 (eval "$ac_compile") 2>conftest.er1
40721 ac_status=$?
40722 grep -v '^ *+' conftest.er1 >conftest.err
40723 rm -f conftest.er1
40724 cat conftest.err >&5
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); } && {
40727 test -z "$ac_c_werror_flag" ||
40728 test ! -s conftest.err
40729 } && test -s conftest.$ac_objext; then
40730 ac_cv_func_which_gethostbyname_r=no
40731 else
40732 echo "$as_me: failed program was:" >&5
40733 sed 's/^/| /' conftest.$ac_ext >&5
40734
40735
40736 fi
40737
40738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40739
40740 #
40741 # SIX ARGUMENTS
40742 # (e.g. Linux)
40743 #
40744
40745 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40746
40747 cat >conftest.$ac_ext <<_ACEOF
40748 /* confdefs.h. */
40749 _ACEOF
40750 cat confdefs.h >>conftest.$ac_ext
40751 cat >>conftest.$ac_ext <<_ACEOF
40752 /* end confdefs.h. */
40753 #include <netdb.h>
40754 int
40755 main ()
40756 {
40757
40758 char *name = "www.gnu.org";
40759 struct hostent ret, *retp;
40760 char buf[1024];
40761 int buflen = 1024;
40762 int my_h_errno;
40763 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40764
40765 ;
40766 return 0;
40767 }
40768 _ACEOF
40769 rm -f conftest.$ac_objext
40770 if { (ac_try="$ac_compile"
40771 case "(($ac_try" in
40772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40773 *) ac_try_echo=$ac_try;;
40774 esac
40775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40776 (eval "$ac_compile") 2>conftest.er1
40777 ac_status=$?
40778 grep -v '^ *+' conftest.er1 >conftest.err
40779 rm -f conftest.er1
40780 cat conftest.err >&5
40781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40782 (exit $ac_status); } && {
40783 test -z "$ac_c_werror_flag" ||
40784 test ! -s conftest.err
40785 } && test -s conftest.$ac_objext; then
40786 ac_cv_func_which_gethostbyname_r=six
40787 else
40788 echo "$as_me: failed program was:" >&5
40789 sed 's/^/| /' conftest.$ac_ext >&5
40790
40791
40792 fi
40793
40794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40795
40796 fi
40797
40798 #
40799 # FIVE ARGUMENTS
40800 # (e.g. Solaris)
40801 #
40802
40803 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40804
40805 cat >conftest.$ac_ext <<_ACEOF
40806 /* confdefs.h. */
40807 _ACEOF
40808 cat confdefs.h >>conftest.$ac_ext
40809 cat >>conftest.$ac_ext <<_ACEOF
40810 /* end confdefs.h. */
40811 #include <netdb.h>
40812 int
40813 main ()
40814 {
40815
40816 char *name = "www.gnu.org";
40817 struct hostent ret;
40818 char buf[1024];
40819 int buflen = 1024;
40820 int my_h_errno;
40821 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40822
40823 ;
40824 return 0;
40825 }
40826 _ACEOF
40827 rm -f conftest.$ac_objext
40828 if { (ac_try="$ac_compile"
40829 case "(($ac_try" in
40830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40831 *) ac_try_echo=$ac_try;;
40832 esac
40833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40834 (eval "$ac_compile") 2>conftest.er1
40835 ac_status=$?
40836 grep -v '^ *+' conftest.er1 >conftest.err
40837 rm -f conftest.er1
40838 cat conftest.err >&5
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); } && {
40841 test -z "$ac_c_werror_flag" ||
40842 test ! -s conftest.err
40843 } && test -s conftest.$ac_objext; then
40844 ac_cv_func_which_gethostbyname_r=five
40845 else
40846 echo "$as_me: failed program was:" >&5
40847 sed 's/^/| /' conftest.$ac_ext >&5
40848
40849
40850 fi
40851
40852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40853
40854 fi
40855
40856 #
40857 # THREE ARGUMENTS
40858 # (e.g. AIX, HP-UX, Tru64)
40859 #
40860
40861 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40862
40863 cat >conftest.$ac_ext <<_ACEOF
40864 /* confdefs.h. */
40865 _ACEOF
40866 cat confdefs.h >>conftest.$ac_ext
40867 cat >>conftest.$ac_ext <<_ACEOF
40868 /* end confdefs.h. */
40869 #include <netdb.h>
40870 int
40871 main ()
40872 {
40873
40874 char *name = "www.gnu.org";
40875 struct hostent ret;
40876 struct hostent_data data;
40877 (void)gethostbyname_r(name, &ret, &data) /* ; */
40878
40879 ;
40880 return 0;
40881 }
40882 _ACEOF
40883 rm -f conftest.$ac_objext
40884 if { (ac_try="$ac_compile"
40885 case "(($ac_try" in
40886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40887 *) ac_try_echo=$ac_try;;
40888 esac
40889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40890 (eval "$ac_compile") 2>conftest.er1
40891 ac_status=$?
40892 grep -v '^ *+' conftest.er1 >conftest.err
40893 rm -f conftest.er1
40894 cat conftest.err >&5
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); } && {
40897 test -z "$ac_c_werror_flag" ||
40898 test ! -s conftest.err
40899 } && test -s conftest.$ac_objext; then
40900 ac_cv_func_which_gethostbyname_r=three
40901 else
40902 echo "$as_me: failed program was:" >&5
40903 sed 's/^/| /' conftest.$ac_ext >&5
40904
40905
40906 fi
40907
40908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40909
40910 fi
40911
40912 ################################################################
40913
40914
40915 fi
40916
40917 case "$ac_cv_func_which_gethostbyname_r" in
40918 three)
40919 { echo "$as_me:$LINENO: result: three" >&5
40920 echo "${ECHO_T}three" >&6; }
40921 cat >>confdefs.h <<\_ACEOF
40922 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40923 _ACEOF
40924
40925 ;;
40926
40927 five)
40928 { echo "$as_me:$LINENO: result: five" >&5
40929 echo "${ECHO_T}five" >&6; }
40930 cat >>confdefs.h <<\_ACEOF
40931 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40932 _ACEOF
40933
40934 ;;
40935
40936 six)
40937 { echo "$as_me:$LINENO: result: six" >&5
40938 echo "${ECHO_T}six" >&6; }
40939 cat >>confdefs.h <<\_ACEOF
40940 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40941 _ACEOF
40942
40943 ;;
40944
40945 no)
40946 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40947 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40948 ;;
40949
40950 unknown)
40951 { echo "$as_me:$LINENO: result: can't tell" >&5
40952 echo "${ECHO_T}can't tell" >&6; }
40953 ;;
40954
40955 *)
40956 { { echo "$as_me:$LINENO: error: internal error" >&5
40957 echo "$as_me: error: internal error" >&2;}
40958 { (exit 1); exit 1; }; }
40959 ;;
40960 esac
40961
40962 ac_ext=c
40963 ac_cpp='$CPP $CPPFLAGS'
40964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40967
40968
40969
40970 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40971 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40972 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40973 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40974 if test "${ac_cv_func_gethostbyname+set}" = set; then
40975 echo $ECHO_N "(cached) $ECHO_C" >&6
40976 else
40977 cat >conftest.$ac_ext <<_ACEOF
40978 /* confdefs.h. */
40979 _ACEOF
40980 cat confdefs.h >>conftest.$ac_ext
40981 cat >>conftest.$ac_ext <<_ACEOF
40982 /* end confdefs.h. */
40983 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40985 #define gethostbyname innocuous_gethostbyname
40986
40987 /* System header to define __stub macros and hopefully few prototypes,
40988 which can conflict with char gethostbyname (); below.
40989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40990 <limits.h> exists even on freestanding compilers. */
40991
40992 #ifdef __STDC__
40993 # include <limits.h>
40994 #else
40995 # include <assert.h>
40996 #endif
40997
40998 #undef gethostbyname
40999
41000 /* Override any GCC internal prototype to avoid an error.
41001 Use char because int might match the return type of a GCC
41002 builtin and then its argument prototype would still apply. */
41003 #ifdef __cplusplus
41004 extern "C"
41005 #endif
41006 char gethostbyname ();
41007 /* The GNU C library defines this for functions which it implements
41008 to always fail with ENOSYS. Some functions are actually named
41009 something starting with __ and the normal name is an alias. */
41010 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41011 choke me
41012 #endif
41013
41014 int
41015 main ()
41016 {
41017 return gethostbyname ();
41018 ;
41019 return 0;
41020 }
41021 _ACEOF
41022 rm -f conftest.$ac_objext conftest$ac_exeext
41023 if { (ac_try="$ac_link"
41024 case "(($ac_try" in
41025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41026 *) ac_try_echo=$ac_try;;
41027 esac
41028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41029 (eval "$ac_link") 2>conftest.er1
41030 ac_status=$?
41031 grep -v '^ *+' conftest.er1 >conftest.err
41032 rm -f conftest.er1
41033 cat conftest.err >&5
41034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41035 (exit $ac_status); } && {
41036 test -z "$ac_c_werror_flag" ||
41037 test ! -s conftest.err
41038 } && test -s conftest$ac_exeext &&
41039 $as_test_x conftest$ac_exeext; then
41040 ac_cv_func_gethostbyname=yes
41041 else
41042 echo "$as_me: failed program was:" >&5
41043 sed 's/^/| /' conftest.$ac_ext >&5
41044
41045 ac_cv_func_gethostbyname=no
41046 fi
41047
41048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41049 conftest$ac_exeext conftest.$ac_ext
41050 fi
41051 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41052 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41053 if test $ac_cv_func_gethostbyname = yes; then
41054 cat >>confdefs.h <<\_ACEOF
41055 #define HAVE_GETHOSTBYNAME 1
41056 _ACEOF
41057
41058 fi
41059
41060 fi
41061
41062 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41063 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41064 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41065 echo $ECHO_N "(cached) $ECHO_C" >&6
41066 else
41067
41068 ac_ext=cpp
41069 ac_cpp='$CXXCPP $CPPFLAGS'
41070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41073
41074
41075 cat >conftest.$ac_ext <<_ACEOF
41076 /* confdefs.h. */
41077 _ACEOF
41078 cat confdefs.h >>conftest.$ac_ext
41079 cat >>conftest.$ac_ext <<_ACEOF
41080 /* end confdefs.h. */
41081 #include <netdb.h>
41082 int
41083 main ()
41084 {
41085
41086 char *name;
41087 char *proto;
41088 struct servent *se, *res;
41089 char buffer[2048];
41090 int buflen = 2048;
41091 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41092
41093 ;
41094 return 0;
41095 }
41096 _ACEOF
41097 rm -f conftest.$ac_objext
41098 if { (ac_try="$ac_compile"
41099 case "(($ac_try" in
41100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41101 *) ac_try_echo=$ac_try;;
41102 esac
41103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41104 (eval "$ac_compile") 2>conftest.er1
41105 ac_status=$?
41106 grep -v '^ *+' conftest.er1 >conftest.err
41107 rm -f conftest.er1
41108 cat conftest.err >&5
41109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41110 (exit $ac_status); } && {
41111 test -z "$ac_cxx_werror_flag" ||
41112 test ! -s conftest.err
41113 } && test -s conftest.$ac_objext; then
41114 ac_cv_func_which_getservbyname_r=six
41115 else
41116 echo "$as_me: failed program was:" >&5
41117 sed 's/^/| /' conftest.$ac_ext >&5
41118
41119
41120 cat >conftest.$ac_ext <<_ACEOF
41121 /* confdefs.h. */
41122 _ACEOF
41123 cat confdefs.h >>conftest.$ac_ext
41124 cat >>conftest.$ac_ext <<_ACEOF
41125 /* end confdefs.h. */
41126 #include <netdb.h>
41127 int
41128 main ()
41129 {
41130
41131 char *name;
41132 char *proto;
41133 struct servent *se;
41134 char buffer[2048];
41135 int buflen = 2048;
41136 (void) getservbyname_r(name, proto, se, buffer, buflen)
41137
41138 ;
41139 return 0;
41140 }
41141 _ACEOF
41142 rm -f conftest.$ac_objext
41143 if { (ac_try="$ac_compile"
41144 case "(($ac_try" in
41145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41146 *) ac_try_echo=$ac_try;;
41147 esac
41148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41149 (eval "$ac_compile") 2>conftest.er1
41150 ac_status=$?
41151 grep -v '^ *+' conftest.er1 >conftest.err
41152 rm -f conftest.er1
41153 cat conftest.err >&5
41154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41155 (exit $ac_status); } && {
41156 test -z "$ac_cxx_werror_flag" ||
41157 test ! -s conftest.err
41158 } && test -s conftest.$ac_objext; then
41159 ac_cv_func_which_getservbyname_r=five
41160 else
41161 echo "$as_me: failed program was:" >&5
41162 sed 's/^/| /' conftest.$ac_ext >&5
41163
41164
41165 cat >conftest.$ac_ext <<_ACEOF
41166 /* confdefs.h. */
41167 _ACEOF
41168 cat confdefs.h >>conftest.$ac_ext
41169 cat >>conftest.$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41171 #include <netdb.h>
41172 int
41173 main ()
41174 {
41175
41176 char *name;
41177 char *proto;
41178 struct servent *se;
41179 struct servent_data data;
41180 (void) getservbyname_r(name, proto, se, &data);
41181
41182 ;
41183 return 0;
41184 }
41185 _ACEOF
41186 rm -f conftest.$ac_objext
41187 if { (ac_try="$ac_compile"
41188 case "(($ac_try" in
41189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41190 *) ac_try_echo=$ac_try;;
41191 esac
41192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41193 (eval "$ac_compile") 2>conftest.er1
41194 ac_status=$?
41195 grep -v '^ *+' conftest.er1 >conftest.err
41196 rm -f conftest.er1
41197 cat conftest.err >&5
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); } && {
41200 test -z "$ac_cxx_werror_flag" ||
41201 test ! -s conftest.err
41202 } && test -s conftest.$ac_objext; then
41203 ac_cv_func_which_getservbyname_r=four
41204 else
41205 echo "$as_me: failed program was:" >&5
41206 sed 's/^/| /' conftest.$ac_ext >&5
41207
41208 ac_cv_func_which_getservbyname_r=no
41209
41210 fi
41211
41212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41213
41214
41215 fi
41216
41217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41218
41219
41220 fi
41221
41222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41223 ac_ext=c
41224 ac_cpp='$CPP $CPPFLAGS'
41225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41228
41229
41230
41231 fi
41232 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41233 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41234
41235 if test $ac_cv_func_which_getservbyname_r = six; then
41236 cat >>confdefs.h <<\_ACEOF
41237 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41238 _ACEOF
41239
41240 elif test $ac_cv_func_which_getservbyname_r = five; then
41241 cat >>confdefs.h <<\_ACEOF
41242 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41243 _ACEOF
41244
41245 elif test $ac_cv_func_which_getservbyname_r = four; then
41246 cat >>confdefs.h <<\_ACEOF
41247 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41248 _ACEOF
41249
41250 fi
41251
41252
41253 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41254 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41255
41256 for ac_func in getservbyname
41257 do
41258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41259 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41261 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41262 echo $ECHO_N "(cached) $ECHO_C" >&6
41263 else
41264 cat >conftest.$ac_ext <<_ACEOF
41265 /* confdefs.h. */
41266 _ACEOF
41267 cat confdefs.h >>conftest.$ac_ext
41268 cat >>conftest.$ac_ext <<_ACEOF
41269 /* end confdefs.h. */
41270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41272 #define $ac_func innocuous_$ac_func
41273
41274 /* System header to define __stub macros and hopefully few prototypes,
41275 which can conflict with char $ac_func (); below.
41276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41277 <limits.h> exists even on freestanding compilers. */
41278
41279 #ifdef __STDC__
41280 # include <limits.h>
41281 #else
41282 # include <assert.h>
41283 #endif
41284
41285 #undef $ac_func
41286
41287 /* Override any GCC internal prototype to avoid an error.
41288 Use char because int might match the return type of a GCC
41289 builtin and then its argument prototype would still apply. */
41290 #ifdef __cplusplus
41291 extern "C"
41292 #endif
41293 char $ac_func ();
41294 /* The GNU C library defines this for functions which it implements
41295 to always fail with ENOSYS. Some functions are actually named
41296 something starting with __ and the normal name is an alias. */
41297 #if defined __stub_$ac_func || defined __stub___$ac_func
41298 choke me
41299 #endif
41300
41301 int
41302 main ()
41303 {
41304 return $ac_func ();
41305 ;
41306 return 0;
41307 }
41308 _ACEOF
41309 rm -f conftest.$ac_objext conftest$ac_exeext
41310 if { (ac_try="$ac_link"
41311 case "(($ac_try" in
41312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41313 *) ac_try_echo=$ac_try;;
41314 esac
41315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41316 (eval "$ac_link") 2>conftest.er1
41317 ac_status=$?
41318 grep -v '^ *+' conftest.er1 >conftest.err
41319 rm -f conftest.er1
41320 cat conftest.err >&5
41321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41322 (exit $ac_status); } && {
41323 test -z "$ac_c_werror_flag" ||
41324 test ! -s conftest.err
41325 } && test -s conftest$ac_exeext &&
41326 $as_test_x conftest$ac_exeext; then
41327 eval "$as_ac_var=yes"
41328 else
41329 echo "$as_me: failed program was:" >&5
41330 sed 's/^/| /' conftest.$ac_ext >&5
41331
41332 eval "$as_ac_var=no"
41333 fi
41334
41335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41336 conftest$ac_exeext conftest.$ac_ext
41337 fi
41338 ac_res=`eval echo '${'$as_ac_var'}'`
41339 { echo "$as_me:$LINENO: result: $ac_res" >&5
41340 echo "${ECHO_T}$ac_res" >&6; }
41341 if test `eval echo '${'$as_ac_var'}'` = yes; then
41342 cat >>confdefs.h <<_ACEOF
41343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41344 _ACEOF
41345 cat >>confdefs.h <<\_ACEOF
41346 #define HAVE_GETSERVBYNAME 1
41347 _ACEOF
41348
41349 fi
41350 done
41351
41352 fi
41353
41354 if test "$wxUSE_THREADS" = "yes"; then
41355 cat >>confdefs.h <<\_ACEOF
41356 #define wxUSE_THREADS 1
41357 _ACEOF
41358
41359
41360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41361 else
41362 if test "$wx_cv_func_strtok_r" = "yes"; then
41363 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41364 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41365 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41366 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41367 { echo "$as_me:$LINENO: result: yes" >&5
41368 echo "${ECHO_T}yes" >&6; }
41369 else
41370 { echo "$as_me:$LINENO: result: no" >&5
41371 echo "${ECHO_T}no" >&6; }
41372 fi
41373 fi
41374 fi
41375
41376 if test "$WXGTK2" = 1 ; then
41377 cat >>confdefs.h <<_ACEOF
41378 #define __WXGTK20__ $WXGTK2
41379 _ACEOF
41380
41381 WXGTK12=1
41382 fi
41383
41384 if test "$WXGTK12" = 1 ; then
41385 cat >>confdefs.h <<_ACEOF
41386 #define __WXGTK12__ $WXGTK12
41387 _ACEOF
41388
41389 fi
41390
41391 if test "$WXGTK127" = 1 ; then
41392 cat >>confdefs.h <<_ACEOF
41393 #define __WXGTK127__ $WXGTK127
41394 _ACEOF
41395
41396 fi
41397
41398 if test "$WXGPE" = 1 ; then
41399 cat >>confdefs.h <<_ACEOF
41400 #define __WXGPE__ $WXGPE
41401 _ACEOF
41402
41403 fi
41404
41405 DEBUG_CFLAGS=
41406 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41407 DEBUG_CFLAGS="-g"
41408 fi
41409
41410 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41411 wxUSE_DEBUG_INFO=yes
41412 if test "$GCC" = yes; then
41413 DEBUG_CFLAGS="-ggdb"
41414 fi
41415 fi
41416
41417 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41418 cat >>confdefs.h <<\_ACEOF
41419 #define WXDEBUG 1
41420 _ACEOF
41421
41422 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41423 else
41424 if test "$wxUSE_GTK" = 1 ; then
41425 if test "x$wxGTK_VERSION" = "x1" ; then
41426 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41427 fi
41428 fi
41429 fi
41430
41431 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41432 cat >>confdefs.h <<\_ACEOF
41433 #define wxUSE_MEMORY_TRACING 1
41434 _ACEOF
41435
41436 cat >>confdefs.h <<\_ACEOF
41437 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41438 _ACEOF
41439
41440 cat >>confdefs.h <<\_ACEOF
41441 #define wxUSE_DEBUG_NEW_ALWAYS 1
41442 _ACEOF
41443
41444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41445 fi
41446
41447 if test "$wxUSE_DMALLOC" = "yes" ; then
41448 DMALLOC_LIBS="-ldmallocthcxx"
41449 fi
41450
41451 PROFILE_FLAGS=
41452 if test "$wxUSE_PROFILE" = "yes" ; then
41453 PROFILE_FLAGS=" -pg"
41454 fi
41455
41456 if test "$GCC" = "yes" ; then
41457 if test "$wxUSE_NO_RTTI" = "yes" ; then
41458 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41459 fi
41460 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41461 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41462 fi
41463 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41464 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41465 fi
41466
41467 case "${host}" in
41468 powerpc*-*-aix* )
41469 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41470 ;;
41471 *-hppa* )
41472 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41473 ;;
41474 esac
41475 fi
41476
41477 OPTIMISE_CFLAGS=
41478 if test "$wxUSE_OPTIMISE" = "no" ; then
41479 if test "$GCC" = yes ; then
41480 OPTIMISE_CFLAGS="-O0"
41481 fi
41482 else
41483 if test "$GCC" = yes ; then
41484 case "${host}" in
41485 *-pc-os2_emx | *-pc-os2-emx )
41486 OPTIMISE_CFLAGS="-O2"
41487 ;;
41488 *)
41489 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41490 ;;
41491 esac
41492 else
41493 OPTIMISE_CFLAGS="-O"
41494 fi
41495 fi
41496
41497
41498 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41499 cat >>confdefs.h <<\_ACEOF
41500 #define WXWIN_COMPATIBILITY_2_6 1
41501 _ACEOF
41502
41503
41504 WXWIN_COMPATIBILITY_2_8="yes"
41505 fi
41506
41507 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41508 cat >>confdefs.h <<\_ACEOF
41509 #define WXWIN_COMPATIBILITY_2_8 1
41510 _ACEOF
41511
41512 fi
41513
41514
41515 if test "$wxUSE_GUI" = "yes"; then
41516 cat >>confdefs.h <<\_ACEOF
41517 #define wxUSE_GUI 1
41518 _ACEOF
41519
41520
41521 fi
41522
41523
41524 if test "$wxUSE_UNIX" = "yes"; then
41525 cat >>confdefs.h <<\_ACEOF
41526 #define wxUSE_UNIX 1
41527 _ACEOF
41528
41529 fi
41530
41531
41532 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41533
41534 HAVE_DL_FUNCS=0
41535 HAVE_SHL_FUNCS=0
41536 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41537 if test "$USE_DOS" = 1; then
41538 HAVE_DL_FUNCS=0
41539 else
41540
41541 for ac_func in dlopen
41542 do
41543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41544 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41546 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41547 echo $ECHO_N "(cached) $ECHO_C" >&6
41548 else
41549 cat >conftest.$ac_ext <<_ACEOF
41550 /* confdefs.h. */
41551 _ACEOF
41552 cat confdefs.h >>conftest.$ac_ext
41553 cat >>conftest.$ac_ext <<_ACEOF
41554 /* end confdefs.h. */
41555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41557 #define $ac_func innocuous_$ac_func
41558
41559 /* System header to define __stub macros and hopefully few prototypes,
41560 which can conflict with char $ac_func (); below.
41561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41562 <limits.h> exists even on freestanding compilers. */
41563
41564 #ifdef __STDC__
41565 # include <limits.h>
41566 #else
41567 # include <assert.h>
41568 #endif
41569
41570 #undef $ac_func
41571
41572 /* Override any GCC internal prototype to avoid an error.
41573 Use char because int might match the return type of a GCC
41574 builtin and then its argument prototype would still apply. */
41575 #ifdef __cplusplus
41576 extern "C"
41577 #endif
41578 char $ac_func ();
41579 /* The GNU C library defines this for functions which it implements
41580 to always fail with ENOSYS. Some functions are actually named
41581 something starting with __ and the normal name is an alias. */
41582 #if defined __stub_$ac_func || defined __stub___$ac_func
41583 choke me
41584 #endif
41585
41586 int
41587 main ()
41588 {
41589 return $ac_func ();
41590 ;
41591 return 0;
41592 }
41593 _ACEOF
41594 rm -f conftest.$ac_objext conftest$ac_exeext
41595 if { (ac_try="$ac_link"
41596 case "(($ac_try" in
41597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41598 *) ac_try_echo=$ac_try;;
41599 esac
41600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41601 (eval "$ac_link") 2>conftest.er1
41602 ac_status=$?
41603 grep -v '^ *+' conftest.er1 >conftest.err
41604 rm -f conftest.er1
41605 cat conftest.err >&5
41606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607 (exit $ac_status); } && {
41608 test -z "$ac_c_werror_flag" ||
41609 test ! -s conftest.err
41610 } && test -s conftest$ac_exeext &&
41611 $as_test_x conftest$ac_exeext; then
41612 eval "$as_ac_var=yes"
41613 else
41614 echo "$as_me: failed program was:" >&5
41615 sed 's/^/| /' conftest.$ac_ext >&5
41616
41617 eval "$as_ac_var=no"
41618 fi
41619
41620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41621 conftest$ac_exeext conftest.$ac_ext
41622 fi
41623 ac_res=`eval echo '${'$as_ac_var'}'`
41624 { echo "$as_me:$LINENO: result: $ac_res" >&5
41625 echo "${ECHO_T}$ac_res" >&6; }
41626 if test `eval echo '${'$as_ac_var'}'` = yes; then
41627 cat >>confdefs.h <<_ACEOF
41628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41629 _ACEOF
41630
41631 cat >>confdefs.h <<\_ACEOF
41632 #define HAVE_DLOPEN 1
41633 _ACEOF
41634
41635 HAVE_DL_FUNCS=1
41636
41637 else
41638
41639 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41640 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41641 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41642 echo $ECHO_N "(cached) $ECHO_C" >&6
41643 else
41644 ac_check_lib_save_LIBS=$LIBS
41645 LIBS="-ldl $LIBS"
41646 cat >conftest.$ac_ext <<_ACEOF
41647 /* confdefs.h. */
41648 _ACEOF
41649 cat confdefs.h >>conftest.$ac_ext
41650 cat >>conftest.$ac_ext <<_ACEOF
41651 /* end confdefs.h. */
41652
41653 /* Override any GCC internal prototype to avoid an error.
41654 Use char because int might match the return type of a GCC
41655 builtin and then its argument prototype would still apply. */
41656 #ifdef __cplusplus
41657 extern "C"
41658 #endif
41659 char dlopen ();
41660 int
41661 main ()
41662 {
41663 return dlopen ();
41664 ;
41665 return 0;
41666 }
41667 _ACEOF
41668 rm -f conftest.$ac_objext conftest$ac_exeext
41669 if { (ac_try="$ac_link"
41670 case "(($ac_try" in
41671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41672 *) ac_try_echo=$ac_try;;
41673 esac
41674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41675 (eval "$ac_link") 2>conftest.er1
41676 ac_status=$?
41677 grep -v '^ *+' conftest.er1 >conftest.err
41678 rm -f conftest.er1
41679 cat conftest.err >&5
41680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41681 (exit $ac_status); } && {
41682 test -z "$ac_c_werror_flag" ||
41683 test ! -s conftest.err
41684 } && test -s conftest$ac_exeext &&
41685 $as_test_x conftest$ac_exeext; then
41686 ac_cv_lib_dl_dlopen=yes
41687 else
41688 echo "$as_me: failed program was:" >&5
41689 sed 's/^/| /' conftest.$ac_ext >&5
41690
41691 ac_cv_lib_dl_dlopen=no
41692 fi
41693
41694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41695 conftest$ac_exeext conftest.$ac_ext
41696 LIBS=$ac_check_lib_save_LIBS
41697 fi
41698 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41699 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41700 if test $ac_cv_lib_dl_dlopen = yes; then
41701
41702 cat >>confdefs.h <<\_ACEOF
41703 #define HAVE_DLOPEN 1
41704 _ACEOF
41705
41706 HAVE_DL_FUNCS=1
41707 DL_LINK=" -ldl$DL_LINK"
41708
41709 else
41710
41711
41712 for ac_func in shl_load
41713 do
41714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41715 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41717 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41718 echo $ECHO_N "(cached) $ECHO_C" >&6
41719 else
41720 cat >conftest.$ac_ext <<_ACEOF
41721 /* confdefs.h. */
41722 _ACEOF
41723 cat confdefs.h >>conftest.$ac_ext
41724 cat >>conftest.$ac_ext <<_ACEOF
41725 /* end confdefs.h. */
41726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41728 #define $ac_func innocuous_$ac_func
41729
41730 /* System header to define __stub macros and hopefully few prototypes,
41731 which can conflict with char $ac_func (); below.
41732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41733 <limits.h> exists even on freestanding compilers. */
41734
41735 #ifdef __STDC__
41736 # include <limits.h>
41737 #else
41738 # include <assert.h>
41739 #endif
41740
41741 #undef $ac_func
41742
41743 /* Override any GCC internal prototype to avoid an error.
41744 Use char because int might match the return type of a GCC
41745 builtin and then its argument prototype would still apply. */
41746 #ifdef __cplusplus
41747 extern "C"
41748 #endif
41749 char $ac_func ();
41750 /* The GNU C library defines this for functions which it implements
41751 to always fail with ENOSYS. Some functions are actually named
41752 something starting with __ and the normal name is an alias. */
41753 #if defined __stub_$ac_func || defined __stub___$ac_func
41754 choke me
41755 #endif
41756
41757 int
41758 main ()
41759 {
41760 return $ac_func ();
41761 ;
41762 return 0;
41763 }
41764 _ACEOF
41765 rm -f conftest.$ac_objext conftest$ac_exeext
41766 if { (ac_try="$ac_link"
41767 case "(($ac_try" in
41768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41769 *) ac_try_echo=$ac_try;;
41770 esac
41771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41772 (eval "$ac_link") 2>conftest.er1
41773 ac_status=$?
41774 grep -v '^ *+' conftest.er1 >conftest.err
41775 rm -f conftest.er1
41776 cat conftest.err >&5
41777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41778 (exit $ac_status); } && {
41779 test -z "$ac_c_werror_flag" ||
41780 test ! -s conftest.err
41781 } && test -s conftest$ac_exeext &&
41782 $as_test_x conftest$ac_exeext; then
41783 eval "$as_ac_var=yes"
41784 else
41785 echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.$ac_ext >&5
41787
41788 eval "$as_ac_var=no"
41789 fi
41790
41791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41792 conftest$ac_exeext conftest.$ac_ext
41793 fi
41794 ac_res=`eval echo '${'$as_ac_var'}'`
41795 { echo "$as_me:$LINENO: result: $ac_res" >&5
41796 echo "${ECHO_T}$ac_res" >&6; }
41797 if test `eval echo '${'$as_ac_var'}'` = yes; then
41798 cat >>confdefs.h <<_ACEOF
41799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41800 _ACEOF
41801
41802 cat >>confdefs.h <<\_ACEOF
41803 #define HAVE_SHL_LOAD 1
41804 _ACEOF
41805
41806 HAVE_SHL_FUNCS=1
41807
41808 else
41809
41810 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41811 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41812 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41813 echo $ECHO_N "(cached) $ECHO_C" >&6
41814 else
41815 ac_check_lib_save_LIBS=$LIBS
41816 LIBS="-lshl_load $LIBS"
41817 cat >conftest.$ac_ext <<_ACEOF
41818 /* confdefs.h. */
41819 _ACEOF
41820 cat confdefs.h >>conftest.$ac_ext
41821 cat >>conftest.$ac_ext <<_ACEOF
41822 /* end confdefs.h. */
41823
41824 /* Override any GCC internal prototype to avoid an error.
41825 Use char because int might match the return type of a GCC
41826 builtin and then its argument prototype would still apply. */
41827 #ifdef __cplusplus
41828 extern "C"
41829 #endif
41830 char dld ();
41831 int
41832 main ()
41833 {
41834 return dld ();
41835 ;
41836 return 0;
41837 }
41838 _ACEOF
41839 rm -f conftest.$ac_objext conftest$ac_exeext
41840 if { (ac_try="$ac_link"
41841 case "(($ac_try" in
41842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41843 *) ac_try_echo=$ac_try;;
41844 esac
41845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41846 (eval "$ac_link") 2>conftest.er1
41847 ac_status=$?
41848 grep -v '^ *+' conftest.er1 >conftest.err
41849 rm -f conftest.er1
41850 cat conftest.err >&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); } && {
41853 test -z "$ac_c_werror_flag" ||
41854 test ! -s conftest.err
41855 } && test -s conftest$ac_exeext &&
41856 $as_test_x conftest$ac_exeext; then
41857 ac_cv_lib_shl_load_dld=yes
41858 else
41859 echo "$as_me: failed program was:" >&5
41860 sed 's/^/| /' conftest.$ac_ext >&5
41861
41862 ac_cv_lib_shl_load_dld=no
41863 fi
41864
41865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41866 conftest$ac_exeext conftest.$ac_ext
41867 LIBS=$ac_check_lib_save_LIBS
41868 fi
41869 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41870 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41871 if test $ac_cv_lib_shl_load_dld = yes; then
41872
41873 HAVE_SHL_FUNCS=1
41874 DL_LINK=" -ldld$DL_LINK"
41875
41876 fi
41877
41878
41879 fi
41880 done
41881
41882
41883 fi
41884
41885
41886 fi
41887 done
41888
41889
41890 if test "$HAVE_DL_FUNCS" = 1; then
41891
41892 for ac_func in dlerror
41893 do
41894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41895 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41897 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41898 echo $ECHO_N "(cached) $ECHO_C" >&6
41899 else
41900 cat >conftest.$ac_ext <<_ACEOF
41901 /* confdefs.h. */
41902 _ACEOF
41903 cat confdefs.h >>conftest.$ac_ext
41904 cat >>conftest.$ac_ext <<_ACEOF
41905 /* end confdefs.h. */
41906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41908 #define $ac_func innocuous_$ac_func
41909
41910 /* System header to define __stub macros and hopefully few prototypes,
41911 which can conflict with char $ac_func (); below.
41912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41913 <limits.h> exists even on freestanding compilers. */
41914
41915 #ifdef __STDC__
41916 # include <limits.h>
41917 #else
41918 # include <assert.h>
41919 #endif
41920
41921 #undef $ac_func
41922
41923 /* Override any GCC internal prototype to avoid an error.
41924 Use char because int might match the return type of a GCC
41925 builtin and then its argument prototype would still apply. */
41926 #ifdef __cplusplus
41927 extern "C"
41928 #endif
41929 char $ac_func ();
41930 /* The GNU C library defines this for functions which it implements
41931 to always fail with ENOSYS. Some functions are actually named
41932 something starting with __ and the normal name is an alias. */
41933 #if defined __stub_$ac_func || defined __stub___$ac_func
41934 choke me
41935 #endif
41936
41937 int
41938 main ()
41939 {
41940 return $ac_func ();
41941 ;
41942 return 0;
41943 }
41944 _ACEOF
41945 rm -f conftest.$ac_objext conftest$ac_exeext
41946 if { (ac_try="$ac_link"
41947 case "(($ac_try" in
41948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41949 *) ac_try_echo=$ac_try;;
41950 esac
41951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41952 (eval "$ac_link") 2>conftest.er1
41953 ac_status=$?
41954 grep -v '^ *+' conftest.er1 >conftest.err
41955 rm -f conftest.er1
41956 cat conftest.err >&5
41957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41958 (exit $ac_status); } && {
41959 test -z "$ac_c_werror_flag" ||
41960 test ! -s conftest.err
41961 } && test -s conftest$ac_exeext &&
41962 $as_test_x conftest$ac_exeext; then
41963 eval "$as_ac_var=yes"
41964 else
41965 echo "$as_me: failed program was:" >&5
41966 sed 's/^/| /' conftest.$ac_ext >&5
41967
41968 eval "$as_ac_var=no"
41969 fi
41970
41971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41972 conftest$ac_exeext conftest.$ac_ext
41973 fi
41974 ac_res=`eval echo '${'$as_ac_var'}'`
41975 { echo "$as_me:$LINENO: result: $ac_res" >&5
41976 echo "${ECHO_T}$ac_res" >&6; }
41977 if test `eval echo '${'$as_ac_var'}'` = yes; then
41978 cat >>confdefs.h <<_ACEOF
41979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41980 _ACEOF
41981 cat >>confdefs.h <<\_ACEOF
41982 #define HAVE_DLERROR 1
41983 _ACEOF
41984
41985 else
41986
41987 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41988 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41989 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41990 echo $ECHO_N "(cached) $ECHO_C" >&6
41991 else
41992 ac_check_lib_save_LIBS=$LIBS
41993 LIBS="-ldl $LIBS"
41994 cat >conftest.$ac_ext <<_ACEOF
41995 /* confdefs.h. */
41996 _ACEOF
41997 cat confdefs.h >>conftest.$ac_ext
41998 cat >>conftest.$ac_ext <<_ACEOF
41999 /* end confdefs.h. */
42000
42001 /* Override any GCC internal prototype to avoid an error.
42002 Use char because int might match the return type of a GCC
42003 builtin and then its argument prototype would still apply. */
42004 #ifdef __cplusplus
42005 extern "C"
42006 #endif
42007 char dlerror ();
42008 int
42009 main ()
42010 {
42011 return dlerror ();
42012 ;
42013 return 0;
42014 }
42015 _ACEOF
42016 rm -f conftest.$ac_objext conftest$ac_exeext
42017 if { (ac_try="$ac_link"
42018 case "(($ac_try" in
42019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42020 *) ac_try_echo=$ac_try;;
42021 esac
42022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42023 (eval "$ac_link") 2>conftest.er1
42024 ac_status=$?
42025 grep -v '^ *+' conftest.er1 >conftest.err
42026 rm -f conftest.er1
42027 cat conftest.err >&5
42028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42029 (exit $ac_status); } && {
42030 test -z "$ac_c_werror_flag" ||
42031 test ! -s conftest.err
42032 } && test -s conftest$ac_exeext &&
42033 $as_test_x conftest$ac_exeext; then
42034 ac_cv_lib_dl_dlerror=yes
42035 else
42036 echo "$as_me: failed program was:" >&5
42037 sed 's/^/| /' conftest.$ac_ext >&5
42038
42039 ac_cv_lib_dl_dlerror=no
42040 fi
42041
42042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42043 conftest$ac_exeext conftest.$ac_ext
42044 LIBS=$ac_check_lib_save_LIBS
42045 fi
42046 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42047 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42048 if test $ac_cv_lib_dl_dlerror = yes; then
42049 cat >>confdefs.h <<\_ACEOF
42050 #define HAVE_DLERROR 1
42051 _ACEOF
42052
42053 fi
42054
42055
42056
42057 fi
42058 done
42059
42060 fi
42061 fi
42062
42063 if test "$USE_DARWIN" = 1; then
42064 HAVE_DL_FUNCS=1
42065 fi
42066
42067 if test "$HAVE_DL_FUNCS" = 0; then
42068 if test "$HAVE_SHL_FUNCS" = 0; then
42069 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42070 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42071 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42072 wxUSE_DYNAMIC_LOADER=no
42073 wxUSE_DYNLIB_CLASS=no
42074 else
42075 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42076 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42077 fi
42078 fi
42079 fi
42080 fi
42081 fi
42082
42083 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42084 cat >>confdefs.h <<\_ACEOF
42085 #define wxUSE_DYNAMIC_LOADER 1
42086 _ACEOF
42087
42088 fi
42089 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42090 cat >>confdefs.h <<\_ACEOF
42091 #define wxUSE_DYNLIB_CLASS 1
42092 _ACEOF
42093
42094 fi
42095
42096
42097
42098 if test "$wxUSE_PLUGINS" = "yes" ; then
42099 if test "$wxUSE_SHARED" = "no" ; then
42100 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42101 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42102 wxUSE_PLUGINS=no
42103 fi
42104 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42105 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42106 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42107 wxUSE_PLUGINS=no
42108 fi
42109 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42110 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42111 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42112 wxUSE_PLUGINS=no
42113 fi
42114 if test "$wxUSE_PLUGINS" = "yes" ; then
42115 cat >>confdefs.h <<\_ACEOF
42116 #define wxUSE_PLUGINS 1
42117 _ACEOF
42118
42119 fi
42120 fi
42121
42122
42123 if test "$wxUSE_STL" = "yes"; then
42124 cat >>confdefs.h <<\_ACEOF
42125 #define wxUSE_STL 1
42126 _ACEOF
42127
42128 fi
42129
42130 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42131 cat >>confdefs.h <<\_ACEOF
42132 #define wxUSE_EXTENDED_RTTI 1
42133 _ACEOF
42134
42135 fi
42136
42137 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42138 cat >>confdefs.h <<\_ACEOF
42139 #define wxUSE_APPLE_IEEE 1
42140 _ACEOF
42141
42142 fi
42143
42144 if test "$wxUSE_TIMER" = "yes"; then
42145 cat >>confdefs.h <<\_ACEOF
42146 #define wxUSE_TIMER 1
42147 _ACEOF
42148
42149 fi
42150
42151 if test "$USE_UNIX" = 1 ; then
42152 if test "$wxUSE_MGL" != 1; then
42153 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42154 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42155 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42156 echo $ECHO_N "(cached) $ECHO_C" >&6
42157 else
42158
42159 cat >conftest.$ac_ext <<_ACEOF
42160 /* confdefs.h. */
42161 _ACEOF
42162 cat confdefs.h >>conftest.$ac_ext
42163 cat >>conftest.$ac_ext <<_ACEOF
42164 /* end confdefs.h. */
42165
42166 #include <sys/ioctl.h>
42167 #include <sys/soundcard.h>
42168
42169 int
42170 main ()
42171 {
42172
42173 ioctl(0, SNDCTL_DSP_SPEED, 0);
42174
42175 ;
42176 return 0;
42177 }
42178 _ACEOF
42179 rm -f conftest.$ac_objext conftest$ac_exeext
42180 if { (ac_try="$ac_link"
42181 case "(($ac_try" in
42182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42183 *) ac_try_echo=$ac_try;;
42184 esac
42185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42186 (eval "$ac_link") 2>conftest.er1
42187 ac_status=$?
42188 grep -v '^ *+' conftest.er1 >conftest.err
42189 rm -f conftest.er1
42190 cat conftest.err >&5
42191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42192 (exit $ac_status); } && {
42193 test -z "$ac_c_werror_flag" ||
42194 test ! -s conftest.err
42195 } && test -s conftest$ac_exeext &&
42196 $as_test_x conftest$ac_exeext; then
42197 ac_cv_header_sys_soundcard=yes
42198 else
42199 echo "$as_me: failed program was:" >&5
42200 sed 's/^/| /' conftest.$ac_ext >&5
42201
42202
42203 saveLibs="$LIBS"
42204 LIBS="$saveLibs -lossaudio"
42205 cat >conftest.$ac_ext <<_ACEOF
42206 /* confdefs.h. */
42207 _ACEOF
42208 cat confdefs.h >>conftest.$ac_ext
42209 cat >>conftest.$ac_ext <<_ACEOF
42210 /* end confdefs.h. */
42211
42212 #include <sys/ioctl.h>
42213 #include <sys/soundcard.h>
42214
42215 int
42216 main ()
42217 {
42218
42219 ioctl(0, SNDCTL_DSP_SPEED, 0);
42220
42221 ;
42222 return 0;
42223 }
42224 _ACEOF
42225 rm -f conftest.$ac_objext conftest$ac_exeext
42226 if { (ac_try="$ac_link"
42227 case "(($ac_try" in
42228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42229 *) ac_try_echo=$ac_try;;
42230 esac
42231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42232 (eval "$ac_link") 2>conftest.er1
42233 ac_status=$?
42234 grep -v '^ *+' conftest.er1 >conftest.err
42235 rm -f conftest.er1
42236 cat conftest.err >&5
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); } && {
42239 test -z "$ac_c_werror_flag" ||
42240 test ! -s conftest.err
42241 } && test -s conftest$ac_exeext &&
42242 $as_test_x conftest$ac_exeext; then
42243 ac_cv_header_sys_soundcard=yes
42244 else
42245 echo "$as_me: failed program was:" >&5
42246 sed 's/^/| /' conftest.$ac_ext >&5
42247
42248
42249 LIBS="$saveLibs"
42250 ac_cv_header_sys_soundcard=no
42251
42252
42253 fi
42254
42255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42256 conftest$ac_exeext conftest.$ac_ext
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 fi
42265 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42266 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42267 fi
42268
42269 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42270 cat >>confdefs.h <<\_ACEOF
42271 #define HAVE_SYS_SOUNDCARD_H 1
42272 _ACEOF
42273
42274 fi
42275 fi
42276
42277 WITH_PLUGIN_SDL=0
42278 if test "$wxUSE_SOUND" = "yes"; then
42279 if test "$USE_UNIX" = 1 ; then
42280 if test "$wxUSE_LIBSDL" != "no"; then
42281
42282 # Check whether --with-sdl-prefix was given.
42283 if test "${with_sdl_prefix+set}" = set; then
42284 withval=$with_sdl_prefix; sdl_prefix="$withval"
42285 else
42286 sdl_prefix=""
42287 fi
42288
42289
42290 # Check whether --with-sdl-exec-prefix was given.
42291 if test "${with_sdl_exec_prefix+set}" = set; then
42292 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42293 else
42294 sdl_exec_prefix=""
42295 fi
42296
42297 # Check whether --enable-sdltest was given.
42298 if test "${enable_sdltest+set}" = set; then
42299 enableval=$enable_sdltest;
42300 else
42301 enable_sdltest=yes
42302 fi
42303
42304
42305 if test x$sdl_exec_prefix != x ; then
42306 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42307 if test x${SDL_CONFIG+set} != xset ; then
42308 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42309 fi
42310 fi
42311 if test x$sdl_prefix != x ; then
42312 sdl_args="$sdl_args --prefix=$sdl_prefix"
42313 if test x${SDL_CONFIG+set} != xset ; then
42314 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42315 fi
42316 fi
42317
42318 if test "x$prefix" != xNONE; then
42319 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42320 fi
42321 # Extract the first word of "sdl-config", so it can be a program name with args.
42322 set dummy sdl-config; ac_word=$2
42323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42325 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42326 echo $ECHO_N "(cached) $ECHO_C" >&6
42327 else
42328 case $SDL_CONFIG in
42329 [\\/]* | ?:[\\/]*)
42330 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42331 ;;
42332 *)
42333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42334 for as_dir in $PATH
42335 do
42336 IFS=$as_save_IFS
42337 test -z "$as_dir" && as_dir=.
42338 for ac_exec_ext in '' $ac_executable_extensions; do
42339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42340 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42342 break 2
42343 fi
42344 done
42345 done
42346 IFS=$as_save_IFS
42347
42348 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42349 ;;
42350 esac
42351 fi
42352 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42353 if test -n "$SDL_CONFIG"; then
42354 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42355 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42356 else
42357 { echo "$as_me:$LINENO: result: no" >&5
42358 echo "${ECHO_T}no" >&6; }
42359 fi
42360
42361
42362 min_sdl_version=1.2.0
42363 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42364 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42365 no_sdl=""
42366 if test "$SDL_CONFIG" = "no" ; then
42367 no_sdl=yes
42368 else
42369 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42370 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42371
42372 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42374 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42375 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42376 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42377 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42378 if test "x$enable_sdltest" = "xyes" ; then
42379 ac_save_CFLAGS="$CFLAGS"
42380 ac_save_CXXFLAGS="$CXXFLAGS"
42381 ac_save_LIBS="$LIBS"
42382 CFLAGS="$CFLAGS $SDL_CFLAGS"
42383 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42384 LIBS="$LIBS $SDL_LIBS"
42385 rm -f conf.sdltest
42386 if test "$cross_compiling" = yes; then
42387 echo $ac_n "cross compiling; assumed OK... $ac_c"
42388 else
42389 cat >conftest.$ac_ext <<_ACEOF
42390 /* confdefs.h. */
42391 _ACEOF
42392 cat confdefs.h >>conftest.$ac_ext
42393 cat >>conftest.$ac_ext <<_ACEOF
42394 /* end confdefs.h. */
42395
42396 #include <stdio.h>
42397 #include <stdlib.h>
42398 #include <string.h>
42399 #include "SDL.h"
42400
42401 char*
42402 my_strdup (char *str)
42403 {
42404 char *new_str;
42405
42406 if (str)
42407 {
42408 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42409 strcpy (new_str, str);
42410 }
42411 else
42412 new_str = NULL;
42413
42414 return new_str;
42415 }
42416
42417 int main (int argc, char *argv[])
42418 {
42419 int major, minor, micro;
42420 char *tmp_version;
42421
42422 /* This hangs on some systems (?)
42423 system ("touch conf.sdltest");
42424 */
42425 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42426
42427 /* HP/UX 9 (%@#!) writes to sscanf strings */
42428 tmp_version = my_strdup("$min_sdl_version");
42429 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42430 printf("%s, bad version string\n", "$min_sdl_version");
42431 exit(1);
42432 }
42433
42434 if (($sdl_major_version > major) ||
42435 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42436 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42437 {
42438 return 0;
42439 }
42440 else
42441 {
42442 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42443 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42444 printf("*** best to upgrade to the required version.\n");
42445 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42446 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42447 printf("*** config.cache before re-running configure\n");
42448 return 1;
42449 }
42450 }
42451
42452
42453 _ACEOF
42454 rm -f conftest$ac_exeext
42455 if { (ac_try="$ac_link"
42456 case "(($ac_try" in
42457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42458 *) ac_try_echo=$ac_try;;
42459 esac
42460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42461 (eval "$ac_link") 2>&5
42462 ac_status=$?
42463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42465 { (case "(($ac_try" in
42466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42467 *) ac_try_echo=$ac_try;;
42468 esac
42469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42470 (eval "$ac_try") 2>&5
42471 ac_status=$?
42472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42473 (exit $ac_status); }; }; then
42474 :
42475 else
42476 echo "$as_me: program exited with status $ac_status" >&5
42477 echo "$as_me: failed program was:" >&5
42478 sed 's/^/| /' conftest.$ac_ext >&5
42479
42480 ( exit $ac_status )
42481 no_sdl=yes
42482 fi
42483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42484 fi
42485
42486
42487 CFLAGS="$ac_save_CFLAGS"
42488 CXXFLAGS="$ac_save_CXXFLAGS"
42489 LIBS="$ac_save_LIBS"
42490 fi
42491 fi
42492 if test "x$no_sdl" = x ; then
42493 { echo "$as_me:$LINENO: result: yes" >&5
42494 echo "${ECHO_T}yes" >&6; }
42495
42496 EXTRALIBS_SDL="$SDL_LIBS"
42497 CFLAGS="$SDL_CFLAGS $CFLAGS"
42498 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42499 cat >>confdefs.h <<\_ACEOF
42500 #define wxUSE_LIBSDL 1
42501 _ACEOF
42502
42503
42504 else
42505 { echo "$as_me:$LINENO: result: no" >&5
42506 echo "${ECHO_T}no" >&6; }
42507 if test "$SDL_CONFIG" = "no" ; then
42508 echo "*** The sdl-config script installed by SDL could not be found"
42509 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42510 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42511 echo "*** full path to sdl-config."
42512 else
42513 if test -f conf.sdltest ; then
42514 :
42515 else
42516 echo "*** Could not run SDL test program, checking why..."
42517 CFLAGS="$CFLAGS $SDL_CFLAGS"
42518 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42519 LIBS="$LIBS $SDL_LIBS"
42520 cat >conftest.$ac_ext <<_ACEOF
42521 /* confdefs.h. */
42522 _ACEOF
42523 cat confdefs.h >>conftest.$ac_ext
42524 cat >>conftest.$ac_ext <<_ACEOF
42525 /* end confdefs.h. */
42526
42527 #include <stdio.h>
42528 #include "SDL.h"
42529
42530 int main(int argc, char *argv[])
42531 { return 0; }
42532 #undef main
42533 #define main K_and_R_C_main
42534
42535 int
42536 main ()
42537 {
42538 return 0;
42539 ;
42540 return 0;
42541 }
42542 _ACEOF
42543 rm -f conftest.$ac_objext conftest$ac_exeext
42544 if { (ac_try="$ac_link"
42545 case "(($ac_try" in
42546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42547 *) ac_try_echo=$ac_try;;
42548 esac
42549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42550 (eval "$ac_link") 2>conftest.er1
42551 ac_status=$?
42552 grep -v '^ *+' conftest.er1 >conftest.err
42553 rm -f conftest.er1
42554 cat conftest.err >&5
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); } && {
42557 test -z "$ac_c_werror_flag" ||
42558 test ! -s conftest.err
42559 } && test -s conftest$ac_exeext &&
42560 $as_test_x conftest$ac_exeext; then
42561 echo "*** The test program compiled, but did not run. This usually means"
42562 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42563 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42564 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42565 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42566 echo "*** is required on your system"
42567 echo "***"
42568 echo "*** If you have an old version installed, it is best to remove it, although"
42569 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42570 else
42571 echo "$as_me: failed program was:" >&5
42572 sed 's/^/| /' conftest.$ac_ext >&5
42573
42574 echo "*** The test program failed to compile or link. See the file config.log for the"
42575 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42576 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42577 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42578 fi
42579
42580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42581 conftest$ac_exeext conftest.$ac_ext
42582 CFLAGS="$ac_save_CFLAGS"
42583 CXXFLAGS="$ac_save_CXXFLAGS"
42584 LIBS="$ac_save_LIBS"
42585 fi
42586 fi
42587 SDL_CFLAGS=""
42588 SDL_LIBS=""
42589 wxUSE_LIBSDL="no"
42590 fi
42591
42592
42593 rm -f conf.sdltest
42594
42595 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42596 WITH_PLUGIN_SDL=1
42597 fi
42598 fi
42599 else
42600 if test "$wxUSE_MGL" = 1; then
42601 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42602 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42603 wxUSE_SOUND="no"
42604 fi
42605 fi
42606 fi
42607
42608 if test "$wxUSE_SOUND" = "yes"; then
42609 cat >>confdefs.h <<\_ACEOF
42610 #define wxUSE_SOUND 1
42611 _ACEOF
42612
42613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42614 fi
42615
42616 if test "$WXGTK2" = 1; then
42617
42618
42619 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42620 if test -n "$ac_tool_prefix"; then
42621 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42622 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42625 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42626 echo $ECHO_N "(cached) $ECHO_C" >&6
42627 else
42628 case $PKG_CONFIG in
42629 [\\/]* | ?:[\\/]*)
42630 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42631 ;;
42632 *)
42633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42634 for as_dir in $PATH
42635 do
42636 IFS=$as_save_IFS
42637 test -z "$as_dir" && as_dir=.
42638 for ac_exec_ext in '' $ac_executable_extensions; do
42639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42640 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42642 break 2
42643 fi
42644 done
42645 done
42646 IFS=$as_save_IFS
42647
42648 ;;
42649 esac
42650 fi
42651 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42652 if test -n "$PKG_CONFIG"; then
42653 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42654 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42655 else
42656 { echo "$as_me:$LINENO: result: no" >&5
42657 echo "${ECHO_T}no" >&6; }
42658 fi
42659
42660
42661 fi
42662 if test -z "$ac_cv_path_PKG_CONFIG"; then
42663 ac_pt_PKG_CONFIG=$PKG_CONFIG
42664 # Extract the first word of "pkg-config", so it can be a program name with args.
42665 set dummy pkg-config; ac_word=$2
42666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42668 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42669 echo $ECHO_N "(cached) $ECHO_C" >&6
42670 else
42671 case $ac_pt_PKG_CONFIG in
42672 [\\/]* | ?:[\\/]*)
42673 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42674 ;;
42675 *)
42676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42677 for as_dir in $PATH
42678 do
42679 IFS=$as_save_IFS
42680 test -z "$as_dir" && as_dir=.
42681 for ac_exec_ext in '' $ac_executable_extensions; do
42682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42683 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42685 break 2
42686 fi
42687 done
42688 done
42689 IFS=$as_save_IFS
42690
42691 ;;
42692 esac
42693 fi
42694 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42695 if test -n "$ac_pt_PKG_CONFIG"; then
42696 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42697 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42698 else
42699 { echo "$as_me:$LINENO: result: no" >&5
42700 echo "${ECHO_T}no" >&6; }
42701 fi
42702
42703 if test "x$ac_pt_PKG_CONFIG" = x; then
42704 PKG_CONFIG=""
42705 else
42706 case $cross_compiling:$ac_tool_warned in
42707 yes:)
42708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42709 whose name does not start with the host triplet. If you think this
42710 configuration is useful to you, please write to autoconf@gnu.org." >&5
42711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42712 whose name does not start with the host triplet. If you think this
42713 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42714 ac_tool_warned=yes ;;
42715 esac
42716 PKG_CONFIG=$ac_pt_PKG_CONFIG
42717 fi
42718 else
42719 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42720 fi
42721
42722 fi
42723 if test -n "$PKG_CONFIG"; then
42724 _pkg_min_version=0.9.0
42725 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42726 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42727 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42728 { echo "$as_me:$LINENO: result: yes" >&5
42729 echo "${ECHO_T}yes" >&6; }
42730 else
42731 { echo "$as_me:$LINENO: result: no" >&5
42732 echo "${ECHO_T}no" >&6; }
42733 PKG_CONFIG=""
42734 fi
42735
42736 fi
42737
42738 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42739
42740 if test "$wxUSE_GTKPRINT" = "yes" ; then
42741
42742
42743 pkg_failed=no
42744 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42745 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42746
42747 if test -n "$PKG_CONFIG"; then
42748 if test -n "$GTKPRINT_CFLAGS"; then
42749 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42750 else
42751 if test -n "$PKG_CONFIG" && \
42752 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42753 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42754 ac_status=$?
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); }; then
42757 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42758 else
42759 pkg_failed=yes
42760 fi
42761 fi
42762 else
42763 pkg_failed=untried
42764 fi
42765 if test -n "$PKG_CONFIG"; then
42766 if test -n "$GTKPRINT_LIBS"; then
42767 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42768 else
42769 if test -n "$PKG_CONFIG" && \
42770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42771 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42772 ac_status=$?
42773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42774 (exit $ac_status); }; then
42775 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42776 else
42777 pkg_failed=yes
42778 fi
42779 fi
42780 else
42781 pkg_failed=untried
42782 fi
42783
42784
42785
42786 if test $pkg_failed = yes; then
42787
42788 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42789 _pkg_short_errors_supported=yes
42790 else
42791 _pkg_short_errors_supported=no
42792 fi
42793 if test $_pkg_short_errors_supported = yes; then
42794 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42795 else
42796 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42797 fi
42798 # Put the nasty error message in config.log where it belongs
42799 echo "$GTKPRINT_PKG_ERRORS" >&5
42800
42801
42802 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42803 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42804 wxUSE_GTKPRINT="no"
42805
42806
42807 elif test $pkg_failed = untried; then
42808
42809 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42810 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42811 wxUSE_GTKPRINT="no"
42812
42813
42814 else
42815 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42816 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42817 { echo "$as_me:$LINENO: result: yes" >&5
42818 echo "${ECHO_T}yes" >&6; }
42819
42820 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42821 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42822 cat >>confdefs.h <<\_ACEOF
42823 #define wxUSE_GTKPRINT 1
42824 _ACEOF
42825
42826
42827 fi
42828 fi
42829
42830 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42831
42832
42833 pkg_failed=no
42834 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42835 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42836
42837 if test -n "$PKG_CONFIG"; then
42838 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42839 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42840 else
42841 if test -n "$PKG_CONFIG" && \
42842 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42843 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42844 ac_status=$?
42845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42846 (exit $ac_status); }; then
42847 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42848 else
42849 pkg_failed=yes
42850 fi
42851 fi
42852 else
42853 pkg_failed=untried
42854 fi
42855 if test -n "$PKG_CONFIG"; then
42856 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42857 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42858 else
42859 if test -n "$PKG_CONFIG" && \
42860 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42861 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42862 ac_status=$?
42863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42864 (exit $ac_status); }; then
42865 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42866 else
42867 pkg_failed=yes
42868 fi
42869 fi
42870 else
42871 pkg_failed=untried
42872 fi
42873
42874
42875
42876 if test $pkg_failed = yes; then
42877
42878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42879 _pkg_short_errors_supported=yes
42880 else
42881 _pkg_short_errors_supported=no
42882 fi
42883 if test $_pkg_short_errors_supported = yes; then
42884 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42885 else
42886 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42887 fi
42888 # Put the nasty error message in config.log where it belongs
42889 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42890
42891
42892 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42893 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42894 wxUSE_LIBGNOMEPRINT="no"
42895
42896
42897 elif test $pkg_failed = untried; then
42898
42899 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42900 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42901 wxUSE_LIBGNOMEPRINT="no"
42902
42903
42904 else
42905 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42906 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42907 { echo "$as_me:$LINENO: result: yes" >&5
42908 echo "${ECHO_T}yes" >&6; }
42909
42910 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42911 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42912 cat >>confdefs.h <<\_ACEOF
42913 #define wxUSE_LIBGNOMEPRINT 1
42914 _ACEOF
42915
42916
42917 fi
42918 fi
42919 fi
42920
42921 if test "$wxUSE_MIMETYPE" = "yes" ; then
42922 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42923
42924
42925 pkg_failed=no
42926 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42927 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42928
42929 if test -n "$PKG_CONFIG"; then
42930 if test -n "$GNOMEVFS_CFLAGS"; then
42931 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42932 else
42933 if test -n "$PKG_CONFIG" && \
42934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42935 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42936 ac_status=$?
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); }; then
42939 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42940 else
42941 pkg_failed=yes
42942 fi
42943 fi
42944 else
42945 pkg_failed=untried
42946 fi
42947 if test -n "$PKG_CONFIG"; then
42948 if test -n "$GNOMEVFS_LIBS"; then
42949 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42950 else
42951 if test -n "$PKG_CONFIG" && \
42952 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42953 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42954 ac_status=$?
42955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42956 (exit $ac_status); }; then
42957 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42958 else
42959 pkg_failed=yes
42960 fi
42961 fi
42962 else
42963 pkg_failed=untried
42964 fi
42965
42966
42967
42968 if test $pkg_failed = yes; then
42969
42970 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42971 _pkg_short_errors_supported=yes
42972 else
42973 _pkg_short_errors_supported=no
42974 fi
42975 if test $_pkg_short_errors_supported = yes; then
42976 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42977 else
42978 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42979 fi
42980 # Put the nasty error message in config.log where it belongs
42981 echo "$GNOMEVFS_PKG_ERRORS" >&5
42982
42983
42984 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42985 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42986 wxUSE_LIBGNOMEVFS="no"
42987
42988
42989 elif test $pkg_failed = untried; then
42990
42991 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42992 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42993 wxUSE_LIBGNOMEVFS="no"
42994
42995
42996 else
42997 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42998 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42999 { echo "$as_me:$LINENO: result: yes" >&5
43000 echo "${ECHO_T}yes" >&6; }
43001
43002 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43003 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43004 cat >>confdefs.h <<\_ACEOF
43005 #define wxUSE_LIBGNOMEVFS 1
43006 _ACEOF
43007
43008
43009 fi
43010 fi
43011 fi
43012
43013 if test "$wxUSE_LIBHILDON" = "yes" ; then
43014
43015 pkg_failed=no
43016 { echo "$as_me:$LINENO: checking for HILDON" >&5
43017 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43018
43019 if test -n "$PKG_CONFIG"; then
43020 if test -n "$HILDON_CFLAGS"; then
43021 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43022 else
43023 if test -n "$PKG_CONFIG" && \
43024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43025 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43026 ac_status=$?
43027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43028 (exit $ac_status); }; then
43029 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43030 else
43031 pkg_failed=yes
43032 fi
43033 fi
43034 else
43035 pkg_failed=untried
43036 fi
43037 if test -n "$PKG_CONFIG"; then
43038 if test -n "$HILDON_LIBS"; then
43039 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43040 else
43041 if test -n "$PKG_CONFIG" && \
43042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43043 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43044 ac_status=$?
43045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43046 (exit $ac_status); }; then
43047 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43048 else
43049 pkg_failed=yes
43050 fi
43051 fi
43052 else
43053 pkg_failed=untried
43054 fi
43055
43056
43057
43058 if test $pkg_failed = yes; then
43059
43060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43061 _pkg_short_errors_supported=yes
43062 else
43063 _pkg_short_errors_supported=no
43064 fi
43065 if test $_pkg_short_errors_supported = yes; then
43066 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43067 else
43068 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43069 fi
43070 # Put the nasty error message in config.log where it belongs
43071 echo "$HILDON_PKG_ERRORS" >&5
43072
43073
43074 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43075 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43076 wxUSE_LIBHILDON="no"
43077
43078
43079 elif test $pkg_failed = untried; then
43080
43081 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43082 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43083 wxUSE_LIBHILDON="no"
43084
43085
43086 else
43087 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43088 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43089 { echo "$as_me:$LINENO: result: yes" >&5
43090 echo "${ECHO_T}yes" >&6; }
43091
43092 EXTRALIBS_HILDON="$HILDON_LIBS"
43093 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43094 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43095 cat >>confdefs.h <<\_ACEOF
43096 #define wxUSE_LIBHILDON 1
43097 _ACEOF
43098
43099
43100 fi
43101 fi
43102 fi
43103
43104 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43105 cat >>confdefs.h <<\_ACEOF
43106 #define wxUSE_CMDLINE_PARSER 1
43107 _ACEOF
43108
43109 fi
43110
43111 if test "$wxUSE_STOPWATCH" = "yes"; then
43112 cat >>confdefs.h <<\_ACEOF
43113 #define wxUSE_STOPWATCH 1
43114 _ACEOF
43115
43116 fi
43117
43118 if test "$wxUSE_DATETIME" = "yes"; then
43119 cat >>confdefs.h <<\_ACEOF
43120 #define wxUSE_DATETIME 1
43121 _ACEOF
43122
43123 fi
43124
43125 if test "$wxUSE_FILE" = "yes"; then
43126 cat >>confdefs.h <<\_ACEOF
43127 #define wxUSE_FILE 1
43128 _ACEOF
43129
43130 fi
43131
43132 if test "$wxUSE_FFILE" = "yes"; then
43133 cat >>confdefs.h <<\_ACEOF
43134 #define wxUSE_FFILE 1
43135 _ACEOF
43136
43137 fi
43138
43139 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43140 if test "$wxUSE_STREAMS" != yes; then
43141 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43142 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43143 wxUSE_ARCHIVE_STREAMS=no
43144 else
43145 cat >>confdefs.h <<\_ACEOF
43146 #define wxUSE_ARCHIVE_STREAMS 1
43147 _ACEOF
43148
43149 fi
43150 fi
43151
43152 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43153 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43154 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43155 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43156 elif test "$wxUSE_ZLIB" = "no"; then
43157 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43158 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43159 else
43160 cat >>confdefs.h <<\_ACEOF
43161 #define wxUSE_ZIPSTREAM 1
43162 _ACEOF
43163
43164 fi
43165 fi
43166
43167 if test "$wxUSE_TARSTREAM" = "yes"; then
43168 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43169 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43170 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43171 else
43172 cat >>confdefs.h <<\_ACEOF
43173 #define wxUSE_TARSTREAM 1
43174 _ACEOF
43175
43176 fi
43177 fi
43178
43179 if test "$wxUSE_FILESYSTEM" = "yes"; then
43180 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43181 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43182 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43183 wxUSE_FILESYSTEM=no
43184 else
43185 cat >>confdefs.h <<\_ACEOF
43186 #define wxUSE_FILESYSTEM 1
43187 _ACEOF
43188
43189 fi
43190 fi
43191
43192 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43193 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43194 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43195 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43196 else
43197 cat >>confdefs.h <<\_ACEOF
43198 #define wxUSE_FS_ARCHIVE 1
43199 _ACEOF
43200
43201 fi
43202 fi
43203
43204 if test "$wxUSE_FS_ZIP" = "yes"; then
43205 if test "$wxUSE_FS_ARCHIVE" != yes; then
43206 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43207 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43208 else
43209 cat >>confdefs.h <<\_ACEOF
43210 #define wxUSE_FS_ZIP 1
43211 _ACEOF
43212
43213 fi
43214 fi
43215
43216 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43217 if test "$USE_UNIX" != 1; then
43218 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43219 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43220 wxUSE_ON_FATAL_EXCEPTION=no
43221 else
43222 cat >>confdefs.h <<\_ACEOF
43223 #define wxUSE_ON_FATAL_EXCEPTION 1
43224 _ACEOF
43225
43226 fi
43227 fi
43228
43229 if test "$wxUSE_STACKWALKER" = "yes"; then
43230 cat >>confdefs.h <<\_ACEOF
43231 #define wxUSE_STACKWALKER 1
43232 _ACEOF
43233
43234 fi
43235
43236 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43237 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43238 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43239 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43240 wxUSE_DEBUGREPORT=no
43241 else
43242 cat >>confdefs.h <<\_ACEOF
43243 #define wxUSE_DEBUGREPORT 1
43244 _ACEOF
43245
43246 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43248 fi
43249 fi
43250 fi
43251
43252 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43253 cat >>confdefs.h <<\_ACEOF
43254 #define wxUSE_SNGLINST_CHECKER 1
43255 _ACEOF
43256
43257 fi
43258
43259 if test "$wxUSE_BUSYINFO" = "yes"; then
43260 cat >>confdefs.h <<\_ACEOF
43261 #define wxUSE_BUSYINFO 1
43262 _ACEOF
43263
43264 fi
43265
43266 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43267 cat >>confdefs.h <<\_ACEOF
43268 #define wxUSE_STD_IOSTREAM 1
43269 _ACEOF
43270
43271 fi
43272
43273 if test "$wxUSE_STD_STRING" = "yes"; then
43274 cat >>confdefs.h <<\_ACEOF
43275 #define wxUSE_STD_STRING 1
43276 _ACEOF
43277
43278 fi
43279
43280 if test "$wxUSE_STDPATHS" = "yes"; then
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_STDPATHS 1
43283 _ACEOF
43284
43285 fi
43286
43287 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43288 cat >>confdefs.h <<\_ACEOF
43289 #define wxUSE_TEXTBUFFER 1
43290 _ACEOF
43291
43292 fi
43293
43294 if test "$wxUSE_TEXTFILE" = "yes"; then
43295 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43296 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43297 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43298 else
43299 cat >>confdefs.h <<\_ACEOF
43300 #define wxUSE_TEXTFILE 1
43301 _ACEOF
43302
43303 fi
43304 fi
43305
43306 if test "$wxUSE_CONFIG" = "yes" ; then
43307 if test "$wxUSE_TEXTFILE" != "yes"; then
43308 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43309 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43310 else
43311 cat >>confdefs.h <<\_ACEOF
43312 #define wxUSE_CONFIG 1
43313 _ACEOF
43314
43315 cat >>confdefs.h <<\_ACEOF
43316 #define wxUSE_CONFIG_NATIVE 1
43317 _ACEOF
43318
43319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43320 fi
43321 fi
43322
43323 if test "$wxUSE_INTL" = "yes" ; then
43324 if test "$wxUSE_FILE" != "yes"; then
43325 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43326 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43327 else
43328 cat >>confdefs.h <<\_ACEOF
43329 #define wxUSE_INTL 1
43330 _ACEOF
43331
43332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43333 GUIDIST="$GUIDIST INTL_DIST"
43334 fi
43335 fi
43336
43337 if test "$wxUSE_XLOCALE" = "yes" ; then
43338 cat >>confdefs.h <<\_ACEOF
43339 #define wxUSE_XLOCALE 1
43340 _ACEOF
43341
43342 { echo "$as_me:$LINENO: checking for locale_t" >&5
43343 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43344 if test "${ac_cv_type_locale_t+set}" = set; then
43345 echo $ECHO_N "(cached) $ECHO_C" >&6
43346 else
43347 cat >conftest.$ac_ext <<_ACEOF
43348 /* confdefs.h. */
43349 _ACEOF
43350 cat confdefs.h >>conftest.$ac_ext
43351 cat >>conftest.$ac_ext <<_ACEOF
43352 /* end confdefs.h. */
43353 #include <xlocale.h>
43354 #include <locale.h>
43355
43356 typedef locale_t ac__type_new_;
43357 int
43358 main ()
43359 {
43360 if ((ac__type_new_ *) 0)
43361 return 0;
43362 if (sizeof (ac__type_new_))
43363 return 0;
43364 ;
43365 return 0;
43366 }
43367 _ACEOF
43368 rm -f conftest.$ac_objext
43369 if { (ac_try="$ac_compile"
43370 case "(($ac_try" in
43371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43372 *) ac_try_echo=$ac_try;;
43373 esac
43374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43375 (eval "$ac_compile") 2>conftest.er1
43376 ac_status=$?
43377 grep -v '^ *+' conftest.er1 >conftest.err
43378 rm -f conftest.er1
43379 cat conftest.err >&5
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); } && {
43382 test -z "$ac_c_werror_flag" ||
43383 test ! -s conftest.err
43384 } && test -s conftest.$ac_objext; then
43385 ac_cv_type_locale_t=yes
43386 else
43387 echo "$as_me: failed program was:" >&5
43388 sed 's/^/| /' conftest.$ac_ext >&5
43389
43390 ac_cv_type_locale_t=no
43391 fi
43392
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394 fi
43395 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43396 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43397 if test $ac_cv_type_locale_t = yes; then
43398
43399 cat >>confdefs.h <<_ACEOF
43400 #define HAVE_LOCALE_T 1
43401 _ACEOF
43402
43403
43404 fi
43405
43406 fi
43407
43408 if test "$wxUSE_LOG" = "yes"; then
43409 cat >>confdefs.h <<\_ACEOF
43410 #define wxUSE_LOG 1
43411 _ACEOF
43412
43413
43414 if test "$wxUSE_LOGGUI" = "yes"; then
43415 cat >>confdefs.h <<\_ACEOF
43416 #define wxUSE_LOGGUI 1
43417 _ACEOF
43418
43419 fi
43420
43421 if test "$wxUSE_LOGWINDOW" = "yes"; then
43422 cat >>confdefs.h <<\_ACEOF
43423 #define wxUSE_LOGWINDOW 1
43424 _ACEOF
43425
43426 fi
43427
43428 if test "$wxUSE_LOGDIALOG" = "yes"; then
43429 cat >>confdefs.h <<\_ACEOF
43430 #define wxUSE_LOG_DIALOG 1
43431 _ACEOF
43432
43433 fi
43434
43435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43436 fi
43437
43438 if test "$wxUSE_LONGLONG" = "yes"; then
43439 cat >>confdefs.h <<\_ACEOF
43440 #define wxUSE_LONGLONG 1
43441 _ACEOF
43442
43443 fi
43444
43445 if test "$wxUSE_GEOMETRY" = "yes"; then
43446 cat >>confdefs.h <<\_ACEOF
43447 #define wxUSE_GEOMETRY 1
43448 _ACEOF
43449
43450 fi
43451
43452 if test "$wxUSE_BASE64" = "yes"; then
43453 cat >>confdefs.h <<\_ACEOF
43454 #define wxUSE_BASE64 1
43455 _ACEOF
43456
43457 fi
43458
43459 if test "$wxUSE_STREAMS" = "yes" ; then
43460 cat >>confdefs.h <<\_ACEOF
43461 #define wxUSE_STREAMS 1
43462 _ACEOF
43463
43464 fi
43465
43466 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43467 cat >>confdefs.h <<\_ACEOF
43468 #define wxUSE_PRINTF_POS_PARAMS 1
43469 _ACEOF
43470
43471 fi
43472
43473 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_OBJC_UNIQUIFYING 1
43476 _ACEOF
43477
43478 fi
43479
43480
43481 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43482 cat >>confdefs.h <<\_ACEOF
43483 #define wxUSE_CONSOLE_EVENTLOOP 1
43484 _ACEOF
43485
43486
43487 if test "$wxUSE_UNIX" = "yes"; then
43488 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43489 cat >>confdefs.h <<\_ACEOF
43490 #define wxUSE_SELECT_DISPATCHER 1
43491 _ACEOF
43492
43493 fi
43494
43495 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43496
43497 for ac_header in sys/epoll.h
43498 do
43499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43503 echo $ECHO_N "(cached) $ECHO_C" >&6
43504 else
43505 cat >conftest.$ac_ext <<_ACEOF
43506 /* confdefs.h. */
43507 _ACEOF
43508 cat confdefs.h >>conftest.$ac_ext
43509 cat >>conftest.$ac_ext <<_ACEOF
43510 /* end confdefs.h. */
43511 $ac_includes_default
43512
43513 #include <$ac_header>
43514 _ACEOF
43515 rm -f conftest.$ac_objext
43516 if { (ac_try="$ac_compile"
43517 case "(($ac_try" in
43518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43519 *) ac_try_echo=$ac_try;;
43520 esac
43521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43522 (eval "$ac_compile") 2>conftest.er1
43523 ac_status=$?
43524 grep -v '^ *+' conftest.er1 >conftest.err
43525 rm -f conftest.er1
43526 cat conftest.err >&5
43527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43528 (exit $ac_status); } && {
43529 test -z "$ac_c_werror_flag" ||
43530 test ! -s conftest.err
43531 } && test -s conftest.$ac_objext; then
43532 eval "$as_ac_Header=yes"
43533 else
43534 echo "$as_me: failed program was:" >&5
43535 sed 's/^/| /' conftest.$ac_ext >&5
43536
43537 eval "$as_ac_Header=no"
43538 fi
43539
43540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43541 fi
43542 ac_res=`eval echo '${'$as_ac_Header'}'`
43543 { echo "$as_me:$LINENO: result: $ac_res" >&5
43544 echo "${ECHO_T}$ac_res" >&6; }
43545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43546 cat >>confdefs.h <<_ACEOF
43547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43548 _ACEOF
43549
43550 fi
43551
43552 done
43553
43554 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43555 cat >>confdefs.h <<\_ACEOF
43556 #define wxUSE_EPOLL_DISPATCHER 1
43557 _ACEOF
43558
43559 else
43560 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43561 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43562 fi
43563 fi
43564 fi
43565 fi
43566
43567
43568
43569
43570 for ac_func in gettimeofday ftime
43571 do
43572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43573 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43575 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43576 echo $ECHO_N "(cached) $ECHO_C" >&6
43577 else
43578 cat >conftest.$ac_ext <<_ACEOF
43579 /* confdefs.h. */
43580 _ACEOF
43581 cat confdefs.h >>conftest.$ac_ext
43582 cat >>conftest.$ac_ext <<_ACEOF
43583 /* end confdefs.h. */
43584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43586 #define $ac_func innocuous_$ac_func
43587
43588 /* System header to define __stub macros and hopefully few prototypes,
43589 which can conflict with char $ac_func (); below.
43590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43591 <limits.h> exists even on freestanding compilers. */
43592
43593 #ifdef __STDC__
43594 # include <limits.h>
43595 #else
43596 # include <assert.h>
43597 #endif
43598
43599 #undef $ac_func
43600
43601 /* Override any GCC internal prototype to avoid an error.
43602 Use char because int might match the return type of a GCC
43603 builtin and then its argument prototype would still apply. */
43604 #ifdef __cplusplus
43605 extern "C"
43606 #endif
43607 char $ac_func ();
43608 /* The GNU C library defines this for functions which it implements
43609 to always fail with ENOSYS. Some functions are actually named
43610 something starting with __ and the normal name is an alias. */
43611 #if defined __stub_$ac_func || defined __stub___$ac_func
43612 choke me
43613 #endif
43614
43615 int
43616 main ()
43617 {
43618 return $ac_func ();
43619 ;
43620 return 0;
43621 }
43622 _ACEOF
43623 rm -f conftest.$ac_objext conftest$ac_exeext
43624 if { (ac_try="$ac_link"
43625 case "(($ac_try" in
43626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43627 *) ac_try_echo=$ac_try;;
43628 esac
43629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43630 (eval "$ac_link") 2>conftest.er1
43631 ac_status=$?
43632 grep -v '^ *+' conftest.er1 >conftest.err
43633 rm -f conftest.er1
43634 cat conftest.err >&5
43635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43636 (exit $ac_status); } && {
43637 test -z "$ac_c_werror_flag" ||
43638 test ! -s conftest.err
43639 } && test -s conftest$ac_exeext &&
43640 $as_test_x conftest$ac_exeext; then
43641 eval "$as_ac_var=yes"
43642 else
43643 echo "$as_me: failed program was:" >&5
43644 sed 's/^/| /' conftest.$ac_ext >&5
43645
43646 eval "$as_ac_var=no"
43647 fi
43648
43649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43650 conftest$ac_exeext conftest.$ac_ext
43651 fi
43652 ac_res=`eval echo '${'$as_ac_var'}'`
43653 { echo "$as_me:$LINENO: result: $ac_res" >&5
43654 echo "${ECHO_T}$ac_res" >&6; }
43655 if test `eval echo '${'$as_ac_var'}'` = yes; then
43656 cat >>confdefs.h <<_ACEOF
43657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43658 _ACEOF
43659 break
43660 fi
43661 done
43662
43663
43664 if test "$ac_cv_func_gettimeofday" = "yes"; then
43665 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43666 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43667 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43668 echo $ECHO_N "(cached) $ECHO_C" >&6
43669 else
43670
43671 cat >conftest.$ac_ext <<_ACEOF
43672 /* confdefs.h. */
43673 _ACEOF
43674 cat confdefs.h >>conftest.$ac_ext
43675 cat >>conftest.$ac_ext <<_ACEOF
43676 /* end confdefs.h. */
43677
43678 #include <sys/time.h>
43679 #include <unistd.h>
43680
43681 int
43682 main ()
43683 {
43684
43685 struct timeval tv;
43686 gettimeofday(&tv, NULL);
43687
43688 ;
43689 return 0;
43690 }
43691 _ACEOF
43692 rm -f conftest.$ac_objext
43693 if { (ac_try="$ac_compile"
43694 case "(($ac_try" in
43695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43696 *) ac_try_echo=$ac_try;;
43697 esac
43698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43699 (eval "$ac_compile") 2>conftest.er1
43700 ac_status=$?
43701 grep -v '^ *+' conftest.er1 >conftest.err
43702 rm -f conftest.er1
43703 cat conftest.err >&5
43704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43705 (exit $ac_status); } && {
43706 test -z "$ac_c_werror_flag" ||
43707 test ! -s conftest.err
43708 } && test -s conftest.$ac_objext; then
43709 wx_cv_func_gettimeofday_has_2_args=yes
43710 else
43711 echo "$as_me: failed program was:" >&5
43712 sed 's/^/| /' conftest.$ac_ext >&5
43713
43714 cat >conftest.$ac_ext <<_ACEOF
43715 /* confdefs.h. */
43716 _ACEOF
43717 cat confdefs.h >>conftest.$ac_ext
43718 cat >>conftest.$ac_ext <<_ACEOF
43719 /* end confdefs.h. */
43720
43721 #include <sys/time.h>
43722 #include <unistd.h>
43723
43724 int
43725 main ()
43726 {
43727
43728 struct timeval tv;
43729 gettimeofday(&tv);
43730
43731 ;
43732 return 0;
43733 }
43734 _ACEOF
43735 rm -f conftest.$ac_objext
43736 if { (ac_try="$ac_compile"
43737 case "(($ac_try" in
43738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43739 *) ac_try_echo=$ac_try;;
43740 esac
43741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43742 (eval "$ac_compile") 2>conftest.er1
43743 ac_status=$?
43744 grep -v '^ *+' conftest.er1 >conftest.err
43745 rm -f conftest.er1
43746 cat conftest.err >&5
43747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43748 (exit $ac_status); } && {
43749 test -z "$ac_c_werror_flag" ||
43750 test ! -s conftest.err
43751 } && test -s conftest.$ac_objext; then
43752 wx_cv_func_gettimeofday_has_2_args=no
43753 else
43754 echo "$as_me: failed program was:" >&5
43755 sed 's/^/| /' conftest.$ac_ext >&5
43756
43757
43758 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43759 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43760 wx_cv_func_gettimeofday_has_2_args=unknown
43761
43762
43763 fi
43764
43765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43766
43767 fi
43768
43769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43770
43771 fi
43772 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43773 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43774
43775 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43776 cat >>confdefs.h <<\_ACEOF
43777 #define WX_GETTIMEOFDAY_NO_TZ 1
43778 _ACEOF
43779
43780 fi
43781 fi
43782
43783 if test "$wxUSE_DATETIME" = "yes"; then
43784 { echo "$as_me:$LINENO: checking for strptime" >&5
43785 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43786 if test "${ac_cv_func_strptime+set}" = set; then
43787 echo $ECHO_N "(cached) $ECHO_C" >&6
43788 else
43789 cat >conftest.$ac_ext <<_ACEOF
43790 /* confdefs.h. */
43791 _ACEOF
43792 cat confdefs.h >>conftest.$ac_ext
43793 cat >>conftest.$ac_ext <<_ACEOF
43794 /* end confdefs.h. */
43795 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43797 #define strptime innocuous_strptime
43798
43799 /* System header to define __stub macros and hopefully few prototypes,
43800 which can conflict with char strptime (); below.
43801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43802 <limits.h> exists even on freestanding compilers. */
43803
43804 #ifdef __STDC__
43805 # include <limits.h>
43806 #else
43807 # include <assert.h>
43808 #endif
43809
43810 #undef strptime
43811
43812 /* Override any GCC internal prototype to avoid an error.
43813 Use char because int might match the return type of a GCC
43814 builtin and then its argument prototype would still apply. */
43815 #ifdef __cplusplus
43816 extern "C"
43817 #endif
43818 char strptime ();
43819 /* The GNU C library defines this for functions which it implements
43820 to always fail with ENOSYS. Some functions are actually named
43821 something starting with __ and the normal name is an alias. */
43822 #if defined __stub_strptime || defined __stub___strptime
43823 choke me
43824 #endif
43825
43826 int
43827 main ()
43828 {
43829 return strptime ();
43830 ;
43831 return 0;
43832 }
43833 _ACEOF
43834 rm -f conftest.$ac_objext conftest$ac_exeext
43835 if { (ac_try="$ac_link"
43836 case "(($ac_try" in
43837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43838 *) ac_try_echo=$ac_try;;
43839 esac
43840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43841 (eval "$ac_link") 2>conftest.er1
43842 ac_status=$?
43843 grep -v '^ *+' conftest.er1 >conftest.err
43844 rm -f conftest.er1
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } && {
43848 test -z "$ac_c_werror_flag" ||
43849 test ! -s conftest.err
43850 } && test -s conftest$ac_exeext &&
43851 $as_test_x conftest$ac_exeext; then
43852 ac_cv_func_strptime=yes
43853 else
43854 echo "$as_me: failed program was:" >&5
43855 sed 's/^/| /' conftest.$ac_ext >&5
43856
43857 ac_cv_func_strptime=no
43858 fi
43859
43860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43861 conftest$ac_exeext conftest.$ac_ext
43862 fi
43863 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43864 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43865
43866 if test "$ac_cv_func_strptime" = "yes"; then
43867 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43868 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43869 if test "${wx_cv_func_strptime_decl+set}" = set; then
43870 echo $ECHO_N "(cached) $ECHO_C" >&6
43871 else
43872
43873 ac_ext=cpp
43874 ac_cpp='$CXXCPP $CPPFLAGS'
43875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43878
43879 cat >conftest.$ac_ext <<_ACEOF
43880 /* confdefs.h. */
43881 _ACEOF
43882 cat confdefs.h >>conftest.$ac_ext
43883 cat >>conftest.$ac_ext <<_ACEOF
43884 /* end confdefs.h. */
43885
43886 #include <time.h>
43887
43888 int
43889 main ()
43890 {
43891
43892 struct tm t;
43893 strptime("foo", "bar", &t);
43894
43895 ;
43896 return 0;
43897 }
43898 _ACEOF
43899 rm -f conftest.$ac_objext
43900 if { (ac_try="$ac_compile"
43901 case "(($ac_try" in
43902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43903 *) ac_try_echo=$ac_try;;
43904 esac
43905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43906 (eval "$ac_compile") 2>conftest.er1
43907 ac_status=$?
43908 grep -v '^ *+' conftest.er1 >conftest.err
43909 rm -f conftest.er1
43910 cat conftest.err >&5
43911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43912 (exit $ac_status); } && {
43913 test -z "$ac_cxx_werror_flag" ||
43914 test ! -s conftest.err
43915 } && test -s conftest.$ac_objext; then
43916 wx_cv_func_strptime_decl=yes
43917 else
43918 echo "$as_me: failed program was:" >&5
43919 sed 's/^/| /' conftest.$ac_ext >&5
43920
43921 wx_cv_func_strptime_decl=no
43922
43923 fi
43924
43925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43926 ac_ext=c
43927 ac_cpp='$CPP $CPPFLAGS'
43928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43931
43932
43933
43934 fi
43935 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43936 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43937 fi
43938 if test "$wx_cv_func_strptime_decl" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define HAVE_STRPTIME_DECL 1
43941 _ACEOF
43942
43943 else
43944 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43945 fi
43946 if test "$ac_cv_func_strptime" = "yes"; then
43947 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43948 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43949 if test "${wx_cv_func_strptime_ok+set}" = set; then
43950 echo $ECHO_N "(cached) $ECHO_C" >&6
43951 else
43952 if test "$cross_compiling" = yes; then
43953 wx_cv_func_strptime_ok=no
43954
43955 else
43956 cat >conftest.$ac_ext <<_ACEOF
43957
43958 #include <stdlib.h>
43959 #include <time.h>
43960 #include "confdefs.h"
43961
43962 $wx_strptime_decl
43963
43964 int main()
43965 {
43966 struct tm t;
43967 return !!strptime("", "%x", &t);
43968 }
43969
43970 _ACEOF
43971 rm -f conftest$ac_exeext
43972 if { (ac_try="$ac_link"
43973 case "(($ac_try" in
43974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43975 *) ac_try_echo=$ac_try;;
43976 esac
43977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43978 (eval "$ac_link") 2>&5
43979 ac_status=$?
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43982 { (case "(($ac_try" in
43983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43984 *) ac_try_echo=$ac_try;;
43985 esac
43986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43987 (eval "$ac_try") 2>&5
43988 ac_status=$?
43989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990 (exit $ac_status); }; }; then
43991 wx_cv_func_strptime_ok=yes
43992 else
43993 echo "$as_me: program exited with status $ac_status" >&5
43994 echo "$as_me: failed program was:" >&5
43995 sed 's/^/| /' conftest.$ac_ext >&5
43996
43997 ( exit $ac_status )
43998 wx_cv_func_strptime_ok=no
43999 fi
44000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44001 fi
44002
44003
44004
44005 fi
44006 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44007 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44008
44009 if test "$wx_cv_func_strptime_ok" = "yes"; then
44010 cat >>confdefs.h <<\_ACEOF
44011 #define HAVE_STRPTIME 1
44012 _ACEOF
44013
44014 fi
44015 fi
44016
44017 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44018 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44019 if test "${wx_cv_var_timezone+set}" = set; then
44020 echo $ECHO_N "(cached) $ECHO_C" >&6
44021 else
44022
44023 ac_ext=cpp
44024 ac_cpp='$CXXCPP $CPPFLAGS'
44025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44028
44029 cat >conftest.$ac_ext <<_ACEOF
44030 /* confdefs.h. */
44031 _ACEOF
44032 cat confdefs.h >>conftest.$ac_ext
44033 cat >>conftest.$ac_ext <<_ACEOF
44034 /* end confdefs.h. */
44035
44036 #include <time.h>
44037
44038 int
44039 main ()
44040 {
44041
44042 int tz;
44043 tz = timezone;
44044
44045 ;
44046 return 0;
44047 }
44048 _ACEOF
44049 rm -f conftest.$ac_objext
44050 if { (ac_try="$ac_compile"
44051 case "(($ac_try" in
44052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44053 *) ac_try_echo=$ac_try;;
44054 esac
44055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44056 (eval "$ac_compile") 2>conftest.er1
44057 ac_status=$?
44058 grep -v '^ *+' conftest.er1 >conftest.err
44059 rm -f conftest.er1
44060 cat conftest.err >&5
44061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44062 (exit $ac_status); } && {
44063 test -z "$ac_cxx_werror_flag" ||
44064 test ! -s conftest.err
44065 } && test -s conftest.$ac_objext; then
44066
44067 wx_cv_var_timezone=timezone
44068
44069 else
44070 echo "$as_me: failed program was:" >&5
44071 sed 's/^/| /' conftest.$ac_ext >&5
44072
44073
44074 cat >conftest.$ac_ext <<_ACEOF
44075 /* confdefs.h. */
44076 _ACEOF
44077 cat confdefs.h >>conftest.$ac_ext
44078 cat >>conftest.$ac_ext <<_ACEOF
44079 /* end confdefs.h. */
44080
44081 #include <time.h>
44082
44083 int
44084 main ()
44085 {
44086
44087 int tz;
44088 tz = _timezone;
44089
44090 ;
44091 return 0;
44092 }
44093 _ACEOF
44094 rm -f conftest.$ac_objext
44095 if { (ac_try="$ac_compile"
44096 case "(($ac_try" in
44097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44098 *) ac_try_echo=$ac_try;;
44099 esac
44100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44101 (eval "$ac_compile") 2>conftest.er1
44102 ac_status=$?
44103 grep -v '^ *+' conftest.er1 >conftest.err
44104 rm -f conftest.er1
44105 cat conftest.err >&5
44106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44107 (exit $ac_status); } && {
44108 test -z "$ac_cxx_werror_flag" ||
44109 test ! -s conftest.err
44110 } && test -s conftest.$ac_objext; then
44111
44112 wx_cv_var_timezone=_timezone
44113
44114 else
44115 echo "$as_me: failed program was:" >&5
44116 sed 's/^/| /' conftest.$ac_ext >&5
44117
44118
44119 cat >conftest.$ac_ext <<_ACEOF
44120 /* confdefs.h. */
44121 _ACEOF
44122 cat confdefs.h >>conftest.$ac_ext
44123 cat >>conftest.$ac_ext <<_ACEOF
44124 /* end confdefs.h. */
44125
44126 #include <time.h>
44127
44128 int
44129 main ()
44130 {
44131
44132 int tz;
44133 tz = __timezone;
44134
44135 ;
44136 return 0;
44137 }
44138 _ACEOF
44139 rm -f conftest.$ac_objext
44140 if { (ac_try="$ac_compile"
44141 case "(($ac_try" in
44142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44143 *) ac_try_echo=$ac_try;;
44144 esac
44145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44146 (eval "$ac_compile") 2>conftest.er1
44147 ac_status=$?
44148 grep -v '^ *+' conftest.er1 >conftest.err
44149 rm -f conftest.er1
44150 cat conftest.err >&5
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); } && {
44153 test -z "$ac_cxx_werror_flag" ||
44154 test ! -s conftest.err
44155 } && test -s conftest.$ac_objext; then
44156
44157 wx_cv_var_timezone=__timezone
44158
44159 else
44160 echo "$as_me: failed program was:" >&5
44161 sed 's/^/| /' conftest.$ac_ext >&5
44162
44163
44164 if test "$USE_DOS" = 0 ; then
44165 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44166 echo "$as_me: WARNING: no timezone variable" >&2;}
44167 fi
44168
44169
44170 fi
44171
44172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44173
44174
44175 fi
44176
44177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44178
44179
44180 fi
44181
44182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44183 ac_ext=c
44184 ac_cpp='$CPP $CPPFLAGS'
44185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44188
44189
44190
44191 fi
44192 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44193 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44194
44195 if test "x$wx_cv_var_timezone" != x ; then
44196 cat >>confdefs.h <<_ACEOF
44197 #define WX_TIMEZONE $wx_cv_var_timezone
44198 _ACEOF
44199
44200 fi
44201
44202
44203 for ac_func in localtime
44204 do
44205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44206 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44208 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44209 echo $ECHO_N "(cached) $ECHO_C" >&6
44210 else
44211 cat >conftest.$ac_ext <<_ACEOF
44212 /* confdefs.h. */
44213 _ACEOF
44214 cat confdefs.h >>conftest.$ac_ext
44215 cat >>conftest.$ac_ext <<_ACEOF
44216 /* end confdefs.h. */
44217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44219 #define $ac_func innocuous_$ac_func
44220
44221 /* System header to define __stub macros and hopefully few prototypes,
44222 which can conflict with char $ac_func (); below.
44223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44224 <limits.h> exists even on freestanding compilers. */
44225
44226 #ifdef __STDC__
44227 # include <limits.h>
44228 #else
44229 # include <assert.h>
44230 #endif
44231
44232 #undef $ac_func
44233
44234 /* Override any GCC internal prototype to avoid an error.
44235 Use char because int might match the return type of a GCC
44236 builtin and then its argument prototype would still apply. */
44237 #ifdef __cplusplus
44238 extern "C"
44239 #endif
44240 char $ac_func ();
44241 /* The GNU C library defines this for functions which it implements
44242 to always fail with ENOSYS. Some functions are actually named
44243 something starting with __ and the normal name is an alias. */
44244 #if defined __stub_$ac_func || defined __stub___$ac_func
44245 choke me
44246 #endif
44247
44248 int
44249 main ()
44250 {
44251 return $ac_func ();
44252 ;
44253 return 0;
44254 }
44255 _ACEOF
44256 rm -f conftest.$ac_objext conftest$ac_exeext
44257 if { (ac_try="$ac_link"
44258 case "(($ac_try" in
44259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44260 *) ac_try_echo=$ac_try;;
44261 esac
44262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44263 (eval "$ac_link") 2>conftest.er1
44264 ac_status=$?
44265 grep -v '^ *+' conftest.er1 >conftest.err
44266 rm -f conftest.er1
44267 cat conftest.err >&5
44268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44269 (exit $ac_status); } && {
44270 test -z "$ac_c_werror_flag" ||
44271 test ! -s conftest.err
44272 } && test -s conftest$ac_exeext &&
44273 $as_test_x conftest$ac_exeext; then
44274 eval "$as_ac_var=yes"
44275 else
44276 echo "$as_me: failed program was:" >&5
44277 sed 's/^/| /' conftest.$ac_ext >&5
44278
44279 eval "$as_ac_var=no"
44280 fi
44281
44282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44283 conftest$ac_exeext conftest.$ac_ext
44284 fi
44285 ac_res=`eval echo '${'$as_ac_var'}'`
44286 { echo "$as_me:$LINENO: result: $ac_res" >&5
44287 echo "${ECHO_T}$ac_res" >&6; }
44288 if test `eval echo '${'$as_ac_var'}'` = yes; then
44289 cat >>confdefs.h <<_ACEOF
44290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44291 _ACEOF
44292
44293 fi
44294 done
44295
44296
44297 if test "$ac_cv_func_localtime" = "yes"; then
44298 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44299 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44300 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44301 echo $ECHO_N "(cached) $ECHO_C" >&6
44302 else
44303
44304 cat >conftest.$ac_ext <<_ACEOF
44305 /* confdefs.h. */
44306 _ACEOF
44307 cat confdefs.h >>conftest.$ac_ext
44308 cat >>conftest.$ac_ext <<_ACEOF
44309 /* end confdefs.h. */
44310
44311 #include <time.h>
44312
44313 int
44314 main ()
44315 {
44316
44317 struct tm tm;
44318 tm.tm_gmtoff++;
44319
44320 ;
44321 return 0;
44322 }
44323 _ACEOF
44324 rm -f conftest.$ac_objext
44325 if { (ac_try="$ac_compile"
44326 case "(($ac_try" in
44327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44328 *) ac_try_echo=$ac_try;;
44329 esac
44330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44331 (eval "$ac_compile") 2>conftest.er1
44332 ac_status=$?
44333 grep -v '^ *+' conftest.er1 >conftest.err
44334 rm -f conftest.er1
44335 cat conftest.err >&5
44336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337 (exit $ac_status); } && {
44338 test -z "$ac_c_werror_flag" ||
44339 test ! -s conftest.err
44340 } && test -s conftest.$ac_objext; then
44341
44342 wx_cv_struct_tm_has_gmtoff=yes
44343
44344 else
44345 echo "$as_me: failed program was:" >&5
44346 sed 's/^/| /' conftest.$ac_ext >&5
44347
44348 wx_cv_struct_tm_has_gmtoff=no
44349
44350 fi
44351
44352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44353
44354 fi
44355 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44356 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44357 fi
44358
44359 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44360 cat >>confdefs.h <<\_ACEOF
44361 #define WX_GMTOFF_IN_TM 1
44362 _ACEOF
44363
44364 fi
44365
44366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44367 fi
44368
44369
44370 if test "$wxUSE_SOCKETS" = "yes"; then
44371 if test "$wxUSE_MGL" = 1; then
44372 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44373 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44374 wxUSE_SOCKETS="no"
44375 fi
44376 fi
44377
44378 if test "$wxUSE_SOCKETS" = "yes"; then
44379 if test "$TOOLKIT" != "MSW"; then
44380 { echo "$as_me:$LINENO: checking for socket" >&5
44381 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44382 if test "${ac_cv_func_socket+set}" = set; then
44383 echo $ECHO_N "(cached) $ECHO_C" >&6
44384 else
44385 cat >conftest.$ac_ext <<_ACEOF
44386 /* confdefs.h. */
44387 _ACEOF
44388 cat confdefs.h >>conftest.$ac_ext
44389 cat >>conftest.$ac_ext <<_ACEOF
44390 /* end confdefs.h. */
44391 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44393 #define socket innocuous_socket
44394
44395 /* System header to define __stub macros and hopefully few prototypes,
44396 which can conflict with char socket (); below.
44397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44398 <limits.h> exists even on freestanding compilers. */
44399
44400 #ifdef __STDC__
44401 # include <limits.h>
44402 #else
44403 # include <assert.h>
44404 #endif
44405
44406 #undef socket
44407
44408 /* Override any GCC internal prototype to avoid an error.
44409 Use char because int might match the return type of a GCC
44410 builtin and then its argument prototype would still apply. */
44411 #ifdef __cplusplus
44412 extern "C"
44413 #endif
44414 char socket ();
44415 /* The GNU C library defines this for functions which it implements
44416 to always fail with ENOSYS. Some functions are actually named
44417 something starting with __ and the normal name is an alias. */
44418 #if defined __stub_socket || defined __stub___socket
44419 choke me
44420 #endif
44421
44422 int
44423 main ()
44424 {
44425 return socket ();
44426 ;
44427 return 0;
44428 }
44429 _ACEOF
44430 rm -f conftest.$ac_objext conftest$ac_exeext
44431 if { (ac_try="$ac_link"
44432 case "(($ac_try" in
44433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44434 *) ac_try_echo=$ac_try;;
44435 esac
44436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44437 (eval "$ac_link") 2>conftest.er1
44438 ac_status=$?
44439 grep -v '^ *+' conftest.er1 >conftest.err
44440 rm -f conftest.er1
44441 cat conftest.err >&5
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); } && {
44444 test -z "$ac_c_werror_flag" ||
44445 test ! -s conftest.err
44446 } && test -s conftest$ac_exeext &&
44447 $as_test_x conftest$ac_exeext; then
44448 ac_cv_func_socket=yes
44449 else
44450 echo "$as_me: failed program was:" >&5
44451 sed 's/^/| /' conftest.$ac_ext >&5
44452
44453 ac_cv_func_socket=no
44454 fi
44455
44456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44457 conftest$ac_exeext conftest.$ac_ext
44458 fi
44459 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44460 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44461 if test $ac_cv_func_socket = yes; then
44462 :
44463 else
44464
44465 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44466 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44467 if test "${ac_cv_lib_socket_socket+set}" = set; then
44468 echo $ECHO_N "(cached) $ECHO_C" >&6
44469 else
44470 ac_check_lib_save_LIBS=$LIBS
44471 LIBS="-lsocket $LIBS"
44472 cat >conftest.$ac_ext <<_ACEOF
44473 /* confdefs.h. */
44474 _ACEOF
44475 cat confdefs.h >>conftest.$ac_ext
44476 cat >>conftest.$ac_ext <<_ACEOF
44477 /* end confdefs.h. */
44478
44479 /* Override any GCC internal prototype to avoid an error.
44480 Use char because int might match the return type of a GCC
44481 builtin and then its argument prototype would still apply. */
44482 #ifdef __cplusplus
44483 extern "C"
44484 #endif
44485 char socket ();
44486 int
44487 main ()
44488 {
44489 return socket ();
44490 ;
44491 return 0;
44492 }
44493 _ACEOF
44494 rm -f conftest.$ac_objext conftest$ac_exeext
44495 if { (ac_try="$ac_link"
44496 case "(($ac_try" in
44497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44498 *) ac_try_echo=$ac_try;;
44499 esac
44500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44501 (eval "$ac_link") 2>conftest.er1
44502 ac_status=$?
44503 grep -v '^ *+' conftest.er1 >conftest.err
44504 rm -f conftest.er1
44505 cat conftest.err >&5
44506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44507 (exit $ac_status); } && {
44508 test -z "$ac_c_werror_flag" ||
44509 test ! -s conftest.err
44510 } && test -s conftest$ac_exeext &&
44511 $as_test_x conftest$ac_exeext; then
44512 ac_cv_lib_socket_socket=yes
44513 else
44514 echo "$as_me: failed program was:" >&5
44515 sed 's/^/| /' conftest.$ac_ext >&5
44516
44517 ac_cv_lib_socket_socket=no
44518 fi
44519
44520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44521 conftest$ac_exeext conftest.$ac_ext
44522 LIBS=$ac_check_lib_save_LIBS
44523 fi
44524 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44525 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44526 if test $ac_cv_lib_socket_socket = yes; then
44527 if test "$INET_LINK" != " -lsocket"; then
44528 INET_LINK="$INET_LINK -lsocket"
44529 fi
44530 else
44531
44532 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44533 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44534 wxUSE_SOCKETS=no
44535
44536
44537 fi
44538
44539
44540
44541 fi
44542
44543 fi
44544 fi
44545
44546 if test "$wxUSE_SOCKETS" = "yes" ; then
44547 if test "$TOOLKIT" != "MSW"; then
44548 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44549 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44550 if test "${wx_cv_type_getsockname3+set}" = set; then
44551 echo $ECHO_N "(cached) $ECHO_C" >&6
44552 else
44553
44554 ac_ext=cpp
44555 ac_cpp='$CXXCPP $CPPFLAGS'
44556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44559
44560 cat >conftest.$ac_ext <<_ACEOF
44561 /* confdefs.h. */
44562 _ACEOF
44563 cat confdefs.h >>conftest.$ac_ext
44564 cat >>conftest.$ac_ext <<_ACEOF
44565 /* end confdefs.h. */
44566
44567 #include <sys/types.h>
44568 #include <sys/socket.h>
44569
44570 int
44571 main ()
44572 {
44573
44574 socklen_t len;
44575 getsockname(0, 0, &len);
44576
44577 ;
44578 return 0;
44579 }
44580 _ACEOF
44581 rm -f conftest.$ac_objext
44582 if { (ac_try="$ac_compile"
44583 case "(($ac_try" in
44584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44585 *) ac_try_echo=$ac_try;;
44586 esac
44587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44588 (eval "$ac_compile") 2>conftest.er1
44589 ac_status=$?
44590 grep -v '^ *+' conftest.er1 >conftest.err
44591 rm -f conftest.er1
44592 cat conftest.err >&5
44593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44594 (exit $ac_status); } && {
44595 test -z "$ac_cxx_werror_flag" ||
44596 test ! -s conftest.err
44597 } && test -s conftest.$ac_objext; then
44598 wx_cv_type_getsockname3=socklen_t
44599 else
44600 echo "$as_me: failed program was:" >&5
44601 sed 's/^/| /' conftest.$ac_ext >&5
44602
44603
44604 CFLAGS_OLD="$CFLAGS"
44605 if test "$GCC" = yes ; then
44606 CFLAGS="-Werror $CFLAGS"
44607 fi
44608
44609 cat >conftest.$ac_ext <<_ACEOF
44610 /* confdefs.h. */
44611 _ACEOF
44612 cat confdefs.h >>conftest.$ac_ext
44613 cat >>conftest.$ac_ext <<_ACEOF
44614 /* end confdefs.h. */
44615
44616 #include <sys/types.h>
44617 #include <sys/socket.h>
44618
44619 int
44620 main ()
44621 {
44622
44623 size_t len;
44624 getsockname(0, 0, &len);
44625
44626 ;
44627 return 0;
44628 }
44629 _ACEOF
44630 rm -f conftest.$ac_objext
44631 if { (ac_try="$ac_compile"
44632 case "(($ac_try" in
44633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44634 *) ac_try_echo=$ac_try;;
44635 esac
44636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44637 (eval "$ac_compile") 2>conftest.er1
44638 ac_status=$?
44639 grep -v '^ *+' conftest.er1 >conftest.err
44640 rm -f conftest.er1
44641 cat conftest.err >&5
44642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44643 (exit $ac_status); } && {
44644 test -z "$ac_cxx_werror_flag" ||
44645 test ! -s conftest.err
44646 } && test -s conftest.$ac_objext; then
44647 wx_cv_type_getsockname3=size_t
44648 else
44649 echo "$as_me: failed program was:" >&5
44650 sed 's/^/| /' conftest.$ac_ext >&5
44651
44652 cat >conftest.$ac_ext <<_ACEOF
44653 /* confdefs.h. */
44654 _ACEOF
44655 cat confdefs.h >>conftest.$ac_ext
44656 cat >>conftest.$ac_ext <<_ACEOF
44657 /* end confdefs.h. */
44658
44659 #include <sys/types.h>
44660 #include <sys/socket.h>
44661
44662 int
44663 main ()
44664 {
44665
44666 int len;
44667 getsockname(0, 0, &len);
44668
44669 ;
44670 return 0;
44671 }
44672 _ACEOF
44673 rm -f conftest.$ac_objext
44674 if { (ac_try="$ac_compile"
44675 case "(($ac_try" in
44676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44677 *) ac_try_echo=$ac_try;;
44678 esac
44679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44680 (eval "$ac_compile") 2>conftest.er1
44681 ac_status=$?
44682 grep -v '^ *+' conftest.er1 >conftest.err
44683 rm -f conftest.er1
44684 cat conftest.err >&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); } && {
44687 test -z "$ac_cxx_werror_flag" ||
44688 test ! -s conftest.err
44689 } && test -s conftest.$ac_objext; then
44690 wx_cv_type_getsockname3=int
44691 else
44692 echo "$as_me: failed program was:" >&5
44693 sed 's/^/| /' conftest.$ac_ext >&5
44694
44695 wx_cv_type_getsockname3=unknown
44696
44697 fi
44698
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44700
44701 fi
44702
44703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44704
44705 CFLAGS="$CFLAGS_OLD"
44706
44707
44708 fi
44709
44710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44711 ac_ext=c
44712 ac_cpp='$CPP $CPPFLAGS'
44713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44716
44717
44718 fi
44719 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44720 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44721
44722 if test "$wx_cv_type_getsockname3" = "unknown"; then
44723 wxUSE_SOCKETS=no
44724 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44725 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44726 else
44727 cat >>confdefs.h <<_ACEOF
44728 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44729 _ACEOF
44730
44731 fi
44732 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44733 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44734 if test "${wx_cv_type_getsockopt5+set}" = set; then
44735 echo $ECHO_N "(cached) $ECHO_C" >&6
44736 else
44737
44738 ac_ext=cpp
44739 ac_cpp='$CXXCPP $CPPFLAGS'
44740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44743
44744 cat >conftest.$ac_ext <<_ACEOF
44745 /* confdefs.h. */
44746 _ACEOF
44747 cat confdefs.h >>conftest.$ac_ext
44748 cat >>conftest.$ac_ext <<_ACEOF
44749 /* end confdefs.h. */
44750
44751 #include <sys/types.h>
44752 #include <sys/socket.h>
44753
44754 int
44755 main ()
44756 {
44757
44758 socklen_t len;
44759 getsockopt(0, 0, 0, 0, &len);
44760
44761 ;
44762 return 0;
44763 }
44764 _ACEOF
44765 rm -f conftest.$ac_objext
44766 if { (ac_try="$ac_compile"
44767 case "(($ac_try" in
44768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44769 *) ac_try_echo=$ac_try;;
44770 esac
44771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44772 (eval "$ac_compile") 2>conftest.er1
44773 ac_status=$?
44774 grep -v '^ *+' conftest.er1 >conftest.err
44775 rm -f conftest.er1
44776 cat conftest.err >&5
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); } && {
44779 test -z "$ac_cxx_werror_flag" ||
44780 test ! -s conftest.err
44781 } && test -s conftest.$ac_objext; then
44782 wx_cv_type_getsockopt5=socklen_t
44783 else
44784 echo "$as_me: failed program was:" >&5
44785 sed 's/^/| /' conftest.$ac_ext >&5
44786
44787
44788 cat >conftest.$ac_ext <<_ACEOF
44789 /* confdefs.h. */
44790 _ACEOF
44791 cat confdefs.h >>conftest.$ac_ext
44792 cat >>conftest.$ac_ext <<_ACEOF
44793 /* end confdefs.h. */
44794
44795 #include <sys/types.h>
44796 #include <sys/socket.h>
44797
44798 int
44799 main ()
44800 {
44801
44802 size_t len;
44803 getsockopt(0, 0, 0, 0, &len);
44804
44805 ;
44806 return 0;
44807 }
44808 _ACEOF
44809 rm -f conftest.$ac_objext
44810 if { (ac_try="$ac_compile"
44811 case "(($ac_try" in
44812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44813 *) ac_try_echo=$ac_try;;
44814 esac
44815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44816 (eval "$ac_compile") 2>conftest.er1
44817 ac_status=$?
44818 grep -v '^ *+' conftest.er1 >conftest.err
44819 rm -f conftest.er1
44820 cat conftest.err >&5
44821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44822 (exit $ac_status); } && {
44823 test -z "$ac_cxx_werror_flag" ||
44824 test ! -s conftest.err
44825 } && test -s conftest.$ac_objext; then
44826 wx_cv_type_getsockopt5=size_t
44827 else
44828 echo "$as_me: failed program was:" >&5
44829 sed 's/^/| /' conftest.$ac_ext >&5
44830
44831 cat >conftest.$ac_ext <<_ACEOF
44832 /* confdefs.h. */
44833 _ACEOF
44834 cat confdefs.h >>conftest.$ac_ext
44835 cat >>conftest.$ac_ext <<_ACEOF
44836 /* end confdefs.h. */
44837
44838 #include <sys/types.h>
44839 #include <sys/socket.h>
44840
44841 int
44842 main ()
44843 {
44844
44845 int len;
44846 getsockopt(0, 0, 0, 0, &len);
44847
44848 ;
44849 return 0;
44850 }
44851 _ACEOF
44852 rm -f conftest.$ac_objext
44853 if { (ac_try="$ac_compile"
44854 case "(($ac_try" in
44855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44856 *) ac_try_echo=$ac_try;;
44857 esac
44858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44859 (eval "$ac_compile") 2>conftest.er1
44860 ac_status=$?
44861 grep -v '^ *+' conftest.er1 >conftest.err
44862 rm -f conftest.er1
44863 cat conftest.err >&5
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); } && {
44866 test -z "$ac_cxx_werror_flag" ||
44867 test ! -s conftest.err
44868 } && test -s conftest.$ac_objext; then
44869 wx_cv_type_getsockopt5=int
44870 else
44871 echo "$as_me: failed program was:" >&5
44872 sed 's/^/| /' conftest.$ac_ext >&5
44873
44874 wx_cv_type_getsockopt5=unknown
44875
44876 fi
44877
44878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44879
44880 fi
44881
44882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44883
44884
44885 fi
44886
44887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44888 ac_ext=c
44889 ac_cpp='$CPP $CPPFLAGS'
44890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44893
44894
44895 fi
44896 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44897 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44898
44899 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44900 wxUSE_SOCKETS=no
44901 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44902 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44903 else
44904 cat >>confdefs.h <<_ACEOF
44905 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44906 _ACEOF
44907
44908 fi
44909 fi
44910 fi
44911
44912 if test "$wxUSE_SOCKETS" = "yes" ; then
44913 if test "$wxUSE_IPV6" = "yes"; then
44914 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44915 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44916 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44917 echo $ECHO_N "(cached) $ECHO_C" >&6
44918 else
44919
44920 cat >conftest.$ac_ext <<_ACEOF
44921 /* confdefs.h. */
44922 _ACEOF
44923 cat confdefs.h >>conftest.$ac_ext
44924 cat >>conftest.$ac_ext <<_ACEOF
44925 /* end confdefs.h. */
44926
44927 #include <sys/types.h>
44928 #include <sys/socket.h>
44929 #include <netinet/in.h>
44930
44931 int
44932 main ()
44933 {
44934
44935 struct sockaddr_in6 sa6;
44936
44937 ;
44938 return 0;
44939 }
44940 _ACEOF
44941 rm -f conftest.$ac_objext
44942 if { (ac_try="$ac_compile"
44943 case "(($ac_try" in
44944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44945 *) ac_try_echo=$ac_try;;
44946 esac
44947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44948 (eval "$ac_compile") 2>conftest.er1
44949 ac_status=$?
44950 grep -v '^ *+' conftest.er1 >conftest.err
44951 rm -f conftest.er1
44952 cat conftest.err >&5
44953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44954 (exit $ac_status); } && {
44955 test -z "$ac_c_werror_flag" ||
44956 test ! -s conftest.err
44957 } && test -s conftest.$ac_objext; then
44958 wx_cv_type_sockaddr_in6=yes
44959 else
44960 echo "$as_me: failed program was:" >&5
44961 sed 's/^/| /' conftest.$ac_ext >&5
44962
44963 wx_cv_type_sockaddr_in6=no
44964
44965 fi
44966
44967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44968
44969
44970 fi
44971 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44972 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44973
44974 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44975 cat >>confdefs.h <<\_ACEOF
44976 #define wxUSE_IPV6 1
44977 _ACEOF
44978
44979 else
44980 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44981 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44982 fi
44983 fi
44984
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_SOCKETS 1
44987 _ACEOF
44988
44989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44990 fi
44991
44992 if test "$wxUSE_PROTOCOL" = "yes"; then
44993 if test "$wxUSE_SOCKETS" != "yes"; then
44994 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44995 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44996 wxUSE_PROTOCOL=no
44997 fi
44998 fi
44999
45000 if test "$wxUSE_PROTOCOL" = "yes"; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_PROTOCOL 1
45003 _ACEOF
45004
45005
45006 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45007 cat >>confdefs.h <<\_ACEOF
45008 #define wxUSE_PROTOCOL_HTTP 1
45009 _ACEOF
45010
45011 fi
45012 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45013 cat >>confdefs.h <<\_ACEOF
45014 #define wxUSE_PROTOCOL_FTP 1
45015 _ACEOF
45016
45017 fi
45018 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_PROTOCOL_FILE 1
45021 _ACEOF
45022
45023 fi
45024 else
45025 if test "$wxUSE_FS_INET" = "yes"; then
45026 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45027 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45028 wxUSE_FS_INET="no"
45029 fi
45030 fi
45031
45032 if test "$wxUSE_URL" = "yes"; then
45033 if test "$wxUSE_PROTOCOL" != "yes"; then
45034 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45035 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45036 wxUSE_URL=no
45037 fi
45038 if test "$wxUSE_URL" = "yes"; then
45039 cat >>confdefs.h <<\_ACEOF
45040 #define wxUSE_URL 1
45041 _ACEOF
45042
45043 fi
45044 fi
45045
45046 if test "$wxUSE_VARIANT" = "yes"; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_VARIANT 1
45049 _ACEOF
45050
45051 fi
45052
45053 if test "$wxUSE_FS_INET" = "yes"; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_FS_INET 1
45056 _ACEOF
45057
45058 fi
45059
45060
45061 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45062 wxUSE_JOYSTICK=no
45063
45064 if test "$TOOLKIT" = "MSW"; then
45065 wxUSE_JOYSTICK=yes
45066
45067 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45068 if test "$USE_DARWIN" = 1; then
45069 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45070 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45071 ac_ext=cpp
45072 ac_cpp='$CXXCPP $CPPFLAGS'
45073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45076
45077 cat >conftest.$ac_ext <<_ACEOF
45078 /* confdefs.h. */
45079 _ACEOF
45080 cat confdefs.h >>conftest.$ac_ext
45081 cat >>conftest.$ac_ext <<_ACEOF
45082 /* end confdefs.h. */
45083 #include <IOKit/hid/IOHIDLib.h>
45084 int
45085 main ()
45086 {
45087 IOHIDQueueInterface *qi = NULL;
45088 IOHIDCallbackFunction cb = NULL;
45089 qi->setEventCallout(NULL, cb, NULL, NULL);
45090 ;
45091 return 0;
45092 }
45093 _ACEOF
45094 rm -f conftest.$ac_objext
45095 if { (ac_try="$ac_compile"
45096 case "(($ac_try" in
45097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45098 *) ac_try_echo=$ac_try;;
45099 esac
45100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45101 (eval "$ac_compile") 2>conftest.er1
45102 ac_status=$?
45103 grep -v '^ *+' conftest.er1 >conftest.err
45104 rm -f conftest.er1
45105 cat conftest.err >&5
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); } && {
45108 test -z "$ac_cxx_werror_flag" ||
45109 test ! -s conftest.err
45110 } && test -s conftest.$ac_objext; then
45111 wxUSE_JOYSTICK=yes
45112
45113 else
45114 echo "$as_me: failed program was:" >&5
45115 sed 's/^/| /' conftest.$ac_ext >&5
45116
45117
45118 fi
45119
45120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45121 ac_ext=c
45122 ac_cpp='$CPP $CPPFLAGS'
45123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45126
45127 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45128 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45129 fi
45130
45131 else
45132 if test "$wxUSE_MGL" != 1; then
45133
45134 for ac_header in linux/joystick.h
45135 do
45136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45137 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45139 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45140 echo $ECHO_N "(cached) $ECHO_C" >&6
45141 else
45142 cat >conftest.$ac_ext <<_ACEOF
45143 /* confdefs.h. */
45144 _ACEOF
45145 cat confdefs.h >>conftest.$ac_ext
45146 cat >>conftest.$ac_ext <<_ACEOF
45147 /* end confdefs.h. */
45148 $ac_includes_default
45149
45150 #include <$ac_header>
45151 _ACEOF
45152 rm -f conftest.$ac_objext
45153 if { (ac_try="$ac_compile"
45154 case "(($ac_try" in
45155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45156 *) ac_try_echo=$ac_try;;
45157 esac
45158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45159 (eval "$ac_compile") 2>conftest.er1
45160 ac_status=$?
45161 grep -v '^ *+' conftest.er1 >conftest.err
45162 rm -f conftest.er1
45163 cat conftest.err >&5
45164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45165 (exit $ac_status); } && {
45166 test -z "$ac_c_werror_flag" ||
45167 test ! -s conftest.err
45168 } && test -s conftest.$ac_objext; then
45169 eval "$as_ac_Header=yes"
45170 else
45171 echo "$as_me: failed program was:" >&5
45172 sed 's/^/| /' conftest.$ac_ext >&5
45173
45174 eval "$as_ac_Header=no"
45175 fi
45176
45177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45178 fi
45179 ac_res=`eval echo '${'$as_ac_Header'}'`
45180 { echo "$as_me:$LINENO: result: $ac_res" >&5
45181 echo "${ECHO_T}$ac_res" >&6; }
45182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45183 cat >>confdefs.h <<_ACEOF
45184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45185 _ACEOF
45186 wxUSE_JOYSTICK=yes
45187 fi
45188
45189 done
45190
45191 fi
45192 fi
45193
45194 if test "$wxUSE_JOYSTICK" = "yes"; then
45195 cat >>confdefs.h <<\_ACEOF
45196 #define wxUSE_JOYSTICK 1
45197 _ACEOF
45198
45199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45200 else
45201 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45202 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45203 fi
45204 fi
45205
45206
45207
45208 if test "$wxUSE_FONTENUM" = "yes" ; then
45209 cat >>confdefs.h <<\_ACEOF
45210 #define wxUSE_FONTENUM 1
45211 _ACEOF
45212
45213 fi
45214
45215 if test "$wxUSE_FONTMAP" = "yes" ; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_FONTMAP 1
45218 _ACEOF
45219
45220 fi
45221
45222 if test "$wxUSE_UNICODE" = "yes" ; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_UNICODE 1
45225 _ACEOF
45226
45227
45228 if test "$USE_WIN32" != 1; then
45229 wxUSE_UNICODE_MSLU=no
45230 fi
45231
45232 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45233 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45234 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45235 if test "${ac_cv_lib_unicows_main+set}" = set; then
45236 echo $ECHO_N "(cached) $ECHO_C" >&6
45237 else
45238 ac_check_lib_save_LIBS=$LIBS
45239 LIBS="-lunicows $LIBS"
45240 cat >conftest.$ac_ext <<_ACEOF
45241 /* confdefs.h. */
45242 _ACEOF
45243 cat confdefs.h >>conftest.$ac_ext
45244 cat >>conftest.$ac_ext <<_ACEOF
45245 /* end confdefs.h. */
45246
45247
45248 int
45249 main ()
45250 {
45251 return main ();
45252 ;
45253 return 0;
45254 }
45255 _ACEOF
45256 rm -f conftest.$ac_objext conftest$ac_exeext
45257 if { (ac_try="$ac_link"
45258 case "(($ac_try" in
45259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45260 *) ac_try_echo=$ac_try;;
45261 esac
45262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45263 (eval "$ac_link") 2>conftest.er1
45264 ac_status=$?
45265 grep -v '^ *+' conftest.er1 >conftest.err
45266 rm -f conftest.er1
45267 cat conftest.err >&5
45268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45269 (exit $ac_status); } && {
45270 test -z "$ac_c_werror_flag" ||
45271 test ! -s conftest.err
45272 } && test -s conftest$ac_exeext &&
45273 $as_test_x conftest$ac_exeext; then
45274 ac_cv_lib_unicows_main=yes
45275 else
45276 echo "$as_me: failed program was:" >&5
45277 sed 's/^/| /' conftest.$ac_ext >&5
45278
45279 ac_cv_lib_unicows_main=no
45280 fi
45281
45282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45283 conftest$ac_exeext conftest.$ac_ext
45284 LIBS=$ac_check_lib_save_LIBS
45285 fi
45286 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45287 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45288 if test $ac_cv_lib_unicows_main = yes; then
45289
45290 cat >>confdefs.h <<\_ACEOF
45291 #define wxUSE_UNICODE_MSLU 1
45292 _ACEOF
45293
45294
45295 else
45296
45297 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45298 Applications will only run on Windows NT/2000/XP!" >&5
45299 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45300 Applications will only run on Windows NT/2000/XP!" >&2;}
45301 wxUSE_UNICODE_MSLU=no
45302
45303 fi
45304
45305 fi
45306 fi
45307
45308 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45309 cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_UNICODE_UTF8 1
45311 _ACEOF
45312
45313
45314 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_UTF8_LOCALE_ONLY 1
45317 _ACEOF
45318
45319 fi
45320 fi
45321
45322
45323 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_CONSTRAINTS 1
45326 _ACEOF
45327
45328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45329 fi
45330
45331 if test "$wxUSE_MDI" = "yes"; then
45332 cat >>confdefs.h <<\_ACEOF
45333 #define wxUSE_MDI 1
45334 _ACEOF
45335
45336
45337 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_MDI_ARCHITECTURE 1
45340 _ACEOF
45341
45342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45343 fi
45344 fi
45345
45346 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45349 _ACEOF
45350
45351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45352 fi
45353
45354 if test "$wxUSE_HELP" = "yes"; then
45355 cat >>confdefs.h <<\_ACEOF
45356 #define wxUSE_HELP 1
45357 _ACEOF
45358
45359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45360
45361 if test "$wxUSE_MSW" = 1; then
45362 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_MS_HTML_HELP 1
45365 _ACEOF
45366
45367 fi
45368 fi
45369
45370 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45371 if test "$wxUSE_HTML" = "yes"; then
45372 cat >>confdefs.h <<\_ACEOF
45373 #define wxUSE_WXHTML_HELP 1
45374 _ACEOF
45375
45376 else
45377 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45378 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45379 wxUSE_WXHTML_HELP=no
45380 fi
45381 fi
45382 fi
45383
45384 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_PRINTING_ARCHITECTURE 1
45387 _ACEOF
45388
45389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45390 fi
45391
45392 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45393 cat >>confdefs.h <<\_ACEOF
45394 #define wxUSE_POSTSCRIPT 1
45395 _ACEOF
45396
45397 fi
45398
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45401 _ACEOF
45402
45403
45404 if test "$wxUSE_SVG" = "yes"; then
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_SVG 1
45407 _ACEOF
45408
45409 fi
45410
45411
45412 if test "$wxUSE_METAFILE" = "yes"; then
45413 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45414 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45415 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45416 wxUSE_METAFILE=no
45417 fi
45418 fi
45419
45420
45421 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45422 -o "$wxUSE_CLIPBOARD" = "yes" \
45423 -o "$wxUSE_OLE" = "yes" \
45424 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45425 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45426 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45427 if test "${ac_cv_header_ole2_h+set}" = set; then
45428 echo $ECHO_N "(cached) $ECHO_C" >&6
45429 else
45430 cat >conftest.$ac_ext <<_ACEOF
45431 /* confdefs.h. */
45432 _ACEOF
45433 cat confdefs.h >>conftest.$ac_ext
45434 cat >>conftest.$ac_ext <<_ACEOF
45435 /* end confdefs.h. */
45436
45437
45438 #include <ole2.h>
45439 _ACEOF
45440 rm -f conftest.$ac_objext
45441 if { (ac_try="$ac_compile"
45442 case "(($ac_try" in
45443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45444 *) ac_try_echo=$ac_try;;
45445 esac
45446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45447 (eval "$ac_compile") 2>conftest.er1
45448 ac_status=$?
45449 grep -v '^ *+' conftest.er1 >conftest.err
45450 rm -f conftest.er1
45451 cat conftest.err >&5
45452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45453 (exit $ac_status); } && {
45454 test -z "$ac_c_werror_flag" ||
45455 test ! -s conftest.err
45456 } && test -s conftest.$ac_objext; then
45457 ac_cv_header_ole2_h=yes
45458 else
45459 echo "$as_me: failed program was:" >&5
45460 sed 's/^/| /' conftest.$ac_ext >&5
45461
45462 ac_cv_header_ole2_h=no
45463 fi
45464
45465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45466 fi
45467 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45468 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45469
45470
45471
45472 if test "$ac_cv_header_ole2_h" = "yes" ; then
45473 if test "$GCC" = yes ; then
45474 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45475 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45476 cat >conftest.$ac_ext <<_ACEOF
45477 /* confdefs.h. */
45478 _ACEOF
45479 cat confdefs.h >>conftest.$ac_ext
45480 cat >>conftest.$ac_ext <<_ACEOF
45481 /* end confdefs.h. */
45482 #include <windows.h>
45483 #include <ole2.h>
45484 int
45485 main ()
45486 {
45487
45488 ;
45489 return 0;
45490 }
45491 _ACEOF
45492 rm -f conftest.$ac_objext
45493 if { (ac_try="$ac_compile"
45494 case "(($ac_try" in
45495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45496 *) ac_try_echo=$ac_try;;
45497 esac
45498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45499 (eval "$ac_compile") 2>conftest.er1
45500 ac_status=$?
45501 grep -v '^ *+' conftest.er1 >conftest.err
45502 rm -f conftest.er1
45503 cat conftest.err >&5
45504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45505 (exit $ac_status); } && {
45506 test -z "$ac_c_werror_flag" ||
45507 test ! -s conftest.err
45508 } && test -s conftest.$ac_objext; then
45509 { echo "$as_me:$LINENO: result: no" >&5
45510 echo "${ECHO_T}no" >&6; }
45511 else
45512 echo "$as_me: failed program was:" >&5
45513 sed 's/^/| /' conftest.$ac_ext >&5
45514
45515 { echo "$as_me:$LINENO: result: yes" >&5
45516 echo "${ECHO_T}yes" >&6; }
45517 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45518 fi
45519
45520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45521 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45522 if test "$wxUSE_OLE" = "yes" ; then
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_OLE 1
45525 _ACEOF
45526
45527 cat >>confdefs.h <<\_ACEOF
45528 #define wxUSE_OLE_AUTOMATION 1
45529 _ACEOF
45530
45531 cat >>confdefs.h <<\_ACEOF
45532 #define wxUSE_ACTIVEX 1
45533 _ACEOF
45534
45535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45536 fi
45537 fi
45538
45539 if test "$wxUSE_DATAOBJ" = "yes" ; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_DATAOBJ 1
45542 _ACEOF
45543
45544 fi
45545 else
45546 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45547 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45548
45549 wxUSE_CLIPBOARD=no
45550 wxUSE_DRAG_AND_DROP=no
45551 wxUSE_DATAOBJ=no
45552 wxUSE_OLE=no
45553 fi
45554
45555 if test "$wxUSE_METAFILE" = "yes"; then
45556 cat >>confdefs.h <<\_ACEOF
45557 #define wxUSE_METAFILE 1
45558 _ACEOF
45559
45560
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_ENH_METAFILE 1
45563 _ACEOF
45564
45565 fi
45566 fi
45567
45568 if test "$wxUSE_IPC" = "yes"; then
45569 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45570 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45571 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45572 wxUSE_IPC=no
45573 fi
45574
45575 if test "$wxUSE_IPC" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_IPC 1
45578 _ACEOF
45579
45580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45581 fi
45582 fi
45583
45584 if test "$wxUSE_DATAOBJ" = "yes"; then
45585 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45586 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45587 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45588 wxUSE_DATAOBJ=no
45589 else
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_DATAOBJ 1
45592 _ACEOF
45593
45594 fi
45595 else
45596 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45597 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45598 wxUSE_CLIPBOARD=no
45599 wxUSE_DRAG_AND_DROP=no
45600 fi
45601
45602 if test "$wxUSE_CLIPBOARD" = "yes"; then
45603 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45604 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45605 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45606 wxUSE_CLIPBOARD=no
45607 fi
45608
45609 if test "$wxUSE_CLIPBOARD" = "yes"; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_CLIPBOARD 1
45612 _ACEOF
45613
45614 fi
45615 fi
45616
45617 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45618 if test "$wxUSE_GTK" = 1; then
45619 if test "$WXGTK12" != 1; then
45620 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45621 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45622 wxUSE_DRAG_AND_DROP=no
45623 fi
45624 fi
45625
45626 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45627 "$wxUSE_DFB" = 1; then
45628 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45629 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45630 wxUSE_DRAG_AND_DROP=no
45631 fi
45632
45633 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45634 cat >>confdefs.h <<\_ACEOF
45635 #define wxUSE_DRAG_AND_DROP 1
45636 _ACEOF
45637
45638 fi
45639
45640 fi
45641
45642 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45644 fi
45645
45646 if test "$wxUSE_CLIPBOARD" = "yes"; then
45647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45648 fi
45649
45650 if test "$wxUSE_SPLINES" = "yes" ; then
45651 cat >>confdefs.h <<\_ACEOF
45652 #define wxUSE_SPLINES 1
45653 _ACEOF
45654
45655 fi
45656
45657 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_MOUSEWHEEL 1
45660 _ACEOF
45661
45662 fi
45663
45664
45665 USES_CONTROLS=0
45666 if test "$wxUSE_CONTROLS" = "yes"; then
45667 USES_CONTROLS=1
45668 fi
45669
45670 if test "$wxUSE_ACCEL" = "yes"; then
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_ACCEL 1
45673 _ACEOF
45674
45675 USES_CONTROLS=1
45676 fi
45677
45678 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_ANIMATIONCTRL 1
45681 _ACEOF
45682
45683 USES_CONTROLS=1
45684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45685 fi
45686
45687 if test "$wxUSE_BUTTON" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_BUTTON 1
45690 _ACEOF
45691
45692 USES_CONTROLS=1
45693 fi
45694
45695 if test "$wxUSE_BMPBUTTON" = "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define wxUSE_BMPBUTTON 1
45698 _ACEOF
45699
45700 USES_CONTROLS=1
45701 fi
45702
45703 if test "$wxUSE_CALCTRL" = "yes"; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_CALENDARCTRL 1
45706 _ACEOF
45707
45708 USES_CONTROLS=1
45709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45710 fi
45711
45712 if test "$wxUSE_CARET" = "yes"; then
45713 cat >>confdefs.h <<\_ACEOF
45714 #define wxUSE_CARET 1
45715 _ACEOF
45716
45717 USES_CONTROLS=1
45718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45719 fi
45720
45721 if test "$wxUSE_COLLPANE" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_COLLPANE 1
45724 _ACEOF
45725
45726 USES_CONTROLS=1
45727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45728 fi
45729
45730 if test "$wxUSE_COMBOBOX" = "yes"; then
45731 cat >>confdefs.h <<\_ACEOF
45732 #define wxUSE_COMBOBOX 1
45733 _ACEOF
45734
45735 USES_CONTROLS=1
45736 fi
45737
45738 if test "$wxUSE_COMBOCTRL" = "yes"; then
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_COMBOCTRL 1
45741 _ACEOF
45742
45743 USES_CONTROLS=1
45744 fi
45745
45746 if test "$wxUSE_CHOICE" = "yes"; then
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_CHOICE 1
45749 _ACEOF
45750
45751 USES_CONTROLS=1
45752 fi
45753
45754 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_CHOICEBOOK 1
45757 _ACEOF
45758
45759 USES_CONTROLS=1
45760 fi
45761
45762 if test "$wxUSE_CHECKBOX" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_CHECKBOX 1
45765 _ACEOF
45766
45767 USES_CONTROLS=1
45768 fi
45769
45770 if test "$wxUSE_CHECKLST" = "yes"; then
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_CHECKLISTBOX 1
45773 _ACEOF
45774
45775 USES_CONTROLS=1
45776 fi
45777
45778 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45779 cat >>confdefs.h <<\_ACEOF
45780 #define wxUSE_COLOURPICKERCTRL 1
45781 _ACEOF
45782
45783 USES_CONTROLS=1
45784 fi
45785
45786 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45787 cat >>confdefs.h <<\_ACEOF
45788 #define wxUSE_DATEPICKCTRL 1
45789 _ACEOF
45790
45791 USES_CONTROLS=1
45792 fi
45793
45794 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45795 cat >>confdefs.h <<\_ACEOF
45796 #define wxUSE_DIRPICKERCTRL 1
45797 _ACEOF
45798
45799 USES_CONTROLS=1
45800 fi
45801
45802 if test "$wxUSE_FILECTRL" = "yes"; then
45803 cat >>confdefs.h <<\_ACEOF
45804 #define wxUSE_FILECTRL 1
45805 _ACEOF
45806
45807 USES_CONTROLS=1
45808 fi
45809
45810 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_FILEPICKERCTRL 1
45813 _ACEOF
45814
45815 USES_CONTROLS=1
45816 fi
45817
45818 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_FONTPICKERCTRL 1
45821 _ACEOF
45822
45823 USES_CONTROLS=1
45824 fi
45825
45826 if test "$wxUSE_DISPLAY" = "yes"; then
45827 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45828 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45829 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45830 wxUSE_DISPLAY=no
45831 else
45832 cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_DISPLAY 1
45834 _ACEOF
45835
45836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45837 fi
45838 fi
45839
45840 if test "$wxUSE_DETECT_SM" = "yes"; then
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_DETECT_SM 1
45843 _ACEOF
45844
45845 fi
45846
45847 if test "$wxUSE_GAUGE" = "yes"; then
45848 cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_GAUGE 1
45850 _ACEOF
45851
45852 USES_CONTROLS=1
45853 fi
45854
45855 if test "$wxUSE_GRID" = "yes"; then
45856 cat >>confdefs.h <<\_ACEOF
45857 #define wxUSE_GRID 1
45858 _ACEOF
45859
45860 USES_CONTROLS=1
45861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45862 fi
45863
45864 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_HYPERLINKCTRL 1
45867 _ACEOF
45868
45869 USES_CONTROLS=1
45870 fi
45871
45872 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45873 cat >>confdefs.h <<\_ACEOF
45874 #define wxUSE_BITMAPCOMBOBOX 1
45875 _ACEOF
45876
45877 USES_CONTROLS=1
45878 fi
45879
45880 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45881 cat >>confdefs.h <<\_ACEOF
45882 #define wxUSE_DATAVIEWCTRL 1
45883 _ACEOF
45884
45885 USES_CONTROLS=1
45886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45887 fi
45888
45889 if test "$wxUSE_IMAGLIST" = "yes"; then
45890 cat >>confdefs.h <<\_ACEOF
45891 #define wxUSE_IMAGLIST 1
45892 _ACEOF
45893
45894 fi
45895
45896 if test "$wxUSE_LISTBOOK" = "yes"; then
45897 cat >>confdefs.h <<\_ACEOF
45898 #define wxUSE_LISTBOOK 1
45899 _ACEOF
45900
45901 USES_CONTROLS=1
45902 fi
45903
45904 if test "$wxUSE_LISTBOX" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_LISTBOX 1
45907 _ACEOF
45908
45909 USES_CONTROLS=1
45910 fi
45911
45912 if test "$wxUSE_LISTCTRL" = "yes"; then
45913 if test "$wxUSE_IMAGLIST" = "yes"; then
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_LISTCTRL 1
45916 _ACEOF
45917
45918 USES_CONTROLS=1
45919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45920 else
45921 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45922 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45923 fi
45924 fi
45925
45926 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_EDITABLELISTBOX 1
45929 _ACEOF
45930
45931 USES_CONTROLS=1
45932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45933 fi
45934
45935 if test "$wxUSE_NOTEBOOK" = "yes"; then
45936 cat >>confdefs.h <<\_ACEOF
45937 #define wxUSE_NOTEBOOK 1
45938 _ACEOF
45939
45940 USES_CONTROLS=1
45941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45942 fi
45943
45944 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_NOTIFICATION_MESSAGE 1
45947 _ACEOF
45948
45949 fi
45950
45951 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_ODCOMBOBOX 1
45954 _ACEOF
45955
45956 USES_CONTROLS=1
45957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45958 fi
45959
45960 if test "$wxUSE_RADIOBOX" = "yes"; then
45961 cat >>confdefs.h <<\_ACEOF
45962 #define wxUSE_RADIOBOX 1
45963 _ACEOF
45964
45965 USES_CONTROLS=1
45966 fi
45967
45968 if test "$wxUSE_RADIOBTN" = "yes"; then
45969 cat >>confdefs.h <<\_ACEOF
45970 #define wxUSE_RADIOBTN 1
45971 _ACEOF
45972
45973 USES_CONTROLS=1
45974 fi
45975
45976 if test "$wxUSE_SASH" = "yes"; then
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_SASH 1
45979 _ACEOF
45980
45981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45982 fi
45983
45984 if test "$wxUSE_SCROLLBAR" = "yes"; then
45985 cat >>confdefs.h <<\_ACEOF
45986 #define wxUSE_SCROLLBAR 1
45987 _ACEOF
45988
45989 USES_CONTROLS=1
45990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45991 fi
45992
45993 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45994 cat >>confdefs.h <<\_ACEOF
45995 #define wxUSE_SEARCHCTRL 1
45996 _ACEOF
45997
45998 USES_CONTROLS=1
45999 fi
46000
46001 if test "$wxUSE_SLIDER" = "yes"; then
46002 cat >>confdefs.h <<\_ACEOF
46003 #define wxUSE_SLIDER 1
46004 _ACEOF
46005
46006 USES_CONTROLS=1
46007 fi
46008
46009 if test "$wxUSE_SPINBTN" = "yes"; then
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_SPINBTN 1
46012 _ACEOF
46013
46014 USES_CONTROLS=1
46015 fi
46016
46017 if test "$wxUSE_SPINCTRL" = "yes"; then
46018 cat >>confdefs.h <<\_ACEOF
46019 #define wxUSE_SPINCTRL 1
46020 _ACEOF
46021
46022 USES_CONTROLS=1
46023 fi
46024
46025 if test "$wxUSE_SPLITTER" = "yes"; then
46026 cat >>confdefs.h <<\_ACEOF
46027 #define wxUSE_SPLITTER 1
46028 _ACEOF
46029
46030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46031 fi
46032
46033 if test "$wxUSE_STATBMP" = "yes"; then
46034 cat >>confdefs.h <<\_ACEOF
46035 #define wxUSE_STATBMP 1
46036 _ACEOF
46037
46038 USES_CONTROLS=1
46039 fi
46040
46041 if test "$wxUSE_STATBOX" = "yes"; then
46042 cat >>confdefs.h <<\_ACEOF
46043 #define wxUSE_STATBOX 1
46044 _ACEOF
46045
46046 USES_CONTROLS=1
46047 fi
46048
46049 if test "$wxUSE_STATTEXT" = "yes"; then
46050 cat >>confdefs.h <<\_ACEOF
46051 #define wxUSE_STATTEXT 1
46052 _ACEOF
46053
46054 USES_CONTROLS=1
46055 fi
46056
46057 if test "$wxUSE_STATLINE" = "yes"; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_STATLINE 1
46060 _ACEOF
46061
46062 USES_CONTROLS=1
46063 fi
46064
46065 if test "$wxUSE_STATUSBAR" = "yes"; then
46066 cat >>confdefs.h <<\_ACEOF
46067 #define wxUSE_NATIVE_STATUSBAR 1
46068 _ACEOF
46069
46070 cat >>confdefs.h <<\_ACEOF
46071 #define wxUSE_STATUSBAR 1
46072 _ACEOF
46073
46074 USES_CONTROLS=1
46075
46076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46077 fi
46078
46079 if test "$wxUSE_TEXTCTRL" = "yes"; then
46080 cat >>confdefs.h <<\_ACEOF
46081 #define wxUSE_TEXTCTRL 1
46082 _ACEOF
46083
46084 USES_CONTROLS=1
46085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46086
46087 cat >>confdefs.h <<\_ACEOF
46088 #define wxUSE_RICHEDIT 1
46089 _ACEOF
46090
46091 cat >>confdefs.h <<\_ACEOF
46092 #define wxUSE_RICHEDIT2 1
46093 _ACEOF
46094
46095 fi
46096
46097 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46098 if test "$wxUSE_COCOA" = 1 ; then
46099 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46100 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46101 wxUSE_TOGGLEBTN=no
46102 fi
46103
46104 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46105 cat >>confdefs.h <<\_ACEOF
46106 #define wxUSE_TOGGLEBTN 1
46107 _ACEOF
46108
46109 USES_CONTROLS=1
46110 fi
46111 fi
46112
46113 if test "$wxUSE_TOOLBAR" = "yes"; then
46114 cat >>confdefs.h <<\_ACEOF
46115 #define wxUSE_TOOLBAR 1
46116 _ACEOF
46117
46118 USES_CONTROLS=1
46119
46120 if test "$wxUSE_UNIVERSAL" = "yes"; then
46121 wxUSE_TOOLBAR_NATIVE="no"
46122 else
46123 wxUSE_TOOLBAR_NATIVE="yes"
46124 cat >>confdefs.h <<\_ACEOF
46125 #define wxUSE_TOOLBAR_NATIVE 1
46126 _ACEOF
46127
46128 fi
46129
46130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46131 fi
46132
46133 if test "$wxUSE_TOOLTIPS" = "yes"; then
46134 if test "$wxUSE_MOTIF" = 1; then
46135 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46136 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46137 else
46138 if test "$wxUSE_UNIVERSAL" = "yes"; then
46139 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46140 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46141 else
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_TOOLTIPS 1
46144 _ACEOF
46145
46146 fi
46147 fi
46148 fi
46149
46150 if test "$wxUSE_TREEBOOK" = "yes"; then
46151 cat >>confdefs.h <<\_ACEOF
46152 #define wxUSE_TREEBOOK 1
46153 _ACEOF
46154
46155 USES_CONTROLS=1
46156 fi
46157
46158 if test "$wxUSE_TOOLBOOK" = "yes"; then
46159 cat >>confdefs.h <<\_ACEOF
46160 #define wxUSE_TOOLBOOK 1
46161 _ACEOF
46162
46163 USES_CONTROLS=1
46164 fi
46165
46166 if test "$wxUSE_TREECTRL" = "yes"; then
46167 if test "$wxUSE_IMAGLIST" = "yes"; then
46168 cat >>confdefs.h <<\_ACEOF
46169 #define wxUSE_TREECTRL 1
46170 _ACEOF
46171
46172 USES_CONTROLS=1
46173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46174 else
46175 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46176 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46177 fi
46178 fi
46179
46180 if test "$wxUSE_POPUPWIN" = "yes"; then
46181 if test "$wxUSE_COCOA" = 1 ; then
46182 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46183 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46184 else
46185 if test "$wxUSE_PM" = 1; then
46186 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46187 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46188 else
46189 cat >>confdefs.h <<\_ACEOF
46190 #define wxUSE_POPUPWIN 1
46191 _ACEOF
46192
46193 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46194
46195 USES_CONTROLS=1
46196 fi
46197 fi
46198 fi
46199
46200 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46201 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46202 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46203 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46204 else
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_DIALUP_MANAGER 1
46207 _ACEOF
46208
46209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46210 fi
46211 fi
46212
46213 if test "$wxUSE_TIPWINDOW" = "yes"; then
46214 if test "$wxUSE_PM" = 1; then
46215 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46216 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46217 else
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_TIPWINDOW 1
46220 _ACEOF
46221
46222 fi
46223 fi
46224
46225 if test "$USES_CONTROLS" = 1; then
46226 cat >>confdefs.h <<\_ACEOF
46227 #define wxUSE_CONTROLS 1
46228 _ACEOF
46229
46230 fi
46231
46232
46233 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46234 cat >>confdefs.h <<\_ACEOF
46235 #define wxUSE_ACCESSIBILITY 1
46236 _ACEOF
46237
46238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46239 fi
46240
46241 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46242 cat >>confdefs.h <<\_ACEOF
46243 #define wxUSE_DRAGIMAGE 1
46244 _ACEOF
46245
46246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46247 fi
46248
46249 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46250 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46251 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46252 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46253 else
46254 cat >>confdefs.h <<\_ACEOF
46255 #define wxUSE_EXCEPTIONS 1
46256 _ACEOF
46257
46258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46259 fi
46260 fi
46261
46262 USE_HTML=0
46263 if test "$wxUSE_HTML" = "yes"; then
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_HTML 1
46266 _ACEOF
46267
46268 USE_HTML=1
46269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46270 fi
46271 if test "$wxUSE_WEBKIT" = "yes"; then
46272 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46273 old_CPPFLAGS="$CPPFLAGS"
46274 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46275 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46276 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46277 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46278 echo $ECHO_N "(cached) $ECHO_C" >&6
46279 else
46280 cat >conftest.$ac_ext <<_ACEOF
46281 /* confdefs.h. */
46282 _ACEOF
46283 cat confdefs.h >>conftest.$ac_ext
46284 cat >>conftest.$ac_ext <<_ACEOF
46285 /* end confdefs.h. */
46286
46287 #include <Carbon/Carbon.h>
46288 #include <WebKit/WebKit.h>
46289
46290
46291 #include <WebKit/HIWebView.h>
46292 _ACEOF
46293 rm -f conftest.$ac_objext
46294 if { (ac_try="$ac_compile"
46295 case "(($ac_try" in
46296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46297 *) ac_try_echo=$ac_try;;
46298 esac
46299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46300 (eval "$ac_compile") 2>conftest.er1
46301 ac_status=$?
46302 grep -v '^ *+' conftest.er1 >conftest.err
46303 rm -f conftest.er1
46304 cat conftest.err >&5
46305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46306 (exit $ac_status); } && {
46307 test -z "$ac_c_werror_flag" ||
46308 test ! -s conftest.err
46309 } && test -s conftest.$ac_objext; then
46310 ac_cv_header_WebKit_HIWebView_h=yes
46311 else
46312 echo "$as_me: failed program was:" >&5
46313 sed 's/^/| /' conftest.$ac_ext >&5
46314
46315 ac_cv_header_WebKit_HIWebView_h=no
46316 fi
46317
46318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46319 fi
46320 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46321 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46322 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46323
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_WEBKIT 1
46326 _ACEOF
46327
46328 WEBKIT_LINK="-framework WebKit"
46329
46330 else
46331
46332 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46333 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46334 wxUSE_WEBKIT=no
46335
46336 fi
46337
46338
46339 CPPFLAGS="$old_CPPFLAGS"
46340 elif test "$wxUSE_COCOA" = 1; then
46341 cat >>confdefs.h <<\_ACEOF
46342 #define wxUSE_WEBKIT 1
46343 _ACEOF
46344
46345 else
46346 wxUSE_WEBKIT=no
46347 fi
46348 if test "$wxUSE_WEBKIT" = "yes"; then
46349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46350 fi
46351 fi
46352
46353 USE_XRC=0
46354 if test "$wxUSE_XRC" = "yes"; then
46355 if test "$wxUSE_XML" != "yes"; then
46356 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46357 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46358 wxUSE_XRC=no
46359 else
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_XRC 1
46362 _ACEOF
46363
46364 USE_XRC=1
46365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46366 fi
46367 fi
46368
46369 USE_AUI=0
46370 if test "$wxUSE_AUI" = "yes"; then
46371 cat >>confdefs.h <<\_ACEOF
46372 #define wxUSE_AUI 1
46373 _ACEOF
46374
46375 USE_AUI=1
46376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46377 fi
46378
46379 USE_PROPGRID=0
46380 if test "$wxUSE_PROPGRID" = "yes"; then
46381 cat >>confdefs.h <<\_ACEOF
46382 #define wxUSE_PROPGRID 1
46383 _ACEOF
46384
46385 USE_PROPGRID=1
46386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46387 fi
46388
46389 USE_STC=0
46390 if test "$wxUSE_STC" = "yes"; then
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_STC 1
46393 _ACEOF
46394
46395 USE_STC=1
46396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46397 fi
46398
46399 if test "$wxUSE_MENUS" = "yes"; then
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_MENUS 1
46402 _ACEOF
46403
46404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46405 fi
46406
46407 if test "$wxUSE_METAFILE" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_METAFILE 1
46410 _ACEOF
46411
46412 fi
46413
46414 if test "$wxUSE_MIMETYPE" = "yes"; then
46415 cat >>confdefs.h <<\_ACEOF
46416 #define wxUSE_MIMETYPE 1
46417 _ACEOF
46418
46419 fi
46420
46421 if test "$wxUSE_MINIFRAME" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_MINIFRAME 1
46424 _ACEOF
46425
46426 fi
46427
46428 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46429 cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_SYSTEM_OPTIONS 1
46431 _ACEOF
46432
46433 fi
46434
46435 if test "$wxUSE_TASKBARICON" = "yes"; then
46436 cat >>confdefs.h <<\_ACEOF
46437 #define wxUSE_TASKBARICON 1
46438 _ACEOF
46439
46440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46441 fi
46442
46443
46444 if test "$wxUSE_VALIDATORS" = "yes"; then
46445 cat >>confdefs.h <<\_ACEOF
46446 #define wxUSE_VALIDATORS 1
46447 _ACEOF
46448
46449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46450 fi
46451
46452 if test "$wxUSE_PALETTE" = "yes" ; then
46453 if test "$wxUSE_DFB" = 1; then
46454 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46455 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46456 wxUSE_PALETTE=no
46457 else
46458 cat >>confdefs.h <<\_ACEOF
46459 #define wxUSE_PALETTE 1
46460 _ACEOF
46461
46462 fi
46463 fi
46464
46465 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46466 LIBS=" -lunicows $LIBS"
46467 fi
46468
46469 USE_RICHTEXT=0
46470 if test "$wxUSE_RICHTEXT" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_RICHTEXT 1
46473 _ACEOF
46474
46475 USE_RICHTEXT=1
46476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46477 fi
46478
46479
46480 if test "$wxUSE_IMAGE" = "yes" ; then
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_IMAGE 1
46483 _ACEOF
46484
46485
46486 if test "$wxUSE_GIF" = "yes" ; then
46487 cat >>confdefs.h <<\_ACEOF
46488 #define wxUSE_GIF 1
46489 _ACEOF
46490
46491 fi
46492
46493 if test "$wxUSE_PCX" = "yes" ; then
46494 cat >>confdefs.h <<\_ACEOF
46495 #define wxUSE_PCX 1
46496 _ACEOF
46497
46498 fi
46499
46500 if test "$wxUSE_TGA" = "yes" ; then
46501 cat >>confdefs.h <<\_ACEOF
46502 #define wxUSE_TGA 1
46503 _ACEOF
46504
46505 fi
46506
46507 if test "$wxUSE_IFF" = "yes" ; then
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_IFF 1
46510 _ACEOF
46511
46512 fi
46513
46514 if test "$wxUSE_PNM" = "yes" ; then
46515 cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_PNM 1
46517 _ACEOF
46518
46519 fi
46520
46521 if test "$wxUSE_XPM" = "yes" ; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_XPM 1
46524 _ACEOF
46525
46526 fi
46527
46528 if test "$wxUSE_ICO_CUR" = "yes" ; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_ICO_CUR 1
46531 _ACEOF
46532
46533 fi
46534 fi
46535
46536
46537 if test "$wxUSE_ABOUTDLG" = "yes"; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_ABOUTDLG 1
46540 _ACEOF
46541
46542 fi
46543
46544 if test "$wxUSE_CHOICEDLG" = "yes"; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_CHOICEDLG 1
46547 _ACEOF
46548
46549 fi
46550
46551 if test "$wxUSE_COLOURDLG" = "yes"; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_COLOURDLG 1
46554 _ACEOF
46555
46556 fi
46557
46558 if test "$wxUSE_FILEDLG" = "yes"; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_FILEDLG 1
46561 _ACEOF
46562
46563 fi
46564
46565 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_FINDREPLDLG 1
46568 _ACEOF
46569
46570 fi
46571
46572 if test "$wxUSE_FONTDLG" = "yes"; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_FONTDLG 1
46575 _ACEOF
46576
46577 fi
46578
46579 if test "$wxUSE_DIRDLG" = "yes"; then
46580 if test "$wxUSE_TREECTRL" != "yes"; then
46581 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46582 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46583 else
46584 cat >>confdefs.h <<\_ACEOF
46585 #define wxUSE_DIRDLG 1
46586 _ACEOF
46587
46588 fi
46589 fi
46590
46591 if test "$wxUSE_MSGDLG" = "yes"; then
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_MSGDLG 1
46594 _ACEOF
46595
46596 fi
46597
46598 if test "$wxUSE_NUMBERDLG" = "yes"; then
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_NUMBERDLG 1
46601 _ACEOF
46602
46603 fi
46604
46605 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46606 cat >>confdefs.h <<\_ACEOF
46607 #define wxUSE_PROGRESSDLG 1
46608 _ACEOF
46609
46610 fi
46611
46612 if test "$wxUSE_SPLASH" = "yes"; then
46613 cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_SPLASH 1
46615 _ACEOF
46616
46617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46618 fi
46619
46620 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46621 cat >>confdefs.h <<\_ACEOF
46622 #define wxUSE_STARTUP_TIPS 1
46623 _ACEOF
46624
46625 fi
46626
46627 if test "$wxUSE_TEXTDLG" = "yes"; then
46628 cat >>confdefs.h <<\_ACEOF
46629 #define wxUSE_TEXTDLG 1
46630 _ACEOF
46631
46632 fi
46633
46634 if test "$wxUSE_WIZARDDLG" = "yes"; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_WIZARDDLG 1
46637 _ACEOF
46638
46639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46640 fi
46641
46642
46643 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46644 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46645 cat >>confdefs.h <<\_ACEOF
46646 #define wxUSE_OWNER_DRAWN 1
46647 _ACEOF
46648
46649 fi
46650 fi
46651
46652
46653 if test "$wxUSE_MSW" = 1 ; then
46654
46655 if test "$wxUSE_DC_CACHEING" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_DC_CACHEING 1
46658 _ACEOF
46659
46660 fi
46661
46662 if test "$wxUSE_DIB" = "yes"; then
46663 cat >>confdefs.h <<\_ACEOF
46664 #define wxUSE_WXDIB 1
46665 _ACEOF
46666
46667 fi
46668
46669 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46670 cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46672 _ACEOF
46673
46674 fi
46675
46676 if test "$wxUSE_UXTHEME" = "yes"; then
46677 cat >>confdefs.h <<\_ACEOF
46678 #define wxUSE_UXTHEME 1
46679 _ACEOF
46680
46681 fi
46682
46683 fi
46684
46685 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46686 cat >>confdefs.h <<\_ACEOF
46687 #define wxUSE_AUTOID_MANAGEMENT 1
46688 _ACEOF
46689
46690 fi
46691
46692 if test "$USE_WIN32" = 1 ; then
46693 if test "$wxUSE_INICONF" = "yes"; then
46694 cat >>confdefs.h <<\_ACEOF
46695 #define wxUSE_INICONF 1
46696 _ACEOF
46697
46698 fi
46699
46700 if test "$wxUSE_REGKEY" = "yes"; then
46701 cat >>confdefs.h <<\_ACEOF
46702 #define wxUSE_REGKEY 1
46703 _ACEOF
46704
46705 fi
46706 fi
46707
46708
46709 if test "$wxUSE_MAC" = 1; then
46710 wxUSE_GRAPHICS_CONTEXT="yes"
46711 fi
46712
46713 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46714 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_GRAPHICS_CONTEXT 1
46717 _ACEOF
46718
46719 elif test "$wxUSE_GTK" != 1; then
46720 cat >>confdefs.h <<\_ACEOF
46721 #define wxUSE_GRAPHICS_CONTEXT 1
46722 _ACEOF
46723
46724 else
46725
46726 pkg_failed=no
46727 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46728 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46729
46730 if test -n "$PKG_CONFIG"; then
46731 if test -n "$CAIRO_CFLAGS"; then
46732 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46733 else
46734 if test -n "$PKG_CONFIG" && \
46735 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46736 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46737 ac_status=$?
46738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46739 (exit $ac_status); }; then
46740 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46741 else
46742 pkg_failed=yes
46743 fi
46744 fi
46745 else
46746 pkg_failed=untried
46747 fi
46748 if test -n "$PKG_CONFIG"; then
46749 if test -n "$CAIRO_LIBS"; then
46750 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46751 else
46752 if test -n "$PKG_CONFIG" && \
46753 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46754 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46755 ac_status=$?
46756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46757 (exit $ac_status); }; then
46758 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46759 else
46760 pkg_failed=yes
46761 fi
46762 fi
46763 else
46764 pkg_failed=untried
46765 fi
46766
46767
46768
46769 if test $pkg_failed = yes; then
46770
46771 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46772 _pkg_short_errors_supported=yes
46773 else
46774 _pkg_short_errors_supported=no
46775 fi
46776 if test $_pkg_short_errors_supported = yes; then
46777 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46778 else
46779 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46780 fi
46781 # Put the nasty error message in config.log where it belongs
46782 echo "$CAIRO_PKG_ERRORS" >&5
46783
46784 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46785 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46786
46787 elif test $pkg_failed = untried; then
46788 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46789 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46790
46791 else
46792 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46793 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46794 { echo "$as_me:$LINENO: result: yes" >&5
46795 echo "${ECHO_T}yes" >&6; }
46796 cat >>confdefs.h <<\_ACEOF
46797 #define wxUSE_GRAPHICS_CONTEXT 1
46798 _ACEOF
46799
46800 fi
46801 fi
46802 fi
46803
46804
46805 USE_MEDIA=0
46806
46807 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46808 USE_MEDIA=1
46809
46810 if test "$wxUSE_GTK" = 1; then
46811 wxUSE_GSTREAMER="no"
46812
46813 GST_VERSION_MAJOR=0
46814 GST_VERSION_MINOR=10
46815 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46816
46817 if test "$wxUSE_GSTREAMER8" = "no"; then
46818
46819 pkg_failed=no
46820 { echo "$as_me:$LINENO: checking for GST" >&5
46821 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46822
46823 if test -n "$PKG_CONFIG"; then
46824 if test -n "$GST_CFLAGS"; then
46825 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46826 else
46827 if test -n "$PKG_CONFIG" && \
46828 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46829 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46830 ac_status=$?
46831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46832 (exit $ac_status); }; then
46833 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46834 else
46835 pkg_failed=yes
46836 fi
46837 fi
46838 else
46839 pkg_failed=untried
46840 fi
46841 if test -n "$PKG_CONFIG"; then
46842 if test -n "$GST_LIBS"; then
46843 pkg_cv_GST_LIBS="$GST_LIBS"
46844 else
46845 if test -n "$PKG_CONFIG" && \
46846 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46847 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46848 ac_status=$?
46849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46850 (exit $ac_status); }; then
46851 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46852 else
46853 pkg_failed=yes
46854 fi
46855 fi
46856 else
46857 pkg_failed=untried
46858 fi
46859
46860
46861
46862 if test $pkg_failed = yes; then
46863
46864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46865 _pkg_short_errors_supported=yes
46866 else
46867 _pkg_short_errors_supported=no
46868 fi
46869 if test $_pkg_short_errors_supported = yes; then
46870 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46871 else
46872 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46873 fi
46874 # Put the nasty error message in config.log where it belongs
46875 echo "$GST_PKG_ERRORS" >&5
46876
46877
46878 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46879 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46880 GST_VERSION_MINOR=8
46881
46882
46883 elif test $pkg_failed = untried; then
46884
46885 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46886 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46887 GST_VERSION_MINOR=8
46888
46889
46890 else
46891 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46892 GST_LIBS=$pkg_cv_GST_LIBS
46893 { echo "$as_me:$LINENO: result: yes" >&5
46894 echo "${ECHO_T}yes" >&6; }
46895
46896 wxUSE_GSTREAMER="yes"
46897 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46898
46899 fi
46900 else
46901 GST_VERSION_MINOR=8
46902 fi
46903
46904 if test $GST_VERSION_MINOR = "8"; then
46905 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46906
46907 pkg_failed=no
46908 { echo "$as_me:$LINENO: checking for GST" >&5
46909 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46910
46911 if test -n "$PKG_CONFIG"; then
46912 if test -n "$GST_CFLAGS"; then
46913 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46914 else
46915 if test -n "$PKG_CONFIG" && \
46916 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46917 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46918 ac_status=$?
46919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46920 (exit $ac_status); }; then
46921 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46922 else
46923 pkg_failed=yes
46924 fi
46925 fi
46926 else
46927 pkg_failed=untried
46928 fi
46929 if test -n "$PKG_CONFIG"; then
46930 if test -n "$GST_LIBS"; then
46931 pkg_cv_GST_LIBS="$GST_LIBS"
46932 else
46933 if test -n "$PKG_CONFIG" && \
46934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46935 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46936 ac_status=$?
46937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46938 (exit $ac_status); }; then
46939 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46940 else
46941 pkg_failed=yes
46942 fi
46943 fi
46944 else
46945 pkg_failed=untried
46946 fi
46947
46948
46949
46950 if test $pkg_failed = yes; then
46951
46952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46953 _pkg_short_errors_supported=yes
46954 else
46955 _pkg_short_errors_supported=no
46956 fi
46957 if test $_pkg_short_errors_supported = yes; then
46958 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46959 else
46960 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46961 fi
46962 # Put the nasty error message in config.log where it belongs
46963 echo "$GST_PKG_ERRORS" >&5
46964
46965
46966 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46967 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46968
46969 elif test $pkg_failed = untried; then
46970
46971 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46972 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46973
46974 else
46975 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46976 GST_LIBS=$pkg_cv_GST_LIBS
46977 { echo "$as_me:$LINENO: result: yes" >&5
46978 echo "${ECHO_T}yes" >&6; }
46979 wxUSE_GSTREAMER="yes"
46980 fi
46981 fi
46982
46983
46984 if test "$wxUSE_GSTREAMER" = "yes"; then
46985 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46986 EXTRALIBS_MEDIA="$GST_LIBS"
46987
46988 cat >>confdefs.h <<\_ACEOF
46989 #define wxUSE_GSTREAMER 1
46990 _ACEOF
46991
46992 else
46993 USE_MEDIA=0
46994 fi
46995 fi
46996
46997 if test $USE_MEDIA = 1; then
46998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46999 cat >>confdefs.h <<\_ACEOF
47000 #define wxUSE_MEDIACTRL 1
47001 _ACEOF
47002
47003 else
47004 if test "$wxUSE_MEDIACTRL" = "yes"; then
47005 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47006 echo "$as_me: error: GStreamer not available" >&2;}
47007 { (exit 1); exit 1; }; }
47008 else
47009 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47010 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47011 fi
47012 fi
47013 fi
47014
47015
47016 if test "$cross_compiling" = "yes"; then
47017 OSINFO="\"$host\""
47018 else
47019 OSINFO=`uname -s -r -m`
47020 OSINFO="\"$OSINFO\""
47021 fi
47022
47023 cat >>confdefs.h <<_ACEOF
47024 #define WXWIN_OS_DESCRIPTION $OSINFO
47025 _ACEOF
47026
47027
47028
47029 if test "x$prefix" != "xNONE"; then
47030 wxPREFIX=$prefix
47031 else
47032 wxPREFIX=$ac_default_prefix
47033 fi
47034
47035 cat >>confdefs.h <<_ACEOF
47036 #define wxINSTALL_PREFIX "$wxPREFIX"
47037 _ACEOF
47038
47039
47040
47041
47042 STD_BASE_LIBS="base"
47043 STD_GUI_LIBS=""
47044 BUILT_WX_LIBS="base"
47045 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47046
47047 if test "$wxUSE_SOCKETS" = "yes" ; then
47048 STD_BASE_LIBS="net $STD_BASE_LIBS"
47049 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47050 fi
47051 if test "$wxUSE_XML" = "yes" ; then
47052 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47053 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47054 fi
47055
47056 if test "$wxUSE_GUI" = "yes"; then
47057 STD_GUI_LIBS="adv core"
47058 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47059
47060 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47061 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47062 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47063 fi
47064 if test "$wxUSE_HTML" = "yes" ; then
47065 STD_GUI_LIBS="html $STD_GUI_LIBS"
47066 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47067 fi
47068 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47069 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47070 fi
47071 if test "$wxUSE_OPENGL" = "yes" ; then
47072 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47073 fi
47074 if test "$wxUSE_AUI" = "yes" ; then
47075 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47076 fi
47077 if test "$wxUSE_PROPGRID" = "yes" ; then
47078 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47079 fi
47080 if test "$wxUSE_RICHTEXT" = "yes" ; then
47081 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47082 fi
47083 if test "$wxUSE_STC" = "yes" ; then
47084 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47085 fi
47086 if test "$wxUSE_XRC" = "yes" ; then
47087 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47088 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47089 fi
47090 fi
47091
47092
47093
47094
47095
47096
47097
47098
47099 if test "$wxUSE_MAC" = 1 ; then
47100 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47101 if test "$USE_DARWIN" = 1; then
47102 LDFLAGS="$LDFLAGS -framework QuickTime"
47103 fi
47104 fi
47105 if test "$USE_DARWIN" = 1; then
47106 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47107 fi
47108 fi
47109 if test "$wxUSE_COCOA" = 1 ; then
47110 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47111 if test "$wxUSE_MEDIACTRL" = "yes"; then
47112 LDFLAGS="$LDFLAGS -framework QuickTime"
47113 fi
47114 fi
47115 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47116 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47117 fi
47118
47119 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47120
47121 if test "$wxUSE_GUI" = "yes"; then
47122
47123
47124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47125 erase event exec font image minimal mobile \
47126 mobile/wxedit mobile/styles render \
47127 shaped svg taborder vscroll widgets"
47128
47129 if test "$wxUSE_MONOLITHIC" != "yes"; then
47130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47131 fi
47132 if test "$TOOLKIT" = "MSW"; then
47133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47134 if test "$wxUSE_UNIVERSAL" != "yes"; then
47135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47136 fi
47137 fi
47138 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47140 fi
47141 else
47142 SAMPLES_SUBDIRS="console"
47143 if test "$wxUSE_SOCKETS" = "yes" ; then
47144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47145 fi
47146 if test "$wxUSE_IPC" = "yes" ; then
47147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47148 fi
47149 fi
47150
47151
47152 if test "x$INTELCC" = "xyes" ; then
47153 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47154 elif test "$GCC" = yes ; then
47155 CWARNINGS="-Wall -Wundef"
47156 fi
47157
47158 if test "x$INTELCXX" = "xyes" ; then
47159 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47160 elif test "$GXX" = yes ; then
47161 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47162 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47163 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47164 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47165 echo $ECHO_N "(cached) $ECHO_C" >&6
47166 else
47167 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47168
47169 ac_ext=cpp
47170 ac_cpp='$CXXCPP $CPPFLAGS'
47171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47174
47175 ac_save_CXXFLAGS="$CXXFLAGS"
47176 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47177 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47178 cat >conftest.$ac_ext <<_ACEOF
47179 /* confdefs.h. */
47180 _ACEOF
47181 cat confdefs.h >>conftest.$ac_ext
47182 cat >>conftest.$ac_ext <<_ACEOF
47183 /* end confdefs.h. */
47184
47185 int
47186 main ()
47187 {
47188 return 0;
47189 ;
47190 return 0;
47191 }
47192 _ACEOF
47193 rm -f conftest.$ac_objext
47194 if { (ac_try="$ac_compile"
47195 case "(($ac_try" in
47196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47197 *) ac_try_echo=$ac_try;;
47198 esac
47199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47200 (eval "$ac_compile") 2>conftest.er1
47201 ac_status=$?
47202 grep -v '^ *+' conftest.er1 >conftest.err
47203 rm -f conftest.er1
47204 cat conftest.err >&5
47205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47206 (exit $ac_status); } && {
47207 test -z "$ac_cxx_werror_flag" ||
47208 test ! -s conftest.err
47209 } && test -s conftest.$ac_objext; then
47210 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47211 else
47212 echo "$as_me: failed program was:" >&5
47213 sed 's/^/| /' conftest.$ac_ext >&5
47214
47215
47216 fi
47217
47218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47219 done
47220 CXXFLAGS="$ac_save_CXXFLAGS"
47221 ac_ext=c
47222 ac_cpp='$CPP $CPPFLAGS'
47223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47226
47227
47228 fi
47229 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47230 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47231 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47232 .ok|.ok,*) ;;
47233 .|.no|.no,*) ;;
47234 *)
47235 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47236 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47237 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47238 ac_status=$?
47239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47240 (exit $ac_status); }
47241 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47242 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47243 ac_status=$?
47244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47245 (exit $ac_status); }
47246 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47247 fi
47248 ;;
47249 esac
47250
47251 fi
47252
47253
47254 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47255 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47256
47257
47258 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47259 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47260 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47261 $CPPFLAGS `
47262
47263 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47264 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47265 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47266 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47267 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47268
47269 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47270
47271
47272 if test "x$MWCC" = "xyes"; then
47273
47274 CC="$CC -cwd source -I-"
47275 CXX="$CXX -cwd source -I-"
47276 fi
47277
47278
47279 LIBS=`echo $LIBS`
47280 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47281 EXTRALIBS_XML="$EXPAT_LINK"
47282 EXTRALIBS_HTML="$MSPACK_LINK"
47283 EXTRALIBS_MEDIA="$GST_LIBS"
47284 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47285 if test "$wxUSE_GUI" = "yes"; then
47286 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47287 fi
47288 if test "$wxUSE_OPENGL" = "yes"; then
47289 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47290 fi
47291
47292 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47293
47294 WXCONFIG_LIBS="$LIBS"
47295
47296 if test "$wxUSE_REGEX" = "builtin" ; then
47297 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47298 fi
47299 if test "$wxUSE_EXPAT" = "builtin" ; then
47300 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47301 fi
47302 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47303 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47304 fi
47305 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47306 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47307 fi
47308 if test "$wxUSE_LIBPNG" = "builtin" ; then
47309 wxconfig_3rdparty="png $wxconfig_3rdparty"
47310 fi
47311 if test "$wxUSE_ZLIB" = "builtin" ; then
47312 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47313 fi
47314
47315 for i in $wxconfig_3rdparty ; do
47316 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47317 done
47318
47319
47320 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47321 WXUNIV=1
47322
47323 case "$wxUNIV_THEMES" in
47324 ''|all)
47325 cat >>confdefs.h <<\_ACEOF
47326 #define wxUSE_ALL_THEMES 1
47327 _ACEOF
47328
47329 ;;
47330
47331 *)
47332 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47333 cat >>confdefs.h <<_ACEOF
47334 #define wxUSE_THEME_$t 1
47335 _ACEOF
47336
47337 done
47338 esac
47339 else
47340 WXUNIV=0
47341 fi
47342
47343
47344
47345
47346
47347
47348
47349
47350 if test $wxUSE_MONOLITHIC = "yes" ; then
47351 MONOLITHIC=1
47352 else
47353 MONOLITHIC=0
47354 fi
47355
47356 if test $wxUSE_PLUGINS = "yes" ; then
47357 USE_PLUGINS=1
47358 else
47359 USE_PLUGINS=0
47360 fi
47361
47362 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47363 USE_QA=1
47364 else
47365 USE_QA=0
47366 fi
47367
47368 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47369 OFFICIAL_BUILD=1
47370 else
47371 OFFICIAL_BUILD=0
47372 fi
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401 TOOLKIT_LOWERCASE=xxx
47402 if test "$TOOLKIT" = "MAC"; then
47403 TOOLKIT_LOWERCASE=osx_carbon
47404 fi
47405 if test "$TOOLKIT" = "OSX_CARBON"; then
47406 TOOLKIT_LOWERCASE=osx_carbon
47407 fi
47408 if test "$TOOLKIT" = "OSX_COCOA"; then
47409 TOOLKIT_LOWERCASE=osx_cocoa
47410 fi
47411 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47412 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47413 fi
47414
47415
47416
47417
47418
47419
47420
47421
47422 case "$TOOLKIT" in
47423 GTK)
47424 TOOLKIT_DESC="GTK+"
47425 if test "$WXGTK2" = 1; then
47426 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47427 if test "$wxUSE_GTKPRINT" = "yes" ; then
47428 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47429 fi
47430 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47431 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47432 fi
47433 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47434 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47435 fi
47436 if test "$wxUSE_LIBHILDON" = "yes"; then
47437 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47438 fi
47439
47440 if test "$TOOLKIT_EXTRA" != ""; then
47441 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47442 fi
47443 fi
47444 ;;
47445
47446 ?*)
47447 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47448 ;;
47449
47450 *)
47451 TOOLKIT_DESC="base only"
47452 ;;
47453 esac
47454
47455 if test "$wxUSE_WINE" = "yes"; then
47456 BAKEFILE_FORCE_PLATFORM=win32
47457 fi
47458
47459 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47460 then
47461 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47462 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47463 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47464 echo $ECHO_N "(cached) $ECHO_C" >&6
47465 else
47466
47467 echo '#include <stdio.h>
47468 const wchar_t test_var[] = L"awidetest";' > conftest.h
47469
47470 echo '#include "conftest.h"
47471 int main()
47472 {
47473 printf("%ls", test_var);
47474 return 0;
47475 }' > conftest.cpp
47476
47477 wx_cv_gcc_pch_bug="pch not supported"
47478
47479 if $CXX conftest.h >/dev/null 2>&1
47480 then
47481 wx_cv_gcc_pch_bug=
47482
47483 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47484 then
47485 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47486 grep awidetest >/dev/null
47487 then
47488 wx_cv_gcc_pch_bug=no
47489 else
47490 wx_cv_gcc_pch_bug=yes
47491 fi
47492 fi
47493 fi
47494
47495 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47496
47497 fi
47498 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47499 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47500
47501 if test "$wx_cv_gcc_pch_bug" = yes; then
47502 bk_use_pch=no
47503 fi
47504 fi
47505
47506
47507
47508
47509
47510
47511
47512 if test "x$BAKEFILE_HOST" = "x"; then
47513 if test "x${host}" = "x" ; then
47514 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47515 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47516 { (exit 1); exit 1; }; }
47517 fi
47518
47519 BAKEFILE_HOST="${host}"
47520 fi
47521
47522 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47523
47524 if test -n "$ac_tool_prefix"; then
47525 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47526 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47529 if test "${ac_cv_prog_RANLIB+set}" = set; then
47530 echo $ECHO_N "(cached) $ECHO_C" >&6
47531 else
47532 if test -n "$RANLIB"; then
47533 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47534 else
47535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47536 for as_dir in $PATH
47537 do
47538 IFS=$as_save_IFS
47539 test -z "$as_dir" && as_dir=.
47540 for ac_exec_ext in '' $ac_executable_extensions; do
47541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47542 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47544 break 2
47545 fi
47546 done
47547 done
47548 IFS=$as_save_IFS
47549
47550 fi
47551 fi
47552 RANLIB=$ac_cv_prog_RANLIB
47553 if test -n "$RANLIB"; then
47554 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47555 echo "${ECHO_T}$RANLIB" >&6; }
47556 else
47557 { echo "$as_me:$LINENO: result: no" >&5
47558 echo "${ECHO_T}no" >&6; }
47559 fi
47560
47561
47562 fi
47563 if test -z "$ac_cv_prog_RANLIB"; then
47564 ac_ct_RANLIB=$RANLIB
47565 # Extract the first word of "ranlib", so it can be a program name with args.
47566 set dummy ranlib; ac_word=$2
47567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47569 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47570 echo $ECHO_N "(cached) $ECHO_C" >&6
47571 else
47572 if test -n "$ac_ct_RANLIB"; then
47573 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47574 else
47575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47576 for as_dir in $PATH
47577 do
47578 IFS=$as_save_IFS
47579 test -z "$as_dir" && as_dir=.
47580 for ac_exec_ext in '' $ac_executable_extensions; do
47581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47582 ac_cv_prog_ac_ct_RANLIB="ranlib"
47583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47584 break 2
47585 fi
47586 done
47587 done
47588 IFS=$as_save_IFS
47589
47590 fi
47591 fi
47592 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47593 if test -n "$ac_ct_RANLIB"; then
47594 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47595 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47596 else
47597 { echo "$as_me:$LINENO: result: no" >&5
47598 echo "${ECHO_T}no" >&6; }
47599 fi
47600
47601 if test "x$ac_ct_RANLIB" = x; then
47602 RANLIB=":"
47603 else
47604 case $cross_compiling:$ac_tool_warned in
47605 yes:)
47606 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47607 whose name does not start with the host triplet. If you think this
47608 configuration is useful to you, please write to autoconf@gnu.org." >&5
47609 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47610 whose name does not start with the host triplet. If you think this
47611 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47612 ac_tool_warned=yes ;;
47613 esac
47614 RANLIB=$ac_ct_RANLIB
47615 fi
47616 else
47617 RANLIB="$ac_cv_prog_RANLIB"
47618 fi
47619
47620 # Find a good install program. We prefer a C program (faster),
47621 # so one script is as good as another. But avoid the broken or
47622 # incompatible versions:
47623 # SysV /etc/install, /usr/sbin/install
47624 # SunOS /usr/etc/install
47625 # IRIX /sbin/install
47626 # AIX /bin/install
47627 # AmigaOS /C/install, which installs bootblocks on floppy discs
47628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47631 # OS/2's system install, which has a completely different semantic
47632 # ./install, which can be erroneously created by make from ./install.sh.
47633 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47634 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47635 if test -z "$INSTALL"; then
47636 if test "${ac_cv_path_install+set}" = set; then
47637 echo $ECHO_N "(cached) $ECHO_C" >&6
47638 else
47639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47640 for as_dir in $PATH
47641 do
47642 IFS=$as_save_IFS
47643 test -z "$as_dir" && as_dir=.
47644 # Account for people who put trailing slashes in PATH elements.
47645 case $as_dir/ in
47646 ./ | .// | /cC/* | \
47647 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47648 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47649 /usr/ucb/* ) ;;
47650 *)
47651 # OSF1 and SCO ODT 3.0 have their own names for install.
47652 # Don't use installbsd from OSF since it installs stuff as root
47653 # by default.
47654 for ac_prog in ginstall scoinst install; do
47655 for ac_exec_ext in '' $ac_executable_extensions; do
47656 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47657 if test $ac_prog = install &&
47658 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47659 # AIX install. It has an incompatible calling convention.
47660 :
47661 elif test $ac_prog = install &&
47662 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47663 # program-specific install script used by HP pwplus--don't use.
47664 :
47665 else
47666 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47667 break 3
47668 fi
47669 fi
47670 done
47671 done
47672 ;;
47673 esac
47674 done
47675 IFS=$as_save_IFS
47676
47677
47678 fi
47679 if test "${ac_cv_path_install+set}" = set; then
47680 INSTALL=$ac_cv_path_install
47681 else
47682 # As a last resort, use the slow shell script. Don't cache a
47683 # value for INSTALL within a source directory, because that will
47684 # break other packages using the cache if that directory is
47685 # removed, or if the value is a relative name.
47686 INSTALL=$ac_install_sh
47687 fi
47688 fi
47689 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47690 echo "${ECHO_T}$INSTALL" >&6; }
47691
47692 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47693 # It thinks the first close brace ends the variable substitution.
47694 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47695
47696 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47697
47698 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47699
47700 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47701 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47702 LN_S=$as_ln_s
47703 if test "$LN_S" = "ln -s"; then
47704 { echo "$as_me:$LINENO: result: yes" >&5
47705 echo "${ECHO_T}yes" >&6; }
47706 else
47707 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47708 echo "${ECHO_T}no, using $LN_S" >&6; }
47709 fi
47710
47711
47712 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47713 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47714 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47715 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47716 echo $ECHO_N "(cached) $ECHO_C" >&6
47717 else
47718 cat >conftest.make <<\_ACEOF
47719 SHELL = /bin/sh
47720 all:
47721 @echo '@@@%%%=$(MAKE)=@@@%%%'
47722 _ACEOF
47723 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47724 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47725 *@@@%%%=?*=@@@%%%*)
47726 eval ac_cv_prog_make_${ac_make}_set=yes;;
47727 *)
47728 eval ac_cv_prog_make_${ac_make}_set=no;;
47729 esac
47730 rm -f conftest.make
47731 fi
47732 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47733 { echo "$as_me:$LINENO: result: yes" >&5
47734 echo "${ECHO_T}yes" >&6; }
47735 SET_MAKE=
47736 else
47737 { echo "$as_me:$LINENO: result: no" >&5
47738 echo "${ECHO_T}no" >&6; }
47739 SET_MAKE="MAKE=${MAKE-make}"
47740 fi
47741
47742
47743
47744 if test "x$SUNCXX" = "xyes"; then
47745 AR=$CXX
47746 AROPTIONS="-xar -o"
47747
47748 elif test "x$SGICC" = "xyes"; then
47749 AR=$CXX
47750 AROPTIONS="-ar -o"
47751
47752 else
47753 if test -n "$ac_tool_prefix"; then
47754 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47755 set dummy ${ac_tool_prefix}ar; ac_word=$2
47756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47758 if test "${ac_cv_prog_AR+set}" = set; then
47759 echo $ECHO_N "(cached) $ECHO_C" >&6
47760 else
47761 if test -n "$AR"; then
47762 ac_cv_prog_AR="$AR" # Let the user override the test.
47763 else
47764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47765 for as_dir in $PATH
47766 do
47767 IFS=$as_save_IFS
47768 test -z "$as_dir" && as_dir=.
47769 for ac_exec_ext in '' $ac_executable_extensions; do
47770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47771 ac_cv_prog_AR="${ac_tool_prefix}ar"
47772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47773 break 2
47774 fi
47775 done
47776 done
47777 IFS=$as_save_IFS
47778
47779 fi
47780 fi
47781 AR=$ac_cv_prog_AR
47782 if test -n "$AR"; then
47783 { echo "$as_me:$LINENO: result: $AR" >&5
47784 echo "${ECHO_T}$AR" >&6; }
47785 else
47786 { echo "$as_me:$LINENO: result: no" >&5
47787 echo "${ECHO_T}no" >&6; }
47788 fi
47789
47790
47791 fi
47792 if test -z "$ac_cv_prog_AR"; then
47793 ac_ct_AR=$AR
47794 # Extract the first word of "ar", so it can be a program name with args.
47795 set dummy ar; ac_word=$2
47796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47798 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47799 echo $ECHO_N "(cached) $ECHO_C" >&6
47800 else
47801 if test -n "$ac_ct_AR"; then
47802 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47803 else
47804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47805 for as_dir in $PATH
47806 do
47807 IFS=$as_save_IFS
47808 test -z "$as_dir" && as_dir=.
47809 for ac_exec_ext in '' $ac_executable_extensions; do
47810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47811 ac_cv_prog_ac_ct_AR="ar"
47812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47813 break 2
47814 fi
47815 done
47816 done
47817 IFS=$as_save_IFS
47818
47819 fi
47820 fi
47821 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47822 if test -n "$ac_ct_AR"; then
47823 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47824 echo "${ECHO_T}$ac_ct_AR" >&6; }
47825 else
47826 { echo "$as_me:$LINENO: result: no" >&5
47827 echo "${ECHO_T}no" >&6; }
47828 fi
47829
47830 if test "x$ac_ct_AR" = x; then
47831 AR="ar"
47832 else
47833 case $cross_compiling:$ac_tool_warned in
47834 yes:)
47835 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47836 whose name does not start with the host triplet. If you think this
47837 configuration is useful to you, please write to autoconf@gnu.org." >&5
47838 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47839 whose name does not start with the host triplet. If you think this
47840 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47841 ac_tool_warned=yes ;;
47842 esac
47843 AR=$ac_ct_AR
47844 fi
47845 else
47846 AR="$ac_cv_prog_AR"
47847 fi
47848
47849 AROPTIONS=rcu
47850 fi
47851
47852
47853 if test -n "$ac_tool_prefix"; then
47854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47855 set dummy ${ac_tool_prefix}strip; ac_word=$2
47856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47858 if test "${ac_cv_prog_STRIP+set}" = set; then
47859 echo $ECHO_N "(cached) $ECHO_C" >&6
47860 else
47861 if test -n "$STRIP"; then
47862 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47863 else
47864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47865 for as_dir in $PATH
47866 do
47867 IFS=$as_save_IFS
47868 test -z "$as_dir" && as_dir=.
47869 for ac_exec_ext in '' $ac_executable_extensions; do
47870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47871 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47873 break 2
47874 fi
47875 done
47876 done
47877 IFS=$as_save_IFS
47878
47879 fi
47880 fi
47881 STRIP=$ac_cv_prog_STRIP
47882 if test -n "$STRIP"; then
47883 { echo "$as_me:$LINENO: result: $STRIP" >&5
47884 echo "${ECHO_T}$STRIP" >&6; }
47885 else
47886 { echo "$as_me:$LINENO: result: no" >&5
47887 echo "${ECHO_T}no" >&6; }
47888 fi
47889
47890
47891 fi
47892 if test -z "$ac_cv_prog_STRIP"; then
47893 ac_ct_STRIP=$STRIP
47894 # Extract the first word of "strip", so it can be a program name with args.
47895 set dummy strip; ac_word=$2
47896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47898 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47899 echo $ECHO_N "(cached) $ECHO_C" >&6
47900 else
47901 if test -n "$ac_ct_STRIP"; then
47902 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47903 else
47904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47905 for as_dir in $PATH
47906 do
47907 IFS=$as_save_IFS
47908 test -z "$as_dir" && as_dir=.
47909 for ac_exec_ext in '' $ac_executable_extensions; do
47910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47911 ac_cv_prog_ac_ct_STRIP="strip"
47912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47913 break 2
47914 fi
47915 done
47916 done
47917 IFS=$as_save_IFS
47918
47919 fi
47920 fi
47921 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47922 if test -n "$ac_ct_STRIP"; then
47923 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47924 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47925 else
47926 { echo "$as_me:$LINENO: result: no" >&5
47927 echo "${ECHO_T}no" >&6; }
47928 fi
47929
47930 if test "x$ac_ct_STRIP" = x; then
47931 STRIP=":"
47932 else
47933 case $cross_compiling:$ac_tool_warned in
47934 yes:)
47935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47936 whose name does not start with the host triplet. If you think this
47937 configuration is useful to you, please write to autoconf@gnu.org." >&5
47938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47939 whose name does not start with the host triplet. If you think this
47940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47941 ac_tool_warned=yes ;;
47942 esac
47943 STRIP=$ac_ct_STRIP
47944 fi
47945 else
47946 STRIP="$ac_cv_prog_STRIP"
47947 fi
47948
47949 if test -n "$ac_tool_prefix"; then
47950 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47951 set dummy ${ac_tool_prefix}nm; ac_word=$2
47952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47954 if test "${ac_cv_prog_NM+set}" = set; then
47955 echo $ECHO_N "(cached) $ECHO_C" >&6
47956 else
47957 if test -n "$NM"; then
47958 ac_cv_prog_NM="$NM" # Let the user override the test.
47959 else
47960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47961 for as_dir in $PATH
47962 do
47963 IFS=$as_save_IFS
47964 test -z "$as_dir" && as_dir=.
47965 for ac_exec_ext in '' $ac_executable_extensions; do
47966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47967 ac_cv_prog_NM="${ac_tool_prefix}nm"
47968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47969 break 2
47970 fi
47971 done
47972 done
47973 IFS=$as_save_IFS
47974
47975 fi
47976 fi
47977 NM=$ac_cv_prog_NM
47978 if test -n "$NM"; then
47979 { echo "$as_me:$LINENO: result: $NM" >&5
47980 echo "${ECHO_T}$NM" >&6; }
47981 else
47982 { echo "$as_me:$LINENO: result: no" >&5
47983 echo "${ECHO_T}no" >&6; }
47984 fi
47985
47986
47987 fi
47988 if test -z "$ac_cv_prog_NM"; then
47989 ac_ct_NM=$NM
47990 # Extract the first word of "nm", so it can be a program name with args.
47991 set dummy nm; ac_word=$2
47992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47994 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47995 echo $ECHO_N "(cached) $ECHO_C" >&6
47996 else
47997 if test -n "$ac_ct_NM"; then
47998 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47999 else
48000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48001 for as_dir in $PATH
48002 do
48003 IFS=$as_save_IFS
48004 test -z "$as_dir" && as_dir=.
48005 for ac_exec_ext in '' $ac_executable_extensions; do
48006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48007 ac_cv_prog_ac_ct_NM="nm"
48008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48009 break 2
48010 fi
48011 done
48012 done
48013 IFS=$as_save_IFS
48014
48015 fi
48016 fi
48017 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48018 if test -n "$ac_ct_NM"; then
48019 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48020 echo "${ECHO_T}$ac_ct_NM" >&6; }
48021 else
48022 { echo "$as_me:$LINENO: result: no" >&5
48023 echo "${ECHO_T}no" >&6; }
48024 fi
48025
48026 if test "x$ac_ct_NM" = x; then
48027 NM=":"
48028 else
48029 case $cross_compiling:$ac_tool_warned in
48030 yes:)
48031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48032 whose name does not start with the host triplet. If you think this
48033 configuration is useful to you, please write to autoconf@gnu.org." >&5
48034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48035 whose name does not start with the host triplet. If you think this
48036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48037 ac_tool_warned=yes ;;
48038 esac
48039 NM=$ac_ct_NM
48040 fi
48041 else
48042 NM="$ac_cv_prog_NM"
48043 fi
48044
48045
48046 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48047 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48048 INSTALL_TEST_DIR=acbftest$$
48049 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48050 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48051 rmdir $INSTALL_TEST_DIR
48052 INSTALL_DIR='$(INSTALL) -d'
48053 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48054 echo "${ECHO_T}$INSTALL -d" >&6; }
48055 else
48056 INSTALL_DIR="mkdir -p"
48057 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48058 echo "${ECHO_T}mkdir -p" >&6; }
48059 fi
48060
48061
48062 LDFLAGS_GUI=
48063 case ${BAKEFILE_HOST} in
48064 *-*-cygwin* | *-*-mingw32* )
48065 LDFLAGS_GUI="-mwindows"
48066 esac
48067
48068
48069 fi
48070
48071 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48072 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48073 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48074 echo $ECHO_N "(cached) $ECHO_C" >&6
48075 else
48076
48077 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48078 egrep -s GNU > /dev/null); then
48079 bakefile_cv_prog_makeisgnu="yes"
48080 else
48081 bakefile_cv_prog_makeisgnu="no"
48082 fi
48083
48084 fi
48085 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48086 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48087
48088 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48089 IF_GNU_MAKE=""
48090 else
48091 IF_GNU_MAKE="#"
48092 fi
48093
48094
48095
48096 PLATFORM_UNIX=0
48097 PLATFORM_WIN32=0
48098 PLATFORM_MSDOS=0
48099 PLATFORM_MAC=0
48100 PLATFORM_MACOS=0
48101 PLATFORM_MACOSX=0
48102 PLATFORM_OS2=0
48103 PLATFORM_BEOS=0
48104
48105 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48106 case "${BAKEFILE_HOST}" in
48107 *-*-mingw32* )
48108 PLATFORM_WIN32=1
48109 ;;
48110 *-pc-msdosdjgpp )
48111 PLATFORM_MSDOS=1
48112 ;;
48113 *-pc-os2_emx | *-pc-os2-emx )
48114 PLATFORM_OS2=1
48115 ;;
48116 *-*-darwin* )
48117 PLATFORM_MAC=1
48118 PLATFORM_MACOSX=1
48119 ;;
48120 *-*-beos* )
48121 PLATFORM_BEOS=1
48122 ;;
48123 powerpc-apple-macos* )
48124 PLATFORM_MAC=1
48125 PLATFORM_MACOS=1
48126 ;;
48127 * )
48128 PLATFORM_UNIX=1
48129 ;;
48130 esac
48131 else
48132 case "$BAKEFILE_FORCE_PLATFORM" in
48133 win32 )
48134 PLATFORM_WIN32=1
48135 ;;
48136 msdos )
48137 PLATFORM_MSDOS=1
48138 ;;
48139 os2 )
48140 PLATFORM_OS2=1
48141 ;;
48142 darwin )
48143 PLATFORM_MAC=1
48144 PLATFORM_MACOSX=1
48145 ;;
48146 unix )
48147 PLATFORM_UNIX=1
48148 ;;
48149 beos )
48150 PLATFORM_BEOS=1
48151 ;;
48152 * )
48153 ;;
48154 esac
48155 fi
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167 # Check whether --enable-omf was given.
48168 if test "${enable_omf+set}" = set; then
48169 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48170 fi
48171
48172
48173 case "${BAKEFILE_HOST}" in
48174 *-*-darwin* )
48175 if test "x$GCC" = "xyes"; then
48176 CFLAGS="$CFLAGS -fno-common"
48177 CXXFLAGS="$CXXFLAGS -fno-common"
48178 fi
48179 if test "x$XLCC" = "xyes"; then
48180 CFLAGS="$CFLAGS -qnocommon"
48181 CXXFLAGS="$CXXFLAGS -qnocommon"
48182 fi
48183 ;;
48184
48185 *-pc-os2_emx | *-pc-os2-emx )
48186 if test "x$bk_os2_use_omf" = "xyes" ; then
48187 AR=emxomfar
48188 RANLIB=:
48189 LDFLAGS="-Zomf $LDFLAGS"
48190 CFLAGS="-Zomf $CFLAGS"
48191 CXXFLAGS="-Zomf $CXXFLAGS"
48192 OS2_LIBEXT="lib"
48193 else
48194 OS2_LIBEXT="a"
48195 fi
48196 ;;
48197
48198 i*86-*-beos* )
48199 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48200 ;;
48201 esac
48202
48203
48204 SO_SUFFIX="so"
48205 SO_SUFFIX_MODULE="so"
48206 EXEEXT=""
48207 LIBPREFIX="lib"
48208 LIBEXT=".a"
48209 DLLPREFIX="lib"
48210 DLLPREFIX_MODULE=""
48211 DLLIMP_SUFFIX=""
48212 dlldir="$libdir"
48213
48214 case "${BAKEFILE_HOST}" in
48215 ia64-hp-hpux* )
48216 ;;
48217 *-hp-hpux* )
48218 SO_SUFFIX="sl"
48219 SO_SUFFIX_MODULE="sl"
48220 ;;
48221 *-*-aix* )
48222 SO_SUFFIX="a"
48223 SO_SUFFIX_MODULE="a"
48224 ;;
48225 *-*-cygwin* )
48226 SO_SUFFIX="dll"
48227 SO_SUFFIX_MODULE="dll"
48228 DLLIMP_SUFFIX="dll.a"
48229 EXEEXT=".exe"
48230 DLLPREFIX="cyg"
48231 dlldir="$bindir"
48232 ;;
48233 *-*-mingw32* )
48234 SO_SUFFIX="dll"
48235 SO_SUFFIX_MODULE="dll"
48236 DLLIMP_SUFFIX="dll.a"
48237 EXEEXT=".exe"
48238 DLLPREFIX=""
48239 dlldir="$bindir"
48240 ;;
48241 *-pc-msdosdjgpp )
48242 EXEEXT=".exe"
48243 DLLPREFIX=""
48244 dlldir="$bindir"
48245 ;;
48246 *-pc-os2_emx | *-pc-os2-emx )
48247 SO_SUFFIX="dll"
48248 SO_SUFFIX_MODULE="dll"
48249 DLLIMP_SUFFIX=$OS2_LIBEXT
48250 EXEEXT=".exe"
48251 DLLPREFIX=""
48252 LIBPREFIX=""
48253 LIBEXT=".$OS2_LIBEXT"
48254 dlldir="$bindir"
48255 ;;
48256 *-*-darwin* )
48257 SO_SUFFIX="dylib"
48258 SO_SUFFIX_MODULE="bundle"
48259 ;;
48260 esac
48261
48262 if test "x$DLLIMP_SUFFIX" = "x" ; then
48263 DLLIMP_SUFFIX="$SO_SUFFIX"
48264 fi
48265
48266
48267
48268
48269
48270
48271
48272
48273
48274
48275
48276
48277 PIC_FLAG=""
48278 if test "x$GCC" = "xyes"; then
48279 PIC_FLAG="-fPIC"
48280 fi
48281
48282 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48283 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48284 WINDOWS_IMPLIB=0
48285
48286 case "${BAKEFILE_HOST}" in
48287 *-hp-hpux* )
48288 if test "x$GCC" != "xyes"; then
48289 LDFLAGS="$LDFLAGS -L/usr/lib"
48290
48291 SHARED_LD_CC="${CC} -b -o"
48292 SHARED_LD_CXX="${CXX} -b -o"
48293 PIC_FLAG="+Z"
48294 fi
48295 ;;
48296
48297 *-*-linux* )
48298 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48299 PIC_FLAG="-KPIC"
48300 elif test "x$SUNCXX" = "xyes"; then
48301 SHARED_LD_CC="${CC} -G -o"
48302 SHARED_LD_CXX="${CXX} -G -o"
48303 PIC_FLAG="-KPIC"
48304 fi
48305 ;;
48306
48307 *-*-solaris2* )
48308 if test "x$SUNCXX" = xyes ; then
48309 SHARED_LD_CC="${CC} -G -o"
48310 SHARED_LD_CXX="${CXX} -G -o"
48311 PIC_FLAG="-KPIC"
48312 fi
48313 ;;
48314
48315 *-*-darwin* )
48316
48317 D='$'
48318 cat <<EOF >shared-ld-sh
48319 #!/bin/sh
48320 #-----------------------------------------------------------------------------
48321 #-- Name: distrib/mac/shared-ld-sh
48322 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48323 #-- Author: Gilles Depeyrot
48324 #-- Copyright: (c) 2002 Gilles Depeyrot
48325 #-- Licence: any use permitted
48326 #-----------------------------------------------------------------------------
48327
48328 verbose=0
48329 args=""
48330 objects=""
48331 linking_flag="-dynamiclib"
48332 ldargs="-r -keep_private_externs -nostdlib"
48333
48334 if test "x${D}CXX" = "x"; then
48335 CXX="c++"
48336 fi
48337
48338 while test ${D}# -gt 0; do
48339 case ${D}1 in
48340
48341 -v)
48342 verbose=1
48343 ;;
48344
48345 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48346 # collect these options and values
48347 args="${D}{args} ${D}1 ${D}2"
48348 shift
48349 ;;
48350
48351 -arch|-isysroot)
48352 # collect these options and values
48353 ldargs="${D}{ldargs} ${D}1 ${D}2"
48354 shift
48355 ;;
48356
48357 -s|-Wl,*)
48358 # collect these load args
48359 ldargs="${D}{ldargs} ${D}1"
48360 ;;
48361
48362 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48363 # collect these options
48364 args="${D}{args} ${D}1"
48365 ;;
48366
48367 -dynamiclib|-bundle)
48368 linking_flag="${D}1"
48369 ;;
48370
48371 -*)
48372 echo "shared-ld: unhandled option '${D}1'"
48373 exit 1
48374 ;;
48375
48376 *.o | *.a | *.dylib)
48377 # collect object files
48378 objects="${D}{objects} ${D}1"
48379 ;;
48380
48381 *)
48382 echo "shared-ld: unhandled argument '${D}1'"
48383 exit 1
48384 ;;
48385
48386 esac
48387 shift
48388 done
48389
48390 status=0
48391
48392 #
48393 # Link one module containing all the others
48394 #
48395 if test ${D}{verbose} = 1; then
48396 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48397 fi
48398 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48399 status=${D}?
48400
48401 #
48402 # Link the shared library from the single module created, but only if the
48403 # previous command didn't fail:
48404 #
48405 if test ${D}{status} = 0; then
48406 if test ${D}{verbose} = 1; then
48407 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48408 fi
48409 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48410 status=${D}?
48411 fi
48412
48413 #
48414 # Remove intermediate module
48415 #
48416 rm -f master.${D}${D}.o
48417
48418 exit ${D}status
48419 EOF
48420
48421 chmod +x shared-ld-sh
48422
48423 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48424 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48425
48426
48427 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48428 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48429 if test "${bakefile_cv_gcc31+set}" = set; then
48430 echo $ECHO_N "(cached) $ECHO_C" >&6
48431 else
48432
48433 cat >conftest.$ac_ext <<_ACEOF
48434 /* confdefs.h. */
48435 _ACEOF
48436 cat confdefs.h >>conftest.$ac_ext
48437 cat >>conftest.$ac_ext <<_ACEOF
48438 /* end confdefs.h. */
48439
48440 int
48441 main ()
48442 {
48443
48444 #if (__GNUC__ < 3) || \
48445 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48446 This is old gcc
48447 #endif
48448
48449 ;
48450 return 0;
48451 }
48452 _ACEOF
48453 rm -f conftest.$ac_objext
48454 if { (ac_try="$ac_compile"
48455 case "(($ac_try" in
48456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48457 *) ac_try_echo=$ac_try;;
48458 esac
48459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48460 (eval "$ac_compile") 2>conftest.er1
48461 ac_status=$?
48462 grep -v '^ *+' conftest.er1 >conftest.err
48463 rm -f conftest.er1
48464 cat conftest.err >&5
48465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48466 (exit $ac_status); } && {
48467 test -z "$ac_c_werror_flag" ||
48468 test ! -s conftest.err
48469 } && test -s conftest.$ac_objext; then
48470
48471 bakefile_cv_gcc31=yes
48472
48473 else
48474 echo "$as_me: failed program was:" >&5
48475 sed 's/^/| /' conftest.$ac_ext >&5
48476
48477
48478 bakefile_cv_gcc31=no
48479
48480
48481 fi
48482
48483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48484
48485 fi
48486 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48487 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48488 if test "$bakefile_cv_gcc31" = "no"; then
48489 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48490 SHARED_LD_CXX="$SHARED_LD_CC"
48491 else
48492 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48493 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48494 fi
48495
48496 if test "x$GCC" == "xyes"; then
48497 PIC_FLAG="-dynamic -fPIC"
48498 fi
48499 if test "x$XLCC" = "xyes"; then
48500 PIC_FLAG="-dynamic -DPIC"
48501 fi
48502 ;;
48503
48504 *-*-aix* )
48505 if test "x$GCC" = "xyes"; then
48506 PIC_FLAG=""
48507
48508 case "${BAKEFILE_HOST}" in
48509 *-*-aix5* )
48510 LD_EXPFULL="-Wl,-bexpfull"
48511 ;;
48512 esac
48513
48514 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48515 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48516 else
48517 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48518 set dummy makeC++SharedLib; ac_word=$2
48519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48521 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48522 echo $ECHO_N "(cached) $ECHO_C" >&6
48523 else
48524 if test -n "$AIX_CXX_LD"; then
48525 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48526 else
48527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48528 for as_dir in $PATH
48529 do
48530 IFS=$as_save_IFS
48531 test -z "$as_dir" && as_dir=.
48532 for ac_exec_ext in '' $ac_executable_extensions; do
48533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48534 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48536 break 2
48537 fi
48538 done
48539 done
48540 IFS=$as_save_IFS
48541
48542 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48543 fi
48544 fi
48545 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48546 if test -n "$AIX_CXX_LD"; then
48547 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48548 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48549 else
48550 { echo "$as_me:$LINENO: result: no" >&5
48551 echo "${ECHO_T}no" >&6; }
48552 fi
48553
48554
48555 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48556 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48557 fi
48558 ;;
48559
48560 *-*-beos* )
48561 SHARED_LD_CC="${LD} -nostart -o"
48562 SHARED_LD_CXX="${LD} -nostart -o"
48563 ;;
48564
48565 *-*-irix* )
48566 if test "x$GCC" != "xyes"; then
48567 PIC_FLAG="-KPIC"
48568 fi
48569 ;;
48570
48571 *-*-cygwin* | *-*-mingw32* )
48572 PIC_FLAG=""
48573 SHARED_LD_CC="\$(CC) -shared -o"
48574 SHARED_LD_CXX="\$(CXX) -shared -o"
48575 WINDOWS_IMPLIB=1
48576 ;;
48577
48578 *-pc-os2_emx | *-pc-os2-emx )
48579 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48580 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48581 PIC_FLAG=""
48582
48583 D='$'
48584 cat <<EOF >dllar.sh
48585 #!/bin/sh
48586 #
48587 # dllar - a tool to build both a .dll and an .a file
48588 # from a set of object (.o) files for EMX/OS2.
48589 #
48590 # Written by Andrew Zabolotny, bit@freya.etu.ru
48591 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48592 #
48593 # This script will accept a set of files on the command line.
48594 # All the public symbols from the .o files will be exported into
48595 # a .DEF file, then linker will be run (through gcc) against them to
48596 # build a shared library consisting of all given .o files. All libraries
48597 # (.a) will be first decompressed into component .o files then act as
48598 # described above. You can optionally give a description (-d "description")
48599 # which will be put into .DLL. To see the list of accepted options (as well
48600 # as command-line format) simply run this program without options. The .DLL
48601 # is built to be imported by name (there is no guarantee that new versions
48602 # of the library you build will have same ordinals for same symbols).
48603 #
48604 # dllar is free software; you can redistribute it and/or modify
48605 # it under the terms of the GNU General Public License as published by
48606 # the Free Software Foundation; either version 2, or (at your option)
48607 # any later version.
48608 #
48609 # dllar is distributed in the hope that it will be useful,
48610 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48611 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48612 # GNU General Public License for more details.
48613 #
48614 # You should have received a copy of the GNU General Public License
48615 # along with dllar; see the file COPYING. If not, write to the Free
48616 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48617 # 02111-1307, USA.
48618
48619 # To successfuly run this program you will need:
48620 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48621 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48622 # - gcc
48623 # (used to build the .dll)
48624 # - emxexp
48625 # (used to create .def file from .o files)
48626 # - emximp
48627 # (used to create .a file from .def file)
48628 # - GNU text utilites (cat, sort, uniq)
48629 # used to process emxexp output
48630 # - GNU file utilities (mv, rm)
48631 # - GNU sed
48632 # - lxlite (optional, see flag below)
48633 # (used for general .dll cleanup)
48634 #
48635
48636 flag_USE_LXLITE=1;
48637
48638 #
48639 # helper functions
48640 # basnam, variant of basename, which does _not_ remove the path, _iff_
48641 # second argument (suffix to remove) is given
48642 basnam(){
48643 case ${D}# in
48644 1)
48645 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48646 ;;
48647 2)
48648 echo ${D}1 | sed 's/'${D}2'${D}//'
48649 ;;
48650 *)
48651 echo "error in basnam ${D}*"
48652 exit 8
48653 ;;
48654 esac
48655 }
48656
48657 # Cleanup temporary files and output
48658 CleanUp() {
48659 cd ${D}curDir
48660 for i in ${D}inputFiles ; do
48661 case ${D}i in
48662 *!)
48663 rm -rf \`basnam ${D}i !\`
48664 ;;
48665 *)
48666 ;;
48667 esac
48668 done
48669
48670 # Kill result in case of failure as there is just to many stupid make/nmake
48671 # things out there which doesn't do this.
48672 if [ ${D}# -eq 0 ]; then
48673 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48674 fi
48675 }
48676
48677 # Print usage and exit script with rc=1.
48678 PrintHelp() {
48679 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48680 echo ' [-name-mangler-script script.sh]'
48681 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48682 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48683 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48684 echo ' [*.o] [*.a]'
48685 echo '*> "output_file" should have no extension.'
48686 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48687 echo ' The import library name is derived from this and is set to "name".a,'
48688 echo ' unless overridden by -import'
48689 echo '*> "importlib_name" should have no extension.'
48690 echo ' If it has the .o, or .a extension, it is automatically removed.'
48691 echo ' This name is used as the import library name and may be longer and'
48692 echo ' more descriptive than the DLL name which has to follow the old '
48693 echo ' 8.3 convention of FAT.'
48694 echo '*> "script.sh may be given to override the output_file name by a'
48695 echo ' different name. It is mainly useful if the regular make process'
48696 echo ' of some package does not take into account OS/2 restriction of'
48697 echo ' DLL name lengths. It takes the importlib name as input and is'
48698 echo ' supposed to procude a shorter name as output. The script should'
48699 echo ' expect to get importlib_name without extension and should produce'
48700 echo ' a (max.) 8 letter name without extension.'
48701 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48702 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48703 echo ' These flags will be put at the start of GCC command line.'
48704 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48705 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48706 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48707 echo ' If the last character of a symbol is "*", all symbols beginning'
48708 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48709 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48710 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48711 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48712 echo ' C runtime DLLs.'
48713 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48714 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48715 echo ' unchanged to GCC at the end of command line.'
48716 echo '*> If you create a DLL from a library and you do not specify -o,'
48717 echo ' the basename for DLL and import library will be set to library name,'
48718 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48719 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48720 echo ' library will be renamed into gcc_s.a.'
48721 echo '--------'
48722 echo 'Example:'
48723 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48724 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48725 CleanUp
48726 exit 1
48727 }
48728
48729 # Execute a command.
48730 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48731 # @Uses Whatever CleanUp() uses.
48732 doCommand() {
48733 echo "${D}*"
48734 eval ${D}*
48735 rcCmd=${D}?
48736
48737 if [ ${D}rcCmd -ne 0 ]; then
48738 echo "command failed, exit code="${D}rcCmd
48739 CleanUp
48740 exit ${D}rcCmd
48741 fi
48742 }
48743
48744 # main routine
48745 # setup globals
48746 cmdLine=${D}*
48747 outFile=""
48748 outimpFile=""
48749 inputFiles=""
48750 renameScript=""
48751 description=""
48752 CC=gcc.exe
48753 CFLAGS="-s -Zcrtdll"
48754 EXTRA_CFLAGS=""
48755 EXPORT_BY_ORDINALS=0
48756 exclude_symbols=""
48757 library_flags=""
48758 curDir=\`pwd\`
48759 curDirS=curDir
48760 case ${D}curDirS in
48761 */)
48762 ;;
48763 *)
48764 curDirS=${D}{curDirS}"/"
48765 ;;
48766 esac
48767 # Parse commandline
48768 libsToLink=0
48769 omfLinking=0
48770 while [ ${D}1 ]; do
48771 case ${D}1 in
48772 -ord*)
48773 EXPORT_BY_ORDINALS=1;
48774 ;;
48775 -o*)
48776 shift
48777 outFile=${D}1
48778 ;;
48779 -i*)
48780 shift
48781 outimpFile=${D}1
48782 ;;
48783 -name-mangler-script)
48784 shift
48785 renameScript=${D}1
48786 ;;
48787 -d*)
48788 shift
48789 description=${D}1
48790 ;;
48791 -f*)
48792 shift
48793 CFLAGS=${D}1
48794 ;;
48795 -c*)
48796 shift
48797 CC=${D}1
48798 ;;
48799 -h*)
48800 PrintHelp
48801 ;;
48802 -ex*)
48803 shift
48804 exclude_symbols=${D}{exclude_symbols}${D}1" "
48805 ;;
48806 -libf*)
48807 shift
48808 library_flags=${D}{library_flags}${D}1" "
48809 ;;
48810 -nocrt*)
48811 CFLAGS="-s"
48812 ;;
48813 -nolxl*)
48814 flag_USE_LXLITE=0
48815 ;;
48816 -* | /*)
48817 case ${D}1 in
48818 -L* | -l*)
48819 libsToLink=1
48820 ;;
48821 -Zomf)
48822 omfLinking=1
48823 ;;
48824 *)
48825 ;;
48826 esac
48827 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48828 ;;
48829 *.dll)
48830 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48831 if [ ${D}omfLinking -eq 1 ]; then
48832 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48833 else
48834 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48835 fi
48836 ;;
48837 *)
48838 found=0;
48839 if [ ${D}libsToLink -ne 0 ]; then
48840 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48841 else
48842 for file in ${D}1 ; do
48843 if [ -f ${D}file ]; then
48844 inputFiles="${D}{inputFiles} ${D}file"
48845 found=1
48846 fi
48847 done
48848 if [ ${D}found -eq 0 ]; then
48849 echo "ERROR: No file(s) found: "${D}1
48850 exit 8
48851 fi
48852 fi
48853 ;;
48854 esac
48855 shift
48856 done # iterate cmdline words
48857
48858 #
48859 if [ -z "${D}inputFiles" ]; then
48860 echo "dllar: no input files"
48861 PrintHelp
48862 fi
48863
48864 # Now extract all .o files from .a files
48865 newInputFiles=""
48866 for file in ${D}inputFiles ; do
48867 case ${D}file in
48868 *.a | *.lib)
48869 case ${D}file in
48870 *.a)
48871 suffix=".a"
48872 AR="ar"
48873 ;;
48874 *.lib)
48875 suffix=".lib"
48876 AR="emxomfar"
48877 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48878 ;;
48879 *)
48880 ;;
48881 esac
48882 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48883 mkdir ${D}dirname
48884 if [ ${D}? -ne 0 ]; then
48885 echo "Failed to create subdirectory ./${D}dirname"
48886 CleanUp
48887 exit 8;
48888 fi
48889 # Append '!' to indicate archive
48890 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48891 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48892 cd ${D}curDir
48893 found=0;
48894 for subfile in ${D}dirname/*.o* ; do
48895 if [ -f ${D}subfile ]; then
48896 found=1
48897 if [ -s ${D}subfile ]; then
48898 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48899 newInputFiles="${D}newInputFiles ${D}subfile"
48900 fi
48901 fi
48902 done
48903 if [ ${D}found -eq 0 ]; then
48904 echo "WARNING: there are no files in archive \\'${D}file\\'"
48905 fi
48906 ;;
48907 *)
48908 newInputFiles="${D}{newInputFiles} ${D}file"
48909 ;;
48910 esac
48911 done
48912 inputFiles="${D}newInputFiles"
48913
48914 # Output filename(s).
48915 do_backup=0;
48916 if [ -z ${D}outFile ]; then
48917 do_backup=1;
48918 set outFile ${D}inputFiles; outFile=${D}2
48919 fi
48920
48921 # If it is an archive, remove the '!' and the '_%' suffixes
48922 case ${D}outFile in
48923 *_%!)
48924 outFile=\`basnam ${D}outFile _%!\`
48925 ;;
48926 *)
48927 ;;
48928 esac
48929 case ${D}outFile in
48930 *.dll)
48931 outFile=\`basnam ${D}outFile .dll\`
48932 ;;
48933 *.DLL)
48934 outFile=\`basnam ${D}outFile .DLL\`
48935 ;;
48936 *.o)
48937 outFile=\`basnam ${D}outFile .o\`
48938 ;;
48939 *.obj)
48940 outFile=\`basnam ${D}outFile .obj\`
48941 ;;
48942 *.a)
48943 outFile=\`basnam ${D}outFile .a\`
48944 ;;
48945 *.lib)
48946 outFile=\`basnam ${D}outFile .lib\`
48947 ;;
48948 *)
48949 ;;
48950 esac
48951 case ${D}outimpFile in
48952 *.a)
48953 outimpFile=\`basnam ${D}outimpFile .a\`
48954 ;;
48955 *.lib)
48956 outimpFile=\`basnam ${D}outimpFile .lib\`
48957 ;;
48958 *)
48959 ;;
48960 esac
48961 if [ -z ${D}outimpFile ]; then
48962 outimpFile=${D}outFile
48963 fi
48964 defFile="${D}{outFile}.def"
48965 arcFile="${D}{outimpFile}.a"
48966 arcFile2="${D}{outimpFile}.lib"
48967
48968 #create ${D}dllFile as something matching 8.3 restrictions,
48969 if [ -z ${D}renameScript ] ; then
48970 dllFile="${D}outFile"
48971 else
48972 dllFile=\`${D}renameScript ${D}outimpFile\`
48973 fi
48974
48975 if [ ${D}do_backup -ne 0 ] ; then
48976 if [ -f ${D}arcFile ] ; then
48977 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48978 fi
48979 if [ -f ${D}arcFile2 ] ; then
48980 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48981 fi
48982 fi
48983
48984 # Extract public symbols from all the object files.
48985 tmpdefFile=${D}{defFile}_%
48986 rm -f ${D}tmpdefFile
48987 for file in ${D}inputFiles ; do
48988 case ${D}file in
48989 *!)
48990 ;;
48991 *)
48992 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48993 ;;
48994 esac
48995 done
48996
48997 # Create the def file.
48998 rm -f ${D}defFile
48999 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49000 dllFile="${D}{dllFile}.dll"
49001 if [ ! -z ${D}description ]; then
49002 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49003 fi
49004 echo "EXPORTS" >> ${D}defFile
49005
49006 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49007 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49008
49009 # Checks if the export is ok or not.
49010 for word in ${D}exclude_symbols; do
49011 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49012 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49013 done
49014
49015
49016 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49017 sed "=" < ${D}tmpdefFile | \\
49018 sed '
49019 N
49020 : loop
49021 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49022 t loop
49023 ' > ${D}{tmpdefFile}%
49024 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49025 else
49026 rm -f ${D}{tmpdefFile}%
49027 fi
49028 cat ${D}tmpdefFile >> ${D}defFile
49029 rm -f ${D}tmpdefFile
49030
49031 # Do linking, create implib, and apply lxlite.
49032 gccCmdl="";
49033 for file in ${D}inputFiles ; do
49034 case ${D}file in
49035 *!)
49036 ;;
49037 *)
49038 gccCmdl="${D}gccCmdl ${D}file"
49039 ;;
49040 esac
49041 done
49042 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49043 touch "${D}{outFile}.dll"
49044
49045 doCommand "emximp -o ${D}arcFile ${D}defFile"
49046 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49047 add_flags="";
49048 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49049 add_flags="-ynd"
49050 fi
49051 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49052 fi
49053 doCommand "emxomf -s -l ${D}arcFile"
49054
49055 # Successful exit.
49056 CleanUp 1
49057 exit 0
49058 EOF
49059
49060 chmod +x dllar.sh
49061 ;;
49062
49063 powerpc-apple-macos* | \
49064 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49065 *-*-mirbsd* | \
49066 *-*-sunos4* | \
49067 *-*-osf* | \
49068 *-*-dgux5* | \
49069 *-*-sysv5* | \
49070 *-pc-msdosdjgpp )
49071 ;;
49072
49073 *)
49074 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49075 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49076 { (exit 1); exit 1; }; }
49077 esac
49078
49079 if test "x$PIC_FLAG" != "x" ; then
49080 PIC_FLAG="$PIC_FLAG -DPIC"
49081 fi
49082
49083 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49084 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49085 fi
49086 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49087 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49088 fi
49089
49090
49091
49092
49093
49094
49095
49096
49097
49098 USE_SOVERSION=0
49099 USE_SOVERLINUX=0
49100 USE_SOVERSOLARIS=0
49101 USE_SOVERCYGWIN=0
49102 USE_SOSYMLINKS=0
49103 USE_MACVERSION=0
49104 SONAME_FLAG=
49105
49106 case "${BAKEFILE_HOST}" in
49107 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49108 *-*-k*bsd*-gnu | *-*-mirbsd* )
49109 if test "x$SUNCXX" = "xyes"; then
49110 SONAME_FLAG="-h "
49111 else
49112 SONAME_FLAG="-Wl,-soname,"
49113 fi
49114 USE_SOVERSION=1
49115 USE_SOVERLINUX=1
49116 USE_SOSYMLINKS=1
49117 ;;
49118
49119 *-*-solaris2* )
49120 SONAME_FLAG="-h "
49121 USE_SOVERSION=1
49122 USE_SOVERSOLARIS=1
49123 USE_SOSYMLINKS=1
49124 ;;
49125
49126 *-*-darwin* )
49127 USE_MACVERSION=1
49128 USE_SOVERSION=1
49129 USE_SOSYMLINKS=1
49130 ;;
49131
49132 *-*-cygwin* )
49133 USE_SOVERSION=1
49134 USE_SOVERCYGWIN=1
49135 ;;
49136 esac
49137
49138
49139
49140
49141
49142
49143
49144
49145
49146
49147 # Check whether --enable-dependency-tracking was given.
49148 if test "${enable_dependency_tracking+set}" = set; then
49149 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49150 fi
49151
49152
49153 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49154 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49155
49156 BK_DEPS=""
49157 if test "x$bk_use_trackdeps" = "xno" ; then
49158 DEPS_TRACKING=0
49159 { echo "$as_me:$LINENO: result: disabled" >&5
49160 echo "${ECHO_T}disabled" >&6; }
49161 else
49162 DEPS_TRACKING=1
49163
49164 if test "x$GCC" = "xyes"; then
49165 DEPSMODE=gcc
49166 case "${BAKEFILE_HOST}" in
49167 *-*-darwin* )
49168 DEPSFLAG="-no-cpp-precomp -MMD"
49169 ;;
49170 * )
49171 DEPSFLAG="-MMD"
49172 ;;
49173 esac
49174 { echo "$as_me:$LINENO: result: gcc" >&5
49175 echo "${ECHO_T}gcc" >&6; }
49176 elif test "x$MWCC" = "xyes"; then
49177 DEPSMODE=mwcc
49178 DEPSFLAG="-MM"
49179 { echo "$as_me:$LINENO: result: mwcc" >&5
49180 echo "${ECHO_T}mwcc" >&6; }
49181 elif test "x$SUNCC" = "xyes"; then
49182 DEPSMODE=unixcc
49183 DEPSFLAG="-xM1"
49184 { echo "$as_me:$LINENO: result: Sun cc" >&5
49185 echo "${ECHO_T}Sun cc" >&6; }
49186 elif test "x$SGICC" = "xyes"; then
49187 DEPSMODE=unixcc
49188 DEPSFLAG="-M"
49189 { echo "$as_me:$LINENO: result: SGI cc" >&5
49190 echo "${ECHO_T}SGI cc" >&6; }
49191 elif test "x$HPCC" = "xyes"; then
49192 DEPSMODE=unixcc
49193 DEPSFLAG="+make"
49194 { echo "$as_me:$LINENO: result: HP cc" >&5
49195 echo "${ECHO_T}HP cc" >&6; }
49196 elif test "x$COMPAQCC" = "xyes"; then
49197 DEPSMODE=gcc
49198 DEPSFLAG="-MD"
49199 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49200 echo "${ECHO_T}Compaq cc" >&6; }
49201 else
49202 DEPS_TRACKING=0
49203 { echo "$as_me:$LINENO: result: none" >&5
49204 echo "${ECHO_T}none" >&6; }
49205 fi
49206
49207 if test $DEPS_TRACKING = 1 ; then
49208
49209 D='$'
49210 cat <<EOF >bk-deps
49211 #!/bin/sh
49212
49213 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49214 # script. It is used to track C/C++ files dependencies in portable way.
49215 #
49216 # Permission is given to use this file in any way.
49217
49218 DEPSMODE=${DEPSMODE}
49219 DEPSFLAG="${DEPSFLAG}"
49220 DEPSDIRBASE=.deps
49221
49222 if test ${D}DEPSMODE = gcc ; then
49223 ${D}* ${D}{DEPSFLAG}
49224 status=${D}?
49225
49226 # determine location of created files:
49227 while test ${D}# -gt 0; do
49228 case "${D}1" in
49229 -o )
49230 shift
49231 objfile=${D}1
49232 ;;
49233 -* )
49234 ;;
49235 * )
49236 srcfile=${D}1
49237 ;;
49238 esac
49239 shift
49240 done
49241 objfilebase=\`basename ${D}objfile\`
49242 builddir=\`dirname ${D}objfile\`
49243 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49244 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49245 depsdir=${D}builddir/${D}DEPSDIRBASE
49246 mkdir -p ${D}depsdir
49247
49248 # if the compiler failed, we're done:
49249 if test ${D}{status} != 0 ; then
49250 rm -f ${D}depfile
49251 exit ${D}{status}
49252 fi
49253
49254 # move created file to the location we want it in:
49255 if test -f ${D}depfile ; then
49256 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49257 rm -f ${D}depfile
49258 else
49259 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49260 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49261 if test ! -f ${D}depfile ; then
49262 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49263 depfile="${D}objfile.d"
49264 fi
49265 if test -f ${D}depfile ; then
49266 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49267 rm -f ${D}depfile
49268 fi
49269 fi
49270 exit 0
49271
49272 elif test ${D}DEPSMODE = mwcc ; then
49273 ${D}* || exit ${D}?
49274 # Run mwcc again with -MM and redirect into the dep file we want
49275 # NOTE: We can't use shift here because we need ${D}* to be valid
49276 prevarg=
49277 for arg in ${D}* ; do
49278 if test "${D}prevarg" = "-o"; then
49279 objfile=${D}arg
49280 else
49281 case "${D}arg" in
49282 -* )
49283 ;;
49284 * )
49285 srcfile=${D}arg
49286 ;;
49287 esac
49288 fi
49289 prevarg="${D}arg"
49290 done
49291
49292 objfilebase=\`basename ${D}objfile\`
49293 builddir=\`dirname ${D}objfile\`
49294 depsdir=${D}builddir/${D}DEPSDIRBASE
49295 mkdir -p ${D}depsdir
49296
49297 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49298 exit 0
49299
49300 elif test ${D}DEPSMODE = unixcc; then
49301 ${D}* || exit ${D}?
49302 # Run compiler again with deps flag and redirect into the dep file.
49303 # It doesn't work if the '-o FILE' option is used, but without it the
49304 # dependency file will contain the wrong name for the object. So it is
49305 # removed from the command line, and the dep file is fixed with sed.
49306 cmd=""
49307 while test ${D}# -gt 0; do
49308 case "${D}1" in
49309 -o )
49310 shift
49311 objfile=${D}1
49312 ;;
49313 * )
49314 eval arg${D}#=\\${D}1
49315 cmd="${D}cmd \\${D}arg${D}#"
49316 ;;
49317 esac
49318 shift
49319 done
49320
49321 objfilebase=\`basename ${D}objfile\`
49322 builddir=\`dirname ${D}objfile\`
49323 depsdir=${D}builddir/${D}DEPSDIRBASE
49324 mkdir -p ${D}depsdir
49325
49326 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49327 exit 0
49328
49329 else
49330 ${D}*
49331 exit ${D}?
49332 fi
49333 EOF
49334
49335 chmod +x bk-deps
49336 BK_DEPS="`pwd`/bk-deps"
49337 fi
49338 fi
49339
49340
49341
49342
49343
49344 case ${BAKEFILE_HOST} in
49345 *-*-cygwin* | *-*-mingw32* )
49346 if test -n "$ac_tool_prefix"; then
49347 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49348 set dummy ${ac_tool_prefix}windres; ac_word=$2
49349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49351 if test "${ac_cv_prog_WINDRES+set}" = set; then
49352 echo $ECHO_N "(cached) $ECHO_C" >&6
49353 else
49354 if test -n "$WINDRES"; then
49355 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49356 else
49357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49358 for as_dir in $PATH
49359 do
49360 IFS=$as_save_IFS
49361 test -z "$as_dir" && as_dir=.
49362 for ac_exec_ext in '' $ac_executable_extensions; do
49363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49364 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49366 break 2
49367 fi
49368 done
49369 done
49370 IFS=$as_save_IFS
49371
49372 fi
49373 fi
49374 WINDRES=$ac_cv_prog_WINDRES
49375 if test -n "$WINDRES"; then
49376 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49377 echo "${ECHO_T}$WINDRES" >&6; }
49378 else
49379 { echo "$as_me:$LINENO: result: no" >&5
49380 echo "${ECHO_T}no" >&6; }
49381 fi
49382
49383
49384 fi
49385 if test -z "$ac_cv_prog_WINDRES"; then
49386 ac_ct_WINDRES=$WINDRES
49387 # Extract the first word of "windres", so it can be a program name with args.
49388 set dummy windres; ac_word=$2
49389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49391 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49392 echo $ECHO_N "(cached) $ECHO_C" >&6
49393 else
49394 if test -n "$ac_ct_WINDRES"; then
49395 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49396 else
49397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49398 for as_dir in $PATH
49399 do
49400 IFS=$as_save_IFS
49401 test -z "$as_dir" && as_dir=.
49402 for ac_exec_ext in '' $ac_executable_extensions; do
49403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49404 ac_cv_prog_ac_ct_WINDRES="windres"
49405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49406 break 2
49407 fi
49408 done
49409 done
49410 IFS=$as_save_IFS
49411
49412 fi
49413 fi
49414 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49415 if test -n "$ac_ct_WINDRES"; then
49416 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49417 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49418 else
49419 { echo "$as_me:$LINENO: result: no" >&5
49420 echo "${ECHO_T}no" >&6; }
49421 fi
49422
49423 if test "x$ac_ct_WINDRES" = x; then
49424 WINDRES=""
49425 else
49426 case $cross_compiling:$ac_tool_warned in
49427 yes:)
49428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49429 whose name does not start with the host triplet. If you think this
49430 configuration is useful to you, please write to autoconf@gnu.org." >&5
49431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49432 whose name does not start with the host triplet. If you think this
49433 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49434 ac_tool_warned=yes ;;
49435 esac
49436 WINDRES=$ac_ct_WINDRES
49437 fi
49438 else
49439 WINDRES="$ac_cv_prog_WINDRES"
49440 fi
49441
49442 ;;
49443
49444 *-*-darwin* | powerpc-apple-macos* )
49445 # Extract the first word of "Rez", so it can be a program name with args.
49446 set dummy Rez; ac_word=$2
49447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49449 if test "${ac_cv_prog_REZ+set}" = set; then
49450 echo $ECHO_N "(cached) $ECHO_C" >&6
49451 else
49452 if test -n "$REZ"; then
49453 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49454 else
49455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49456 for as_dir in $PATH
49457 do
49458 IFS=$as_save_IFS
49459 test -z "$as_dir" && as_dir=.
49460 for ac_exec_ext in '' $ac_executable_extensions; do
49461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49462 ac_cv_prog_REZ="Rez"
49463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49464 break 2
49465 fi
49466 done
49467 done
49468 IFS=$as_save_IFS
49469
49470 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49471 fi
49472 fi
49473 REZ=$ac_cv_prog_REZ
49474 if test -n "$REZ"; then
49475 { echo "$as_me:$LINENO: result: $REZ" >&5
49476 echo "${ECHO_T}$REZ" >&6; }
49477 else
49478 { echo "$as_me:$LINENO: result: no" >&5
49479 echo "${ECHO_T}no" >&6; }
49480 fi
49481
49482
49483 # Extract the first word of "SetFile", so it can be a program name with args.
49484 set dummy SetFile; ac_word=$2
49485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49487 if test "${ac_cv_prog_SETFILE+set}" = set; then
49488 echo $ECHO_N "(cached) $ECHO_C" >&6
49489 else
49490 if test -n "$SETFILE"; then
49491 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49492 else
49493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49494 for as_dir in $PATH
49495 do
49496 IFS=$as_save_IFS
49497 test -z "$as_dir" && as_dir=.
49498 for ac_exec_ext in '' $ac_executable_extensions; do
49499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49500 ac_cv_prog_SETFILE="SetFile"
49501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49502 break 2
49503 fi
49504 done
49505 done
49506 IFS=$as_save_IFS
49507
49508 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49509 fi
49510 fi
49511 SETFILE=$ac_cv_prog_SETFILE
49512 if test -n "$SETFILE"; then
49513 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49514 echo "${ECHO_T}$SETFILE" >&6; }
49515 else
49516 { echo "$as_me:$LINENO: result: no" >&5
49517 echo "${ECHO_T}no" >&6; }
49518 fi
49519
49520
49521 ;;
49522 esac
49523
49524
49525
49526
49527
49528
49529
49530
49531
49532 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49533
49534
49535 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49536
49537
49538
49539 # Check whether --enable-precomp-headers was given.
49540 if test "${enable_precomp_headers+set}" = set; then
49541 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49542 fi
49543
49544
49545 GCC_PCH=0
49546 ICC_PCH=0
49547 USE_PCH=0
49548 BK_MAKE_PCH=""
49549
49550 case ${BAKEFILE_HOST} in
49551 *-*-cygwin* )
49552 bk_use_pch="no"
49553 ;;
49554 esac
49555
49556 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49557 if test "x$GCC" = "xyes"; then
49558 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49559 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49560 cat >conftest.$ac_ext <<_ACEOF
49561 /* confdefs.h. */
49562 _ACEOF
49563 cat confdefs.h >>conftest.$ac_ext
49564 cat >>conftest.$ac_ext <<_ACEOF
49565 /* end confdefs.h. */
49566
49567 int
49568 main ()
49569 {
49570
49571 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49572 There is no PCH support
49573 #endif
49574 #if (__GNUC__ < 3)
49575 There is no PCH support
49576 #endif
49577 #if (__GNUC__ == 3) && \
49578 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49579 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49580 ( defined(__INTEL_COMPILER) )
49581 There is no PCH support
49582 #endif
49583
49584 ;
49585 return 0;
49586 }
49587 _ACEOF
49588 rm -f conftest.$ac_objext
49589 if { (ac_try="$ac_compile"
49590 case "(($ac_try" in
49591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49592 *) ac_try_echo=$ac_try;;
49593 esac
49594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49595 (eval "$ac_compile") 2>conftest.er1
49596 ac_status=$?
49597 grep -v '^ *+' conftest.er1 >conftest.err
49598 rm -f conftest.er1
49599 cat conftest.err >&5
49600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49601 (exit $ac_status); } && {
49602 test -z "$ac_c_werror_flag" ||
49603 test ! -s conftest.err
49604 } && test -s conftest.$ac_objext; then
49605
49606 { echo "$as_me:$LINENO: result: yes" >&5
49607 echo "${ECHO_T}yes" >&6; }
49608 GCC_PCH=1
49609
49610 else
49611 echo "$as_me: failed program was:" >&5
49612 sed 's/^/| /' conftest.$ac_ext >&5
49613
49614
49615 if test "$INTELCXX8" = "yes"; then
49616 { echo "$as_me:$LINENO: result: yes" >&5
49617 echo "${ECHO_T}yes" >&6; }
49618 ICC_PCH=1
49619 if test "$INTELCXX10" = "yes"; then
49620 ICC_PCH_CREATE_SWITCH="-pch-create"
49621 ICC_PCH_USE_SWITCH="-pch-use"
49622 else
49623 ICC_PCH_CREATE_SWITCH="-create-pch"
49624 ICC_PCH_USE_SWITCH="-use-pch"
49625 fi
49626 else
49627 { echo "$as_me:$LINENO: result: no" >&5
49628 echo "${ECHO_T}no" >&6; }
49629 fi
49630
49631 fi
49632
49633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49634 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49635 USE_PCH=1
49636
49637 D='$'
49638 cat <<EOF >bk-make-pch
49639 #!/bin/sh
49640
49641 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49642 # script. It is used to generated precompiled headers.
49643 #
49644 # Permission is given to use this file in any way.
49645
49646 outfile="${D}{1}"
49647 header="${D}{2}"
49648 shift
49649 shift
49650
49651 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49652
49653 compiler=""
49654 headerfile=""
49655
49656 while test ${D}{#} -gt 0; do
49657 add_to_cmdline=1
49658 case "${D}{1}" in
49659 -I* )
49660 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49661 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49662 headerfile="${D}{incdir}/${D}{header}"
49663 fi
49664 ;;
49665 -use-pch|-use_pch|-pch-use )
49666 shift
49667 add_to_cmdline=0
49668 ;;
49669 esac
49670 if test ${D}add_to_cmdline = 1 ; then
49671 compiler="${D}{compiler} ${D}{1}"
49672 fi
49673 shift
49674 done
49675
49676 if test "x${D}{headerfile}" = "x" ; then
49677 echo "error: can't find header ${D}{header} in include paths" >&2
49678 else
49679 if test -f ${D}{outfile} ; then
49680 rm -f ${D}{outfile}
49681 else
49682 mkdir -p \`dirname ${D}{outfile}\`
49683 fi
49684 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49685 mkdir -p ${D}{builddir}/.deps
49686 if test "x${GCC_PCH}" = "x1" ; then
49687 # can do this because gcc is >= 3.4:
49688 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49689 elif test "x${ICC_PCH}" = "x1" ; then
49690 filename=pch_gen-${D}${D}
49691 file=${D}{filename}.c
49692 dfile=${D}{filename}.d
49693 cat > ${D}file <<EOT
49694 #include "${D}header"
49695 EOT
49696 # using -MF icc complains about differing command lines in creation/use
49697 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49698 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49699 rm -f ${D}file ${D}dfile ${D}{filename}.o
49700 fi
49701 exit ${D}{?}
49702 fi
49703 EOF
49704
49705 chmod +x bk-make-pch
49706 BK_MAKE_PCH="`pwd`/bk-make-pch"
49707 fi
49708 fi
49709 fi
49710
49711
49712
49713
49714
49715
49716
49717 COND_BUILD_DEBUG="#"
49718 if test "x$BUILD" = "xdebug" ; then
49719 COND_BUILD_DEBUG=""
49720 fi
49721
49722 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49723 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49724 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49725 fi
49726
49727 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49728 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49729 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49730 fi
49731
49732 COND_BUILD_DEBUG_UNICODE_0="#"
49733 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49734 COND_BUILD_DEBUG_UNICODE_0=""
49735 fi
49736
49737 COND_BUILD_DEBUG_UNICODE_1="#"
49738 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49739 COND_BUILD_DEBUG_UNICODE_1=""
49740 fi
49741
49742 COND_BUILD_RELEASE="#"
49743 if test "x$BUILD" = "xrelease" ; then
49744 COND_BUILD_RELEASE=""
49745 fi
49746
49747 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49748 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49749 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49750 fi
49751
49752 COND_BUILD_RELEASE_UNICODE_0="#"
49753 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49754 COND_BUILD_RELEASE_UNICODE_0=""
49755 fi
49756
49757 COND_BUILD_RELEASE_UNICODE_1="#"
49758 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49759 COND_BUILD_RELEASE_UNICODE_1=""
49760 fi
49761
49762 COND_BUILD_debug="#"
49763 if test "x$BUILD" = "xdebug" ; then
49764 COND_BUILD_debug=""
49765 fi
49766
49767 COND_BUILD_debug_DEBUG_FLAG_default="#"
49768 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49769 COND_BUILD_debug_DEBUG_FLAG_default=""
49770 fi
49771
49772 COND_BUILD_debug_DEBUG_INFO_default="#"
49773 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49774 COND_BUILD_debug_DEBUG_INFO_default=""
49775 fi
49776
49777 COND_BUILD_debug_UNICODE_0="#"
49778 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49779 COND_BUILD_debug_UNICODE_0=""
49780 fi
49781
49782 COND_BUILD_debug_UNICODE_1="#"
49783 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49784 COND_BUILD_debug_UNICODE_1=""
49785 fi
49786
49787 COND_BUILD_release="#"
49788 if test "x$BUILD" = "xrelease" ; then
49789 COND_BUILD_release=""
49790 fi
49791
49792 COND_BUILD_release_DEBUG_INFO_default="#"
49793 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49794 COND_BUILD_release_DEBUG_INFO_default=""
49795 fi
49796
49797 COND_BUILD_release_UNICODE_0="#"
49798 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49799 COND_BUILD_release_UNICODE_0=""
49800 fi
49801
49802 COND_BUILD_release_UNICODE_1="#"
49803 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49804 COND_BUILD_release_UNICODE_1=""
49805 fi
49806
49807 COND_DEBUG_FLAG_1="#"
49808 if test "x$DEBUG_FLAG" = "x1" ; then
49809 COND_DEBUG_FLAG_1=""
49810 fi
49811
49812 COND_DEBUG_INFO_0="#"
49813 if test "x$DEBUG_INFO" = "x0" ; then
49814 COND_DEBUG_INFO_0=""
49815 fi
49816
49817 COND_DEBUG_INFO_1="#"
49818 if test "x$DEBUG_INFO" = "x1" ; then
49819 COND_DEBUG_INFO_1=""
49820 fi
49821
49822 COND_DEPS_TRACKING_0="#"
49823 if test "x$DEPS_TRACKING" = "x0" ; then
49824 COND_DEPS_TRACKING_0=""
49825 fi
49826
49827 COND_DEPS_TRACKING_1="#"
49828 if test "x$DEPS_TRACKING" = "x1" ; then
49829 COND_DEPS_TRACKING_1=""
49830 fi
49831
49832 COND_GCC_PCH_1="#"
49833 if test "x$GCC_PCH" = "x1" ; then
49834 COND_GCC_PCH_1=""
49835 fi
49836
49837 COND_ICC_PCH_1="#"
49838 if test "x$ICC_PCH" = "x1" ; then
49839 COND_ICC_PCH_1=""
49840 fi
49841
49842 COND_MONOLITHIC_0="#"
49843 if test "x$MONOLITHIC" = "x0" ; then
49844 COND_MONOLITHIC_0=""
49845 fi
49846
49847 COND_MONOLITHIC_0_SHARED_0="#"
49848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49849 COND_MONOLITHIC_0_SHARED_0=""
49850 fi
49851
49852 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49854 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49855 fi
49856
49857 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49859 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49860 fi
49861
49862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49865 fi
49866
49867 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49869 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49870 fi
49871
49872 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49874 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49875 fi
49876
49877 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49879 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49880 fi
49881
49882 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49884 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49885 fi
49886
49887 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49889 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49890 fi
49891
49892 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49894 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49895 fi
49896
49897 COND_MONOLITHIC_0_SHARED_1="#"
49898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49899 COND_MONOLITHIC_0_SHARED_1=""
49900 fi
49901
49902 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49904 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49905 fi
49906
49907 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49909 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49910 fi
49911
49912 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49914 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49915 fi
49916
49917 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49919 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49920 fi
49921
49922 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49924 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49925 fi
49926
49927 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49929 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49930 fi
49931
49932 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49934 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49935 fi
49936
49937 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49939 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49940 fi
49941
49942 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49944 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49945 fi
49946
49947 COND_MONOLITHIC_0_USE_AUI_1="#"
49948 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49949 COND_MONOLITHIC_0_USE_AUI_1=""
49950 fi
49951
49952 COND_MONOLITHIC_0_USE_GUI_1="#"
49953 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49954 COND_MONOLITHIC_0_USE_GUI_1=""
49955 fi
49956
49957 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49958 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49959 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49960 fi
49961
49962 COND_MONOLITHIC_0_USE_HTML_1="#"
49963 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49964 COND_MONOLITHIC_0_USE_HTML_1=""
49965 fi
49966
49967 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49968 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49969 COND_MONOLITHIC_0_USE_MEDIA_1=""
49970 fi
49971
49972 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49973 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49974 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49975 fi
49976
49977 COND_MONOLITHIC_0_USE_QA_1="#"
49978 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49979 COND_MONOLITHIC_0_USE_QA_1=""
49980 fi
49981
49982 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49983 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49984 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49985 fi
49986
49987 COND_MONOLITHIC_0_USE_STC_1="#"
49988 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49989 COND_MONOLITHIC_0_USE_STC_1=""
49990 fi
49991
49992 COND_MONOLITHIC_0_USE_XRC_1="#"
49993 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49994 COND_MONOLITHIC_0_USE_XRC_1=""
49995 fi
49996
49997 COND_MONOLITHIC_1="#"
49998 if test "x$MONOLITHIC" = "x1" ; then
49999 COND_MONOLITHIC_1=""
50000 fi
50001
50002 COND_MONOLITHIC_1_SHARED_0="#"
50003 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50004 COND_MONOLITHIC_1_SHARED_0=""
50005 fi
50006
50007 COND_MONOLITHIC_1_SHARED_1="#"
50008 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50009 COND_MONOLITHIC_1_SHARED_1=""
50010 fi
50011
50012 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50013 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50014 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50015 fi
50016
50017 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50018 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50019 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50020 fi
50021
50022 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50023 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50024 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50025 fi
50026
50027 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50028 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50029 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50030 fi
50031
50032 COND_PLATFORM_MACOSX_1="#"
50033 if test "x$PLATFORM_MACOSX" = "x1" ; then
50034 COND_PLATFORM_MACOSX_1=""
50035 fi
50036
50037 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50038 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50039 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50040 fi
50041
50042 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50043 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50044 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50045 fi
50046
50047 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50048 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50049 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50050 fi
50051
50052 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50053 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50054 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50055 fi
50056
50057 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50058 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50059 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50060 fi
50061
50062 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50063 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50064 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50065 fi
50066
50067 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50068 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50069 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50070 fi
50071
50072 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50074 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50075 fi
50076
50077 COND_PLATFORM_MACOS_1="#"
50078 if test "x$PLATFORM_MACOS" = "x1" ; then
50079 COND_PLATFORM_MACOS_1=""
50080 fi
50081
50082 COND_PLATFORM_MAC_0="#"
50083 if test "x$PLATFORM_MAC" = "x0" ; then
50084 COND_PLATFORM_MAC_0=""
50085 fi
50086
50087 COND_PLATFORM_MAC_1="#"
50088 if test "x$PLATFORM_MAC" = "x1" ; then
50089 COND_PLATFORM_MAC_1=""
50090 fi
50091
50092 COND_PLATFORM_MSDOS_0="#"
50093 if test "x$PLATFORM_MSDOS" = "x0" ; then
50094 COND_PLATFORM_MSDOS_0=""
50095 fi
50096
50097 COND_PLATFORM_MSDOS_1="#"
50098 if test "x$PLATFORM_MSDOS" = "x1" ; then
50099 COND_PLATFORM_MSDOS_1=""
50100 fi
50101
50102 COND_PLATFORM_OS2_1="#"
50103 if test "x$PLATFORM_OS2" = "x1" ; then
50104 COND_PLATFORM_OS2_1=""
50105 fi
50106
50107 COND_PLATFORM_UNIX_0="#"
50108 if test "x$PLATFORM_UNIX" = "x0" ; then
50109 COND_PLATFORM_UNIX_0=""
50110 fi
50111
50112 COND_PLATFORM_UNIX_1="#"
50113 if test "x$PLATFORM_UNIX" = "x1" ; then
50114 COND_PLATFORM_UNIX_1=""
50115 fi
50116
50117 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50118 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50119 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50120 fi
50121
50122 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50123 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50124 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50125 fi
50126
50127 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50128 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50129 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50130 fi
50131
50132 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50133 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50134 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50135 fi
50136
50137 COND_PLATFORM_WIN32_0="#"
50138 if test "x$PLATFORM_WIN32" = "x0" ; then
50139 COND_PLATFORM_WIN32_0=""
50140 fi
50141
50142 COND_PLATFORM_WIN32_1="#"
50143 if test "x$PLATFORM_WIN32" = "x1" ; then
50144 COND_PLATFORM_WIN32_1=""
50145 fi
50146
50147 COND_SHARED_0="#"
50148 if test "x$SHARED" = "x0" ; then
50149 COND_SHARED_0=""
50150 fi
50151
50152 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50153 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50154 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50155 fi
50156
50157 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50158 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50159 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50160 fi
50161
50162 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50163 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50164 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50165 fi
50166
50167 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50168 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50169 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50170 fi
50171
50172 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50173 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50174 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50175 fi
50176
50177 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50178 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50179 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50180 fi
50181
50182 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50183 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50184 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50185 fi
50186
50187 COND_SHARED_0_USE_STC_1="#"
50188 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50189 COND_SHARED_0_USE_STC_1=""
50190 fi
50191
50192 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50193 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50194 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50195 fi
50196
50197 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50198 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50199 COND_SHARED_0_wxUSE_REGEX_builtin=""
50200 fi
50201
50202 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50203 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50204 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50205 fi
50206
50207 COND_SHARED_1="#"
50208 if test "x$SHARED" = "x1" ; then
50209 COND_SHARED_1=""
50210 fi
50211
50212 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50213 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50214 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50215 fi
50216
50217 COND_TOOLKIT_="#"
50218 if test "x$TOOLKIT" = "x" ; then
50219 COND_TOOLKIT_=""
50220 fi
50221
50222 COND_TOOLKIT_COCOA="#"
50223 if test "x$TOOLKIT" = "xCOCOA" ; then
50224 COND_TOOLKIT_COCOA=""
50225 fi
50226
50227 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50228 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50229 COND_TOOLKIT_COCOA_USE_GUI_1=""
50230 fi
50231
50232 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50233 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50234 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50235 fi
50236
50237 COND_TOOLKIT_DFB="#"
50238 if test "x$TOOLKIT" = "xDFB" ; then
50239 COND_TOOLKIT_DFB=""
50240 fi
50241
50242 COND_TOOLKIT_DFB_USE_GUI_1="#"
50243 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50244 COND_TOOLKIT_DFB_USE_GUI_1=""
50245 fi
50246
50247 COND_TOOLKIT_GTK="#"
50248 if test "x$TOOLKIT" = "xGTK" ; then
50249 COND_TOOLKIT_GTK=""
50250 fi
50251
50252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50253 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50254 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50255 fi
50256
50257 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50258 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50259 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50260 fi
50261
50262 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50263 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50264 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50265 fi
50266
50267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50268 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50269 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50270 fi
50271
50272 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50273 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50274 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50275 fi
50276
50277 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50278 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50279 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50280 fi
50281
50282 COND_TOOLKIT_GTK_USE_GUI_1="#"
50283 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50284 COND_TOOLKIT_GTK_USE_GUI_1=""
50285 fi
50286
50287 COND_TOOLKIT_MAC="#"
50288 if test "x$TOOLKIT" = "xMAC" ; then
50289 COND_TOOLKIT_MAC=""
50290 fi
50291
50292 COND_TOOLKIT_MGL="#"
50293 if test "x$TOOLKIT" = "xMGL" ; then
50294 COND_TOOLKIT_MGL=""
50295 fi
50296
50297 COND_TOOLKIT_MGL_USE_GUI_1="#"
50298 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50299 COND_TOOLKIT_MGL_USE_GUI_1=""
50300 fi
50301
50302 COND_TOOLKIT_MOTIF="#"
50303 if test "x$TOOLKIT" = "xMOTIF" ; then
50304 COND_TOOLKIT_MOTIF=""
50305 fi
50306
50307 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50308 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50309 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50310 fi
50311
50312 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50313 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50314 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50315 fi
50316
50317 COND_TOOLKIT_MSW="#"
50318 if test "x$TOOLKIT" = "xMSW" ; then
50319 COND_TOOLKIT_MSW=""
50320 fi
50321
50322 COND_TOOLKIT_MSW_USE_GUI_1="#"
50323 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50324 COND_TOOLKIT_MSW_USE_GUI_1=""
50325 fi
50326
50327 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50328 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50329 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50330 fi
50331
50332 COND_TOOLKIT_MSW_WXUNIV_0="#"
50333 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50334 COND_TOOLKIT_MSW_WXUNIV_0=""
50335 fi
50336
50337 COND_TOOLKIT_OSX_CARBON="#"
50338 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50339 COND_TOOLKIT_OSX_CARBON=""
50340 fi
50341
50342 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50343 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50344 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50345 fi
50346
50347 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50348 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50349 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50350 fi
50351
50352 COND_TOOLKIT_OSX_COCOA="#"
50353 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50354 COND_TOOLKIT_OSX_COCOA=""
50355 fi
50356
50357 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50358 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50359 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50360 fi
50361
50362 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50363 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50364 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50365 fi
50366
50367 COND_TOOLKIT_OSX_IPHONE="#"
50368 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50369 COND_TOOLKIT_OSX_IPHONE=""
50370 fi
50371
50372 COND_TOOLKIT_PM="#"
50373 if test "x$TOOLKIT" = "xPM" ; then
50374 COND_TOOLKIT_PM=""
50375 fi
50376
50377 COND_TOOLKIT_PM_USE_GUI_1="#"
50378 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50379 COND_TOOLKIT_PM_USE_GUI_1=""
50380 fi
50381
50382 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50383 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50384 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50385 fi
50386
50387 COND_TOOLKIT_WINCE="#"
50388 if test "x$TOOLKIT" = "xWINCE" ; then
50389 COND_TOOLKIT_WINCE=""
50390 fi
50391
50392 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50393 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50394 COND_TOOLKIT_WINCE_USE_GUI_1=""
50395 fi
50396
50397 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50398 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50399 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50400 fi
50401
50402 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50403 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50404 COND_TOOLKIT_WINCE_WXUNIV_0=""
50405 fi
50406
50407 COND_TOOLKIT_X11="#"
50408 if test "x$TOOLKIT" = "xX11" ; then
50409 COND_TOOLKIT_X11=""
50410 fi
50411
50412 COND_TOOLKIT_X11_USE_GUI_1="#"
50413 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50414 COND_TOOLKIT_X11_USE_GUI_1=""
50415 fi
50416
50417 COND_UNICODE_1="#"
50418 if test "x$UNICODE" = "x1" ; then
50419 COND_UNICODE_1=""
50420 fi
50421
50422 COND_USE_EXCEPTIONS_0="#"
50423 if test "x$USE_EXCEPTIONS" = "x0" ; then
50424 COND_USE_EXCEPTIONS_0=""
50425 fi
50426
50427 COND_USE_EXCEPTIONS_1="#"
50428 if test "x$USE_EXCEPTIONS" = "x1" ; then
50429 COND_USE_EXCEPTIONS_1=""
50430 fi
50431
50432 COND_USE_GUI_0="#"
50433 if test "x$USE_GUI" = "x0" ; then
50434 COND_USE_GUI_0=""
50435 fi
50436
50437 COND_USE_GUI_1="#"
50438 if test "x$USE_GUI" = "x1" ; then
50439 COND_USE_GUI_1=""
50440 fi
50441
50442 COND_USE_GUI_1_USE_OPENGL_1="#"
50443 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50444 COND_USE_GUI_1_USE_OPENGL_1=""
50445 fi
50446
50447 COND_USE_GUI_1_WXUNIV_0="#"
50448 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50449 COND_USE_GUI_1_WXUNIV_0=""
50450 fi
50451
50452 COND_USE_GUI_1_WXUNIV_1="#"
50453 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50454 COND_USE_GUI_1_WXUNIV_1=""
50455 fi
50456
50457 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50458 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50459 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50460 fi
50461
50462 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50463 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50464 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50465 fi
50466
50467 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50468 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50469 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50470 fi
50471
50472 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50473 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50474 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50475 fi
50476
50477 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50478 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50479 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50480 fi
50481
50482 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50483 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50484 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50485 fi
50486
50487 COND_USE_OPENGL_1="#"
50488 if test "x$USE_OPENGL" = "x1" ; then
50489 COND_USE_OPENGL_1=""
50490 fi
50491
50492 COND_USE_PCH_1="#"
50493 if test "x$USE_PCH" = "x1" ; then
50494 COND_USE_PCH_1=""
50495 fi
50496
50497 COND_USE_PLUGINS_0="#"
50498 if test "x$USE_PLUGINS" = "x0" ; then
50499 COND_USE_PLUGINS_0=""
50500 fi
50501
50502 COND_USE_RTTI_0="#"
50503 if test "x$USE_RTTI" = "x0" ; then
50504 COND_USE_RTTI_0=""
50505 fi
50506
50507 COND_USE_RTTI_1="#"
50508 if test "x$USE_RTTI" = "x1" ; then
50509 COND_USE_RTTI_1=""
50510 fi
50511
50512 COND_USE_SOSYMLINKS_1="#"
50513 if test "x$USE_SOSYMLINKS" = "x1" ; then
50514 COND_USE_SOSYMLINKS_1=""
50515 fi
50516
50517 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50518 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50519 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50520 fi
50521
50522 COND_USE_SOVERLINUX_1="#"
50523 if test "x$USE_SOVERLINUX" = "x1" ; then
50524 COND_USE_SOVERLINUX_1=""
50525 fi
50526
50527 COND_USE_SOVERSION_0="#"
50528 if test "x$USE_SOVERSION" = "x0" ; then
50529 COND_USE_SOVERSION_0=""
50530 fi
50531
50532 COND_USE_SOVERSOLARIS_1="#"
50533 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50534 COND_USE_SOVERSOLARIS_1=""
50535 fi
50536
50537 COND_USE_STC_1="#"
50538 if test "x$USE_STC" = "x1" ; then
50539 COND_USE_STC_1=""
50540 fi
50541
50542 COND_USE_THREADS_0="#"
50543 if test "x$USE_THREADS" = "x0" ; then
50544 COND_USE_THREADS_0=""
50545 fi
50546
50547 COND_USE_THREADS_1="#"
50548 if test "x$USE_THREADS" = "x1" ; then
50549 COND_USE_THREADS_1=""
50550 fi
50551
50552 COND_USE_XRC_1="#"
50553 if test "x$USE_XRC" = "x1" ; then
50554 COND_USE_XRC_1=""
50555 fi
50556
50557 COND_WINDOWS_IMPLIB_1="#"
50558 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50559 COND_WINDOWS_IMPLIB_1=""
50560 fi
50561
50562 COND_WITH_PLUGIN_SDL_1="#"
50563 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50564 COND_WITH_PLUGIN_SDL_1=""
50565 fi
50566
50567 COND_WXUNIV_0="#"
50568 if test "x$WXUNIV" = "x0" ; then
50569 COND_WXUNIV_0=""
50570 fi
50571
50572 COND_WXUNIV_1="#"
50573 if test "x$WXUNIV" = "x1" ; then
50574 COND_WXUNIV_1=""
50575 fi
50576
50577 COND_WXUSE_EXPAT_BUILTIN="#"
50578 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50579 COND_WXUSE_EXPAT_BUILTIN=""
50580 fi
50581
50582 COND_WXUSE_LIBJPEG_BUILTIN="#"
50583 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50584 COND_WXUSE_LIBJPEG_BUILTIN=""
50585 fi
50586
50587 COND_WXUSE_LIBPNG_BUILTIN="#"
50588 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50589 COND_WXUSE_LIBPNG_BUILTIN=""
50590 fi
50591
50592 COND_WXUSE_LIBTIFF_BUILTIN="#"
50593 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50594 COND_WXUSE_LIBTIFF_BUILTIN=""
50595 fi
50596
50597 COND_WXUSE_REGEX_BUILTIN="#"
50598 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50599 COND_WXUSE_REGEX_BUILTIN=""
50600 fi
50601
50602 COND_WXUSE_ZLIB_BUILTIN="#"
50603 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50604 COND_WXUSE_ZLIB_BUILTIN=""
50605 fi
50606
50607 COND_wxUSE_EXPAT_builtin="#"
50608 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50609 COND_wxUSE_EXPAT_builtin=""
50610 fi
50611
50612 COND_wxUSE_LIBJPEG_builtin="#"
50613 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50614 COND_wxUSE_LIBJPEG_builtin=""
50615 fi
50616
50617 COND_wxUSE_LIBPNG_builtin="#"
50618 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50619 COND_wxUSE_LIBPNG_builtin=""
50620 fi
50621
50622 COND_wxUSE_LIBTIFF_builtin="#"
50623 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50624 COND_wxUSE_LIBTIFF_builtin=""
50625 fi
50626
50627 COND_wxUSE_REGEX_builtin="#"
50628 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50629 COND_wxUSE_REGEX_builtin=""
50630 fi
50631
50632 COND_wxUSE_ZLIB_builtin="#"
50633 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50634 COND_wxUSE_ZLIB_builtin=""
50635 fi
50636
50637
50638
50639 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50640 { { 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
50641 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;}
50642 { (exit 1); exit 1; }; }
50643 fi
50644
50645 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50646 { { 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
50647 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;}
50648 { (exit 1); exit 1; }; }
50649 fi
50650
50651
50652 case ${INSTALL} in
50653 /* ) # Absolute
50654 ;;
50655 ?:* ) # Drive letter, considered as absolute.
50656 ;;
50657 *)
50658 INSTALL=`pwd`/${INSTALL} ;;
50659 esac
50660
50661 if test "$wxUSE_GUI" = "yes"; then
50662
50663 if test "$wxUSE_MSW" = 1 ; then
50664 if test "x$WINDRES" = "x"; then
50665 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50666 echo "$as_me: error: Required windres program not found" >&2;}
50667 { (exit 1); exit 1; }; }
50668 fi
50669
50670 RESCOMP="$WINDRES"
50671 fi
50672
50673 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50674 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50675 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50676
50677 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50678
50679 # Extract the first word of "DeRez", so it can be a program name with args.
50680 set dummy DeRez; ac_word=$2
50681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50683 if test "${ac_cv_prog_DEREZ+set}" = set; then
50684 echo $ECHO_N "(cached) $ECHO_C" >&6
50685 else
50686 if test -n "$DEREZ"; then
50687 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50688 else
50689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50690 for as_dir in $PATH
50691 do
50692 IFS=$as_save_IFS
50693 test -z "$as_dir" && as_dir=.
50694 for ac_exec_ext in '' $ac_executable_extensions; do
50695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50696 ac_cv_prog_DEREZ="DeRez"
50697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50698 break 2
50699 fi
50700 done
50701 done
50702 IFS=$as_save_IFS
50703
50704 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50705 fi
50706 fi
50707 DEREZ=$ac_cv_prog_DEREZ
50708 if test -n "$DEREZ"; then
50709 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50710 echo "${ECHO_T}$DEREZ" >&6; }
50711 else
50712 { echo "$as_me:$LINENO: result: no" >&5
50713 echo "${ECHO_T}no" >&6; }
50714 fi
50715
50716
50717
50718 MACSETFILE="\$(SETFILE)"
50719
50720 if test "$wxUSE_OSX_CARBON" = 1; then
50721 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50722 RESCOMP="$REZ"
50723 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50724 else
50725 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50726 RESCOMP="cat /dev/null \| $REZ"
50727 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50728 fi
50729
50730 else
50731 MACSETFILE="@true"
50732
50733 if test "$wxUSE_PM" = 1; then
50734 RESCOMP="emxbind"
50735 WXCONFIG_RESFLAGS="-ep"
50736
50737 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50738 else
50739 POSTLINK_COMMAND="@true"
50740 fi
50741 fi
50742
50743 fi
50744
50745
50746 if test $GCC_PCH = 1
50747 then
50748 if test "$wx_cv_gcc_pch_bug" = yes; then
50749 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50750 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50751 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50752 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50753 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50754 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50755 fi
50756
50757 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50758 # the headers that benefit from precompilation are mostly C++ headers.
50759 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50760 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50761 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50762 fi
50763
50764
50765 if test "$wxUSE_MAC" = 1 ; then
50766 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50767 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50768 mv temp bk-deps
50769 chmod +x bk-deps
50770 fi
50771 fi
50772
50773 if test "$wxUSE_SHARED" = "yes"; then
50774 case "${host}" in
50775 *-pc-os2_emx | *-pc-os2-emx )
50776 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50777 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50778 cp -p ${srcdir}/src/os2/dllnames.sh .
50779 cp -p ${srcdir}/src/os2/dllar.sh .
50780 ;;
50781 esac
50782 fi
50783 if test "$wxUSE_OMF" = "yes"; then
50784 case "${host}" in
50785 *-pc-os2_emx | *-pc-os2-emx )
50786 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50787 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50788 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50789 ;;
50790 esac
50791 fi
50792
50793 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50794
50795
50796 case "${host}" in
50797 *-*-solaris2* )
50798 if test "$GCC" = yes; then
50799 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50800 LIBS=`echo $LIBS | sed 's/-mt//'`
50801 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50802 fi
50803 ;;
50804
50805 *-*-linux* )
50806 if test "x$SUNCXX" = xyes; then
50807 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50808 LIBS=`echo $LIBS | sed 's/-pthread//'`
50809 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50810 fi
50811 ;;
50812 esac
50813
50814 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50815 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50816 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50817 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50818
50819 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50820
50821
50822
50823
50824
50825
50826
50827
50828
50829
50830
50831
50832
50833
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50881 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50882 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50883 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50884 echo $ECHO_N "(cached) $ECHO_C" >&6
50885 else
50886 cat >conftest.make <<\_ACEOF
50887 SHELL = /bin/sh
50888 all:
50889 @echo '@@@%%%=$(MAKE)=@@@%%%'
50890 _ACEOF
50891 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50892 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50893 *@@@%%%=?*=@@@%%%*)
50894 eval ac_cv_prog_make_${ac_make}_set=yes;;
50895 *)
50896 eval ac_cv_prog_make_${ac_make}_set=no;;
50897 esac
50898 rm -f conftest.make
50899 fi
50900 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50901 { echo "$as_me:$LINENO: result: yes" >&5
50902 echo "${ECHO_T}yes" >&6; }
50903 SET_MAKE=
50904 else
50905 { echo "$as_me:$LINENO: result: no" >&5
50906 echo "${ECHO_T}no" >&6; }
50907 SET_MAKE="MAKE=${MAKE-make}"
50908 fi
50909
50910
50911
50912 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50913
50914
50915 if test "$USE_WIN32" = 1; then
50916 ac_config_commands="$ac_config_commands
50917 rcdefs.h
50918 "
50919
50920 fi
50921
50922 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50923
50924
50925 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50926
50927
50928 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50929
50930
50931 if test "$wx_cv_version_script" = "yes"; then
50932 ac_config_files="$ac_config_files version-script"
50933
50934 fi
50935 ac_config_files="$ac_config_files Makefile"
50936
50937
50938 ac_config_commands="$ac_config_commands wx-config"
50939
50940
50941
50942 if test "$wxWITH_SUBDIRS" != "no"; then
50943 if test "$wxUSE_GUI" = "yes"; then
50944 SUBDIRS="samples demos utils"
50945 else
50946 SUBDIRS="samples utils"
50947 fi
50948
50949
50950
50951 # Check whether --with-cppunit-prefix was given.
50952 if test "${with_cppunit_prefix+set}" = set; then
50953 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50954 else
50955 cppunit_config_prefix=""
50956 fi
50957
50958
50959 # Check whether --with-cppunit-exec-prefix was given.
50960 if test "${with_cppunit_exec_prefix+set}" = set; then
50961 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50962 else
50963 cppunit_config_exec_prefix=""
50964 fi
50965
50966
50967 if test x$cppunit_config_exec_prefix != x ; then
50968 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50969 if test x${CPPUNIT_CONFIG+set} != xset ; then
50970 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50971 fi
50972 fi
50973 if test x$cppunit_config_prefix != x ; then
50974 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50975 if test x${CPPUNIT_CONFIG+set} != xset ; then
50976 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50977 fi
50978 fi
50979
50980 # Extract the first word of "cppunit-config", so it can be a program name with args.
50981 set dummy cppunit-config; ac_word=$2
50982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50984 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50985 echo $ECHO_N "(cached) $ECHO_C" >&6
50986 else
50987 case $CPPUNIT_CONFIG in
50988 [\\/]* | ?:[\\/]*)
50989 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50990 ;;
50991 *)
50992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50993 for as_dir in $PATH
50994 do
50995 IFS=$as_save_IFS
50996 test -z "$as_dir" && as_dir=.
50997 for ac_exec_ext in '' $ac_executable_extensions; do
50998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50999 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51001 break 2
51002 fi
51003 done
51004 done
51005 IFS=$as_save_IFS
51006
51007 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51008 ;;
51009 esac
51010 fi
51011 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51012 if test -n "$CPPUNIT_CONFIG"; then
51013 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51014 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51015 else
51016 { echo "$as_me:$LINENO: result: no" >&5
51017 echo "${ECHO_T}no" >&6; }
51018 fi
51019
51020
51021 cppunit_version_min=1.8.0
51022
51023 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51024 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51025 no_cppunit=""
51026 if test "$CPPUNIT_CONFIG" = "no" ; then
51027 { echo "$as_me:$LINENO: result: no" >&5
51028 echo "${ECHO_T}no" >&6; }
51029 no_cppunit=yes
51030 else
51031 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51032 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51033 cppunit_version=`$CPPUNIT_CONFIG --version`
51034
51035 cppunit_major_version=`echo $cppunit_version | \
51036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51037 cppunit_minor_version=`echo $cppunit_version | \
51038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51039 cppunit_micro_version=`echo $cppunit_version | \
51040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51041
51042 cppunit_major_min=`echo $cppunit_version_min | \
51043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51044 cppunit_minor_min=`echo $cppunit_version_min | \
51045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51046 cppunit_micro_min=`echo $cppunit_version_min | \
51047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51048
51049 cppunit_version_proper=`expr \
51050 $cppunit_major_version \> $cppunit_major_min \| \
51051 $cppunit_major_version \= $cppunit_major_min \& \
51052 $cppunit_minor_version \> $cppunit_minor_min \| \
51053 $cppunit_major_version \= $cppunit_major_min \& \
51054 $cppunit_minor_version \= $cppunit_minor_min \& \
51055 $cppunit_micro_version \>= $cppunit_micro_min `
51056
51057 if test "$cppunit_version_proper" = "1" ; then
51058 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51059 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51060 else
51061 { echo "$as_me:$LINENO: result: no" >&5
51062 echo "${ECHO_T}no" >&6; }
51063 no_cppunit=yes
51064 fi
51065 fi
51066
51067 if test "x$no_cppunit" = x ; then
51068 SUBDIRS="$SUBDIRS tests"
51069 else
51070 CPPUNIT_CFLAGS=""
51071 CPPUNIT_LIBS=""
51072 :
51073 fi
51074
51075
51076
51077
51078
51079 for subdir in $SUBDIRS; do
51080 if test -d ${srcdir}/${subdir} ; then
51081 if test "$wxUSE_GUI" = "yes"; then
51082 if test ${subdir} = "samples"; then
51083 makefiles="samples/Makefile.in $makefiles"
51084 for sample in $SAMPLES_SUBDIRS; do
51085 if test -d $srcdir/samples/$sample; then
51086 makefiles="samples/$sample/Makefile.in $makefiles"
51087 fi
51088 done
51089 else
51090 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51091 eval "disabled=\$$disabled_var"
51092 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51093 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51094 fi
51095 else
51096 if test ${subdir} = "samples"; then
51097 makefiles="samples/Makefile.in $makefiles"
51098 for sample in `echo $SAMPLES_SUBDIRS`; do
51099 if test -d $srcdir/samples/$sample; then
51100 makefiles="samples/$sample/Makefile.in $makefiles"
51101 fi
51102 done
51103 elif test ${subdir} = "utils"; then
51104 makefiles=""
51105 for util in ifacecheck ; do
51106 if test -d $srcdir/utils/$util ; then
51107 makefiles="utils/$util/src/Makefile.in \
51108 $makefiles"
51109 fi
51110 done
51111 else
51112 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51113 fi
51114 fi
51115
51116 for mkin in $makefiles ; do
51117 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51118 ac_config_files="$ac_config_files $mk"
51119
51120 done
51121 fi
51122 done
51123 fi
51124 cat >confcache <<\_ACEOF
51125 # This file is a shell script that caches the results of configure
51126 # tests run on this system so they can be shared between configure
51127 # scripts and configure runs, see configure's option --config-cache.
51128 # It is not useful on other systems. If it contains results you don't
51129 # want to keep, you may remove or edit it.
51130 #
51131 # config.status only pays attention to the cache file if you give it
51132 # the --recheck option to rerun configure.
51133 #
51134 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51135 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51136 # following values.
51137
51138 _ACEOF
51139
51140 # The following way of writing the cache mishandles newlines in values,
51141 # but we know of no workaround that is simple, portable, and efficient.
51142 # So, we kill variables containing newlines.
51143 # Ultrix sh set writes to stderr and can't be redirected directly,
51144 # and sets the high bit in the cache file unless we assign to the vars.
51145 (
51146 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51147 eval ac_val=\$$ac_var
51148 case $ac_val in #(
51149 *${as_nl}*)
51150 case $ac_var in #(
51151 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51152 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51153 esac
51154 case $ac_var in #(
51155 _ | IFS | as_nl) ;; #(
51156 *) $as_unset $ac_var ;;
51157 esac ;;
51158 esac
51159 done
51160
51161 (set) 2>&1 |
51162 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51163 *${as_nl}ac_space=\ *)
51164 # `set' does not quote correctly, so add quotes (double-quote
51165 # substitution turns \\\\ into \\, and sed turns \\ into \).
51166 sed -n \
51167 "s/'/'\\\\''/g;
51168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51169 ;; #(
51170 *)
51171 # `set' quotes correctly as required by POSIX, so do not add quotes.
51172 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51173 ;;
51174 esac |
51175 sort
51176 ) |
51177 sed '
51178 /^ac_cv_env_/b end
51179 t clear
51180 :clear
51181 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51182 t end
51183 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51184 :end' >>confcache
51185 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51186 if test -w "$cache_file"; then
51187 test "x$cache_file" != "x/dev/null" &&
51188 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51189 echo "$as_me: updating cache $cache_file" >&6;}
51190 cat confcache >$cache_file
51191 else
51192 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51193 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51194 fi
51195 fi
51196 rm -f confcache
51197
51198 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51199 # Let make expand exec_prefix.
51200 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51201
51202 DEFS=-DHAVE_CONFIG_H
51203
51204 ac_libobjs=
51205 ac_ltlibobjs=
51206 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51207 # 1. Remove the extension, and $U if already installed.
51208 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51209 ac_i=`echo "$ac_i" | sed "$ac_script"`
51210 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51211 # will be set to the directory where LIBOBJS objects are built.
51212 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51213 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51214 done
51215 LIBOBJS=$ac_libobjs
51216
51217 LTLIBOBJS=$ac_ltlibobjs
51218
51219
51220
51221 : ${CONFIG_STATUS=./config.status}
51222 ac_clean_files_save=$ac_clean_files
51223 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51224 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51225 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51226 cat >$CONFIG_STATUS <<_ACEOF
51227 #! $SHELL
51228 # Generated by $as_me.
51229 # Run this file to recreate the current configuration.
51230 # Compiler output produced by configure, useful for debugging
51231 # configure, is in config.log if it exists.
51232
51233 debug=false
51234 ac_cs_recheck=false
51235 ac_cs_silent=false
51236 SHELL=\${CONFIG_SHELL-$SHELL}
51237 _ACEOF
51238
51239 cat >>$CONFIG_STATUS <<\_ACEOF
51240 ## --------------------- ##
51241 ## M4sh Initialization. ##
51242 ## --------------------- ##
51243
51244 # Be more Bourne compatible
51245 DUALCASE=1; export DUALCASE # for MKS sh
51246 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51247 emulate sh
51248 NULLCMD=:
51249 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51250 # is contrary to our usage. Disable this feature.
51251 alias -g '${1+"$@"}'='"$@"'
51252 setopt NO_GLOB_SUBST
51253 else
51254 case `(set -o) 2>/dev/null` in
51255 *posix*) set -o posix ;;
51256 esac
51257
51258 fi
51259
51260
51261
51262
51263 # PATH needs CR
51264 # Avoid depending upon Character Ranges.
51265 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51266 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51267 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51268 as_cr_digits='0123456789'
51269 as_cr_alnum=$as_cr_Letters$as_cr_digits
51270
51271 # The user is always right.
51272 if test "${PATH_SEPARATOR+set}" != set; then
51273 echo "#! /bin/sh" >conf$$.sh
51274 echo "exit 0" >>conf$$.sh
51275 chmod +x conf$$.sh
51276 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51277 PATH_SEPARATOR=';'
51278 else
51279 PATH_SEPARATOR=:
51280 fi
51281 rm -f conf$$.sh
51282 fi
51283
51284 # Support unset when possible.
51285 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51286 as_unset=unset
51287 else
51288 as_unset=false
51289 fi
51290
51291
51292 # IFS
51293 # We need space, tab and new line, in precisely that order. Quoting is
51294 # there to prevent editors from complaining about space-tab.
51295 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51296 # splitting by setting IFS to empty value.)
51297 as_nl='
51298 '
51299 IFS=" "" $as_nl"
51300
51301 # Find who we are. Look in the path if we contain no directory separator.
51302 case $0 in
51303 *[\\/]* ) as_myself=$0 ;;
51304 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51305 for as_dir in $PATH
51306 do
51307 IFS=$as_save_IFS
51308 test -z "$as_dir" && as_dir=.
51309 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51310 done
51311 IFS=$as_save_IFS
51312
51313 ;;
51314 esac
51315 # We did not find ourselves, most probably we were run as `sh COMMAND'
51316 # in which case we are not to be found in the path.
51317 if test "x$as_myself" = x; then
51318 as_myself=$0
51319 fi
51320 if test ! -f "$as_myself"; then
51321 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51322 { (exit 1); exit 1; }
51323 fi
51324
51325 # Work around bugs in pre-3.0 UWIN ksh.
51326 for as_var in ENV MAIL MAILPATH
51327 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51328 done
51329 PS1='$ '
51330 PS2='> '
51331 PS4='+ '
51332
51333 # NLS nuisances.
51334 for as_var in \
51335 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51336 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51337 LC_TELEPHONE LC_TIME
51338 do
51339 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51340 eval $as_var=C; export $as_var
51341 else
51342 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51343 fi
51344 done
51345
51346 # Required to use basename.
51347 if expr a : '\(a\)' >/dev/null 2>&1 &&
51348 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51349 as_expr=expr
51350 else
51351 as_expr=false
51352 fi
51353
51354 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51355 as_basename=basename
51356 else
51357 as_basename=false
51358 fi
51359
51360
51361 # Name of the executable.
51362 as_me=`$as_basename -- "$0" ||
51363 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51364 X"$0" : 'X\(//\)$' \| \
51365 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51366 echo X/"$0" |
51367 sed '/^.*\/\([^/][^/]*\)\/*$/{
51368 s//\1/
51369 q
51370 }
51371 /^X\/\(\/\/\)$/{
51372 s//\1/
51373 q
51374 }
51375 /^X\/\(\/\).*/{
51376 s//\1/
51377 q
51378 }
51379 s/.*/./; q'`
51380
51381 # CDPATH.
51382 $as_unset CDPATH
51383
51384
51385
51386 as_lineno_1=$LINENO
51387 as_lineno_2=$LINENO
51388 test "x$as_lineno_1" != "x$as_lineno_2" &&
51389 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51390
51391 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51392 # uniformly replaced by the line number. The first 'sed' inserts a
51393 # line-number line after each line using $LINENO; the second 'sed'
51394 # does the real work. The second script uses 'N' to pair each
51395 # line-number line with the line containing $LINENO, and appends
51396 # trailing '-' during substitution so that $LINENO is not a special
51397 # case at line end.
51398 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51399 # scripts with optimization help from Paolo Bonzini. Blame Lee
51400 # E. McMahon (1931-1989) for sed's syntax. :-)
51401 sed -n '
51402 p
51403 /[$]LINENO/=
51404 ' <$as_myself |
51405 sed '
51406 s/[$]LINENO.*/&-/
51407 t lineno
51408 b
51409 :lineno
51410 N
51411 :loop
51412 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51413 t loop
51414 s/-\n.*//
51415 ' >$as_me.lineno &&
51416 chmod +x "$as_me.lineno" ||
51417 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51418 { (exit 1); exit 1; }; }
51419
51420 # Don't try to exec as it changes $[0], causing all sort of problems
51421 # (the dirname of $[0] is not the place where we might find the
51422 # original and so on. Autoconf is especially sensitive to this).
51423 . "./$as_me.lineno"
51424 # Exit status is that of the last command.
51425 exit
51426 }
51427
51428
51429 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51430 as_dirname=dirname
51431 else
51432 as_dirname=false
51433 fi
51434
51435 ECHO_C= ECHO_N= ECHO_T=
51436 case `echo -n x` in
51437 -n*)
51438 case `echo 'x\c'` in
51439 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51440 *) ECHO_C='\c';;
51441 esac;;
51442 *)
51443 ECHO_N='-n';;
51444 esac
51445
51446 if expr a : '\(a\)' >/dev/null 2>&1 &&
51447 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51448 as_expr=expr
51449 else
51450 as_expr=false
51451 fi
51452
51453 rm -f conf$$ conf$$.exe conf$$.file
51454 if test -d conf$$.dir; then
51455 rm -f conf$$.dir/conf$$.file
51456 else
51457 rm -f conf$$.dir
51458 mkdir conf$$.dir
51459 fi
51460 echo >conf$$.file
51461 if ln -s conf$$.file conf$$ 2>/dev/null; then
51462 as_ln_s='ln -s'
51463 # ... but there are two gotchas:
51464 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51465 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51466 # In both cases, we have to default to `cp -p'.
51467 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51468 as_ln_s='cp -p'
51469 elif ln conf$$.file conf$$ 2>/dev/null; then
51470 as_ln_s=ln
51471 else
51472 as_ln_s='cp -p'
51473 fi
51474 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51475 rmdir conf$$.dir 2>/dev/null
51476
51477 if mkdir -p . 2>/dev/null; then
51478 as_mkdir_p=:
51479 else
51480 test -d ./-p && rmdir ./-p
51481 as_mkdir_p=false
51482 fi
51483
51484 if test -x / >/dev/null 2>&1; then
51485 as_test_x='test -x'
51486 else
51487 if ls -dL / >/dev/null 2>&1; then
51488 as_ls_L_option=L
51489 else
51490 as_ls_L_option=
51491 fi
51492 as_test_x='
51493 eval sh -c '\''
51494 if test -d "$1"; then
51495 test -d "$1/.";
51496 else
51497 case $1 in
51498 -*)set "./$1";;
51499 esac;
51500 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51501 ???[sx]*):;;*)false;;esac;fi
51502 '\'' sh
51503 '
51504 fi
51505 as_executable_p=$as_test_x
51506
51507 # Sed expression to map a string onto a valid CPP name.
51508 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51509
51510 # Sed expression to map a string onto a valid variable name.
51511 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51512
51513
51514 exec 6>&1
51515
51516 # Save the log message, to keep $[0] and so on meaningful, and to
51517 # report actual input values of CONFIG_FILES etc. instead of their
51518 # values after options handling.
51519 ac_log="
51520 This file was extended by wxWidgets $as_me 2.9.0, which was
51521 generated by GNU Autoconf 2.61. Invocation command line was
51522
51523 CONFIG_FILES = $CONFIG_FILES
51524 CONFIG_HEADERS = $CONFIG_HEADERS
51525 CONFIG_LINKS = $CONFIG_LINKS
51526 CONFIG_COMMANDS = $CONFIG_COMMANDS
51527 $ $0 $@
51528
51529 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51530 "
51531
51532 _ACEOF
51533
51534 cat >>$CONFIG_STATUS <<_ACEOF
51535 # Files that config.status was made for.
51536 config_files="$ac_config_files"
51537 config_headers="$ac_config_headers"
51538 config_commands="$ac_config_commands"
51539
51540 _ACEOF
51541
51542 cat >>$CONFIG_STATUS <<\_ACEOF
51543 ac_cs_usage="\
51544 \`$as_me' instantiates files from templates according to the
51545 current configuration.
51546
51547 Usage: $0 [OPTIONS] [FILE]...
51548
51549 -h, --help print this help, then exit
51550 -V, --version print version number and configuration settings, then exit
51551 -q, --quiet do not print progress messages
51552 -d, --debug don't remove temporary files
51553 --recheck update $as_me by reconfiguring in the same conditions
51554 --file=FILE[:TEMPLATE]
51555 instantiate the configuration file FILE
51556 --header=FILE[:TEMPLATE]
51557 instantiate the configuration header FILE
51558
51559 Configuration files:
51560 $config_files
51561
51562 Configuration headers:
51563 $config_headers
51564
51565 Configuration commands:
51566 $config_commands
51567
51568 Report bugs to <bug-autoconf@gnu.org>."
51569
51570 _ACEOF
51571 cat >>$CONFIG_STATUS <<_ACEOF
51572 ac_cs_version="\\
51573 wxWidgets config.status 2.9.0
51574 configured by $0, generated by GNU Autoconf 2.61,
51575 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51576
51577 Copyright (C) 2006 Free Software Foundation, Inc.
51578 This config.status script is free software; the Free Software Foundation
51579 gives unlimited permission to copy, distribute and modify it."
51580
51581 ac_pwd='$ac_pwd'
51582 srcdir='$srcdir'
51583 INSTALL='$INSTALL'
51584 _ACEOF
51585
51586 cat >>$CONFIG_STATUS <<\_ACEOF
51587 # If no file are specified by the user, then we need to provide default
51588 # value. By we need to know if files were specified by the user.
51589 ac_need_defaults=:
51590 while test $# != 0
51591 do
51592 case $1 in
51593 --*=*)
51594 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51595 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51596 ac_shift=:
51597 ;;
51598 *)
51599 ac_option=$1
51600 ac_optarg=$2
51601 ac_shift=shift
51602 ;;
51603 esac
51604
51605 case $ac_option in
51606 # Handling of the options.
51607 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51608 ac_cs_recheck=: ;;
51609 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51610 echo "$ac_cs_version"; exit ;;
51611 --debug | --debu | --deb | --de | --d | -d )
51612 debug=: ;;
51613 --file | --fil | --fi | --f )
51614 $ac_shift
51615 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51616 ac_need_defaults=false;;
51617 --header | --heade | --head | --hea )
51618 $ac_shift
51619 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51620 ac_need_defaults=false;;
51621 --he | --h)
51622 # Conflict between --help and --header
51623 { echo "$as_me: error: ambiguous option: $1
51624 Try \`$0 --help' for more information." >&2
51625 { (exit 1); exit 1; }; };;
51626 --help | --hel | -h )
51627 echo "$ac_cs_usage"; exit ;;
51628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51629 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51630 ac_cs_silent=: ;;
51631
51632 # This is an error.
51633 -*) { echo "$as_me: error: unrecognized option: $1
51634 Try \`$0 --help' for more information." >&2
51635 { (exit 1); exit 1; }; } ;;
51636
51637 *) ac_config_targets="$ac_config_targets $1"
51638 ac_need_defaults=false ;;
51639
51640 esac
51641 shift
51642 done
51643
51644 ac_configure_extra_args=
51645
51646 if $ac_cs_silent; then
51647 exec 6>/dev/null
51648 ac_configure_extra_args="$ac_configure_extra_args --silent"
51649 fi
51650
51651 _ACEOF
51652 cat >>$CONFIG_STATUS <<_ACEOF
51653 if \$ac_cs_recheck; then
51654 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51655 CONFIG_SHELL=$SHELL
51656 export CONFIG_SHELL
51657 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51658 fi
51659
51660 _ACEOF
51661 cat >>$CONFIG_STATUS <<\_ACEOF
51662 exec 5>>config.log
51663 {
51664 echo
51665 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51666 ## Running $as_me. ##
51667 _ASBOX
51668 echo "$ac_log"
51669 } >&5
51670
51671 _ACEOF
51672 cat >>$CONFIG_STATUS <<_ACEOF
51673 #
51674 # INIT-COMMANDS
51675 #
51676
51677 CPP="$CPP"
51678 infile="$srcdir/include/wx/msw/genrcdefs.h"
51679 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51680
51681
51682 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51683 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51684 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51685 LN_S="${LN_S}"
51686
51687
51688 _ACEOF
51689
51690 cat >>$CONFIG_STATUS <<\_ACEOF
51691
51692 # Handling of arguments.
51693 for ac_config_target in $ac_config_targets
51694 do
51695 case $ac_config_target in
51696 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51697 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51698 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51699 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51700 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51701 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51702 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51703 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51704 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51705
51706 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51707 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51708 { (exit 1); exit 1; }; };;
51709 esac
51710 done
51711
51712
51713 # If the user did not use the arguments to specify the items to instantiate,
51714 # then the envvar interface is used. Set only those that are not.
51715 # We use the long form for the default assignment because of an extremely
51716 # bizarre bug on SunOS 4.1.3.
51717 if $ac_need_defaults; then
51718 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51719 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51720 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51721 fi
51722
51723 # Have a temporary directory for convenience. Make it in the build tree
51724 # simply because there is no reason against having it here, and in addition,
51725 # creating and moving files from /tmp can sometimes cause problems.
51726 # Hook for its removal unless debugging.
51727 # Note that there is a small window in which the directory will not be cleaned:
51728 # after its creation but before its name has been assigned to `$tmp'.
51729 $debug ||
51730 {
51731 tmp=
51732 trap 'exit_status=$?
51733 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51734 ' 0
51735 trap '{ (exit 1); exit 1; }' 1 2 13 15
51736 }
51737 # Create a (secure) tmp directory for tmp files.
51738
51739 {
51740 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51741 test -n "$tmp" && test -d "$tmp"
51742 } ||
51743 {
51744 tmp=./conf$$-$RANDOM
51745 (umask 077 && mkdir "$tmp")
51746 } ||
51747 {
51748 echo "$me: cannot create a temporary directory in ." >&2
51749 { (exit 1); exit 1; }
51750 }
51751
51752 #
51753 # Set up the sed scripts for CONFIG_FILES section.
51754 #
51755
51756 # No need to generate the scripts if there are no CONFIG_FILES.
51757 # This happens for instance when ./config.status config.h
51758 if test -n "$CONFIG_FILES"; then
51759
51760 _ACEOF
51761
51762
51763
51764 ac_delim='%!_!# '
51765 for ac_last_try in false false false false false :; do
51766 cat >conf$$subs.sed <<_ACEOF
51767 SHELL!$SHELL$ac_delim
51768 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51769 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51770 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51771 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51772 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51773 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51774 exec_prefix!$exec_prefix$ac_delim
51775 prefix!$prefix$ac_delim
51776 program_transform_name!$program_transform_name$ac_delim
51777 bindir!$bindir$ac_delim
51778 sbindir!$sbindir$ac_delim
51779 libexecdir!$libexecdir$ac_delim
51780 datarootdir!$datarootdir$ac_delim
51781 datadir!$datadir$ac_delim
51782 sysconfdir!$sysconfdir$ac_delim
51783 sharedstatedir!$sharedstatedir$ac_delim
51784 localstatedir!$localstatedir$ac_delim
51785 includedir!$includedir$ac_delim
51786 oldincludedir!$oldincludedir$ac_delim
51787 docdir!$docdir$ac_delim
51788 infodir!$infodir$ac_delim
51789 htmldir!$htmldir$ac_delim
51790 dvidir!$dvidir$ac_delim
51791 pdfdir!$pdfdir$ac_delim
51792 psdir!$psdir$ac_delim
51793 libdir!$libdir$ac_delim
51794 localedir!$localedir$ac_delim
51795 mandir!$mandir$ac_delim
51796 DEFS!$DEFS$ac_delim
51797 ECHO_C!$ECHO_C$ac_delim
51798 ECHO_N!$ECHO_N$ac_delim
51799 ECHO_T!$ECHO_T$ac_delim
51800 LIBS!$LIBS$ac_delim
51801 build_alias!$build_alias$ac_delim
51802 host_alias!$host_alias$ac_delim
51803 target_alias!$target_alias$ac_delim
51804 build!$build$ac_delim
51805 build_cpu!$build_cpu$ac_delim
51806 build_vendor!$build_vendor$ac_delim
51807 build_os!$build_os$ac_delim
51808 host!$host$ac_delim
51809 host_cpu!$host_cpu$ac_delim
51810 host_vendor!$host_vendor$ac_delim
51811 host_os!$host_os$ac_delim
51812 target!$target$ac_delim
51813 target_cpu!$target_cpu$ac_delim
51814 target_vendor!$target_vendor$ac_delim
51815 target_os!$target_os$ac_delim
51816 wx_top_builddir!$wx_top_builddir$ac_delim
51817 CC!$CC$ac_delim
51818 CFLAGS!$CFLAGS$ac_delim
51819 LDFLAGS!$LDFLAGS$ac_delim
51820 CPPFLAGS!$CPPFLAGS$ac_delim
51821 ac_ct_CC!$ac_ct_CC$ac_delim
51822 EXEEXT!$EXEEXT$ac_delim
51823 OBJEXT!$OBJEXT$ac_delim
51824 CPP!$CPP$ac_delim
51825 GREP!$GREP$ac_delim
51826 EGREP!$EGREP$ac_delim
51827 CXX!$CXX$ac_delim
51828 CXXFLAGS!$CXXFLAGS$ac_delim
51829 ac_ct_CXX!$ac_ct_CXX$ac_delim
51830 AR!$AR$ac_delim
51831 subdirs!$subdirs$ac_delim
51832 PKG_CONFIG!$PKG_CONFIG$ac_delim
51833 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51834 GTK_LIBS!$GTK_LIBS$ac_delim
51835 GTK_CONFIG!$GTK_CONFIG$ac_delim
51836 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51837 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51838 XMKMF!$XMKMF$ac_delim
51839 X_CFLAGS!$X_CFLAGS$ac_delim
51840 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51841 X_LIBS!$X_LIBS$ac_delim
51842 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51843 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51844 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51845 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51846 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51847 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51848 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51849 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51850 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51851 LIBICONV!$LIBICONV$ac_delim
51852 GXX_VERSION!$GXX_VERSION$ac_delim
51853 SDL_CONFIG!$SDL_CONFIG$ac_delim
51854 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51855 SDL_LIBS!$SDL_LIBS$ac_delim
51856 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51857 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51858 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51859 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51860 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51861 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51862 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51863 HILDON_LIBS!$HILDON_LIBS$ac_delim
51864 _ACEOF
51865
51866 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51867 break
51868 elif $ac_last_try; then
51869 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51870 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51871 { (exit 1); exit 1; }; }
51872 else
51873 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51874 fi
51875 done
51876
51877 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51878 if test -n "$ac_eof"; then
51879 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51880 ac_eof=`expr $ac_eof + 1`
51881 fi
51882
51883 cat >>$CONFIG_STATUS <<_ACEOF
51884 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51885 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51886 _ACEOF
51887 sed '
51888 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51889 s/^/s,@/; s/!/@,|#_!!_#|/
51890 :n
51891 t n
51892 s/'"$ac_delim"'$/,g/; t
51893 s/$/\\/; p
51894 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51895 ' >>$CONFIG_STATUS <conf$$subs.sed
51896 rm -f conf$$subs.sed
51897 cat >>$CONFIG_STATUS <<_ACEOF
51898 CEOF$ac_eof
51899 _ACEOF
51900
51901
51902 ac_delim='%!_!# '
51903 for ac_last_try in false false false false false :; do
51904 cat >conf$$subs.sed <<_ACEOF
51905 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51906 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51907 GST_CFLAGS!$GST_CFLAGS$ac_delim
51908 GST_LIBS!$GST_LIBS$ac_delim
51909 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51910 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51911 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51912 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51913 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51914 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51915 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51916 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51917 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51918 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51919 VENDOR!$VENDOR$ac_delim
51920 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51921 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51922 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51923 WXUNIV!$WXUNIV$ac_delim
51924 MONOLITHIC!$MONOLITHIC$ac_delim
51925 USE_PLUGINS!$USE_PLUGINS$ac_delim
51926 CXXWARNINGS!$CXXWARNINGS$ac_delim
51927 EXTRALIBS!$EXTRALIBS$ac_delim
51928 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51929 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51930 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51931 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51932 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51933 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51934 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51935 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51936 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51937 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51938 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51939 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51940 UNICODE!$UNICODE$ac_delim
51941 BUILD!$BUILD$ac_delim
51942 DEBUG_INFO!$DEBUG_INFO$ac_delim
51943 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51944 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51945 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51946 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51947 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51948 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51949 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51950 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51951 RANLIB!$RANLIB$ac_delim
51952 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51953 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51954 INSTALL_DATA!$INSTALL_DATA$ac_delim
51955 LN_S!$LN_S$ac_delim
51956 SET_MAKE!$SET_MAKE$ac_delim
51957 MAKE_SET!$MAKE_SET$ac_delim
51958 AROPTIONS!$AROPTIONS$ac_delim
51959 STRIP!$STRIP$ac_delim
51960 NM!$NM$ac_delim
51961 INSTALL_DIR!$INSTALL_DIR$ac_delim
51962 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51963 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51964 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51965 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51966 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51967 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51968 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51969 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51970 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51971 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51972 SO_SUFFIX!$SO_SUFFIX$ac_delim
51973 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51974 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51975 LIBPREFIX!$LIBPREFIX$ac_delim
51976 LIBEXT!$LIBEXT$ac_delim
51977 DLLPREFIX!$DLLPREFIX$ac_delim
51978 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51979 dlldir!$dlldir$ac_delim
51980 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51981 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51982 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51983 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51984 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51985 PIC_FLAG!$PIC_FLAG$ac_delim
51986 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51987 USE_SOVERSION!$USE_SOVERSION$ac_delim
51988 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51989 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51990 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51991 USE_MACVERSION!$USE_MACVERSION$ac_delim
51992 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51993 SONAME_FLAG!$SONAME_FLAG$ac_delim
51994 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51995 BK_DEPS!$BK_DEPS$ac_delim
51996 WINDRES!$WINDRES$ac_delim
51997 REZ!$REZ$ac_delim
51998 SETFILE!$SETFILE$ac_delim
51999 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52000 GCC_PCH!$GCC_PCH$ac_delim
52001 ICC_PCH!$ICC_PCH$ac_delim
52002 _ACEOF
52003
52004 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52005 break
52006 elif $ac_last_try; then
52007 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52008 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52009 { (exit 1); exit 1; }; }
52010 else
52011 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52012 fi
52013 done
52014
52015 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52016 if test -n "$ac_eof"; then
52017 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52018 ac_eof=`expr $ac_eof + 1`
52019 fi
52020
52021 cat >>$CONFIG_STATUS <<_ACEOF
52022 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52023 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52024 _ACEOF
52025 sed '
52026 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52027 s/^/s,@/; s/!/@,|#_!!_#|/
52028 :n
52029 t n
52030 s/'"$ac_delim"'$/,g/; t
52031 s/$/\\/; p
52032 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52033 ' >>$CONFIG_STATUS <conf$$subs.sed
52034 rm -f conf$$subs.sed
52035 cat >>$CONFIG_STATUS <<_ACEOF
52036 CEOF$ac_eof
52037 _ACEOF
52038
52039
52040 ac_delim='%!_!# '
52041 for ac_last_try in false false false false false :; do
52042 cat >conf$$subs.sed <<_ACEOF
52043 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52044 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52045 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52046 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52047 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52048 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52049 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52050 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52051 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52052 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52053 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52054 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52055 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52056 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52057 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52058 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52059 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52060 COND_BUILD_release!$COND_BUILD_release$ac_delim
52061 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52062 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52063 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52064 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52065 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52066 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52067 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52068 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52069 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52070 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52071 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52072 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52073 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52074 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52075 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52076 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52077 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52078 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52079 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52080 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52081 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52082 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52083 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52084 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52085 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52086 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52088 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52089 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52090 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52091 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52092 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52093 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52094 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52095 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52096 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52097 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52098 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52099 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52100 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52101 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52102 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52103 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52104 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52105 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52106 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52107 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52108 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52109 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52110 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52111 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52112 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
52113 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52114 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
52115 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52116 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52117 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52118 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52119 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52120 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52121 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52122 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52123 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52124 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52125 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52126 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52127 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52128 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52129 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52130 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52131 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52132 COND_SHARED_0!$COND_SHARED_0$ac_delim
52133 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52134 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52135 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52136 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52137 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52138 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52139 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52140 _ACEOF
52141
52142 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52143 break
52144 elif $ac_last_try; then
52145 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52146 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52147 { (exit 1); exit 1; }; }
52148 else
52149 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52150 fi
52151 done
52152
52153 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52154 if test -n "$ac_eof"; then
52155 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52156 ac_eof=`expr $ac_eof + 1`
52157 fi
52158
52159 cat >>$CONFIG_STATUS <<_ACEOF
52160 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52161 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52162 _ACEOF
52163 sed '
52164 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52165 s/^/s,@/; s/!/@,|#_!!_#|/
52166 :n
52167 t n
52168 s/'"$ac_delim"'$/,g/; t
52169 s/$/\\/; p
52170 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52171 ' >>$CONFIG_STATUS <conf$$subs.sed
52172 rm -f conf$$subs.sed
52173 cat >>$CONFIG_STATUS <<_ACEOF
52174 CEOF$ac_eof
52175 _ACEOF
52176
52177
52178 ac_delim='%!_!# '
52179 for ac_last_try in false false false false false :; do
52180 cat >conf$$subs.sed <<_ACEOF
52181 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52182 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52183 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52184 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52185 COND_SHARED_1!$COND_SHARED_1$ac_delim
52186 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52187 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52188 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52189 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52190 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52191 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52192 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52193 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52195 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52196 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52197 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52198 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52199 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52200 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52201 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52202 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52203 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52204 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52205 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52206 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52207 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52208 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52209 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52210 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52211 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52212 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52213 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52214 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52215 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52216 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52217 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52218 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52219 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52220 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52221 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52222 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52223 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52224 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52225 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52226 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52227 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52228 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52229 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52230 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52231 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52232 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52233 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52234 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52235 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52236 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52237 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52238 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52239 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52240 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52241 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52242 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52243 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52244 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52245 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52246 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52247 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52248 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52249 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52250 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52251 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52252 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52253 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52254 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52255 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52256 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52257 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52258 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52259 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52260 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52261 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52262 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52263 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52264 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52265 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52266 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52267 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52268 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52269 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52270 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52271 DEREZ!$DEREZ$ac_delim
52272 SHARED!$SHARED$ac_delim
52273 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52274 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52275 USE_GUI!$USE_GUI$ac_delim
52276 AFMINSTALL!$AFMINSTALL$ac_delim
52277 WIN32INSTALL!$WIN32INSTALL$ac_delim
52278 _ACEOF
52279
52280 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52281 break
52282 elif $ac_last_try; then
52283 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52284 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52285 { (exit 1); exit 1; }; }
52286 else
52287 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52288 fi
52289 done
52290
52291 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52292 if test -n "$ac_eof"; then
52293 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52294 ac_eof=`expr $ac_eof + 1`
52295 fi
52296
52297 cat >>$CONFIG_STATUS <<_ACEOF
52298 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52299 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52300 _ACEOF
52301 sed '
52302 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52303 s/^/s,@/; s/!/@,|#_!!_#|/
52304 :n
52305 t n
52306 s/'"$ac_delim"'$/,g/; t
52307 s/$/\\/; p
52308 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52309 ' >>$CONFIG_STATUS <conf$$subs.sed
52310 rm -f conf$$subs.sed
52311 cat >>$CONFIG_STATUS <<_ACEOF
52312 CEOF$ac_eof
52313 _ACEOF
52314
52315
52316 ac_delim='%!_!# '
52317 for ac_last_try in false false false false false :; do
52318 cat >conf$$subs.sed <<_ACEOF
52319 TOOLKIT!$TOOLKIT$ac_delim
52320 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52321 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52322 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52323 cross_compiling!$cross_compiling$ac_delim
52324 WIDGET_SET!$WIDGET_SET$ac_delim
52325 WX_RELEASE!$WX_RELEASE$ac_delim
52326 WX_VERSION!$WX_VERSION$ac_delim
52327 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52328 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52329 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52330 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52331 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52332 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52333 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52334 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52335 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52336 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52337 GUIDIST!$GUIDIST$ac_delim
52338 DISTDIR!$DISTDIR$ac_delim
52339 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52340 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52341 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52342 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52343 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52344 RESCOMP!$RESCOMP$ac_delim
52345 RESFLAGS!$RESFLAGS$ac_delim
52346 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52347 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52348 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52349 LIBWXMACRES!$LIBWXMACRES$ac_delim
52350 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52351 MACSETFILE!$MACSETFILE$ac_delim
52352 GCC!$GCC$ac_delim
52353 DLLTOOL!$DLLTOOL$ac_delim
52354 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52355 LIBOBJS!$LIBOBJS$ac_delim
52356 LTLIBOBJS!$LTLIBOBJS$ac_delim
52357 _ACEOF
52358
52359 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52360 break
52361 elif $ac_last_try; then
52362 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52363 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52364 { (exit 1); exit 1; }; }
52365 else
52366 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52367 fi
52368 done
52369
52370 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52371 if test -n "$ac_eof"; then
52372 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52373 ac_eof=`expr $ac_eof + 1`
52374 fi
52375
52376 cat >>$CONFIG_STATUS <<_ACEOF
52377 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52378 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52379 _ACEOF
52380 sed '
52381 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52382 s/^/s,@/; s/!/@,|#_!!_#|/
52383 :n
52384 t n
52385 s/'"$ac_delim"'$/,g/; t
52386 s/$/\\/; p
52387 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52388 ' >>$CONFIG_STATUS <conf$$subs.sed
52389 rm -f conf$$subs.sed
52390 cat >>$CONFIG_STATUS <<_ACEOF
52391 :end
52392 s/|#_!!_#|//g
52393 CEOF$ac_eof
52394 _ACEOF
52395
52396
52397 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52398 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52399 # trailing colons and then remove the whole line if VPATH becomes empty
52400 # (actually we leave an empty line to preserve line numbers).
52401 if test "x$srcdir" = x.; then
52402 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52403 s/:*\$(srcdir):*/:/
52404 s/:*\${srcdir}:*/:/
52405 s/:*@srcdir@:*/:/
52406 s/^\([^=]*=[ ]*\):*/\1/
52407 s/:*$//
52408 s/^[^=]*=[ ]*$//
52409 }'
52410 fi
52411
52412 cat >>$CONFIG_STATUS <<\_ACEOF
52413 fi # test -n "$CONFIG_FILES"
52414
52415
52416 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52417 do
52418 case $ac_tag in
52419 :[FHLC]) ac_mode=$ac_tag; continue;;
52420 esac
52421 case $ac_mode$ac_tag in
52422 :[FHL]*:*);;
52423 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52424 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52425 { (exit 1); exit 1; }; };;
52426 :[FH]-) ac_tag=-:-;;
52427 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52428 esac
52429 ac_save_IFS=$IFS
52430 IFS=:
52431 set x $ac_tag
52432 IFS=$ac_save_IFS
52433 shift
52434 ac_file=$1
52435 shift
52436
52437 case $ac_mode in
52438 :L) ac_source=$1;;
52439 :[FH])
52440 ac_file_inputs=
52441 for ac_f
52442 do
52443 case $ac_f in
52444 -) ac_f="$tmp/stdin";;
52445 *) # Look for the file first in the build tree, then in the source tree
52446 # (if the path is not absolute). The absolute path cannot be DOS-style,
52447 # because $ac_f cannot contain `:'.
52448 test -f "$ac_f" ||
52449 case $ac_f in
52450 [\\/$]*) false;;
52451 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52452 esac ||
52453 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52454 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52455 { (exit 1); exit 1; }; };;
52456 esac
52457 ac_file_inputs="$ac_file_inputs $ac_f"
52458 done
52459
52460 # Let's still pretend it is `configure' which instantiates (i.e., don't
52461 # use $as_me), people would be surprised to read:
52462 # /* config.h. Generated by config.status. */
52463 configure_input="Generated from "`IFS=:
52464 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52465 if test x"$ac_file" != x-; then
52466 configure_input="$ac_file. $configure_input"
52467 { echo "$as_me:$LINENO: creating $ac_file" >&5
52468 echo "$as_me: creating $ac_file" >&6;}
52469 fi
52470
52471 case $ac_tag in
52472 *:-:* | *:-) cat >"$tmp/stdin";;
52473 esac
52474 ;;
52475 esac
52476
52477 ac_dir=`$as_dirname -- "$ac_file" ||
52478 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52479 X"$ac_file" : 'X\(//\)[^/]' \| \
52480 X"$ac_file" : 'X\(//\)$' \| \
52481 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52482 echo X"$ac_file" |
52483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52484 s//\1/
52485 q
52486 }
52487 /^X\(\/\/\)[^/].*/{
52488 s//\1/
52489 q
52490 }
52491 /^X\(\/\/\)$/{
52492 s//\1/
52493 q
52494 }
52495 /^X\(\/\).*/{
52496 s//\1/
52497 q
52498 }
52499 s/.*/./; q'`
52500 { as_dir="$ac_dir"
52501 case $as_dir in #(
52502 -*) as_dir=./$as_dir;;
52503 esac
52504 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52505 as_dirs=
52506 while :; do
52507 case $as_dir in #(
52508 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52509 *) as_qdir=$as_dir;;
52510 esac
52511 as_dirs="'$as_qdir' $as_dirs"
52512 as_dir=`$as_dirname -- "$as_dir" ||
52513 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52514 X"$as_dir" : 'X\(//\)[^/]' \| \
52515 X"$as_dir" : 'X\(//\)$' \| \
52516 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52517 echo X"$as_dir" |
52518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52519 s//\1/
52520 q
52521 }
52522 /^X\(\/\/\)[^/].*/{
52523 s//\1/
52524 q
52525 }
52526 /^X\(\/\/\)$/{
52527 s//\1/
52528 q
52529 }
52530 /^X\(\/\).*/{
52531 s//\1/
52532 q
52533 }
52534 s/.*/./; q'`
52535 test -d "$as_dir" && break
52536 done
52537 test -z "$as_dirs" || eval "mkdir $as_dirs"
52538 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52539 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52540 { (exit 1); exit 1; }; }; }
52541 ac_builddir=.
52542
52543 case "$ac_dir" in
52544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52545 *)
52546 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52547 # A ".." for each directory in $ac_dir_suffix.
52548 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52549 case $ac_top_builddir_sub in
52550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52552 esac ;;
52553 esac
52554 ac_abs_top_builddir=$ac_pwd
52555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52556 # for backward compatibility:
52557 ac_top_builddir=$ac_top_build_prefix
52558
52559 case $srcdir in
52560 .) # We are building in place.
52561 ac_srcdir=.
52562 ac_top_srcdir=$ac_top_builddir_sub
52563 ac_abs_top_srcdir=$ac_pwd ;;
52564 [\\/]* | ?:[\\/]* ) # Absolute name.
52565 ac_srcdir=$srcdir$ac_dir_suffix;
52566 ac_top_srcdir=$srcdir
52567 ac_abs_top_srcdir=$srcdir ;;
52568 *) # Relative name.
52569 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52570 ac_top_srcdir=$ac_top_build_prefix$srcdir
52571 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52572 esac
52573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52574
52575
52576 case $ac_mode in
52577 :F)
52578 #
52579 # CONFIG_FILE
52580 #
52581
52582 case $INSTALL in
52583 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52584 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52585 esac
52586 _ACEOF
52587
52588 cat >>$CONFIG_STATUS <<\_ACEOF
52589 # If the template does not know about datarootdir, expand it.
52590 # FIXME: This hack should be removed a few years after 2.60.
52591 ac_datarootdir_hack=; ac_datarootdir_seen=
52592
52593 case `sed -n '/datarootdir/ {
52594 p
52595 q
52596 }
52597 /@datadir@/p
52598 /@docdir@/p
52599 /@infodir@/p
52600 /@localedir@/p
52601 /@mandir@/p
52602 ' $ac_file_inputs` in
52603 *datarootdir*) ac_datarootdir_seen=yes;;
52604 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52605 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52606 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52607 _ACEOF
52608 cat >>$CONFIG_STATUS <<_ACEOF
52609 ac_datarootdir_hack='
52610 s&@datadir@&$datadir&g
52611 s&@docdir@&$docdir&g
52612 s&@infodir@&$infodir&g
52613 s&@localedir@&$localedir&g
52614 s&@mandir@&$mandir&g
52615 s&\\\${datarootdir}&$datarootdir&g' ;;
52616 esac
52617 _ACEOF
52618
52619 # Neutralize VPATH when `$srcdir' = `.'.
52620 # Shell code in configure.ac might set extrasub.
52621 # FIXME: do we really want to maintain this feature?
52622 cat >>$CONFIG_STATUS <<_ACEOF
52623 sed "$ac_vpsub
52624 $extrasub
52625 _ACEOF
52626 cat >>$CONFIG_STATUS <<\_ACEOF
52627 :t
52628 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52629 s&@configure_input@&$configure_input&;t t
52630 s&@top_builddir@&$ac_top_builddir_sub&;t t
52631 s&@srcdir@&$ac_srcdir&;t t
52632 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52633 s&@top_srcdir@&$ac_top_srcdir&;t t
52634 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52635 s&@builddir@&$ac_builddir&;t t
52636 s&@abs_builddir@&$ac_abs_builddir&;t t
52637 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52638 s&@INSTALL@&$ac_INSTALL&;t t
52639 $ac_datarootdir_hack
52640 " $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
52641
52642 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52643 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52644 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52645 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52646 which seems to be undefined. Please make sure it is defined." >&5
52647 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52648 which seems to be undefined. Please make sure it is defined." >&2;}
52649
52650 rm -f "$tmp/stdin"
52651 case $ac_file in
52652 -) cat "$tmp/out"; rm -f "$tmp/out";;
52653 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52654 esac
52655 ;;
52656 :H)
52657 #
52658 # CONFIG_HEADER
52659 #
52660 _ACEOF
52661
52662 # Transform confdefs.h into a sed script `conftest.defines', that
52663 # substitutes the proper values into config.h.in to produce config.h.
52664 rm -f conftest.defines conftest.tail
52665 # First, append a space to every undef/define line, to ease matching.
52666 echo 's/$/ /' >conftest.defines
52667 # Then, protect against being on the right side of a sed subst, or in
52668 # an unquoted here document, in config.status. If some macros were
52669 # called several times there might be several #defines for the same
52670 # symbol, which is useless. But do not sort them, since the last
52671 # AC_DEFINE must be honored.
52672 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52673 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52674 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52675 # PARAMS is the parameter list in the macro definition--in most cases, it's
52676 # just an empty string.
52677 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52678 ac_dB='\\)[ (].*,\\1define\\2'
52679 ac_dC=' '
52680 ac_dD=' ,'
52681
52682 uniq confdefs.h |
52683 sed -n '
52684 t rset
52685 :rset
52686 s/^[ ]*#[ ]*define[ ][ ]*//
52687 t ok
52688 d
52689 :ok
52690 s/[\\&,]/\\&/g
52691 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52692 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52693 ' >>conftest.defines
52694
52695 # Remove the space that was appended to ease matching.
52696 # Then replace #undef with comments. This is necessary, for
52697 # example, in the case of _POSIX_SOURCE, which is predefined and required
52698 # on some systems where configure will not decide to define it.
52699 # (The regexp can be short, since the line contains either #define or #undef.)
52700 echo 's/ $//
52701 s,^[ #]*u.*,/* & */,' >>conftest.defines
52702
52703 # Break up conftest.defines:
52704 ac_max_sed_lines=50
52705
52706 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52707 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52708 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52709 # et cetera.
52710 ac_in='$ac_file_inputs'
52711 ac_out='"$tmp/out1"'
52712 ac_nxt='"$tmp/out2"'
52713
52714 while :
52715 do
52716 # Write a here document:
52717 cat >>$CONFIG_STATUS <<_ACEOF
52718 # First, check the format of the line:
52719 cat >"\$tmp/defines.sed" <<\\CEOF
52720 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52721 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52722 b
52723 :def
52724 _ACEOF
52725 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52726 echo 'CEOF
52727 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52728 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52729 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52730 grep . conftest.tail >/dev/null || break
52731 rm -f conftest.defines
52732 mv conftest.tail conftest.defines
52733 done
52734 rm -f conftest.defines conftest.tail
52735
52736 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52737 cat >>$CONFIG_STATUS <<\_ACEOF
52738 if test x"$ac_file" != x-; then
52739 echo "/* $configure_input */" >"$tmp/config.h"
52740 cat "$ac_result" >>"$tmp/config.h"
52741 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52742 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52743 echo "$as_me: $ac_file is unchanged" >&6;}
52744 else
52745 rm -f $ac_file
52746 mv "$tmp/config.h" $ac_file
52747 fi
52748 else
52749 echo "/* $configure_input */"
52750 cat "$ac_result"
52751 fi
52752 rm -f "$tmp/out12"
52753 ;;
52754
52755 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52756 echo "$as_me: executing $ac_file commands" >&6;}
52757 ;;
52758 esac
52759
52760
52761 case $ac_file$ac_mode in
52762 "rcdefs.h":C)
52763 mkdir -p $outdir &&
52764 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52765 ;;
52766 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52767 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52768 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52769 "wx-config":C) rm -f wx-config
52770 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52771 ;;
52772
52773 esac
52774 done # for ac_tag
52775
52776
52777 { (exit 0); exit 0; }
52778 _ACEOF
52779 chmod +x $CONFIG_STATUS
52780 ac_clean_files=$ac_clean_files_save
52781
52782
52783 # configure is writing to config.log, and then calls config.status.
52784 # config.status does its own redirection, appending to config.log.
52785 # Unfortunately, on DOS this fails, as config.log is still kept open
52786 # by configure, so config.status won't be able to write to it; its
52787 # output is simply discarded. So we exec the FD to /dev/null,
52788 # effectively closing config.log, so it can be properly (re)opened and
52789 # appended to by config.status. When coming back to configure, we
52790 # need to make the FD available again.
52791 if test "$no_create" != yes; then
52792 ac_cs_success=:
52793 ac_config_status_args=
52794 test "$silent" = yes &&
52795 ac_config_status_args="$ac_config_status_args --quiet"
52796 exec 5>/dev/null
52797 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52798 exec 5>>config.log
52799 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52800 # would make configure fail if this is the last instruction.
52801 $ac_cs_success || { (exit 1); exit 1; }
52802 fi
52803
52804 #
52805 # CONFIG_SUBDIRS section.
52806 #
52807 if test "$no_recursion" != yes; then
52808
52809 # Remove --cache-file and --srcdir arguments so they do not pile up.
52810 ac_sub_configure_args=
52811 ac_prev=
52812 eval "set x $ac_configure_args"
52813 shift
52814 for ac_arg
52815 do
52816 if test -n "$ac_prev"; then
52817 ac_prev=
52818 continue
52819 fi
52820 case $ac_arg in
52821 -cache-file | --cache-file | --cache-fil | --cache-fi \
52822 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52823 ac_prev=cache_file ;;
52824 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52825 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52826 | --c=*)
52827 ;;
52828 --config-cache | -C)
52829 ;;
52830 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52831 ac_prev=srcdir ;;
52832 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52833 ;;
52834 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52835 ac_prev=prefix ;;
52836 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52837 ;;
52838 *)
52839 case $ac_arg in
52840 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52841 esac
52842 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52843 esac
52844 done
52845
52846 # Always prepend --prefix to ensure using the same prefix
52847 # in subdir configurations.
52848 ac_arg="--prefix=$prefix"
52849 case $ac_arg in
52850 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52851 esac
52852 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52853
52854 # Pass --silent
52855 if test "$silent" = yes; then
52856 ac_sub_configure_args="--silent $ac_sub_configure_args"
52857 fi
52858
52859 ac_popdir=`pwd`
52860 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52861
52862 # Do not complain, so a configure script can configure whichever
52863 # parts of a large source tree are present.
52864 test -d "$srcdir/$ac_dir" || continue
52865
52866 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52867 echo "$as_me:$LINENO: $ac_msg" >&5
52868 echo "$ac_msg" >&6
52869 { as_dir="$ac_dir"
52870 case $as_dir in #(
52871 -*) as_dir=./$as_dir;;
52872 esac
52873 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52874 as_dirs=
52875 while :; do
52876 case $as_dir in #(
52877 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52878 *) as_qdir=$as_dir;;
52879 esac
52880 as_dirs="'$as_qdir' $as_dirs"
52881 as_dir=`$as_dirname -- "$as_dir" ||
52882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52883 X"$as_dir" : 'X\(//\)[^/]' \| \
52884 X"$as_dir" : 'X\(//\)$' \| \
52885 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52886 echo X"$as_dir" |
52887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52888 s//\1/
52889 q
52890 }
52891 /^X\(\/\/\)[^/].*/{
52892 s//\1/
52893 q
52894 }
52895 /^X\(\/\/\)$/{
52896 s//\1/
52897 q
52898 }
52899 /^X\(\/\).*/{
52900 s//\1/
52901 q
52902 }
52903 s/.*/./; q'`
52904 test -d "$as_dir" && break
52905 done
52906 test -z "$as_dirs" || eval "mkdir $as_dirs"
52907 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52908 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52909 { (exit 1); exit 1; }; }; }
52910 ac_builddir=.
52911
52912 case "$ac_dir" in
52913 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52914 *)
52915 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52916 # A ".." for each directory in $ac_dir_suffix.
52917 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52918 case $ac_top_builddir_sub in
52919 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52920 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52921 esac ;;
52922 esac
52923 ac_abs_top_builddir=$ac_pwd
52924 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52925 # for backward compatibility:
52926 ac_top_builddir=$ac_top_build_prefix
52927
52928 case $srcdir in
52929 .) # We are building in place.
52930 ac_srcdir=.
52931 ac_top_srcdir=$ac_top_builddir_sub
52932 ac_abs_top_srcdir=$ac_pwd ;;
52933 [\\/]* | ?:[\\/]* ) # Absolute name.
52934 ac_srcdir=$srcdir$ac_dir_suffix;
52935 ac_top_srcdir=$srcdir
52936 ac_abs_top_srcdir=$srcdir ;;
52937 *) # Relative name.
52938 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52939 ac_top_srcdir=$ac_top_build_prefix$srcdir
52940 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52941 esac
52942 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52943
52944
52945 cd "$ac_dir"
52946
52947 # Check for guested configure; otherwise get Cygnus style configure.
52948 if test -f "$ac_srcdir/configure.gnu"; then
52949 ac_sub_configure=$ac_srcdir/configure.gnu
52950 elif test -f "$ac_srcdir/configure"; then
52951 ac_sub_configure=$ac_srcdir/configure
52952 elif test -f "$ac_srcdir/configure.in"; then
52953 # This should be Cygnus configure.
52954 ac_sub_configure=$ac_aux_dir/configure
52955 else
52956 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52957 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52958 ac_sub_configure=
52959 fi
52960
52961 # The recursion is here.
52962 if test -n "$ac_sub_configure"; then
52963 # Make the cache file name correct relative to the subdirectory.
52964 case $cache_file in
52965 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52966 *) # Relative name.
52967 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52968 esac
52969
52970 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52971 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52972 # The eval makes quoting arguments work.
52973 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52974 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52975 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52976 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52977 { (exit 1); exit 1; }; }
52978 fi
52979
52980 cd "$ac_popdir"
52981 done
52982 fi
52983
52984
52985 echo
52986 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52987 echo ""
52988 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52989 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52990
52991 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52992 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52993 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52994 if test "$wxUSE_UNICODE" = "yes"; then
52995 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52996 echo " (using UTF-8)"
52997 else
52998 echo " (using wchar_t)"
52999 fi
53000 else
53001 echo
53002 fi
53003
53004 echo " What level of wxWidgets compatibility should be enabled?"
53005 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53006 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53007
53008 echo " Which libraries should wxWidgets use?"
53009 echo " STL ${wxUSE_STL}"
53010 echo " jpeg ${wxUSE_LIBJPEG-none}"
53011 echo " png ${wxUSE_LIBPNG-none}"
53012 echo " regex ${wxUSE_REGEX}"
53013 echo " tiff ${wxUSE_LIBTIFF-none}"
53014 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53015 echo " xpm ${wxUSE_LIBXPM-none}"
53016 fi
53017 echo " zlib ${wxUSE_ZLIB}"
53018 echo " expat ${wxUSE_EXPAT}"
53019 echo " libmspack ${wxUSE_LIBMSPACK}"
53020 echo " sdl ${wxUSE_LIBSDL}"
53021
53022 echo ""
53023